function OT(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 f1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var N0={exports:{}},hc={};/**
 * @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 L8;function RT(){if(L8)return hc;L8=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 hc.Fragment=e,hc.jsx=a,hc.jsxs=a,hc}var k8;function IT(){return k8||(k8=1,N0.exports=RT()),N0.exports}var h=IT(),D0={exports:{}},mc={},j0={exports:{}},L0={};/**
 * @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 _8;function MT(){return _8||(_8=1,(function(t){function e(I,V){var k=I.length;I.push(V);e:for(;0<k;){var J=k-1>>>1,q=I[J];if(0<s(q,V))I[J]=V,I[k]=q,k=J;else break e}}function a(I){return I.length===0?null:I[0]}function i(I){if(I.length===0)return null;var V=I[0],k=I.pop();if(k!==V){I[0]=k;e:for(var J=0,q=I.length,Y=q>>>1;J<Y;){var re=2*(J+1)-1,le=I[re],ge=re+1,he=I[ge];if(0>s(le,k))ge<q&&0>s(he,le)?(I[J]=he,I[ge]=k,J=ge):(I[J]=le,I[re]=k,J=re);else if(ge<q&&0>s(he,k))I[J]=he,I[ge]=k,J=ge;else break e}}return V}function s(I,V){var k=I.sortIndex-V.sortIndex;return k!==0?k:I.id-V.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=[],p=[],y=1,b=null,A=3,w=!1,T=!1,N=!1,j=!1,D=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function G(I){for(var V=a(p);V!==null;){if(V.callback===null)i(p);else if(V.startTime<=I)i(p),V.sortIndex=V.expirationTime,e(f,V);else break;V=a(p)}}function M(I){if(N=!1,G(I),!T)if(a(f)!==null)T=!0,H||(H=!0,L());else{var V=a(p);V!==null&&P(M,V.startTime-I)}}var H=!1,Z=-1,E=5,O=-1;function R(){return j?!0:!(t.unstable_now()-O<E)}function B(){if(j=!1,H){var I=t.unstable_now();O=I;var V=!0;try{e:{T=!1,N&&(N=!1,x(Z),Z=-1),w=!0;var k=A;try{t:{for(G(I),b=a(f);b!==null&&!(b.expirationTime>I&&R());){var J=b.callback;if(typeof J=="function"){b.callback=null,A=b.priorityLevel;var q=J(b.expirationTime<=I);if(I=t.unstable_now(),typeof q=="function"){b.callback=q,G(I),V=!0;break t}b===a(f)&&i(f),G(I)}else i(f);b=a(f)}if(b!==null)V=!0;else{var Y=a(p);Y!==null&&P(M,Y.startTime-I),V=!1}}break e}finally{b=null,A=k,w=!1}V=void 0}}finally{V?L():H=!1}}}var L;if(typeof z=="function")L=function(){z(B)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,F=U.port2;U.port1.onmessage=B,L=function(){F.postMessage(null)}}else L=function(){D(B,0)};function P(I,V){Z=D(function(){I(t.unstable_now())},V)}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(I){I.callback=null},t.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<I?Math.floor(1e3/I):5},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_next=function(I){switch(A){case 1:case 2:case 3:var V=3;break;default:V=A}var k=A;A=V;try{return I()}finally{A=k}},t.unstable_requestPaint=function(){j=!0},t.unstable_runWithPriority=function(I,V){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var k=A;A=I;try{return V()}finally{A=k}},t.unstable_scheduleCallback=function(I,V,k){var J=t.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?J+k:J):k=J,I){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=k+q,I={id:y++,callback:V,priorityLevel:I,startTime:k,expirationTime:q,sortIndex:-1},k>J?(I.sortIndex=k,e(p,I),a(f)===null&&I===a(p)&&(N?(x(Z),Z=-1):N=!0,P(M,k-J))):(I.sortIndex=q,e(f,I),T||w||(T=!0,H||(H=!0,L()))),I},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(I){var V=A;return function(){var k=A;A=V;try{return I.apply(this,arguments)}finally{A=k}}}})(L0)),L0}var U8;function NT(){return U8||(U8=1,j0.exports=MT()),j0.exports}var k0={exports:{}},ot={};/**
 * @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 z8;function DT(){if(z8)return ot;z8=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"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.iterator;function A(q){return q===null||typeof q!="object"?null:(q=b&&q[b]||q["@@iterator"],typeof q=="function"?q:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,N={};function j(q,Y,re){this.props=q,this.context=Y,this.refs=N,this.updater=re||w}j.prototype.isReactComponent={},j.prototype.setState=function(q,Y){if(typeof q!="object"&&typeof q!="function"&&q!=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,q,Y,"setState")},j.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function D(){}D.prototype=j.prototype;function x(q,Y,re){this.props=q,this.context=Y,this.refs=N,this.updater=re||w}var z=x.prototype=new D;z.constructor=x,T(z,j.prototype),z.isPureReactComponent=!0;var G=Array.isArray,M={H:null,A:null,T:null,S:null,V:null},H=Object.prototype.hasOwnProperty;function Z(q,Y,re,le,ge,he){return re=he.ref,{$$typeof:t,type:q,key:Y,ref:re!==void 0?re:null,props:he}}function E(q,Y){return Z(q.type,Y,void 0,void 0,void 0,q.props)}function O(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function R(q){var Y={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(re){return Y[re]})}var B=/\/+/g;function L(q,Y){return typeof q=="object"&&q!==null&&q.key!=null?R(""+q.key):Y.toString(36)}function U(){}function F(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(U,U):(q.status="pending",q.then(function(Y){q.status==="pending"&&(q.status="fulfilled",q.value=Y)},function(Y){q.status==="pending"&&(q.status="rejected",q.reason=Y)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function P(q,Y,re,le,ge){var he=typeof q;(he==="undefined"||he==="boolean")&&(q=null);var pe=!1;if(q===null)pe=!0;else switch(he){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(q.$$typeof){case t:case e:pe=!0;break;case y:return pe=q._init,P(pe(q._payload),Y,re,le,ge)}}if(pe)return ge=ge(q),pe=le===""?"."+L(q,0):le,G(ge)?(re="",pe!=null&&(re=pe.replace(B,"$&/")+"/"),P(ge,Y,re,"",function(Pe){return Pe})):ge!=null&&(O(ge)&&(ge=E(ge,re+(ge.key==null||q&&q.key===ge.key?"":(""+ge.key).replace(B,"$&/")+"/")+pe)),Y.push(ge)),1;pe=0;var Ne=le===""?".":le+":";if(G(q))for(var ke=0;ke<q.length;ke++)le=q[ke],he=Ne+L(le,ke),pe+=P(le,Y,re,he,ge);else if(ke=A(q),typeof ke=="function")for(q=ke.call(q),ke=0;!(le=q.next()).done;)le=le.value,he=Ne+L(le,ke++),pe+=P(le,Y,re,he,ge);else if(he==="object"){if(typeof q.then=="function")return P(F(q),Y,re,le,ge);throw Y=String(q),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return pe}function I(q,Y,re){if(q==null)return q;var le=[],ge=0;return P(q,le,"","",function(he){return Y.call(re,he,ge++)}),le}function V(q){if(q._status===-1){var Y=q._result;Y=Y(),Y.then(function(re){(q._status===0||q._status===-1)&&(q._status=1,q._result=re)},function(re){(q._status===0||q._status===-1)&&(q._status=2,q._result=re)}),q._status===-1&&(q._status=0,q._result=Y)}if(q._status===1)return q._result.default;throw q._result}var k=typeof reportError=="function"?reportError:function(q){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q=="object"&&q!==null&&typeof q.message=="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",q);return}console.error(q)};function J(){}return ot.Children={map:I,forEach:function(q,Y,re){I(q,function(){Y.apply(this,arguments)},re)},count:function(q){var Y=0;return I(q,function(){Y++}),Y},toArray:function(q){return I(q,function(Y){return Y})||[]},only:function(q){if(!O(q))throw Error("React.Children.only expected to receive a single React element child.");return q}},ot.Component=j,ot.Fragment=a,ot.Profiler=s,ot.PureComponent=x,ot.StrictMode=i,ot.Suspense=f,ot.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,ot.__COMPILER_RUNTIME={__proto__:null,c:function(q){return M.H.useMemoCache(q)}},ot.cache=function(q){return function(){return q.apply(null,arguments)}},ot.cloneElement=function(q,Y,re){if(q==null)throw Error("The argument must be a React element, but you passed "+q+".");var le=T({},q.props),ge=q.key,he=void 0;if(Y!=null)for(pe in Y.ref!==void 0&&(he=void 0),Y.key!==void 0&&(ge=""+Y.key),Y)!H.call(Y,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&Y.ref===void 0||(le[pe]=Y[pe]);var pe=arguments.length-2;if(pe===1)le.children=re;else if(1<pe){for(var Ne=Array(pe),ke=0;ke<pe;ke++)Ne[ke]=arguments[ke+2];le.children=Ne}return Z(q.type,ge,void 0,void 0,he,le)},ot.createContext=function(q){return q={$$typeof:u,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:o,_context:q},q},ot.createElement=function(q,Y,re){var le,ge={},he=null;if(Y!=null)for(le in Y.key!==void 0&&(he=""+Y.key),Y)H.call(Y,le)&&le!=="key"&&le!=="__self"&&le!=="__source"&&(ge[le]=Y[le]);var pe=arguments.length-2;if(pe===1)ge.children=re;else if(1<pe){for(var Ne=Array(pe),ke=0;ke<pe;ke++)Ne[ke]=arguments[ke+2];ge.children=Ne}if(q&&q.defaultProps)for(le in pe=q.defaultProps,pe)ge[le]===void 0&&(ge[le]=pe[le]);return Z(q,he,void 0,void 0,null,ge)},ot.createRef=function(){return{current:null}},ot.forwardRef=function(q){return{$$typeof:d,render:q}},ot.isValidElement=O,ot.lazy=function(q){return{$$typeof:y,_payload:{_status:-1,_result:q},_init:V}},ot.memo=function(q,Y){return{$$typeof:p,type:q,compare:Y===void 0?null:Y}},ot.startTransition=function(q){var Y=M.T,re={};M.T=re;try{var le=q(),ge=M.S;ge!==null&&ge(re,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(J,k)}catch(he){k(he)}finally{M.T=Y}},ot.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},ot.use=function(q){return M.H.use(q)},ot.useActionState=function(q,Y,re){return M.H.useActionState(q,Y,re)},ot.useCallback=function(q,Y){return M.H.useCallback(q,Y)},ot.useContext=function(q){return M.H.useContext(q)},ot.useDebugValue=function(){},ot.useDeferredValue=function(q,Y){return M.H.useDeferredValue(q,Y)},ot.useEffect=function(q,Y,re){var le=M.H;if(typeof re=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return le.useEffect(q,Y)},ot.useId=function(){return M.H.useId()},ot.useImperativeHandle=function(q,Y,re){return M.H.useImperativeHandle(q,Y,re)},ot.useInsertionEffect=function(q,Y){return M.H.useInsertionEffect(q,Y)},ot.useLayoutEffect=function(q,Y){return M.H.useLayoutEffect(q,Y)},ot.useMemo=function(q,Y){return M.H.useMemo(q,Y)},ot.useOptimistic=function(q,Y){return M.H.useOptimistic(q,Y)},ot.useReducer=function(q,Y,re){return M.H.useReducer(q,Y,re)},ot.useRef=function(q){return M.H.useRef(q)},ot.useState=function(q){return M.H.useState(q)},ot.useSyncExternalStore=function(q,Y,re){return M.H.useSyncExternalStore(q,Y,re)},ot.useTransition=function(){return M.H.useTransition()},ot.version="19.1.1",ot}var q8;function ff(){return q8||(q8=1,k0.exports=DT()),k0.exports}var _0={exports:{}},ha={};/**
 * @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 P8;function jT(){if(P8)return ha;P8=1;var t=ff();function e(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+f+"; visit "+p+" 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,p,y){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:f,containerInfo:p,implementation:y}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,p){if(f==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return ha.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,ha.createPortal=function(f,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(e(299));return o(f,p,null,y)},ha.flushSync=function(f){var p=u.T,y=i.p;try{if(u.T=null,i.p=2,f)return f()}finally{u.T=p,i.p=y,i.d.f()}},ha.preconnect=function(f,p){typeof f=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,i.d.C(f,p))},ha.prefetchDNS=function(f){typeof f=="string"&&i.d.D(f)},ha.preinit=function(f,p){if(typeof f=="string"&&p&&typeof p.as=="string"){var y=p.as,b=d(y,p.crossOrigin),A=typeof p.integrity=="string"?p.integrity:void 0,w=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?i.d.S(f,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:A,fetchPriority:w}):y==="script"&&i.d.X(f,{crossOrigin:b,integrity:A,fetchPriority:w,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ha.preinitModule=function(f,p){if(typeof f=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=d(p.as,p.crossOrigin);i.d.M(f,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&i.d.M(f)},ha.preload=function(f,p){if(typeof f=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,b=d(y,p.crossOrigin);i.d.L(f,y,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},ha.preloadModule=function(f,p){if(typeof f=="string")if(p){var y=d(p.as,p.crossOrigin);i.d.m(f,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else i.d.m(f)},ha.requestFormReset=function(f){i.d.r(f)},ha.unstable_batchedUpdates=function(f,p){return f(p)},ha.useFormState=function(f,p,y){return u.H.useFormState(f,p,y)},ha.useFormStatus=function(){return u.H.useHostTransitionStatus()},ha.version="19.1.1",ha}var H8;function dE(){if(H8)return _0.exports;H8=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=jT(),_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 B8;function LT(){if(B8)return mc;B8=1;var t=NT(),e=ff(),a=dE();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(o(n)!==n)throw Error(i(188))}function f(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 m=l.return;if(m===null)break;var v=m.alternate;if(v===null){if(c=m.return,c!==null){l=c;continue}break}if(m.child===v.child){for(v=m.child;v;){if(v===l)return d(m),n;if(v===c)return d(m),r;v=v.sibling}throw Error(i(188))}if(l.return!==c.return)l=m,c=v;else{for(var C=!1,_=m.child;_;){if(_===l){C=!0,l=m,c=v;break}if(_===c){C=!0,c=m,l=v;break}_=_.sibling}if(!C){for(_=v.child;_;){if(_===l){C=!0,l=v,c=m;break}if(_===c){C=!0,c=v,l=m;break}_=_.sibling}if(!C)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 p(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=p(n),r!==null)return r;n=n.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),x=Symbol.for("react.consumer"),z=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),R=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function L(n){return n===null||typeof n!="object"?null:(n=B&&n[B]||n["@@iterator"],typeof n=="function"?n:null)}var U=Symbol.for("react.client.reference");function F(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===U?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case j:return"Profiler";case N:return"StrictMode";case M:return"Suspense";case H:return"SuspenseList";case O:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case w:return"Portal";case z:return(n.displayName||"Context")+".Provider";case x:return(n._context.displayName||"Context")+".Consumer";case G:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Z:return r=n.displayName||null,r!==null?r:F(n.type)||"Memo";case E:r=n._payload,n=n._init;try{return F(n(r))}catch{}}return null}var P=Array.isArray,I=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},J=[],q=-1;function Y(n){return{current:n}}function re(n){0>q||(n.current=J[q],J[q]=null,q--)}function le(n,r){q++,J[q]=n.current,n.current=r}var ge=Y(null),he=Y(null),pe=Y(null),Ne=Y(null);function ke(n,r){switch(le(pe,r),le(he,n),le(ge,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?o8(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=o8(r),n=c8(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}re(ge),le(ge,n)}function Pe(){re(ge),re(he),re(pe)}function en(n){n.memoizedState!==null&&le(Ne,n);var r=ge.current,l=c8(r,n.type);r!==l&&(le(he,n),le(ge,l))}function ct(n){he.current===n&&(re(ge),re(he)),Ne.current===n&&(re(Ne),oc._currentValue=k)}var gt=Object.prototype.hasOwnProperty,vt=t.unstable_scheduleCallback,Qe=t.unstable_cancelCallback,we=t.unstable_shouldYield,He=t.unstable_requestPaint,ht=t.unstable_now,ut=t.unstable_getCurrentPriorityLevel,Ze=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,gn=t.unstable_NormalPriority,We=t.unstable_LowPriority,Ae=t.unstable_IdlePriority,Ve=t.log,_e=t.unstable_setDisableYieldValue,Xe=null,st=null;function tn(n){if(typeof Ve=="function"&&_e(n),st&&typeof st.setStrictMode=="function")try{st.setStrictMode(Xe,n)}catch{}}var Pt=Math.clz32?Math.clz32:ea,$n=Math.log,ua=Math.LN2;function ea(n){return n>>>=0,n===0?32:31-($n(n)/ua|0)|0}var xn=256,Ht=4194304;function lt(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:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;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 Cn(n,r,l){var c=n.pendingLanes;if(c===0)return 0;var m=0,v=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var _=c&134217727;return _!==0?(c=_&~v,c!==0?m=lt(c):(C&=_,C!==0?m=lt(C):l||(l=_&~n,l!==0&&(m=lt(l))))):(_=c&~v,_!==0?m=lt(_):C!==0?m=lt(C):l||(l=c&~n,l!==0&&(m=lt(l)))),m===0?0:r!==0&&r!==m&&(r&v)===0&&(v=m&-m,l=r&-r,v>=l||v===32&&(l&4194048)!==0)?r:m}function Tn(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function Oa(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 ta(){var n=xn;return xn<<=1,(xn&4194048)===0&&(xn=256),n}function Bn(){var n=Ht;return Ht<<=1,(Ht&62914560)===0&&(Ht=4194304),n}function Nn(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function wt(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function na(n,r,l,c,m,v){var C=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 _=n.entanglements,W=n.expirationTimes,ae=n.hiddenUpdates;for(l=C&~l;0<l;){var ue=31-Pt(l),de=1<<ue;_[ue]=0,W[ue]=-1;var ie=ae[ue];if(ie!==null)for(ae[ue]=null,ue=0;ue<ie.length;ue++){var se=ie[ue];se!==null&&(se.lane&=-536870913)}l&=~de}c!==0&&ya(n,c,0),v!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=v&~(C&~r))}function ya(n,r,l){n.pendingLanes|=r,n.suspendedLanes&=~r;var c=31-Pt(r);n.entangledLanes|=r,n.entanglements[c]=n.entanglements[c]|1073741824|l&4194090}function tt(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var c=31-Pt(l),m=1<<c;m&r|n[c]&r&&(n[c]|=r),l&=~m}}function Jt(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 je(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function nt(){var n=V.p;return n!==0?n:(n=window.event,n===void 0?32:R8(n.type))}function yt(n,r){var l=V.p;try{return V.p=n,r()}finally{V.p=l}}var sn=Math.random().toString(36).slice(2),ye="__reactFiber$"+sn,xe="__reactProps$"+sn,Ie="__reactContainer$"+sn,Ct="__reactEvents$"+sn,ln="__reactListeners$"+sn,Dn="__reactHandles$"+sn,On="__reactResources$"+sn,Vt="__reactMarker$"+sn;function Ke(n){delete n[ye],delete n[xe],delete n[Ct],delete n[ln],delete n[Dn]}function ft(n){var r=n[ye];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ie]||l[ye]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=h8(n);n!==null;){if(l=n[ye])return l;n=h8(n)}return r}n=l,l=n.parentNode}return null}function xt(n){if(n=n[ye]||n[Ie]){var r=n.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return n}return null}function ba(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(i(33))}function Tt(n){var r=n[On];return r||(r=n[On]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function jt(n){n[Vt]=!0}var Te=new Set,Q={};function me(n,r){Se(n,r),Se(n+"Capture",r)}function Se(n,r){for(Q[n]=r,n=0;n<r.length;n++)Te.add(r[n])}var De=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]*$"),mt={},Ot={};function Mt(n){return gt.call(Ot,n)?!0:gt.call(mt,n)?!1:De.test(n)?Ot[n]=!0:(mt[n]=!0,!1)}function vn(n,r,l){if(Mt(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 Rn(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 ee(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)}}var ce,ve;function Oe(n){if(ce===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);ce=r&&r[1]||"",ve=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ce+n+ve}var at=!1;function Nt(n,r){if(!n||at)return"";at=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(r){var de=function(){throw Error()};if(Object.defineProperty(de.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(de,[])}catch(se){var ie=se}Reflect.construct(n,[],de)}else{try{de.call()}catch(se){ie=se}n.call(de.prototype)}}else{try{throw Error()}catch(se){ie=se}(de=n())&&typeof de.catch=="function"&&de.catch(function(){})}}catch(se){if(se&&ie&&typeof se.stack=="string")return[se.stack,ie.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=c.DetermineComponentFrameRoot(),C=v[0],_=v[1];if(C&&_){var W=C.split(`
`),ae=_.split(`
`);for(m=c=0;c<W.length&&!W[c].includes("DetermineComponentFrameRoot");)c++;for(;m<ae.length&&!ae[m].includes("DetermineComponentFrameRoot");)m++;if(c===W.length||m===ae.length)for(c=W.length-1,m=ae.length-1;1<=c&&0<=m&&W[c]!==ae[m];)m--;for(;1<=c&&0<=m;c--,m--)if(W[c]!==ae[m]){if(c!==1||m!==1)do if(c--,m--,0>m||W[c]!==ae[m]){var ue=`
`+W[c].replace(" at new "," at ");return n.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",n.displayName)),ue}while(1<=c&&0<=m);break}}}finally{at=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?Oe(l):""}function Wn(n){switch(n.tag){case 26:case 27:case 5:return Oe(n.type);case 16:return Oe("Lazy");case 13:return Oe("Suspense");case 19:return Oe("SuspenseList");case 0:case 15:return Nt(n.type,!1);case 11:return Nt(n.type.render,!1);case 1:return Nt(n.type,!0);case 31:return Oe("Activity");default:return""}}function fa(n){try{var r="";do r+=Wn(n),n=n.return;while(n);return r}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function Fn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ai(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function iu(n){var r=ai(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),c=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var m=l.get,v=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return m.call(this)},set:function(C){c=""+C,v.call(this,C)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return c},setValue:function(C){c=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function ds(n){n._valueTracker||(n._valueTracker=iu(n))}function yo(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),c="";return n&&(c=ai(n)?n.checked?"true":"false":n.value),n=c,n!==l?(r.setValue(n),!0):!1}function Di(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 su=/[\n"\\]/g;function aa(n){return n.replace(su,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function ji(n,r,l,c,m,v,C,_){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),r!=null?C==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Fn(r)):n.value!==""+Fn(r)&&(n.value=""+Fn(r)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),r!=null?Ur(n,C,Fn(r)):l!=null?Ur(n,C,Fn(l)):c!=null&&n.removeAttribute("value"),m==null&&v!=null&&(n.defaultChecked=!!v),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.name=""+Fn(_):n.removeAttribute("name")}function Ja(n,r,l,c,m,v,C,_){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))return;l=l!=null?""+Fn(l):"",r=r!=null?""+Fn(r):l,_||r===n.value||(n.value=r),n.defaultValue=r}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=_?n.checked:!!c,n.defaultChecked=!!c,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C)}function Ur(n,r,l){r==="number"&&Di(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function zr(n,r,l,c){if(n=n.options,r){r={};for(var m=0;m<l.length;m++)r["$"+l[m]]=!0;for(l=0;l<n.length;l++)m=r.hasOwnProperty("$"+n[l].value),n[l].selected!==m&&(n[l].selected=m),m&&c&&(n[l].defaultSelected=!0)}else{for(l=""+Fn(l),r=null,m=0;m<n.length;m++){if(n[m].value===l){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}r!==null||n[m].disabled||(r=n[m])}r!==null&&(r.selected=!0)}}function Ks(n,r,l){if(r!=null&&(r=""+Fn(r),r!==n.value&&(n.value=r),l==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=l!=null?""+Fn(l):""}function lu(n,r,l,c){if(r==null){if(c!=null){if(l!=null)throw Error(i(92));if(P(c)){if(1<c.length)throw Error(i(93));c=c[0]}l=c}l==null&&(l=""),r=l}l=Fn(r),n.defaultValue=l,c=n.textContent,c===l&&c!==""&&c!==null&&(n.value=c)}function gr(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Js=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 ou(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||Js.has(r)?r==="float"?n.cssFloat=l:n[r]=(""+l).trim():n[r]=l+"px"}function Li(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 m in r)c=r[m],r.hasOwnProperty(m)&&l[m]!==c&&ou(n,m,c)}else for(var v in r)r.hasOwnProperty(v)&&ou(n,v,r[v])}function bo(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 zf=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"]]),jn=/^[\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 vr(n){return jn.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var So=null;function Xs(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var qr=null,ri=null;function Eo(n){var r=xt(n);if(r&&(n=r.stateNode)){var l=n[xe]||null;e:switch(n=r.stateNode,r.type){case"input":if(ji(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="'+aa(""+r)+'"][type="radio"]'),r=0;r<l.length;r++){var c=l[r];if(c!==n&&c.form===n.form){var m=c[xe]||null;if(!m)throw Error(i(90));ji(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(r=0;r<l.length;r++)c=l[r],c.form===n.form&&yo(c)}break e;case"textarea":Ks(n,l.value,l.defaultValue);break e;case"select":r=l.value,r!=null&&zr(n,!!l.multiple,r,!1)}}}var Ao=!1;function Ua(n,r,l){if(Ao)return n(r,l);Ao=!0;try{var c=n(r);return c}finally{if(Ao=!1,(qr!==null||ri!==null)&&(Vu(),qr&&(r=qr,n=ri,ri=qr=null,Eo(r),n)))for(r=0;r<n.length;r++)Eo(n[r])}}function za(n,r){var l=n.stateNode;if(l===null)return null;var c=l[xe]||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 Xa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$s=!1;if(Xa)try{var ii={};Object.defineProperty(ii,"passive",{get:function(){$s=!0}}),window.addEventListener("test",ii,ii),window.removeEventListener("test",ii,ii)}catch{$s=!1}var yr=null,qa=null,hs=null;function wo(){if(hs)return hs;var n,r=qa,l=r.length,c,m="value"in yr?yr.value:yr.textContent,v=m.length;for(n=0;n<l&&r[n]===m[n];n++);var C=l-n;for(c=1;c<=C&&r[l-c]===m[v-c];c++);return hs=m.slice(n,1<c?1-c:void 0)}function ms(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 ps(){return!0}function cu(){return!1}function Ce(n){function r(l,c,m,v,C){this._reactName=l,this._targetInst=m,this.type=c,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var _ in n)n.hasOwnProperty(_)&&(l=n[_],this[_]=l?l(v):v[_]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?ps:cu,this.isPropagationStopped=cu,this}return y(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=ps)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),r}var K={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},be=Ce(K),Re=y({},K,{view:0,detail:0}),nn=Ce(Re),Ln,cn,kn,Ra=y({},Re,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qf,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!==kn&&(kn&&n.type==="mousemove"?(Ln=n.screenX-kn.screenX,cn=n.screenY-kn.screenY):cn=Ln=0,kn=n),Ln)},movementY:function(n){return"movementY"in n?n.movementY:cn}}),si=Ce(Ra),xo=y({},Ra,{dataTransfer:0}),Vn=Ce(xo),uu=y({},Re,{relatedTarget:0}),el=Ce(uu),Nx=y({},K,{animationName:0,elapsedTime:0,pseudoElement:0}),Dx=Ce(Nx),jx=y({},K,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Lx=Ce(jx),kx=y({},K,{data:0}),p5=Ce(kx),_x={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ux={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"},zx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qx(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=zx[n])?!!r[n]:!1}function qf(){return qx}var Px=y({},Re,{key:function(n){if(n.key){var r=_x[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=ms(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ux[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qf,charCode:function(n){return n.type==="keypress"?ms(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ms(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Hx=Ce(Px),Bx=y({},Ra,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),g5=Ce(Bx),Fx=y({},Re,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qf}),Vx=Ce(Fx),Gx=y({},K,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zx=Ce(Gx),Wx=y({},Ra,{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}),Yx=Ce(Wx),Qx=y({},K,{newState:0,oldState:0}),Kx=Ce(Qx),Jx=[9,13,27,32],Pf=Xa&&"CompositionEvent"in window,Co=null;Xa&&"documentMode"in document&&(Co=document.documentMode);var Xx=Xa&&"TextEvent"in window&&!Co,v5=Xa&&(!Pf||Co&&8<Co&&11>=Co),y5=" ",b5=!1;function S5(n,r){switch(n){case"keyup":return Jx.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function E5(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var tl=!1;function $x(n,r){switch(n){case"compositionend":return E5(r);case"keypress":return r.which!==32?null:(b5=!0,y5);case"textInput":return n=r.data,n===y5&&b5?null:n;default:return null}}function eC(n,r){if(tl)return n==="compositionend"||!Pf&&S5(n,r)?(n=wo(),hs=qa=yr=null,tl=!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 v5&&r.locale!=="ko"?null:r.data;default:return null}}var tC={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 A5(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!tC[n.type]:r==="textarea"}function w5(n,r,l,c){qr?ri?ri.push(c):ri=[c]:qr=c,r=Ku(r,"onChange"),0<r.length&&(l=new be("onChange","change",null,l,c),n.push({event:l,listeners:r}))}var To=null,Oo=null;function nC(n){a8(n,0)}function fu(n){var r=ba(n);if(yo(r))return n}function x5(n,r){if(n==="change")return r}var C5=!1;if(Xa){var Hf;if(Xa){var Bf="oninput"in document;if(!Bf){var T5=document.createElement("div");T5.setAttribute("oninput","return;"),Bf=typeof T5.oninput=="function"}Hf=Bf}else Hf=!1;C5=Hf&&(!document.documentMode||9<document.documentMode)}function O5(){To&&(To.detachEvent("onpropertychange",R5),Oo=To=null)}function R5(n){if(n.propertyName==="value"&&fu(Oo)){var r=[];w5(r,Oo,n,Xs(n)),Ua(nC,r)}}function aC(n,r,l){n==="focusin"?(O5(),To=r,Oo=l,To.attachEvent("onpropertychange",R5)):n==="focusout"&&O5()}function rC(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return fu(Oo)}function iC(n,r){if(n==="click")return fu(r)}function sC(n,r){if(n==="input"||n==="change")return fu(r)}function lC(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Pa=typeof Object.is=="function"?Object.is:lC;function Ro(n,r){if(Pa(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 m=l[c];if(!gt.call(r,m)||!Pa(n[m],r[m]))return!1}return!0}function I5(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function M5(n,r){var l=I5(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=I5(l)}}function N5(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?N5(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function D5(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=Di(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=Di(n.document)}return r}function Ff(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 oC=Xa&&"documentMode"in document&&11>=document.documentMode,nl=null,Vf=null,Io=null,Gf=!1;function j5(n,r,l){var c=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Gf||nl==null||nl!==Di(c)||(c=nl,"selectionStart"in c&&Ff(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}),Io&&Ro(Io,c)||(Io=c,c=Ku(Vf,"onSelect"),0<c.length&&(r=new be("onSelect","select",null,r,l),n.push({event:r,listeners:c}),r.target=nl)))}function gs(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var al={animationend:gs("Animation","AnimationEnd"),animationiteration:gs("Animation","AnimationIteration"),animationstart:gs("Animation","AnimationStart"),transitionrun:gs("Transition","TransitionRun"),transitionstart:gs("Transition","TransitionStart"),transitioncancel:gs("Transition","TransitionCancel"),transitionend:gs("Transition","TransitionEnd")},Zf={},L5={};Xa&&(L5=document.createElement("div").style,"AnimationEvent"in window||(delete al.animationend.animation,delete al.animationiteration.animation,delete al.animationstart.animation),"TransitionEvent"in window||delete al.transitionend.transition);function vs(n){if(Zf[n])return Zf[n];if(!al[n])return n;var r=al[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in L5)return Zf[n]=r[l];return n}var k5=vs("animationend"),_5=vs("animationiteration"),U5=vs("animationstart"),cC=vs("transitionrun"),uC=vs("transitionstart"),fC=vs("transitioncancel"),z5=vs("transitionend"),q5=new Map,Wf="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(" ");Wf.push("scrollEnd");function br(n,r){q5.set(n,r),me(r,[n])}var P5=new WeakMap;function $a(n,r){if(typeof n=="object"&&n!==null){var l=P5.get(n);return l!==void 0?l:(r={value:n,source:r,stack:fa(r)},P5.set(n,r),r)}return{value:n,source:r,stack:fa(r)}}var er=[],rl=0,Yf=0;function du(){for(var n=rl,r=Yf=rl=0;r<n;){var l=er[r];er[r++]=null;var c=er[r];er[r++]=null;var m=er[r];er[r++]=null;var v=er[r];if(er[r++]=null,c!==null&&m!==null){var C=c.pending;C===null?m.next=m:(m.next=C.next,C.next=m),c.pending=m}v!==0&&H5(l,m,v)}}function hu(n,r,l,c){er[rl++]=n,er[rl++]=r,er[rl++]=l,er[rl++]=c,Yf|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function Qf(n,r,l,c){return hu(n,r,l,c),mu(n)}function il(n,r){return hu(n,null,null,r),mu(n)}function H5(n,r,l){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l);for(var m=!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||(m=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,m&&r!==null&&(m=31-Pt(l),n=v.hiddenUpdates,c=n[m],c===null?n[m]=[r]:c.push(r),r.lane=l|536870912),v):null}function mu(n){if(50<ec)throw ec=0,t0=null,Error(i(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var sl={};function dC(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 Ha(n,r,l,c){return new dC(n,r,l,c)}function Kf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function li(n,r){var l=n.alternate;return l===null?(l=Ha(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 B5(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 pu(n,r,l,c,m,v){var C=0;if(c=n,typeof n=="function")Kf(n)&&(C=1);else if(typeof n=="string")C=mT(n,l,ge.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case O:return n=Ha(31,l,r,m),n.elementType=O,n.lanes=v,n;case T:return ys(l.children,m,v,r);case N:C=8,m|=24;break;case j:return n=Ha(12,l,r,m|2),n.elementType=j,n.lanes=v,n;case M:return n=Ha(13,l,r,m),n.elementType=M,n.lanes=v,n;case H:return n=Ha(19,l,r,m),n.elementType=H,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case D:case z:C=10;break e;case x:C=9;break e;case G:C=11;break e;case Z:C=14;break e;case E:C=16,c=null;break e}C=29,l=Error(i(130,n===null?"null":typeof n,"")),c=null}return r=Ha(C,l,r,m),r.elementType=n,r.type=c,r.lanes=v,r}function ys(n,r,l,c){return n=Ha(7,n,c,r),n.lanes=l,n}function Jf(n,r,l){return n=Ha(6,n,null,r),n.lanes=l,n}function Xf(n,r,l){return r=Ha(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var ll=[],ol=0,gu=null,vu=0,tr=[],nr=0,bs=null,oi=1,ci="";function Ss(n,r){ll[ol++]=vu,ll[ol++]=gu,gu=n,vu=r}function F5(n,r,l){tr[nr++]=oi,tr[nr++]=ci,tr[nr++]=bs,bs=n;var c=oi;n=ci;var m=32-Pt(c)-1;c&=~(1<<m),l+=1;var v=32-Pt(r)+m;if(30<v){var C=m-m%5;v=(c&(1<<C)-1).toString(32),c>>=C,m-=C,oi=1<<32-Pt(r)+m|l<<m|c,ci=v+n}else oi=1<<v|l<<m|c,ci=n}function $f(n){n.return!==null&&(Ss(n,1),F5(n,1,0))}function ed(n){for(;n===gu;)gu=ll[--ol],ll[ol]=null,vu=ll[--ol],ll[ol]=null;for(;n===bs;)bs=tr[--nr],tr[nr]=null,ci=tr[--nr],tr[nr]=null,oi=tr[--nr],tr[nr]=null}var Sa=null,yn=null,Lt=!1,Es=null,Pr=!1,td=Error(i(519));function As(n){var r=Error(i(418,""));throw Do($a(r,n)),td}function V5(n){var r=n.stateNode,l=n.type,c=n.memoizedProps;switch(r[ye]=n,r[xe]=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<nc.length;l++)St(nc[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),Ja(r,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),ds(r);break;case"select":St("invalid",r);break;case"textarea":St("invalid",r),lu(r,c.value,c.defaultValue,c.children),ds(r)}l=c.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||r.textContent===""+l||c.suppressHydrationWarning===!0||l8(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=Ju),r=!0):r=!1,r||As(n)}function G5(n){for(Sa=n.return;Sa;)switch(Sa.tag){case 5:case 13:Pr=!1;return;case 27:case 3:Pr=!0;return;default:Sa=Sa.return}}function Mo(n){if(n!==Sa)return!1;if(!Lt)return G5(n),Lt=!0,!1;var r=n.tag,l;if((l=r!==3&&r!==27)&&((l=r===5)&&(l=n.type,l=!(l!=="form"&&l!=="button")||v0(n.type,n.memoizedProps)),l=!l),l&&yn&&As(n),G5(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8)if(l=n.data,l==="/$"){if(r===0){yn=Er(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++;n=n.nextSibling}yn=null}}else r===27?(r=yn,Ki(n.type)?(n=E0,E0=null,yn=n):yn=r):yn=Sa?Er(n.stateNode.nextSibling):null;return!0}function No(){yn=Sa=null,Lt=!1}function Z5(){var n=Es;return n!==null&&(Na===null?Na=n:Na.push.apply(Na,n),Es=null),n}function Do(n){Es===null?Es=[n]:Es.push(n)}var nd=Y(null),ws=null,ui=null;function ki(n,r,l){le(nd,r._currentValue),r._currentValue=l}function fi(n){n._currentValue=nd.current,re(nd)}function ad(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 rd(n,r,l,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var v=m.dependencies;if(v!==null){var C=m.child;v=v.firstContext;e:for(;v!==null;){var _=v;v=m;for(var W=0;W<r.length;W++)if(_.context===r[W]){v.lanes|=l,_=v.alternate,_!==null&&(_.lanes|=l),ad(v.return,l,n),c||(C=null);break e}v=_.next}}else if(m.tag===18){if(C=m.return,C===null)throw Error(i(341));C.lanes|=l,v=C.alternate,v!==null&&(v.lanes|=l),ad(C,l,n),C=null}else C=m.child;if(C!==null)C.return=m;else for(C=m;C!==null;){if(C===n){C=null;break}if(m=C.sibling,m!==null){m.return=C.return,C=m;break}C=C.return}m=C}}function jo(n,r,l,c){n=null;for(var m=r,v=!1;m!==null;){if(!v){if((m.flags&524288)!==0)v=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var C=m.alternate;if(C===null)throw Error(i(387));if(C=C.memoizedProps,C!==null){var _=m.type;Pa(m.pendingProps.value,C.value)||(n!==null?n.push(_):n=[_])}}else if(m===Ne.current){if(C=m.alternate,C===null)throw Error(i(387));C.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(oc):n=[oc])}m=m.return}n!==null&&rd(r,n,l,c),r.flags|=262144}function yu(n){for(n=n.firstContext;n!==null;){if(!Pa(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function xs(n){ws=n,ui=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function da(n){return W5(ws,n)}function bu(n,r){return ws===null&&xs(n),W5(n,r)}function W5(n,r){var l=r._currentValue;if(r={context:r,memoizedValue:l,next:null},ui===null){if(n===null)throw Error(i(308));ui=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else ui=ui.next=r;return l}var hC=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()})}},mC=t.unstable_scheduleCallback,pC=t.unstable_NormalPriority,Gn={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function id(){return{controller:new hC,data:new Map,refCount:0}}function Lo(n){n.refCount--,n.refCount===0&&mC(pC,function(){n.controller.abort()})}var ko=null,sd=0,cl=0,ul=null;function gC(n,r){if(ko===null){var l=ko=[];sd=0,cl=o0(),ul={status:"pending",value:void 0,then:function(c){l.push(c)}}}return sd++,r.then(Y5,Y5),r}function Y5(){if(--sd===0&&ko!==null){ul!==null&&(ul.status="fulfilled");var n=ko;ko=null,cl=0,ul=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function vC(n,r){var l=[],c={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return n.then(function(){c.status="fulfilled",c.value=r;for(var m=0;m<l.length;m++)(0,l[m])(r)},function(m){for(c.status="rejected",c.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),c}var Q5=I.S;I.S=function(n,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&gC(n,r),Q5!==null&&Q5(n,r)};var Cs=Y(null);function ld(){var n=Cs.current;return n!==null?n:an.pooledCache}function Su(n,r){r===null?le(Cs,Cs.current):le(Cs,r.pool)}function K5(){var n=ld();return n===null?null:{parent:Gn._currentValue,pool:n}}var _o=Error(i(460)),J5=Error(i(474)),Eu=Error(i(542)),od={then:function(){}};function X5(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Au(){}function $5(n,r,l){switch(l=n[l],l===void 0?n.push(r):l!==r&&(r.then(Au,Au),r=l),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,t4(n),n;default:if(typeof r.status=="string")r.then(Au,Au);else{if(n=an,n!==null&&100<n.shellSuspendCounter)throw Error(i(482));n=r,n.status="pending",n.then(function(c){if(r.status==="pending"){var m=r;m.status="fulfilled",m.value=c}},function(c){if(r.status==="pending"){var m=r;m.status="rejected",m.reason=c}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,t4(n),n}throw Uo=r,_o}}var Uo=null;function e4(){if(Uo===null)throw Error(i(459));var n=Uo;return Uo=null,n}function t4(n){if(n===_o||n===Eu)throw Error(i(483))}var _i=!1;function cd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ud(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 Ui(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function zi(n,r,l){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Gt&2)!==0){var m=c.pending;return m===null?r.next=r:(r.next=m.next,m.next=r),c.pending=r,r=mu(n),H5(n,null,l),r}return hu(n,c,r,l),mu(n)}function zo(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,tt(n,l)}}function fd(n,r){var l=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,l===c)){var m=null,v=null;if(l=l.firstBaseUpdate,l!==null){do{var C={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};v===null?m=v=C:v=v.next=C,l=l.next}while(l!==null);v===null?m=v=r:v=v.next=r}else m=v=r;l={baseState:c.baseState,firstBaseUpdate:m,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 dd=!1;function qo(){if(dd){var n=ul;if(n!==null)throw n}}function Po(n,r,l,c){dd=!1;var m=n.updateQueue;_i=!1;var v=m.firstBaseUpdate,C=m.lastBaseUpdate,_=m.shared.pending;if(_!==null){m.shared.pending=null;var W=_,ae=W.next;W.next=null,C===null?v=ae:C.next=ae,C=W;var ue=n.alternate;ue!==null&&(ue=ue.updateQueue,_=ue.lastBaseUpdate,_!==C&&(_===null?ue.firstBaseUpdate=ae:_.next=ae,ue.lastBaseUpdate=W))}if(v!==null){var de=m.baseState;C=0,ue=ae=W=null,_=v;do{var ie=_.lane&-536870913,se=ie!==_.lane;if(se?(Rt&ie)===ie:(c&ie)===ie){ie!==0&&ie===cl&&(dd=!0),ue!==null&&(ue=ue.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var Ye=n,Be=_;ie=r;var Qt=l;switch(Be.tag){case 1:if(Ye=Be.payload,typeof Ye=="function"){de=Ye.call(Qt,de,ie);break e}de=Ye;break e;case 3:Ye.flags=Ye.flags&-65537|128;case 0:if(Ye=Be.payload,ie=typeof Ye=="function"?Ye.call(Qt,de,ie):Ye,ie==null)break e;de=y({},de,ie);break e;case 2:_i=!0}}ie=_.callback,ie!==null&&(n.flags|=64,se&&(n.flags|=8192),se=m.callbacks,se===null?m.callbacks=[ie]:se.push(ie))}else se={lane:ie,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ue===null?(ae=ue=se,W=de):ue=ue.next=se,C|=ie;if(_=_.next,_===null){if(_=m.shared.pending,_===null)break;se=_,_=se.next,se.next=null,m.lastBaseUpdate=se,m.shared.pending=null}}while(!0);ue===null&&(W=de),m.baseState=W,m.firstBaseUpdate=ae,m.lastBaseUpdate=ue,v===null&&(m.shared.lanes=0),Zi|=C,n.lanes=C,n.memoizedState=de}}function n4(n,r){if(typeof n!="function")throw Error(i(191,n));n.call(r)}function a4(n,r){var l=n.callbacks;if(l!==null)for(n.callbacks=null,n=0;n<l.length;n++)n4(l[n],r)}var fl=Y(null),wu=Y(0);function r4(n,r){n=yi,le(wu,n),le(fl,r),yi=n|r.baseLanes}function hd(){le(wu,yi),le(fl,fl.current)}function md(){yi=wu.current,re(fl),re(wu)}var qi=0,dt=null,Wt=null,_n=null,xu=!1,dl=!1,Ts=!1,Cu=0,Ho=0,hl=null,yC=0;function In(){throw Error(i(321))}function pd(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Pa(n[l],r[l]))return!1;return!0}function gd(n,r,l,c,m,v){return qi=v,dt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,I.H=n===null||n.memoizedState===null?H4:B4,Ts=!1,v=l(c,m),Ts=!1,dl&&(v=s4(r,l,c,m)),i4(n),v}function i4(n){I.H=Nu;var r=Wt!==null&&Wt.next!==null;if(qi=0,_n=Wt=dt=null,xu=!1,Ho=0,hl=null,r)throw Error(i(300));n===null||Yn||(n=n.dependencies,n!==null&&yu(n)&&(Yn=!0))}function s4(n,r,l,c){dt=n;var m=0;do{if(dl&&(hl=null),Ho=0,dl=!1,25<=m)throw Error(i(301));if(m+=1,_n=Wt=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}I.H=CC,v=r(l,c)}while(dl);return v}function bC(){var n=I.H,r=n.useState()[0];return r=typeof r.then=="function"?Bo(r):r,n=n.useState()[0],(Wt!==null?Wt.memoizedState:null)!==n&&(dt.flags|=1024),r}function vd(){var n=Cu!==0;return Cu=0,n}function yd(n,r,l){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~l}function bd(n){if(xu){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}xu=!1}qi=0,_n=Wt=dt=null,dl=!1,Ho=Cu=0,hl=null}function Ia(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _n===null?dt.memoizedState=_n=n:_n=_n.next=n,_n}function Un(){if(Wt===null){var n=dt.alternate;n=n!==null?n.memoizedState:null}else n=Wt.next;var r=_n===null?dt.memoizedState:_n.next;if(r!==null)_n=r,Wt=n;else{if(n===null)throw dt.alternate===null?Error(i(467)):Error(i(310));Wt=n,n={memoizedState:Wt.memoizedState,baseState:Wt.baseState,baseQueue:Wt.baseQueue,queue:Wt.queue,next:null},_n===null?dt.memoizedState=_n=n:_n=_n.next=n}return _n}function Sd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bo(n){var r=Ho;return Ho+=1,hl===null&&(hl=[]),n=$5(hl,n,r),r=dt,(_n===null?r.memoizedState:_n.next)===null&&(r=r.alternate,I.H=r===null||r.memoizedState===null?H4:B4),n}function Tu(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Bo(n);if(n.$$typeof===z)return da(n)}throw Error(i(438,String(n)))}function Ed(n){var r=null,l=dt.updateQueue;if(l!==null&&(r=l.memoCache),r==null){var c=dt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(r={data:c.data.map(function(m){return m.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),l===null&&(l=Sd(),dt.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]=R;return r.index++,l}function di(n,r){return typeof r=="function"?r(n):r}function Ou(n){var r=Un();return Ad(r,Wt,n)}function Ad(n,r,l){var c=n.queue;if(c===null)throw Error(i(311));c.lastRenderedReducer=l;var m=n.baseQueue,v=c.pending;if(v!==null){if(m!==null){var C=m.next;m.next=v.next,v.next=C}r.baseQueue=m=v,c.pending=null}if(v=n.baseState,m===null)n.memoizedState=v;else{r=m.next;var _=C=null,W=null,ae=r,ue=!1;do{var de=ae.lane&-536870913;if(de!==ae.lane?(Rt&de)===de:(qi&de)===de){var ie=ae.revertLane;if(ie===0)W!==null&&(W=W.next={lane:0,revertLane:0,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null}),de===cl&&(ue=!0);else if((qi&ie)===ie){ae=ae.next,ie===cl&&(ue=!0);continue}else de={lane:0,revertLane:ae.revertLane,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},W===null?(_=W=de,C=v):W=W.next=de,dt.lanes|=ie,Zi|=ie;de=ae.action,Ts&&l(v,de),v=ae.hasEagerState?ae.eagerState:l(v,de)}else ie={lane:de,revertLane:ae.revertLane,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},W===null?(_=W=ie,C=v):W=W.next=ie,dt.lanes|=de,Zi|=de;ae=ae.next}while(ae!==null&&ae!==r);if(W===null?C=v:W.next=_,!Pa(v,n.memoizedState)&&(Yn=!0,ue&&(l=ul,l!==null)))throw l;n.memoizedState=v,n.baseState=C,n.baseQueue=W,c.lastRenderedState=v}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function wd(n){var r=Un(),l=r.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=n;var c=l.dispatch,m=l.pending,v=r.memoizedState;if(m!==null){l.pending=null;var C=m=m.next;do v=n(v,C.action),C=C.next;while(C!==m);Pa(v,r.memoizedState)||(Yn=!0),r.memoizedState=v,r.baseQueue===null&&(r.baseState=v),l.lastRenderedState=v}return[v,c]}function l4(n,r,l){var c=dt,m=Un(),v=Lt;if(v){if(l===void 0)throw Error(i(407));l=l()}else l=r();var C=!Pa((Wt||m).memoizedState,l);C&&(m.memoizedState=l,Yn=!0),m=m.queue;var _=u4.bind(null,c,m,n);if(Fo(2048,8,_,[n]),m.getSnapshot!==r||C||_n!==null&&_n.memoizedState.tag&1){if(c.flags|=2048,ml(9,Ru(),c4.bind(null,c,m,l,r),null),an===null)throw Error(i(349));v||(qi&124)!==0||o4(c,r,l)}return l}function o4(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=dt.updateQueue,r===null?(r=Sd(),dt.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function c4(n,r,l,c){r.value=l,r.getSnapshot=c,f4(r)&&d4(n)}function u4(n,r,l){return l(function(){f4(r)&&d4(n)})}function f4(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Pa(n,l)}catch{return!0}}function d4(n){var r=il(n,2);r!==null&&Za(r,n,2)}function xd(n){var r=Ia();if(typeof n=="function"){var l=n;if(n=l(),Ts){tn(!0);try{l()}finally{tn(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:n},r}function h4(n,r,l,c){return n.baseState=l,Ad(n,Wt,typeof c=="function"?c:di)}function SC(n,r,l,c,m){if(Mu(n))throw Error(i(485));if(n=r.action,n!==null){var v={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){v.listeners.push(C)}};I.T!==null?l(!0):v.isTransition=!1,c(v),l=r.pending,l===null?(v.next=r.pending=v,m4(r,v)):(v.next=l.next,r.pending=l.next=v)}}function m4(n,r){var l=r.action,c=r.payload,m=n.state;if(r.isTransition){var v=I.T,C={};I.T=C;try{var _=l(m,c),W=I.S;W!==null&&W(C,_),p4(n,r,_)}catch(ae){Cd(n,r,ae)}finally{I.T=v}}else try{v=l(m,c),p4(n,r,v)}catch(ae){Cd(n,r,ae)}}function p4(n,r,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(c){g4(n,r,c)},function(c){return Cd(n,r,c)}):g4(n,r,l)}function g4(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,m4(n,l)))}function Cd(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 y4(n,r){return r}function b4(n,r){if(Lt){var l=an.formState;if(l!==null){e:{var c=dt;if(Lt){if(yn){t:{for(var m=yn,v=Pr;m.nodeType!==8;){if(!v){m=null;break t}if(m=Er(m.nextSibling),m===null){m=null;break t}}v=m.data,m=v==="F!"||v==="F"?m:null}if(m){yn=Er(m.nextSibling),c=m.data==="F!";break e}}As(c)}c=!1}c&&(r=l[0])}}return l=Ia(),l.memoizedState=l.baseState=r,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:y4,lastRenderedState:r},l.queue=c,l=z4.bind(null,dt,c),c.dispatch=l,c=xd(!1),v=Md.bind(null,dt,!1,c.queue),c=Ia(),m={state:r,dispatch:null,action:n,pending:null},c.queue=m,l=SC.bind(null,dt,m,v,l),m.dispatch=l,c.memoizedState=n,[r,l,!1]}function S4(n){var r=Un();return E4(r,Wt,n)}function E4(n,r,l){if(r=Ad(n,r,y4)[0],n=Ou(di)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var c=Bo(r)}catch(C){throw C===_o?Eu:C}else c=r;r=Un();var m=r.queue,v=m.dispatch;return l!==r.memoizedState&&(dt.flags|=2048,ml(9,Ru(),EC.bind(null,m,l),null)),[c,v,n]}function EC(n,r){n.action=r}function A4(n){var r=Un(),l=Wt;if(l!==null)return E4(r,l,n);Un(),r=r.memoizedState,l=Un();var c=l.queue.dispatch;return l.memoizedState=n,[r,c,!1]}function ml(n,r,l,c){return n={tag:n,create:l,deps:c,inst:r,next:null},r=dt.updateQueue,r===null&&(r=Sd(),dt.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 Ru(){return{destroy:void 0,resource:void 0}}function w4(){return Un().memoizedState}function Iu(n,r,l,c){var m=Ia();c=c===void 0?null:c,dt.flags|=n,m.memoizedState=ml(1|r,Ru(),l,c)}function Fo(n,r,l,c){var m=Un();c=c===void 0?null:c;var v=m.memoizedState.inst;Wt!==null&&c!==null&&pd(c,Wt.memoizedState.deps)?m.memoizedState=ml(r,v,l,c):(dt.flags|=n,m.memoizedState=ml(1|r,v,l,c))}function x4(n,r){Iu(8390656,8,n,r)}function C4(n,r){Fo(2048,8,n,r)}function T4(n,r){return Fo(4,2,n,r)}function O4(n,r){return Fo(4,4,n,r)}function R4(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 I4(n,r,l){l=l!=null?l.concat([n]):null,Fo(4,4,R4.bind(null,r,n),l)}function Td(){}function M4(n,r){var l=Un();r=r===void 0?null:r;var c=l.memoizedState;return r!==null&&pd(r,c[1])?c[0]:(l.memoizedState=[n,r],n)}function N4(n,r){var l=Un();r=r===void 0?null:r;var c=l.memoizedState;if(r!==null&&pd(r,c[1]))return c[0];if(c=n(),Ts){tn(!0);try{n()}finally{tn(!1)}}return l.memoizedState=[c,r],c}function Od(n,r,l){return l===void 0||(qi&1073741824)!==0?n.memoizedState=r:(n.memoizedState=l,n=Lg(),dt.lanes|=n,Zi|=n,l)}function D4(n,r,l,c){return Pa(l,r)?l:fl.current!==null?(n=Od(n,l,c),Pa(n,r)||(Yn=!0),n):(qi&42)===0?(Yn=!0,n.memoizedState=l):(n=Lg(),dt.lanes|=n,Zi|=n,r)}function j4(n,r,l,c,m){var v=V.p;V.p=v!==0&&8>v?v:8;var C=I.T,_={};I.T=_,Md(n,!1,r,l);try{var W=m(),ae=I.S;if(ae!==null&&ae(_,W),W!==null&&typeof W=="object"&&typeof W.then=="function"){var ue=vC(W,c);Vo(n,r,ue,Ga(n))}else Vo(n,r,c,Ga(n))}catch(de){Vo(n,r,{then:function(){},status:"rejected",reason:de},Ga())}finally{V.p=v,I.T=C}}function AC(){}function Rd(n,r,l,c){if(n.tag!==5)throw Error(i(476));var m=L4(n).queue;j4(n,m,r,k,l===null?AC:function(){return k4(n),l(c)})}function L4(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:di,lastRenderedState:k},next:null};var l={};return r.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:l},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function k4(n){var r=L4(n).next.queue;Vo(n,r,{},Ga())}function Id(){return da(oc)}function _4(){return Un().memoizedState}function U4(){return Un().memoizedState}function wC(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var l=Ga();n=Ui(l);var c=zi(r,n,l);c!==null&&(Za(c,r,l),zo(c,r,l)),r={cache:id()},n.payload=r;return}r=r.return}}function xC(n,r,l){var c=Ga();l={lane:c,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Mu(n)?q4(r,l):(l=Qf(n,r,l,c),l!==null&&(Za(l,n,c),P4(l,r,c)))}function z4(n,r,l){var c=Ga();Vo(n,r,l,c)}function Vo(n,r,l,c){var m={lane:c,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Mu(n))q4(r,m);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=r.lastRenderedReducer,v!==null))try{var C=r.lastRenderedState,_=v(C,l);if(m.hasEagerState=!0,m.eagerState=_,Pa(_,C))return hu(n,r,m,0),an===null&&du(),!1}catch{}finally{}if(l=Qf(n,r,m,c),l!==null)return Za(l,n,c),P4(l,r,c),!0}return!1}function Md(n,r,l,c){if(c={lane:2,revertLane:o0(),action:c,hasEagerState:!1,eagerState:null,next:null},Mu(n)){if(r)throw Error(i(479))}else r=Qf(n,l,c,2),r!==null&&Za(r,n,2)}function Mu(n){var r=n.alternate;return n===dt||r!==null&&r===dt}function q4(n,r){dl=xu=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function P4(n,r,l){if((l&4194048)!==0){var c=r.lanes;c&=n.pendingLanes,l|=c,r.lanes=l,tt(n,l)}}var Nu={readContext:da,use:Tu,useCallback:In,useContext:In,useEffect:In,useImperativeHandle:In,useLayoutEffect:In,useInsertionEffect:In,useMemo:In,useReducer:In,useRef:In,useState:In,useDebugValue:In,useDeferredValue:In,useTransition:In,useSyncExternalStore:In,useId:In,useHostTransitionStatus:In,useFormState:In,useActionState:In,useOptimistic:In,useMemoCache:In,useCacheRefresh:In},H4={readContext:da,use:Tu,useCallback:function(n,r){return Ia().memoizedState=[n,r===void 0?null:r],n},useContext:da,useEffect:x4,useImperativeHandle:function(n,r,l){l=l!=null?l.concat([n]):null,Iu(4194308,4,R4.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Iu(4194308,4,n,r)},useInsertionEffect:function(n,r){Iu(4,2,n,r)},useMemo:function(n,r){var l=Ia();r=r===void 0?null:r;var c=n();if(Ts){tn(!0);try{n()}finally{tn(!1)}}return l.memoizedState=[c,r],c},useReducer:function(n,r,l){var c=Ia();if(l!==void 0){var m=l(r);if(Ts){tn(!0);try{l(r)}finally{tn(!1)}}}else m=r;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=xC.bind(null,dt,n),[c.memoizedState,n]},useRef:function(n){var r=Ia();return n={current:n},r.memoizedState=n},useState:function(n){n=xd(n);var r=n.queue,l=z4.bind(null,dt,r);return r.dispatch=l,[n.memoizedState,l]},useDebugValue:Td,useDeferredValue:function(n,r){var l=Ia();return Od(l,n,r)},useTransition:function(){var n=xd(!1);return n=j4.bind(null,dt,n.queue,!0,!1),Ia().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,l){var c=dt,m=Ia();if(Lt){if(l===void 0)throw Error(i(407));l=l()}else{if(l=r(),an===null)throw Error(i(349));(Rt&124)!==0||o4(c,r,l)}m.memoizedState=l;var v={value:l,getSnapshot:r};return m.queue=v,x4(u4.bind(null,c,v,n),[n]),c.flags|=2048,ml(9,Ru(),c4.bind(null,c,v,l,r),null),l},useId:function(){var n=Ia(),r=an.identifierPrefix;if(Lt){var l=ci,c=oi;l=(c&~(1<<32-Pt(c)-1)).toString(32)+l,r="«"+r+"R"+l,l=Cu++,0<l&&(r+="H"+l.toString(32)),r+="»"}else l=yC++,r="«"+r+"r"+l.toString(32)+"»";return n.memoizedState=r},useHostTransitionStatus:Id,useFormState:b4,useActionState:b4,useOptimistic:function(n){var r=Ia();r.memoizedState=r.baseState=n;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=l,r=Md.bind(null,dt,!0,l),l.dispatch=r,[n,r]},useMemoCache:Ed,useCacheRefresh:function(){return Ia().memoizedState=wC.bind(null,dt)}},B4={readContext:da,use:Tu,useCallback:M4,useContext:da,useEffect:C4,useImperativeHandle:I4,useInsertionEffect:T4,useLayoutEffect:O4,useMemo:N4,useReducer:Ou,useRef:w4,useState:function(){return Ou(di)},useDebugValue:Td,useDeferredValue:function(n,r){var l=Un();return D4(l,Wt.memoizedState,n,r)},useTransition:function(){var n=Ou(di)[0],r=Un().memoizedState;return[typeof n=="boolean"?n:Bo(n),r]},useSyncExternalStore:l4,useId:_4,useHostTransitionStatus:Id,useFormState:S4,useActionState:S4,useOptimistic:function(n,r){var l=Un();return h4(l,Wt,n,r)},useMemoCache:Ed,useCacheRefresh:U4},CC={readContext:da,use:Tu,useCallback:M4,useContext:da,useEffect:C4,useImperativeHandle:I4,useInsertionEffect:T4,useLayoutEffect:O4,useMemo:N4,useReducer:wd,useRef:w4,useState:function(){return wd(di)},useDebugValue:Td,useDeferredValue:function(n,r){var l=Un();return Wt===null?Od(l,n,r):D4(l,Wt.memoizedState,n,r)},useTransition:function(){var n=wd(di)[0],r=Un().memoizedState;return[typeof n=="boolean"?n:Bo(n),r]},useSyncExternalStore:l4,useId:_4,useHostTransitionStatus:Id,useFormState:A4,useActionState:A4,useOptimistic:function(n,r){var l=Un();return Wt!==null?h4(l,Wt,n,r):(l.baseState=n,[n,l.queue.dispatch])},useMemoCache:Ed,useCacheRefresh:U4},pl=null,Go=0;function Du(n){var r=Go;return Go+=1,pl===null&&(pl=[]),$5(pl,n,r)}function Zo(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function ju(n,r){throw r.$$typeof===b?Error(i(525)):(n=Object.prototype.toString.call(r),Error(i(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function F4(n){var r=n._init;return r(n._payload)}function V4(n){function r($,X){if(n){var te=$.deletions;te===null?($.deletions=[X],$.flags|=16):te.push(X)}}function l($,X){if(!n)return null;for(;X!==null;)r($,X),X=X.sibling;return null}function c($){for(var X=new Map;$!==null;)$.key!==null?X.set($.key,$):X.set($.index,$),$=$.sibling;return X}function m($,X){return $=li($,X),$.index=0,$.sibling=null,$}function v($,X,te){return $.index=te,n?(te=$.alternate,te!==null?(te=te.index,te<X?($.flags|=67108866,X):te):($.flags|=67108866,X)):($.flags|=1048576,X)}function C($){return n&&$.alternate===null&&($.flags|=67108866),$}function _($,X,te,fe){return X===null||X.tag!==6?(X=Jf(te,$.mode,fe),X.return=$,X):(X=m(X,te),X.return=$,X)}function W($,X,te,fe){var Me=te.type;return Me===T?ue($,X,te.props.children,fe,te.key):X!==null&&(X.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===E&&F4(Me)===X.type)?(X=m(X,te.props),Zo(X,te),X.return=$,X):(X=pu(te.type,te.key,te.props,null,$.mode,fe),Zo(X,te),X.return=$,X)}function ae($,X,te,fe){return X===null||X.tag!==4||X.stateNode.containerInfo!==te.containerInfo||X.stateNode.implementation!==te.implementation?(X=Xf(te,$.mode,fe),X.return=$,X):(X=m(X,te.children||[]),X.return=$,X)}function ue($,X,te,fe,Me){return X===null||X.tag!==7?(X=ys(te,$.mode,fe,Me),X.return=$,X):(X=m(X,te),X.return=$,X)}function de($,X,te){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return X=Jf(""+X,$.mode,te),X.return=$,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case A:return te=pu(X.type,X.key,X.props,null,$.mode,te),Zo(te,X),te.return=$,te;case w:return X=Xf(X,$.mode,te),X.return=$,X;case E:var fe=X._init;return X=fe(X._payload),de($,X,te)}if(P(X)||L(X))return X=ys(X,$.mode,te,null),X.return=$,X;if(typeof X.then=="function")return de($,Du(X),te);if(X.$$typeof===z)return de($,bu($,X),te);ju($,X)}return null}function ie($,X,te,fe){var Me=X!==null?X.key:null;if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return Me!==null?null:_($,X,""+te,fe);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case A:return te.key===Me?W($,X,te,fe):null;case w:return te.key===Me?ae($,X,te,fe):null;case E:return Me=te._init,te=Me(te._payload),ie($,X,te,fe)}if(P(te)||L(te))return Me!==null?null:ue($,X,te,fe,null);if(typeof te.then=="function")return ie($,X,Du(te),fe);if(te.$$typeof===z)return ie($,X,bu($,te),fe);ju($,te)}return null}function se($,X,te,fe,Me){if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return $=$.get(te)||null,_(X,$,""+fe,Me);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case A:return $=$.get(fe.key===null?te:fe.key)||null,W(X,$,fe,Me);case w:return $=$.get(fe.key===null?te:fe.key)||null,ae(X,$,fe,Me);case E:var pt=fe._init;return fe=pt(fe._payload),se($,X,te,fe,Me)}if(P(fe)||L(fe))return $=$.get(te)||null,ue(X,$,fe,Me,null);if(typeof fe.then=="function")return se($,X,te,Du(fe),Me);if(fe.$$typeof===z)return se($,X,te,bu(X,fe),Me);ju(X,fe)}return null}function Ye($,X,te,fe){for(var Me=null,pt=null,Le=X,Ge=X=0,Kn=null;Le!==null&&Ge<te.length;Ge++){Le.index>Ge?(Kn=Le,Le=null):Kn=Le.sibling;var Dt=ie($,Le,te[Ge],fe);if(Dt===null){Le===null&&(Le=Kn);break}n&&Le&&Dt.alternate===null&&r($,Le),X=v(Dt,X,Ge),pt===null?Me=Dt:pt.sibling=Dt,pt=Dt,Le=Kn}if(Ge===te.length)return l($,Le),Lt&&Ss($,Ge),Me;if(Le===null){for(;Ge<te.length;Ge++)Le=de($,te[Ge],fe),Le!==null&&(X=v(Le,X,Ge),pt===null?Me=Le:pt.sibling=Le,pt=Le);return Lt&&Ss($,Ge),Me}for(Le=c(Le);Ge<te.length;Ge++)Kn=se(Le,$,Ge,te[Ge],fe),Kn!==null&&(n&&Kn.alternate!==null&&Le.delete(Kn.key===null?Ge:Kn.key),X=v(Kn,X,Ge),pt===null?Me=Kn:pt.sibling=Kn,pt=Kn);return n&&Le.forEach(function(ts){return r($,ts)}),Lt&&Ss($,Ge),Me}function Be($,X,te,fe){if(te==null)throw Error(i(151));for(var Me=null,pt=null,Le=X,Ge=X=0,Kn=null,Dt=te.next();Le!==null&&!Dt.done;Ge++,Dt=te.next()){Le.index>Ge?(Kn=Le,Le=null):Kn=Le.sibling;var ts=ie($,Le,Dt.value,fe);if(ts===null){Le===null&&(Le=Kn);break}n&&Le&&ts.alternate===null&&r($,Le),X=v(ts,X,Ge),pt===null?Me=ts:pt.sibling=ts,pt=ts,Le=Kn}if(Dt.done)return l($,Le),Lt&&Ss($,Ge),Me;if(Le===null){for(;!Dt.done;Ge++,Dt=te.next())Dt=de($,Dt.value,fe),Dt!==null&&(X=v(Dt,X,Ge),pt===null?Me=Dt:pt.sibling=Dt,pt=Dt);return Lt&&Ss($,Ge),Me}for(Le=c(Le);!Dt.done;Ge++,Dt=te.next())Dt=se(Le,$,Ge,Dt.value,fe),Dt!==null&&(n&&Dt.alternate!==null&&Le.delete(Dt.key===null?Ge:Dt.key),X=v(Dt,X,Ge),pt===null?Me=Dt:pt.sibling=Dt,pt=Dt);return n&&Le.forEach(function(TT){return r($,TT)}),Lt&&Ss($,Ge),Me}function Qt($,X,te,fe){if(typeof te=="object"&&te!==null&&te.type===T&&te.key===null&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case A:e:{for(var Me=te.key;X!==null;){if(X.key===Me){if(Me=te.type,Me===T){if(X.tag===7){l($,X.sibling),fe=m(X,te.props.children),fe.return=$,$=fe;break e}}else if(X.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===E&&F4(Me)===X.type){l($,X.sibling),fe=m(X,te.props),Zo(fe,te),fe.return=$,$=fe;break e}l($,X);break}else r($,X);X=X.sibling}te.type===T?(fe=ys(te.props.children,$.mode,fe,te.key),fe.return=$,$=fe):(fe=pu(te.type,te.key,te.props,null,$.mode,fe),Zo(fe,te),fe.return=$,$=fe)}return C($);case w:e:{for(Me=te.key;X!==null;){if(X.key===Me)if(X.tag===4&&X.stateNode.containerInfo===te.containerInfo&&X.stateNode.implementation===te.implementation){l($,X.sibling),fe=m(X,te.children||[]),fe.return=$,$=fe;break e}else{l($,X);break}else r($,X);X=X.sibling}fe=Xf(te,$.mode,fe),fe.return=$,$=fe}return C($);case E:return Me=te._init,te=Me(te._payload),Qt($,X,te,fe)}if(P(te))return Ye($,X,te,fe);if(L(te)){if(Me=L(te),typeof Me!="function")throw Error(i(150));return te=Me.call(te),Be($,X,te,fe)}if(typeof te.then=="function")return Qt($,X,Du(te),fe);if(te.$$typeof===z)return Qt($,X,bu($,te),fe);ju($,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(te=""+te,X!==null&&X.tag===6?(l($,X.sibling),fe=m(X,te),fe.return=$,$=fe):(l($,X),fe=Jf(te,$.mode,fe),fe.return=$,$=fe),C($)):l($,X)}return function($,X,te,fe){try{Go=0;var Me=Qt($,X,te,fe);return pl=null,Me}catch(Le){if(Le===_o||Le===Eu)throw Le;var pt=Ha(29,Le,null,$.mode);return pt.lanes=fe,pt.return=$,pt}finally{}}}var gl=V4(!0),G4=V4(!1),ar=Y(null),Hr=null;function Pi(n){var r=n.alternate;le(Zn,Zn.current&1),le(ar,n),Hr===null&&(r===null||fl.current!==null||r.memoizedState!==null)&&(Hr=n)}function Z4(n){if(n.tag===22){if(le(Zn,Zn.current),le(ar,n),Hr===null){var r=n.alternate;r!==null&&r.memoizedState!==null&&(Hr=n)}}else Hi()}function Hi(){le(Zn,Zn.current),le(ar,ar.current)}function hi(n){re(ar),Hr===n&&(Hr=null),re(Zn)}var Zn=Y(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||l.data==="$?"||S0(l)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){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}function Nd(n,r,l,c){r=n.memoizedState,l=l(c,r),l=l==null?r:y({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var Dd={enqueueSetState:function(n,r,l){n=n._reactInternals;var c=Ga(),m=Ui(c);m.payload=r,l!=null&&(m.callback=l),r=zi(n,m,c),r!==null&&(Za(r,n,c),zo(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var c=Ga(),m=Ui(c);m.tag=1,m.payload=r,l!=null&&(m.callback=l),r=zi(n,m,c),r!==null&&(Za(r,n,c),zo(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Ga(),c=Ui(l);c.tag=2,r!=null&&(c.callback=r),r=zi(n,c,l),r!==null&&(Za(r,n,l),zo(r,n,l))}};function W4(n,r,l,c,m,v,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,v,C):r.prototype&&r.prototype.isPureReactComponent?!Ro(l,c)||!Ro(m,v):!0}function Y4(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&&Dd.enqueueReplaceState(r,r.state,null)}function Os(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=y({},l));for(var m in n)l[m]===void 0&&(l[m]=n[m])}return l}var ku=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)};function Q4(n){ku(n)}function K4(n){console.error(n)}function J4(n){ku(n)}function _u(n,r){try{var l=n.onUncaughtError;l(r.value,{componentStack:r.stack})}catch(c){setTimeout(function(){throw c})}}function X4(n,r,l){try{var c=n.onCaughtError;c(l.value,{componentStack:l.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function jd(n,r,l){return l=Ui(l),l.tag=3,l.payload={element:null},l.callback=function(){_u(n,r)},l}function $4(n){return n=Ui(n),n.tag=3,n}function eg(n,r,l,c){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var v=c.value;n.payload=function(){return m(v)},n.callback=function(){X4(r,l,c)}}var C=l.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){X4(r,l,c),typeof m!="function"&&(Wi===null?Wi=new Set([this]):Wi.add(this));var _=c.stack;this.componentDidCatch(c.value,{componentStack:_!==null?_:""})})}function TC(n,r,l,c,m){if(l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(r=l.alternate,r!==null&&jo(r,l,m,!0),l=ar.current,l!==null){switch(l.tag){case 13:return Hr===null?a0():l.alternate===null&&bn===0&&(bn=3),l.flags&=-257,l.flags|=65536,l.lanes=m,c===od?l.flags|=16384:(r=l.updateQueue,r===null?l.updateQueue=new Set([c]):r.add(c),i0(n,c,m)),!1;case 22:return l.flags|=65536,c===od?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)),i0(n,c,m)),!1}throw Error(i(435,l.tag))}return i0(n,c,m),a0(),!1}if(Lt)return r=ar.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=m,c!==td&&(n=Error(i(422),{cause:c}),Do($a(n,l)))):(c!==td&&(r=Error(i(423),{cause:c}),Do($a(r,l))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=$a(c,l),m=jd(n.stateNode,c,m),fd(n,m),bn!==4&&(bn=2)),!1;var v=Error(i(520),{cause:c});if(v=$a(v,l),$o===null?$o=[v]:$o.push(v),bn!==4&&(bn=2),r===null)return!0;c=$a(c,l),l=r;do{switch(l.tag){case 3:return l.flags|=65536,n=m&-m,l.lanes|=n,n=jd(l.stateNode,c,n),fd(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"&&(Wi===null||!Wi.has(v))))return l.flags|=65536,m&=-m,l.lanes|=m,m=$4(m),eg(m,n,l,c),fd(l,m),!1}l=l.return}while(l!==null);return!1}var tg=Error(i(461)),Yn=!1;function ra(n,r,l,c){r.child=n===null?G4(r,null,l,c):gl(r,n.child,l,c)}function ng(n,r,l,c,m){l=l.render;var v=r.ref;if("ref"in c){var C={};for(var _ in c)_!=="ref"&&(C[_]=c[_])}else C=c;return xs(r),c=gd(n,r,l,C,v,m),_=vd(),n!==null&&!Yn?(yd(n,r,m),mi(n,r,m)):(Lt&&_&&$f(r),r.flags|=1,ra(n,r,c,m),r.child)}function ag(n,r,l,c,m){if(n===null){var v=l.type;return typeof v=="function"&&!Kf(v)&&v.defaultProps===void 0&&l.compare===null?(r.tag=15,r.type=v,rg(n,r,v,c,m)):(n=pu(l.type,null,c,r,r.mode,m),n.ref=r.ref,n.return=r,r.child=n)}if(v=n.child,!Hd(n,m)){var C=v.memoizedProps;if(l=l.compare,l=l!==null?l:Ro,l(C,c)&&n.ref===r.ref)return mi(n,r,m)}return r.flags|=1,n=li(v,c),n.ref=r.ref,n.return=r,r.child=n}function rg(n,r,l,c,m){if(n!==null){var v=n.memoizedProps;if(Ro(v,c)&&n.ref===r.ref)if(Yn=!1,r.pendingProps=c=v,Hd(n,m))(n.flags&131072)!==0&&(Yn=!0);else return r.lanes=n.lanes,mi(n,r,m)}return Ld(n,r,l,c,m)}function ig(n,r,l){var c=r.pendingProps,m=c.children,v=n!==null?n.memoizedState:null;if(c.mode==="hidden"){if((r.flags&128)!==0){if(c=v!==null?v.baseLanes|l:l,n!==null){for(m=r.child=n.child,v=0;m!==null;)v=v|m.lanes|m.childLanes,m=m.sibling;r.childLanes=v&~c}else r.childLanes=0,r.child=null;return sg(n,r,c,l)}if((l&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&Su(r,v!==null?v.cachePool:null),v!==null?r4(r,v):hd(),Z4(r);else return r.lanes=r.childLanes=536870912,sg(n,r,v!==null?v.baseLanes|l:l,l)}else v!==null?(Su(r,v.cachePool),r4(r,v),Hi(),r.memoizedState=null):(n!==null&&Su(r,null),hd(),Hi());return ra(n,r,m,l),r.child}function sg(n,r,l,c){var m=ld();return m=m===null?null:{parent:Gn._currentValue,pool:m},r.memoizedState={baseLanes:l,cachePool:m},n!==null&&Su(r,null),hd(),Z4(r),n!==null&&jo(n,r,c,!0),null}function Uu(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 Ld(n,r,l,c,m){return xs(r),l=gd(n,r,l,c,void 0,m),c=vd(),n!==null&&!Yn?(yd(n,r,m),mi(n,r,m)):(Lt&&c&&$f(r),r.flags|=1,ra(n,r,l,m),r.child)}function lg(n,r,l,c,m,v){return xs(r),r.updateQueue=null,l=s4(r,c,l,m),i4(n),c=vd(),n!==null&&!Yn?(yd(n,r,v),mi(n,r,v)):(Lt&&c&&$f(r),r.flags|=1,ra(n,r,l,v),r.child)}function og(n,r,l,c,m){if(xs(r),r.stateNode===null){var v=sl,C=l.contextType;typeof C=="object"&&C!==null&&(v=da(C)),v=new l(c,v),r.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Dd,r.stateNode=v,v._reactInternals=r,v=r.stateNode,v.props=c,v.state=r.memoizedState,v.refs={},cd(r),C=l.contextType,v.context=typeof C=="object"&&C!==null?da(C):sl,v.state=r.memoizedState,C=l.getDerivedStateFromProps,typeof C=="function"&&(Nd(r,l,C,c),v.state=r.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Dd.enqueueReplaceState(v,v.state,null),Po(r,c,v,m),qo(),v.state=r.memoizedState),typeof v.componentDidMount=="function"&&(r.flags|=4194308),c=!0}else if(n===null){v=r.stateNode;var _=r.memoizedProps,W=Os(l,_);v.props=W;var ae=v.context,ue=l.contextType;C=sl,typeof ue=="object"&&ue!==null&&(C=da(ue));var de=l.getDerivedStateFromProps;ue=typeof de=="function"||typeof v.getSnapshotBeforeUpdate=="function",_=r.pendingProps!==_,ue||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_||ae!==C)&&Y4(r,v,c,C),_i=!1;var ie=r.memoizedState;v.state=ie,Po(r,c,v,m),qo(),ae=r.memoizedState,_||ie!==ae||_i?(typeof de=="function"&&(Nd(r,l,de,c),ae=r.memoizedState),(W=_i||W4(r,l,W,c,ie,ae,C))?(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=ae),v.props=c,v.state=ae,v.context=C,c=W):(typeof v.componentDidMount=="function"&&(r.flags|=4194308),c=!1)}else{v=r.stateNode,ud(n,r),C=r.memoizedProps,ue=Os(l,C),v.props=ue,de=r.pendingProps,ie=v.context,ae=l.contextType,W=sl,typeof ae=="object"&&ae!==null&&(W=da(ae)),_=l.getDerivedStateFromProps,(ae=typeof _=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==de||ie!==W)&&Y4(r,v,c,W),_i=!1,ie=r.memoizedState,v.state=ie,Po(r,c,v,m),qo();var se=r.memoizedState;C!==de||ie!==se||_i||n!==null&&n.dependencies!==null&&yu(n.dependencies)?(typeof _=="function"&&(Nd(r,l,_,c),se=r.memoizedState),(ue=_i||W4(r,l,ue,c,ie,se,W)||n!==null&&n.dependencies!==null&&yu(n.dependencies))?(ae||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(c,se,W),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(c,se,W)),typeof v.componentDidUpdate=="function"&&(r.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),r.memoizedProps=c,r.memoizedState=se),v.props=c,v.state=se,v.context=W,c=ue):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),c=!1)}return v=c,Uu(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=gl(r,n.child,null,m),r.child=gl(r,null,l,m)):ra(n,r,l,m),r.memoizedState=v.state,n=r.child):n=mi(n,r,m),n}function cg(n,r,l,c){return No(),r.flags|=256,ra(n,r,l,c),r.child}var kd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _d(n){return{baseLanes:n,cachePool:K5()}}function Ud(n,r,l){return n=n!==null?n.childLanes&~l:0,r&&(n|=rr),n}function ug(n,r,l){var c=r.pendingProps,m=!1,v=(r.flags&128)!==0,C;if((C=v)||(C=n!==null&&n.memoizedState===null?!1:(Zn.current&2)!==0),C&&(m=!0,r.flags&=-129),C=(r.flags&32)!==0,r.flags&=-33,n===null){if(Lt){if(m?Pi(r):Hi(),Lt){var _=yn,W;if(W=_){e:{for(W=_,_=Pr;W.nodeType!==8;){if(!_){_=null;break e}if(W=Er(W.nextSibling),W===null){_=null;break e}}_=W}_!==null?(r.memoizedState={dehydrated:_,treeContext:bs!==null?{id:oi,overflow:ci}:null,retryLane:536870912,hydrationErrors:null},W=Ha(18,null,null,0),W.stateNode=_,W.return=r,r.child=W,Sa=r,yn=null,W=!0):W=!1}W||As(r)}if(_=r.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return S0(_)?r.lanes=32:r.lanes=536870912,null;hi(r)}return _=c.children,c=c.fallback,m?(Hi(),m=r.mode,_=zu({mode:"hidden",children:_},m),c=ys(c,m,l,null),_.return=r,c.return=r,_.sibling=c,r.child=_,m=r.child,m.memoizedState=_d(l),m.childLanes=Ud(n,C,l),r.memoizedState=kd,c):(Pi(r),zd(r,_))}if(W=n.memoizedState,W!==null&&(_=W.dehydrated,_!==null)){if(v)r.flags&256?(Pi(r),r.flags&=-257,r=qd(n,r,l)):r.memoizedState!==null?(Hi(),r.child=n.child,r.flags|=128,r=null):(Hi(),m=c.fallback,_=r.mode,c=zu({mode:"visible",children:c.children},_),m=ys(m,_,l,null),m.flags|=2,c.return=r,m.return=r,c.sibling=m,r.child=c,gl(r,n.child,null,l),c=r.child,c.memoizedState=_d(l),c.childLanes=Ud(n,C,l),r.memoizedState=kd,r=m);else if(Pi(r),S0(_)){if(C=_.nextSibling&&_.nextSibling.dataset,C)var ae=C.dgst;C=ae,c=Error(i(419)),c.stack="",c.digest=C,Do({value:c,source:null,stack:null}),r=qd(n,r,l)}else if(Yn||jo(n,r,l,!1),C=(l&n.childLanes)!==0,Yn||C){if(C=an,C!==null&&(c=l&-l,c=(c&42)!==0?1:Jt(c),c=(c&(C.suspendedLanes|l))!==0?0:c,c!==0&&c!==W.retryLane))throw W.retryLane=c,il(n,c),Za(C,n,c),tg;_.data==="$?"||a0(),r=qd(n,r,l)}else _.data==="$?"?(r.flags|=192,r.child=n.child,r=null):(n=W.treeContext,yn=Er(_.nextSibling),Sa=r,Lt=!0,Es=null,Pr=!1,n!==null&&(tr[nr++]=oi,tr[nr++]=ci,tr[nr++]=bs,oi=n.id,ci=n.overflow,bs=r),r=zd(r,c.children),r.flags|=4096);return r}return m?(Hi(),m=c.fallback,_=r.mode,W=n.child,ae=W.sibling,c=li(W,{mode:"hidden",children:c.children}),c.subtreeFlags=W.subtreeFlags&65011712,ae!==null?m=li(ae,m):(m=ys(m,_,l,null),m.flags|=2),m.return=r,c.return=r,c.sibling=m,r.child=c,c=m,m=r.child,_=n.child.memoizedState,_===null?_=_d(l):(W=_.cachePool,W!==null?(ae=Gn._currentValue,W=W.parent!==ae?{parent:ae,pool:ae}:W):W=K5(),_={baseLanes:_.baseLanes|l,cachePool:W}),m.memoizedState=_,m.childLanes=Ud(n,C,l),r.memoizedState=kd,c):(Pi(r),l=n.child,n=l.sibling,l=li(l,{mode:"visible",children:c.children}),l.return=r,l.sibling=null,n!==null&&(C=r.deletions,C===null?(r.deletions=[n],r.flags|=16):C.push(n)),r.child=l,r.memoizedState=null,l)}function zd(n,r){return r=zu({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function zu(n,r){return n=Ha(22,n,null,r),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function qd(n,r,l){return gl(r,n.child,null,l),n=zd(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function fg(n,r,l){n.lanes|=r;var c=n.alternate;c!==null&&(c.lanes|=r),ad(n.return,r,l)}function Pd(n,r,l,c,m){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:m}:(v.isBackwards=r,v.rendering=null,v.renderingStartTime=0,v.last=c,v.tail=l,v.tailMode=m)}function dg(n,r,l){var c=r.pendingProps,m=c.revealOrder,v=c.tail;if(ra(n,r,c.children,l),c=Zn.current,(c&2)!==0)c=c&1|2,r.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&fg(n,l,r);else if(n.tag===19)fg(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}c&=1}switch(le(Zn,c),m){case"forwards":for(l=r.child,m=null;l!==null;)n=l.alternate,n!==null&&Lu(n)===null&&(m=l),l=l.sibling;l=m,l===null?(m=r.child,r.child=null):(m=l.sibling,l.sibling=null),Pd(r,!1,m,l,v);break;case"backwards":for(l=null,m=r.child,r.child=null;m!==null;){if(n=m.alternate,n!==null&&Lu(n)===null){r.child=m;break}n=m.sibling,m.sibling=l,l=m,m=n}Pd(r,!0,l,null,v);break;case"together":Pd(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function mi(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),Zi|=r.lanes,(l&r.childLanes)===0)if(n!==null){if(jo(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=li(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=li(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Hd(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&yu(n)))}function OC(n,r,l){switch(r.tag){case 3:ke(r,r.stateNode.containerInfo),ki(r,Gn,n.memoizedState.cache),No();break;case 27:case 5:en(r);break;case 4:ke(r,r.stateNode.containerInfo);break;case 10:ki(r,r.type,r.memoizedProps.value);break;case 13:var c=r.memoizedState;if(c!==null)return c.dehydrated!==null?(Pi(r),r.flags|=128,null):(l&r.child.childLanes)!==0?ug(n,r,l):(Pi(r),n=mi(n,r,l),n!==null?n.sibling:null);Pi(r);break;case 19:var m=(n.flags&128)!==0;if(c=(l&r.childLanes)!==0,c||(jo(n,r,l,!1),c=(l&r.childLanes)!==0),m){if(c)return dg(n,r,l);r.flags|=128}if(m=r.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),le(Zn,Zn.current),c)break;return null;case 22:case 23:return r.lanes=0,ig(n,r,l);case 24:ki(r,Gn,n.memoizedState.cache)}return mi(n,r,l)}function hg(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps)Yn=!0;else{if(!Hd(n,l)&&(r.flags&128)===0)return Yn=!1,OC(n,r,l);Yn=(n.flags&131072)!==0}else Yn=!1,Lt&&(r.flags&1048576)!==0&&F5(r,vu,r.index);switch(r.lanes=0,r.tag){case 16:e:{n=r.pendingProps;var c=r.elementType,m=c._init;if(c=m(c._payload),r.type=c,typeof c=="function")Kf(c)?(n=Os(c,n),r.tag=1,r=og(null,r,c,n,l)):(r.tag=0,r=Ld(null,r,c,n,l));else{if(c!=null){if(m=c.$$typeof,m===G){r.tag=11,r=ng(null,r,c,n,l);break e}else if(m===Z){r.tag=14,r=ag(null,r,c,n,l);break e}}throw r=F(c)||c,Error(i(306,r,""))}}return r;case 0:return Ld(n,r,r.type,r.pendingProps,l);case 1:return c=r.type,m=Os(c,r.pendingProps),og(n,r,c,m,l);case 3:e:{if(ke(r,r.stateNode.containerInfo),n===null)throw Error(i(387));c=r.pendingProps;var v=r.memoizedState;m=v.element,ud(n,r),Po(r,c,null,l);var C=r.memoizedState;if(c=C.cache,ki(r,Gn,c),c!==v.cache&&rd(r,[Gn],l,!0),qo(),c=C.element,v.isDehydrated)if(v={element:c,isDehydrated:!1,cache:C.cache},r.updateQueue.baseState=v,r.memoizedState=v,r.flags&256){r=cg(n,r,c,l);break e}else if(c!==m){m=$a(Error(i(424)),r),Do(m),r=cg(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(yn=Er(n.firstChild),Sa=r,Lt=!0,Es=null,Pr=!0,l=G4(r,null,c,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(No(),c===m){r=mi(n,r,l);break e}ra(n,r,c,l)}r=r.child}return r;case 26:return Uu(n,r),n===null?(l=v8(r.type,null,r.pendingProps,null))?r.memoizedState=l:Lt||(l=r.type,n=r.pendingProps,c=Xu(pe.current).createElement(l),c[ye]=r,c[xe]=n,sa(c,l,n),jt(c),r.stateNode=c):r.memoizedState=v8(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return en(r),n===null&&Lt&&(c=r.stateNode=m8(r.type,r.pendingProps,pe.current),Sa=r,Pr=!0,m=yn,Ki(r.type)?(E0=m,yn=Er(c.firstChild)):yn=m),ra(n,r,r.pendingProps.children,l),Uu(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&Lt&&((m=c=yn)&&(c=tT(c,r.type,r.pendingProps,Pr),c!==null?(r.stateNode=c,Sa=r,yn=Er(c.firstChild),Pr=!1,m=!0):m=!1),m||As(r)),en(r),m=r.type,v=r.pendingProps,C=n!==null?n.memoizedProps:null,c=v.children,v0(m,v)?c=null:C!==null&&v0(m,C)&&(r.flags|=32),r.memoizedState!==null&&(m=gd(n,r,bC,null,null,l),oc._currentValue=m),Uu(n,r),ra(n,r,c,l),r.child;case 6:return n===null&&Lt&&((n=l=yn)&&(l=nT(l,r.pendingProps,Pr),l!==null?(r.stateNode=l,Sa=r,yn=null,n=!0):n=!1),n||As(r)),null;case 13:return ug(n,r,l);case 4:return ke(r,r.stateNode.containerInfo),c=r.pendingProps,n===null?r.child=gl(r,null,c,l):ra(n,r,c,l),r.child;case 11:return ng(n,r,r.type,r.pendingProps,l);case 7:return ra(n,r,r.pendingProps,l),r.child;case 8:return ra(n,r,r.pendingProps.children,l),r.child;case 12:return ra(n,r,r.pendingProps.children,l),r.child;case 10:return c=r.pendingProps,ki(r,r.type,c.value),ra(n,r,c.children,l),r.child;case 9:return m=r.type._context,c=r.pendingProps.children,xs(r),m=da(m),c=c(m),r.flags|=1,ra(n,r,c,l),r.child;case 14:return ag(n,r,r.type,r.pendingProps,l);case 15:return rg(n,r,r.type,r.pendingProps,l);case 19:return dg(n,r,l);case 31:return c=r.pendingProps,l=r.mode,c={mode:c.mode,children:c.children},n===null?(l=zu(c,l),l.ref=r.ref,r.child=l,l.return=r,r=l):(l=li(n.child,c),l.ref=r.ref,r.child=l,l.return=r,r=l),r;case 22:return ig(n,r,l);case 24:return xs(r),c=da(Gn),n===null?(m=ld(),m===null&&(m=an,v=id(),m.pooledCache=v,v.refCount++,v!==null&&(m.pooledCacheLanes|=l),m=v),r.memoizedState={parent:c,cache:m},cd(r),ki(r,Gn,m)):((n.lanes&l)!==0&&(ud(n,r),Po(r,null,null,l),qo()),m=n.memoizedState,v=r.memoizedState,m.parent!==c?(m={parent:c,cache:c},r.memoizedState=m,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=m),ki(r,Gn,c)):(c=v.cache,ki(r,Gn,c),c!==m.cache&&rd(r,[Gn],l,!0))),ra(n,r,r.pendingProps.children,l),r.child;case 29:throw r.pendingProps}throw Error(i(156,r.tag))}function pi(n){n.flags|=4}function mg(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!A8(r)){if(r=ar.current,r!==null&&((Rt&4194048)===Rt?Hr!==null:(Rt&62914560)!==Rt&&(Rt&536870912)===0||r!==Hr))throw Uo=od,J5;n.flags|=8192}}function qu(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Bn():536870912,n.lanes|=r,Sl|=r)}function Wo(n,r){if(!Lt)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 mn(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,c=0;if(r)for(var m=n.child;m!==null;)l|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)l|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=l,r}function RC(n,r,l){var c=r.pendingProps;switch(ed(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mn(r),null;case 1:return mn(r),null;case 3:return l=r.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),r.memoizedState.cache!==c&&(r.flags|=2048),fi(Gn),Pe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(Mo(r)?pi(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Z5())),mn(r),null;case 26:return l=r.memoizedState,n===null?(pi(r),l!==null?(mn(r),mg(r,l)):(mn(r),r.flags&=-16777217)):l?l!==n.memoizedState?(pi(r),mn(r),mg(r,l)):(mn(r),r.flags&=-16777217):(n.memoizedProps!==c&&pi(r),mn(r),r.flags&=-16777217),null;case 27:ct(r),l=pe.current;var m=r.type;if(n!==null&&r.stateNode!=null)n.memoizedProps!==c&&pi(r);else{if(!c){if(r.stateNode===null)throw Error(i(166));return mn(r),null}n=ge.current,Mo(r)?V5(r):(n=m8(m,c,l),r.stateNode=n,pi(r))}return mn(r),null;case 5:if(ct(r),l=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==c&&pi(r);else{if(!c){if(r.stateNode===null)throw Error(i(166));return mn(r),null}if(n=ge.current,Mo(r))V5(r);else{switch(m=Xu(pe.current),n){case 1:n=m.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:n=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":n=m.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":n=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":n=m.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?n.multiple=!0:c.size&&(n.size=c.size);break;default:n=typeof c.is=="string"?m.createElement(l,{is:c.is}):m.createElement(l)}}n[ye]=r,n[xe]=c;e:for(m=r.child;m!==null;){if(m.tag===5||m.tag===6)n.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===r)break e;for(;m.sibling===null;){if(m.return===null||m.return===r)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}r.stateNode=n;e:switch(sa(n,l,c),l){case"button":case"input":case"select":case"textarea":n=!!c.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&pi(r)}}return mn(r),r.flags&=-16777217,null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==c&&pi(r);else{if(typeof c!="string"&&r.stateNode===null)throw Error(i(166));if(n=pe.current,Mo(r)){if(n=r.stateNode,l=r.memoizedProps,c=null,m=Sa,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[ye]=r,n=!!(n.nodeValue===l||c!==null&&c.suppressHydrationWarning===!0||l8(n.nodeValue,l)),n||As(r)}else n=Xu(n).createTextNode(c),n[ye]=r,r.stateNode=n}return mn(r),null;case 13:if(c=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Mo(r),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(i(318));if(m=r.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[ye]=r}else No(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;mn(r),m=!1}else m=Z5(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return r.flags&256?(hi(r),r):(hi(r),null)}if(hi(r),(r.flags&128)!==0)return r.lanes=l,r;if(l=c!==null,n=n!==null&&n.memoizedState!==null,l){c=r.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool);var v=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(v=c.memoizedState.cachePool.pool),v!==m&&(c.flags|=2048)}return l!==n&&l&&(r.child.flags|=8192),qu(r,r.updateQueue),mn(r),null;case 4:return Pe(),n===null&&d0(r.stateNode.containerInfo),mn(r),null;case 10:return fi(r.type),mn(r),null;case 19:if(re(Zn),m=r.memoizedState,m===null)return mn(r),null;if(c=(r.flags&128)!==0,v=m.rendering,v===null)if(c)Wo(m,!1);else{if(bn!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(v=Lu(n),v!==null){for(r.flags|=128,Wo(m,!1),n=v.updateQueue,r.updateQueue=n,qu(r,n),r.subtreeFlags=0,n=l,l=r.child;l!==null;)B5(l,n),l=l.sibling;return le(Zn,Zn.current&1|2),r.child}n=n.sibling}m.tail!==null&&ht()>Bu&&(r.flags|=128,c=!0,Wo(m,!1),r.lanes=4194304)}else{if(!c)if(n=Lu(v),n!==null){if(r.flags|=128,c=!0,n=n.updateQueue,r.updateQueue=n,qu(r,n),Wo(m,!0),m.tail===null&&m.tailMode==="hidden"&&!v.alternate&&!Lt)return mn(r),null}else 2*ht()-m.renderingStartTime>Bu&&l!==536870912&&(r.flags|=128,c=!0,Wo(m,!1),r.lanes=4194304);m.isBackwards?(v.sibling=r.child,r.child=v):(n=m.last,n!==null?n.sibling=v:r.child=v,m.last=v)}return m.tail!==null?(r=m.tail,m.rendering=r,m.tail=r.sibling,m.renderingStartTime=ht(),r.sibling=null,n=Zn.current,le(Zn,c?n&1|2:n&1),r):(mn(r),null);case 22:case 23:return hi(r),md(),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&&(mn(r),r.subtreeFlags&6&&(r.flags|=8192)):mn(r),l=r.updateQueue,l!==null&&qu(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&&re(Cs),null;case 24:return l=null,n!==null&&(l=n.memoizedState.cache),r.memoizedState.cache!==l&&(r.flags|=2048),fi(Gn),mn(r),null;case 25:return null;case 30:return null}throw Error(i(156,r.tag))}function IC(n,r){switch(ed(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return fi(Gn),Pe(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return ct(r),null;case 13:if(hi(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(i(340));No()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return re(Zn),null;case 4:return Pe(),null;case 10:return fi(r.type),null;case 22:case 23:return hi(r),md(),n!==null&&re(Cs),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return fi(Gn),null;case 25:return null;default:return null}}function pg(n,r){switch(ed(r),r.tag){case 3:fi(Gn),Pe();break;case 26:case 27:case 5:ct(r);break;case 4:Pe();break;case 13:hi(r);break;case 19:re(Zn);break;case 10:fi(r.type);break;case 22:case 23:hi(r),md(),n!==null&&re(Cs);break;case 24:fi(Gn)}}function Yo(n,r){try{var l=r.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var m=c.next;l=m;do{if((l.tag&n)===n){c=void 0;var v=l.create,C=l.inst;c=v(),C.destroy=c}l=l.next}while(l!==m)}}catch(_){Xt(r,r.return,_)}}function Bi(n,r,l){try{var c=r.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var v=m.next;c=v;do{if((c.tag&n)===n){var C=c.inst,_=C.destroy;if(_!==void 0){C.destroy=void 0,m=r;var W=l,ae=_;try{ae()}catch(ue){Xt(m,W,ue)}}}c=c.next}while(c!==v)}}catch(ue){Xt(r,r.return,ue)}}function gg(n){var r=n.updateQueue;if(r!==null){var l=n.stateNode;try{a4(r,l)}catch(c){Xt(n,n.return,c)}}}function vg(n,r,l){l.props=Os(n.type,n.memoizedProps),l.state=n.memoizedState;try{l.componentWillUnmount()}catch(c){Xt(n,r,c)}}function Qo(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(m){Xt(n,r,m)}}function Br(n,r){var l=n.ref,c=n.refCleanup;if(l!==null)if(typeof c=="function")try{c()}catch(m){Xt(n,r,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){Xt(n,r,m)}else l.current=null}function yg(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(m){Xt(n,n.return,m)}}function Bd(n,r,l){try{var c=n.stateNode;KC(c,n.type,l,r),c[xe]=r}catch(m){Xt(n,n.return,m)}}function bg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ki(n.type)||n.tag===4}function Fd(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&&Ki(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 Vd(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=Ju));else if(c!==4&&(c===27&&Ki(n.type)&&(l=n.stateNode,r=null),n=n.child,n!==null))for(Vd(n,r,l),n=n.sibling;n!==null;)Vd(n,r,l),n=n.sibling}function Pu(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&&Ki(n.type)&&(l=n.stateNode),n=n.child,n!==null))for(Pu(n,r,l),n=n.sibling;n!==null;)Pu(n,r,l),n=n.sibling}function Sg(n){var r=n.stateNode,l=n.memoizedProps;try{for(var c=n.type,m=r.attributes;m.length;)r.removeAttributeNode(m[0]);sa(r,c,l),r[ye]=n,r[xe]=l}catch(v){Xt(n,n.return,v)}}var gi=!1,Mn=!1,Gd=!1,Eg=typeof WeakSet=="function"?WeakSet:Set,Qn=null;function MC(n,r){if(n=n.containerInfo,p0=r1,n=D5(n),Ff(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 m=c.anchorOffset,v=c.focusNode;c=c.focusOffset;try{l.nodeType,v.nodeType}catch{l=null;break e}var C=0,_=-1,W=-1,ae=0,ue=0,de=n,ie=null;t:for(;;){for(var se;de!==l||m!==0&&de.nodeType!==3||(_=C+m),de!==v||c!==0&&de.nodeType!==3||(W=C+c),de.nodeType===3&&(C+=de.nodeValue.length),(se=de.firstChild)!==null;)ie=de,de=se;for(;;){if(de===n)break t;if(ie===l&&++ae===m&&(_=C),ie===v&&++ue===c&&(W=C),(se=de.nextSibling)!==null)break;de=ie,ie=de.parentNode}de=se}l=_===-1||W===-1?null:{start:_,end:W}}else l=null}l=l||{start:0,end:0}}else l=null;for(g0={focusedElem:n,selectionRange:l},r1=!1,Qn=r;Qn!==null;)if(r=Qn,n=r.child,(r.subtreeFlags&1024)!==0&&n!==null)n.return=r,Qn=n;else for(;Qn!==null;){switch(r=Qn,v=r.alternate,n=r.flags,r.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,l=r,m=v.memoizedProps,v=v.memoizedState,c=l.stateNode;try{var Ye=Os(l.type,m,l.elementType===l.type);n=c.getSnapshotBeforeUpdate(Ye,v),c.__reactInternalSnapshotBeforeUpdate=n}catch(Be){Xt(l,l.return,Be)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,l=n.nodeType,l===9)b0(n);else if(l===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":b0(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,Qn=n;break}Qn=r.return}}function Ag(n,r,l){var c=l.flags;switch(l.tag){case 0:case 11:case 15:Fi(n,l),c&4&&Yo(5,l);break;case 1:if(Fi(n,l),c&4)if(n=l.stateNode,r===null)try{n.componentDidMount()}catch(C){Xt(l,l.return,C)}else{var m=Os(l.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(m,r,n.__reactInternalSnapshotBeforeUpdate)}catch(C){Xt(l,l.return,C)}}c&64&&gg(l),c&512&&Qo(l,l.return);break;case 3:if(Fi(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{a4(n,r)}catch(C){Xt(l,l.return,C)}}break;case 27:r===null&&c&4&&Sg(l);case 26:case 5:Fi(n,l),r===null&&c&4&&yg(l),c&512&&Qo(l,l.return);break;case 12:Fi(n,l);break;case 13:Fi(n,l),c&4&&Cg(n,l),c&64&&(n=l.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(l=qC.bind(null,l),aT(n,l))));break;case 22:if(c=l.memoizedState!==null||gi,!c){r=r!==null&&r.memoizedState!==null||Mn,m=gi;var v=Mn;gi=c,(Mn=r)&&!v?Vi(n,l,(l.subtreeFlags&8772)!==0):Fi(n,l),gi=m,Mn=v}break;case 30:break;default:Fi(n,l)}}function wg(n){var r=n.alternate;r!==null&&(n.alternate=null,wg(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&Ke(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 un=null,Ma=!1;function vi(n,r,l){for(l=l.child;l!==null;)xg(n,r,l),l=l.sibling}function xg(n,r,l){if(st&&typeof st.onCommitFiberUnmount=="function")try{st.onCommitFiberUnmount(Xe,l)}catch{}switch(l.tag){case 26:Mn||Br(l,r),vi(n,r,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Mn||Br(l,r);var c=un,m=Ma;Ki(l.type)&&(un=l.stateNode,Ma=!1),vi(n,r,l),rc(l.stateNode),un=c,Ma=m;break;case 5:Mn||Br(l,r);case 6:if(c=un,m=Ma,un=null,vi(n,r,l),un=c,Ma=m,un!==null)if(Ma)try{(un.nodeType===9?un.body:un.nodeName==="HTML"?un.ownerDocument.body:un).removeChild(l.stateNode)}catch(v){Xt(l,r,v)}else try{un.removeChild(l.stateNode)}catch(v){Xt(l,r,v)}break;case 18:un!==null&&(Ma?(n=un,d8(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,l.stateNode),dc(n)):d8(un,l.stateNode));break;case 4:c=un,m=Ma,un=l.stateNode.containerInfo,Ma=!0,vi(n,r,l),un=c,Ma=m;break;case 0:case 11:case 14:case 15:Mn||Bi(2,l,r),Mn||Bi(4,l,r),vi(n,r,l);break;case 1:Mn||(Br(l,r),c=l.stateNode,typeof c.componentWillUnmount=="function"&&vg(l,r,c)),vi(n,r,l);break;case 21:vi(n,r,l);break;case 22:Mn=(c=Mn)||l.memoizedState!==null,vi(n,r,l),Mn=c;break;default:vi(n,r,l)}}function Cg(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{dc(n)}catch(l){Xt(r,r.return,l)}}function NC(n){switch(n.tag){case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new Eg),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new Eg),r;default:throw Error(i(435,n.tag))}}function Zd(n,r){var l=NC(n);r.forEach(function(c){var m=PC.bind(null,n,c);l.has(c)||(l.add(c),c.then(m,m))})}function Ba(n,r){var l=r.deletions;if(l!==null)for(var c=0;c<l.length;c++){var m=l[c],v=n,C=r,_=C;e:for(;_!==null;){switch(_.tag){case 27:if(Ki(_.type)){un=_.stateNode,Ma=!1;break e}break;case 5:un=_.stateNode,Ma=!1;break e;case 3:case 4:un=_.stateNode.containerInfo,Ma=!0;break e}_=_.return}if(un===null)throw Error(i(160));xg(v,C,m),un=null,Ma=!1,v=m.alternate,v!==null&&(v.return=null),m.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)Tg(r,n),r=r.sibling}var Sr=null;function Tg(n,r){var l=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Ba(r,n),Fa(n),c&4&&(Bi(3,n,n.return),Yo(3,n),Bi(5,n,n.return));break;case 1:Ba(r,n),Fa(n),c&512&&(Mn||l===null||Br(l,l.return)),c&64&&gi&&(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 m=Sr;if(Ba(r,n),Fa(n),c&512&&(Mn||l===null||Br(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,m=m.ownerDocument||m;t:switch(c){case"title":v=m.getElementsByTagName("title")[0],(!v||v[Vt]||v[ye]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=m.createElement(c),m.head.insertBefore(v,m.querySelector("head > title"))),sa(v,c,l),v[ye]=n,jt(v),c=v;break e;case"link":var C=S8("link","href",m).get(c+(l.href||""));if(C){for(var _=0;_<C.length;_++)if(v=C[_],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)){C.splice(_,1);break t}}v=m.createElement(c),sa(v,c,l),m.head.appendChild(v);break;case"meta":if(C=S8("meta","content",m).get(c+(l.content||""))){for(_=0;_<C.length;_++)if(v=C[_],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)){C.splice(_,1);break t}}v=m.createElement(c),sa(v,c,l),m.head.appendChild(v);break;default:throw Error(i(468,c))}v[ye]=n,jt(v),c=v}n.stateNode=c}else E8(m,n.type,n.stateNode);else n.stateNode=b8(m,c,n.memoizedProps);else v!==c?(v===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):v.count--,c===null?E8(m,n.type,n.stateNode):b8(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&Bd(n,n.memoizedProps,l.memoizedProps)}break;case 27:Ba(r,n),Fa(n),c&512&&(Mn||l===null||Br(l,l.return)),l!==null&&c&4&&Bd(n,n.memoizedProps,l.memoizedProps);break;case 5:if(Ba(r,n),Fa(n),c&512&&(Mn||l===null||Br(l,l.return)),n.flags&32){m=n.stateNode;try{gr(m,"")}catch(se){Xt(n,n.return,se)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,Bd(n,m,l!==null?l.memoizedProps:m)),c&1024&&(Gd=!0);break;case 6:if(Ba(r,n),Fa(n),c&4){if(n.stateNode===null)throw Error(i(162));c=n.memoizedProps,l=n.stateNode;try{l.nodeValue=c}catch(se){Xt(n,n.return,se)}}break;case 3:if(t1=null,m=Sr,Sr=$u(r.containerInfo),Ba(r,n),Sr=m,Fa(n),c&4&&l!==null&&l.memoizedState.isDehydrated)try{dc(r.containerInfo)}catch(se){Xt(n,n.return,se)}Gd&&(Gd=!1,Og(n));break;case 4:c=Sr,Sr=$u(n.stateNode.containerInfo),Ba(r,n),Fa(n),Sr=c;break;case 12:Ba(r,n),Fa(n);break;case 13:Ba(r,n),Fa(n),n.child.flags&8192&&n.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Xd=ht()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Zd(n,c)));break;case 22:m=n.memoizedState!==null;var W=l!==null&&l.memoizedState!==null,ae=gi,ue=Mn;if(gi=ae||m,Mn=ue||W,Ba(r,n),Mn=ue,gi=ae,Fa(n),c&8192)e:for(r=n.stateNode,r._visibility=m?r._visibility&-2:r._visibility|1,m&&(l===null||W||gi||Mn||Rs(n)),l=null,r=n;;){if(r.tag===5||r.tag===26){if(l===null){W=l=r;try{if(v=W.stateNode,m)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{_=W.stateNode;var de=W.memoizedProps.style,ie=de!=null&&de.hasOwnProperty("display")?de.display:null;_.style.display=ie==null||typeof ie=="boolean"?"":(""+ie).trim()}}catch(se){Xt(W,W.return,se)}}}else if(r.tag===6){if(l===null){W=r;try{W.stateNode.nodeValue=m?"":W.memoizedProps}catch(se){Xt(W,W.return,se)}}}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,Zd(n,l))));break;case 19:Ba(r,n),Fa(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Zd(n,c)));break;case 30:break;case 21:break;default:Ba(r,n),Fa(n)}}function Fa(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 m=l.stateNode,v=Fd(n);Pu(n,v,m);break;case 5:var C=l.stateNode;l.flags&32&&(gr(C,""),l.flags&=-33);var _=Fd(n);Pu(n,_,C);break;case 3:case 4:var W=l.stateNode.containerInfo,ae=Fd(n);Vd(n,ae,W);break;default:throw Error(i(161))}}catch(ue){Xt(n,n.return,ue)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Og(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;Og(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function Fi(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Ag(n,r.alternate,r),r=r.sibling}function Rs(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Bi(4,r,r.return),Rs(r);break;case 1:Br(r,r.return);var l=r.stateNode;typeof l.componentWillUnmount=="function"&&vg(r,r.return,l),Rs(r);break;case 27:rc(r.stateNode);case 26:case 5:Br(r,r.return),Rs(r);break;case 22:r.memoizedState===null&&Rs(r);break;case 30:Rs(r);break;default:Rs(r)}n=n.sibling}}function Vi(n,r,l){for(l=l&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var c=r.alternate,m=n,v=r,C=v.flags;switch(v.tag){case 0:case 11:case 15:Vi(m,v,l),Yo(4,v);break;case 1:if(Vi(m,v,l),c=v,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(ae){Xt(c,c.return,ae)}if(c=v,m=c.updateQueue,m!==null){var _=c.stateNode;try{var W=m.shared.hiddenCallbacks;if(W!==null)for(m.shared.hiddenCallbacks=null,m=0;m<W.length;m++)n4(W[m],_)}catch(ae){Xt(c,c.return,ae)}}l&&C&64&&gg(v),Qo(v,v.return);break;case 27:Sg(v);case 26:case 5:Vi(m,v,l),l&&c===null&&C&4&&yg(v),Qo(v,v.return);break;case 12:Vi(m,v,l);break;case 13:Vi(m,v,l),l&&C&4&&Cg(m,v);break;case 22:v.memoizedState===null&&Vi(m,v,l),Qo(v,v.return);break;case 30:break;default:Vi(m,v,l)}r=r.sibling}}function Wd(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&&Lo(l))}function Yd(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&Lo(n))}function Fr(n,r,l,c){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Rg(n,r,l,c),r=r.sibling}function Rg(n,r,l,c){var m=r.flags;switch(r.tag){case 0:case 11:case 15:Fr(n,r,l,c),m&2048&&Yo(9,r);break;case 1:Fr(n,r,l,c);break;case 3:Fr(n,r,l,c),m&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&Lo(n)));break;case 12:if(m&2048){Fr(n,r,l,c),n=r.stateNode;try{var v=r.memoizedProps,C=v.id,_=v.onPostCommit;typeof _=="function"&&_(C,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(W){Xt(r,r.return,W)}}else Fr(n,r,l,c);break;case 13:Fr(n,r,l,c);break;case 23:break;case 22:v=r.stateNode,C=r.alternate,r.memoizedState!==null?v._visibility&2?Fr(n,r,l,c):Ko(n,r):v._visibility&2?Fr(n,r,l,c):(v._visibility|=2,vl(n,r,l,c,(r.subtreeFlags&10256)!==0)),m&2048&&Wd(C,r);break;case 24:Fr(n,r,l,c),m&2048&&Yd(r.alternate,r);break;default:Fr(n,r,l,c)}}function vl(n,r,l,c,m){for(m=m&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var v=n,C=r,_=l,W=c,ae=C.flags;switch(C.tag){case 0:case 11:case 15:vl(v,C,_,W,m),Yo(8,C);break;case 23:break;case 22:var ue=C.stateNode;C.memoizedState!==null?ue._visibility&2?vl(v,C,_,W,m):Ko(v,C):(ue._visibility|=2,vl(v,C,_,W,m)),m&&ae&2048&&Wd(C.alternate,C);break;case 24:vl(v,C,_,W,m),m&&ae&2048&&Yd(C.alternate,C);break;default:vl(v,C,_,W,m)}r=r.sibling}}function Ko(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var l=n,c=r,m=c.flags;switch(c.tag){case 22:Ko(l,c),m&2048&&Wd(c.alternate,c);break;case 24:Ko(l,c),m&2048&&Yd(c.alternate,c);break;default:Ko(l,c)}r=r.sibling}}var Jo=8192;function yl(n){if(n.subtreeFlags&Jo)for(n=n.child;n!==null;)Ig(n),n=n.sibling}function Ig(n){switch(n.tag){case 26:yl(n),n.flags&Jo&&n.memoizedState!==null&&gT(Sr,n.memoizedState,n.memoizedProps);break;case 5:yl(n);break;case 3:case 4:var r=Sr;Sr=$u(n.stateNode.containerInfo),yl(n),Sr=r;break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=Jo,Jo=16777216,yl(n),Jo=r):yl(n));break;default:yl(n)}}function Mg(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 Xo(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];Qn=c,Dg(c,n)}Mg(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Ng(n),n=n.sibling}function Ng(n){switch(n.tag){case 0:case 11:case 15:Xo(n),n.flags&2048&&Bi(9,n,n.return);break;case 3:Xo(n);break;case 12:Xo(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,Hu(n)):Xo(n);break;default:Xo(n)}}function Hu(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];Qn=c,Dg(c,n)}Mg(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:Bi(8,r,r.return),Hu(r);break;case 22:l=r.stateNode,l._visibility&2&&(l._visibility&=-3,Hu(r));break;default:Hu(r)}n=n.sibling}}function Dg(n,r){for(;Qn!==null;){var l=Qn;switch(l.tag){case 0:case 11:case 15:Bi(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:Lo(l.memoizedState.cache)}if(c=l.child,c!==null)c.return=l,Qn=c;else e:for(l=n;Qn!==null;){c=Qn;var m=c.sibling,v=c.return;if(wg(c),c===l){Qn=null;break e}if(m!==null){m.return=v,Qn=m;break e}Qn=v}}}var DC={getCacheForType:function(n){var r=da(Gn),l=r.data.get(n);return l===void 0&&(l=n(),r.data.set(n,l)),l}},jC=typeof WeakMap=="function"?WeakMap:Map,Gt=0,an=null,bt=null,Rt=0,Zt=0,Va=null,Gi=!1,bl=!1,Qd=!1,yi=0,bn=0,Zi=0,Is=0,Kd=0,rr=0,Sl=0,$o=null,Na=null,Jd=!1,Xd=0,Bu=1/0,Fu=null,Wi=null,ia=0,Yi=null,El=null,Al=0,$d=0,e0=null,jg=null,ec=0,t0=null;function Ga(){if((Gt&2)!==0&&Rt!==0)return Rt&-Rt;if(I.T!==null){var n=cl;return n!==0?n:o0()}return nt()}function Lg(){rr===0&&(rr=(Rt&536870912)===0||Lt?ta():536870912);var n=ar.current;return n!==null&&(n.flags|=32),rr}function Za(n,r,l){(n===an&&(Zt===2||Zt===9)||n.cancelPendingCommit!==null)&&(wl(n,0),Qi(n,Rt,rr,!1)),wt(n,l),((Gt&2)===0||n!==an)&&(n===an&&((Gt&2)===0&&(Is|=l),bn===4&&Qi(n,Rt,rr,!1)),Vr(n))}function kg(n,r,l){if((Gt&6)!==0)throw Error(i(327));var c=!l&&(r&124)===0&&(r&n.expiredLanes)===0||Tn(n,r),m=c?_C(n,r):r0(n,r,!0),v=c;do{if(m===0){bl&&!c&&Qi(n,r,0,!1);break}else{if(l=n.current.alternate,v&&!LC(l)){m=r0(n,r,!1),v=!1;continue}if(m===2){if(v=r,n.errorRecoveryDisabledLanes&v)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){r=C;e:{var _=n;m=$o;var W=_.current.memoizedState.isDehydrated;if(W&&(wl(_,C).flags|=256),C=r0(_,C,!1),C!==2){if(Qd&&!W){_.errorRecoveryDisabledLanes|=v,Is|=v,m=4;break e}v=Na,Na=m,v!==null&&(Na===null?Na=v:Na.push.apply(Na,v))}m=C}if(v=!1,m!==2)continue}}if(m===1){wl(n,0),Qi(n,r,0,!0);break}e:{switch(c=n,v=m,v){case 0:case 1:throw Error(i(345));case 4:if((r&4194048)!==r)break;case 6:Qi(c,r,rr,!Gi);break e;case 2:Na=null;break;case 3:case 5:break;default:throw Error(i(329))}if((r&62914560)===r&&(m=Xd+300-ht(),10<m)){if(Qi(c,r,rr,!Gi),Cn(c,0,!0)!==0)break e;c.timeoutHandle=u8(_g.bind(null,c,l,Na,Fu,Jd,r,rr,Is,Sl,Gi,v,2,-0,0),m);break e}_g(c,l,Na,Fu,Jd,r,rr,Is,Sl,Gi,v,0,-0,0)}}break}while(!0);Vr(n)}function _g(n,r,l,c,m,v,C,_,W,ae,ue,de,ie,se){if(n.timeoutHandle=-1,de=r.subtreeFlags,(de&8192||(de&16785408)===16785408)&&(lc={stylesheets:null,count:0,unsuspend:pT},Ig(r),de=vT(),de!==null)){n.cancelPendingCommit=de(Fg.bind(null,n,r,v,l,c,m,C,_,W,ue,1,ie,se)),Qi(n,v,C,!ae);return}Fg(n,r,v,l,c,m,C,_,W)}function LC(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 m=l[c],v=m.getSnapshot;m=m.value;try{if(!Pa(v(),m))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 Qi(n,r,l,c){r&=~Kd,r&=~Is,n.suspendedLanes|=r,n.pingedLanes&=~r,c&&(n.warmLanes|=r),c=n.expirationTimes;for(var m=r;0<m;){var v=31-Pt(m),C=1<<v;c[v]=-1,m&=~C}l!==0&&ya(n,l,r)}function Vu(){return(Gt&6)===0?(tc(0),!1):!0}function n0(){if(bt!==null){if(Zt===0)var n=bt.return;else n=bt,ui=ws=null,bd(n),pl=null,Go=0,n=bt;for(;n!==null;)pg(n.alternate,n),n=n.return;bt=null}}function wl(n,r){var l=n.timeoutHandle;l!==-1&&(n.timeoutHandle=-1,XC(l)),l=n.cancelPendingCommit,l!==null&&(n.cancelPendingCommit=null,l()),n0(),an=n,bt=l=li(n.current,null),Rt=r,Zt=0,Va=null,Gi=!1,bl=Tn(n,r),Qd=!1,Sl=rr=Kd=Is=Zi=bn=0,Na=$o=null,Jd=!1,(r&8)!==0&&(r|=r&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=r;0<c;){var m=31-Pt(c),v=1<<m;r|=n[m],c&=~v}return yi=r,du(),l}function Ug(n,r){dt=null,I.H=Nu,r===_o||r===Eu?(r=e4(),Zt=3):r===J5?(r=e4(),Zt=4):Zt=r===tg?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Va=r,bt===null&&(bn=1,_u(n,$a(r,n.current)))}function zg(){var n=I.H;return I.H=Nu,n===null?Nu:n}function qg(){var n=I.A;return I.A=DC,n}function a0(){bn=4,Gi||(Rt&4194048)!==Rt&&ar.current!==null||(bl=!0),(Zi&134217727)===0&&(Is&134217727)===0||an===null||Qi(an,Rt,rr,!1)}function r0(n,r,l){var c=Gt;Gt|=2;var m=zg(),v=qg();(an!==n||Rt!==r)&&(Fu=null,wl(n,r)),r=!1;var C=bn;e:do try{if(Zt!==0&&bt!==null){var _=bt,W=Va;switch(Zt){case 8:n0(),C=6;break e;case 3:case 2:case 9:case 6:ar.current===null&&(r=!0);var ae=Zt;if(Zt=0,Va=null,xl(n,_,W,ae),l&&bl){C=0;break e}break;default:ae=Zt,Zt=0,Va=null,xl(n,_,W,ae)}}kC(),C=bn;break}catch(ue){Ug(n,ue)}while(!0);return r&&n.shellSuspendCounter++,ui=ws=null,Gt=c,I.H=m,I.A=v,bt===null&&(an=null,Rt=0,du()),C}function kC(){for(;bt!==null;)Pg(bt)}function _C(n,r){var l=Gt;Gt|=2;var c=zg(),m=qg();an!==n||Rt!==r?(Fu=null,Bu=ht()+500,wl(n,r)):bl=Tn(n,r);e:do try{if(Zt!==0&&bt!==null){r=bt;var v=Va;t:switch(Zt){case 1:Zt=0,Va=null,xl(n,r,v,1);break;case 2:case 9:if(X5(v)){Zt=0,Va=null,Hg(r);break}r=function(){Zt!==2&&Zt!==9||an!==n||(Zt=7),Vr(n)},v.then(r,r);break e;case 3:Zt=7;break e;case 4:Zt=5;break e;case 7:X5(v)?(Zt=0,Va=null,Hg(r)):(Zt=0,Va=null,xl(n,r,v,7));break;case 5:var C=null;switch(bt.tag){case 26:C=bt.memoizedState;case 5:case 27:var _=bt;if(!C||A8(C)){Zt=0,Va=null;var W=_.sibling;if(W!==null)bt=W;else{var ae=_.return;ae!==null?(bt=ae,Gu(ae)):bt=null}break t}}Zt=0,Va=null,xl(n,r,v,5);break;case 6:Zt=0,Va=null,xl(n,r,v,6);break;case 8:n0(),bn=6;break e;default:throw Error(i(462))}}UC();break}catch(ue){Ug(n,ue)}while(!0);return ui=ws=null,I.H=c,I.A=m,Gt=l,bt!==null?0:(an=null,Rt=0,du(),bn)}function UC(){for(;bt!==null&&!we();)Pg(bt)}function Pg(n){var r=hg(n.alternate,n,yi);n.memoizedProps=n.pendingProps,r===null?Gu(n):bt=r}function Hg(n){var r=n,l=r.alternate;switch(r.tag){case 15:case 0:r=lg(l,r,r.pendingProps,r.type,void 0,Rt);break;case 11:r=lg(l,r,r.pendingProps,r.type.render,r.ref,Rt);break;case 5:bd(r);default:pg(l,r),r=bt=B5(r,yi),r=hg(l,r,yi)}n.memoizedProps=n.pendingProps,r===null?Gu(n):bt=r}function xl(n,r,l,c){ui=ws=null,bd(r),pl=null,Go=0;var m=r.return;try{if(TC(n,m,r,l,Rt)){bn=1,_u(n,$a(l,n.current)),bt=null;return}}catch(v){if(m!==null)throw bt=m,v;bn=1,_u(n,$a(l,n.current)),bt=null;return}r.flags&32768?(Lt||c===1?n=!0:bl||(Rt&536870912)!==0?n=!1:(Gi=n=!0,(c===2||c===9||c===3||c===6)&&(c=ar.current,c!==null&&c.tag===13&&(c.flags|=16384))),Bg(r,n)):Gu(r)}function Gu(n){var r=n;do{if((r.flags&32768)!==0){Bg(r,Gi);return}n=r.return;var l=RC(r.alternate,r,yi);if(l!==null){bt=l;return}if(r=r.sibling,r!==null){bt=r;return}bt=r=n}while(r!==null);bn===0&&(bn=5)}function Bg(n,r){do{var l=IC(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);bn=6,bt=null}function Fg(n,r,l,c,m,v,C,_,W){n.cancelPendingCommit=null;do Zu();while(ia!==0);if((Gt&6)!==0)throw Error(i(327));if(r!==null){if(r===n.current)throw Error(i(177));if(v=r.lanes|r.childLanes,v|=Yf,na(n,l,v,C,_,W),n===an&&(bt=an=null,Rt=0),El=r,Yi=n,Al=l,$d=v,e0=m,jg=c,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,HC(gn,function(){return Yg(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||c){c=I.T,I.T=null,m=V.p,V.p=2,C=Gt,Gt|=4;try{MC(n,r,l)}finally{Gt=C,V.p=m,I.T=c}}ia=1,Vg(),Gg(),Zg()}}function Vg(){if(ia===1){ia=0;var n=Yi,r=El,l=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||l){l=I.T,I.T=null;var c=V.p;V.p=2;var m=Gt;Gt|=4;try{Tg(r,n);var v=g0,C=D5(n.containerInfo),_=v.focusedElem,W=v.selectionRange;if(C!==_&&_&&_.ownerDocument&&N5(_.ownerDocument.documentElement,_)){if(W!==null&&Ff(_)){var ae=W.start,ue=W.end;if(ue===void 0&&(ue=ae),"selectionStart"in _)_.selectionStart=ae,_.selectionEnd=Math.min(ue,_.value.length);else{var de=_.ownerDocument||document,ie=de&&de.defaultView||window;if(ie.getSelection){var se=ie.getSelection(),Ye=_.textContent.length,Be=Math.min(W.start,Ye),Qt=W.end===void 0?Be:Math.min(W.end,Ye);!se.extend&&Be>Qt&&(C=Qt,Qt=Be,Be=C);var $=M5(_,Be),X=M5(_,Qt);if($&&X&&(se.rangeCount!==1||se.anchorNode!==$.node||se.anchorOffset!==$.offset||se.focusNode!==X.node||se.focusOffset!==X.offset)){var te=de.createRange();te.setStart($.node,$.offset),se.removeAllRanges(),Be>Qt?(se.addRange(te),se.extend(X.node,X.offset)):(te.setEnd(X.node,X.offset),se.addRange(te))}}}}for(de=[],se=_;se=se.parentNode;)se.nodeType===1&&de.push({element:se,left:se.scrollLeft,top:se.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<de.length;_++){var fe=de[_];fe.element.scrollLeft=fe.left,fe.element.scrollTop=fe.top}}r1=!!p0,g0=p0=null}finally{Gt=m,V.p=c,I.T=l}}n.current=r,ia=2}}function Gg(){if(ia===2){ia=0;var n=Yi,r=El,l=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||l){l=I.T,I.T=null;var c=V.p;V.p=2;var m=Gt;Gt|=4;try{Ag(n,r.alternate,r)}finally{Gt=m,V.p=c,I.T=l}}ia=3}}function Zg(){if(ia===4||ia===3){ia=0,He();var n=Yi,r=El,l=Al,c=jg;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?ia=5:(ia=0,El=Yi=null,Wg(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Wi=null),je(l),r=r.stateNode,st&&typeof st.onCommitFiberRoot=="function")try{st.onCommitFiberRoot(Xe,r,void 0,(r.current.flags&128)===128)}catch{}if(c!==null){r=I.T,m=V.p,V.p=2,I.T=null;try{for(var v=n.onRecoverableError,C=0;C<c.length;C++){var _=c[C];v(_.value,{componentStack:_.stack})}}finally{I.T=r,V.p=m}}(Al&3)!==0&&Zu(),Vr(n),m=n.pendingLanes,(l&4194090)!==0&&(m&42)!==0?n===t0?ec++:(ec=0,t0=n):ec=0,tc(0)}}function Wg(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,Lo(r)))}function Zu(n){return Vg(),Gg(),Zg(),Yg()}function Yg(){if(ia!==5)return!1;var n=Yi,r=$d;$d=0;var l=je(Al),c=I.T,m=V.p;try{V.p=32>l?32:l,I.T=null,l=e0,e0=null;var v=Yi,C=Al;if(ia=0,El=Yi=null,Al=0,(Gt&6)!==0)throw Error(i(331));var _=Gt;if(Gt|=4,Ng(v.current),Rg(v,v.current,C,l),Gt=_,tc(0,!1),st&&typeof st.onPostCommitFiberRoot=="function")try{st.onPostCommitFiberRoot(Xe,v)}catch{}return!0}finally{V.p=m,I.T=c,Wg(n,r)}}function Qg(n,r,l){r=$a(l,r),r=jd(n.stateNode,r,2),n=zi(n,r,2),n!==null&&(wt(n,2),Vr(n))}function Xt(n,r,l){if(n.tag===3)Qg(n,n,l);else for(;r!==null;){if(r.tag===3){Qg(r,n,l);break}else if(r.tag===1){var c=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Wi===null||!Wi.has(c))){n=$a(l,n),l=$4(2),c=zi(r,l,2),c!==null&&(eg(l,c,r,n),wt(c,2),Vr(c));break}}r=r.return}}function i0(n,r,l){var c=n.pingCache;if(c===null){c=n.pingCache=new jC;var m=new Set;c.set(r,m)}else m=c.get(r),m===void 0&&(m=new Set,c.set(r,m));m.has(l)||(Qd=!0,m.add(l),n=zC.bind(null,n,r,l),r.then(n,n))}function zC(n,r,l){var c=n.pingCache;c!==null&&c.delete(r),n.pingedLanes|=n.suspendedLanes&l,n.warmLanes&=~l,an===n&&(Rt&l)===l&&(bn===4||bn===3&&(Rt&62914560)===Rt&&300>ht()-Xd?(Gt&2)===0&&wl(n,0):Kd|=l,Sl===Rt&&(Sl=0)),Vr(n)}function Kg(n,r){r===0&&(r=Bn()),n=il(n,r),n!==null&&(wt(n,r),Vr(n))}function qC(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Kg(n,l)}function PC(n,r){var l=0;switch(n.tag){case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(l=m.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),Kg(n,l)}function HC(n,r){return vt(n,r)}var Wu=null,Cl=null,s0=!1,Yu=!1,l0=!1,Ms=0;function Vr(n){n!==Cl&&n.next===null&&(Cl===null?Wu=Cl=n:Cl=Cl.next=n),Yu=!0,s0||(s0=!0,FC())}function tc(n,r){if(!l0&&Yu){l0=!0;do for(var l=!1,c=Wu;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var v=0;else{var C=c.suspendedLanes,_=c.pingedLanes;v=(1<<31-Pt(42|n)+1)-1,v&=m&~(C&~_),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(l=!0,e8(c,v))}else v=Rt,v=Cn(c,c===an?v:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(v&3)===0||Tn(c,v)||(l=!0,e8(c,v));c=c.next}while(l);l0=!1}}function BC(){Jg()}function Jg(){Yu=s0=!1;var n=0;Ms!==0&&(JC()&&(n=Ms),Ms=0);for(var r=ht(),l=null,c=Wu;c!==null;){var m=c.next,v=Xg(c,r);v===0?(c.next=null,l===null?Wu=m:l.next=m,m===null&&(Cl=l)):(l=c,(n!==0||(v&3)!==0)&&(Yu=!0)),c=m}tc(n)}function Xg(n,r){for(var l=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var C=31-Pt(v),_=1<<C,W=m[C];W===-1?((_&l)===0||(_&c)!==0)&&(m[C]=Oa(_,r)):W<=r&&(n.expiredLanes|=_),v&=~_}if(r=an,l=Rt,l=Cn(n,n===r?l:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,l===0||n===r&&(Zt===2||Zt===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&Qe(c),n.callbackNode=null,n.callbackPriority=0;if((l&3)===0||Tn(n,l)){if(r=l&-l,r===n.callbackPriority)return r;switch(c!==null&&Qe(c),je(l)){case 2:case 8:l=et;break;case 32:l=gn;break;case 268435456:l=Ae;break;default:l=gn}return c=$g.bind(null,n),l=vt(l,c),n.callbackPriority=r,n.callbackNode=l,r}return c!==null&&c!==null&&Qe(c),n.callbackPriority=2,n.callbackNode=null,2}function $g(n,r){if(ia!==0&&ia!==5)return n.callbackNode=null,n.callbackPriority=0,null;var l=n.callbackNode;if(Zu()&&n.callbackNode!==l)return null;var c=Rt;return c=Cn(n,n===an?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(kg(n,c,r),Xg(n,ht()),n.callbackNode!=null&&n.callbackNode===l?$g.bind(null,n):null)}function e8(n,r){if(Zu())return null;kg(n,r,!0)}function FC(){$C(function(){(Gt&6)!==0?vt(Ze,BC):Jg()})}function o0(){return Ms===0&&(Ms=ta()),Ms}function t8(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:vr(""+n)}function n8(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 VC(n,r,l,c,m){if(r==="submit"&&l&&l.stateNode===m){var v=t8((m[xe]||null).action),C=c.submitter;C&&(r=(r=C[xe]||null)?t8(r.formAction):C.getAttribute("formAction"),r!==null&&(v=r,C=null));var _=new be("action","action",null,c,m);n.push({event:_,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Ms!==0){var W=C?n8(m,C):new FormData(m);Rd(l,{pending:!0,data:W,method:m.method,action:v},null,W)}}else typeof v=="function"&&(_.preventDefault(),W=C?n8(m,C):new FormData(m),Rd(l,{pending:!0,data:W,method:m.method,action:v},v,W))},currentTarget:m}]})}}for(var c0=0;c0<Wf.length;c0++){var u0=Wf[c0],GC=u0.toLowerCase(),ZC=u0[0].toUpperCase()+u0.slice(1);br(GC,"on"+ZC)}br(k5,"onAnimationEnd"),br(_5,"onAnimationIteration"),br(U5,"onAnimationStart"),br("dblclick","onDoubleClick"),br("focusin","onFocus"),br("focusout","onBlur"),br(cC,"onTransitionRun"),br(uC,"onTransitionStart"),br(fC,"onTransitionCancel"),br(z5,"onTransitionEnd"),Se("onMouseEnter",["mouseout","mouseover"]),Se("onMouseLeave",["mouseout","mouseover"]),Se("onPointerEnter",["pointerout","pointerover"]),Se("onPointerLeave",["pointerout","pointerover"]),me("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),me("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),me("onBeforeInput",["compositionend","keypress","textInput","paste"]),me("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),me("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),me("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nc="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(" "),WC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nc));function a8(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var c=n[l],m=c.event;c=c.listeners;e:{var v=void 0;if(r)for(var C=c.length-1;0<=C;C--){var _=c[C],W=_.instance,ae=_.currentTarget;if(_=_.listener,W!==v&&m.isPropagationStopped())break e;v=_,m.currentTarget=ae;try{v(m)}catch(ue){ku(ue)}m.currentTarget=null,v=W}else for(C=0;C<c.length;C++){if(_=c[C],W=_.instance,ae=_.currentTarget,_=_.listener,W!==v&&m.isPropagationStopped())break e;v=_,m.currentTarget=ae;try{v(m)}catch(ue){ku(ue)}m.currentTarget=null,v=W}}}}function St(n,r){var l=r[Ct];l===void 0&&(l=r[Ct]=new Set);var c=n+"__bubble";l.has(c)||(r8(r,n,2,!1),l.add(c))}function f0(n,r,l){var c=0;r&&(c|=4),r8(l,n,c,r)}var Qu="_reactListening"+Math.random().toString(36).slice(2);function d0(n){if(!n[Qu]){n[Qu]=!0,Te.forEach(function(l){l!=="selectionchange"&&(WC.has(l)||f0(l,!1,n),f0(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Qu]||(r[Qu]=!0,f0("selectionchange",!1,r))}}function r8(n,r,l,c){switch(R8(r)){case 2:var m=ST;break;case 8:m=ET;break;default:m=T0}l=m.bind(null,r,l,n),m=void 0,!$s||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(r,l,{capture:!0,passive:m}):n.addEventListener(r,l,!0):m!==void 0?n.addEventListener(r,l,{passive:m}):n.addEventListener(r,l,!1)}function h0(n,r,l,c,m){var v=c;if((r&1)===0&&(r&2)===0&&c!==null)e:for(;;){if(c===null)return;var C=c.tag;if(C===3||C===4){var _=c.stateNode.containerInfo;if(_===m)break;if(C===4)for(C=c.return;C!==null;){var W=C.tag;if((W===3||W===4)&&C.stateNode.containerInfo===m)return;C=C.return}for(;_!==null;){if(C=ft(_),C===null)return;if(W=C.tag,W===5||W===6||W===26||W===27){c=v=C;continue e}_=_.parentNode}}c=c.return}Ua(function(){var ae=v,ue=Xs(l),de=[];e:{var ie=q5.get(n);if(ie!==void 0){var se=be,Ye=n;switch(n){case"keypress":if(ms(l)===0)break e;case"keydown":case"keyup":se=Hx;break;case"focusin":Ye="focus",se=el;break;case"focusout":Ye="blur",se=el;break;case"beforeblur":case"afterblur":se=el;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":se=si;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=Vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=Vx;break;case k5:case _5:case U5:se=Dx;break;case z5:se=Zx;break;case"scroll":case"scrollend":se=nn;break;case"wheel":se=Yx;break;case"copy":case"cut":case"paste":se=Lx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=g5;break;case"toggle":case"beforetoggle":se=Kx}var Be=(r&4)!==0,Qt=!Be&&(n==="scroll"||n==="scrollend"),$=Be?ie!==null?ie+"Capture":null:ie;Be=[];for(var X=ae,te;X!==null;){var fe=X;if(te=fe.stateNode,fe=fe.tag,fe!==5&&fe!==26&&fe!==27||te===null||$===null||(fe=za(X,$),fe!=null&&Be.push(ac(X,fe,te))),Qt)break;X=X.return}0<Be.length&&(ie=new se(ie,Ye,null,l,ue),de.push({event:ie,listeners:Be}))}}if((r&7)===0){e:{if(ie=n==="mouseover"||n==="pointerover",se=n==="mouseout"||n==="pointerout",ie&&l!==So&&(Ye=l.relatedTarget||l.fromElement)&&(ft(Ye)||Ye[Ie]))break e;if((se||ie)&&(ie=ue.window===ue?ue:(ie=ue.ownerDocument)?ie.defaultView||ie.parentWindow:window,se?(Ye=l.relatedTarget||l.toElement,se=ae,Ye=Ye?ft(Ye):null,Ye!==null&&(Qt=o(Ye),Be=Ye.tag,Ye!==Qt||Be!==5&&Be!==27&&Be!==6)&&(Ye=null)):(se=null,Ye=ae),se!==Ye)){if(Be=si,fe="onMouseLeave",$="onMouseEnter",X="mouse",(n==="pointerout"||n==="pointerover")&&(Be=g5,fe="onPointerLeave",$="onPointerEnter",X="pointer"),Qt=se==null?ie:ba(se),te=Ye==null?ie:ba(Ye),ie=new Be(fe,X+"leave",se,l,ue),ie.target=Qt,ie.relatedTarget=te,fe=null,ft(ue)===ae&&(Be=new Be($,X+"enter",Ye,l,ue),Be.target=te,Be.relatedTarget=Qt,fe=Be),Qt=fe,se&&Ye)t:{for(Be=se,$=Ye,X=0,te=Be;te;te=Tl(te))X++;for(te=0,fe=$;fe;fe=Tl(fe))te++;for(;0<X-te;)Be=Tl(Be),X--;for(;0<te-X;)$=Tl($),te--;for(;X--;){if(Be===$||$!==null&&Be===$.alternate)break t;Be=Tl(Be),$=Tl($)}Be=null}else Be=null;se!==null&&i8(de,ie,se,Be,!1),Ye!==null&&Qt!==null&&i8(de,Qt,Ye,Be,!0)}}e:{if(ie=ae?ba(ae):window,se=ie.nodeName&&ie.nodeName.toLowerCase(),se==="select"||se==="input"&&ie.type==="file")var Me=x5;else if(A5(ie))if(C5)Me=sC;else{Me=rC;var pt=aC}else se=ie.nodeName,!se||se.toLowerCase()!=="input"||ie.type!=="checkbox"&&ie.type!=="radio"?ae&&bo(ae.elementType)&&(Me=x5):Me=iC;if(Me&&(Me=Me(n,ae))){w5(de,Me,l,ue);break e}pt&&pt(n,ie,ae),n==="focusout"&&ae&&ie.type==="number"&&ae.memoizedProps.value!=null&&Ur(ie,"number",ie.value)}switch(pt=ae?ba(ae):window,n){case"focusin":(A5(pt)||pt.contentEditable==="true")&&(nl=pt,Vf=ae,Io=null);break;case"focusout":Io=Vf=nl=null;break;case"mousedown":Gf=!0;break;case"contextmenu":case"mouseup":case"dragend":Gf=!1,j5(de,l,ue);break;case"selectionchange":if(oC)break;case"keydown":case"keyup":j5(de,l,ue)}var Le;if(Pf)e:{switch(n){case"compositionstart":var Ge="onCompositionStart";break e;case"compositionend":Ge="onCompositionEnd";break e;case"compositionupdate":Ge="onCompositionUpdate";break e}Ge=void 0}else tl?S5(n,l)&&(Ge="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Ge="onCompositionStart");Ge&&(v5&&l.locale!=="ko"&&(tl||Ge!=="onCompositionStart"?Ge==="onCompositionEnd"&&tl&&(Le=wo()):(yr=ue,qa="value"in yr?yr.value:yr.textContent,tl=!0)),pt=Ku(ae,Ge),0<pt.length&&(Ge=new p5(Ge,n,null,l,ue),de.push({event:Ge,listeners:pt}),Le?Ge.data=Le:(Le=E5(l),Le!==null&&(Ge.data=Le)))),(Le=Xx?$x(n,l):eC(n,l))&&(Ge=Ku(ae,"onBeforeInput"),0<Ge.length&&(pt=new p5("onBeforeInput","beforeinput",null,l,ue),de.push({event:pt,listeners:Ge}),pt.data=Le)),VC(de,n,ae,l,ue)}a8(de,r)})}function ac(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Ku(n,r){for(var l=r+"Capture",c=[];n!==null;){var m=n,v=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||v===null||(m=za(n,l),m!=null&&c.unshift(ac(n,m,v)),m=za(n,r),m!=null&&c.push(ac(n,m,v))),n.tag===3)return c;n=n.return}return[]}function Tl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function i8(n,r,l,c,m){for(var v=r._reactName,C=[];l!==null&&l!==c;){var _=l,W=_.alternate,ae=_.stateNode;if(_=_.tag,W!==null&&W===c)break;_!==5&&_!==26&&_!==27||ae===null||(W=ae,m?(ae=za(l,v),ae!=null&&C.unshift(ac(l,ae,W))):m||(ae=za(l,v),ae!=null&&C.push(ac(l,ae,W)))),l=l.return}C.length!==0&&n.push({event:r,listeners:C})}var YC=/\r\n?/g,QC=/\u0000|\uFFFD/g;function s8(n){return(typeof n=="string"?n:""+n).replace(YC,`
`).replace(QC,"")}function l8(n,r){return r=s8(r),s8(n)===r}function Ju(){}function Yt(n,r,l,c,m,v){switch(l){case"children":typeof c=="string"?r==="body"||r==="textarea"&&c===""||gr(n,c):(typeof c=="number"||typeof c=="bigint")&&r!=="body"&&gr(n,""+c);break;case"className":Rn(n,"class",c);break;case"tabIndex":Rn(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Rn(n,l,c);break;case"style":Li(n,c,v);break;case"data":if(r!=="object"){Rn(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=vr(""+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"&&Yt(n,r,"name",m.name,m,null),Yt(n,r,"formEncType",m.formEncType,m,null),Yt(n,r,"formMethod",m.formMethod,m,null),Yt(n,r,"formTarget",m.formTarget,m,null)):(Yt(n,r,"encType",m.encType,m,null),Yt(n,r,"method",m.method,m,null),Yt(n,r,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=vr(""+c),n.setAttribute(l,c);break;case"onClick":c!=null&&(n.onclick=Ju);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(m.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=vr(""+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),vn(n,"popover",c);break;case"xlinkActuate":ee(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":ee(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":ee(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":ee(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":ee(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":ee(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":ee(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":ee(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":ee(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":vn(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=zf.get(l)||l,vn(n,l,c))}}function m0(n,r,l,c,m,v){switch(l){case"style":Li(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(m.children!=null)throw Error(i(60));n.innerHTML=l}}break;case"children":typeof c=="string"?gr(n,c):(typeof c=="number"||typeof c=="bigint")&&gr(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=Ju);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Q.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),r=l.slice(2,m?l.length-7:void 0),v=n[xe]||null,v=v!=null?v[l]:null,typeof v=="function"&&n.removeEventListener(r,v,m),typeof c=="function")){typeof v!="function"&&v!==null&&(l in n?n[l]=null:n.hasAttribute(l)&&n.removeAttribute(l)),n.addEventListener(r,c,m);break e}l in n?n[l]=c:c===!0?n.setAttribute(l,""):vn(n,l,c)}}}function sa(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,m=!1,v;for(v in l)if(l.hasOwnProperty(v)){var C=l[v];if(C!=null)switch(v){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Yt(n,r,v,C,l,null)}}m&&Yt(n,r,"srcSet",l.srcSet,l,null),c&&Yt(n,r,"src",l.src,l,null);return;case"input":St("invalid",n);var _=v=C=m=null,W=null,ae=null;for(c in l)if(l.hasOwnProperty(c)){var ue=l[c];if(ue!=null)switch(c){case"name":m=ue;break;case"type":C=ue;break;case"checked":W=ue;break;case"defaultChecked":ae=ue;break;case"value":v=ue;break;case"defaultValue":_=ue;break;case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(i(137,r));break;default:Yt(n,r,c,ue,l,null)}}Ja(n,v,_,W,ae,C,m,!1),ds(n);return;case"select":St("invalid",n),c=C=v=null;for(m in l)if(l.hasOwnProperty(m)&&(_=l[m],_!=null))switch(m){case"value":v=_;break;case"defaultValue":C=_;break;case"multiple":c=_;default:Yt(n,r,m,_,l,null)}r=v,l=C,n.multiple=!!c,r!=null?zr(n,!!c,r,!1):l!=null&&zr(n,!!c,l,!0);return;case"textarea":St("invalid",n),v=m=c=null;for(C in l)if(l.hasOwnProperty(C)&&(_=l[C],_!=null))switch(C){case"value":c=_;break;case"defaultValue":m=_;break;case"children":v=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(i(91));break;default:Yt(n,r,C,_,l,null)}lu(n,c,m,v),ds(n);return;case"option":for(W in l)if(l.hasOwnProperty(W)&&(c=l[W],c!=null))switch(W){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Yt(n,r,W,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<nc.length;c++)St(nc[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(ae in l)if(l.hasOwnProperty(ae)&&(c=l[ae],c!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:Yt(n,r,ae,c,l,null)}return;default:if(bo(r)){for(ue in l)l.hasOwnProperty(ue)&&(c=l[ue],c!==void 0&&m0(n,r,ue,c,l,void 0));return}}for(_ in l)l.hasOwnProperty(_)&&(c=l[_],c!=null&&Yt(n,r,_,c,l,null))}function KC(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 m=null,v=null,C=null,_=null,W=null,ae=null,ue=null;for(se in l){var de=l[se];if(l.hasOwnProperty(se)&&de!=null)switch(se){case"checked":break;case"value":break;case"defaultValue":W=de;default:c.hasOwnProperty(se)||Yt(n,r,se,null,c,de)}}for(var ie in c){var se=c[ie];if(de=l[ie],c.hasOwnProperty(ie)&&(se!=null||de!=null))switch(ie){case"type":v=se;break;case"name":m=se;break;case"checked":ae=se;break;case"defaultChecked":ue=se;break;case"value":C=se;break;case"defaultValue":_=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(i(137,r));break;default:se!==de&&Yt(n,r,ie,se,c,de)}}ji(n,C,_,W,ae,ue,v,m);return;case"select":se=C=_=ie=null;for(v in l)if(W=l[v],l.hasOwnProperty(v)&&W!=null)switch(v){case"value":break;case"multiple":se=W;default:c.hasOwnProperty(v)||Yt(n,r,v,null,c,W)}for(m in c)if(v=c[m],W=l[m],c.hasOwnProperty(m)&&(v!=null||W!=null))switch(m){case"value":ie=v;break;case"defaultValue":_=v;break;case"multiple":C=v;default:v!==W&&Yt(n,r,m,v,c,W)}r=_,l=C,c=se,ie!=null?zr(n,!!l,ie,!1):!!c!=!!l&&(r!=null?zr(n,!!l,r,!0):zr(n,!!l,l?[]:"",!1));return;case"textarea":se=ie=null;for(_ in l)if(m=l[_],l.hasOwnProperty(_)&&m!=null&&!c.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Yt(n,r,_,null,c,m)}for(C in c)if(m=c[C],v=l[C],c.hasOwnProperty(C)&&(m!=null||v!=null))switch(C){case"value":ie=m;break;case"defaultValue":se=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(i(91));break;default:m!==v&&Yt(n,r,C,m,c,v)}Ks(n,ie,se);return;case"option":for(var Ye in l)if(ie=l[Ye],l.hasOwnProperty(Ye)&&ie!=null&&!c.hasOwnProperty(Ye))switch(Ye){case"selected":n.selected=!1;break;default:Yt(n,r,Ye,null,c,ie)}for(W in c)if(ie=c[W],se=l[W],c.hasOwnProperty(W)&&ie!==se&&(ie!=null||se!=null))switch(W){case"selected":n.selected=ie&&typeof ie!="function"&&typeof ie!="symbol";break;default:Yt(n,r,W,ie,c,se)}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 Be in l)ie=l[Be],l.hasOwnProperty(Be)&&ie!=null&&!c.hasOwnProperty(Be)&&Yt(n,r,Be,null,c,ie);for(ae in c)if(ie=c[ae],se=l[ae],c.hasOwnProperty(ae)&&ie!==se&&(ie!=null||se!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(i(137,r));break;default:Yt(n,r,ae,ie,c,se)}return;default:if(bo(r)){for(var Qt in l)ie=l[Qt],l.hasOwnProperty(Qt)&&ie!==void 0&&!c.hasOwnProperty(Qt)&&m0(n,r,Qt,void 0,c,ie);for(ue in c)ie=c[ue],se=l[ue],!c.hasOwnProperty(ue)||ie===se||ie===void 0&&se===void 0||m0(n,r,ue,ie,c,se);return}}for(var $ in l)ie=l[$],l.hasOwnProperty($)&&ie!=null&&!c.hasOwnProperty($)&&Yt(n,r,$,null,c,ie);for(de in c)ie=c[de],se=l[de],!c.hasOwnProperty(de)||ie===se||ie==null&&se==null||Yt(n,r,de,ie,c,se)}var p0=null,g0=null;function Xu(n){return n.nodeType===9?n:n.ownerDocument}function o8(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 c8(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 v0(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 y0=null;function JC(){var n=window.event;return n&&n.type==="popstate"?n===y0?!1:(y0=n,!0):(y0=null,!1)}var u8=typeof setTimeout=="function"?setTimeout:void 0,XC=typeof clearTimeout=="function"?clearTimeout:void 0,f8=typeof Promise=="function"?Promise:void 0,$C=typeof queueMicrotask=="function"?queueMicrotask:typeof f8<"u"?function(n){return f8.resolve(null).then(n).catch(eT)}:u8;function eT(n){setTimeout(function(){throw n})}function Ki(n){return n==="head"}function d8(n,r){var l=r,c=0,m=0;do{var v=l.nextSibling;if(n.removeChild(l),v&&v.nodeType===8)if(l=v.data,l==="/$"){if(0<c&&8>c){l=c;var C=n.ownerDocument;if(l&1&&rc(C.documentElement),l&2&&rc(C.body),l&4)for(l=C.head,rc(l),C=l.firstChild;C;){var _=C.nextSibling,W=C.nodeName;C[Vt]||W==="SCRIPT"||W==="STYLE"||W==="LINK"&&C.rel.toLowerCase()==="stylesheet"||l.removeChild(C),C=_}}if(m===0){n.removeChild(v),dc(r);return}m--}else l==="$"||l==="$?"||l==="$!"?m++:c=l.charCodeAt(0)-48;else c=0;l=v}while(l);dc(r)}function b0(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":b0(l),Ke(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}n.removeChild(l)}}function tT(n,r,l,c){for(;n.nodeType===1;){var m=l;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Vt])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!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var v=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Er(n.nextSibling),n===null)break}return null}function nT(n,r,l){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Er(n.nextSibling),n===null))return null;return n}function S0(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function aT(n,r){var l=n.ownerDocument;if(n.data!=="$?"||l.readyState==="complete")r();else{var c=function(){r(),l.removeEventListener("DOMContentLoaded",c)};l.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function Er(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==="F!"||r==="F")break;if(r==="/$")return null}}return n}var E0=null;function h8(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}function m8(n,r,l){switch(r=Xu(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 rc(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Ke(n)}var ir=new Map,p8=new Set;function $u(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var bi=V.d;V.d={f:rT,r:iT,D:sT,C:lT,L:oT,m:cT,X:fT,S:uT,M:dT};function rT(){var n=bi.f(),r=Vu();return n||r}function iT(n){var r=xt(n);r!==null&&r.tag===5&&r.type==="form"?k4(r):bi.r(n)}var Ol=typeof document>"u"?null:document;function g8(n,r,l){var c=Ol;if(c&&typeof r=="string"&&r){var m=aa(r);m='link[rel="'+n+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),p8.has(m)||(p8.add(m),n={rel:n,crossOrigin:l,href:r},c.querySelector(m)===null&&(r=c.createElement("link"),sa(r,"link",n),jt(r),c.head.appendChild(r)))}}function sT(n){bi.D(n),g8("dns-prefetch",n,null)}function lT(n,r){bi.C(n,r),g8("preconnect",n,r)}function oT(n,r,l){bi.L(n,r,l);var c=Ol;if(c&&n&&r){var m='link[rel="preload"][as="'+aa(r)+'"]';r==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+aa(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+aa(l.imageSizes)+'"]')):m+='[href="'+aa(n)+'"]';var v=m;switch(r){case"style":v=Rl(n);break;case"script":v=Il(n)}ir.has(v)||(n=y({rel:"preload",href:r==="image"&&l&&l.imageSrcSet?void 0:n,as:r},l),ir.set(v,n),c.querySelector(m)!==null||r==="style"&&c.querySelector(ic(v))||r==="script"&&c.querySelector(sc(v))||(r=c.createElement("link"),sa(r,"link",n),jt(r),c.head.appendChild(r)))}}function cT(n,r){bi.m(n,r);var l=Ol;if(l&&n){var c=r&&typeof r.as=="string"?r.as:"script",m='link[rel="modulepreload"][as="'+aa(c)+'"][href="'+aa(n)+'"]',v=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Il(n)}if(!ir.has(v)&&(n=y({rel:"modulepreload",href:n},r),ir.set(v,n),l.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(sc(v)))return}c=l.createElement("link"),sa(c,"link",n),jt(c),l.head.appendChild(c)}}}function uT(n,r,l){bi.S(n,r,l);var c=Ol;if(c&&n){var m=Tt(c).hoistableStyles,v=Rl(n);r=r||"default";var C=m.get(v);if(!C){var _={loading:0,preload:null};if(C=c.querySelector(ic(v)))_.loading=5;else{n=y({rel:"stylesheet",href:n,"data-precedence":r},l),(l=ir.get(v))&&A0(n,l);var W=C=c.createElement("link");jt(W),sa(W,"link",n),W._p=new Promise(function(ae,ue){W.onload=ae,W.onerror=ue}),W.addEventListener("load",function(){_.loading|=1}),W.addEventListener("error",function(){_.loading|=2}),_.loading|=4,e1(C,r,c)}C={type:"stylesheet",instance:C,count:1,state:_},m.set(v,C)}}}function fT(n,r){bi.X(n,r);var l=Ol;if(l&&n){var c=Tt(l).hoistableScripts,m=Il(n),v=c.get(m);v||(v=l.querySelector(sc(m)),v||(n=y({src:n,async:!0},r),(r=ir.get(m))&&w0(n,r),v=l.createElement("script"),jt(v),sa(v,"link",n),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(m,v))}}function dT(n,r){bi.M(n,r);var l=Ol;if(l&&n){var c=Tt(l).hoistableScripts,m=Il(n),v=c.get(m);v||(v=l.querySelector(sc(m)),v||(n=y({src:n,async:!0,type:"module"},r),(r=ir.get(m))&&w0(n,r),v=l.createElement("script"),jt(v),sa(v,"link",n),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(m,v))}}function v8(n,r,l,c){var m=(m=pe.current)?$u(m):null;if(!m)throw Error(i(446));switch(n){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(r=Rl(l.href),l=Tt(m).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=Rl(l.href);var v=Tt(m).hoistableStyles,C=v.get(n);if(C||(m=m.ownerDocument||m,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,C),(v=m.querySelector(ic(n)))&&!v._p&&(C.instance=v,C.state.loading=5),ir.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},ir.set(n,l),v||hT(m,n,l,C.state))),r&&c===null)throw Error(i(528,""));return C}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=Il(l),l=Tt(m).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 Rl(n){return'href="'+aa(n)+'"'}function ic(n){return'link[rel="stylesheet"]['+n+"]"}function y8(n){return y({},n,{"data-precedence":n.precedence,precedence:null})}function hT(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}),sa(r,"link",l),jt(r),n.head.appendChild(r))}function Il(n){return'[src="'+aa(n)+'"]'}function sc(n){return"script[async]"+n}function b8(n,r,l){if(r.count++,r.instance===null)switch(r.type){case"style":var c=n.querySelector('style[data-href~="'+aa(l.href)+'"]');if(c)return r.instance=c,jt(c),c;var m=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),jt(c),sa(c,"style",m),e1(c,l.precedence,n),r.instance=c;case"stylesheet":m=Rl(l.href);var v=n.querySelector(ic(m));if(v)return r.state.loading|=4,r.instance=v,jt(v),v;c=y8(l),(m=ir.get(m))&&A0(c,m),v=(n.ownerDocument||n).createElement("link"),jt(v);var C=v;return C._p=new Promise(function(_,W){C.onload=_,C.onerror=W}),sa(v,"link",c),r.state.loading|=4,e1(v,l.precedence,n),r.instance=v;case"script":return v=Il(l.src),(m=n.querySelector(sc(v)))?(r.instance=m,jt(m),m):(c=l,(m=ir.get(v))&&(c=y({},l),w0(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),jt(m),sa(m,"link",c),n.head.appendChild(m),r.instance=m);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,e1(c,l.precedence,n));return r.instance}function e1(n,r,l){for(var c=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,v=m,C=0;C<c.length;C++){var _=c[C];if(_.dataset.precedence===r)v=_;else if(v!==m)break}v?v.parentNode.insertBefore(n,v.nextSibling):(r=l.nodeType===9?l.head:l,r.insertBefore(n,r.firstChild))}function A0(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function w0(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var t1=null;function S8(n,r,l){if(t1===null){var c=new Map,m=t1=new Map;m.set(l,c)}else m=t1,c=m.get(l),c||(c=new Map,m.set(l,c));if(c.has(n))return c;for(c.set(n,null),l=l.getElementsByTagName(n),m=0;m<l.length;m++){var v=l[m];if(!(v[Vt]||v[ye]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(r)||"";C=n+C;var _=c.get(C);_?_.push(v):c.set(C,[v])}}return c}function E8(n,r,l){n=n.ownerDocument||n,n.head.insertBefore(l,r==="title"?n.querySelector("head > title"):null)}function mT(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 A8(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var lc=null;function pT(){}function gT(n,r,l){if(lc===null)throw Error(i(475));var c=lc;if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var m=Rl(l.href),v=n.querySelector(ic(m));if(v){n=v._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(c.count++,c=n1.bind(c),n.then(c,c)),r.state.loading|=4,r.instance=v,jt(v);return}v=n.ownerDocument||n,l=y8(l),(m=ir.get(m))&&A0(l,m),v=v.createElement("link"),jt(v);var C=v;C._p=new Promise(function(_,W){C.onload=_,C.onerror=W}),sa(v,"link",l),r.instance=v}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(r,n),(n=r.state.preload)&&(r.state.loading&3)===0&&(c.count++,r=n1.bind(c),n.addEventListener("load",r),n.addEventListener("error",r))}}function vT(){if(lc===null)throw Error(i(475));var n=lc;return n.stylesheets&&n.count===0&&x0(n,n.stylesheets),0<n.count?function(r){var l=setTimeout(function(){if(n.stylesheets&&x0(n,n.stylesheets),n.unsuspend){var c=n.unsuspend;n.unsuspend=null,c()}},6e4);return n.unsuspend=r,function(){n.unsuspend=null,clearTimeout(l)}}:null}function n1(){if(this.count--,this.count===0){if(this.stylesheets)x0(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var a1=null;function x0(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,a1=new Map,r.forEach(yT,n),a1=null,n1.call(n))}function yT(n,r){if(!(r.state.loading&4)){var l=a1.get(n);if(l)var c=l.get(null);else{l=new Map,a1.set(n,l);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<m.length;v++){var C=m[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(l.set(C.dataset.precedence,C),c=C)}c&&l.set(null,c)}m=r.instance,C=m.getAttribute("data-precedence"),v=l.get(C)||c,v===c&&l.set(null,m),l.set(C,m),this.count++,c=n1.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),v?v.parentNode.insertBefore(m,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),r.state.loading|=4}}var oc={$$typeof:z,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function bT(n,r,l,c,m,v,C,_){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=Nn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nn(0),this.hiddenUpdates=Nn(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function w8(n,r,l,c,m,v,C,_,W,ae,ue,de){return n=new bT(n,r,l,C,_,W,ae,de),r=1,v===!0&&(r|=24),v=Ha(3,null,null,r),n.current=v,v.stateNode=n,r=id(),r.refCount++,n.pooledCache=r,r.refCount++,v.memoizedState={element:c,isDehydrated:l,cache:r},cd(v),n}function x8(n){return n?(n=sl,n):sl}function C8(n,r,l,c,m,v){m=x8(m),c.context===null?c.context=m:c.pendingContext=m,c=Ui(r),c.payload={element:l},v=v===void 0?null:v,v!==null&&(c.callback=v),l=zi(n,c,r),l!==null&&(Za(l,n,r),zo(l,n,r))}function T8(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function C0(n,r){T8(n,r),(n=n.alternate)&&T8(n,r)}function O8(n){if(n.tag===13){var r=il(n,67108864);r!==null&&Za(r,n,67108864),C0(n,67108864)}}var r1=!0;function ST(n,r,l,c){var m=I.T;I.T=null;var v=V.p;try{V.p=2,T0(n,r,l,c)}finally{V.p=v,I.T=m}}function ET(n,r,l,c){var m=I.T;I.T=null;var v=V.p;try{V.p=8,T0(n,r,l,c)}finally{V.p=v,I.T=m}}function T0(n,r,l,c){if(r1){var m=O0(c);if(m===null)h0(n,r,c,i1,l),I8(n,c);else if(wT(m,n,r,l,c))c.stopPropagation();else if(I8(n,c),r&4&&-1<AT.indexOf(n)){for(;m!==null;){var v=xt(m);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=lt(v.pendingLanes);if(C!==0){var _=v;for(_.pendingLanes|=2,_.entangledLanes|=2;C;){var W=1<<31-Pt(C);_.entanglements[1]|=W,C&=~W}Vr(v),(Gt&6)===0&&(Bu=ht()+500,tc(0))}}break;case 13:_=il(v,2),_!==null&&Za(_,v,2),Vu(),C0(v,2)}if(v=O0(c),v===null&&h0(n,r,c,i1,l),v===m)break;m=v}m!==null&&c.stopPropagation()}else h0(n,r,c,null,l)}}function O0(n){return n=Xs(n),R0(n)}var i1=null;function R0(n){if(i1=null,n=ft(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===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return i1=n,null}function R8(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(ut()){case Ze:return 2;case et:return 8;case gn:case We:return 32;case Ae:return 268435456;default:return 32}default:return 32}}var I0=!1,Ji=null,Xi=null,$i=null,cc=new Map,uc=new Map,es=[],AT="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 I8(n,r){switch(n){case"focusin":case"focusout":Ji=null;break;case"dragenter":case"dragleave":Xi=null;break;case"mouseover":case"mouseout":$i=null;break;case"pointerover":case"pointerout":cc.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":uc.delete(r.pointerId)}}function fc(n,r,l,c,m,v){return n===null||n.nativeEvent!==v?(n={blockedOn:r,domEventName:l,eventSystemFlags:c,nativeEvent:v,targetContainers:[m]},r!==null&&(r=xt(r),r!==null&&O8(r)),n):(n.eventSystemFlags|=c,r=n.targetContainers,m!==null&&r.indexOf(m)===-1&&r.push(m),n)}function wT(n,r,l,c,m){switch(r){case"focusin":return Ji=fc(Ji,n,r,l,c,m),!0;case"dragenter":return Xi=fc(Xi,n,r,l,c,m),!0;case"mouseover":return $i=fc($i,n,r,l,c,m),!0;case"pointerover":var v=m.pointerId;return cc.set(v,fc(cc.get(v)||null,n,r,l,c,m)),!0;case"gotpointercapture":return v=m.pointerId,uc.set(v,fc(uc.get(v)||null,n,r,l,c,m)),!0}return!1}function M8(n){var r=ft(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,yt(n.priority,function(){if(l.tag===13){var c=Ga();c=Jt(c);var m=il(l,c);m!==null&&Za(m,l,c),C0(l,c)}});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function s1(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=O0(n.nativeEvent);if(l===null){l=n.nativeEvent;var c=new l.constructor(l.type,l);So=c,l.target.dispatchEvent(c),So=null}else return r=xt(l),r!==null&&O8(r),n.blockedOn=l,!1;r.shift()}return!0}function N8(n,r,l){s1(n)&&l.delete(r)}function xT(){I0=!1,Ji!==null&&s1(Ji)&&(Ji=null),Xi!==null&&s1(Xi)&&(Xi=null),$i!==null&&s1($i)&&($i=null),cc.forEach(N8),uc.forEach(N8)}function l1(n,r){n.blockedOn===r&&(n.blockedOn=null,I0||(I0=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,xT)))}var o1=null;function D8(n){o1!==n&&(o1=n,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){o1===n&&(o1=null);for(var r=0;r<n.length;r+=3){var l=n[r],c=n[r+1],m=n[r+2];if(typeof c!="function"){if(R0(c||l)===null)continue;break}var v=xt(l);v!==null&&(n.splice(r,3),r-=3,Rd(v,{pending:!0,data:m,method:l.method,action:c},c,m))}}))}function dc(n){function r(W){return l1(W,n)}Ji!==null&&l1(Ji,n),Xi!==null&&l1(Xi,n),$i!==null&&l1($i,n),cc.forEach(r),uc.forEach(r);for(var l=0;l<es.length;l++){var c=es[l];c.blockedOn===n&&(c.blockedOn=null)}for(;0<es.length&&(l=es[0],l.blockedOn===null);)M8(l),l.blockedOn===null&&es.shift();if(l=(n.ownerDocument||n).$$reactFormReplay,l!=null)for(c=0;c<l.length;c+=3){var m=l[c],v=l[c+1],C=m[xe]||null;if(typeof v=="function")C||D8(l);else if(C){var _=null;if(v&&v.hasAttribute("formAction")){if(m=v,C=v[xe]||null)_=C.formAction;else if(R0(m)!==null)continue}else _=C.action;typeof _=="function"?l[c+1]=_:(l.splice(c,3),c-=3),D8(l)}}}function M0(n){this._internalRoot=n}c1.prototype.render=M0.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(i(409));var l=r.current,c=Ga();C8(l,c,n,r,null,null)},c1.prototype.unmount=M0.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;C8(n.current,2,null,n,null,null),Vu(),r[Ie]=null}};function c1(n){this._internalRoot=n}c1.prototype.unstable_scheduleHydration=function(n){if(n){var r=nt();n={blockedOn:null,target:n,priority:r};for(var l=0;l<es.length&&r!==0&&r<es[l].priority;l++);es.splice(l,0,n),l===0&&M8(n)}};var j8=e.version;if(j8!=="19.1.1")throw Error(i(527,j8,"19.1.1"));V.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=f(r),n=n!==null?p(n):null,n=n===null?null:n.stateNode,n};var CT={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var u1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!u1.isDisabled&&u1.supportsFiber)try{Xe=u1.inject(CT),st=u1}catch{}}return mc.createRoot=function(n,r){if(!s(n))throw Error(i(299));var l=!1,c="",m=Q4,v=K4,C=J4,_=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(m=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(C=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(_=r.unstable_transitionCallbacks)),r=w8(n,1,!1,null,null,l,c,m,v,C,_,null),n[Ie]=r.current,d0(n),new M0(r)},mc.hydrateRoot=function(n,r,l){if(!s(n))throw Error(i(299));var c=!1,m="",v=Q4,C=K4,_=J4,W=null,ae=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(C=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(W=l.unstable_transitionCallbacks),l.formState!==void 0&&(ae=l.formState)),r=w8(n,1,!0,r,l??null,c,m,v,C,_,W,ae),r.context=x8(null),l=r.current,c=Ga(),c=Jt(c),m=Ui(c),m.callback=null,zi(l,m,c),l=c,r.current.lanes=l,wt(r,l),Vr(r),n[Ie]=r.current,d0(n),new c1(r)},mc.version="19.1.1",mc}var F8;function kT(){if(F8)return D0.exports;F8=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(),D0.exports=LT(),D0.exports}var _T=kT(),g=ff();const ne=pr(g),V8=OT({__proto__:null,default:ne},[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 U0,G8;function Z8(){if(G8)return U0;G8=1;const{entries:t,setPrototypeOf:e,isFrozen:a,getPrototypeOf:i,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:u,create:d}=Object,{apply:f,construct:p}=typeof Reflect<"u"&&Reflect;o||(o=function(Ae){return Ae}),u||(u=function(Ae){return Ae}),f||(f=function(Ae,Ve){for(var _e=arguments.length,Xe=new Array(_e>2?_e-2:0),st=2;st<_e;st++)Xe[st-2]=arguments[st];return Ae.apply(Ve,Xe)}),p||(p=function(Ae){for(var Ve=arguments.length,_e=new Array(Ve>1?Ve-1:0),Xe=1;Xe<Ve;Xe++)_e[Xe-1]=arguments[Xe];return new Ae(..._e)});const y=E(Array.prototype.forEach),b=E(Array.prototype.lastIndexOf),A=E(Array.prototype.pop),w=E(Array.prototype.push),T=E(Array.prototype.splice),N=E(String.prototype.toLowerCase),j=E(String.prototype.toString),D=E(String.prototype.match),x=E(String.prototype.replace),z=E(String.prototype.indexOf),G=E(String.prototype.trim),M=E(Object.prototype.hasOwnProperty),H=E(RegExp.prototype.test),Z=O(TypeError);function E(We){return function(Ae){Ae instanceof RegExp&&(Ae.lastIndex=0);for(var Ve=arguments.length,_e=new Array(Ve>1?Ve-1:0),Xe=1;Xe<Ve;Xe++)_e[Xe-1]=arguments[Xe];return f(We,Ae,_e)}}function O(We){return function(){for(var Ae=arguments.length,Ve=new Array(Ae),_e=0;_e<Ae;_e++)Ve[_e]=arguments[_e];return p(We,Ve)}}function R(We,Ae){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N;e&&e(We,null);let _e=Ae.length;for(;_e--;){let Xe=Ae[_e];if(typeof Xe=="string"){const st=Ve(Xe);st!==Xe&&(a(Ae)||(Ae[_e]=st),Xe=st)}We[Xe]=!0}return We}function B(We){for(let Ae=0;Ae<We.length;Ae++)M(We,Ae)||(We[Ae]=null);return We}function L(We){const Ae=d(null);for(const[Ve,_e]of t(We))M(We,Ve)&&(Array.isArray(_e)?Ae[Ve]=B(_e):_e&&typeof _e=="object"&&_e.constructor===Object?Ae[Ve]=L(_e):Ae[Ve]=_e);return Ae}function U(We,Ae){for(;We!==null;){const _e=s(We,Ae);if(_e){if(_e.get)return E(_e.get);if(typeof _e.value=="function")return E(_e.value)}We=i(We)}function Ve(){return null}return Ve}const F=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"]),P=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"]),I=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"]),V=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"]),J=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),q=o(["#text"]),Y=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"]),re=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"]),ge=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),he=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pe=u(/<%[\w\W]*|[\w\W]*%>/gm),Ne=u(/\$\{[\w\W]*/gm),ke=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Pe=u(/^aria-[\-\w]+$/),en=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ct=u(/^(?:\w+script|data):/i),gt=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vt=u(/^html$/i),Qe=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var we=Object.freeze({__proto__:null,ARIA_ATTR:Pe,ATTR_WHITESPACE:gt,CUSTOM_ELEMENT:Qe,DATA_ATTR:ke,DOCTYPE_NAME:vt,ERB_EXPR:pe,IS_ALLOWED_URI:en,IS_SCRIPT_OR_DATA:ct,MUSTACHE_EXPR:he,TMPLIT_EXPR:Ne});const He={element:1,text:3,progressingInstruction:7,comment:8,document:9},ht=function(){return typeof window>"u"?null:window},ut=function(Ae,Ve){if(typeof Ae!="object"||typeof Ae.createPolicy!="function")return null;let _e=null;const Xe="data-tt-policy-suffix";Ve&&Ve.hasAttribute(Xe)&&(_e=Ve.getAttribute(Xe));const st="dompurify"+(_e?"#"+_e:"");try{return Ae.createPolicy(st,{createHTML(tn){return tn},createScriptURL(tn){return tn}})}catch{return console.warn("TrustedTypes policy "+st+" could not be created."),null}},Ze=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function et(){let We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ht();const Ae=Ce=>et(Ce);if(Ae.version="3.2.7",Ae.removed=[],!We||!We.document||We.document.nodeType!==He.document||!We.Element)return Ae.isSupported=!1,Ae;let{document:Ve}=We;const _e=Ve,Xe=_e.currentScript,{DocumentFragment:st,HTMLTemplateElement:tn,Node:Pt,Element:$n,NodeFilter:ua,NamedNodeMap:ea=We.NamedNodeMap||We.MozNamedAttrMap,HTMLFormElement:xn,DOMParser:Ht,trustedTypes:lt}=We,Cn=$n.prototype,Tn=U(Cn,"cloneNode"),Oa=U(Cn,"remove"),ta=U(Cn,"nextSibling"),Bn=U(Cn,"childNodes"),Nn=U(Cn,"parentNode");if(typeof tn=="function"){const Ce=Ve.createElement("template");Ce.content&&Ce.content.ownerDocument&&(Ve=Ce.content.ownerDocument)}let wt,na="";const{implementation:ya,createNodeIterator:tt,createDocumentFragment:Jt,getElementsByTagName:je}=Ve,{importNode:nt}=_e;let yt=Ze();Ae.isSupported=typeof t=="function"&&typeof Nn=="function"&&ya&&ya.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:sn,ERB_EXPR:ye,TMPLIT_EXPR:xe,DATA_ATTR:Ie,ARIA_ATTR:Ct,IS_SCRIPT_OR_DATA:ln,ATTR_WHITESPACE:Dn,CUSTOM_ELEMENT:On}=we;let{IS_ALLOWED_URI:Vt}=we,Ke=null;const ft=R({},[...F,...P,...I,...k,...q]);let xt=null;const ba=R({},[...Y,...re,...le,...ge]);let Tt=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}})),jt=null,Te=null,Q=!0,me=!0,Se=!1,De=!0,mt=!1,Ot=!0,Mt=!1,vn=!1,Rn=!1,ee=!1,ce=!1,ve=!1,Oe=!0,at=!1;const Nt="user-content-";let Wn=!0,fa=!1,Fn={},ai=null;const iu=R({},["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 ds=null;const yo=R({},["audio","video","img","source","image","track"]);let Di=null;const su=R({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),aa="http://www.w3.org/1998/Math/MathML",ji="http://www.w3.org/2000/svg",Ja="http://www.w3.org/1999/xhtml";let Ur=Ja,zr=!1,Ks=null;const lu=R({},[aa,ji,Ja],j);let gr=R({},["mi","mo","mn","ms","mtext"]),Js=R({},["annotation-xml"]);const ou=R({},["title","style","font","a","script"]);let Li=null;const bo=["application/xhtml+xml","text/html"],zf="text/html";let jn=null,vr=null;const So=Ve.createElement("form"),Xs=function(K){return K instanceof RegExp||K instanceof Function},qr=function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(vr&&vr===K)){if((!K||typeof K!="object")&&(K={}),K=L(K),Li=bo.indexOf(K.PARSER_MEDIA_TYPE)===-1?zf:K.PARSER_MEDIA_TYPE,jn=Li==="application/xhtml+xml"?j:N,Ke=M(K,"ALLOWED_TAGS")?R({},K.ALLOWED_TAGS,jn):ft,xt=M(K,"ALLOWED_ATTR")?R({},K.ALLOWED_ATTR,jn):ba,Ks=M(K,"ALLOWED_NAMESPACES")?R({},K.ALLOWED_NAMESPACES,j):lu,Di=M(K,"ADD_URI_SAFE_ATTR")?R(L(su),K.ADD_URI_SAFE_ATTR,jn):su,ds=M(K,"ADD_DATA_URI_TAGS")?R(L(yo),K.ADD_DATA_URI_TAGS,jn):yo,ai=M(K,"FORBID_CONTENTS")?R({},K.FORBID_CONTENTS,jn):iu,jt=M(K,"FORBID_TAGS")?R({},K.FORBID_TAGS,jn):L({}),Te=M(K,"FORBID_ATTR")?R({},K.FORBID_ATTR,jn):L({}),Fn=M(K,"USE_PROFILES")?K.USE_PROFILES:!1,Q=K.ALLOW_ARIA_ATTR!==!1,me=K.ALLOW_DATA_ATTR!==!1,Se=K.ALLOW_UNKNOWN_PROTOCOLS||!1,De=K.ALLOW_SELF_CLOSE_IN_ATTR!==!1,mt=K.SAFE_FOR_TEMPLATES||!1,Ot=K.SAFE_FOR_XML!==!1,Mt=K.WHOLE_DOCUMENT||!1,ee=K.RETURN_DOM||!1,ce=K.RETURN_DOM_FRAGMENT||!1,ve=K.RETURN_TRUSTED_TYPE||!1,Rn=K.FORCE_BODY||!1,Oe=K.SANITIZE_DOM!==!1,at=K.SANITIZE_NAMED_PROPS||!1,Wn=K.KEEP_CONTENT!==!1,fa=K.IN_PLACE||!1,Vt=K.ALLOWED_URI_REGEXP||en,Ur=K.NAMESPACE||Ja,gr=K.MATHML_TEXT_INTEGRATION_POINTS||gr,Js=K.HTML_INTEGRATION_POINTS||Js,Tt=K.CUSTOM_ELEMENT_HANDLING||{},K.CUSTOM_ELEMENT_HANDLING&&Xs(K.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Tt.tagNameCheck=K.CUSTOM_ELEMENT_HANDLING.tagNameCheck),K.CUSTOM_ELEMENT_HANDLING&&Xs(K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Tt.attributeNameCheck=K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),K.CUSTOM_ELEMENT_HANDLING&&typeof K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Tt.allowCustomizedBuiltInElements=K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mt&&(me=!1),ce&&(ee=!0),Fn&&(Ke=R({},q),xt=[],Fn.html===!0&&(R(Ke,F),R(xt,Y)),Fn.svg===!0&&(R(Ke,P),R(xt,re),R(xt,ge)),Fn.svgFilters===!0&&(R(Ke,I),R(xt,re),R(xt,ge)),Fn.mathMl===!0&&(R(Ke,k),R(xt,le),R(xt,ge))),K.ADD_TAGS&&(Ke===ft&&(Ke=L(Ke)),R(Ke,K.ADD_TAGS,jn)),K.ADD_ATTR&&(xt===ba&&(xt=L(xt)),R(xt,K.ADD_ATTR,jn)),K.ADD_URI_SAFE_ATTR&&R(Di,K.ADD_URI_SAFE_ATTR,jn),K.FORBID_CONTENTS&&(ai===iu&&(ai=L(ai)),R(ai,K.FORBID_CONTENTS,jn)),Wn&&(Ke["#text"]=!0),Mt&&R(Ke,["html","head","body"]),Ke.table&&(R(Ke,["tbody"]),delete jt.tbody),K.TRUSTED_TYPES_POLICY){if(typeof K.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof K.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');wt=K.TRUSTED_TYPES_POLICY,na=wt.createHTML("")}else wt===void 0&&(wt=ut(lt,Xe)),wt!==null&&typeof na=="string"&&(na=wt.createHTML(""));o&&o(K),vr=K}},ri=R({},[...P,...I,...V]),Eo=R({},[...k,...J]),Ao=function(K){let be=Nn(K);(!be||!be.tagName)&&(be={namespaceURI:Ur,tagName:"template"});const Re=N(K.tagName),nn=N(be.tagName);return Ks[K.namespaceURI]?K.namespaceURI===ji?be.namespaceURI===Ja?Re==="svg":be.namespaceURI===aa?Re==="svg"&&(nn==="annotation-xml"||gr[nn]):!!ri[Re]:K.namespaceURI===aa?be.namespaceURI===Ja?Re==="math":be.namespaceURI===ji?Re==="math"&&Js[nn]:!!Eo[Re]:K.namespaceURI===Ja?be.namespaceURI===ji&&!Js[nn]||be.namespaceURI===aa&&!gr[nn]?!1:!Eo[Re]&&(ou[Re]||!ri[Re]):!!(Li==="application/xhtml+xml"&&Ks[K.namespaceURI]):!1},Ua=function(K){w(Ae.removed,{element:K});try{Nn(K).removeChild(K)}catch{Oa(K)}},za=function(K,be){try{w(Ae.removed,{attribute:be.getAttributeNode(K),from:be})}catch{w(Ae.removed,{attribute:null,from:be})}if(be.removeAttribute(K),K==="is")if(ee||ce)try{Ua(be)}catch{}else try{be.setAttribute(K,"")}catch{}},Xa=function(K){let be=null,Re=null;if(Rn)K="<remove></remove>"+K;else{const cn=D(K,/^[\r\n\t ]+/);Re=cn&&cn[0]}Li==="application/xhtml+xml"&&Ur===Ja&&(K='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+K+"</body></html>");const nn=wt?wt.createHTML(K):K;if(Ur===Ja)try{be=new Ht().parseFromString(nn,Li)}catch{}if(!be||!be.documentElement){be=ya.createDocument(Ur,"template",null);try{be.documentElement.innerHTML=zr?na:nn}catch{}}const Ln=be.body||be.documentElement;return K&&Re&&Ln.insertBefore(Ve.createTextNode(Re),Ln.childNodes[0]||null),Ur===Ja?je.call(be,Mt?"html":"body")[0]:Mt?be.documentElement:Ln},$s=function(K){return tt.call(K.ownerDocument||K,K,ua.SHOW_ELEMENT|ua.SHOW_COMMENT|ua.SHOW_TEXT|ua.SHOW_PROCESSING_INSTRUCTION|ua.SHOW_CDATA_SECTION,null)},ii=function(K){return K instanceof xn&&(typeof K.nodeName!="string"||typeof K.textContent!="string"||typeof K.removeChild!="function"||!(K.attributes instanceof ea)||typeof K.removeAttribute!="function"||typeof K.setAttribute!="function"||typeof K.namespaceURI!="string"||typeof K.insertBefore!="function"||typeof K.hasChildNodes!="function")},yr=function(K){return typeof Pt=="function"&&K instanceof Pt};function qa(Ce,K,be){y(Ce,Re=>{Re.call(Ae,K,be,vr)})}const hs=function(K){let be=null;if(qa(yt.beforeSanitizeElements,K,null),ii(K))return Ua(K),!0;const Re=jn(K.nodeName);if(qa(yt.uponSanitizeElement,K,{tagName:Re,allowedTags:Ke}),Ot&&K.hasChildNodes()&&!yr(K.firstElementChild)&&H(/<[/\w!]/g,K.innerHTML)&&H(/<[/\w!]/g,K.textContent)||K.nodeType===He.progressingInstruction||Ot&&K.nodeType===He.comment&&H(/<[/\w]/g,K.data))return Ua(K),!0;if(!Ke[Re]||jt[Re]){if(!jt[Re]&&ms(Re)&&(Tt.tagNameCheck instanceof RegExp&&H(Tt.tagNameCheck,Re)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(Re)))return!1;if(Wn&&!ai[Re]){const nn=Nn(K)||K.parentNode,Ln=Bn(K)||K.childNodes;if(Ln&&nn){const cn=Ln.length;for(let kn=cn-1;kn>=0;--kn){const Ra=Tn(Ln[kn],!0);Ra.__removalCount=(K.__removalCount||0)+1,nn.insertBefore(Ra,ta(K))}}}return Ua(K),!0}return K instanceof $n&&!Ao(K)||(Re==="noscript"||Re==="noembed"||Re==="noframes")&&H(/<\/no(script|embed|frames)/i,K.innerHTML)?(Ua(K),!0):(mt&&K.nodeType===He.text&&(be=K.textContent,y([sn,ye,xe],nn=>{be=x(be,nn," ")}),K.textContent!==be&&(w(Ae.removed,{element:K.cloneNode()}),K.textContent=be)),qa(yt.afterSanitizeElements,K,null),!1)},wo=function(K,be,Re){if(Oe&&(be==="id"||be==="name")&&(Re in Ve||Re in So))return!1;if(!(me&&!Te[be]&&H(Ie,be))){if(!(Q&&H(Ct,be))){if(!xt[be]||Te[be]){if(!(ms(K)&&(Tt.tagNameCheck instanceof RegExp&&H(Tt.tagNameCheck,K)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(K))&&(Tt.attributeNameCheck instanceof RegExp&&H(Tt.attributeNameCheck,be)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(be,K))||be==="is"&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&H(Tt.tagNameCheck,Re)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(Re))))return!1}else if(!Di[be]){if(!H(Vt,x(Re,Dn,""))){if(!((be==="src"||be==="xlink:href"||be==="href")&&K!=="script"&&z(Re,"data:")===0&&ds[K])){if(!(Se&&!H(ln,x(Re,Dn,"")))){if(Re)return!1}}}}}}return!0},ms=function(K){return K!=="annotation-xml"&&D(K,On)},ps=function(K){qa(yt.beforeSanitizeAttributes,K,null);const{attributes:be}=K;if(!be||ii(K))return;const Re={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xt,forceKeepAttr:void 0};let nn=be.length;for(;nn--;){const Ln=be[nn],{name:cn,namespaceURI:kn,value:Ra}=Ln,si=jn(cn),xo=Ra;let Vn=cn==="value"?xo:G(xo);if(Re.attrName=si,Re.attrValue=Vn,Re.keepAttr=!0,Re.forceKeepAttr=void 0,qa(yt.uponSanitizeAttribute,K,Re),Vn=Re.attrValue,at&&(si==="id"||si==="name")&&(za(cn,K),Vn=Nt+Vn),Ot&&H(/((--!?|])>)|<\/(style|title|textarea)/i,Vn)){za(cn,K);continue}if(si==="attributename"&&D(Vn,"href")){za(cn,K);continue}if(Re.forceKeepAttr)continue;if(!Re.keepAttr){za(cn,K);continue}if(!De&&H(/\/>/i,Vn)){za(cn,K);continue}mt&&y([sn,ye,xe],el=>{Vn=x(Vn,el," ")});const uu=jn(K.nodeName);if(!wo(uu,si,Vn)){za(cn,K);continue}if(wt&&typeof lt=="object"&&typeof lt.getAttributeType=="function"&&!kn)switch(lt.getAttributeType(uu,si)){case"TrustedHTML":{Vn=wt.createHTML(Vn);break}case"TrustedScriptURL":{Vn=wt.createScriptURL(Vn);break}}if(Vn!==xo)try{kn?K.setAttributeNS(kn,cn,Vn):K.setAttribute(cn,Vn),ii(K)?Ua(K):A(Ae.removed)}catch{za(cn,K)}}qa(yt.afterSanitizeAttributes,K,null)},cu=function Ce(K){let be=null;const Re=$s(K);for(qa(yt.beforeSanitizeShadowDOM,K,null);be=Re.nextNode();)qa(yt.uponSanitizeShadowNode,be,null),hs(be),ps(be),be.content instanceof st&&Ce(be.content);qa(yt.afterSanitizeShadowDOM,K,null)};return Ae.sanitize=function(Ce){let K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},be=null,Re=null,nn=null,Ln=null;if(zr=!Ce,zr&&(Ce="<!-->"),typeof Ce!="string"&&!yr(Ce))if(typeof Ce.toString=="function"){if(Ce=Ce.toString(),typeof Ce!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!Ae.isSupported)return Ce;if(vn||qr(K),Ae.removed=[],typeof Ce=="string"&&(fa=!1),fa){if(Ce.nodeName){const Ra=jn(Ce.nodeName);if(!Ke[Ra]||jt[Ra])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(Ce instanceof Pt)be=Xa("<!---->"),Re=be.ownerDocument.importNode(Ce,!0),Re.nodeType===He.element&&Re.nodeName==="BODY"||Re.nodeName==="HTML"?be=Re:be.appendChild(Re);else{if(!ee&&!mt&&!Mt&&Ce.indexOf("<")===-1)return wt&&ve?wt.createHTML(Ce):Ce;if(be=Xa(Ce),!be)return ee?null:ve?na:""}be&&Rn&&Ua(be.firstChild);const cn=$s(fa?Ce:be);for(;nn=cn.nextNode();)hs(nn),ps(nn),nn.content instanceof st&&cu(nn.content);if(fa)return Ce;if(ee){if(ce)for(Ln=Jt.call(be.ownerDocument);be.firstChild;)Ln.appendChild(be.firstChild);else Ln=be;return(xt.shadowroot||xt.shadowrootmode)&&(Ln=nt.call(_e,Ln,!0)),Ln}let kn=Mt?be.outerHTML:be.innerHTML;return Mt&&Ke["!doctype"]&&be.ownerDocument&&be.ownerDocument.doctype&&be.ownerDocument.doctype.name&&H(vt,be.ownerDocument.doctype.name)&&(kn="<!DOCTYPE "+be.ownerDocument.doctype.name+`>
`+kn),mt&&y([sn,ye,xe],Ra=>{kn=x(kn,Ra," ")}),wt&&ve?wt.createHTML(kn):kn},Ae.setConfig=function(){let Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qr(Ce),vn=!0},Ae.clearConfig=function(){vr=null,vn=!1},Ae.isValidAttribute=function(Ce,K,be){vr||qr({});const Re=jn(Ce),nn=jn(K);return wo(Re,nn,be)},Ae.addHook=function(Ce,K){typeof K=="function"&&w(yt[Ce],K)},Ae.removeHook=function(Ce,K){if(K!==void 0){const be=b(yt[Ce],K);return be===-1?void 0:T(yt[Ce],be,1)[0]}return A(yt[Ce])},Ae.removeHooks=function(Ce){yt[Ce]=[]},Ae.removeAllHooks=function(){yt=Ze()},Ae}var gn=et();return U0=gn,U0}var z0,W8;function UT(){return W8||(W8=1,z0=window.DOMPurify||(window.DOMPurify=Z8().default||Z8())),z0}var zT=UT();const qT=pr(zT),Kl=Math.min,qs=Math.max,Z1=Math.round,d1=Math.floor,Qr=t=>({x:t,y:t}),PT={left:"right",right:"left",bottom:"top",top:"bottom"},HT={start:"end",end:"start"};function ip(t,e,a){return qs(t,Kl(e,a))}function Gc(t,e){return typeof t=="function"?t(e):t}function Hs(t){return t.split("-")[0]}function Zc(t){return t.split("-")[1]}function hE(t){return t==="x"?"y":"x"}function u6(t){return t==="y"?"height":"width"}const BT=new Set(["top","bottom"]);function cs(t){return BT.has(Hs(t))?"y":"x"}function f6(t){return hE(cs(t))}function FT(t,e,a){a===void 0&&(a=!1);const i=Zc(t),s=f6(t),o=u6(s);let u=s==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(u=W1(u)),[u,W1(u)]}function VT(t){const e=W1(t);return[sp(t),e,sp(e)]}function sp(t){return t.replace(/start|end/g,e=>HT[e])}const Y8=["left","right"],Q8=["right","left"],GT=["top","bottom"],ZT=["bottom","top"];function WT(t,e,a){switch(t){case"top":case"bottom":return a?e?Q8:Y8:e?Y8:Q8;case"left":case"right":return e?GT:ZT;default:return[]}}function YT(t,e,a,i){const s=Zc(t);let o=WT(Hs(t),a==="start",i);return s&&(o=o.map(u=>u+"-"+s),e&&(o=o.concat(o.map(sp)))),o}function W1(t){return t.replace(/left|right|bottom|top/g,e=>PT[e])}function QT(t){return{top:0,right:0,bottom:0,left:0,...t}}function mE(t){return typeof t!="number"?QT(t):{top:t,right:t,bottom:t,left:t}}function Y1(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 K8(t,e,a){let{reference:i,floating:s}=t;const o=cs(e),u=f6(e),d=u6(u),f=Hs(e),p=o==="y",y=i.x+i.width/2-s.width/2,b=i.y+i.height/2-s.height/2,A=i[d]/2-s[d]/2;let w;switch(f){case"top":w={x:y,y:i.y-s.height};break;case"bottom":w={x:y,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:b};break;case"left":w={x:i.x-s.width,y:b};break;default:w={x:i.x,y:i.y}}switch(Zc(e)){case"start":w[u]-=A*(a&&p?-1:1);break;case"end":w[u]+=A*(a&&p?-1:1);break}return w}const KT=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 p=await u.getElementRects({reference:t,floating:e,strategy:s}),{x:y,y:b}=K8(p,i,f),A=i,w={},T=0;for(let N=0;N<d.length;N++){const{name:j,fn:D}=d[N],{x,y:z,data:G,reset:M}=await D({x:y,y:b,initialPlacement:i,placement:A,strategy:s,middlewareData:w,rects:p,platform:u,elements:{reference:t,floating:e}});y=x??y,b=z??b,w={...w,[j]:{...w[j],...G}},M&&T<=50&&(T++,typeof M=="object"&&(M.placement&&(A=M.placement),M.rects&&(p=M.rects===!0?await u.getElementRects({reference:t,floating:e,strategy:s}):M.rects),{x:y,y:b}=K8(p,A,f)),N=-1)}return{x:y,y:b,placement:A,strategy:s,middlewareData:w}};async function pE(t,e){var a;e===void 0&&(e={});const{x:i,y:s,platform:o,rects:u,elements:d,strategy:f}=t,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:b="floating",altBoundary:A=!1,padding:w=0}=Gc(e,t),T=mE(w),j=d[A?b==="floating"?"reference":"floating":b],D=Y1(await o.getClippingRect({element:(a=await(o.isElement==null?void 0:o.isElement(j)))==null||a?j:j.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(d.floating)),boundary:p,rootBoundary:y,strategy:f})),x=b==="floating"?{x:i,y:s,width:u.floating.width,height:u.floating.height}:u.reference,z=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d.floating)),G=await(o.isElement==null?void 0:o.isElement(z))?await(o.getScale==null?void 0:o.getScale(z))||{x:1,y:1}:{x:1,y:1},M=Y1(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:x,offsetParent:z,strategy:f}):x);return{top:(D.top-M.top+T.top)/G.y,bottom:(M.bottom-D.bottom+T.bottom)/G.y,left:(D.left-M.left+T.left)/G.x,right:(M.right-D.right+T.right)/G.x}}const JT=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:p,padding:y=0}=Gc(t,e)||{};if(p==null)return{};const b=mE(y),A={x:a,y:i},w=f6(s),T=u6(w),N=await u.getDimensions(p),j=w==="y",D=j?"top":"left",x=j?"bottom":"right",z=j?"clientHeight":"clientWidth",G=o.reference[T]+o.reference[w]-A[w]-o.floating[T],M=A[w]-o.reference[w],H=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let Z=H?H[z]:0;(!Z||!await(u.isElement==null?void 0:u.isElement(H)))&&(Z=d.floating[z]||o.floating[T]);const E=G/2-M/2,O=Z/2-N[T]/2-1,R=Kl(b[D],O),B=Kl(b[x],O),L=R,U=Z-N[T]-B,F=Z/2-N[T]/2+E,P=ip(L,F,U),I=!f.arrow&&Zc(s)!=null&&F!==P&&o.reference[T]/2-(F<L?R:B)-N[T]/2<0,V=I?F<L?F-L:F-U:0;return{[w]:A[w]+V,data:{[w]:P,centerOffset:F-P-V,...I&&{alignmentOffset:V}},reset:I}}}),XT=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:p}=e,{mainAxis:y=!0,crossAxis:b=!0,fallbackPlacements:A,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:N=!0,...j}=Gc(t,e);if((a=o.arrow)!=null&&a.alignmentOffset)return{};const D=Hs(s),x=cs(d),z=Hs(d)===d,G=await(f.isRTL==null?void 0:f.isRTL(p.floating)),M=A||(z||!N?[W1(d)]:VT(d)),H=T!=="none";!A&&H&&M.push(...YT(d,N,T,G));const Z=[d,...M],E=await pE(e,j),O=[];let R=((i=o.flip)==null?void 0:i.overflows)||[];if(y&&O.push(E[D]),b){const F=FT(s,u,G);O.push(E[F[0]],E[F[1]])}if(R=[...R,{placement:s,overflows:O}],!O.every(F=>F<=0)){var B,L;const F=(((B=o.flip)==null?void 0:B.index)||0)+1,P=Z[F];if(P&&(!(b==="alignment"?x!==cs(P):!1)||R.every(k=>cs(k.placement)===x?k.overflows[0]>0:!0)))return{data:{index:F,overflows:R},reset:{placement:P}};let I=(L=R.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:L.placement;if(!I)switch(w){case"bestFit":{var U;const V=(U=R.filter(k=>{if(H){const J=cs(k.placement);return J===x||J==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(J=>J>0).reduce((J,q)=>J+q,0)]).sort((k,J)=>k[1]-J[1])[0])==null?void 0:U[0];V&&(I=V);break}case"initialPlacement":I=d;break}if(s!==I)return{reset:{placement:I}}}return{}}}},$T=new Set(["left","top"]);async function eO(t,e){const{placement:a,platform:i,elements:s}=t,o=await(i.isRTL==null?void 0:i.isRTL(s.floating)),u=Hs(a),d=Zc(a),f=cs(a)==="y",p=$T.has(u)?-1:1,y=o&&f?-1:1,b=Gc(e,t);let{mainAxis:A,crossAxis:w,alignmentAxis:T}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return d&&typeof T=="number"&&(w=d==="end"?T*-1:T),f?{x:w*y,y:A*p}:{x:A*p,y:w*y}}const tO=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 eO(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}}}}},nO=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:j=>{let{x:D,y:x}=j;return{x:D,y:x}}},...f}=Gc(t,e),p={x:a,y:i},y=await pE(e,f),b=cs(Hs(s)),A=hE(b);let w=p[A],T=p[b];if(o){const j=A==="y"?"top":"left",D=A==="y"?"bottom":"right",x=w+y[j],z=w-y[D];w=ip(x,w,z)}if(u){const j=b==="y"?"top":"left",D=b==="y"?"bottom":"right",x=T+y[j],z=T-y[D];T=ip(x,T,z)}const N=d.fn({...e,[A]:w,[b]:T});return{...N,data:{x:N.x-a,y:N.y-i,enabled:{[A]:o,[b]:u}}}}}};function df(){return typeof window<"u"}function ao(t){return gE(t)?(t.nodeName||"").toLowerCase():"#document"}function Ya(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $r(t){var e;return(e=(gE(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function gE(t){return df()?t instanceof Node||t instanceof Ya(t).Node:!1}function Mr(t){return df()?t instanceof Element||t instanceof Ya(t).Element:!1}function Jr(t){return df()?t instanceof HTMLElement||t instanceof Ya(t).HTMLElement:!1}function J8(t){return!df()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ya(t).ShadowRoot}const aO=new Set(["inline","contents"]);function Wc(t){const{overflow:e,overflowX:a,overflowY:i,display:s}=Nr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+a)&&!aO.has(s)}const rO=new Set(["table","td","th"]);function iO(t){return rO.has(ao(t))}const sO=[":popover-open",":modal"];function hf(t){return sO.some(e=>{try{return t.matches(e)}catch{return!1}})}const lO=["transform","translate","scale","rotate","perspective"],oO=["transform","translate","scale","rotate","perspective","filter"],cO=["paint","layout","strict","content"];function d6(t){const e=h6(),a=Mr(t)?Nr(t):t;return lO.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)||oO.some(i=>(a.willChange||"").includes(i))||cO.some(i=>(a.contain||"").includes(i))}function uO(t){let e=fs(t);for(;Jr(e)&&!Jl(e);){if(d6(e))return e;if(hf(e))return null;e=fs(e)}return null}function h6(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const fO=new Set(["html","body","#document"]);function Jl(t){return fO.has(ao(t))}function Nr(t){return Ya(t).getComputedStyle(t)}function mf(t){return Mr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function fs(t){if(ao(t)==="html")return t;const e=t.assignedSlot||t.parentNode||J8(t)&&t.host||$r(t);return J8(e)?e.host:e}function vE(t){const e=fs(t);return Jl(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(e)&&Wc(e)?e:vE(e)}function zc(t,e,a){var i;e===void 0&&(e=[]),a===void 0&&(a=!0);const s=vE(t),o=s===((i=t.ownerDocument)==null?void 0:i.body),u=Ya(s);if(o){const d=lp(u);return e.concat(u,u.visualViewport||[],Wc(s)?s:[],d&&a?zc(d):[])}return e.concat(s,zc(s,[],a))}function lp(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function yE(t){const e=Nr(t);let a=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const s=Jr(t),o=s?t.offsetWidth:a,u=s?t.offsetHeight:i,d=Z1(a)!==o||Z1(i)!==u;return d&&(a=o,i=u),{width:a,height:i,$:d}}function m6(t){return Mr(t)?t:t.contextElement}function Gl(t){const e=m6(t);if(!Jr(e))return Qr(1);const a=e.getBoundingClientRect(),{width:i,height:s,$:o}=yE(e);let u=(o?Z1(a.width):a.width)/i,d=(o?Z1(a.height):a.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const dO=Qr(0);function bE(t){const e=Ya(t);return!h6()||!e.visualViewport?dO:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function hO(t,e,a){return e===void 0&&(e=!1),!a||e&&a!==Ya(t)?!1:e}function Bs(t,e,a,i){e===void 0&&(e=!1),a===void 0&&(a=!1);const s=t.getBoundingClientRect(),o=m6(t);let u=Qr(1);e&&(i?Mr(i)&&(u=Gl(i)):u=Gl(t));const d=hO(o,a,i)?bE(o):Qr(0);let f=(s.left+d.x)/u.x,p=(s.top+d.y)/u.y,y=s.width/u.x,b=s.height/u.y;if(o){const A=Ya(o),w=i&&Mr(i)?Ya(i):i;let T=A,N=lp(T);for(;N&&i&&w!==T;){const j=Gl(N),D=N.getBoundingClientRect(),x=Nr(N),z=D.left+(N.clientLeft+parseFloat(x.paddingLeft))*j.x,G=D.top+(N.clientTop+parseFloat(x.paddingTop))*j.y;f*=j.x,p*=j.y,y*=j.x,b*=j.y,f+=z,p+=G,T=Ya(N),N=lp(T)}}return Y1({width:y,height:b,x:f,y:p})}function pf(t,e){const a=mf(t).scrollLeft;return e?e.left+a:Bs($r(t)).left+a}function SE(t,e){const a=t.getBoundingClientRect(),i=a.left+e.scrollLeft-pf(t,a),s=a.top+e.scrollTop;return{x:i,y:s}}function mO(t){let{elements:e,rect:a,offsetParent:i,strategy:s}=t;const o=s==="fixed",u=$r(i),d=e?hf(e.floating):!1;if(i===u||d&&o)return a;let f={scrollLeft:0,scrollTop:0},p=Qr(1);const y=Qr(0),b=Jr(i);if((b||!b&&!o)&&((ao(i)!=="body"||Wc(u))&&(f=mf(i)),Jr(i))){const w=Bs(i);p=Gl(i),y.x=w.x+i.clientLeft,y.y=w.y+i.clientTop}const A=u&&!b&&!o?SE(u,f):Qr(0);return{width:a.width*p.x,height:a.height*p.y,x:a.x*p.x-f.scrollLeft*p.x+y.x+A.x,y:a.y*p.y-f.scrollTop*p.y+y.y+A.y}}function pO(t){return Array.from(t.getClientRects())}function gO(t){const e=$r(t),a=mf(t),i=t.ownerDocument.body,s=qs(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=qs(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let u=-a.scrollLeft+pf(t);const d=-a.scrollTop;return Nr(i).direction==="rtl"&&(u+=qs(e.clientWidth,i.clientWidth)-s),{width:s,height:o,x:u,y:d}}const X8=25;function vO(t,e){const a=Ya(t),i=$r(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=h6();(!y||y&&e==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}const p=pf(i);if(p<=0){const y=i.ownerDocument,b=y.body,A=getComputedStyle(b),w=y.compatMode==="CSS1Compat"&&parseFloat(A.marginLeft)+parseFloat(A.marginRight)||0,T=Math.abs(i.clientWidth-b.clientWidth-w);T<=X8&&(o-=T)}else p<=X8&&(o+=p);return{width:o,height:u,x:d,y:f}}const yO=new Set(["absolute","fixed"]);function bO(t,e){const a=Bs(t,!0,e==="fixed"),i=a.top+t.clientTop,s=a.left+t.clientLeft,o=Jr(t)?Gl(t):Qr(1),u=t.clientWidth*o.x,d=t.clientHeight*o.y,f=s*o.x,p=i*o.y;return{width:u,height:d,x:f,y:p}}function $8(t,e,a){let i;if(e==="viewport")i=vO(t,a);else if(e==="document")i=gO($r(t));else if(Mr(e))i=bO(e,a);else{const s=bE(t);i={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Y1(i)}function EE(t,e){const a=fs(t);return a===e||!Mr(a)||Jl(a)?!1:Nr(a).position==="fixed"||EE(a,e)}function SO(t,e){const a=e.get(t);if(a)return a;let i=zc(t,[],!1).filter(d=>Mr(d)&&ao(d)!=="body"),s=null;const o=Nr(t).position==="fixed";let u=o?fs(t):t;for(;Mr(u)&&!Jl(u);){const d=Nr(u),f=d6(u);!f&&d.position==="fixed"&&(s=null),(o?!f&&!s:!f&&d.position==="static"&&!!s&&yO.has(s.position)||Wc(u)&&!f&&EE(t,u))?i=i.filter(y=>y!==u):s=d,u=fs(u)}return e.set(t,i),i}function EO(t){let{element:e,boundary:a,rootBoundary:i,strategy:s}=t;const u=[...a==="clippingAncestors"?hf(e)?[]:SO(e,this._c):[].concat(a),i],d=u[0],f=u.reduce((p,y)=>{const b=$8(e,y,s);return p.top=qs(b.top,p.top),p.right=Kl(b.right,p.right),p.bottom=Kl(b.bottom,p.bottom),p.left=qs(b.left,p.left),p},$8(e,d,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function AO(t){const{width:e,height:a}=yE(t);return{width:e,height:a}}function wO(t,e,a){const i=Jr(e),s=$r(e),o=a==="fixed",u=Bs(t,!0,o,e);let d={scrollLeft:0,scrollTop:0};const f=Qr(0);function p(){f.x=pf(s)}if(i||!i&&!o)if((ao(e)!=="body"||Wc(s))&&(d=mf(e)),i){const w=Bs(e,!0,o,e);f.x=w.x+e.clientLeft,f.y=w.y+e.clientTop}else s&&p();o&&!i&&s&&p();const y=s&&!i&&!o?SE(s,d):Qr(0),b=u.left+d.scrollLeft-f.x-y.x,A=u.top+d.scrollTop-f.y-y.y;return{x:b,y:A,width:u.width,height:u.height}}function q0(t){return Nr(t).position==="static"}function e7(t,e){if(!Jr(t)||Nr(t).position==="fixed")return null;if(e)return e(t);let a=t.offsetParent;return $r(t)===a&&(a=a.ownerDocument.body),a}function AE(t,e){const a=Ya(t);if(hf(t))return a;if(!Jr(t)){let s=fs(t);for(;s&&!Jl(s);){if(Mr(s)&&!q0(s))return s;s=fs(s)}return a}let i=e7(t,e);for(;i&&iO(i)&&q0(i);)i=e7(i,e);return i&&Jl(i)&&q0(i)&&!d6(i)?a:i||uO(t)||a}const xO=async function(t){const e=this.getOffsetParent||AE,a=this.getDimensions,i=await a(t.floating);return{reference:wO(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function CO(t){return Nr(t).direction==="rtl"}const TO={convertOffsetParentRelativeRectToViewportRelativeRect:mO,getDocumentElement:$r,getClippingRect:EO,getOffsetParent:AE,getElementRects:xO,getClientRects:pO,getDimensions:AO,getScale:Gl,isElement:Mr,isRTL:CO};function wE(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function OO(t,e){let a=null,i;const s=$r(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 p=t.getBoundingClientRect(),{left:y,top:b,width:A,height:w}=p;if(d||e(),!A||!w)return;const T=d1(b),N=d1(s.clientWidth-(y+A)),j=d1(s.clientHeight-(b+w)),D=d1(y),z={rootMargin:-T+"px "+-N+"px "+-j+"px "+-D+"px",threshold:qs(0,Kl(1,f))||1};let G=!0;function M(H){const Z=H[0].intersectionRatio;if(Z!==f){if(!G)return u();Z?u(!1,Z):i=setTimeout(()=>{u(!1,1e-7)},1e3)}Z===1&&!wE(p,t.getBoundingClientRect())&&u(),G=!1}try{a=new IntersectionObserver(M,{...z,root:s.ownerDocument})}catch{a=new IntersectionObserver(M,z)}a.observe(t)}return u(!0),o}function xE(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,p=m6(t),y=s||o?[...p?zc(p):[],...zc(e)]:[];y.forEach(D=>{s&&D.addEventListener("scroll",a,{passive:!0}),o&&D.addEventListener("resize",a)});const b=p&&d?OO(p,a):null;let A=-1,w=null;u&&(w=new ResizeObserver(D=>{let[x]=D;x&&x.target===p&&w&&(w.unobserve(e),cancelAnimationFrame(A),A=requestAnimationFrame(()=>{var z;(z=w)==null||z.observe(e)})),a()}),p&&!f&&w.observe(p),w.observe(e));let T,N=f?Bs(t):null;f&&j();function j(){const D=Bs(t);N&&!wE(N,D)&&a(),N=D,T=requestAnimationFrame(j)}return a(),()=>{var D;y.forEach(x=>{s&&x.removeEventListener("scroll",a),o&&x.removeEventListener("resize",a)}),b?.(),(D=w)==null||D.disconnect(),w=null,f&&cancelAnimationFrame(T)}}const RO=tO,IO=nO,MO=XT,NO=JT,t7=(t,e,a)=>{const i=new Map,s={platform:TO,...a},o={...s.platform,_c:i};return KT(t,e,{...s,platform:o})};var P0={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var n7;function DO(){return n7||(n7=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})()})(P0)),P0.exports}var jO=DO();const op=pr(jO);var a7={};const LO="react-tooltip-core-styles",kO="react-tooltip-base-styles",r7={core:!1,base:!1};function i7({css:t,id:e=kO,type:a="base",ref:i}){var s,o;if(!t||typeof document>"u"||r7[a]||a==="core"&&typeof process<"u"&&(!((s=process==null?void 0:a7)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_CORE_STYLES)||a!=="base"&&typeof process<"u"&&(!((o=process==null?void 0:a7)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;a==="core"&&(e=LO),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)),r7[a]=!0}const s7=async({elementReference:t=null,tooltipReference:e=null,tooltipArrowReference:a=null,place:i="top",offset:s=10,strategy:o="absolute",middlewares:u=[RO(Number(s)),MO({fallbackAxisSideDirection:"start"}),IO({padding:5})],border:d,arrowSize:f=8})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:i};if(e===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:i};const p=u;return a?(p.push(NO({element:a,padding:5})),t7(t,e,{placement:i,strategy:o,middleware:p}).then((({x:y,y:b,placement:A,middlewareData:w})=>{var T,N;const j={left:`${y}px`,top:`${b}px`,border:d},{x:D,y:x}=(T=w.arrow)!==null&&T!==void 0?T:{x:0,y:0},z=(N={top:"bottom",right:"left",bottom:"top",left:"right"}[A.split("-")[0]])!==null&&N!==void 0?N:"bottom",G=d&&{borderBottom:d,borderRight:d};let M=0;if(d){const H=`${d}`.match(/(\d+)px/);M=H?.[1]?Number(H[1]):1}return{tooltipStyles:j,tooltipArrowStyles:{left:D!=null?`${D}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",...G,[z]:`-${f/2+M}px`},place:A}}))):t7(t,e,{placement:"bottom",strategy:o,middleware:p}).then((({x:y,y:b,placement:A})=>({tooltipStyles:{left:`${y}px`,top:`${b}px`},tooltipArrowStyles:{},place:A})))},l7=(t,e)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,e),o7=(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},c7=t=>t!==null&&!Array.isArray(t)&&typeof t=="object",cp=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e))return t.length===e.length&&t.every(((s,o)=>cp(s,e[o])));if(Array.isArray(t)!==Array.isArray(e))return!1;if(!c7(t)||!c7(e))return t===e;const a=Object.keys(t),i=Object.keys(e);return a.length===i.length&&a.every((s=>cp(t[s],e[s])))},_O=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"}))},u7=t=>{if(!t)return null;let e=t.parentElement;for(;e;){if(_O(e))return e;e=e.parentElement}return document.scrollingElement||document.documentElement},UO=typeof window<"u"?g.useLayoutEffect:g.useEffect,sr=t=>{t.current&&(clearTimeout(t.current),t.current=null)},zO="DEFAULT_TOOLTIP_ID",qO={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},PO=g.createContext({getTooltipData:()=>qO});function CE(t=zO){return g.useContext(PO).getTooltipData(t)}var Ml={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"},H0={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 HO=({forwardRef:t,id:e,className:a,classNameArrow:i,variant:s="dark",anchorId:o,anchorSelect:u,place:d="top",offset:f=10,events:p=["hover"],openOnClick:y=!1,positionStrategy:b="absolute",middlewares:A,wrapper:w,delayShow:T=0,delayHide:N=0,float:j=!1,hidden:D=!1,noArrow:x=!1,clickable:z=!1,closeOnEsc:G=!1,closeOnScroll:M=!1,closeOnResize:H=!1,openEvents:Z,closeEvents:E,globalCloseEvents:O,imperativeModeOnly:R,style:B,position:L,afterShow:U,afterHide:F,disableTooltip:P,content:I,contentWrapperRef:V,isOpen:k,defaultIsOpen:J=!1,setIsOpen:q,activeAnchor:Y,setActiveAnchor:re,border:le,opacity:ge,arrowColor:he,arrowSize:pe=8,role:Ne="tooltip"})=>{var ke;const Pe=g.useRef(null),en=g.useRef(null),ct=g.useRef(null),gt=g.useRef(null),vt=g.useRef(null),[Qe,we]=g.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[He,ht]=g.useState(!1),[ut,Ze]=g.useState(!1),[et,gn]=g.useState(null),We=g.useRef(!1),Ae=g.useRef(null),{anchorRefs:Ve,setActiveAnchor:_e}=CE(e),Xe=g.useRef(!1),[st,tn]=g.useState([]),Pt=g.useRef(!1),$n=y||p.includes("click"),ua=$n||Z?.click||Z?.dblclick||Z?.mousedown,ea=Z?{...Z}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!Z&&$n&&Object.assign(ea,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const xn=E?{...E}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!E&&$n&&Object.assign(xn,{mouseleave:!1,blur:!1,mouseout:!1});const Ht=O?{...O}:{escape:G||!1,scroll:M||!1,resize:H||!1,clickOutsideAnchor:ua||!1};R&&(Object.assign(ea,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(xn,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ht,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),UO((()=>(Pt.current=!0,()=>{Pt.current=!1})),[]);const lt=ye=>{Pt.current&&(ye&&Ze(!0),setTimeout((()=>{Pt.current&&(q?.(ye),k===void 0&&ht(ye))}),10))};g.useEffect((()=>{if(k===void 0)return()=>null;k&&Ze(!0);const ye=setTimeout((()=>{ht(k)}),10);return()=>{clearTimeout(ye)}}),[k]),g.useEffect((()=>{if(He!==We.current)if(sr(vt),We.current=He,He)U?.();else{const ye=(xe=>{const Ie=xe.match(/^([\d.]+)(ms|s)$/);if(!Ie)return 0;const[,Ct,ln]=Ie;return Number(Ct)*(ln==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));vt.current=setTimeout((()=>{Ze(!1),gn(null),F?.()}),ye+25)}}),[He]);const Cn=ye=>{we((xe=>cp(xe,ye)?xe:ye))},Tn=(ye=T)=>{sr(ct),ut?lt(!0):ct.current=setTimeout((()=>{lt(!0)}),ye)},Oa=(ye=N)=>{sr(gt),gt.current=setTimeout((()=>{Xe.current||lt(!1)}),ye)},ta=ye=>{var xe;if(!ye)return;const Ie=(xe=ye.currentTarget)!==null&&xe!==void 0?xe:ye.target;if(!Ie?.isConnected)return re(null),void _e({current:null});T?Tn():lt(!0),re(Ie),_e({current:Ie}),sr(gt)},Bn=()=>{z?Oa(N||100):N?Oa():lt(!1),sr(ct)},Nn=({x:ye,y:xe})=>{var Ie;const Ct={getBoundingClientRect:()=>({x:ye,y:xe,width:0,height:0,top:xe,left:ye,right:ye,bottom:xe})};s7({place:(Ie=et?.place)!==null&&Ie!==void 0?Ie:d,offset:f,elementReference:Ct,tooltipReference:Pe.current,tooltipArrowReference:en.current,strategy:b,middlewares:A,border:le,arrowSize:pe}).then((ln=>{Cn(ln)}))},wt=ye=>{if(!ye)return;const xe=ye,Ie={x:xe.clientX,y:xe.clientY};Nn(Ie),Ae.current=Ie},na=ye=>{var xe;if(!He)return;const Ie=ye.target;Ie.isConnected&&(!((xe=Pe.current)===null||xe===void 0)&&xe.contains(Ie)||[document.querySelector(`[id='${o}']`),...st].some((Ct=>Ct?.contains(Ie)))||(lt(!1),sr(ct)))},ya=o7(ta,50),tt=o7(Bn,50),Jt=ye=>{tt.cancel(),ya(ye)},je=()=>{ya.cancel(),tt()},nt=g.useCallback((()=>{var ye,xe;const Ie=(ye=et?.position)!==null&&ye!==void 0?ye:L;Ie?Nn(Ie):j?Ae.current&&Nn(Ae.current):Y?.isConnected&&s7({place:(xe=et?.place)!==null&&xe!==void 0?xe:d,offset:f,elementReference:Y,tooltipReference:Pe.current,tooltipArrowReference:en.current,strategy:b,middlewares:A,border:le,arrowSize:pe}).then((Ct=>{Pt.current&&Cn(Ct)}))}),[He,Y,I,B,d,et?.place,f,b,L,et?.position,j,pe]);g.useEffect((()=>{var ye,xe;const Ie=new Set(Ve);st.forEach((De=>{P?.(De)||Ie.add({current:De})}));const Ct=document.querySelector(`[id='${o}']`);Ct&&!P?.(Ct)&&Ie.add({current:Ct});const ln=()=>{lt(!1)},Dn=u7(Y),On=u7(Pe.current);Ht.scroll&&(window.addEventListener("scroll",ln),Dn?.addEventListener("scroll",ln),On?.addEventListener("scroll",ln));let Vt=null;Ht.resize?window.addEventListener("resize",ln):Y&&Pe.current&&(Vt=xE(Y,Pe.current,nt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Ke=De=>{De.key==="Escape"&&lt(!1)};Ht.escape&&window.addEventListener("keydown",Ke),Ht.clickOutsideAnchor&&window.addEventListener("click",na);const ft=[],xt=De=>!!(De?.target&&Y?.contains(De.target)),ba=De=>{He&&xt(De)||ta(De)},Tt=De=>{He&&xt(De)&&Bn()},jt=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Te=["click","dblclick","mousedown","mouseup"];Object.entries(ea).forEach((([De,mt])=>{mt&&(jt.includes(De)?ft.push({event:De,listener:Jt}):Te.includes(De)&&ft.push({event:De,listener:ba}))})),Object.entries(xn).forEach((([De,mt])=>{mt&&(jt.includes(De)?ft.push({event:De,listener:je}):Te.includes(De)&&ft.push({event:De,listener:Tt}))})),j&&ft.push({event:"pointermove",listener:wt});const Q=()=>{Xe.current=!0},me=()=>{Xe.current=!1,Bn()},Se=z&&(xn.mouseout||xn.mouseleave);return Se&&((ye=Pe.current)===null||ye===void 0||ye.addEventListener("mouseover",Q),(xe=Pe.current)===null||xe===void 0||xe.addEventListener("mouseout",me)),ft.forEach((({event:De,listener:mt})=>{Ie.forEach((Ot=>{var Mt;(Mt=Ot.current)===null||Mt===void 0||Mt.addEventListener(De,mt)}))})),()=>{var De,mt;Ht.scroll&&(window.removeEventListener("scroll",ln),Dn?.removeEventListener("scroll",ln),On?.removeEventListener("scroll",ln)),Ht.resize?window.removeEventListener("resize",ln):Vt?.(),Ht.clickOutsideAnchor&&window.removeEventListener("click",na),Ht.escape&&window.removeEventListener("keydown",Ke),Se&&((De=Pe.current)===null||De===void 0||De.removeEventListener("mouseover",Q),(mt=Pe.current)===null||mt===void 0||mt.removeEventListener("mouseout",me)),ft.forEach((({event:Ot,listener:Mt})=>{Ie.forEach((vn=>{var Rn;(Rn=vn.current)===null||Rn===void 0||Rn.removeEventListener(Ot,Mt)}))}))}}),[Y,nt,ut,Ve,st,Z,E,O,$n,T,N]),g.useEffect((()=>{var ye,xe;let Ie=(xe=(ye=et?.anchorSelect)!==null&&ye!==void 0?ye:u)!==null&&xe!==void 0?xe:"";!Ie&&e&&(Ie=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`);const Ct=new MutationObserver((ln=>{const Dn=[],On=[];ln.forEach((Vt=>{if(Vt.type==="attributes"&&Vt.attributeName==="data-tooltip-id"&&(Vt.target.getAttribute("data-tooltip-id")===e?Dn.push(Vt.target):Vt.oldValue===e&&On.push(Vt.target)),Vt.type==="childList"){if(Y){const Ke=[...Vt.removedNodes].filter((ft=>ft.nodeType===1));if(Ie)try{On.push(...Ke.filter((ft=>ft.matches(Ie)))),On.push(...Ke.flatMap((ft=>[...ft.querySelectorAll(Ie)])))}catch{}Ke.some((ft=>{var xt;return!!(!((xt=ft?.contains)===null||xt===void 0)&&xt.call(ft,Y))&&(Ze(!1),lt(!1),re(null),sr(ct),sr(gt),!0)}))}if(Ie)try{const Ke=[...Vt.addedNodes].filter((ft=>ft.nodeType===1));Dn.push(...Ke.filter((ft=>ft.matches(Ie)))),Dn.push(...Ke.flatMap((ft=>[...ft.querySelectorAll(Ie)])))}catch{}}})),(Dn.length||On.length)&&tn((Vt=>[...Vt.filter((Ke=>!On.includes(Ke))),...Dn]))}));return Ct.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Ct.disconnect()}}),[e,u,et?.anchorSelect,Y]),g.useEffect((()=>{nt()}),[nt]),g.useEffect((()=>{if(!V?.current)return()=>null;const ye=new ResizeObserver((()=>{setTimeout((()=>nt()))}));return ye.observe(V.current),()=>{ye.disconnect()}}),[I,V?.current]),g.useEffect((()=>{var ye;const xe=document.querySelector(`[id='${o}']`),Ie=[...st,xe];Y&&Ie.includes(Y)||re((ye=st[0])!==null&&ye!==void 0?ye:xe)}),[o,st,Y]),g.useEffect((()=>(J&&lt(!0),()=>{sr(ct),sr(gt)})),[]),g.useEffect((()=>{var ye;let xe=(ye=et?.anchorSelect)!==null&&ye!==void 0?ye:u;if(!xe&&e&&(xe=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),xe)try{const Ie=Array.from(document.querySelectorAll(xe));tn(Ie)}catch{tn([])}}),[e,u,et?.anchorSelect]),g.useEffect((()=>{ct.current&&(sr(ct),Tn(T))}),[T]);const yt=(ke=et?.content)!==null&&ke!==void 0?ke:I,sn=He&&Object.keys(Qe.tooltipStyles).length>0;return g.useImperativeHandle(t,(()=>({open:ye=>{if(ye?.anchorSelect)try{document.querySelector(ye.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${ye.anchorSelect}" is not a valid CSS selector`)}gn(ye??null),ye?.delay?Tn(ye.delay):lt(!0)},close:ye=>{ye?.delay?Oa(ye.delay):lt(!1)},activeAnchor:Y,place:Qe.place,isOpen:!!(ut&&!D&&yt&&sn)}))),ut&&!D&&yt?ne.createElement(w,{id:e,role:Ne,className:op("react-tooltip",Ml.tooltip,H0.tooltip,H0[s],a,`react-tooltip__place-${Qe.place}`,Ml[sn?"show":"closing"],sn?"react-tooltip__show":"react-tooltip__closing",b==="fixed"&&Ml.fixed,z&&Ml.clickable),onTransitionEnd:ye=>{sr(vt),He||ye.propertyName!=="opacity"||(Ze(!1),gn(null),F?.())},style:{...B,...Qe.tooltipStyles,opacity:ge!==void 0&&sn?ge:void 0},ref:Pe},yt,ne.createElement(w,{className:op("react-tooltip-arrow",Ml.arrow,H0.arrow,i,x&&Ml.noArrow),style:{...Qe.tooltipArrowStyles,background:he?`linear-gradient(to right bottom, transparent 50%, ${he} 50%)`:void 0,"--rt-arrow-size":`${pe}px`},ref:en})):null},BO=({content:t})=>ne.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),FO=ne.forwardRef((({id:t,anchorId:e,anchorSelect:a,content:i,html:s,render:o,className:u,classNameArrow:d,variant:f="dark",place:p="top",offset:y=10,wrapper:b="div",children:A=null,events:w=["hover"],openOnClick:T=!1,positionStrategy:N="absolute",middlewares:j,delayShow:D=0,delayHide:x=0,float:z=!1,hidden:G=!1,noArrow:M=!1,clickable:H=!1,closeOnEsc:Z=!1,closeOnScroll:E=!1,closeOnResize:O=!1,openEvents:R,closeEvents:B,globalCloseEvents:L,imperativeModeOnly:U=!1,style:F,position:P,isOpen:I,defaultIsOpen:V=!1,disableStyleInjection:k=!1,border:J,opacity:q,arrowColor:Y,arrowSize:re,setIsOpen:le,afterShow:ge,afterHide:he,disableTooltip:pe,role:Ne="tooltip"},ke)=>{const[Pe,en]=g.useState(i),[ct,gt]=g.useState(s),[vt,Qe]=g.useState(p),[we,He]=g.useState(f),[ht,ut]=g.useState(y),[Ze,et]=g.useState(D),[gn,We]=g.useState(x),[Ae,Ve]=g.useState(z),[_e,Xe]=g.useState(G),[st,tn]=g.useState(b),[Pt,$n]=g.useState(w),[ua,ea]=g.useState(N),[xn,Ht]=g.useState(null),[lt,Cn]=g.useState(null),Tn=g.useRef(k),{anchorRefs:Oa,activeAnchor:ta}=CE(t),Bn=tt=>tt?.getAttributeNames().reduce(((Jt,je)=>{var nt;return je.startsWith("data-tooltip-")&&(Jt[je.replace(/^data-tooltip-/,"")]=(nt=tt?.getAttribute(je))!==null&&nt!==void 0?nt:null),Jt}),{}),Nn=tt=>{const Jt={place:je=>{var nt;Qe((nt=je)!==null&&nt!==void 0?nt:p)},content:je=>{en(je??i)},html:je=>{gt(je??s)},variant:je=>{var nt;He((nt=je)!==null&&nt!==void 0?nt:f)},offset:je=>{ut(je===null?y:Number(je))},wrapper:je=>{var nt;tn((nt=je)!==null&&nt!==void 0?nt:b)},events:je=>{const nt=je?.split(" ");$n(nt??w)},"position-strategy":je=>{var nt;ea((nt=je)!==null&&nt!==void 0?nt:N)},"delay-show":je=>{et(je===null?D:Number(je))},"delay-hide":je=>{We(je===null?x:Number(je))},float:je=>{Ve(je===null?z:je==="true")},hidden:je=>{Xe(je===null?G:je==="true")},"class-name":je=>{Ht(je)}};Object.values(Jt).forEach((je=>je(null))),Object.entries(tt).forEach((([je,nt])=>{var yt;(yt=Jt[je])===null||yt===void 0||yt.call(Jt,nt)}))};g.useEffect((()=>{en(i)}),[i]),g.useEffect((()=>{gt(s)}),[s]),g.useEffect((()=>{Qe(p)}),[p]),g.useEffect((()=>{He(f)}),[f]),g.useEffect((()=>{ut(y)}),[y]),g.useEffect((()=>{et(D)}),[D]),g.useEffect((()=>{We(x)}),[x]),g.useEffect((()=>{Ve(z)}),[z]),g.useEffect((()=>{Xe(G)}),[G]),g.useEffect((()=>{ea(N)}),[N]),g.useEffect((()=>{Tn.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 tt;const Jt=new Set(Oa);let je=a;if(!je&&t&&(je=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),je)try{document.querySelectorAll(je).forEach((xe=>{Jt.add({current:xe})}))}catch{console.warn(`[react-tooltip] "${je}" is not a valid CSS selector`)}const nt=document.querySelector(`[id='${e}']`);if(nt&&Jt.add({current:nt}),!Jt.size)return()=>null;const yt=(tt=lt??nt)!==null&&tt!==void 0?tt:ta.current,sn=new MutationObserver((xe=>{xe.forEach((Ie=>{var Ct;if(!yt||Ie.type!=="attributes"||!(!((Ct=Ie.attributeName)===null||Ct===void 0)&&Ct.startsWith("data-tooltip-")))return;const ln=Bn(yt);Nn(ln)}))})),ye={attributes:!0,childList:!1,subtree:!1};if(yt){const xe=Bn(yt);Nn(xe),sn.observe(yt,ye)}return()=>{sn.disconnect()}}),[Oa,ta,lt,e,a]),g.useEffect((()=>{F?.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),J&&!l7("border",`${J}`)&&console.warn(`[react-tooltip] "${J}" is not a valid \`border\`.`),F?.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!l7("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)}),[]);let wt=A;const na=g.useRef(null);if(o){const tt=o({content:lt?.getAttribute("data-tooltip-content")||Pe||null,activeAnchor:lt});wt=tt?ne.createElement("div",{ref:na,className:"react-tooltip-content-wrapper"},tt):null}else Pe&&(wt=Pe);ct&&(wt=ne.createElement(BO,{content:ct}));const ya={forwardRef:ke,id:t,anchorId:e,anchorSelect:a,className:op(u,xn),classNameArrow:d,content:wt,contentWrapperRef:na,place:vt,variant:we,offset:ht,wrapper:st,events:Pt,openOnClick:T,positionStrategy:ua,middlewares:j,delayShow:Ze,delayHide:gn,float:Ae,hidden:_e,noArrow:M,clickable:H,closeOnEsc:Z,closeOnScroll:E,closeOnResize:O,openEvents:R,closeEvents:B,globalCloseEvents:L,imperativeModeOnly:U,style:F,position:P,isOpen:I,defaultIsOpen:V,border:J,opacity:q,arrowColor:Y,arrowSize:re,setIsOpen:le,afterShow:ge,afterHide:he,disableTooltip:pe,activeAnchor:lt,setActiveAnchor:tt=>Cn(tt),role:Ne};return ne.createElement(HO,{...ya})}));typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",(t=>{t.detail.disableCore||i7({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||i7({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 up(){return up=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},up.apply(null,arguments)}var VO=function(e){return g.createElement("svg",up({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"})))},d7,h7;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 p6=function(e){return g.createElement("svg",fp({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},e),d7||(d7=g.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),h7||(h7=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"}))))},m7,p7;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 TE=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),m7||(m7=g.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),p7||(p7=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"}))))},g7,v7,y7,b7;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 OE=function(e){return g.createElement("svg",hp({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},e),g7||(g7=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"})),v7||(v7=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"})),y7||(y7=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"})),b7||(b7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},S7;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 g6=function(e){return g.createElement("svg",mp({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},e),S7||(S7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},pp;(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"})(pp||(pp={}));var Xn=pp;function v6(t){return t!=null?(t.preventDefault(),t.stopPropagation(),!1):!0}function E7(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 Gs(t){return qT.sanitize(t,{ADD_ATTR:["target"]})}function GO(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var Rr=function(t){var e=t.alertType||Xn.Success,a=t.action?"sds--alert--has-action":"",i="sds--alert ".concat(e.toLowerCase()," ").concat(a," ").concat(t.hide?"hide":"");return ne.createElement("div",{className:i},ne.createElement("div",{className:"sds--alert--inner ".concat(t.asChild?"":"sds--page-container")},ne.createElement("div",{className:"sds--alert--visual"},[Xn.Error,Xn.Warning].includes(e)&&ne.createElement(OE,null),[Xn.Default,Xn.Info].includes(e)&&ne.createElement(p6,null),[Xn.Success].includes(e)&&ne.createElement(TE,null)),ne.createElement("div",{className:"sds--alert--textual"},ne.createElement("p",{dangerouslySetInnerHTML:{__html:Gs(t.message)}}),t.action&&ne.createElement("button",{type:"button",onClick:t.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},t.actionLabel)),t.close&&ne.createElement("button",{className:"sds--alert--actions",onClick:t.close},ne.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),ne.createElement(g6,null))))},A7;(function(t){t.Horizontal="",t.Vertical="sds--block-switch--vertical"})(A7||(A7={}));var w7;function gp(){return gp=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},gp.apply(null,arguments)}var ZO=function(e){return g.createElement("svg",gp({xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24"},e),w7||(w7=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"})))},x7;function vp(){return vp=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},vp.apply(null,arguments)}var WO=function(e){return g.createElement("svg",vp({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},e),x7||(x7=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"})))},yp;(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"})(yp||(yp={}));var At=yp,bp;(function(t){t.Default="",t.Small="sds--btn--small",t.Full="sds--btn--full"})(bp||(bp={}));var RE=bp,Sp;(function(t){t.Right="right",t.Left="left"})(Sp||(Sp={}));var D1=Sp;At.Primary,RE.Default;var rt=function(t){var e="".concat((t.type||At.Primary).toLowerCase()," ")+"".concat(t.type&&t.type===At.DeleteSecondary?At.Secondary.toLowerCase():""),a="".concat((t.size||RE.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||D1.Right,f=function(p){v6(p),!t.disabled&&t.onClick&&t.onClick(p)};return ne.createElement("button",{type:"button",className:u,onClick:f,ref:t.ref,disabled:t.disabled},D1.Left===d?t.icon:null,t.children,t.txt&&ne.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:Gs(t.txt||"")}}),t.type===At.Delete?ne.createElement(WO,null):D1.Right===d?t.icon:null)},C7;function Ep(){return Ep=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},Ep.apply(null,arguments)}var YO=function(e){return g.createElement("svg",Ep({xmlns:"http://www.w3.org/2000/svg",width:13.6,height:11.9,viewBox:"0 0 13.6 11.9"},e),C7||(C7=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"})))},oa=function(t){var e="A"+GO();return ne.createElement("div",{"data-tooltip-id":e,className:"sds--tooltip-container ".concat(t.standalone?"":"sibbling"),"data-tooltip-html":Gs(t.tip)},t.children?ne.Children.map(t.children,function(a){return a}):ne.createElement(p6,null),ne.createElement(FO,{id:e,place:t.place,clickable:t.clickable||!1,disableStyleInjection:"core"}))},IE=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 ne.createElement("div",{className:a},ne.createElement("input",{id:t.name,type:"checkbox",checked:t.value,disabled:t.readOnly,onChange:e}),ne.createElement("label",{htmlFor:t.name},ne.createElement("span",{className:"sds--checkbox--visual"},ne.createElement(YO,null)),t.info&&ne.createElement("span",{className:"checkbox--text",dangerouslySetInnerHTML:{__html:Gs(t.info)}})),t.tooltip&&ne.createElement(oa,{tip:t.tooltip}))},T7;(function(t){t.Default="sds--card",t.Big="sds--card sds--card--big"})(T7||(T7={}));var Ap;(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"})(Ap||(Ap={}));var Xl=Ap,gf=function(t){var e=t.type?t.type:Xl.Main_100;return ne.createElement("button",{className:"sds--chips ".concat(e)},t.children&&ne.createElement("span",{className:"sds--chips--visual"},t.children),ne.createElement("span",{className:"sds--chips--textual sds--text--body--small"},t.label),t.toolTip&&ne.createElement(oa,{tip:t.toolTip}))},O7;(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"})(O7||(O7={}));var Pn=function(t){var e="sds--loading-container ".concat(t.className||"");return ne.createElement("div",{className:e},ne.createElement("div",{className:"sds--loading"},ne.createElement("span",{className:"sds--loading--dot"}),ne.createElement("span",{className:"sds--loading--dot"}),ne.createElement("span",{className:"sds--loading--dot"})),t.children&&t.children)},R7,I7;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 QO=function(e){return g.createElement("svg",wp({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},e),R7||(R7=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"})),I7||(I7=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"})))},xp;(function(t){t.White="White",t.Black="Black"})(xp||(xp={}));var Cp=xp,ME=function(t){var e=(t.color||Cp.Black)===Cp.White?"sds--branding--negative":"",a="sds--logo sds--branding sds--branding--name-".concat(t.position.toLowerCase()," ").concat(e);return ne.createElement("div",{className:a},ne.createElement("span",{className:"sds--branding--visual"},t.CustomLogo?ne.createElement(t.CustomLogo,null):ne.createElement(QO,null)),ne.createElement("span",{className:"sds--branding--textual"},t.label))},Tp;(function(t){t.Bottom="Bottom",t.Up="Up"})(Tp||(Tp={}));var NE=Tp,DE=function(t){var e=t.alertType||Xn.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")}},[]),ne.createElement("div",{className:"sds--modal sds--backdrop"},ne.createElement("div",{className:"sds--modal--container ".concat(a," ").concat(i)},t.title&&ne.createElement("div",{className:s},ne.createElement("p",{className:"sds--text--h4"},t.title),t.cancel&&ne.createElement("span",{className:"sds--modal--close",onClick:t.cancel},ne.createElement(g6,null))),t.alertType&&ne.createElement(Rr,{alertType:e,message:t.subTitle||"",asChild:!0}),ne.createElement("div",{className:"sds--modal--content"},ne.createElement("div",{className:"sds--text--rich"},t.question&&ne.createElement("p",{dangerouslySetInnerHTML:{__html:Gs(t.question)}}),t.children),ne.createElement("div",{className:"sds--modal--actions sds--actions--outer sds--space--top--5"},t.cancel&&ne.createElement(rt,{onClick:t.cancel,type:At.Secondary,txt:t.cancelButtonLabel}),t.confirm&&ne.createElement(rt,{onClick:t.confirm,type:At.Primary,disabled:t.confirmDisabled,txt:t.confirmationButtonLabel})))))},y6=function(t){var e=t.cutoffNumber||190,a=g.useState(!E7(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){v6(y);var b=i;s(!b),d(b)},p=E7(t.txt)?t.txt:t.txt.substring(0,e+t.txt.substring(e).indexOf(" "));return ne.createElement("span",{className:"sds--more-less-toggle"},i?p:t.txt,i&&ne.createElement("a",{className:"show-more",href:"/more",onClick:f},t.moreLabel||"More"),u&&ne.createElement("a",{className:"show-more",href:"/less",onClick:f},t.lessLabel||"Less"))},M7,N7,D7,j7;function Op(){return Op=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},Op.apply(null,arguments)}var KO=function(e){return g.createElement("svg",Op({xmlns:"http://www.w3.org/2000/svg",width:20,height:21,fill:"none",viewBox:"0 0 20 21"},e),M7||(M7=g.createElement("rect",{width:19.167,height:19.167,x:.417,y:.854,fill:"#404A56",rx:2.083})),N7||(N7=g.createElement("rect",{width:19.167,height:19.167,x:.417,y:.854,stroke:"#fff",strokeWidth:.833,rx:2.083})),D7||(D7=g.createElement("path",{stroke:"#fff",strokeWidth:.833,d:"M5.417.437v20"})),j7||(j7=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"})))},L7,k7,_7,U7;function Rp(){return Rp=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},Rp.apply(null,arguments)}var JO=function(e){return g.createElement("svg",Rp({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17"},e),L7||(L7=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"}))),k7||(k7=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)"})),_7||(_7=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)"})),U7||(U7=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"})))},XO=function(t){var e=g.useState(!1),a=e[0],i=e[1],s=function(o,u){v6(o),t.setActiveMenuItem(u)};return ne.createElement("div",{className:"sds--navigation-menu ".concat(a&&"collapsed")},ne.createElement("div",{className:"sds--navigation-menu-header"},!a&&ne.createElement(ME,{label:t.logoLabel,position:NE.Bottom,color:Cp.White}),ne.createElement("div",{className:"close-container ".concat(a&&"collapsed"),onClick:function(){return i(!a)}},ne.createElement(KO,null))),!a&&ne.createElement("div",{className:"sds--navigation-menu-inner"},t.title&&ne.createElement("div",{className:"sds--navigation-menu-title"},ne.createElement("h2",null,t.title),t.settingToolTip&&ne.createElement(oa,{tip:t.settingToolTip||"",place:"bottom-start",children:ne.createElement(JO,null)})),ne.createElement("div",{className:"sds--navigation-menu-items"},t.groups.map(function(o,u){return ne.createElement("div",{key:u,className:"sds--navigation-group-item"},ne.createElement("p",null,o.label),o.items.map(function(d,f){return ne.createElement("div",{key:f,className:"sds--navigation-menu-item ".concat(d.active?"active":"")},ne.createElement(d.Logo,null),ne.createElement("a",{href:"".concat(d.href),onClick:function(p){return s(p,d)}},d.label))}))}))),ne.createElement("div",{className:"sds--navigation-menu-children ".concat(a&&"collapsed")},t.children&&t.children))},$O=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 p=0,y=o;p<y.length;p++){var f=y[p];d&&(f-d===2?u.push(d+1):f-d!==1&&u.push("...")),u.push(f),d=f}return u},z7;function Ip(){return Ip=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},Ip.apply(null,arguments)}var eR=function(e){return g.createElement("svg",Ip({xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24"},e),z7||(z7=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"})))},b6=function(t){var e=Math.ceil(t.total/t.pageCount),a=$O(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?ne.createElement("li",{key:u},ne.createElement("span",{className:"link-placeholder"},"...")):s===t.currentPage?ne.createElement("li",{key:u},ne.createElement("a",{href:"#",className:"is-active","aria-current":"page"},s)):ne.createElement("li",{key:u},ne.createElement("a",{href:"#",onClick:function(){return t.onChange(s)},"aria-current":"page"},s))};return ne.createElement("div",{className:"sds--pagination"},ne.createElement("nav",{className:"sds--pagination--nav sds--text--body--large","aria-label":"pagination"},ne.createElement("ul",null,e>1&&t.currentPage!==1&&ne.createElement("li",{onClick:function(){return t.onChange(t.currentPage-1)}},ne.createElement("a",{href:"#"},ne.createElement(eR,null))),a.map(function(s,o){return i(s,o)}),e>1&&t.currentPage!==e&&ne.createElement("li",{onClick:function(){return t.onChange(t.currentPage+1)}},ne.createElement("a",{href:"#"},ne.createElement(ZO,null))))),t.children&&t.children)},Mp;(function(t){t.row="row",t.column="column"})(Mp||(Mp={}));var _c=Mp,Oc=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||_c.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 ne.createElement("div",{className:"sds--radio-options"},t.label&&ne.createElement("label",{htmlFor:"".concat(t.name),className:"sds--tooltip-parent sds--radio-options-label"},ne.createElement("span",null,t.label,u&&ne.createElement("sup",{className:"required"},"*")),t.tooltip&&ne.createElement(oa,{tip:t.tooltip})),ne.createElement("div",{className:"sds--text-field-container ".concat(i)},(o||[]).map(function(d,f){var p="".concat(t.name,"_").concat(d);return ne.createElement("div",{key:p,className:"option-".concat(f)},ne.createElement("input",{id:p,type:"radio",name:t.name,checked:e(d),disabled:t.disabled,onChange:t.onChange}),ne.createElement("label",{htmlFor:p,className:"sds--radio-options-label"},ne.createElement("span",{className:"sds--radio--visual"}),ne.createElement("span",{className:"sds--radio--text",dangerouslySetInnerHTML:{__html:Gs(t.labelResolver?t.labelResolver(d):d)}})))})))},j1=function(t){var e="sds--switch ".concat(t.value?"sds--switch--active":""," ").concat(t.disabled?"sds--switch--disabled":"");return ne.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!t.disabled&&t.onChange(!t.value)}},ne.createElement("span",{className:e,role:"switch","aria-checked":t.value}),t.tooltip&&ne.createElement(oa,{tip:t.tooltip}))},Np;(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"})(Np||(Np={}));var Ul=Np,tR=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 ne.createElement("div",{className:s},ne.createElement("div",{className:"sds--toaster--visual"},[Ul.Error,Ul.Warning].includes(t.toasterType)&&ne.createElement(OE,null),[Ul.Default,Ul.Info].includes(t.toasterType)&&ne.createElement(p6,null),[Ul.Success].includes(t.toasterType)&&ne.createElement(TE,null)),ne.createElement("div",{className:"sds--toaster--textual"},t.message&&ne.createElement("p",{dangerouslySetInnerHTML:{__html:Gs(t.message)}}),t.children&&t.children,t.action&&ne.createElement("button",{type:"button",onClick:t.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},t.actionLabel)),t.close&&ne.createElement("button",{className:"sds--alert--actions",onClick:t.close},ne.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),ne.createElement(g6,null)))},nR=function(t){return ne.createElement("div",{className:"sds--toaster-container"},t.children)},aR=function(t){return ne.createElement("nav",{className:"sds--user-info ".concat(t.isOpen?"is-open":"")},ne.createElement("div",{className:"sds--user-info--textual"},ne.createElement("p",{className:"name"},t.userName),ne.createElement("p",{className:"role sds--text--body--small"},t.organisationName)),ne.createElement("button",{type:"button",className:"sds--user-info--button",onClick:t.toggle},ne.createElement(VO,null)),ne.createElement("div",{className:"sds--user-info--dropdown"},t.children&&t.children))};/**
 * react-router v7.9.1
 *
 * 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 q7="popstate";function rR(t={}){function e(i,s){let{pathname:o,search:u,hash:d}=i.location;return Dp("",{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:qc(s)}return sR(e,a,null,t)}function hn(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Dr(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function iR(){return Math.random().toString(36).substring(2,10)}function P7(t,e){return{usr:t.state,key:t.key,idx:e}}function Dp(t,e,a=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ro(e):e,state:a,key:e&&e.key||i||iR()}}function qc({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 ro(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 sR(t,e,a,i={}){let{window:s=document.defaultView,v5Compat:o=!1}=i,u=s.history,d="POP",f=null,p=y();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function y(){return(u.state||{idx:null}).idx}function b(){d="POP";let j=y(),D=j==null?null:j-p;p=j,f&&f({action:d,location:N.location,delta:D})}function A(j,D){d="PUSH";let x=Dp(N.location,j,D);p=y()+1;let z=P7(x,p),G=N.createHref(x);try{u.pushState(z,"",G)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;s.location.assign(G)}o&&f&&f({action:d,location:N.location,delta:1})}function w(j,D){d="REPLACE";let x=Dp(N.location,j,D);p=y();let z=P7(x,p),G=N.createHref(x);u.replaceState(z,"",G),o&&f&&f({action:d,location:N.location,delta:0})}function T(j){return lR(j)}let N={get action(){return d},get location(){return t(s,u)},listen(j){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(q7,b),f=j,()=>{s.removeEventListener(q7,b),f=null}},createHref(j){return e(s,j)},createURL:T,encodeLocation(j){let D=T(j);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:A,replace:w,go(j){return u.go(j)}};return N}function lR(t,e=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),hn(a,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:qc(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=a+i),new URL(i,a)}function jE(t,e,a="/"){return oR(t,e,a,!1)}function oR(t,e,a,i){let s=typeof e=="string"?ro(e):e,o=Oi(s.pathname||"/",a);if(o==null)return null;let u=LE(t);cR(u);let d=null;for(let f=0;d==null&&f<u.length;++f){let p=SR(o);d=yR(u[f],p,i)}return d}function LE(t,e=[],a=[],i="",s=!1){let o=(u,d,f=s,p)=>{let y={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&f)return;hn(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=xi([i,y.relativePath]),A=a.concat(y);u.children&&u.children.length>0&&(hn(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),LE(u.children,e,A,b,f)),!(u.path==null&&!u.index)&&e.push({path:b,score:gR(b,u.index),routesMeta:A})};return t.forEach((u,d)=>{if(u.path===""||!u.path?.includes("?"))o(u,d);else for(let f of kE(u.path))o(u,d,!0,f)}),e}function kE(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=kE(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 cR(t){t.sort((e,a)=>e.score!==a.score?a.score-e.score:vR(e.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var uR=/^:[\w-]+$/,fR=3,dR=2,hR=1,mR=10,pR=-2,H7=t=>t==="*";function gR(t,e){let a=t.split("/"),i=a.length;return a.some(H7)&&(i+=pR),e&&(i+=dR),a.filter(s=>!H7(s)).reduce((s,o)=>s+(uR.test(o)?fR:o===""?hR:mR),i)}function vR(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 yR(t,e,a=!1){let{routesMeta:i}=t,s={},o="/",u=[];for(let d=0;d<i.length;++d){let f=i[d],p=d===i.length-1,y=o==="/"?e:e.slice(o.length)||"/",b=Q1({path:f.relativePath,caseSensitive:f.caseSensitive,end:p},y),A=f.route;if(!b&&p&&a&&!i[i.length-1].route.index&&(b=Q1({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},y)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:xi([o,b.pathname]),pathnameBase:xR(xi([o,b.pathnameBase])),route:A}),b.pathnameBase!=="/"&&(o=xi([o,b.pathnameBase]))}return u}function Q1(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[a,i]=bR(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((p,{paramName:y,isOptional:b},A)=>{if(y==="*"){let T=d[A]||"";u=o.slice(0,o.length-T.length).replace(/(.)\/+$/,"$1")}const w=d[A];return b&&!w?p[y]=void 0:p[y]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:o,pathnameBase:u,pattern:t}}function bR(t,e=!1,a=!0){Dr(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 SR(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Dr(!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 Oi(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 ER(t,e="/"){let{pathname:a,search:i="",hash:s=""}=typeof t=="string"?ro(t):t;return{pathname:a?a.startsWith("/")?a:AR(a,e):e,search:CR(i),hash:TR(s)}}function AR(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 B0(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 wR(t){return t.filter((e,a)=>a===0||e.route.path&&e.route.path.length>0)}function S6(t){let e=wR(t);return e.map((a,i)=>i===e.length-1?a.pathname:a.pathnameBase)}function E6(t,e,a,i=!1){let s;typeof t=="string"?s=ro(t):(s={...t},hn(!s.pathname||!s.pathname.includes("?"),B0("?","pathname","search",s)),hn(!s.pathname||!s.pathname.includes("#"),B0("#","pathname","hash",s)),hn(!s.search||!s.search.includes("#"),B0("#","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 A=u.split("/");for(;A[0]==="..";)A.shift(),b-=1;s.pathname=A.join("/")}d=b>=0?e[b]:"/"}let f=ER(s,d),p=u&&u!=="/"&&u.endsWith("/"),y=(o||u===".")&&a.endsWith("/");return!f.pathname.endsWith("/")&&(p||y)&&(f.pathname+="/"),f}var xi=t=>t.join("/").replace(/\/\/+/g,"/"),xR=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),CR=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,TR=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function OR(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var _E=["POST","PUT","PATCH","DELETE"];new Set(_E);var RR=["GET",..._E];new Set(RR);var io=g.createContext(null);io.displayName="DataRouter";var vf=g.createContext(null);vf.displayName="DataRouterState";g.createContext(!1);var UE=g.createContext({isTransitioning:!1});UE.displayName="ViewTransition";var IR=g.createContext(new Map);IR.displayName="Fetchers";var MR=g.createContext(null);MR.displayName="Await";var Lr=g.createContext(null);Lr.displayName="Navigation";var Yc=g.createContext(null);Yc.displayName="Location";var kr=g.createContext({outlet:null,matches:[],isDataRoute:!1});kr.displayName="Route";var A6=g.createContext(null);A6.displayName="RouteError";function NR(t,{relative:e}={}){hn(so(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=g.useContext(Lr),{hash:s,pathname:o,search:u}=Qc(t,{relative:e}),d=o;return a!=="/"&&(d=o==="/"?a:xi([a,o])),i.createHref({pathname:d,search:u,hash:s})}function so(){return g.useContext(Yc)!=null}function ei(){return hn(so(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(Yc).location}var zE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qE(t){g.useContext(Lr).static||g.useLayoutEffect(t)}function qt(){let{isDataRoute:t}=g.useContext(kr);return t?VR():DR()}function DR(){hn(so(),"useNavigate() may be used only in the context of a <Router> component.");let t=g.useContext(io),{basename:e,navigator:a}=g.useContext(Lr),{matches:i}=g.useContext(kr),{pathname:s}=ei(),o=JSON.stringify(S6(i)),u=g.useRef(!1);return qE(()=>{u.current=!0}),g.useCallback((f,p={})=>{if(Dr(u.current,zE),!u.current)return;if(typeof f=="number"){a.go(f);return}let y=E6(f,JSON.parse(o),s,p.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:xi([e,y.pathname])),(p.replace?a.replace:a.push)(y,p.state,p)},[e,a,o,s,t])}g.createContext(null);function Xr(){let{matches:t}=g.useContext(kr),e=t[t.length-1];return e?e.params:{}}function Qc(t,{relative:e}={}){let{matches:a}=g.useContext(kr),{pathname:i}=ei(),s=JSON.stringify(S6(a));return g.useMemo(()=>E6(t,JSON.parse(s),i,e==="path"),[t,s,i,e])}function jR(t,e){return PE(t,e)}function PE(t,e,a,i,s){hn(so(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=g.useContext(Lr),{matches:u}=g.useContext(kr),d=u[u.length-1],f=d?d.params:{},p=d?d.pathname:"/",y=d?d.pathnameBase:"/",b=d&&d.route;{let x=b&&b.path||"";HE(p,!b||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (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 A=ei(),w;if(e){let x=typeof e=="string"?ro(e):e;hn(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.`),w=x}else w=A;let T=w.pathname||"/",N=T;if(y!=="/"){let x=y.replace(/^\//,"").split("/");N="/"+T.replace(/^\//,"").split("/").slice(x.length).join("/")}let j=jE(t,{pathname:N});Dr(b||j!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Dr(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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 D=zR(j&&j.map(x=>Object.assign({},x,{params:Object.assign({},f,x.params),pathname:xi([y,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?y:xi([y,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),u,a,i,s);return e&&D?g.createElement(Yc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},D):D}function LR(){let t=FR(),e=OR(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 kR=g.createElement(LR,null),_R=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(kr.Provider,{value:this.props.routeContext},g.createElement(A6.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function UR({routeContext:t,match:e,children:a}){let i=g.useContext(io);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),g.createElement(kr.Provider,{value:t},a)}function zR(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 p=o.findIndex(y=>y.route.id&&u?.[y.route.id]!==void 0);hn(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let d=!1,f=-1;if(a)for(let p=0;p<o.length;p++){let y=o[p];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(f=p),y.route.id){let{loaderData:b,errors:A}=a,w=y.route.loader&&!b.hasOwnProperty(y.route.id)&&(!A||A[y.route.id]===void 0);if(y.route.lazy||w){d=!0,f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}return o.reduceRight((p,y,b)=>{let A,w=!1,T=null,N=null;a&&(A=u&&y.route.id?u[y.route.id]:void 0,T=y.route.errorElement||kR,d&&(f<0&&b===0?(HE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,N=null):f===b&&(w=!0,N=y.route.hydrateFallbackElement||null)));let j=e.concat(o.slice(0,b+1)),D=()=>{let x;return A?x=T:w?x=N:y.route.Component?x=g.createElement(y.route.Component,null):y.route.element?x=y.route.element:x=p,g.createElement(UR,{match:y,routeContext:{outlet:p,matches:j,isDataRoute:a!=null},children:x})};return a&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?g.createElement(_R,{location:a.location,revalidation:a.revalidation,component:T,error:A,children:D(),routeContext:{outlet:null,matches:j,isDataRoute:!0},unstable_onError:i}):D()},null)}function w6(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function qR(t){let e=g.useContext(io);return hn(e,w6(t)),e}function PR(t){let e=g.useContext(vf);return hn(e,w6(t)),e}function HR(t){let e=g.useContext(kr);return hn(e,w6(t)),e}function x6(t){let e=HR(t),a=e.matches[e.matches.length-1];return hn(a.route.id,`${t} can only be used on routes that contain a unique "id"`),a.route.id}function BR(){return x6("useRouteId")}function FR(){let t=g.useContext(A6),e=PR("useRouteError"),a=x6("useRouteError");return t!==void 0?t:e.errors?.[a]}function VR(){let{router:t}=qR("useNavigate"),e=x6("useNavigate"),a=g.useRef(!1);return qE(()=>{a.current=!0}),g.useCallback(async(s,o={})=>{Dr(a.current,zE),a.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:e,...o}))},[t,e])}var B7={};function HE(t,e,a){!e&&!B7[t]&&(B7[t]=!0,Dr(!1,a))}g.memo(GR);function GR({routes:t,future:e,state:a,unstable_onError:i}){return PE(t,void 0,a,i,e)}function F7({to:t,replace:e,state:a,relative:i}){hn(so(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=g.useContext(Lr);Dr(!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(kr),{pathname:u}=ei(),d=qt(),f=E6(t,S6(o),u,i==="path"),p=JSON.stringify(f);return g.useEffect(()=>{d(JSON.parse(p),{replace:e,state:a,relative:i})},[d,p,i,e,a]),null}function rn(t){hn(!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 ZR({basename:t="/",children:e=null,location:a,navigationType:i="POP",navigator:s,static:o=!1}){hn(!so(),"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=ro(a));let{pathname:f="/",search:p="",hash:y="",state:b=null,key:A="default"}=a,w=g.useMemo(()=>{let T=Oi(f,u);return T==null?null:{location:{pathname:T,search:p,hash:y,state:b,key:A},navigationType:i}},[u,f,p,y,b,A,i]);return Dr(w!=null,`<Router basename="${u}"> is not able to match the URL "${f}${p}${y}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:g.createElement(Lr.Provider,{value:d},g.createElement(Yc.Provider,{children:e,value:w}))}function jp({children:t,location:e}){return jR(Lp(t),e)}function Lp(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,Lp(i.props.children,o));return}hn(i.type===rn,`[${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>`),hn(!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,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=Lp(i.props.children,o)),a.push(u)}),a}var L1="get",k1="application/x-www-form-urlencoded";function yf(t){return t!=null&&typeof t.tagName=="string"}function WR(t){return yf(t)&&t.tagName.toLowerCase()==="button"}function YR(t){return yf(t)&&t.tagName.toLowerCase()==="form"}function QR(t){return yf(t)&&t.tagName.toLowerCase()==="input"}function KR(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function JR(t,e){return t.button===0&&(!e||e==="_self")&&!KR(t)}var h1=null;function XR(){if(h1===null)try{new FormData(document.createElement("form"),0),h1=!1}catch{h1=!0}return h1}var $R=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function F0(t){return t!=null&&!$R.has(t)?(Dr(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${k1}"`),null):t}function eI(t,e){let a,i,s,o,u;if(YR(t)){let d=t.getAttribute("action");i=d?Oi(d,e):null,a=t.getAttribute("method")||L1,s=F0(t.getAttribute("enctype"))||k1,o=new FormData(t)}else if(WR(t)||QR(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?Oi(f,e):null,a=t.getAttribute("formmethod")||d.getAttribute("method")||L1,s=F0(t.getAttribute("formenctype"))||F0(d.getAttribute("enctype"))||k1,o=new FormData(d,t),!XR()){let{name:p,type:y,value:b}=t;if(y==="image"){let A=p?`${p}.`:"";o.append(`${A}x`,"0"),o.append(`${A}y`,"0")}else p&&o.append(p,b)}}else{if(yf(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=L1,i=null,s=k1,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 C6(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function tI(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&&Oi(i.pathname,e)==="/"?i.pathname=`${e.replace(/\/$/,"")}/_root.${a}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${a}`,i}async function nI(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 aI(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 rI(t,e,a){let i=await Promise.all(t.map(async s=>{let o=e.routes[s.route.id];if(o){let u=await nI(o,a);return u.links?u.links():[]}return[]}));return oI(i.flat(1).filter(aI).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function V7(t,e,a,i,s,o){let u=(f,p)=>a[p]?f.route.id!==a[p].route.id:!0,d=(f,p)=>a[p].pathname!==f.pathname||a[p].route.path?.endsWith("*")&&a[p].params["*"]!==f.params["*"];return o==="assets"?e.filter((f,p)=>u(f,p)||d(f,p)):o==="data"?e.filter((f,p)=>{let y=i.routes[f.route.id];if(!y||!y.hasLoader)return!1;if(u(f,p)||d(f,p))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 iI(t,e,{includeHydrateFallback:a}={}){return sI(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 sI(t){return[...new Set(t)]}function lI(t){let e={},a=Object.keys(t).sort();for(let i of a)e[i]=t[i];return e}function oI(t,e){let a=new Set;return new Set(e),t.reduce((i,s)=>{let o=JSON.stringify(lI(s));return a.has(o)||(a.add(o),i.push({key:o,link:s})),i},[])}function BE(){let t=g.useContext(io);return C6(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function cI(){let t=g.useContext(vf);return C6(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var T6=g.createContext(void 0);T6.displayName="FrameworkContext";function FE(){let t=g.useContext(T6);return C6(t,"You must render this element inside a <HydratedRouter> element"),t}function uI(t,e){let a=g.useContext(T6),[i,s]=g.useState(!1),[o,u]=g.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:p,onMouseLeave:y,onTouchStart:b}=e,A=g.useRef(null);g.useEffect(()=>{if(t==="render"&&u(!0),t==="viewport"){let N=D=>{D.forEach(x=>{u(x.isIntersecting)})},j=new IntersectionObserver(N,{threshold:.5});return A.current&&j.observe(A.current),()=>{j.disconnect()}}},[t]),g.useEffect(()=>{if(i){let N=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(N)}}},[i]);let w=()=>{s(!0)},T=()=>{s(!1),u(!1)};return a?t!=="intent"?[o,A,{}]:[o,A,{onFocus:pc(d,w),onBlur:pc(f,T),onMouseEnter:pc(p,w),onMouseLeave:pc(y,T),onTouchStart:pc(b,w)}]:[!1,A,{}]}function pc(t,e){return a=>{t&&t(a),a.defaultPrevented||e(a)}}function fI({page:t,...e}){let{router:a}=BE(),i=g.useMemo(()=>jE(a.routes,t,a.basename),[a.routes,t,a.basename]);return i?g.createElement(hI,{page:t,matches:i,...e}):null}function dI(t){let{manifest:e,routeModules:a}=FE(),[i,s]=g.useState([]);return g.useEffect(()=>{let o=!1;return rI(t,e,a).then(u=>{o||s(u)}),()=>{o=!0}},[t,e,a]),i}function hI({page:t,matches:e,...a}){let i=ei(),{manifest:s,routeModules:o}=FE(),{basename:u}=BE(),{loaderData:d,matches:f}=cI(),p=g.useMemo(()=>V7(t,e,f,s,i,"data"),[t,e,f,s,i]),y=g.useMemo(()=>V7(t,e,f,s,i,"assets"),[t,e,f,s,i]),b=g.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let T=new Set,N=!1;if(e.forEach(D=>{let x=s.routes[D.route.id];!x||!x.hasLoader||(!p.some(z=>z.route.id===D.route.id)&&D.route.id in d&&o[D.route.id]?.shouldRevalidate||x.hasClientLoader?N=!0:T.add(D.route.id))}),T.size===0)return[];let j=tI(t,u,"data");return N&&T.size>0&&j.searchParams.set("_routes",e.filter(D=>T.has(D.route.id)).map(D=>D.route.id).join(",")),[j.pathname+j.search]},[u,d,i,s,p,e,t,o]),A=g.useMemo(()=>iI(y,s),[y,s]),w=dI(y);return g.createElement(g.Fragment,null,b.map(T=>g.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...a})),A.map(T=>g.createElement("link",{key:T,rel:"modulepreload",href:T,...a})),w.map(({key:T,link:N})=>g.createElement("link",{key:T,nonce:a.nonce,...N})))}function mI(...t){return e=>{t.forEach(a=>{typeof a=="function"?a(e):a!=null&&(a.current=e)})}}var VE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{VE&&(window.__reactRouterVersion="7.9.1")}catch{}function pI({basename:t,children:e,window:a}){let i=g.useRef();i.current==null&&(i.current=rR({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(ZR,{basename:t,children:e,location:o.location,navigationType:o.action,navigator:s})}var GE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ri=g.forwardRef(function({onClick:e,discover:a="render",prefetch:i="none",relative:s,reloadDocument:o,replace:u,state:d,target:f,to:p,preventScrollReset:y,viewTransition:b,...A},w){let{basename:T}=g.useContext(Lr),N=typeof p=="string"&&GE.test(p),j,D=!1;if(typeof p=="string"&&N&&(j=p,VE))try{let O=new URL(window.location.href),R=p.startsWith("//")?new URL(O.protocol+p):new URL(p),B=Oi(R.pathname,T);R.origin===O.origin&&B!=null?p=B+R.search+R.hash:D=!0}catch{Dr(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let x=NR(p,{relative:s}),[z,G,M]=uI(i,A),H=bI(p,{replace:u,state:d,target:f,preventScrollReset:y,relative:s,viewTransition:b});function Z(O){e&&e(O),O.defaultPrevented||H(O)}let E=g.createElement("a",{...A,...M,href:j||x,onClick:D||o?e:Z,ref:mI(w,G),target:f,"data-discover":!N&&a==="render"?"true":void 0});return z&&!N?g.createElement(g.Fragment,null,E,g.createElement(fI,{page:x})):E});Ri.displayName="Link";var gI=g.forwardRef(function({"aria-current":e="page",caseSensitive:a=!1,className:i="",end:s=!1,style:o,to:u,viewTransition:d,children:f,...p},y){let b=Qc(u,{relative:p.relative}),A=ei(),w=g.useContext(vf),{navigator:T,basename:N}=g.useContext(Lr),j=w!=null&&xI(b)&&d===!0,D=T.encodeLocation?T.encodeLocation(b).pathname:b.pathname,x=A.pathname,z=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(x=x.toLowerCase(),z=z?z.toLowerCase():null,D=D.toLowerCase()),z&&N&&(z=Oi(z,N)||z);const G=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let M=x===D||!s&&x.startsWith(D)&&x.charAt(G)==="/",H=z!=null&&(z===D||!s&&z.startsWith(D)&&z.charAt(D.length)==="/"),Z={isActive:M,isPending:H,isTransitioning:j},E=M?e:void 0,O;typeof i=="function"?O=i(Z):O=[i,M?"active":null,H?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let R=typeof o=="function"?o(Z):o;return g.createElement(Ri,{...p,"aria-current":E,className:O,ref:y,style:R,to:u,viewTransition:d},typeof f=="function"?f(Z):f)});gI.displayName="NavLink";var vI=g.forwardRef(({discover:t="render",fetcherKey:e,navigate:a,reloadDocument:i,replace:s,state:o,method:u=L1,action:d,onSubmit:f,relative:p,preventScrollReset:y,viewTransition:b,...A},w)=>{let T=AI(),N=wI(d,{relative:p}),j=u.toLowerCase()==="get"?"get":"post",D=typeof d=="string"&&GE.test(d),x=z=>{if(f&&f(z),z.defaultPrevented)return;z.preventDefault();let G=z.nativeEvent.submitter,M=G?.getAttribute("formmethod")||u;T(G||z.currentTarget,{fetcherKey:e,method:M,navigate:a,replace:s,state:o,relative:p,preventScrollReset:y,viewTransition:b})};return g.createElement("form",{ref:w,method:j,action:N,onSubmit:i?f:x,...A,"data-discover":!D&&t==="render"?"true":void 0})});vI.displayName="Form";function yI(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ZE(t){let e=g.useContext(io);return hn(e,yI(t)),e}function bI(t,{target:e,replace:a,state:i,preventScrollReset:s,relative:o,viewTransition:u}={}){let d=qt(),f=ei(),p=Qc(t,{relative:o});return g.useCallback(y=>{if(JR(y,e)){y.preventDefault();let b=a!==void 0?a:qc(f)===qc(p);d(t,{replace:b,state:i,preventScrollReset:s,relative:o,viewTransition:u})}},[f,d,p,a,i,e,t,s,o,u])}var SI=0,EI=()=>`__${String(++SI)}__`;function AI(){let{router:t}=ZE("useSubmit"),{basename:e}=g.useContext(Lr),a=BR();return g.useCallback(async(i,s={})=>{let{action:o,method:u,encType:d,formData:f,body:p}=eI(i,e);if(s.navigate===!1){let y=s.fetcherKey||EI();await t.fetch(y,a,s.action||o,{preventScrollReset:s.preventScrollReset,formData:f,body:p,formMethod:s.method||u,formEncType:s.encType||d,flushSync:s.flushSync})}else await t.navigate(s.action||o,{preventScrollReset:s.preventScrollReset,formData:f,body:p,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 wI(t,{relative:e}={}){let{basename:a}=g.useContext(Lr),i=g.useContext(kr);hn(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),o={...Qc(t||".",{relative:e})},u=ei();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:xi([a,o.pathname])),qc(o)}function xI(t,{relative:e}={}){let a=g.useContext(UE);hn(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=ZE("useViewTransitionState"),s=Qc(t,{relative:e});if(!a.isTransitioning)return!1;let o=Oi(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=Oi(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Q1(s.pathname,u)!=null||Q1(s.pathname,o)!=null}var WE=dE();const CI={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.",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 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",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."},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.",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."},applications:"Applications"},connection:{overview:"Overview",testing:"Testing",prod:"Production",application:"App information",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.",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:"Zichtbaarheid in de SURF app catalogus",help:"Hulp nodig?",callSurf:"Plan een call met SURF",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:"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)",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",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:"Open",complete:"Completed",pending_prod:"Pending production",prod_ready:"Production ready",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:"Yes",connect_without_interaction_with_email:"Nee, een koppeling moet worden aangevraagd",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:{education:"Education",research:"Research",privacy:"Privacy/security",content:"Content/library",repository:" Repository",company:"Business management",recommended:"Suggested",productivity:"Productivity",organization:"Management of education/research",cooperation:"Collaborate",video:"Video platform",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"},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..."},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",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"},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"}},TI={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 V0,G7;function _r(){if(G7)return V0;G7=1;var t=Array.isArray;return V0=t,V0}var G0,Z7;function YE(){if(Z7)return G0;Z7=1;var t=typeof f1=="object"&&f1&&f1.Object===Object&&f1;return G0=t,G0}var Z0,W7;function ti(){if(W7)return Z0;W7=1;var t=YE(),e=typeof self=="object"&&self&&self.Object===Object&&self,a=t||e||Function("return this")();return Z0=a,Z0}var W0,Y7;function Kc(){if(Y7)return W0;Y7=1;var t=ti(),e=t.Symbol;return W0=e,W0}var Y0,Q7;function OI(){if(Q7)return Y0;Q7=1;var t=Kc(),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 p=!0}catch{}var y=i.call(u);return p&&(d?u[s]=f:delete u[s]),y}return Y0=o,Y0}var Q0,K7;function RI(){if(K7)return Q0;K7=1;var t=Object.prototype,e=t.toString;function a(i){return e.call(i)}return Q0=a,Q0}var K0,J7;function lo(){if(J7)return K0;J7=1;var t=Kc(),e=OI(),a=RI(),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 K0=u,K0}var J0,X7;function Zs(){if(X7)return J0;X7=1;function t(e){return e!=null&&typeof e=="object"}return J0=t,J0}var X0,$7;function Jc(){if($7)return X0;$7=1;var t=lo(),e=Zs(),a="[object Symbol]";function i(s){return typeof s=="symbol"||e(s)&&t(s)==a}return X0=i,X0}var $0,e9;function O6(){if(e9)return $0;e9=1;var t=_r(),e=Jc(),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 $0=s,$0}var e2,t9;function Mi(){if(t9)return e2;t9=1;function t(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}return e2=t,e2}var t2,n9;function R6(){if(n9)return t2;n9=1;var t=lo(),e=Mi(),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 t2=u,t2}var n2,a9;function II(){if(a9)return n2;a9=1;var t=ti(),e=t["__core-js_shared__"];return n2=e,n2}var a2,r9;function MI(){if(r9)return a2;r9=1;var t=II(),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 a2=a,a2}var r2,i9;function QE(){if(i9)return r2;i9=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 r2=a,r2}var i2,s9;function NI(){if(s9)return i2;s9=1;var t=R6(),e=MI(),a=Mi(),i=QE(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,p=d.hasOwnProperty,y=RegExp("^"+f.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(A){if(!a(A)||e(A))return!1;var w=t(A)?y:o;return w.test(i(A))}return i2=b,i2}var s2,l9;function DI(){if(l9)return s2;l9=1;function t(e,a){return e?.[a]}return s2=t,s2}var l2,o9;function Ws(){if(o9)return l2;o9=1;var t=NI(),e=DI();function a(i,s){var o=e(i,s);return t(o)?o:void 0}return l2=a,l2}var o2,c9;function bf(){if(c9)return o2;c9=1;var t=Ws(),e=t(Object,"create");return o2=e,o2}var c2,u9;function jI(){if(u9)return c2;u9=1;var t=bf();function e(){this.__data__=t?t(null):{},this.size=0}return c2=e,c2}var u2,f9;function LI(){if(f9)return u2;f9=1;function t(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}return u2=t,u2}var f2,d9;function kI(){if(d9)return f2;d9=1;var t=bf(),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 f2=s,f2}var d2,h9;function _I(){if(h9)return d2;h9=1;var t=bf(),e=Object.prototype,a=e.hasOwnProperty;function i(s){var o=this.__data__;return t?o[s]!==void 0:a.call(o,s)}return d2=i,d2}var h2,m9;function UI(){if(m9)return h2;m9=1;var t=bf(),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 h2=a,h2}var m2,p9;function zI(){if(p9)return m2;p9=1;var t=jI(),e=LI(),a=kI(),i=_I(),s=UI();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var p=u[d];this.set(p[0],p[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=a,o.prototype.has=i,o.prototype.set=s,m2=o,m2}var p2,g9;function qI(){if(g9)return p2;g9=1;function t(){this.__data__=[],this.size=0}return p2=t,p2}var g2,v9;function Xc(){if(v9)return g2;v9=1;function t(e,a){return e===a||e!==e&&a!==a}return g2=t,g2}var v2,y9;function Sf(){if(y9)return v2;y9=1;var t=Xc();function e(a,i){for(var s=a.length;s--;)if(t(a[s][0],i))return s;return-1}return v2=e,v2}var y2,b9;function PI(){if(b9)return y2;b9=1;var t=Sf(),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 y2=i,y2}var b2,S9;function HI(){if(S9)return b2;S9=1;var t=Sf();function e(a){var i=this.__data__,s=t(i,a);return s<0?void 0:i[s][1]}return b2=e,b2}var S2,E9;function BI(){if(E9)return S2;E9=1;var t=Sf();function e(a){return t(this.__data__,a)>-1}return S2=e,S2}var E2,A9;function FI(){if(A9)return E2;A9=1;var t=Sf();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 E2=e,E2}var A2,w9;function Ef(){if(w9)return A2;w9=1;var t=qI(),e=PI(),a=HI(),i=BI(),s=FI();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var p=u[d];this.set(p[0],p[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=a,o.prototype.has=i,o.prototype.set=s,A2=o,A2}var w2,x9;function I6(){if(x9)return w2;x9=1;var t=Ws(),e=ti(),a=t(e,"Map");return w2=a,w2}var x2,C9;function VI(){if(C9)return x2;C9=1;var t=zI(),e=Ef(),a=I6();function i(){this.size=0,this.__data__={hash:new t,map:new(a||e),string:new t}}return x2=i,x2}var C2,T9;function GI(){if(T9)return C2;T9=1;function t(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}return C2=t,C2}var T2,O9;function Af(){if(O9)return T2;O9=1;var t=GI();function e(a,i){var s=a.__data__;return t(i)?s[typeof i=="string"?"string":"hash"]:s.map}return T2=e,T2}var O2,R9;function ZI(){if(R9)return O2;R9=1;var t=Af();function e(a){var i=t(this,a).delete(a);return this.size-=i?1:0,i}return O2=e,O2}var R2,I9;function WI(){if(I9)return R2;I9=1;var t=Af();function e(a){return t(this,a).get(a)}return R2=e,R2}var I2,M9;function YI(){if(M9)return I2;M9=1;var t=Af();function e(a){return t(this,a).has(a)}return I2=e,I2}var M2,N9;function QI(){if(N9)return M2;N9=1;var t=Af();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 M2=e,M2}var N2,D9;function M6(){if(D9)return N2;D9=1;var t=VI(),e=ZI(),a=WI(),i=YI(),s=QI();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var p=u[d];this.set(p[0],p[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,j9;function KI(){if(j9)return D2;j9=1;var t=M6(),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 p=i.apply(this,u);return o.cache=f.set(d,p)||f,p};return o.cache=new(a.Cache||t),o}return a.Cache=t,D2=a,D2}var j2,L9;function JI(){if(L9)return j2;L9=1;var t=KI(),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 L2,k9;function XI(){if(k9)return L2;k9=1;var t=JI(),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,p){o.push(f?p.replace(a,"$1"):d||u)}),o});return L2=i,L2}var k2,_9;function KE(){if(_9)return k2;_9=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 k2=t,k2}var _2,U9;function $I(){if(U9)return _2;U9=1;var t=Kc(),e=KE(),a=_r(),i=Jc(),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 U2,z9;function oo(){if(z9)return U2;z9=1;var t=$I();function e(a){return a==null?"":t(a)}return U2=e,U2}var z2,q9;function JE(){if(q9)return z2;q9=1;var t=_r(),e=O6(),a=XI(),i=oo();function s(o,u){return t(o)?o:e(o,u)?[o]:a(i(o))}return z2=s,z2}var q2,P9;function wf(){if(P9)return q2;P9=1;var t=Jc();function e(a){if(typeof a=="string"||t(a))return a;var i=a+"";return i=="0"&&1/a==-1/0?"-0":i}return q2=e,q2}var P2,H9;function N6(){if(H9)return P2;H9=1;var t=JE(),e=wf();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 P2=a,P2}var H2,B9;function XE(){if(B9)return H2;B9=1;var t=N6();function e(a,i,s){var o=a==null?void 0:t(a,i);return o===void 0?s:o}return H2=e,H2}var eM=XE();const tM=pr(eM);var B2,F9;function nM(){if(F9)return B2;F9=1;var t=Object.prototype,e=t.hasOwnProperty;function a(i,s){return i!=null&&e.call(i,s)}return B2=a,B2}var F2,V9;function aM(){if(V9)return F2;V9=1;var t=lo(),e=Zs(),a="[object Arguments]";function i(s){return e(s)&&t(s)==a}return F2=i,F2}var V2,G9;function xf(){if(G9)return V2;G9=1;var t=aM(),e=Zs(),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 V2=o,V2}var G2,Z9;function D6(){if(Z9)return G2;Z9=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 G2=a,G2}var Z2,W9;function j6(){if(W9)return Z2;W9=1;var t=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=t}return Z2=e,Z2}var W2,Y9;function $E(){if(Y9)return W2;Y9=1;var t=JE(),e=xf(),a=_r(),i=D6(),s=j6(),o=wf();function u(d,f,p){f=t(f,d);for(var y=-1,b=f.length,A=!1;++y<b;){var w=o(f[y]);if(!(A=d!=null&&p(d,w)))break;d=d[w]}return A||++y!=b?A:(b=d==null?0:d.length,!!b&&s(b)&&i(w,b)&&(a(d)||e(d)))}return W2=u,W2}var Y2,Q9;function rM(){if(Q9)return Y2;Q9=1;var t=nM(),e=$E();function a(i,s){return i!=null&&e(i,s,t)}return Y2=a,Y2}var iM=rM();const sM=pr(iM);var Q2,K9;function lM(){if(K9)return Q2;K9=1;var t=Ef();function e(){this.__data__=new t,this.size=0}return Q2=e,Q2}var K2,J9;function oM(){if(J9)return K2;J9=1;function t(e){var a=this.__data__,i=a.delete(e);return this.size=a.size,i}return K2=t,K2}var J2,X9;function cM(){if(X9)return J2;X9=1;function t(e){return this.__data__.get(e)}return J2=t,J2}var X2,$9;function uM(){if($9)return X2;$9=1;function t(e){return this.__data__.has(e)}return X2=t,X2}var $2,ev;function fM(){if(ev)return $2;ev=1;var t=Ef(),e=I6(),a=M6(),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 $2=s,$2}var eh,tv;function L6(){if(tv)return eh;tv=1;var t=Ef(),e=lM(),a=oM(),i=cM(),s=uM(),o=fM();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,eh=u,eh}var th,nv;function eA(){if(nv)return th;nv=1;var t=Ws(),e=(function(){try{var a=t(Object,"defineProperty");return a({},"",{}),a}catch{}})();return th=e,th}var nh,av;function k6(){if(av)return nh;av=1;var t=eA();function e(a,i,s){i=="__proto__"&&t?t(a,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):a[i]=s}return nh=e,nh}var ah,rv;function tA(){if(rv)return ah;rv=1;var t=k6(),e=Xc();function a(i,s,o){(o!==void 0&&!e(i[s],o)||o===void 0&&!(s in i))&&t(i,s,o)}return ah=a,ah}var rh,iv;function dM(){if(iv)return rh;iv=1;function t(e){return function(a,i,s){for(var o=-1,u=Object(a),d=s(a),f=d.length;f--;){var p=d[e?f:++o];if(i(u[p],p,u)===!1)break}return a}}return rh=t,rh}var ih,sv;function nA(){if(sv)return ih;sv=1;var t=dM(),e=t();return ih=e,ih}var Rc={exports:{}};Rc.exports;var lv;function hM(){return lv||(lv=1,(function(t,e){var a=ti(),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(p,y){if(y)return p.slice();var b=p.length,A=d?d(b):new p.constructor(b);return p.copy(A),A}t.exports=f})(Rc,Rc.exports)),Rc.exports}var sh,ov;function aA(){if(ov)return sh;ov=1;var t=ti(),e=t.Uint8Array;return sh=e,sh}var lh,cv;function mM(){if(cv)return lh;cv=1;var t=aA();function e(a){var i=new a.constructor(a.byteLength);return new t(i).set(new t(a)),i}return lh=e,lh}var oh,uv;function pM(){if(uv)return oh;uv=1;var t=mM();function e(a,i){var s=i?t(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.length)}return oh=e,oh}var ch,fv;function gM(){if(fv)return ch;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 ch=t,ch}var uh,dv;function vM(){if(dv)return uh;dv=1;var t=Mi(),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 uh=a,uh}var fh,hv;function rA(){if(hv)return fh;hv=1;function t(e,a){return function(i){return e(a(i))}}return fh=t,fh}var dh,mv;function iA(){if(mv)return dh;mv=1;var t=rA(),e=t(Object.getPrototypeOf,Object);return dh=e,dh}var hh,pv;function _6(){if(pv)return hh;pv=1;var t=Object.prototype;function e(a){var i=a&&a.constructor,s=typeof i=="function"&&i.prototype||t;return a===s}return hh=e,hh}var mh,gv;function yM(){if(gv)return mh;gv=1;var t=vM(),e=iA(),a=_6();function i(s){return typeof s.constructor=="function"&&!a(s)?t(e(s)):{}}return mh=i,mh}var ph,vv;function co(){if(vv)return ph;vv=1;var t=R6(),e=j6();function a(i){return i!=null&&e(i.length)&&!t(i)}return ph=a,ph}var gh,yv;function bM(){if(yv)return gh;yv=1;var t=co(),e=Zs();function a(i){return e(i)&&t(i)}return gh=a,gh}var Ic={exports:{}},vh,bv;function SM(){if(bv)return vh;bv=1;function t(){return!1}return vh=t,vh}Ic.exports;var Sv;function U6(){return Sv||(Sv=1,(function(t,e){var a=ti(),i=SM(),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,p=f||i;t.exports=p})(Ic,Ic.exports)),Ic.exports}var yh,Ev;function EM(){if(Ev)return yh;Ev=1;var t=lo(),e=iA(),a=Zs(),i="[object Object]",s=Function.prototype,o=Object.prototype,u=s.toString,d=o.hasOwnProperty,f=u.call(Object);function p(y){if(!a(y)||t(y)!=i)return!1;var b=e(y);if(b===null)return!0;var A=d.call(b,"constructor")&&b.constructor;return typeof A=="function"&&A instanceof A&&u.call(A)==f}return yh=p,yh}var bh,Av;function AM(){if(Av)return bh;Av=1;var t=lo(),e=j6(),a=Zs(),i="[object Arguments]",s="[object Array]",o="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",p="[object Map]",y="[object Number]",b="[object Object]",A="[object RegExp]",w="[object Set]",T="[object String]",N="[object WeakMap]",j="[object ArrayBuffer]",D="[object DataView]",x="[object Float32Array]",z="[object Float64Array]",G="[object Int8Array]",M="[object Int16Array]",H="[object Int32Array]",Z="[object Uint8Array]",E="[object Uint8ClampedArray]",O="[object Uint16Array]",R="[object Uint32Array]",B={};B[x]=B[z]=B[G]=B[M]=B[H]=B[Z]=B[E]=B[O]=B[R]=!0,B[i]=B[s]=B[j]=B[o]=B[D]=B[u]=B[d]=B[f]=B[p]=B[y]=B[b]=B[A]=B[w]=B[T]=B[N]=!1;function L(U){return a(U)&&e(U.length)&&!!B[t(U)]}return bh=L,bh}var Sh,wv;function sA(){if(wv)return Sh;wv=1;function t(e){return function(a){return e(a)}}return Sh=t,Sh}var Mc={exports:{}};Mc.exports;var xv;function wM(){return xv||(xv=1,(function(t,e){var a=YE(),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})(Mc,Mc.exports)),Mc.exports}var Eh,Cv;function z6(){if(Cv)return Eh;Cv=1;var t=AM(),e=sA(),a=wM(),i=a&&a.isTypedArray,s=i?e(i):t;return Eh=s,Eh}var Ah,Tv;function lA(){if(Tv)return Ah;Tv=1;function t(e,a){if(!(a==="constructor"&&typeof e[a]=="function")&&a!="__proto__")return e[a]}return Ah=t,Ah}var wh,Ov;function oA(){if(Ov)return wh;Ov=1;var t=k6(),e=Xc(),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 wh=s,wh}var xh,Rv;function xM(){if(Rv)return xh;Rv=1;var t=oA(),e=k6();function a(i,s,o,u){var d=!o;o||(o={});for(var f=-1,p=s.length;++f<p;){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 xh=a,xh}var Ch,Iv;function CM(){if(Iv)return Ch;Iv=1;function t(e,a){for(var i=-1,s=Array(e);++i<e;)s[i]=a(i);return s}return Ch=t,Ch}var Th,Mv;function cA(){if(Mv)return Th;Mv=1;var t=CM(),e=xf(),a=_r(),i=U6(),s=D6(),o=z6(),u=Object.prototype,d=u.hasOwnProperty;function f(p,y){var b=a(p),A=!b&&e(p),w=!b&&!A&&i(p),T=!b&&!A&&!w&&o(p),N=b||A||w||T,j=N?t(p.length,String):[],D=j.length;for(var x in p)(y||d.call(p,x))&&!(N&&(x=="length"||w&&(x=="offset"||x=="parent")||T&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||s(x,D)))&&j.push(x);return j}return Th=f,Th}var Oh,Nv;function TM(){if(Nv)return Oh;Nv=1;function t(e){var a=[];if(e!=null)for(var i in Object(e))a.push(i);return a}return Oh=t,Oh}var Rh,Dv;function OM(){if(Dv)return Rh;Dv=1;var t=Mi(),e=_6(),a=TM(),i=Object.prototype,s=i.hasOwnProperty;function o(u){if(!t(u))return a(u);var d=e(u),f=[];for(var p in u)p=="constructor"&&(d||!s.call(u,p))||f.push(p);return f}return Rh=o,Rh}var Ih,jv;function uA(){if(jv)return Ih;jv=1;var t=cA(),e=OM(),a=co();function i(s){return a(s)?t(s,!0):e(s)}return Ih=i,Ih}var Mh,Lv;function RM(){if(Lv)return Mh;Lv=1;var t=xM(),e=uA();function a(i){return t(i,e(i))}return Mh=a,Mh}var Nh,kv;function IM(){if(kv)return Nh;kv=1;var t=tA(),e=hM(),a=pM(),i=gM(),s=yM(),o=xf(),u=_r(),d=bM(),f=U6(),p=R6(),y=Mi(),b=EM(),A=z6(),w=lA(),T=RM();function N(j,D,x,z,G,M,H){var Z=w(j,x),E=w(D,x),O=H.get(E);if(O){t(j,x,O);return}var R=M?M(Z,E,x+"",j,D,H):void 0,B=R===void 0;if(B){var L=u(E),U=!L&&f(E),F=!L&&!U&&A(E);R=E,L||U||F?u(Z)?R=Z:d(Z)?R=i(Z):U?(B=!1,R=e(E,!0)):F?(B=!1,R=a(E,!0)):R=[]:b(E)||o(E)?(R=Z,o(Z)?R=T(Z):(!y(Z)||p(Z))&&(R=s(E))):B=!1}B&&(H.set(E,R),G(R,E,z,M,H),H.delete(E)),t(j,x,R)}return Nh=N,Nh}var Dh,_v;function MM(){if(_v)return Dh;_v=1;var t=L6(),e=tA(),a=nA(),i=IM(),s=Mi(),o=uA(),u=lA();function d(f,p,y,b,A){f!==p&&a(p,function(w,T){if(A||(A=new t),s(w))i(f,p,T,y,d,b,A);else{var N=b?b(u(f,T),w,T+"",f,p,A):void 0;N===void 0&&(N=w),e(f,T,N)}},o)}return Dh=d,Dh}var jh,Uv;function Cf(){if(Uv)return jh;Uv=1;function t(e){return e}return jh=t,jh}var Lh,zv;function NM(){if(zv)return Lh;zv=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 Lh=t,Lh}var kh,qv;function DM(){if(qv)return kh;qv=1;var t=NM(),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),p=Array(f);++d<f;)p[d]=u[s+d];d=-1;for(var y=Array(s+1);++d<s;)y[d]=u[d];return y[s]=o(p),t(i,this,y)}}return kh=a,kh}var _h,Pv;function jM(){if(Pv)return _h;Pv=1;function t(e){return function(){return e}}return _h=t,_h}var Uh,Hv;function LM(){if(Hv)return Uh;Hv=1;var t=jM(),e=eA(),a=Cf(),i=e?function(s,o){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:a;return Uh=i,Uh}var zh,Bv;function kM(){if(Bv)return zh;Bv=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 zh=i,zh}var qh,Fv;function _M(){if(Fv)return qh;Fv=1;var t=LM(),e=kM(),a=e(t);return qh=a,qh}var Ph,Vv;function fA(){if(Vv)return Ph;Vv=1;var t=Cf(),e=DM(),a=_M();function i(s,o){return a(e(s,o,t),s+"")}return Ph=i,Ph}var Hh,Gv;function Tf(){if(Gv)return Hh;Gv=1;var t=Xc(),e=co(),a=D6(),i=Mi();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 Hh=s,Hh}var Bh,Zv;function UM(){if(Zv)return Bh;Zv=1;var t=fA(),e=Tf();function a(i){return t(function(s,o){var u=-1,d=o.length,f=d>1?o[d-1]:void 0,p=d>2?o[2]:void 0;for(f=i.length>3&&typeof f=="function"?(d--,f):void 0,p&&e(o[0],o[1],p)&&(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 Bh=a,Bh}var Fh,Wv;function zM(){if(Wv)return Fh;Wv=1;var t=MM(),e=UM(),a=e(function(i,s,o){t(i,s,o)});return Fh=a,Fh}var qM=zM();const PM=pr(qM);var Vh,Yv;function HM(){if(Yv)return Vh;Yv=1;var t="__lodash_hash_undefined__";function e(a){return this.__data__.set(a,t),this}return Vh=e,Vh}var Gh,Qv;function BM(){if(Qv)return Gh;Qv=1;function t(e){return this.__data__.has(e)}return Gh=t,Gh}var Zh,Kv;function dA(){if(Kv)return Zh;Kv=1;var t=M6(),e=HM(),a=BM();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,Zh=i,Zh}var Wh,Jv;function FM(){if(Jv)return Wh;Jv=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 Wh=t,Wh}var Yh,Xv;function VM(){if(Xv)return Yh;Xv=1;function t(e){return e!==e}return Yh=t,Yh}var Qh,$v;function GM(){if($v)return Qh;$v=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 Qh=t,Qh}var Kh,ey;function ZM(){if(ey)return Kh;ey=1;var t=FM(),e=VM(),a=GM();function i(s,o,u){return o===o?a(s,o,u):t(s,e,u)}return Kh=i,Kh}var Jh,ty;function WM(){if(ty)return Jh;ty=1;var t=ZM();function e(a,i){var s=a==null?0:a.length;return!!s&&t(a,i,0)>-1}return Jh=e,Jh}var Xh,ny;function YM(){if(ny)return Xh;ny=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 Xh=t,Xh}var $h,ay;function hA(){if(ay)return $h;ay=1;function t(e,a){return e.has(a)}return $h=t,$h}var em,ry;function mA(){if(ry)return em;ry=1;var t=Ws(),e=ti(),a=t(e,"Set");return em=a,em}var tm,iy;function QM(){if(iy)return tm;iy=1;function t(){}return tm=t,tm}var nm,sy;function q6(){if(sy)return nm;sy=1;function t(e){var a=-1,i=Array(e.size);return e.forEach(function(s){i[++a]=s}),i}return nm=t,nm}var am,ly;function KM(){if(ly)return am;ly=1;var t=mA(),e=QM(),a=q6(),i=1/0,s=t&&1/a(new t([,-0]))[1]==i?function(o){return new t(o)}:e;return am=s,am}var rm,oy;function JM(){if(oy)return rm;oy=1;var t=dA(),e=WM(),a=YM(),i=hA(),s=KM(),o=q6(),u=200;function d(f,p,y){var b=-1,A=e,w=f.length,T=!0,N=[],j=N;if(y)T=!1,A=a;else if(w>=u){var D=p?null:s(f);if(D)return o(D);T=!1,A=i,j=new t}else j=p?[]:N;e:for(;++b<w;){var x=f[b],z=p?p(x):x;if(x=y||x!==0?x:0,T&&z===z){for(var G=j.length;G--;)if(j[G]===z)continue e;p&&j.push(z),N.push(x)}else A(j,z,y)||(j!==N&&j.push(z),N.push(x))}return N}return rm=d,rm}var im,cy;function XM(){if(cy)return im;cy=1;var t=JM();function e(a){return a&&a.length?t(a):[]}return im=e,im}var $M=XM();const eN=pr($M),tN=(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])}),eN(i)};class nN{constructor(e){this.i18n=e,this.registry={},this.register("default",tN)}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 aN=(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 rN({pluralizer:t,includeZero:e=!0,ordinal:a=!1}){return function(i,s){return[e&&s===0?"zero":"",t(s,a)].filter(Boolean)}}const iN=rN({pluralizer:aN,includeZero:!0});class sN{constructor(e){this.i18n=e,this.registry={},this.register("default",iN)}register(e,a){this.registry[e]=a}get(e){return this.registry[e]||this.registry[this.i18n.locale]||this.registry.default}}var sm,uy;function lN(){if(uy)return sm;uy=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 sm=t,sm}var lm,fy;function oN(){if(fy)return lm;fy=1;var t=lN();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 lm=e,lm}var om,dy;function pA(){if(dy)return om;dy=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(p){return d.test(p)}return om=f,om}var cm,hy;function cN(){if(hy)return cm;hy=1;function t(e){return e.split("")}return cm=t,cm}var um,my;function uN(){if(my)return um;my=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]",p="(?:"+d+"|"+f+")",y="[^"+t+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",T=p+"?",N="["+o+"]?",j="(?:"+w+"(?:"+[y,b,A].join("|")+")"+N+T+")*",D=N+T+j,x="(?:"+[y+d+"?",d,b,A,u].join("|")+")",z=RegExp(f+"(?="+f+")|"+x+D,"g");function G(M){return M.match(z)||[]}return um=G,um}var fm,py;function fN(){if(py)return fm;py=1;var t=cN(),e=pA(),a=uN();function i(s){return e(s)?a(s):t(s)}return fm=i,fm}var dm,gy;function dN(){if(gy)return dm;gy=1;var t=oN(),e=pA(),a=fN(),i=oo();function s(o){return function(u){u=i(u);var d=e(u)?a(u):void 0,f=d?d[0]:u.charAt(0),p=d?t(d,1).join(""):u.slice(1);return f[o]()+p}}return dm=s,dm}var hm,vy;function hN(){if(vy)return hm;vy=1;var t=dN(),e=t("toUpperCase");return hm=e,hm}var mm,yy;function mN(){if(yy)return mm;yy=1;var t=oo(),e=hN();function a(i){return e(t(i).toLowerCase())}return mm=a,mm}var pm,by;function pN(){if(by)return pm;by=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 pm=t,pm}var gm,Sy;function gN(){if(Sy)return gm;Sy=1;function t(e){return function(a){return e?.[a]}}return gm=t,gm}var vm,Ey;function vN(){if(Ey)return vm;Ey=1;var t=gN(),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 vm=a,vm}var ym,Ay;function yN(){if(Ay)return ym;Ay=1;var t=vN(),e=oo(),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 p(y){return y=e(y),y&&y.replace(a,t).replace(f,"")}return ym=p,ym}var bm,wy;function bN(){if(wy)return bm;wy=1;var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(a){return a.match(t)||[]}return bm=e,bm}var Sm,xy;function SN(){if(xy)return Sm;xy=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 Sm=e,Sm}var Em,Cy;function EN(){if(Cy)return Em;Cy=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",p="\\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",A="\\ufe0e\\ufe0f",w=d+f+p+y,T="['’]",N="["+w+"]",j="["+s+"]",D="\\d+",x="["+o+"]",z="["+u+"]",G="[^"+t+w+D+o+u+b+"]",M="\\ud83c[\\udffb-\\udfff]",H="(?:"+j+"|"+M+")",Z="[^"+t+"]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",R="["+b+"]",B="\\u200d",L="(?:"+z+"|"+G+")",U="(?:"+R+"|"+G+")",F="(?:"+T+"(?:d|ll|m|re|s|t|ve))?",P="(?:"+T+"(?:D|LL|M|RE|S|T|VE))?",I=H+"?",V="["+A+"]?",k="(?:"+B+"(?:"+[Z,E,O].join("|")+")"+V+I+")*",J="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Y=V+I+k,re="(?:"+[x,E,O].join("|")+")"+Y,le=RegExp([R+"?"+z+"+"+F+"(?="+[N,R,"$"].join("|")+")",U+"+"+P+"(?="+[N,R+L,"$"].join("|")+")",R+"?"+L+"+"+F,R+"+"+P,q,J,D,re].join("|"),"g");function ge(he){return he.match(le)||[]}return Em=ge,Em}var Am,Ty;function AN(){if(Ty)return Am;Ty=1;var t=bN(),e=SN(),a=oo(),i=EN();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 Am=s,Am}var wm,Oy;function wN(){if(Oy)return wm;Oy=1;var t=pN(),e=yN(),a=AN(),i="['’]",s=RegExp(i,"g");function o(u){return function(d){return t(a(e(d).replace(s,"")),u,"")}}return wm=o,wm}var xm,Ry;function xN(){if(Ry)return xm;Ry=1;var t=mN(),e=wN(),a=e(function(i,s,o){return s=s.toLowerCase(),i+(o?t(s):s)});return xm=a,xm}var CN=xN();const TN=pr(CN);function Ar(t){return t?Object.keys(t).reduce((e,a)=>(e[TN(a)]=t[a],e),{}):{}}function Ci(t){return t!=null}function ON(t,e,a){let i=[{scope:e}];if(Ci(a.defaults)&&(i=i.concat(a.defaults)),Ci(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 RN=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Cm=Math.ceil,cr=Math.floor,Da="[BigNumber Error] ",Iy=Da+"Number primitive has more than 15 significant digits: ",wr=1e14,it=14,Tm=9007199254740991,Om=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],ns=1e7,Jn=1e9;function gA(t){var e,a,i,s=x.prototype={constructor:x,toString:null,valueOf:null},o=new x(1),u=20,d=4,f=-7,p=21,y=-1e7,b=1e7,A=!1,w=1,T=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},j="0123456789abcdefghijklmnopqrstuvwxyz",D=!0;function x(E,O){var R,B,L,U,F,P,I,V,k=this;if(!(k instanceof x))return new x(E,O);if(O==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((P=typeof E=="number")&&E*0==0){if(k.s=1/E<0?(E=-E,-1):1,E===~~E){for(U=0,F=E;F>=10;F/=10,U++);U>b?k.c=k.e=null:(k.e=U,k.c=[E]);return}V=String(E)}else{if(!RN.test(V=String(E)))return i(k,V,P);k.s=V.charCodeAt(0)==45?(V=V.slice(1),-1):1}(U=V.indexOf("."))>-1&&(V=V.replace(".","")),(F=V.search(/e/i))>0?(U<0&&(U=F),U+=+V.slice(F+1),V=V.substring(0,F)):U<0&&(U=V.length)}else{if(pn(O,2,j.length,"Base"),O==10&&D)return k=new x(E),H(k,u+k.e+1,d);if(V=String(E),P=typeof E=="number"){if(E*0!=0)return i(k,V,P,O);if(k.s=1/E<0?(V=V.slice(1),-1):1,x.DEBUG&&V.replace(/^0\.0*|\./,"").length>15)throw Error(Iy+E)}else k.s=V.charCodeAt(0)===45?(V=V.slice(1),-1):1;for(R=j.slice(0,O),U=F=0,I=V.length;F<I;F++)if(R.indexOf(B=V.charAt(F))<0){if(B=="."){if(F>U){U=I;continue}}else if(!L&&(V==V.toUpperCase()&&(V=V.toLowerCase())||V==V.toLowerCase()&&(V=V.toUpperCase()))){L=!0,F=-1,U=0;continue}return i(k,String(E),P,O)}P=!1,V=a(V,O,10,k.s),(U=V.indexOf("."))>-1?V=V.replace(".",""):U=V.length}for(F=0;V.charCodeAt(F)===48;F++);for(I=V.length;V.charCodeAt(--I)===48;);if(V=V.slice(F,++I)){if(I-=F,P&&x.DEBUG&&I>15&&(E>Tm||E!==cr(E)))throw Error(Iy+k.s*E);if((U=U-F-1)>b)k.c=k.e=null;else if(U<y)k.c=[k.e=0];else{if(k.e=U,k.c=[],F=(U+1)%it,U<0&&(F+=it),F<I){for(F&&k.c.push(+V.slice(0,F)),I-=it;F<I;)k.c.push(+V.slice(F,F+=it));F=it-(V=V.slice(F)).length}else F-=I;for(;F--;V+="0");k.c.push(+V)}}else k.c=[k.e=0]}x.clone=gA,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 O,R;if(E!=null)if(typeof E=="object"){if(E.hasOwnProperty(O="DECIMAL_PLACES")&&(R=E[O],pn(R,0,Jn,O),u=R),E.hasOwnProperty(O="ROUNDING_MODE")&&(R=E[O],pn(R,0,8,O),d=R),E.hasOwnProperty(O="EXPONENTIAL_AT")&&(R=E[O],R&&R.pop?(pn(R[0],-Jn,0,O),pn(R[1],0,Jn,O),f=R[0],p=R[1]):(pn(R,-Jn,Jn,O),f=-(p=R<0?-R:R))),E.hasOwnProperty(O="RANGE"))if(R=E[O],R&&R.pop)pn(R[0],-Jn,-1,O),pn(R[1],1,Jn,O),y=R[0],b=R[1];else if(pn(R,-Jn,Jn,O),R)y=-(b=R<0?-R:R);else throw Error(Da+O+" cannot be zero: "+R);if(E.hasOwnProperty(O="CRYPTO"))if(R=E[O],R===!!R)if(R)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))A=R;else throw A=!R,Error(Da+"crypto unavailable");else A=R;else throw Error(Da+O+" not true or false: "+R);if(E.hasOwnProperty(O="MODULO_MODE")&&(R=E[O],pn(R,0,9,O),w=R),E.hasOwnProperty(O="POW_PRECISION")&&(R=E[O],pn(R,0,Jn,O),T=R),E.hasOwnProperty(O="FORMAT"))if(R=E[O],typeof R=="object")N=R;else throw Error(Da+O+" not an object: "+R);if(E.hasOwnProperty(O="ALPHABET"))if(R=E[O],typeof R=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(R))D=R.slice(0,10)=="0123456789",j=R;else throw Error(Da+O+" invalid: "+R)}else throw Error(Da+"Object expected: "+E);return{DECIMAL_PLACES:u,ROUNDING_MODE:d,EXPONENTIAL_AT:[f,p],RANGE:[y,b],CRYPTO:A,MODULO_MODE:w,POW_PRECISION:T,FORMAT:N,ALPHABET:j}},x.isBigNumber=function(E){if(!E||E._isBigNumber!==!0)return!1;if(!x.DEBUG)return!0;var O,R,B=E.c,L=E.e,U=E.s;e:if({}.toString.call(B)=="[object Array]"){if((U===1||U===-1)&&L>=-Jn&&L<=Jn&&L===cr(L)){if(B[0]===0){if(L===0&&B.length===1)return!0;break e}if(O=(L+1)%it,O<1&&(O+=it),String(B[0]).length==O){for(O=0;O<B.length;O++)if(R=B[O],R<0||R>=wr||R!==cr(R))break e;if(R!==0)return!0}}}else if(B===null&&L===null&&(U===null||U===1||U===-1))return!0;throw Error(Da+"Invalid BigNumber: "+E)},x.maximum=x.max=function(){return G(arguments,-1)},x.minimum=x.min=function(){return G(arguments,1)},x.random=(function(){var E=9007199254740992,O=Math.random()*E&2097151?function(){return cr(Math.random()*E)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(R){var B,L,U,F,P,I=0,V=[],k=new x(o);if(R==null?R=u:pn(R,0,Jn),F=Cm(R/it),A)if(crypto.getRandomValues){for(B=crypto.getRandomValues(new Uint32Array(F*=2));I<F;)P=B[I]*131072+(B[I+1]>>>11),P>=9e15?(L=crypto.getRandomValues(new Uint32Array(2)),B[I]=L[0],B[I+1]=L[1]):(V.push(P%1e14),I+=2);I=F/2}else if(crypto.randomBytes){for(B=crypto.randomBytes(F*=7);I<F;)P=(B[I]&31)*281474976710656+B[I+1]*1099511627776+B[I+2]*4294967296+B[I+3]*16777216+(B[I+4]<<16)+(B[I+5]<<8)+B[I+6],P>=9e15?crypto.randomBytes(7).copy(B,I):(V.push(P%1e14),I+=7);I=F/7}else throw A=!1,Error(Da+"crypto unavailable");if(!A)for(;I<F;)P=O(),P<9e15&&(V[I++]=P%1e14);for(F=V[--I],R%=it,F&&R&&(P=Om[it-R],V[I]=cr(F/P)*P);V[I]===0;V.pop(),I--);if(I<0)V=[U=0];else{for(U=-1;V[0]===0;V.splice(0,1),U-=it);for(I=1,P=V[0];P>=10;P/=10,I++);I<it&&(U-=it-I)}return k.e=U,k.c=V,k}})(),x.sum=function(){for(var E=1,O=arguments,R=new x(O[0]);E<O.length;)R=R.plus(O[E++]);return R},a=(function(){var E="0123456789";function O(R,B,L,U){for(var F,P=[0],I,V=0,k=R.length;V<k;){for(I=P.length;I--;P[I]*=B);for(P[0]+=U.indexOf(R.charAt(V++)),F=0;F<P.length;F++)P[F]>L-1&&(P[F+1]==null&&(P[F+1]=0),P[F+1]+=P[F]/L|0,P[F]%=L)}return P.reverse()}return function(R,B,L,U,F){var P,I,V,k,J,q,Y,re,le=R.indexOf("."),ge=u,he=d;for(le>=0&&(k=T,T=0,R=R.replace(".",""),re=new x(B),q=re.pow(R.length-le),T=k,re.c=O(Si(lr(q.c),q.e,"0"),10,L,E),re.e=re.c.length),Y=O(R,B,L,F?(P=j,E):(P=E,j)),V=k=Y.length;Y[--k]==0;Y.pop());if(!Y[0])return P.charAt(0);if(le<0?--V:(q.c=Y,q.e=V,q.s=U,q=e(q,re,ge,he,L),Y=q.c,J=q.r,V=q.e),I=V+ge+1,le=Y[I],k=L/2,J=J||I<0||Y[I+1]!=null,J=he<4?(le!=null||J)&&(he==0||he==(q.s<0?3:2)):le>k||le==k&&(he==4||J||he==6&&Y[I-1]&1||he==(q.s<0?8:7)),I<1||!Y[0])R=J?Si(P.charAt(1),-ge,P.charAt(0)):P.charAt(0);else{if(Y.length=I,J)for(--L;++Y[--I]>L;)Y[I]=0,I||(++V,Y=[1].concat(Y));for(k=Y.length;!Y[--k];);for(le=0,R="";le<=k;R+=P.charAt(Y[le++]));R=Si(R,V,P.charAt(0))}return R}})(),e=(function(){function E(B,L,U){var F,P,I,V,k=0,J=B.length,q=L%ns,Y=L/ns|0;for(B=B.slice();J--;)I=B[J]%ns,V=B[J]/ns|0,F=Y*I+V*q,P=q*I+F%ns*ns+k,k=(P/U|0)+(F/ns|0)+Y*V,B[J]=P%U;return k&&(B=[k].concat(B)),B}function O(B,L,U,F){var P,I;if(U!=F)I=U>F?1:-1;else for(P=I=0;P<U;P++)if(B[P]!=L[P]){I=B[P]>L[P]?1:-1;break}return I}function R(B,L,U,F){for(var P=0;U--;)B[U]-=P,P=B[U]<L[U]?1:0,B[U]=P*F+B[U]-L[U];for(;!B[0]&&B.length>1;B.splice(0,1));}return function(B,L,U,F,P){var I,V,k,J,q,Y,re,le,ge,he,pe,Ne,ke,Pe,en,ct,gt,vt=B.s==L.s?1:-1,Qe=B.c,we=L.c;if(!Qe||!Qe[0]||!we||!we[0])return new x(!B.s||!L.s||(Qe?we&&Qe[0]==we[0]:!we)?NaN:Qe&&Qe[0]==0||!we?vt*0:vt/0);for(le=new x(vt),ge=le.c=[],V=B.e-L.e,vt=U+V+1,P||(P=wr,V=ur(B.e/it)-ur(L.e/it),vt=vt/it|0),k=0;we[k]==(Qe[k]||0);k++);if(we[k]>(Qe[k]||0)&&V--,vt<0)ge.push(1),J=!0;else{for(Pe=Qe.length,ct=we.length,k=0,vt+=2,q=cr(P/(we[0]+1)),q>1&&(we=E(we,q,P),Qe=E(Qe,q,P),ct=we.length,Pe=Qe.length),ke=ct,he=Qe.slice(0,ct),pe=he.length;pe<ct;he[pe++]=0);gt=we.slice(),gt=[0].concat(gt),en=we[0],we[1]>=P/2&&en++;do{if(q=0,I=O(we,he,ct,pe),I<0){if(Ne=he[0],ct!=pe&&(Ne=Ne*P+(he[1]||0)),q=cr(Ne/en),q>1)for(q>=P&&(q=P-1),Y=E(we,q,P),re=Y.length,pe=he.length;O(Y,he,re,pe)==1;)q--,R(Y,ct<re?gt:we,re,P),re=Y.length,I=1;else q==0&&(I=q=1),Y=we.slice(),re=Y.length;if(re<pe&&(Y=[0].concat(Y)),R(he,Y,pe,P),pe=he.length,I==-1)for(;O(we,he,ct,pe)<1;)q++,R(he,ct<pe?gt:we,pe,P),pe=he.length}else I===0&&(q++,he=[0]);ge[k++]=q,he[0]?he[pe++]=Qe[ke]||0:(he=[Qe[ke]],pe=1)}while((ke++<Pe||he[0]!=null)&&vt--);J=he[0]!=null,ge[0]||ge.splice(0,1)}if(P==wr){for(k=1,vt=ge[0];vt>=10;vt/=10,k++);H(le,U+(le.e=k+V*it-1)+1,F,J)}else le.e=V,le.r=+J;return le}})();function z(E,O,R,B){var L,U,F,P,I;if(R==null?R=d:pn(R,0,8),!E.c)return E.toString();if(L=E.c[0],F=E.e,O==null)I=lr(E.c),I=B==1||B==2&&(F<=f||F>=p)?p1(I,F):Si(I,F,"0");else if(E=H(new x(E),O,R),U=E.e,I=lr(E.c),P=I.length,B==1||B==2&&(O<=U||U<=f)){for(;P<O;I+="0",P++);I=p1(I,U)}else if(O-=F+(B===2&&U>F),I=Si(I,U,"0"),U+1>P){if(--O>0)for(I+=".";O--;I+="0");}else if(O+=U-P,O>0)for(U+1==P&&(I+=".");O--;I+="0");return E.s<0&&L?"-"+I:I}function G(E,O){for(var R,B,L=1,U=new x(E[0]);L<E.length;L++)B=new x(E[L]),(!B.s||(R=Ns(U,B))===O||R===0&&U.s===O)&&(U=B);return U}function M(E,O,R){for(var B=1,L=O.length;!O[--L];O.pop());for(L=O[0];L>=10;L/=10,B++);return(R=B+R*it-1)>b?E.c=E.e=null:R<y?E.c=[E.e=0]:(E.e=R,E.c=O),E}i=(function(){var E=/^(-?)0([xbo])(?=\w[\w.]*$)/i,O=/^([^.]+)\.$/,R=/^\.([^.]+)$/,B=/^-?(Infinity|NaN)$/,L=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(U,F,P,I){var V,k=P?F:F.replace(L,"");if(B.test(k))U.s=isNaN(k)?null:k<0?-1:1;else{if(!P&&(k=k.replace(E,function(J,q,Y){return V=(Y=Y.toLowerCase())=="x"?16:Y=="b"?2:8,!I||I==V?q:J}),I&&(V=I,k=k.replace(O,"$1").replace(R,"0.$1")),F!=k))return new x(k,V);if(x.DEBUG)throw Error(Da+"Not a"+(I?" base "+I:"")+" number: "+F);U.s=null}U.c=U.e=null}})();function H(E,O,R,B){var L,U,F,P,I,V,k,J=E.c,q=Om;if(J){e:{for(L=1,P=J[0];P>=10;P/=10,L++);if(U=O-L,U<0)U+=it,F=O,I=J[V=0],k=cr(I/q[L-F-1]%10);else if(V=Cm((U+1)/it),V>=J.length)if(B){for(;J.length<=V;J.push(0));I=k=0,L=1,U%=it,F=U-it+1}else break e;else{for(I=P=J[V],L=1;P>=10;P/=10,L++);U%=it,F=U-it+L,k=F<0?0:cr(I/q[L-F-1]%10)}if(B=B||O<0||J[V+1]!=null||(F<0?I:I%q[L-F-1]),B=R<4?(k||B)&&(R==0||R==(E.s<0?3:2)):k>5||k==5&&(R==4||B||R==6&&(U>0?F>0?I/q[L-F]:0:J[V-1])%10&1||R==(E.s<0?8:7)),O<1||!J[0])return J.length=0,B?(O-=E.e+1,J[0]=q[(it-O%it)%it],E.e=-O||0):J[0]=E.e=0,E;if(U==0?(J.length=V,P=1,V--):(J.length=V+1,P=q[it-U],J[V]=F>0?cr(I/q[L-F]%q[F])*P:0),B)for(;;)if(V==0){for(U=1,F=J[0];F>=10;F/=10,U++);for(F=J[0]+=P,P=1;F>=10;F/=10,P++);U!=P&&(E.e++,J[0]==wr&&(J[0]=1));break}else{if(J[V]+=P,J[V]!=wr)break;J[V--]=0,P=1}for(U=J.length;J[--U]===0;J.pop());}E.e>b?E.c=E.e=null:E.e<y&&(E.c=[E.e=0])}return E}function Z(E){var O,R=E.e;return R===null?E.toString():(O=lr(E.c),O=R<=f||R>=p?p1(O,R):Si(O,R,"0"),E.s<0?"-"+O:O)}return s.absoluteValue=s.abs=function(){var E=new x(this);return E.s<0&&(E.s=1),E},s.comparedTo=function(E,O){return Ns(this,new x(E,O))},s.decimalPlaces=s.dp=function(E,O){var R,B,L,U=this;if(E!=null)return pn(E,0,Jn),O==null?O=d:pn(O,0,8),H(new x(U),E+U.e+1,O);if(!(R=U.c))return null;if(B=((L=R.length-1)-ur(this.e/it))*it,L=R[L])for(;L%10==0;L/=10,B--);return B<0&&(B=0),B},s.dividedBy=s.div=function(E,O){return e(this,new x(E,O),u,d)},s.dividedToIntegerBy=s.idiv=function(E,O){return e(this,new x(E,O),0,1)},s.exponentiatedBy=s.pow=function(E,O){var R,B,L,U,F,P,I,V,k,J=this;if(E=new x(E),E.c&&!E.isInteger())throw Error(Da+"Exponent not an integer: "+Z(E));if(O!=null&&(O=new x(O)),P=E.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!E.c||!E.c[0])return k=new x(Math.pow(+Z(J),P?E.s*(2-m1(E)):+Z(E))),O?k.mod(O):k;if(I=E.s<0,O){if(O.c?!O.c[0]:!O.s)return new x(NaN);B=!I&&J.isInteger()&&O.isInteger(),B&&(J=J.mod(O))}else{if(E.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||P&&J.c[1]>=24e7:J.c[0]<8e13||P&&J.c[0]<=9999975e7)))return U=J.s<0&&m1(E)?-0:0,J.e>-1&&(U=1/U),new x(I?1/U:U);T&&(U=Cm(T/it+2))}for(P?(R=new x(.5),I&&(E.s=1),V=m1(E)):(L=Math.abs(+Z(E)),V=L%2),k=new x(o);;){if(V){if(k=k.times(J),!k.c)break;U?k.c.length>U&&(k.c.length=U):B&&(k=k.mod(O))}if(L){if(L=cr(L/2),L===0)break;V=L%2}else if(E=E.times(R),H(E,E.e+1,1),E.e>14)V=m1(E);else{if(L=+Z(E),L===0)break;V=L%2}J=J.times(J),U?J.c&&J.c.length>U&&(J.c.length=U):B&&(J=J.mod(O))}return B?k:(I&&(k=o.div(k)),O?k.mod(O):U?H(k,T,d,F):k)},s.integerValue=function(E){var O=new x(this);return E==null?E=d:pn(E,0,8),H(O,O.e+1,E)},s.isEqualTo=s.eq=function(E,O){return Ns(this,new x(E,O))===0},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(E,O){return Ns(this,new x(E,O))>0},s.isGreaterThanOrEqualTo=s.gte=function(E,O){return(O=Ns(this,new x(E,O)))===1||O===0},s.isInteger=function(){return!!this.c&&ur(this.e/it)>this.c.length-2},s.isLessThan=s.lt=function(E,O){return Ns(this,new x(E,O))<0},s.isLessThanOrEqualTo=s.lte=function(E,O){return(O=Ns(this,new x(E,O)))===-1||O===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,O){var R,B,L,U,F=this,P=F.s;if(E=new x(E,O),O=E.s,!P||!O)return new x(NaN);if(P!=O)return E.s=-O,F.plus(E);var I=F.e/it,V=E.e/it,k=F.c,J=E.c;if(!I||!V){if(!k||!J)return k?(E.s=-O,E):new x(J?F:NaN);if(!k[0]||!J[0])return J[0]?(E.s=-O,E):new x(k[0]?F:d==3?-0:0)}if(I=ur(I),V=ur(V),k=k.slice(),P=I-V){for((U=P<0)?(P=-P,L=k):(V=I,L=J),L.reverse(),O=P;O--;L.push(0));L.reverse()}else for(B=(U=(P=k.length)<(O=J.length))?P:O,P=O=0;O<B;O++)if(k[O]!=J[O]){U=k[O]<J[O];break}if(U&&(L=k,k=J,J=L,E.s=-E.s),O=(B=J.length)-(R=k.length),O>0)for(;O--;k[R++]=0);for(O=wr-1;B>P;){if(k[--B]<J[B]){for(R=B;R&&!k[--R];k[R]=O);--k[R],k[B]+=wr}k[B]-=J[B]}for(;k[0]==0;k.splice(0,1),--V);return k[0]?M(E,k,V):(E.s=d==3?-1:1,E.c=[E.e=0],E)},s.modulo=s.mod=function(E,O){var R,B,L=this;return E=new x(E,O),!L.c||!E.s||E.c&&!E.c[0]?new x(NaN):!E.c||L.c&&!L.c[0]?new x(L):(w==9?(B=E.s,E.s=1,R=e(L,E,0,3),E.s=B,R.s*=B):R=e(L,E,0,w),E=L.minus(R.times(E)),!E.c[0]&&w==1&&(E.s=L.s),E)},s.multipliedBy=s.times=function(E,O){var R,B,L,U,F,P,I,V,k,J,q,Y,re,le,ge,he=this,pe=he.c,Ne=(E=new x(E,O)).c;if(!pe||!Ne||!pe[0]||!Ne[0])return!he.s||!E.s||pe&&!pe[0]&&!Ne||Ne&&!Ne[0]&&!pe?E.c=E.e=E.s=null:(E.s*=he.s,!pe||!Ne?E.c=E.e=null:(E.c=[0],E.e=0)),E;for(B=ur(he.e/it)+ur(E.e/it),E.s*=he.s,I=pe.length,J=Ne.length,I<J&&(re=pe,pe=Ne,Ne=re,L=I,I=J,J=L),L=I+J,re=[];L--;re.push(0));for(le=wr,ge=ns,L=J;--L>=0;){for(R=0,q=Ne[L]%ge,Y=Ne[L]/ge|0,F=I,U=L+F;U>L;)V=pe[--F]%ge,k=pe[F]/ge|0,P=Y*V+k*q,V=q*V+P%ge*ge+re[U]+R,R=(V/le|0)+(P/ge|0)+Y*k,re[U--]=V%le;re[U]=R}return R?++B:re.splice(0,1),M(E,re,B)},s.negated=function(){var E=new x(this);return E.s=-E.s||null,E},s.plus=function(E,O){var R,B=this,L=B.s;if(E=new x(E,O),O=E.s,!L||!O)return new x(NaN);if(L!=O)return E.s=-O,B.minus(E);var U=B.e/it,F=E.e/it,P=B.c,I=E.c;if(!U||!F){if(!P||!I)return new x(L/0);if(!P[0]||!I[0])return I[0]?E:new x(P[0]?B:L*0)}if(U=ur(U),F=ur(F),P=P.slice(),L=U-F){for(L>0?(F=U,R=I):(L=-L,R=P),R.reverse();L--;R.push(0));R.reverse()}for(L=P.length,O=I.length,L-O<0&&(R=I,I=P,P=R,O=L),L=0;O;)L=(P[--O]=P[O]+I[O]+L)/wr|0,P[O]=wr===P[O]?0:P[O]%wr;return L&&(P=[L].concat(P),++F),M(E,P,F)},s.precision=s.sd=function(E,O){var R,B,L,U=this;if(E!=null&&E!==!!E)return pn(E,1,Jn),O==null?O=d:pn(O,0,8),H(new x(U),E,O);if(!(R=U.c))return null;if(L=R.length-1,B=L*it+1,L=R[L]){for(;L%10==0;L/=10,B--);for(L=R[0];L>=10;L/=10,B++);}return E&&U.e+1>B&&(B=U.e+1),B},s.shiftedBy=function(E){return pn(E,-Tm,Tm),this.times("1e"+E)},s.squareRoot=s.sqrt=function(){var E,O,R,B,L,U=this,F=U.c,P=U.s,I=U.e,V=u+4,k=new x("0.5");if(P!==1||!F||!F[0])return new x(!P||P<0&&(!F||F[0])?NaN:F?U:1/0);if(P=Math.sqrt(+Z(U)),P==0||P==1/0?(O=lr(F),(O.length+I)%2==0&&(O+="0"),P=Math.sqrt(+O),I=ur((I+1)/2)-(I<0||I%2),P==1/0?O="5e"+I:(O=P.toExponential(),O=O.slice(0,O.indexOf("e")+1)+I),R=new x(O)):R=new x(P+""),R.c[0]){for(I=R.e,P=I+V,P<3&&(P=0);;)if(L=R,R=k.times(L.plus(e(U,L,V,1))),lr(L.c).slice(0,P)===(O=lr(R.c)).slice(0,P))if(R.e<I&&--P,O=O.slice(P-3,P+1),O=="9999"||!B&&O=="4999"){if(!B&&(H(L,L.e+u+2,0),L.times(L).eq(U))){R=L;break}V+=4,P+=4,B=1}else{(!+O||!+O.slice(1)&&O.charAt(0)=="5")&&(H(R,R.e+u+2,1),E=!R.times(R).eq(U));break}}return H(R,R.e+u+1,d,E)},s.toExponential=function(E,O){return E!=null&&(pn(E,0,Jn),E++),z(this,E,O,1)},s.toFixed=function(E,O){return E!=null&&(pn(E,0,Jn),E=E+this.e+1),z(this,E,O)},s.toFormat=function(E,O,R){var B,L=this;if(R==null)E!=null&&O&&typeof O=="object"?(R=O,O=null):E&&typeof E=="object"?(R=E,E=O=null):R=N;else if(typeof R!="object")throw Error(Da+"Argument not an object: "+R);if(B=L.toFixed(E,O),L.c){var U,F=B.split("."),P=+R.groupSize,I=+R.secondaryGroupSize,V=R.groupSeparator||"",k=F[0],J=F[1],q=L.s<0,Y=q?k.slice(1):k,re=Y.length;if(I&&(U=P,P=I,I=U,re-=U),P>0&&re>0){for(U=re%P||P,k=Y.substr(0,U);U<re;U+=P)k+=V+Y.substr(U,P);I>0&&(k+=V+Y.slice(U)),q&&(k="-"+k)}B=J?k+(R.decimalSeparator||"")+((I=+R.fractionGroupSize)?J.replace(new RegExp("\\d{"+I+"}\\B","g"),"$&"+(R.fractionGroupSeparator||"")):J):k}return(R.prefix||"")+B+(R.suffix||"")},s.toFraction=function(E){var O,R,B,L,U,F,P,I,V,k,J,q,Y=this,re=Y.c;if(E!=null&&(P=new x(E),!P.isInteger()&&(P.c||P.s!==1)||P.lt(o)))throw Error(Da+"Argument "+(P.isInteger()?"out of range: ":"not an integer: ")+Z(P));if(!re)return new x(Y);for(O=new x(o),V=R=new x(o),B=I=new x(o),q=lr(re),U=O.e=q.length-Y.e-1,O.c[0]=Om[(F=U%it)<0?it+F:F],E=!E||P.comparedTo(O)>0?U>0?O:V:P,F=b,b=1/0,P=new x(q),I.c[0]=0;k=e(P,O,0,1),L=R.plus(k.times(B)),L.comparedTo(E)!=1;)R=B,B=L,V=I.plus(k.times(L=V)),I=L,O=P.minus(k.times(L=O)),P=L;return L=e(E.minus(R),B,0,1),I=I.plus(L.times(V)),R=R.plus(L.times(B)),I.s=V.s=Y.s,U=U*2,J=e(V,B,U,d).minus(Y).abs().comparedTo(e(I,R,U,d).minus(Y).abs())<1?[V,B]:[I,R],b=F,J},s.toNumber=function(){return+Z(this)},s.toPrecision=function(E,O){return E!=null&&pn(E,1,Jn),z(this,E,O,2)},s.toString=function(E){var O,R=this,B=R.s,L=R.e;return L===null?B?(O="Infinity",B<0&&(O="-"+O)):O="NaN":(E==null?O=L<=f||L>=p?p1(lr(R.c),L):Si(lr(R.c),L,"0"):E===10&&D?(R=H(new x(R),u+L+1,d),O=Si(lr(R.c),R.e,"0")):(pn(E,2,j.length,"Base"),O=a(Si(lr(R.c),L,"0"),10,E,B,!0)),B<0&&R.c[0]&&(O="-"+O)),O},s.valueOf=s.toJSON=function(){return Z(this)},s._isBigNumber=!0,s[Symbol.toStringTag]="BigNumber",s[Symbol.for("nodejs.util.inspect.custom")]=s.valueOf,t!=null&&x.set(t),x}function ur(t){var e=t|0;return t>0||t===e?e:e-1}function lr(t){for(var e,a,i=1,s=t.length,o=t[0]+"";i<s;){for(e=t[i++]+"",a=it-e.length;a--;e="0"+e);o+=e}for(s=o.length;o.charCodeAt(--s)===48;);return o.slice(0,s+1||1)}function Ns(t,e){var a,i,s=t.c,o=e.c,u=t.s,d=e.s,f=t.e,p=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==p,!s||!o)return i?0:!s^a?1:-1;if(!i)return f>p^a?1:-1;for(d=(f=s.length)<(p=o.length)?f:p,u=0;u<d;u++)if(s[u]!=o[u])return s[u]>o[u]^a?1:-1;return f==p?0:f>p^a?1:-1}function pn(t,e,a,i){if(t<e||t>a||t!==cr(t))throw Error(Da+(i||"Argument")+(typeof t=="number"?t<e||t>a?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function m1(t){var e=t.c.length-1;return ur(t.e/it)==e&&t.c[e]%2!=0}function p1(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function Si(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 En=gA(),K1;(function(t){t[t.up=En.ROUND_UP]="up",t[t.down=En.ROUND_DOWN]="down",t[t.truncate=En.ROUND_DOWN]="truncate",t[t.halfUp=En.ROUND_HALF_UP]="halfUp",t[t.default=En.ROUND_HALF_UP]="default",t[t.halfDown=En.ROUND_HALF_DOWN]="halfDown",t[t.halfEven=En.ROUND_HALF_EVEN]="halfEven",t[t.banker=En.ROUND_HALF_EVEN]="banker",t[t.ceiling=En.ROUND_CEIL]="ceiling",t[t.ceil=En.ROUND_CEIL]="ceil",t[t.floor=En.ROUND_FLOOR]="floor"})(K1||(K1={}));function vA(t){var e;return(e=K1[t])!==null&&e!==void 0?e:K1.default}var Rm,My;function IN(){if(My)return Rm;My=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 Rm=a,Rm}var Im,Ny;function MN(){if(Ny)return Im;Ny=1;var t=/\s/;function e(a){for(var i=a.length;i--&&t.test(a.charAt(i)););return i}return Im=e,Im}var Mm,Dy;function NN(){if(Dy)return Mm;Dy=1;var t=MN(),e=/^\s+/;function a(i){return i&&i.slice(0,t(i)+1).replace(e,"")}return Mm=a,Mm}var Nm,jy;function DN(){if(jy)return Nm;jy=1;var t=NN(),e=Mi(),a=Jc(),i=NaN,s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=parseInt;function f(p){if(typeof p=="number")return p;if(a(p))return i;if(e(p)){var y=typeof p.valueOf=="function"?p.valueOf():p;p=e(y)?y+"":y}if(typeof p!="string")return p===0?p:+p;p=t(p);var b=o.test(p);return b||u.test(p)?d(p.slice(2),b?2:8):s.test(p)?i:+p}return Nm=f,Nm}var Dm,Ly;function yA(){if(Ly)return Dm;Ly=1;var t=DN(),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 Dm=i,Dm}var jm,ky;function jN(){if(ky)return jm;ky=1;var t=yA();function e(a){var i=t(a),s=i%1;return i===i?s?i-s:i:0}return jm=e,jm}var Lm,_y;function LN(){if(_y)return Lm;_y=1;var t=IN(),e=Tf(),a=jN(),i=oo();function s(o,u,d){return(d?e(o,u,d):u===void 0)?u=1:u=a(u),t(i(o),u)}return Lm=s,Lm}var kN=LN();const _N=pr(kN);function UN(t){return t.isZero()?1:Math.floor(Math.log10(t.abs().toNumber())+1)}function zN(t,{precision:e,significant:a}){return a&&e!==null&&e>0?e-UN(t):e}function J1(t,e){const a=zN(t,e);if(a===null)return t.toString();const i=vA(e.roundMode);if(a>=0)return t.toFixed(a,i);const s=Math.pow(10,Math.abs(a));return t=new En(t.div(s).toFixed(0,i)).times(s),t.toString()}function qN(t,{formattedNumber:e,unit:a}){return t.replace("%n",e).replace("%u",a)}function PN({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 gc(t,e){var a,i,s;const o=new En(t);if(e.raise&&!o.isFinite())throw new Error(`"${t}" is not a valid numeric value`);const u=J1(o,e),d=new En(u),f=d.lt(0),p=d.isZero();let[y,b]=u.split(".");const A=[];let w;const T=(a=e.format)!==null&&a!==void 0?a:"%n",N=(i=e.negativeFormat)!==null&&i!==void 0?i:`-${T}`,j=f&&!p?N:T;for(y=y.replace("-","");y.length>0;)A.unshift(y.substr(Math.max(0,y.length-3),3)),y=y.substr(0,y.length-3);return y=A.join(""),w=A.join(e.delimiter),e.significant?b=PN({whole:y,significand:b,precision:e.precision}):b=b??_N("0",(s=e.precision)!==null&&s!==void 0?s:0),e.stripInsignificantZeros&&b&&(b=b.replace(/0+$/,"")),o.isNaN()&&(w=t.toString()),b&&o.isFinite()&&(w+=(e.separator||".")+b),qN(j,{formattedNumber:w,unit:e.unit})}function $l(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 Us(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 km(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");Ci(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 Gr(t,e,a={}){a=Object.assign({},a);const i="locale"in a?a.locale:t.locale,s=Us(i),o=t.locales.get(s==="string"?i:typeof i).slice(),u=$l(t,e,a).split(t.defaultSeparator).map(f=>t.transformKey(f)),d=o.map(f=>u.reduce((p,y)=>p&&p[y],t.translations[f]));return d.push(a.defaultValue),d.find(f=>Ci(f))}function HN(t,e){const a=new En(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,Uy;function bA(){if(Uy)return _m;Uy=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 Um,zy;function BN(){if(zy)return Um;zy=1;var t=Kc(),e=xf(),a=_r(),i=t?t.isConcatSpreadable:void 0;function s(o){return a(o)||e(o)||!!(i&&o&&o[i])}return Um=s,Um}var zm,qy;function FN(){if(qy)return zm;qy=1;var t=bA(),e=BN();function a(i,s,o,u,d){var f=-1,p=i.length;for(o||(o=e),d||(d=[]);++f<p;){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 zm=a,zm}var qm,Py;function VN(){if(Py)return qm;Py=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 qm=t,qm}var Pm,Hy;function SA(){if(Hy)return Pm;Hy=1;var t=dA(),e=VN(),a=hA(),i=1,s=2;function o(u,d,f,p,y,b){var A=f&i,w=u.length,T=d.length;if(w!=T&&!(A&&T>w))return!1;var N=b.get(u),j=b.get(d);if(N&&j)return N==d&&j==u;var D=-1,x=!0,z=f&s?new t:void 0;for(b.set(u,d),b.set(d,u);++D<w;){var G=u[D],M=d[D];if(p)var H=A?p(M,G,D,d,u,b):p(G,M,D,u,d,b);if(H!==void 0){if(H)continue;x=!1;break}if(z){if(!e(d,function(Z,E){if(!a(z,E)&&(G===Z||y(G,Z,f,p,b)))return z.push(E)})){x=!1;break}}else if(!(G===M||y(G,M,f,p,b))){x=!1;break}}return b.delete(u),b.delete(d),x}return Pm=o,Pm}var Hm,By;function GN(){if(By)return Hm;By=1;function t(e){var a=-1,i=Array(e.size);return e.forEach(function(s,o){i[++a]=[o,s]}),i}return Hm=t,Hm}var Bm,Fy;function ZN(){if(Fy)return Bm;Fy=1;var t=Kc(),e=aA(),a=Xc(),i=SA(),s=GN(),o=q6(),u=1,d=2,f="[object Boolean]",p="[object Date]",y="[object Error]",b="[object Map]",A="[object Number]",w="[object RegExp]",T="[object Set]",N="[object String]",j="[object Symbol]",D="[object ArrayBuffer]",x="[object DataView]",z=t?t.prototype:void 0,G=z?z.valueOf:void 0;function M(H,Z,E,O,R,B,L){switch(E){case x:if(H.byteLength!=Z.byteLength||H.byteOffset!=Z.byteOffset)return!1;H=H.buffer,Z=Z.buffer;case D:return!(H.byteLength!=Z.byteLength||!B(new e(H),new e(Z)));case f:case p:case A:return a(+H,+Z);case y:return H.name==Z.name&&H.message==Z.message;case w:case N:return H==Z+"";case b:var U=s;case T:var F=O&u;if(U||(U=o),H.size!=Z.size&&!F)return!1;var P=L.get(H);if(P)return P==Z;O|=d,L.set(H,Z);var I=i(U(H),U(Z),O,R,B,L);return L.delete(H),I;case j:if(G)return G.call(H)==G.call(Z)}return!1}return Bm=M,Bm}var Fm,Vy;function WN(){if(Vy)return Fm;Vy=1;var t=bA(),e=_r();function a(i,s,o){var u=s(i);return e(i)?u:t(u,o(i))}return Fm=a,Fm}var Vm,Gy;function YN(){if(Gy)return Vm;Gy=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 Vm=t,Vm}var Gm,Zy;function QN(){if(Zy)return Gm;Zy=1;function t(){return[]}return Gm=t,Gm}var Zm,Wy;function KN(){if(Wy)return Zm;Wy=1;var t=YN(),e=QN(),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 Zm=o,Zm}var Wm,Yy;function JN(){if(Yy)return Wm;Yy=1;var t=rA(),e=t(Object.keys,Object);return Wm=e,Wm}var Ym,Qy;function XN(){if(Qy)return Ym;Qy=1;var t=_6(),e=JN(),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 Ym=s,Ym}var Qm,Ky;function P6(){if(Ky)return Qm;Ky=1;var t=cA(),e=XN(),a=co();function i(s){return a(s)?t(s):e(s)}return Qm=i,Qm}var Km,Jy;function $N(){if(Jy)return Km;Jy=1;var t=WN(),e=KN(),a=P6();function i(s){return t(s,a,e)}return Km=i,Km}var Jm,Xy;function eD(){if(Xy)return Jm;Xy=1;var t=$N(),e=1,a=Object.prototype,i=a.hasOwnProperty;function s(o,u,d,f,p,y){var b=d&e,A=t(o),w=A.length,T=t(u),N=T.length;if(w!=N&&!b)return!1;for(var j=w;j--;){var D=A[j];if(!(b?D in u:i.call(u,D)))return!1}var x=y.get(o),z=y.get(u);if(x&&z)return x==u&&z==o;var G=!0;y.set(o,u),y.set(u,o);for(var M=b;++j<w;){D=A[j];var H=o[D],Z=u[D];if(f)var E=b?f(Z,H,D,u,o,y):f(H,Z,D,o,u,y);if(!(E===void 0?H===Z||p(H,Z,d,f,y):E)){G=!1;break}M||(M=D=="constructor")}if(G&&!M){var O=o.constructor,R=u.constructor;O!=R&&"constructor"in o&&"constructor"in u&&!(typeof O=="function"&&O instanceof O&&typeof R=="function"&&R instanceof R)&&(G=!1)}return y.delete(o),y.delete(u),G}return Jm=s,Jm}var Xm,$y;function tD(){if($y)return Xm;$y=1;var t=Ws(),e=ti(),a=t(e,"DataView");return Xm=a,Xm}var $m,eb;function nD(){if(eb)return $m;eb=1;var t=Ws(),e=ti(),a=t(e,"Promise");return $m=a,$m}var e3,tb;function aD(){if(tb)return e3;tb=1;var t=Ws(),e=ti(),a=t(e,"WeakMap");return e3=a,e3}var t3,nb;function rD(){if(nb)return t3;nb=1;var t=tD(),e=I6(),a=nD(),i=mA(),s=aD(),o=lo(),u=QE(),d="[object Map]",f="[object Object]",p="[object Promise]",y="[object Set]",b="[object WeakMap]",A="[object DataView]",w=u(t),T=u(e),N=u(a),j=u(i),D=u(s),x=o;return(t&&x(new t(new ArrayBuffer(1)))!=A||e&&x(new e)!=d||a&&x(a.resolve())!=p||i&&x(new i)!=y||s&&x(new s)!=b)&&(x=function(z){var G=o(z),M=G==f?z.constructor:void 0,H=M?u(M):"";if(H)switch(H){case w:return A;case T:return d;case N:return p;case j:return y;case D:return b}return G}),t3=x,t3}var n3,ab;function iD(){if(ab)return n3;ab=1;var t=L6(),e=SA(),a=ZN(),i=eD(),s=rD(),o=_r(),u=U6(),d=z6(),f=1,p="[object Arguments]",y="[object Array]",b="[object Object]",A=Object.prototype,w=A.hasOwnProperty;function T(N,j,D,x,z,G){var M=o(N),H=o(j),Z=M?y:s(N),E=H?y:s(j);Z=Z==p?b:Z,E=E==p?b:E;var O=Z==b,R=E==b,B=Z==E;if(B&&u(N)){if(!u(j))return!1;M=!0,O=!1}if(B&&!O)return G||(G=new t),M||d(N)?e(N,j,D,x,z,G):a(N,j,Z,D,x,z,G);if(!(D&f)){var L=O&&w.call(N,"__wrapped__"),U=R&&w.call(j,"__wrapped__");if(L||U){var F=L?N.value():N,P=U?j.value():j;return G||(G=new t),z(F,P,D,x,G)}}return B?(G||(G=new t),i(N,j,D,x,z,G)):!1}return n3=T,n3}var a3,rb;function EA(){if(rb)return a3;rb=1;var t=iD(),e=Zs();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 a3=a,a3}var r3,ib;function sD(){if(ib)return r3;ib=1;var t=L6(),e=EA(),a=1,i=2;function s(o,u,d,f){var p=d.length,y=p,b=!f;if(o==null)return!y;for(o=Object(o);p--;){var A=d[p];if(b&&A[2]?A[1]!==o[A[0]]:!(A[0]in o))return!1}for(;++p<y;){A=d[p];var w=A[0],T=o[w],N=A[1];if(b&&A[2]){if(T===void 0&&!(w in o))return!1}else{var j=new t;if(f)var D=f(T,N,w,o,u,j);if(!(D===void 0?e(N,T,a|i,f,j):D))return!1}}return!0}return r3=s,r3}var i3,sb;function AA(){if(sb)return i3;sb=1;var t=Mi();function e(a){return a===a&&!t(a)}return i3=e,i3}var s3,lb;function lD(){if(lb)return s3;lb=1;var t=AA(),e=P6();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 s3=a,s3}var l3,ob;function wA(){if(ob)return l3;ob=1;function t(e,a){return function(i){return i==null?!1:i[e]===a&&(a!==void 0||e in Object(i))}}return l3=t,l3}var o3,cb;function oD(){if(cb)return o3;cb=1;var t=sD(),e=lD(),a=wA();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 o3=i,o3}var c3,ub;function cD(){if(ub)return c3;ub=1;function t(e,a){return e!=null&&a in Object(e)}return c3=t,c3}var u3,fb;function uD(){if(fb)return u3;fb=1;var t=cD(),e=$E();function a(i,s){return i!=null&&e(i,s,t)}return u3=a,u3}var f3,db;function fD(){if(db)return f3;db=1;var t=EA(),e=XE(),a=uD(),i=O6(),s=AA(),o=wA(),u=wf(),d=1,f=2;function p(y,b){return i(y)&&s(b)?o(u(y),b):function(A){var w=e(A,y);return w===void 0&&w===b?a(A,y):t(b,w,d|f)}}return f3=p,f3}var d3,hb;function dD(){if(hb)return d3;hb=1;function t(e){return function(a){return a?.[e]}}return d3=t,d3}var h3,mb;function hD(){if(mb)return h3;mb=1;var t=N6();function e(a){return function(i){return t(i,a)}}return h3=e,h3}var m3,pb;function mD(){if(pb)return m3;pb=1;var t=dD(),e=hD(),a=O6(),i=wf();function s(o){return a(o)?t(i(o)):e(o)}return m3=s,m3}var p3,gb;function pD(){if(gb)return p3;gb=1;var t=oD(),e=fD(),a=Cf(),i=_r(),s=mD();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 p3=o,p3}var g3,vb;function gD(){if(vb)return g3;vb=1;var t=nA(),e=P6();function a(i,s){return i&&t(i,s,e)}return g3=a,g3}var v3,yb;function vD(){if(yb)return v3;yb=1;var t=co();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 v3=e,v3}var y3,bb;function yD(){if(bb)return y3;bb=1;var t=gD(),e=vD(),a=e(t);return y3=a,y3}var b3,Sb;function bD(){if(Sb)return b3;Sb=1;var t=yD(),e=co();function a(i,s){var o=-1,u=e(i)?Array(i.length):[];return t(i,function(d,f,p){u[++o]=s(d,f,p)}),u}return b3=a,b3}var S3,Eb;function SD(){if(Eb)return S3;Eb=1;function t(e,a){var i=e.length;for(e.sort(a);i--;)e[i]=e[i].value;return e}return S3=t,S3}var E3,Ab;function ED(){if(Ab)return E3;Ab=1;var t=Jc();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,p=i===null,y=i===i,b=t(i);if(!p&&!b&&!d&&a>i||d&&f&&y&&!p&&!b||o&&f&&y||!s&&y||!u)return 1;if(!o&&!d&&!b&&a<i||b&&s&&u&&!o&&!d||p&&s&&u||!f&&u||!y)return-1}return 0}return E3=e,E3}var A3,wb;function AD(){if(wb)return A3;wb=1;var t=ED();function e(a,i,s){for(var o=-1,u=a.criteria,d=i.criteria,f=u.length,p=s.length;++o<f;){var y=t(u[o],d[o]);if(y){if(o>=p)return y;var b=s[o];return y*(b=="desc"?-1:1)}}return a.index-i.index}return A3=e,A3}var w3,xb;function wD(){if(xb)return w3;xb=1;var t=KE(),e=N6(),a=pD(),i=bD(),s=SD(),o=sA(),u=AD(),d=Cf(),f=_r();function p(y,b,A){b.length?b=t(b,function(N){return f(N)?function(j){return e(j,N.length===1?N[0]:N)}:N}):b=[d];var w=-1;b=t(b,o(a));var T=i(y,function(N,j,D){var x=t(b,function(z){return z(N)});return{criteria:x,index:++w,value:N}});return s(T,function(N,j){return u(N,j,A)})}return w3=p,w3}var x3,Cb;function xD(){if(Cb)return x3;Cb=1;var t=FN(),e=wD(),a=fA(),i=Tf(),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 x3=s,x3}var CD=xD();const TD=pr(CD);var C3,Tb;function OD(){if(Tb)return C3;Tb=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 C3=t,C3}var T3,Ob;function RD(){if(Ob)return T3;Ob=1;var t=oA(),e=OD();function a(i,s){return e(i||[],s||[],t)}return T3=a,T3}var ID=RD();const MD=pr(ID),kp={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"},ND=MD(Object.values(kp),Object.keys(kp).map(t=>parseInt(t,10)));function DD(t,e,a){const i={roundMode:a.roundMode,precision:a.precision,significant:a.significant};let s;if(Us(a.units)==="string"){const b=a.units;if(s=Gr(t,b),!s)throw new Error(`The scope "${t.locale}${t.defaultSeparator}${$l(t,b,{})}" couldn't be found`)}else s=a.units;let o=J1(new En(e),i);const u=b=>TD(Object.keys(b).map(A=>ND[A]),A=>A*-1),d=(b,A)=>{const w=b.isZero()?0:Math.floor(Math.log10(b.abs().toNumber()));return u(A).find(T=>w>=T)||0},f=(b,A)=>{const w=kp[A.toString()];return b[w]||""},p=d(new En(o),s),y=f(s,p);if(o=J1(new En(o).div(Math.pow(10,p)),i),a.stripInsignificantZeros){let[b,A]=o.split(".");A=(A||"").replace(/0+$/,""),o=b,A&&(o+=`${a.separator}${A}`)}return a.format.replace("%n",o||"0").replace("%u",y).trim()}const Rb=["byte","kb","mb","gb","tb","pb","eb"];function jD(t,e,a){const i=vA(a.roundMode),s=1024,o=new En(e).abs(),u=o.lt(s);let d;const f=(T,N)=>{const j=N.length-1,D=new En(Math.log(T.toNumber())).div(Math.log(s)).integerValue(En.ROUND_DOWN).toNumber();return Math.min(j,D)},p=T=>`number.human.storage_units.units.${u?"byte":T[y]}`,y=f(o,Rb);u?d=o.integerValue():d=new En(J1(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"}),A=t.translate(p(Rb),{count:o.integerValue().toNumber()});let w=d.toFixed(a.precision,i);return a.stripInsignificantZeros&&(w=w.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),b.replace("%n",w).replace("%u",A)}function _p(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(A=>parseInt(A,10)||0);i[1]-=1;const[s,o,u,d,f,p,y]=i;return e[8]?new Date(Date.UTC(s,o,u,d,f,p,y)):new Date(s,o,u,d,f,p,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 Ib({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=Gr(t,a,i),!o)return t.missingTranslation.get(a,i);const f=t.pluralization.get(i.locale)(t,e),p=[];for(;f.length;){const y=f.shift();if(Ci(o[y])){u=o[y];break}p.push(y)}return Ci(u)?(i.count=e,t.interpolate(t,u,i)):t.missingTranslation.get(s.split(t.defaultSeparator).concat([p[0]]),i)}const LD={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 kD(t,e,a={}){const{abbrDayNames:i,dayNames:s,abbrMonthNames:o,monthNames:u,meridian:d,utc:f}=Object.assign(Object.assign({},LD),a);if(isNaN(t.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const p=f?t.getUTCDay():t.getDay(),y=f?t.getUTCDate():t.getDate(),b=f?t.getUTCFullYear():t.getFullYear(),A=(f?t.getUTCMonth():t.getMonth())+1,w=f?t.getUTCHours():t.getHours();let T=w;const N=w>11?"pm":"am",j=f?t.getUTCSeconds():t.getSeconds(),D=f?t.getUTCMinutes():t.getMinutes(),x=f?0:t.getTimezoneOffset(),z=Math.floor(Math.abs(x/60)),G=Math.abs(x)-z*60,M=(x>0?"-":"+")+(z.toString().length<2?"0"+z:z)+(G.toString().length<2?"0"+G:G);return T>12?T=T-12:T===0&&(T=12),e=e.replace("%a",i[p]),e=e.replace("%A",s[p]),e=e.replace("%b",o[A]),e=e.replace("%B",u[A]),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",w.toString().padStart(2,"0")),e=e.replace("%-H",w.toString()),e=e.replace("%k",w.toString()),e=e.replace("%I",T.toString().padStart(2,"0")),e=e.replace("%-I",T.toString()),e=e.replace("%l",T.toString()),e=e.replace("%m",A.toString().padStart(2,"0")),e=e.replace("%-m",A.toString()),e=e.replace("%M",D.toString().padStart(2,"0")),e=e.replace("%-M",D.toString()),e=e.replace("%p",d[N]),e=e.replace("%P",d[N].toLowerCase()),e=e.replace("%S",j.toString().padStart(2,"0")),e=e.replace("%-S",j.toString()),e=e.replace("%w",p.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,M),e}var O3,Mb;function _D(){if(Mb)return O3;Mb=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),p=Array(f);f--;)p[u?f:++d]=i,i+=o;return p}return O3=a,O3}var R3,Nb;function UD(){if(Nb)return R3;Nb=1;var t=_D(),e=Tf(),a=yA();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 R3=i,R3}var I3,Db;function zD(){if(Db)return I3;Db=1;var t=UD(),e=t();return I3=e,I3}var qD=zD();const PD=pr(qD),Wa=(t,e,a)=>a>=t&&a<=e;function HD(t,e,a,i={}){const s=i.scope||"datetime.distance_in_words",o=(Z,E=0)=>t.t(Z,{count:E,scope:s});e=_p(e),a=_p(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),p=Math.round((d-u)/60),b=p/60/24,A=Math.round(p/60),w=Math.round(b),T=Math.round(w/30);if(Wa(0,1,p))return i.includeSeconds?Wa(0,4,f)?o("less_than_x_seconds",5):Wa(5,9,f)?o("less_than_x_seconds",10):Wa(10,19,f)?o("less_than_x_seconds",20):Wa(20,39,f)?o("half_a_minute"):Wa(40,59,f)?o("less_than_x_minutes",1):o("x_minutes",1):p===0?o("less_than_x_minutes",1):o("x_minutes",p);if(Wa(2,44,p))return o("x_minutes",p);if(Wa(45,89,p))return o("about_x_hours",1);if(Wa(90,1439,p))return o("about_x_hours",A);if(Wa(1440,2519,p))return o("x_days",1);if(Wa(2520,43199,p))return o("x_days",w);if(Wa(43200,86399,p))return o("about_x_months",Math.round(p/43200));if(Wa(86400,525599,p))return o("x_months",T);let N=e.getFullYear();e.getMonth()+1>=3&&(N+=1);let j=a.getFullYear();a.getMonth()+1<3&&(j-=1);const D=N>j?0:PD(N,j).filter(Z=>new Date(Z,1,29).getMonth()==1).length,x=525600,z=D*1440,G=p-z,M=Math.trunc(G/x),H=parseFloat((G/x-M).toPrecision(3));return H<.25?o("about_x_years",M):H<.75?o("over_x_years",M):o("almost_x_years",M+1)}const BD=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()}`)},FD=(t,e,a)=>{const i=$l(t,e,a),s="locale"in a?a.locale:t.locale,o=Us(s);return`[missing "${[o=="string"?s:o,i].join(t.defaultSeparator)}" translation]`},VD=(t,e,a)=>{const i=$l(t,e,a),s=[t.locale,i].join(t.defaultSeparator);throw new Error(`Missing translation: ${s}`)};class GD{constructor(e){this.i18n=e,this.registry={},this.register("guess",BD),this.register("message",FD),this.register("error",VD)}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 ZD=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{p(i.next(y))}catch(b){u(b)}}function f(y){try{p(i.throw(y))}catch(b){u(b)}}function p(y){y.done?o(y.value):s(y.value).then(d,f)}p((i=i.apply(t,e||[])).next())})};const M3={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 WD=class{constructor(e={},a={}){this._locale=M3.locale,this._defaultLocale=M3.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:p,defaultSeparator:y,placeholder:b,transformKey:A}=Object.assign(Object.assign({},M3),a);this.locale=i,this.defaultLocale=p,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 sN(this),this.locales=new nN(this),this.missingTranslation=new GD(this),this.transformKey=A,this.interpolate=km,this.store(e)}store(e){PM(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 ${Us(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 ${Us(e)}`);const a=this._defaultLocale!==e;this._defaultLocale=e,a&&this.hasChanged()}translate(e,a){a=Object.assign({},a);const i=ON(this,e,a);let s;return i.some(u=>(Ci(u.scope)?s=Gr(this,u.scope,a):Ci(u.message)&&(s=u.message),s!=null))?(typeof s=="string"?s=this.interpolate(this,s,a):typeof s=="object"&&s&&Ci(a.count)&&(s=Ib({i18n:this,count:a.count||0,scope:s,options:a,baseScope:$l(this,e,a)})),a&&s instanceof Array&&(s=s.map(u=>typeof u=="string"?km(this,u,a):u)),s):this.missingTranslation.get(e,a)}pluralize(e,a,i){return Ib({i18n:this,count:e,scope:a,options:Object.assign({},i),baseScope:$l(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 gc(a,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},Gr(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(),km(this,s,i)}}}toTime(e,a){const i=_p(a),s=Gr(this,e);return i.toString().match(/invalid/i)||!s?i.toString():this.strftime(i,s)}numberToCurrency(e,a={}){return gc(e,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Ar(this.get("number.format"))),Ar(this.get("number.currency.format"))),a))}numberToPercentage(e,a={}){return gc(e,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Ar(this.get("number.format"))),Ar(this.get("number.percentage.format"))),a))}numberToHumanSize(e,a={}){return jD(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:""}},Ar(this.get("number.human.format"))),Ar(this.get("number.human.storage_units"))),a))}numberToHuman(e,a={}){return DD(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:""}},Ar(this.get("number.human.format"))),Ar(this.get("number.human.decimal_units"))),a))}numberToRounded(e,a){return gc(e,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},a))}numberToDelimited(e,a={}){return HN(e,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},a))}withLocale(e,a){return ZD(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 kD(e,a,Object.assign(Object.assign(Object.assign({},Ar(Gr(this,"date"))),{meridian:{am:Gr(this,"time.am")||"AM",pm:Gr(this,"time.pm")||"PM"}}),i))}update(e,a,i={strict:!1}){if(i.strict&&!sM(this.translations,e))throw new Error(`The path "${e}" is not currently defined`);const s=tM(this.translations,e),o=Us(s),u=Us(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),p=f.pop();let y=this.translations;for(const b of f)y[b]||(y[b]={}),y=y[b];y[p]=d,this.hasChanged()}toSentence(e,a={}){const{wordsConnector:i,twoWordsConnector:s,lastWordConnector:o}=Object.assign(Object.assign({wordsConnector:", ",twoWordsConnector:" and ",lastWordConnector:", and "},Ar(Gr(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 HD(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},Ar(this.get("number.format"))),a),gc(e,a)}get(e){return Gr(this,e)}runCallbacks(){this.onChangeHandlers.forEach(e=>e(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function YD(t,e,a){const i=new URLSearchParams(t);return i.set(e,a),"?"+i.toString()}function H6(t,e){return new URLSearchParams(e).get(t)}function xa(t){return t!=null?(t.preventDefault(),t.stopPropagation(),!1):!0}function oe(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 QD=t=>{const e=new URL(t).protocol;return["https:","http:"].includes(e)?t:"about:blank"};/*! js-cookie v3.0.5 | MIT */function g1(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 KD={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 Up(t,e){function a(s,o,u){if(!(typeof document>"u")){u=g1({},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("="),p=f.slice(1).join("=");try{var y=decodeURIComponent(f[0]);if(u[y]=t.read(p,y),s===y)break}catch{}}return s?u[s]:u}}return Object.create({set:a,get:i,remove:function(s,o){a(s,"",g1({},o,{expires:-1}))},withAttributes:function(s){return Up(this.converter,g1({},this.attributes,s))},withConverter:function(s){return Up(g1({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var xA=Up(KD,{path:"/"});const S=new WD({en:CI,nl:TI});let Fs=H6("lang",window.location.search);oe(Fs)&&(Fs=xA.get("lang"));oe(Fs)&&(Fs=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(Fs)===-1&&(Fs="en");S.locale=Fs;S.missingTranslation.register("report-error",(t,e)=>`[missing "${e}" translation]`);S.missingBehavior="report-error";const jb=t=>{let e;const a=new Set,i=(p,y)=>{const b=typeof p=="function"?p(e):p;if(!Object.is(b,e)){const A=e;e=y??(typeof b!="object"||b===null)?b:Object.assign({},e,b),a.forEach(w=>w(e,A))}},s=()=>e,d={setState:i,getState:s,getInitialState:()=>f,subscribe:p=>(a.add(p),()=>a.delete(p))},f=e=t(i,s,d);return d},JD=(t=>t?jb(t):jb),XD=t=>t;function $D(t,e=XD){const a=ne.useSyncExternalStore(t.subscribe,ne.useCallback(()=>e(t.getState()),[t,e]),ne.useCallback(()=>e(t.getInitialState()),[t,e]));return ne.useDebugValue(a),a}const Lb=t=>{const e=JD(t),a=i=>$D(e,i);return Object.assign(a,e),a},ej=(t=>t?Lb(t):Lb),qe=ej(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:[]})),ql=10,tj=(t,e={})=>(oe(t)||(oe(t.query)||(e.query=encodeURIComponent(t.query)),oe(t.pageNumber)||(e.pageNumber=t.pageNumber),oe(t.pageSize)||(e.pageSize=t.pageSize),oe(t.sort)||(e.sort=t.sort),oe(t.sortDirection)||(e.sortDirection=t.sortDirection),oe(t.roleId)||(e.roleId=encodeURIComponent(t.roleId))),Object.entries(e).reduce((a,i)=>(a+=`${i[0]}=${encodeURIComponent(i[1])}&`,a),"")),nj=(t="name",e="ASC")=>({...{query:"",pageNumber:0,pageSize:ql,sort:t,sortDirection:e}}),B6=t=>{const e=new URL(window.location);e.searchParams.set("page",t),window.history.pushState({page:t},"",e)},F6=()=>{const t=H6("page",window.location.search)||1;return parseInt(t,10)};function aj(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 CA(t,e,a={},i=!0){const s={Accept:"application/json","Content-Type":"application/json","Accept-Language":S.locale,"X-CSRF-TOKEN":qe.getState().csrfToken,...a};qe.getState().impersonator&&(s["X-IMPERSONATE-ID"]=qe.getState().user.id.toString());const u=Object.assign({},{headers:s},e,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(t,u).then(aj(i))}function Hn(t,e={},a={},i=!0){return CA(t,e,a,i).then(s=>s.json())}function ca(t,e,a,i=!0){const s=JSON.stringify(e);return Hn(t,{method:a,body:s},{},i)}function Ys(t){return CA(t,{method:"delete"})}function rj(){return Hn("/api/v1/users/config")}function ij(){return Hn("/api/v1/csrf",{},{},!1)}function kb(){return Hn("/api/v1/users/me")}function sj(){return Hn("/api/v1/users/logout")}function lj(t={}){const e=tj(t,{});return Hn(`/api/v1/users/search?${e}`)}function oj(t){return Hn(`/api/v1/organizations/search?query=${t}`)}function TA(t){return Hn(`/api/v1/organizations/find/${t}`)}function cj(t){return Hn(`/api/v1/organizations/users/${t}`)}function uj(t){return Ys(`/api/v1/organizations/${t}`)}function fj(t){return Hn(`/api/v1/organizations/light/${t}`)}function dj(t){return Hn(`/api/v1/organizations/invitation/${t}`)}function hj(t){return ca("/api/v1/organizations",t,"POST")}function mj(t){return ca("/api/v1/join/",t,"POST")}function _b(t,e,a){return ca("/api/v1/join/approval",{joinRequestId:t,approved:e,authority:a},"PUT")}function zp(t){return Hn(`/api/v1/applications/${t}`)}function pj(t){return Ys(`/api/v1/applications/${t}`)}function gj(t){return ca("/api/v1/applications",t,"POST")}function V6(t){return ca("/api/v1/applications",t,"PUT")}function vj(t){return Ys(`/api/v1/application_memberships/${t.id}`)}function yj(t,e,a){return ca("/api/v1/application_memberships",{organizationMembershipId:t,applicationId:e,organizationId:a},"POST")}function bj(t){return ca("/api/v1/manage/parse",{xml:t},"POST")}function Sj(t){return ca("/api/v1/manage/parse",{url:t},"POST")}function Ub(t){return Hn(`/api/v1/manage/identity-providers/${t}`)}function Ej(t,e){return ca(`/api/v1/manage/providers-by-entityid/${t}`,{entityID:e},"POST")}function Aj(){return Hn("/api/v1/manage/arp",{},{},!1)}function wj(){return Hn("/api/v1/manage/privacy",{},{},!1)}function xj(t){return ca("/api/v1/connections",t,"POST")}function Cj(t){return ca("/api/v1/connections",t,"PUT")}function Tj(t){return ca(`/api/v1/connections/reset-secret/${t}`,{},"PUT")}function zb(t){return Hn(`/api/v1/connections/${t}`)}function Oj(t){return Ys(`/api/v1/connections/${t}`)}function Rj(t){return ca(`/api/v1/connections/request-production-status/${t}`,{},"PUT")}function qb(t,e){const a={id:t.id,authority:e};return ca("/api/v1/organization_memberships",a,"PUT")}function Ij(t){return Ys(`/api/v1/organization_memberships/${t.id}`)}function Mj(t){return ca("/api/v1/invitations",t,"POST")}function Nj(t){return Hn(`/api/v1/invitations/hash?hash=${t}`,{},{},!1)}function Dj(t){const e={hash:t.hash,invitationId:t.id};return ca("/api/v1/invitations/accept",e,"PUT")}function jj(t){return ca(`/api/v1/invitations/resend/${t.id}`,{},"PUT")}function Lj(t){return Ys(`/api/v1/invitations/${t.id}`)}function kj(t){return Ys(`/api/v1/invitations/delete/all/${t.id}`)}function _j(){return Hn("/api/v1/public/identity-providers")}function Uj(){return Hn("/api/v1/public/service-providers")}function zj(t,e){return Hn(`/api/v1/public/service-provider-detail/${t}/${e}`)}const qj=()=>{const t=qe(a=>a.flash),e=qe(a=>a.clearFlash);return!oe(t)&&(t.type==="error"||t.type==="warning")?h.jsx(Rr,{message:t.msg,action:t.action,actionLabel:t.actionLabel,alertType:t.type==="warning"?Xn.Warning:Xn.Error,close:e}):!oe(t)&&!oe(t.msg)?h.jsx(nR,{children:h.jsx(tR,{message:t.msg,toasterType:Ul.Success})}):null},Pj=({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"})),Hj=g.forwardRef(Pj),G6="session_storage_location",qp=(t,e=!0,a=!1)=>{let i=e?"?force=true":"";a&&(i+=e?"&eduId=true":"?eduId=true");let s=t.serverUrl;oe(s)&&(s=window.location.hostname==="localhost"?"http://localhost:8886":`${window.location.protocol}//${window.location.host}`),window.location.href=QD(`${s}/api/v1/users/login${i}`)},Bj=["home","connect","institutions","applications"],Fj=({mobile:t,path:e})=>{const[a,i]=g.useState(""),s=qt();g.useEffect(()=>{i(e.substring(1))},[e]);const o=(u,d)=>{xa(u),i(d),s(`/${d}`)};return h.jsxs("div",{className:`desktop-navigation ${t?"mobile":""}`,children:[Bj.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(rt,{onClick:()=>s("/login-info"),txt:S.t("landing.header.login")})})]})},Vj=({currentLocation:t})=>(g.useEffect(()=>{},[t]),h.jsx("div",{className:"header-container",children:h.jsxs("div",{className:"header-inner",children:[h.jsx(Ri,{className:"logo",to:"/",children:h.jsx(Hj,{})}),h.jsx(Fj,{mobile:!1,path:t.pathname})]})})),Gj=({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"})),Zj=g.forwardRef(Gj),Wj=()=>h.jsx("div",{className:"not-found",children:h.jsx(Zj,{})}),Yj=()=>{const{path:t}=Xr(),e=qt();return g.useEffect(()=>{const a=decodeURIComponent(t);e(a)},[t,e]),h.jsx(Pn,{})},Qj=({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"})),OA=g.forwardRef(Qj),RA=t=>h.jsx("div",{className:"background",children:t.children}),Kj=()=>{const t=qt(),{config:e}=qe(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(OA,{})]}),h.jsx(RA,{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(rt,{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(rt,{onClick:()=>a(),type:At.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(Ri,{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(Ri,{to:"/applications",children:S.t("landing.joining.links.applications",{nbr:e.stats.saml20_sp+e.stats.oidc10_rp})})]})]})]})})]})},IA=()=>{const t=a=>i=>{xa(i),xA.set("lang",a,{expires:356,secure:document.location.protocol.endsWith("https")}),S.locale=a,window.location.search=YD(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")})]})})},Jj=()=>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(IA,{}),h.jsx("div",{className:"sds--branding",children:h.jsx("a",{href:S.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx(ME,{label:"",position:NE.Bottom})})})]})})}),Xj=({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, "}))),$j=g.forwardRef(Xj),eL=({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"}))),Z6=g.forwardRef(eL),tL=({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"})),Pc=g.forwardRef(tL),nL=({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"})),uo=g.forwardRef(nL),aL=({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"})),$c=g.forwardRef(aL);function Ni({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[p,y]=g.useState(!1);return h.jsx(DE,{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||p&&t,subTitle:null,full:d})}const rL=({organization:t,setLoading:e,refreshUser:a})=>{const[i,s]=g.useState(!1),[o,u]=g.useState({}),d=qt(),f=(N,j)=>{xa(N),j?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),uj(t.id).then(()=>{u({}),qe.setState({currentOrganization:{name:""},menuItems:["allApps"]}),a(),setTimeout(()=>d("/home"),350)}))},p=()=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsx("ul",{children:h.jsxs("li",{onClick:N=>f(N,!0),children:[h.jsx($c,{}),h.jsx("a",{href:"/delete",onClick:N=>f(N,!0),children:S.t("forms.delete")})]})})}),{open:y,cancel:b,action:A,question:w,okButton:T}=o;return h.jsxs("div",{className:"application-connection-header-container",children:[y&&h.jsx(Ni,{confirm:A,cancel:b,confirmationHeader:S.t("forms.delete"),confirmationTxt:T,question:w}),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(uo,{}),i&&p()]})]})]})},Pp=/^[+a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.?[a-zA-Z]*$/,X1=/(https?|ssh|ftp):\/\/(((www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.?[a-z]{0,63})|(localhost))\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/i,Ps=t=>oe(t)||X1.test(t)&&(t.startsWith("https")||t.startsWith("http://localhost")||t.startsWith("http://127.0.0.1")),iL=t=>oe(t)||Pp.test(t),sL=(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,A)=>(b[A.urn]=[{source:A.overrideSource||"idp",value:"*",motivation:i[A.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}}}},_1=(t,e,a,i)=>{const{arp:s}=t.metaData,{profile:o,attributes:u,motivation:d}=s,f=e.find(D=>D.value===t.protocol),p=i.profiles.find(D=>D.name===o).attributes,b=i.attributes.filter(D=>p.includes(D.name)).map(D=>D.urn),A=Object.keys(u).filter(D=>!b.includes(D)),w=i.attributes.filter(D=>A.includes(D.urn)),T=w.map(D=>D.name),N=A.reduce((D,x)=>{const z=w.find(G=>G.urn===x);return D[z.name]=u[x][0].motivation,D},{}),j=a.find(D=>D.value===o);return{...t,...t.metaData,protocol:f,additionalAttributes:T,profile:j,motivations:N,profileMotivation:d}},lL=()=>"SURFACCESS-"+crypto.randomUUID(),Hp={visible_to_all:"visible_to_all",visible_to_none:"visible_to_none"},Bp={connect_with_interaction:"connect_with_interaction",connect_without_interaction_with_email:"connect_without_interaction_with_email"},Pl=t=>!oe(t?.logoUrl)&&["descriptionEN","descriptionNL","webSite"].every(e=>!oe(t?.information?.[e]))&&Ps(t?.information?.webSite),Hl=t=>["technical","support","administrative"].every(e=>{const a=(t?.contactPersons||[]).find(i=>i.type===e);return!oe(a?.name)&&!oe(a?.email)}),Bl=(t,e)=>{const a=t.filter(o=>o.required),s=t.filter(o=>o.format).map(o=>o.name).some(o=>!Ps(e?.privacy?.[o]));return a.map(o=>o.name).every(o=>!oe(e?.privacy?.[o]))&&!s},eo=(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:oe(e)?t.connections||[]:(t.connections||[]).map(o=>_1(o,e,a,i)),information:{},contactPersons:[],privacy:{dpa_type:"dpa_supplied_by_service"},...t.metaData}),MA=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}}},oL=({refreshUser:t})=>{const{organizationId:e}=Xr(),[a,i]=g.useState(!0),[s,o]=g.useState({}),[u,d]=g.useState(!1),f=qt();g.useEffect(()=>{TA(e).then(b=>{b.applications=b.applications.map(A=>eo(A)),o(b),qe.setState({currentOrganization:b,breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${b.id}`,value:b.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.applications")}]}),i(!1)}).catch(()=>{f("/404")})},[e]);const p=()=>u||s.applicationCount>0?null:h.jsx(Rr,{close:()=>d(!0),alertType:Xn.Info,asChild:!0,message:S.t("organization.alertInfo")}),y=()=>h.jsxs(h.Fragment,{children:[oe(s.applications)&&h.jsxs("div",{className:"organization",children:[h.jsxs("div",{className:"left",children:[h.jsx($j,{}),h.jsx(rt,{onClick:()=>f("/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")}})}),h.jsx("li",{children:h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("organization.catalog.agreement")}})})]}),h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("organization.catalog.disclaimer")}})]})]}),!oe(s.applications)&&h.jsx("div",{className:"applications",children:s.applications.sort((b,A)=>b.name.toLowerCase().localeCompare(A.name.toLowerCase())).map((b,A)=>h.jsxs("div",{className:"first-application",children:[h.jsxs("div",{className:"application",onClick:()=>f(`/connection/${b.id}`),children:[oe(b.logoUrl)?h.jsx(Z6,{}):h.jsx("img",{src:b.logoUrl,alt:b.name}),h.jsxs("div",{className:"application-info",children:[h.jsx("h4",{children:b.name}),b.information.descriptionEN&&h.jsx(y6,{txt:b.information[`description${S.locale.toUpperCase()}`],cutoffNumber:300,moreLabel:S.t("forms.moreLabel"),lessLabel:S.t("forms.lessLabel")})]}),h.jsx("span",{className:"navigation",children:h.jsx(Pc,{})})]}),A===0&&h.jsx(rt,{onClick:()=>f("/application/new"),txt:S.t("organization.addApplication")})]},A))})]});return a?h.jsx(Pn,{}):h.jsxs("div",{className:`organization-outer-container ${oe(s.applications)?"":"with-applications"}`,children:[p(),h.jsx(rL,{organization:s,refreshUser:t,setLoading:i}),h.jsx("div",{className:"organization-container",children:y()})]})},NA="/assets/student-Ql2oUrBH.png",cL=({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"})),Of=g.forwardRef(cL);function Vs(t){"@babel/helpers - typeof";return Vs=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},Vs(t)}function uL(t,e){if(Vs(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var i=a.call(t,e);if(Vs(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function DA(t){var e=uL(t,"string");return Vs(e)=="symbol"?e:e+""}function Nc(t,e,a){return(e=DA(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Pb(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 ze(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?Pb(Object(a),!0).forEach(function(i){Nc(t,i,a[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Pb(Object(a)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(a,i))})}return t}function fL(t){if(Array.isArray(t))return t}function dL(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,p=!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){p=!0,s=y}finally{try{if(!f&&a.return!=null&&(u=a.return(),Object(u)!==u))return}finally{if(p)throw s}}return d}}function Fp(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 jA(t,e){if(t){if(typeof t=="string")return Fp(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)?Fp(t,e):void 0}}function hL(){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 Ti(t,e){return fL(t)||dL(t,e)||jA(t,e)||hL()}function mL(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 ni(t,e){if(t==null)return{};var a,i,s=mL(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 pL=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function LA(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,p=t.onChange,y=t.onInputChange,b=t.onMenuClose,A=t.onMenuOpen,w=t.value,T=ni(t,pL),N=g.useState(d!==void 0?d:a),j=Ti(N,2),D=j[0],x=j[1],z=g.useState(f!==void 0?f:s),G=Ti(z,2),M=G[0],H=G[1],Z=g.useState(w!==void 0?w:u),E=Ti(Z,2),O=E[0],R=E[1],B=g.useCallback(function(k,J){typeof p=="function"&&p(k,J),R(k)},[p]),L=g.useCallback(function(k,J){var q;typeof y=="function"&&(q=y(k,J)),x(q!==void 0?q:k)},[y]),U=g.useCallback(function(){typeof A=="function"&&A(),H(!0)},[A]),F=g.useCallback(function(){typeof b=="function"&&b(),H(!1)},[b]),P=d!==void 0?d:D,I=f!==void 0?f:M,V=w!==void 0?w:O;return ze(ze({},T),{},{inputValue:P,menuIsOpen:I,onChange:B,onInputChange:L,onMenuClose:F,onMenuOpen:U,value:V})}function Fe(){return Fe=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},Fe.apply(null,arguments)}function gL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hb(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,DA(i.key),i)}}function vL(t,e,a){return e&&Hb(t.prototype,e),a&&Hb(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function Vp(t,e){return Vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,i){return a.__proto__=i,a},Vp(t,e)}function yL(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&&Vp(t,e)}function $1(t){return $1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$1(t)}function kA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kA=function(){return!!t})()}function bL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SL(t,e){if(e&&(Vs(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bL(t)}function EL(t){var e=kA();return function(){var a,i=$1(t);if(e){var s=$1(this).constructor;a=Reflect.construct(i,arguments,s)}else a=i.apply(this,arguments);return SL(this,a)}}function AL(t){if(Array.isArray(t))return Fp(t)}function wL(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xL(){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 Zl(t){return AL(t)||wL(t)||jA(t)||xL()}function CL(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 TL(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 OL=(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(TL(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var o=CL(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})(),ma="-ms-",ef="-moz-",Ut="-webkit-",_A="comm",W6="rule",Y6="decl",RL="@import",UA="@keyframes",IL="@layer",ML=Math.abs,Rf=String.fromCharCode,NL=Object.assign;function DL(t,e){return la(t,0)^45?(((e<<2^la(t,0))<<2^la(t,1))<<2^la(t,2))<<2^la(t,3):0}function zA(t){return t.trim()}function jL(t,e){return(t=e.exec(t))?t[0]:t}function zt(t,e,a){return t.replace(e,a)}function Gp(t,e){return t.indexOf(e)}function la(t,e){return t.charCodeAt(e)|0}function Hc(t,e,a){return t.slice(e,a)}function Wr(t){return t.length}function Q6(t){return t.length}function v1(t,e){return e.push(t),t}function LL(t,e){return t.map(e).join("")}var If=1,to=1,qA=0,_a=0,qn=0,fo="";function Mf(t,e,a,i,s,o,u){return{value:t,root:e,parent:a,type:i,props:s,children:o,line:If,column:to,length:u,return:""}}function vc(t,e){return NL(Mf("",null,null,"",null,null,0),t,{length:-t.length},e)}function kL(){return qn}function _L(){return qn=_a>0?la(fo,--_a):0,to--,qn===10&&(to=1,If--),qn}function Qa(){return qn=_a<qA?la(fo,_a++):0,to++,qn===10&&(to=1,If++),qn}function Kr(){return la(fo,_a)}function U1(){return _a}function eu(t,e){return Hc(fo,t,e)}function Bc(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 PA(t){return If=to=1,qA=Wr(fo=t),_a=0,[]}function HA(t){return fo="",t}function z1(t){return zA(eu(_a-1,Zp(t===91?t+2:t===40?t+1:t)))}function UL(t){for(;(qn=Kr())&&qn<33;)Qa();return Bc(t)>2||Bc(qn)>3?"":" "}function zL(t,e){for(;--e&&Qa()&&!(qn<48||qn>102||qn>57&&qn<65||qn>70&&qn<97););return eu(t,U1()+(e<6&&Kr()==32&&Qa()==32))}function Zp(t){for(;Qa();)switch(qn){case t:return _a;case 34:case 39:t!==34&&t!==39&&Zp(qn);break;case 40:t===41&&Zp(t);break;case 92:Qa();break}return _a}function qL(t,e){for(;Qa()&&t+qn!==57;)if(t+qn===84&&Kr()===47)break;return"/*"+eu(e,_a-1)+"*"+Rf(t===47?t:Qa())}function PL(t){for(;!Bc(Kr());)Qa();return eu(t,_a)}function HL(t){return HA(q1("",null,null,null,[""],t=PA(t),0,[0],t))}function q1(t,e,a,i,s,o,u,d,f){for(var p=0,y=0,b=u,A=0,w=0,T=0,N=1,j=1,D=1,x=0,z="",G=s,M=o,H=i,Z=z;j;)switch(T=x,x=Qa()){case 40:if(T!=108&&la(Z,b-1)==58){Gp(Z+=zt(z1(x),"&","&\f"),"&\f")!=-1&&(D=-1);break}case 34:case 39:case 91:Z+=z1(x);break;case 9:case 10:case 13:case 32:Z+=UL(T);break;case 92:Z+=zL(U1()-1,7);continue;case 47:switch(Kr()){case 42:case 47:v1(BL(qL(Qa(),U1()),e,a),f);break;default:Z+="/"}break;case 123*N:d[p++]=Wr(Z)*D;case 125*N:case 59:case 0:switch(x){case 0:case 125:j=0;case 59+y:D==-1&&(Z=zt(Z,/\f/g,"")),w>0&&Wr(Z)-b&&v1(w>32?Fb(Z+";",i,a,b-1):Fb(zt(Z," ","")+";",i,a,b-2),f);break;case 59:Z+=";";default:if(v1(H=Bb(Z,e,a,p,y,s,d,z,G=[],M=[],b),o),x===123)if(y===0)q1(Z,e,H,H,G,o,b,d,M);else switch(A===99&&la(Z,3)===110?100:A){case 100:case 108:case 109:case 115:q1(t,H,H,i&&v1(Bb(t,H,H,0,0,s,d,z,s,G=[],b),M),s,M,b,d,i?G:M);break;default:q1(Z,H,H,H,[""],M,0,d,M)}}p=y=w=0,N=D=1,z=Z="",b=u;break;case 58:b=1+Wr(Z),w=T;default:if(N<1){if(x==123)--N;else if(x==125&&N++==0&&_L()==125)continue}switch(Z+=Rf(x),x*N){case 38:D=y>0?1:(Z+="\f",-1);break;case 44:d[p++]=(Wr(Z)-1)*D,D=1;break;case 64:Kr()===45&&(Z+=z1(Qa())),A=Kr(),y=b=Wr(z=Z+=PL(U1())),x++;break;case 45:T===45&&Wr(Z)==2&&(N=0)}}return o}function Bb(t,e,a,i,s,o,u,d,f,p,y){for(var b=s-1,A=s===0?o:[""],w=Q6(A),T=0,N=0,j=0;T<i;++T)for(var D=0,x=Hc(t,b+1,b=ML(N=u[T])),z=t;D<w;++D)(z=zA(N>0?A[D]+" "+x:zt(x,/&\f/g,A[D])))&&(f[j++]=z);return Mf(t,e,a,s===0?W6:d,f,p,y)}function BL(t,e,a){return Mf(t,e,a,_A,Rf(kL()),Hc(t,2,-2),0)}function Fb(t,e,a,i){return Mf(t,e,a,Y6,Hc(t,0,i),Hc(t,i+1,-1),i)}function Wl(t,e){for(var a="",i=Q6(t),s=0;s<i;s++)a+=e(t[s],s,t,e)||"";return a}function FL(t,e,a,i){switch(t.type){case IL:if(t.children.length)break;case RL:case Y6:return t.return=t.return||t.value;case _A:return"";case UA:return t.return=t.value+"{"+Wl(t.children,i)+"}";case W6:t.value=t.props.join(",")}return Wr(a=Wl(t.children,i))?t.return=t.value+"{"+a+"}":""}function VL(t){var e=Q6(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 GL(t){return function(e){e.root||(e=e.return)&&t(e)}}function ZL(t){var e=Object.create(null);return function(a){return e[a]===void 0&&(e[a]=t(a)),e[a]}}var WL=function(e,a,i){for(var s=0,o=0;s=o,o=Kr(),s===38&&o===12&&(a[i]=1),!Bc(o);)Qa();return eu(e,_a)},YL=function(e,a){var i=-1,s=44;do switch(Bc(s)){case 0:s===38&&Kr()===12&&(a[i]=1),e[i]+=WL(_a-1,a,i);break;case 2:e[i]+=z1(s);break;case 4:if(s===44){e[++i]=Kr()===58?"&\f":"",a[i]=e[i].length;break}default:e[i]+=Rf(s)}while(s=Qa());return e},QL=function(e,a){return HA(YL(PA(e),a))},Vb=new WeakMap,KL=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&&!Vb.get(i))&&!s){Vb.set(e,!0);for(var o=[],u=QL(a,o),d=i.props,f=0,p=0;f<u.length;f++)for(var y=0;y<d.length;y++,p++)e.props[p]=o[f]?u[f].replace(/&\f/g,d[y]):d[y]+" "+u[f]}}},JL=function(e){if(e.type==="decl"){var a=e.value;a.charCodeAt(0)===108&&a.charCodeAt(2)===98&&(e.return="",e.value="")}};function BA(t,e){switch(DL(t,e)){case 5103:return Ut+"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 Ut+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ut+t+ef+t+ma+t+t;case 6828:case 4268:return Ut+t+ma+t+t;case 6165:return Ut+t+ma+"flex-"+t+t;case 5187:return Ut+t+zt(t,/(\w+).+(:[^]+)/,Ut+"box-$1$2"+ma+"flex-$1$2")+t;case 5443:return Ut+t+ma+"flex-item-"+zt(t,/flex-|-self/,"")+t;case 4675:return Ut+t+ma+"flex-line-pack"+zt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ut+t+ma+zt(t,"shrink","negative")+t;case 5292:return Ut+t+ma+zt(t,"basis","preferred-size")+t;case 6060:return Ut+"box-"+zt(t,"-grow","")+Ut+t+ma+zt(t,"grow","positive")+t;case 4554:return Ut+zt(t,/([^-])(transform)/g,"$1"+Ut+"$2")+t;case 6187:return zt(zt(zt(t,/(zoom-|grab)/,Ut+"$1"),/(image-set)/,Ut+"$1"),t,"")+t;case 5495:case 3959:return zt(t,/(image-set\([^]*)/,Ut+"$1$`$1");case 4968:return zt(zt(t,/(.+:)(flex-)?(.*)/,Ut+"box-pack:$3"+ma+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ut+t+t;case 4095:case 3583:case 4068:case 2532:return zt(t,/(.+)-inline(.+)/,Ut+"$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(Wr(t)-1-e>6)switch(la(t,e+1)){case 109:if(la(t,e+4)!==45)break;case 102:return zt(t,/(.+:)(.+)-([^]+)/,"$1"+Ut+"$2-$3$1"+ef+(la(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Gp(t,"stretch")?BA(zt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(la(t,e+1)!==115)break;case 6444:switch(la(t,Wr(t)-3-(~Gp(t,"!important")&&10))){case 107:return zt(t,":",":"+Ut)+t;case 101:return zt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ut+(la(t,14)===45?"inline-":"")+"box$3$1"+Ut+"$2$3$1"+ma+"$2box$3")+t}break;case 5936:switch(la(t,e+11)){case 114:return Ut+t+ma+zt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ut+t+ma+zt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ut+t+ma+zt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ut+t+ma+t+t}return t}var XL=function(e,a,i,s){if(e.length>-1&&!e.return)switch(e.type){case Y6:e.return=BA(e.value,e.length);break;case UA:return Wl([vc(e,{value:zt(e.value,"@","@"+Ut)})],s);case W6:if(e.length)return LL(e.props,function(o){switch(jL(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wl([vc(e,{props:[zt(o,/:(read-\w+)/,":"+ef+"$1")]})],s);case"::placeholder":return Wl([vc(e,{props:[zt(o,/:(plac\w+)/,":"+Ut+"input-$1")]}),vc(e,{props:[zt(o,/:(plac\w+)/,":"+ef+"$1")]}),vc(e,{props:[zt(o,/:(plac\w+)/,ma+"input-$1")]})],s)}return""})}},$L=[XL],ek=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(N){var j=N.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(N),N.setAttribute("data-s",""))})}var s=e.stylisPlugins||$L,o={},u,d=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(N){for(var j=N.getAttribute("data-emotion").split(" "),D=1;D<j.length;D++)o[j[D]]=!0;d.push(N)});var f,p=[KL,JL];{var y,b=[FL,GL(function(N){y.insert(N)})],A=VL(p.concat(s,b)),w=function(j){return Wl(HL(j),A)};f=function(j,D,x,z){y=x,w(j?j+"{"+D.styles+"}":D.styles),z&&(T.inserted[D.name]=!0)}}var T={key:a,sheet:new OL({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 T.sheet.hydrate(d),T},N3={exports:{}},Bt={};/** @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 Gb;function tk(){if(Gb)return Bt;Gb=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,p=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,A=t?Symbol.for("react.suspense_list"):60120,w=t?Symbol.for("react.memo"):60115,T=t?Symbol.for("react.lazy"):60116,N=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function z(M){if(typeof M=="object"&&M!==null){var H=M.$$typeof;switch(H){case e:switch(M=M.type,M){case f:case p:case i:case o:case s:case b:return M;default:switch(M=M&&M.$$typeof,M){case d:case y:case T:case w:case u:return M;default:return H}}case a:return H}}}function G(M){return z(M)===p}return Bt.AsyncMode=f,Bt.ConcurrentMode=p,Bt.ContextConsumer=d,Bt.ContextProvider=u,Bt.Element=e,Bt.ForwardRef=y,Bt.Fragment=i,Bt.Lazy=T,Bt.Memo=w,Bt.Portal=a,Bt.Profiler=o,Bt.StrictMode=s,Bt.Suspense=b,Bt.isAsyncMode=function(M){return G(M)||z(M)===f},Bt.isConcurrentMode=G,Bt.isContextConsumer=function(M){return z(M)===d},Bt.isContextProvider=function(M){return z(M)===u},Bt.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===e},Bt.isForwardRef=function(M){return z(M)===y},Bt.isFragment=function(M){return z(M)===i},Bt.isLazy=function(M){return z(M)===T},Bt.isMemo=function(M){return z(M)===w},Bt.isPortal=function(M){return z(M)===a},Bt.isProfiler=function(M){return z(M)===o},Bt.isStrictMode=function(M){return z(M)===s},Bt.isSuspense=function(M){return z(M)===b},Bt.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===i||M===p||M===o||M===s||M===b||M===A||typeof M=="object"&&M!==null&&(M.$$typeof===T||M.$$typeof===w||M.$$typeof===u||M.$$typeof===d||M.$$typeof===y||M.$$typeof===j||M.$$typeof===D||M.$$typeof===x||M.$$typeof===N)},Bt.typeOf=z,Bt}var Zb;function nk(){return Zb||(Zb=1,N3.exports=tk()),N3.exports}var D3,Wb;function ak(){if(Wb)return D3;Wb=1;var t=nk(),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(T){return t.isMemo(T)?s:o[T.$$typeof]||e}var d=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,A=Object.prototype;function w(T,N,j){if(typeof N!="string"){if(A){var D=b(N);D&&D!==A&&w(T,D,j)}var x=f(N);p&&(x=x.concat(p(N)));for(var z=u(T),G=u(N),M=0;M<x.length;++M){var H=x[M];if(!a[H]&&!(j&&j[H])&&!(G&&G[H])&&!(z&&z[H])){var Z=y(N,H);try{d(T,H,Z)}catch{}}}}return T}return D3=w,D3}ak();var rk=!0;function ik(t,e,a){var i="";return a.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(i+=s+" ")}),i}var FA=function(e,a,i){var s=e.key+"-"+a.name;(i===!1||rk===!1)&&e.registered[s]===void 0&&(e.registered[s]=a.styles)},sk=function(e,a,i){FA(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 lk(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 ok={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},ck=/[A-Z]|^ms/g,uk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,VA=function(e){return e.charCodeAt(1)===45},Yb=function(e){return e!=null&&typeof e!="boolean"},j3=ZL(function(t){return VA(t)?t:t.replace(ck,"-$&").toLowerCase()}),Qb=function(e,a){switch(e){case"animation":case"animationName":if(typeof a=="string")return a.replace(uk,function(i,s,o){return Yr={name:s,styles:o,next:Yr},s})}return ok[e]!==1&&!VA(e)&&typeof a=="number"&&a!==0?a+"px":a};function Fc(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 Yr={name:s.name,styles:s.styles,next:Yr},s.name;var o=a;if(o.styles!==void 0){var u=o.next;if(u!==void 0)for(;u!==void 0;)Yr={name:u.name,styles:u.styles,next:Yr},u=u.next;var d=o.styles+";";return d}return fk(t,e,a)}case"function":{if(t!==void 0){var f=Yr,p=a(t);return Yr=f,Fc(t,e,p)}break}}var y=a;return y}function fk(t,e,a){var i="";if(Array.isArray(a))for(var s=0;s<a.length;s++)i+=Fc(t,e,a[s])+";";else for(var o in a){var u=a[o];if(typeof u!="object"){var d=u;Yb(d)&&(i+=j3(o)+":"+Qb(o,d)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&e==null)for(var f=0;f<u.length;f++)Yb(u[f])&&(i+=j3(o)+":"+Qb(o,u[f])+";");else{var p=Fc(t,e,u);switch(o){case"animation":case"animationName":{i+=j3(o)+":"+p+";";break}default:i+=o+"{"+p+"}"}}}return i}var Kb=/label:\s*([^\s;{]+)\s*(;|$)/g,Yr;function GA(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="";Yr=void 0;var o=t[0];if(o==null||o.raw===void 0)i=!1,s+=Fc(a,e,o);else{var u=o;s+=u[0]}for(var d=1;d<t.length;d++)if(s+=Fc(a,e,t[d]),i){var f=o;s+=f[d]}Kb.lastIndex=0;for(var p="",y;(y=Kb.exec(s))!==null;)p+="-"+y[1];var b=lk(s)+p;return{name:b,styles:s,next:Yr}}var dk=function(e){return e()},hk=V8.useInsertionEffect?V8.useInsertionEffect:!1,mk=hk||dk,ZA=g.createContext(typeof HTMLElement<"u"?ek({key:"css"}):null);ZA.Provider;var pk=function(e){return g.forwardRef(function(a,i){var s=g.useContext(ZA);return e(a,s,i)})},gk=g.createContext({}),K6={}.hasOwnProperty,Wp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vk=function(e,a){var i={};for(var s in a)K6.call(a,s)&&(i[s]=a[s]);return i[Wp]=e,i},yk=function(e){var a=e.cache,i=e.serialized,s=e.isStringTag;return FA(a,i,s),mk(function(){return sk(a,i,s)}),null},bk=pk(function(t,e,a){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var s=t[Wp],o=[i],u="";typeof t.className=="string"?u=ik(e.registered,o,t.className):t.className!=null&&(u=t.className+" ");var d=GA(o,void 0,g.useContext(gk));u+=e.key+"-"+d.name;var f={};for(var p in t)K6.call(t,p)&&p!=="css"&&p!==Wp&&(f[p]=t[p]);return f.className=u,a&&(f.ref=a),g.createElement(g.Fragment,null,g.createElement(yk,{cache:e,serialized:d,isStringTag:typeof s=="string"}),g.createElement(s,f))}),Sk=bk,Ue=function(e,a){var i=arguments;if(a==null||!K6.call(a,"css"))return g.createElement.apply(void 0,i);var s=i.length,o=new Array(s);o[0]=Sk,o[1]=vk(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={}))})(Ue||(Ue={}));function J6(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return GA(e)}function Ek(){var t=J6.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 Ak(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var Yp=g.useLayoutEffect,wk=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],tf=function(){};function xk(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Ck(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(xk(t,u)));return o.filter(function(d){return d}).map(function(d){return String(d).trim()}).join(" ")}var nf=function(e){return Lk(e)?e.filter(Boolean):Vs(e)==="object"&&e!==null?[e]:[]},WA=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=ni(e,wk);return ze({},a)},wn=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 Nf(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Tk(t){return Nf(t)?window.innerHeight:t.clientHeight}function YA(t){return Nf(t)?window.pageYOffset:t.scrollTop}function af(t,e){if(Nf(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Ok(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 Rk(t,e,a,i){return a*((t=t/i-1)*t*t+1)+e}function y1(t,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:tf,s=YA(t),o=e-s,u=10,d=0;function f(){d+=u;var p=Rk(d,s,o,a);af(t,p),d<a?window.requestAnimationFrame(f):i(t)}f()}function Jb(t,e){var a=t.getBoundingClientRect(),i=e.getBoundingClientRect(),s=e.offsetHeight/3;i.bottom+s>a.bottom?af(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+s,t.scrollHeight)):i.top-s<a.top&&af(t,Math.max(e.offsetTop-s,0))}function Ik(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 Xb(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Mk(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var QA=!1,Nk={get passive(){return QA=!0}},b1=typeof window<"u"?window:{};b1.addEventListener&&b1.removeEventListener&&(b1.addEventListener("p",tf,Nk),b1.removeEventListener("p",tf,!1));var Dk=QA;function jk(t){return t!=null}function Lk(t){return Array.isArray(t)}function Dc(t,e,a){return t?e:a}var kk=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=Ti(u,1),f=d[0];return!i.includes(f)});return o.reduce(function(u,d){var f=Ti(d,2),p=f[0],y=f[1];return u[p]=y,u},{})},_k=["children","innerProps"],Uk=["children","innerProps"];function zk(t){var e=t.maxHeight,a=t.menuEl,i=t.minHeight,s=t.placement,o=t.shouldScroll,u=t.isFixedPosition,d=t.controlHeight,f=Ok(a),p={placement:"bottom",maxHeight:e};if(!a||!a.offsetParent)return p;var y=f.getBoundingClientRect(),b=y.height,A=a.getBoundingClientRect(),w=A.bottom,T=A.height,N=A.top,j=a.offsetParent.getBoundingClientRect(),D=j.top,x=u?window.innerHeight:Tk(f),z=YA(f),G=parseInt(getComputedStyle(a).marginBottom,10),M=parseInt(getComputedStyle(a).marginTop,10),H=D-M,Z=x-N,E=H+z,O=b-z-N,R=w-x+z+G,B=z+N-M,L=160;switch(s){case"auto":case"bottom":if(Z>=T)return{placement:"bottom",maxHeight:e};if(O>=T&&!u)return o&&y1(f,R,L),{placement:"bottom",maxHeight:e};if(!u&&O>=i||u&&Z>=i){o&&y1(f,R,L);var U=u?Z-G:O-G;return{placement:"bottom",maxHeight:U}}if(s==="auto"||u){var F=e,P=u?H:E;return P>=i&&(F=Math.min(P-G-d,e)),{placement:"top",maxHeight:F}}if(s==="bottom")return o&&af(f,R),{placement:"bottom",maxHeight:e};break;case"top":if(H>=T)return{placement:"top",maxHeight:e};if(E>=T&&!u)return o&&y1(f,B,L),{placement:"top",maxHeight:e};if(!u&&E>=i||u&&H>=i){var I=e;return(!u&&E>=i||u&&H>=i)&&(I=u?H-M:E-M),o&&y1(f,B,L),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(s,'".'))}return p}function qk(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var KA=function(e){return e==="auto"?"bottom":e},Pk=function(e,a){var i,s=e.placement,o=e.theme,u=o.borderRadius,d=o.spacing,f=o.colors;return ze((i={label:"menu"},Nc(i,qk(s),"100%"),Nc(i,"position","absolute"),Nc(i,"width","100%"),Nc(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})},JA=g.createContext(null),Hk=function(e){var a=e.children,i=e.minMenuHeight,s=e.maxMenuHeight,o=e.menuPlacement,u=e.menuPosition,d=e.menuShouldScrollIntoView,f=e.theme,p=g.useContext(JA)||{},y=p.setPortalPlacement,b=g.useRef(null),A=g.useState(s),w=Ti(A,2),T=w[0],N=w[1],j=g.useState(null),D=Ti(j,2),x=D[0],z=D[1],G=f.spacing.controlHeight;return Yp(function(){var M=b.current;if(M){var H=u==="fixed",Z=d&&!H,E=zk({maxHeight:s,menuEl:M,minHeight:i,placement:o,shouldScroll:Z,isFixedPosition:H,controlHeight:G});N(E.maxHeight),z(E.placement),y?.(E.placement)}},[s,o,u,d,i,y,G]),a({ref:b,placerProps:ze(ze({},e),{},{placement:x||KA(o),maxHeight:T})})},Bk=function(e){var a=e.children,i=e.innerRef,s=e.innerProps;return Ue("div",Fe({},wn(e,"menu",{menu:!0}),{ref:i},s),a)},Fk=Bk,Vk=function(e,a){var i=e.maxHeight,s=e.theme.spacing.baseUnit;return ze({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},a?{}:{paddingBottom:s,paddingTop:s})},Gk=function(e){var a=e.children,i=e.innerProps,s=e.innerRef,o=e.isMulti;return Ue("div",Fe({},wn(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:s},i),a)},XA=function(e,a){var i=e.theme,s=i.spacing.baseUnit,o=i.colors;return ze({textAlign:"center"},a?{}:{color:o.neutral40,padding:"".concat(s*2,"px ").concat(s*3,"px")})},Zk=XA,Wk=XA,Yk=function(e){var a=e.children,i=a===void 0?"No options":a,s=e.innerProps,o=ni(e,_k);return Ue("div",Fe({},wn(ze(ze({},o),{},{children:i,innerProps:s}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),s),i)},Qk=function(e){var a=e.children,i=a===void 0?"Loading...":a,s=e.innerProps,o=ni(e,Uk);return Ue("div",Fe({},wn(ze(ze({},o),{},{children:i,innerProps:s}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),s),i)},Kk=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}},Jk=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),p=g.useRef(null),y=g.useState(KA(u)),b=Ti(y,2),A=b[0],w=b[1],T=g.useMemo(function(){return{setPortalPlacement:w}},[]),N=g.useState(null),j=Ti(N,2),D=j[0],x=j[1],z=g.useCallback(function(){if(s){var Z=Ik(s),E=d==="fixed"?0:window.pageYOffset,O=Z[A]+E;(O!==D?.offset||Z.left!==D?.rect.left||Z.width!==D?.rect.width)&&x({offset:O,rect:Z})}},[s,d,A,D?.offset,D?.rect.left,D?.rect.width]);Yp(function(){z()},[z]);var G=g.useCallback(function(){typeof p.current=="function"&&(p.current(),p.current=null),s&&f.current&&(p.current=xE(s,f.current,z,{elementResize:"ResizeObserver"in window}))},[s,z]);Yp(function(){G()},[G]);var M=g.useCallback(function(Z){f.current=Z,G()},[G]);if(!a&&d!=="fixed"||!D)return null;var H=Ue("div",Fe({ref:M},wn(ze(ze({},e),{},{offset:D.offset,position:d,rect:D.rect}),"menuPortal",{"menu-portal":!0}),o),i);return Ue(JA.Provider,{value:T},a?WE.createPortal(H,a):H)},Xk=function(e){var a=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:a?"none":void 0,position:"relative"}},$k=function(e){var a=e.children,i=e.innerProps,s=e.isDisabled,o=e.isRtl;return Ue("div",Fe({},wn(e,"container",{"--is-disabled":s,"--is-rtl":o}),i),a)},e_=function(e,a){var i=e.theme.spacing,s=e.isMulti,o=e.hasValue,u=e.selectProps.controlShouldRenderValue;return ze({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")})},t_=function(e){var a=e.children,i=e.innerProps,s=e.isMulti,o=e.hasValue;return Ue("div",Fe({},wn(e,"valueContainer",{"value-container":!0,"value-container--is-multi":s,"value-container--has-value":o}),i),a)},n_=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},a_=function(e){var a=e.children,i=e.innerProps;return Ue("div",Fe({},wn(e,"indicatorsContainer",{indicators:!0}),i),a)},$b,r_=["size"],i_=["innerProps","isRtl","size"],s_={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},$A=function(e){var a=e.size,i=ni(e,r_);return Ue("svg",Fe({height:a,width:a,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:s_},i))},X6=function(e){return Ue($A,Fe({size:20},e),Ue("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"}))},ew=function(e){return Ue($A,Fe({size:20},e),Ue("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"}))},tw=function(e,a){var i=e.isFocused,s=e.theme,o=s.spacing.baseUnit,u=s.colors;return ze({label:"indicatorContainer",display:"flex",transition:"color 150ms"},a?{}:{color:i?u.neutral60:u.neutral20,padding:o*2,":hover":{color:i?u.neutral80:u.neutral40}})},l_=tw,o_=function(e){var a=e.children,i=e.innerProps;return Ue("div",Fe({},wn(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),a||Ue(ew,null))},c_=tw,u_=function(e){var a=e.children,i=e.innerProps;return Ue("div",Fe({},wn(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),a||Ue(X6,null))},f_=function(e,a){var i=e.isDisabled,s=e.theme,o=s.spacing.baseUnit,u=s.colors;return ze({label:"indicatorSeparator",alignSelf:"stretch",width:1},a?{}:{backgroundColor:i?u.neutral10:u.neutral20,marginBottom:o*2,marginTop:o*2})},d_=function(e){var a=e.innerProps;return Ue("span",Fe({},a,wn(e,"indicatorSeparator",{"indicator-separator":!0})))},h_=Ek($b||($b=Ak([`
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
`]))),m_=function(e,a){var i=e.isFocused,s=e.size,o=e.theme,u=o.colors,d=o.spacing.baseUnit;return ze({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})},L3=function(e){var a=e.delay,i=e.offset;return Ue("span",{css:J6({animation:"".concat(h_," 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"},"","")})},p_=function(e){var a=e.innerProps,i=e.isRtl,s=e.size,o=s===void 0?4:s,u=ni(e,i_);return Ue("div",Fe({},wn(ze(ze({},u),{},{innerProps:a,isRtl:i,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),a),Ue(L3,{delay:0,offset:i}),Ue(L3,{delay:160,offset:!0}),Ue(L3,{delay:320,offset:!i}))},g_=function(e,a){var i=e.isDisabled,s=e.isFocused,o=e.theme,u=o.colors,d=o.borderRadius,f=o.spacing;return ze({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}})},v_=function(e){var a=e.children,i=e.isDisabled,s=e.isFocused,o=e.innerRef,u=e.innerProps,d=e.menuIsOpen;return Ue("div",Fe({ref:o},wn(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":d}),u,{"aria-disabled":i||void 0}),a)},y_=v_,b_=["data"],S_=function(e,a){var i=e.theme.spacing;return a?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},E_=function(e){var a=e.children,i=e.cx,s=e.getStyles,o=e.getClassNames,u=e.Heading,d=e.headingProps,f=e.innerProps,p=e.label,y=e.theme,b=e.selectProps;return Ue("div",Fe({},wn(e,"group",{group:!0}),f),Ue(u,Fe({},d,{selectProps:b,theme:y,getStyles:s,getClassNames:o,cx:i}),p),Ue("div",null,a))},A_=function(e,a){var i=e.theme,s=i.colors,o=i.spacing;return ze({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"})},w_=function(e){var a=WA(e);a.data;var i=ni(a,b_);return Ue("div",Fe({},wn(e,"groupHeading",{"group-heading":!0}),i))},x_=E_,C_=["innerRef","isDisabled","isHidden","inputClassName"],T_=function(e,a){var i=e.isDisabled,s=e.value,o=e.theme,u=o.spacing,d=o.colors;return ze(ze({visibility:i?"hidden":"visible",transform:s?"translateZ(0)":""},O_),a?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:d.neutral80})},nw={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},O_={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ze({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},nw)},R_=function(e){return ze({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},nw)},I_=function(e){var a=e.cx,i=e.value,s=WA(e),o=s.innerRef,u=s.isDisabled,d=s.isHidden,f=s.inputClassName,p=ni(s,C_);return Ue("div",Fe({},wn(e,"input",{"input-container":!0}),{"data-value":i||""}),Ue("input",Fe({className:a({input:!0},f),ref:o,style:R_(d),disabled:u},p)))},M_=I_,N_=function(e,a){var i=e.theme,s=i.spacing,o=i.borderRadius,u=i.colors;return ze({label:"multiValue",display:"flex",minWidth:0},a?{}:{backgroundColor:u.neutral10,borderRadius:o/2,margin:s.baseUnit/2})},D_=function(e,a){var i=e.theme,s=i.borderRadius,o=i.colors,u=e.cropWithEllipsis;return ze({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})},j_=function(e,a){var i=e.theme,s=i.spacing,o=i.borderRadius,u=i.colors,d=e.isFocused;return ze({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}})},aw=function(e){var a=e.children,i=e.innerProps;return Ue("div",i,a)},L_=aw,k_=aw;function __(t){var e=t.children,a=t.innerProps;return Ue("div",Fe({role:"button"},a),e||Ue(X6,{size:14}))}var U_=function(e){var a=e.children,i=e.components,s=e.data,o=e.innerProps,u=e.isDisabled,d=e.removeProps,f=e.selectProps,p=i.Container,y=i.Label,b=i.Remove;return Ue(p,{data:s,innerProps:ze(ze({},wn(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),o),selectProps:f},Ue(y,{data:s,innerProps:ze({},wn(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},a),Ue(b,{data:s,innerProps:ze(ze({},wn(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(a||"option")},d),selectProps:f}))},z_=U_,q_=function(e,a){var i=e.isDisabled,s=e.isFocused,o=e.isSelected,u=e.theme,d=u.spacing,f=u.colors;return ze({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}})},P_=function(e){var a=e.children,i=e.isDisabled,s=e.isFocused,o=e.isSelected,u=e.innerRef,d=e.innerProps;return Ue("div",Fe({},wn(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":o}),{ref:u,"aria-disabled":i},d),a)},H_=P_,B_=function(e,a){var i=e.theme,s=i.spacing,o=i.colors;return ze({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},a?{}:{color:o.neutral50,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},F_=function(e){var a=e.children,i=e.innerProps;return Ue("div",Fe({},wn(e,"placeholder",{placeholder:!0}),i),a)},V_=F_,G_=function(e,a){var i=e.isDisabled,s=e.theme,o=s.spacing,u=s.colors;return ze({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})},Z_=function(e){var a=e.children,i=e.isDisabled,s=e.innerProps;return Ue("div",Fe({},wn(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),s),a)},W_=Z_,Y_={ClearIndicator:u_,Control:y_,DropdownIndicator:o_,DownChevron:ew,CrossIcon:X6,Group:x_,GroupHeading:w_,IndicatorsContainer:a_,IndicatorSeparator:d_,Input:M_,LoadingIndicator:p_,Menu:Fk,MenuList:Gk,MenuPortal:Jk,LoadingMessage:Qk,NoOptionsMessage:Yk,MultiValue:z_,MultiValueContainer:L_,MultiValueLabel:k_,MultiValueRemove:__,Option:H_,Placeholder:V_,SelectContainer:$k,SingleValue:W_,ValueContainer:t_},Q_=function(e){return ze(ze({},Y_),e.components)},eS=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function K_(t,e){return!!(t===e||eS(t)&&eS(e))}function J_(t,e){if(t.length!==e.length)return!1;for(var a=0;a<t.length;a++)if(!K_(t[a],e[a]))return!1;return!0}function X_(t,e){e===void 0&&(e=J_);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 $_={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"},eU=function(e){return Ue("span",Fe({css:$_},e))},tS=eU,tU={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,p=e.isSelected,y=e.isAppleDevice,b=function(N,j){return N&&N.length?"".concat(N.indexOf(j)+1," of ").concat(N.length):""};if(a==="value"&&d)return"value ".concat(u," focused, ").concat(b(d,i),".");if(a==="menu"&&y){var A=f?" disabled":"",w="".concat(p?" selected":"").concat(A);return"".concat(u).concat(w,", ").concat(b(s,i),".")}return""},onFilter:function(e){var a=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(a?" for search term "+a:"",".")}},nU=function(e){var a=e.ariaSelection,i=e.focusedOption,s=e.focusedValue,o=e.focusableOptions,u=e.isFocused,d=e.selectValue,f=e.selectProps,p=e.id,y=e.isAppleDevice,b=f.ariaLiveMessages,A=f.getOptionLabel,w=f.inputValue,T=f.isMulti,N=f.isOptionDisabled,j=f.isSearchable,D=f.menuIsOpen,x=f.options,z=f.screenReaderStatus,G=f.tabSelectsValue,M=f.isLoading,H=f["aria-label"],Z=f["aria-live"],E=g.useMemo(function(){return ze(ze({},tU),b||{})},[b]),O=g.useMemo(function(){var P="";if(a&&E.onChange){var I=a.option,V=a.options,k=a.removedValue,J=a.removedValues,q=a.value,Y=function(ke){return Array.isArray(ke)?null:ke},re=k||I||Y(q),le=re?A(re):"",ge=V||J||void 0,he=ge?ge.map(A):[],pe=ze({isDisabled:re&&N(re,d),label:le,labels:he},a);P=E.onChange(pe)}return P},[a,E,N,d,A]),R=g.useMemo(function(){var P="",I=i||s,V=!!(i&&d&&d.includes(i));if(I&&E.onFocus){var k={focused:I,label:A(I),isDisabled:N(I,d),isSelected:V,options:o,context:I===i?"menu":"value",selectValue:d,isAppleDevice:y};P=E.onFocus(k)}return P},[i,s,A,N,E,o,d,y]),B=g.useMemo(function(){var P="";if(D&&x.length&&!M&&E.onFilter){var I=z({count:o.length});P=E.onFilter({inputValue:w,resultsMessage:I})}return P},[o,w,D,E,x,z,M]),L=a?.action==="initial-input-focus",U=g.useMemo(function(){var P="";if(E.guidance){var I=s?"value":D?"menu":"input";P=E.guidance({"aria-label":H,context:I,isDisabled:i&&N(i,d),isMulti:T,isSearchable:j,tabSelectsValue:G,isInitialFocus:L})}return P},[H,i,s,T,N,j,D,E,d,G,L]),F=Ue(g.Fragment,null,Ue("span",{id:"aria-selection"},O),Ue("span",{id:"aria-focused"},R),Ue("span",{id:"aria-results"},B),Ue("span",{id:"aria-guidance"},U));return Ue(g.Fragment,null,Ue(tS,{id:p},L&&F),Ue(tS,{"aria-live":Z,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!L&&F))},aU=nU,Qp=[{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ⓩｚźẑżžẓẕƶȥɀⱬꝣ"}],rU=new RegExp("["+Qp.map(function(t){return t.letters}).join("")+"]","g"),rw={};for(var k3=0;k3<Qp.length;k3++)for(var _3=Qp[k3],U3=0;U3<_3.letters.length;U3++)rw[_3.letters[U3]]=_3.base;var iw=function(e){return e.replace(rU,function(a){return rw[a]})},iU=X_(iw),nS=function(e){return e.replace(/^\s+|\s+$/g,"")},sU=function(e){return"".concat(e.label," ").concat(e.value)},lU=function(e){return function(a,i){if(a.data.__isNew__)return!0;var s=ze({ignoreCase:!0,ignoreAccents:!0,stringify:sU,trim:!0,matchFrom:"any"},e),o=s.ignoreCase,u=s.ignoreAccents,d=s.stringify,f=s.trim,p=s.matchFrom,y=f?nS(i):i,b=f?nS(d(a)):d(a);return o&&(y=y.toLowerCase(),b=b.toLowerCase()),u&&(y=iU(y),b=iw(b)),p==="start"?b.substr(0,y.length)===y:b.indexOf(y)>-1}},oU=["innerRef"];function cU(t){var e=t.innerRef,a=ni(t,oU),i=kk(a,"onExited","in","enter","exit","appear");return Ue("input",Fe({ref:e},i,{css:J6({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 uU=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function fU(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),p=g.useRef(null),y=g.useCallback(function(j,D){if(p.current!==null){var x=p.current,z=x.scrollTop,G=x.scrollHeight,M=x.clientHeight,H=p.current,Z=D>0,E=G-M-z,O=!1;E>D&&u.current&&(i&&i(j),u.current=!1),Z&&d.current&&(o&&o(j),d.current=!1),Z&&D>E?(a&&!u.current&&a(j),H.scrollTop=G,O=!0,u.current=!0):!Z&&-D>z&&(s&&!d.current&&s(j),H.scrollTop=0,O=!0,d.current=!0),O&&uU(j)}},[a,i,s,o]),b=g.useCallback(function(j){y(j,j.deltaY)},[y]),A=g.useCallback(function(j){f.current=j.changedTouches[0].clientY},[]),w=g.useCallback(function(j){var D=f.current-j.changedTouches[0].clientY;y(j,D)},[y]),T=g.useCallback(function(j){if(j){var D=Dk?{passive:!1}:!1;j.addEventListener("wheel",b,D),j.addEventListener("touchstart",A,D),j.addEventListener("touchmove",w,D)}},[w,A,b]),N=g.useCallback(function(j){j&&(j.removeEventListener("wheel",b,!1),j.removeEventListener("touchstart",A,!1),j.removeEventListener("touchmove",w,!1))},[w,A,b]);return g.useEffect(function(){if(e){var j=p.current;return T(j),function(){N(j)}}},[e,T,N]),function(j){p.current=j}}var aS=["boxSizing","height","overflow","paddingRight","position"],rS={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function iS(t){t.cancelable&&t.preventDefault()}function sS(t){t.stopPropagation()}function lS(){var t=this.scrollTop,e=this.scrollHeight,a=t+this.offsetHeight;t===0?this.scrollTop=1:a===e&&(this.scrollTop=t-1)}function oS(){return"ontouchstart"in window||navigator.maxTouchPoints}var cS=!!(typeof window<"u"&&window.document&&window.document.createElement),yc=0,Nl={capture:!1,passive:!1};function dU(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(cS){var p=document.body,y=p&&p.style;if(i&&aS.forEach(function(T){var N=y&&y[T];s.current[T]=N}),i&&yc<1){var b=parseInt(s.current.paddingRight,10)||0,A=document.body?document.body.clientWidth:0,w=window.innerWidth-A+b||0;Object.keys(rS).forEach(function(T){var N=rS[T];y&&(y[T]=N)}),y&&(y.paddingRight="".concat(w,"px"))}p&&oS()&&(p.addEventListener("touchmove",iS,Nl),f&&(f.addEventListener("touchstart",lS,Nl),f.addEventListener("touchmove",sS,Nl))),yc+=1}},[i]),d=g.useCallback(function(f){if(cS){var p=document.body,y=p&&p.style;yc=Math.max(yc-1,0),i&&yc<1&&aS.forEach(function(b){var A=s.current[b];y&&(y[b]=A)}),p&&oS()&&(p.removeEventListener("touchmove",iS,Nl),f&&(f.removeEventListener("touchstart",lS,Nl),f.removeEventListener("touchmove",sS,Nl)))}},[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 hU=function(e){var a=e.target;return a.ownerDocument.activeElement&&a.ownerDocument.activeElement.blur()},mU={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function pU(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,p=fU({isEnabled:s,onBottomArrive:o,onBottomLeave:u,onTopArrive:d,onTopLeave:f}),y=dU({isEnabled:a}),b=function(w){p(w),y(w)};return Ue(g.Fragment,null,a&&Ue("div",{onClick:hU,css:mU}),e(b))}var gU={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},vU=function(e){var a=e.name,i=e.onFocus;return Ue("input",{required:!0,name:a,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:gU,value:"",onChange:function(){}})},yU=vU;function $6(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 bU(){return $6(/^iPhone/i)}function sw(){return $6(/^Mac/i)}function SU(){return $6(/^iPad/i)||sw()&&navigator.maxTouchPoints>1}function EU(){return bU()||SU()}function AU(){return sw()||EU()}var wU=function(e){return e.label},lw=function(e){return e.label},ow=function(e){return e.value},xU=function(e){return!!e.isDisabled},CU={clearIndicator:c_,container:Xk,control:g_,dropdownIndicator:l_,group:S_,groupHeading:A_,indicatorsContainer:n_,indicatorSeparator:f_,input:T_,loadingIndicator:m_,loadingMessage:Wk,menu:Pk,menuList:Vk,menuPortal:Kk,multiValue:N_,multiValueLabel:D_,multiValueRemove:j_,noOptionsMessage:Zk,option:q_,placeholder:B_,singleValue:G_,valueContainer:e_},TU={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%)"},OU=4,cw=4,RU=38,IU=cw*2,MU={baseUnit:cw,controlHeight:RU,menuGutter:IU},z3={borderRadius:OU,colors:TU,spacing:MU},NU={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Xb(),captureMenuScroll:!Xb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:lU(),formatGroupLabel:wU,getOptionLabel:lw,getOptionValue:ow,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:xU,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Mk(),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 uS(t,e,a,i){var s=dw(t,e,a),o=hw(t,e,a),u=fw(t,e),d=rf(t,e);return{type:"option",data:e,isDisabled:s,isSelected:o,label:u,value:d,index:i}}function P1(t,e){return t.options.map(function(a,i){if("options"in a){var s=a.options.map(function(u,d){return uS(t,u,e,d)}).filter(function(u){return dS(t,u)});return s.length>0?{type:"group",data:a,options:s,index:i}:void 0}var o=uS(t,a,e,i);return dS(t,o)?o:void 0}).filter(jk)}function uw(t){return t.reduce(function(e,a){return a.type==="group"?e.push.apply(e,Zl(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,Zl(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 DU(t,e){return uw(P1(t,e))}function dS(t,e){var a=t.inputValue,i=a===void 0?"":a,s=e.data,o=e.isSelected,u=e.label,d=e.value;return(!pw(t)||!o)&&mw(t,{label:u,value:d,data:s},i)}function jU(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 LU(t,e){var a=t.focusedOption;return a&&e.indexOf(a)>-1?a:e[0]}var q3=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},fw=function(e,a){return e.getOptionLabel(a)},rf=function(e,a){return e.getOptionValue(a)};function dw(t,e,a){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,a):!1}function hw(t,e,a){if(a.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,a);var i=rf(t,e);return a.some(function(s){return rf(t,s)===i})}function mw(t,e,a){return t.filterOption?t.filterOption(e,a):!0}var pw=function(e){var a=e.hideSelectedOptions,i=e.isMulti;return a===void 0?i:a},kU=1,e5=(function(t){yL(a,t);var e=EL(a);function a(i){var s;if(gL(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,p){var y=s.props,b=y.onChange,A=y.name;p.name=A,s.ariaOnChange(f,p),b(f,p)},s.setValue=function(f,p,y){var b=s.props,A=b.closeMenuOnSelect,w=b.isMulti,T=b.inputValue;s.onInputChange("",{action:"set-value",prevInputValue:T}),A&&(s.setState({inputIsHiddenAfterUpdate:!w}),s.onMenuClose()),s.setState({clearFocusValueOnUpdate:!0}),s.onChange(f,{action:p,option:y})},s.selectOption=function(f){var p=s.props,y=p.blurInputOnSelect,b=p.isMulti,A=p.name,w=s.state.selectValue,T=b&&s.isOptionSelected(f,w),N=s.isOptionDisabled(f,w);if(T){var j=s.getOptionValue(f);s.setValue(w.filter(function(D){return s.getOptionValue(D)!==j}),"deselect-option",f)}else if(!N)b?s.setValue([].concat(Zl(w),[f]),"select-option",f):s.setValue(f,"select-option");else{s.ariaOnChange(f,{action:"select-option",option:f,name:A});return}y&&s.blurInput()},s.removeValue=function(f){var p=s.props.isMulti,y=s.state.selectValue,b=s.getOptionValue(f),A=y.filter(function(T){return s.getOptionValue(T)!==b}),w=Dc(p,A,A[0]||null);s.onChange(w,{action:"remove-value",removedValue:f}),s.focusInput()},s.clearValue=function(){var f=s.state.selectValue;s.onChange(Dc(s.props.isMulti,[],null),{action:"clear",removedValues:f})},s.popValue=function(){var f=s.props.isMulti,p=s.state.selectValue,y=p[p.length-1],b=p.slice(0,p.length-1),A=Dc(f,b,b[0]||null);y&&s.onChange(A,{action:"pop-value",removedValue:y})},s.getFocusedOptionId=function(f){return q3(s.state.focusableOptionsWithIds,f)},s.getFocusableOptionsWithIds=function(){return fS(P1(s.props,s.state.selectValue),s.getElementId("option"))},s.getValue=function(){return s.state.selectValue},s.cx=function(){for(var f=arguments.length,p=new Array(f),y=0;y<f;y++)p[y]=arguments[y];return Ck.apply(void 0,[s.props.classNamePrefix].concat(p))},s.getOptionLabel=function(f){return fw(s.props,f)},s.getOptionValue=function(f){return rf(s.props,f)},s.getStyles=function(f,p){var y=s.props.unstyled,b=CU[f](p,y);b.boxSizing="border-box";var A=s.props.styles[f];return A?A(b,p):b},s.getClassNames=function(f,p){var y,b;return(y=(b=s.props.classNames)[f])===null||y===void 0?void 0:y.call(b,p)},s.getElementId=function(f){return"".concat(s.state.instancePrefix,"-").concat(f)},s.getComponents=function(){return Q_(s.props)},s.buildCategorizedOptions=function(){return P1(s.props,s.state.selectValue)},s.getCategorizedOptions=function(){return s.props.menuIsOpen?s.buildCategorizedOptions():[]},s.buildFocusableOptions=function(){return uw(s.buildCategorizedOptions())},s.getFocusableOptions=function(){return s.props.menuIsOpen?s.buildFocusableOptions():[]},s.ariaOnChange=function(f,p){s.setState({ariaSelection:ze({value:f},p)})},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 p=s.props.openMenuOnClick;s.state.isFocused?s.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&s.onMenuClose():p&&s.openMenu("first"):(p&&(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 p=s.props,y=p.isMulti,b=p.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&&Nf(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 p=f.touches,y=p&&p.item(0);y&&(s.initialTouchX=y.clientX,s.initialTouchY=y.clientY,s.userIsDragging=!1)},s.onTouchMove=function(f){var p=f.touches,y=p&&p.item(0);if(y){var b=Math.abs(y.clientX-s.initialTouchX),A=Math.abs(y.clientY-s.initialTouchY),w=5;s.userIsDragging=b>w||A>w}},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 p=s.props.inputValue,y=f.currentTarget.value;s.setState({inputIsHiddenAfterUpdate:!1}),s.onInputChange(y,{action:"input-change",prevInputValue:p}),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 p=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:p}),s.onMenuClose(),s.setState({focusedValue:null,isFocused:!1})},s.onOptionHover=function(f){if(!(s.blockOptionHover||s.state.focusedOption===f)){var p=s.getFocusableOptions(),y=p.indexOf(f);s.setState({focusedOption:f,focusedOptionId:y>-1?s.getFocusedOptionId(f):null})}},s.shouldHideSelectedOptions=function(){return pw(s.props)},s.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),s.focus()},s.onKeyDown=function(f){var p=s.props,y=p.isMulti,b=p.backspaceRemovesValue,A=p.escapeClearsValue,w=p.inputValue,T=p.isClearable,N=p.isDisabled,j=p.menuIsOpen,D=p.onKeyDown,x=p.tabSelectsValue,z=p.openMenuOnFocus,G=s.state,M=G.focusedOption,H=G.focusedValue,Z=G.selectValue;if(!N&&!(typeof D=="function"&&(D(f),f.defaultPrevented))){switch(s.blockOptionHover=!0,f.key){case"ArrowLeft":if(!y||w)return;s.focusValue("previous");break;case"ArrowRight":if(!y||w)return;s.focusValue("next");break;case"Delete":case"Backspace":if(w)return;if(H)s.removeValue(H);else{if(!b)return;y?s.popValue():T&&s.clearValue()}break;case"Tab":if(s.isComposing||f.shiftKey||!j||!x||!M||z&&s.isOptionSelected(M,Z))return;s.selectOption(M);break;case"Enter":if(f.keyCode===229)break;if(j){if(!M||s.isComposing)return;s.selectOption(M);break}return;case"Escape":j?(s.setState({inputIsHiddenAfterUpdate:!1}),s.onInputChange("",{action:"menu-close",prevInputValue:w}),s.onMenuClose()):T&&A&&s.clearValue();break;case" ":if(w)return;if(!j){s.openMenu("first");break}if(!M)return;s.selectOption(M);break;case"ArrowUp":j?s.focusOption("up"):s.openMenu("last");break;case"ArrowDown":j?s.focusOption("down"):s.openMenu("first");break;case"PageUp":if(!j)return;s.focusOption("pageup");break;case"PageDown":if(!j)return;s.focusOption("pagedown");break;case"Home":if(!j)return;s.focusOption("first");break;case"End":if(!j)return;s.focusOption("last");break;default:return}f.preventDefault()}},s.state.instancePrefix="react-select-"+(s.props.instanceId||++kU),s.state.selectValue=nf(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=q3(o,u[d])}return s}return vL(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&&Jb(this.menuListRef,this.focusedOptionRef),AU()&&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&&(Jb(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,p=this.buildFocusableOptions(),y=s==="first"?0:p.length-1;if(!this.props.isMulti){var b=p.indexOf(d[0]);b>-1&&(y=b)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:p[y],focusedOptionId:this.getFocusedOptionId(p[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 p=u.length-1,y=-1;if(u.length){switch(s){case"previous":f===0?y=0:f===-1?y=p:y=f-1;break;case"next":f>-1&&f<p&&(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,p=d.indexOf(u);u||(p=-1),s==="up"?f=p>0?p-1:d.length-1:s==="down"?f=(p+1)%d.length:s==="pageup"?(f=p-o,f<0&&(f=0)):s==="pagedown"?(f=p+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(z3):ze(ze({},z3),this.props.theme):z3})},{key:"getCommonProps",value:function(){var s=this.clearValue,o=this.cx,u=this.getStyles,d=this.getClassNames,f=this.getValue,p=this.selectOption,y=this.setValue,b=this.props,A=b.isMulti,w=b.isRtl,T=b.options,N=this.hasValue();return{clearValue:s,cx:o,getStyles:u,getClassNames:d,getValue:f,hasValue:N,isMulti:A,isRtl:w,options:T,selectOption:p,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 dw(this.props,s,o)}},{key:"isOptionSelected",value:function(s,o){return hw(this.props,s,o)}},{key:"filterOption",value:function(s,o){return mw(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,p=s.tabIndex,y=s.form,b=s.menuIsOpen,A=s.required,w=this.getComponents(),T=w.Input,N=this.state,j=N.inputIsHidden,D=N.ariaSelection,x=this.commonProps,z=d||this.getElementId("input"),G=ze(ze(ze({"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":A,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},b&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?D?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?g.createElement(T,Fe({},x,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:z,innerRef:this.getInputRef,isDisabled:o,isHidden:j,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:p,form:y,type:"text",value:f},G)):g.createElement(cU,Fe({id:z,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:tf,onFocus:this.onInputFocus,disabled:o,tabIndex:p,inputMode:"none",form:y,value:""},G))})},{key:"renderPlaceholderOrValue",value:function(){var s=this,o=this.getComponents(),u=o.MultiValue,d=o.MultiValueContainer,f=o.MultiValueLabel,p=o.MultiValueRemove,y=o.SingleValue,b=o.Placeholder,A=this.commonProps,w=this.props,T=w.controlShouldRenderValue,N=w.isDisabled,j=w.isMulti,D=w.inputValue,x=w.placeholder,z=this.state,G=z.selectValue,M=z.focusedValue,H=z.isFocused;if(!this.hasValue()||!T)return D?null:g.createElement(b,Fe({},A,{key:"placeholder",isDisabled:N,isFocused:H,innerProps:{id:this.getElementId("placeholder")}}),x);if(j)return G.map(function(E,O){var R=E===M,B="".concat(s.getOptionLabel(E),"-").concat(s.getOptionValue(E));return g.createElement(u,Fe({},A,{components:{Container:d,Label:f,Remove:p},isFocused:R,isDisabled:N,key:B,index:O,removeProps:{onClick:function(){return s.removeValue(E)},onTouchEnd:function(){return s.removeValue(E)},onMouseDown:function(U){U.preventDefault()}},data:E}),s.formatOptionLabel(E,"value"))});if(D)return null;var Z=G[0];return g.createElement(y,Fe({},A,{data:Z,isDisabled:N}),this.formatOptionLabel(Z,"value"))}},{key:"renderClearIndicator",value:function(){var s=this.getComponents(),o=s.ClearIndicator,u=this.commonProps,d=this.props,f=d.isDisabled,p=d.isLoading,y=this.state.isFocused;if(!this.isClearable()||!o||f||!this.hasValue()||p)return null;var b={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return g.createElement(o,Fe({},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,p=d.isLoading,y=this.state.isFocused;if(!o||!p)return null;var b={"aria-hidden":"true"};return g.createElement(o,Fe({},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,p=this.state.isFocused;return g.createElement(u,Fe({},d,{isDisabled:f,isFocused:p}))}},{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,p={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return g.createElement(o,Fe({},u,{innerProps:p,isDisabled:d,isFocused:f}))}},{key:"renderMenu",value:function(){var s=this,o=this.getComponents(),u=o.Group,d=o.GroupHeading,f=o.Menu,p=o.MenuList,y=o.MenuPortal,b=o.LoadingMessage,A=o.NoOptionsMessage,w=o.Option,T=this.commonProps,N=this.state.focusedOption,j=this.props,D=j.captureMenuScroll,x=j.inputValue,z=j.isLoading,G=j.loadingMessage,M=j.minMenuHeight,H=j.maxMenuHeight,Z=j.menuIsOpen,E=j.menuPlacement,O=j.menuPosition,R=j.menuPortalTarget,B=j.menuShouldBlockScroll,L=j.menuShouldScrollIntoView,U=j.noOptionsMessage,F=j.onMenuScrollToTop,P=j.onMenuScrollToBottom;if(!Z)return null;var I=function(le,ge){var he=le.type,pe=le.data,Ne=le.isDisabled,ke=le.isSelected,Pe=le.label,en=le.value,ct=N===pe,gt=Ne?void 0:function(){return s.onOptionHover(pe)},vt=Ne?void 0:function(){return s.selectOption(pe)},Qe="".concat(s.getElementId("option"),"-").concat(ge),we={id:Qe,onClick:vt,onMouseMove:gt,onMouseOver:gt,tabIndex:-1,role:"option","aria-selected":s.state.isAppleDevice?void 0:ke};return g.createElement(w,Fe({},T,{innerProps:we,data:pe,isDisabled:Ne,isSelected:ke,key:Qe,label:Pe,type:he,value:en,isFocused:ct,innerRef:ct?s.getFocusedOptionRef:void 0}),s.formatOptionLabel(le.data,"menu"))},V;if(this.hasOptions())V=this.getCategorizedOptions().map(function(re){if(re.type==="group"){var le=re.data,ge=re.options,he=re.index,pe="".concat(s.getElementId("group"),"-").concat(he),Ne="".concat(pe,"-heading");return g.createElement(u,Fe({},T,{key:pe,data:le,options:ge,Heading:d,headingProps:{id:Ne,data:re.data},label:s.formatGroupLabel(re.data)}),re.options.map(function(ke){return I(ke,"".concat(he,"-").concat(ke.index))}))}else if(re.type==="option")return I(re,"".concat(re.index))});else if(z){var k=G({inputValue:x});if(k===null)return null;V=g.createElement(b,T,k)}else{var J=U({inputValue:x});if(J===null)return null;V=g.createElement(A,T,J)}var q={minMenuHeight:M,maxMenuHeight:H,menuPlacement:E,menuPosition:O,menuShouldScrollIntoView:L},Y=g.createElement(Hk,Fe({},T,q),function(re){var le=re.ref,ge=re.placerProps,he=ge.placement,pe=ge.maxHeight;return g.createElement(f,Fe({},T,q,{innerRef:le,innerProps:{onMouseDown:s.onMenuMouseDown,onMouseMove:s.onMenuMouseMove},isLoading:z,placement:he}),g.createElement(pU,{captureEnabled:D,onTopArrive:F,onBottomArrive:P,lockEnabled:B},function(Ne){return g.createElement(p,Fe({},T,{innerRef:function(Pe){s.getMenuListRef(Pe),Ne(Pe)},innerProps:{role:"listbox","aria-multiselectable":T.isMulti,id:s.getElementId("listbox")},isLoading:z,maxHeight:pe,focusedOption:N}),V)}))});return R||O==="fixed"?g.createElement(y,Fe({},T,{appendTo:R,controlElement:this.controlRef,menuPlacement:E,menuPosition:O}),Y):Y}},{key:"renderFormField",value:function(){var s=this,o=this.props,u=o.delimiter,d=o.isDisabled,f=o.isMulti,p=o.name,y=o.required,b=this.state.selectValue;if(y&&!this.hasValue()&&!d)return g.createElement(yU,{name:p,onFocus:this.onValueInputFocus});if(!(!p||d))if(f)if(u){var A=b.map(function(N){return s.getOptionValue(N)}).join(u);return g.createElement("input",{name:p,type:"hidden",value:A})}else{var w=b.length>0?b.map(function(N,j){return g.createElement("input",{key:"i-".concat(j),name:p,type:"hidden",value:s.getOptionValue(N)})}):g.createElement("input",{name:p,type:"hidden",value:""});return g.createElement("div",null,w)}else{var T=b[0]?this.getOptionValue(b[0]):"";return g.createElement("input",{name:p,type:"hidden",value:T})}}},{key:"renderLiveRegion",value:function(){var s=this.commonProps,o=this.state,u=o.ariaSelection,d=o.focusedOption,f=o.focusedValue,p=o.isFocused,y=o.selectValue,b=this.getFocusableOptions();return g.createElement(aU,Fe({},s,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:d,focusedValue:f,isFocused:p,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,p=this.props,y=p.className,b=p.id,A=p.isDisabled,w=p.menuIsOpen,T=this.state.isFocused,N=this.commonProps=this.getCommonProps();return g.createElement(d,Fe({},N,{className:y,innerProps:{id:b,onKeyDown:this.onKeyDown},isDisabled:A,isFocused:T}),this.renderLiveRegion(),g.createElement(o,Fe({},N,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:A,isFocused:T,menuIsOpen:w}),g.createElement(f,Fe({},N,{isDisabled:A}),this.renderPlaceholderOrValue(),this.renderInput()),g.createElement(u,Fe({},N,{isDisabled:A}),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,p=o.ariaSelection,y=o.isFocused,b=o.prevWasFocused,A=o.instancePrefix,w=s.options,T=s.value,N=s.menuIsOpen,j=s.inputValue,D=s.isMulti,x=nf(T),z={};if(u&&(T!==u.value||w!==u.options||N!==u.menuIsOpen||j!==u.inputValue)){var G=N?DU(s,x):[],M=N?fS(P1(s,x),"".concat(A,"-option")):[],H=d?jU(o,x):null,Z=LU(o,G),E=q3(M,Z);z={selectValue:x,focusedOption:Z,focusedOptionId:E,focusableOptionsWithIds:M,focusedValue:H,clearFocusValueOnUpdate:!1}}var O=f!=null&&s!==u?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},R=p,B=y&&b;return y&&!B&&(R={value:Dc(D,x,x[0]||null),options:x,action:"initial-input-focus"},B=!b),p?.action==="initial-input-focus"&&(R=null),ze(ze(ze({},z),O),{},{prevProps:s,ariaSelection:R,prevWasFocused:B})}}]),a})(g.Component);e5.defaultProps=NU;var _U=g.forwardRef(function(t,e){var a=LA(t);return g.createElement(e5,Fe({ref:e},a))}),UU=_U,zU=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],hS=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},P3={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,a,i,s){return!(!e||a.some(function(o){return hS(e,o,s)})||i.some(function(o){return hS(e,o,s)}))},getNewOptionData:function(e,a){return{label:a,value:e,__isNew__:!0}}};function qU(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?P3.formatCreateLabel:o,d=t.isValidNewOption,f=d===void 0?P3.isValidNewOption:d,p=t.getNewOptionData,y=p===void 0?P3.getNewOptionData:p,b=t.onCreateOption,A=t.options,w=A===void 0?[]:A,T=t.onChange,N=ni(t,zU),j=N.getOptionValue,D=j===void 0?ow:j,x=N.getOptionLabel,z=x===void 0?lw:x,G=N.inputValue,M=N.isLoading,H=N.isMulti,Z=N.value,E=N.name,O=g.useMemo(function(){return f(G,nf(Z),w,{getOptionValue:D,getOptionLabel:z})?y(G,u(G)):void 0},[u,y,z,D,G,f,w,Z]),R=g.useMemo(function(){return(a||!M)&&O?s==="first"?[O].concat(Zl(w)):[].concat(Zl(w),[O]):w},[a,s,M,O,w]),B=g.useCallback(function(L,U){if(U.action!=="select-option")return T(L,U);var F=Array.isArray(L)?L:[L];if(F[F.length-1]===O){if(b)b(G);else{var P=y(G,G),I={action:"create-option",name:E,option:P};T(Dc(H,[].concat(Zl(nf(Z)),[P]),P),I)}return}T(L,U)},[y,G,H,E,O,b,T,Z]);return ze(ze({},N),{},{options:R,onChange:B})}var PU=g.forwardRef(function(t,e){var a=LA(t),i=qU(a);return g.createElement(e5,Fe({ref:e},i))}),HU=PU;function ka({onChange:t,name:e,value:a,options:i,placeholder:s="",disabled:o=!1,toolTip:u=null,searchable:d=!1,small:f=!1,clearable:p=!1,isMulti:y=!1,creatable:b=!1,onInputChange:A=null,required:w=!1,info:T=null,className:N=""}){return h.jsxs("div",{className:`select-field ${N}`,children:[e&&h.jsxs("label",{htmlFor:e,children:[e,w&&h.jsx("sup",{className:"required",children:"*"}),u&&h.jsx(oa,{tip:u})]}),b&&h.jsx(HU,{className:"input-select-inner creatable",classNamePrefix:"select-inner",value:a,isMulti:!0,placeholder:s,isSearchable:!0,onInputChange:A,isClearable:p,isDisabled:o,onChange:t,options:i}),!b&&h.jsx(UU,{className:`input-select-inner ${f?" small":""}`,classNamePrefix:"select-inner",value:a,placeholder:s,isDisabled:o,onChange:t,isMulti:y,options:i,isSearchable:d,isClearable:p}),T&&h.jsx("p",{className:"select-info",children:T})]})}const gw=(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}},BU=(t,e,a)=>{const i=t.find(s=>s.data.entityid===e);return gw(a,i)},FU=(t,e)=>t.map(a=>gw(e,a)),wi=(t,e)=>{const a=e.data.metaDataFields,i=t==="en"?a["OrganizationName:en"]:a["OrganizationName:nl"]||a["OrganizationName:en"];if(!oe(i))return i;const s=Fl(t,e);return oe(s)?"":s},Fl=(t,e)=>{const a=e.data.metaDataFields;return(t==="en"?a["name:en"]:a["name:nl"]||a["name:en"])||""},VU=(t,e)=>{const a=e.data.metaDataFields;return(t==="en"?a["description:en"]:a["description:nl"]||a["description:en"])||""},rs={OIDC10_RP:"oidc10_rp",SAML20_SP:"saml20_sp"},ja={OPEN:"OPEN",COMPLETE:"COMPLETE",PROD_READY:"PROD_READY"},zl={OPEN:"OPEN",COMPLETE:"COMPLETE"},Aa={TEST:"TEST",PROD:"PROD"},GU=[{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}],ZU=({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"})),t5=g.forwardRef(ZU),S1=10,WU=()=>{const t=qt(),[e,a]=g.useState(""),[i,s]=g.useState(!0),[o,u]=g.useState([]),[d,f]=g.useState([]),[p,y]=g.useState(null),[b,A]=g.useState([]),[w,T]=g.useState(F6());g.useEffect(()=>{_j().then(D=>{D=D.sort((M,H)=>wi(S.locale,M).toLowerCase().localeCompare(wi(S.locale,H).toLowerCase())),u(D),f(D);const x=D.reduce((M,H)=>{const Z=H.data.metaDataFields["coin:institution_type"];return oe(Z)||(M[Z]?M[Z]=M[Z]+1:M[Z]=1),M},{}),z={value:"all",label:`${S.t("institutions.all")} (${D.length})`};let G=[z];G=G.concat(Object.entries(x).sort((M,H)=>M[0].toLowerCase().localeCompare(H[0].toLowerCase())).map(M=>({value:M[0],label:`${M[0]} (${M[1]})`}))),y(z.value),A(G),s(!1)}).catch(()=>{t("/404")})},[]),g.useEffect(()=>{f(oe(e)&&p==="all"?o:o.filter(N))},[e,p]);const N=D=>{T(1);let x=!0;const z=D.data.metaDataFields["coin:institution_type"];p!=="all"&&(x=z===p);let G=!0;if(!oe(e)){const M=wi(S.locale,D).toLowerCase(),H=e.toLowerCase();G=M.includes(H)}return x&&G};if(i)return h.jsx(Pn,{});const j=Math.min(w,Math.ceil(d.length/S1));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:NA,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:D=>a(D.target.value),value:e,placeholder:S.t("institutions.searchPlaceHolder")}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Of,{})})]}),h.jsx(ka,{value:b.find(D=>D.value===p),placeholder:S.t("institutions.categoryPlaceHolder"),options:b,searchable:!1,onChange:D=>y(D.value)})]})})}),h.jsx("div",{className:"institutions-overview",children:h.jsx("ul",{children:d.slice((j-1)*S1,j*S1).map((D,x)=>{const z=D.data.metaDataFields,G=z["coin:institution_type"]||S.t("institutions.other");return h.jsx("li",{children:h.jsxs("div",{className:"identity-provider",children:[z["logo:0:url"]&&h.jsx("img",{src:z["logo:0:url"],alt:""}),!z["logo:0:url"]&&h.jsx(t5,{}),h.jsxs("div",{className:"idp-info",children:[h.jsx("span",{className:"idp-type",children:G}),h.jsx("span",{className:"idp-name",children:wi(S.locale,D)})]})]})},x)})})})]}),h.jsx(b6,{currentPage:w,onChange:D=>{T(D),B6(D)},total:d.length,pageCount:S1})]})]})},YU=()=>{const t=qt();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:NA,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(rt,{type:At.Primary,onClick:()=>t("/login-info"),txt:S.t("connect.connect")})})]})]})},vw="/assets/student2-BOTQhEjv.png",E1=10,QU=()=>{const t=qt(),[e,a]=g.useState(""),[i,s]=g.useState(!0),[o,u]=g.useState([]),[d,f]=g.useState([]),[p,y]=g.useState(null),[b,A]=g.useState([]),[w,T]=g.useState(null),[N,j]=g.useState([]),[D,x]=g.useState(F6());g.useEffect(()=>{Uj().then(M=>{M=M.sort((L,U)=>Fl(S.locale,L).toLowerCase().localeCompare(Fl(S.locale,U).toLowerCase())),u(M),f(M);const H=M.reduce((L,U)=>{const F=U.data.metaDataFields.application_tags;return oe(F)||F.forEach(P=>{L[P]?L[P]=L[P]+1:L[P]=1}),L},{}),Z={value:"all",label:`${S.t("applications.all")} (${M.length})`};let E=[Z];E=E.concat(Object.entries(H).sort((L,U)=>L[0].toLowerCase().localeCompare(U[0].toLowerCase())).map(L=>({value:L[0],label:`${L[0]} (${L[1]})`}))),y(Z.value),A(E);const O=M.reduce((L,U)=>{const F=U.data.metaDataFields["coin:interfed_source"];return oe(F)||(L[F]?L[F]=L[F]+1:L[F]=1),L},{}),R={value:"all",label:`${S.t("applications.allSources")} (${M.length})`};let B=[R];B=B.concat(Object.entries(O).sort((L,U)=>L[0].toLowerCase().localeCompare(U[0].toLowerCase())).map(L=>({value:L[0],label:`${L[0]} (${L[1]})`}))),T(R.value),j(B),s(!1)}).catch(()=>{t("/404")})},[]),g.useEffect(()=>{f(oe(e)&&p==="all"&&w==="all"?o:o.filter(z))},[e,w,p]);const z=M=>{x(1);let H=!0;const Z=M.data.metaDataFields.application_tags;p!=="all"&&(H=!oe(Z)&&Z.includes(p));let E=!0;const O=M.data.metaDataFields["coin:interfed_source"];w!=="all"&&(E=!oe(O)&&O===w);let R=!0;if(!oe(e)){const B=Fl(S.locale,M).toLowerCase(),L=wi(S.locale,M).toLowerCase(),U=e.toLowerCase();R=B.includes(U)||L.includes(U)}return H&&R&&E};if(i)return h.jsx(Pn,{});const G=Math.min(D,Math.ceil(d.length/E1));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:vw,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:M=>a(M.target.value),value:e,placeholder:S.t("applications.searchPlaceHolder")}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Of,{})})]}),h.jsx(ka,{value:N.find(M=>M.value===w),options:N,searchable:!1,onChange:M=>T(M.value)}),h.jsx(ka,{value:b.find(M=>M.value===p),options:b,searchable:!1,onChange:M=>y(M.value)})]})})}),h.jsx("div",{className:"applications-overview",children:h.jsx("ul",{children:d.slice((G-1)*E1,G*E1).map((M,H)=>{const Z=M.data.metaDataFields;return h.jsx("li",{onClick:()=>t(`/application-detail/${M.type}/${M._id}`),children:h.jsxs("div",{className:"service-provider",children:[Z["logo:0:url"]&&h.jsx("img",{src:Z["logo:0:url"],alt:""}),!Z["logo:0:url"]&&h.jsx(t5,{}),h.jsxs("div",{className:"sp-info",children:[h.jsx("span",{className:"sp-name",children:Fl(S.locale,M)}),h.jsx("span",{className:"sp-org",children:wi(S.locale,M)})]})]})},H)})})})]}),h.jsx(b6,{currentPage:D,onChange:M=>{x(M),B6(M)},total:d.length,pageCount:E1})]})]})},KU=({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"})),JU=g.forwardRef(KU),XU=({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"})),$U=g.forwardRef(XU),ez=({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"})),tz=g.forwardRef(ez),nz=()=>h.jsx("footer",{className:"sds--footer sds--footer--single-bar shared-menu",children:h.jsxs("div",{className:"sds--footer--inner",children:[h.jsx(IA,{}),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")})})})]})})]})}),az=[{label:"organizationMaintenance",items:[{name:"users",path:"/users/organizationId",relative:!0,Logo:tz}]},{label:"catalogue",items:[{name:"yourApps",path:"/organization/organizationId",relative:!0,Logo:$U},{name:"allApps",path:"dashboard",relative:!1,postPath:"",Logo:JU}]}],rz=()=>{const{menuItems:t,config:e,currentOrganization:a,activeMenuItem:i}=qe(f=>f),[s,o]=g.useState([]),u=qt();g.useEffect(()=>{const f=az.map(p=>({label:S.t(`navigation.${p.label}`),items:p.items.filter(y=>t.includes(y.name)).map(y=>({Logo:y.Logo,label:S.t(`navigation.${y.name}`),name:y.name,active:y.name===i,href:y.relative?y.path.replace("organizationId",a.id):`https://${y.path}.${e.baseUrl}/${y.postPath}`}))})).filter(p=>p.items.length>0);o(f)},[i,t,a]);const d=f=>{const p=f.href;p.startsWith("http")?window.location.href=p:u(p),qe.setState(()=>({activeMenuItem:f.name}))};return h.jsx(XO,{groups:s,logoLabel:"Access",setActiveMenuItem:d,title:a?.name||"",settingToolTip:S.t("organizations.tooltip"),children:h.jsx(nz,{})})},iz=({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"})),sz=g.forwardRef(iz);var bc={},H3,mS;function lz(){return mS||(mS=1,H3=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()}}),H3}var B3,pS;function oz(){if(pS)return B3;pS=1;var t=lz(),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,p,y,b,A,w=!1;u||(u={}),d=u.debug||!1;try{p=t(),y=document.createRange(),b=document.getSelection(),A=document.createElement("span"),A.textContent=o,A.ariaHidden="true",A.style.all="unset",A.style.position="fixed",A.style.top=0,A.style.clip="rect(0, 0, 0, 0)",A.style.whiteSpace="pre",A.style.webkitUserSelect="text",A.style.MozUserSelect="text",A.style.msUserSelect="text",A.style.userSelect="text",A.addEventListener("copy",function(N){if(N.stopPropagation(),u.format)if(N.preventDefault(),typeof N.clipboardData>"u"){d&&console.warn("unable to use e.clipboardData"),d&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var j=e[u.format]||e.default;window.clipboardData.setData(j,o)}else N.clipboardData.clearData(),N.clipboardData.setData(u.format,o);u.onCopy&&(N.preventDefault(),u.onCopy(N.clipboardData))}),document.body.appendChild(A),y.selectNodeContents(A),b.addRange(y);var T=document.execCommand("copy");if(!T)throw new Error("copy command was unsuccessful");w=!0}catch(N){d&&console.error("unable to copy using execCommand: ",N),d&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",o),u.onCopy&&u.onCopy(window.clipboardData),w=!0}catch(j){d&&console.error("unable to copy using clipboardData: ",j),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()),A&&document.body.removeChild(A),p()}return w}return B3=s,B3}var gS;function cz(){if(gS)return bc;gS=1;function t(M){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(M)}Object.defineProperty(bc,"__esModule",{value:!0}),bc.CopyToClipboard=void 0;var e=s(ff()),a=s(oz()),i=["text","onCopy","options","children"];function s(M){return M&&M.__esModule?M:{default:M}}function o(M,H){var Z=Object.keys(M);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(M);H&&(E=E.filter(function(O){return Object.getOwnPropertyDescriptor(M,O).enumerable})),Z.push.apply(Z,E)}return Z}function u(M){for(var H=1;H<arguments.length;H++){var Z=arguments[H]!=null?arguments[H]:{};H%2?o(Object(Z),!0).forEach(function(E){z(M,E,Z[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(Z)):o(Object(Z)).forEach(function(E){Object.defineProperty(M,E,Object.getOwnPropertyDescriptor(Z,E))})}return M}function d(M,H){if(M==null)return{};var Z=f(M,H),E,O;if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(M);for(O=0;O<R.length;O++)E=R[O],!(H.indexOf(E)>=0)&&Object.prototype.propertyIsEnumerable.call(M,E)&&(Z[E]=M[E])}return Z}function f(M,H){if(M==null)return{};var Z={},E=Object.keys(M),O,R;for(R=0;R<E.length;R++)O=E[R],!(H.indexOf(O)>=0)&&(Z[O]=M[O]);return Z}function p(M,H){if(!(M instanceof H))throw new TypeError("Cannot call a class as a function")}function y(M,H){for(var Z=0;Z<H.length;Z++){var E=H[Z];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(M,E.key,E)}}function b(M,H,Z){return H&&y(M.prototype,H),Object.defineProperty(M,"prototype",{writable:!1}),M}function A(M,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(H&&H.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),Object.defineProperty(M,"prototype",{writable:!1}),H&&w(M,H)}function w(M,H){return w=Object.setPrototypeOf||function(E,O){return E.__proto__=O,E},w(M,H)}function T(M){var H=D();return function(){var E=x(M),O;if(H){var R=x(this).constructor;O=Reflect.construct(E,arguments,R)}else O=E.apply(this,arguments);return N(this,O)}}function N(M,H){if(H&&(t(H)==="object"||typeof H=="function"))return H;if(H!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return j(M)}function j(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function D(){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(M){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(Z){return Z.__proto__||Object.getPrototypeOf(Z)},x(M)}function z(M,H,Z){return H in M?Object.defineProperty(M,H,{value:Z,enumerable:!0,configurable:!0,writable:!0}):M[H]=Z,M}var G=(function(M){A(Z,M);var H=T(Z);function Z(){var E;p(this,Z);for(var O=arguments.length,R=new Array(O),B=0;B<O;B++)R[B]=arguments[B];return E=H.call.apply(H,[this].concat(R)),z(j(E),"onClick",function(L){var U=E.props,F=U.text,P=U.onCopy,I=U.children,V=U.options,k=e.default.Children.only(I),J=(0,a.default)(F,V);P&&P(F,J),k&&k.props&&typeof k.props.onClick=="function"&&k.props.onClick(L)}),E}return b(Z,[{key:"render",value:function(){var O=this.props;O.text,O.onCopy,O.options;var R=O.children,B=d(O,i),L=e.default.Children.only(R);return e.default.cloneElement(L,u(u({},B),{},{onClick:this.onClick}))}}]),Z})(e.default.PureComponent);return bc.CopyToClipboard=G,z(G,"defaultProps",{onCopy:void 0,options:void 0}),bc}var F3,vS;function uz(){if(vS)return F3;vS=1;var t=cz(),e=t.CopyToClipboard;return e.CopyToClipboard=e,F3=e,F3}var fz=uz();function dz({txt:t}){const[e,a]=g.useState(!1);return h.jsxs(h.Fragment,{children:[h.jsx(fz.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(sz,{})})}),h.jsx("div",{className:`copied ${e?"":"hidden"}`,children:S.t("forms.copied")})]})}function on({onChange:t,name:e,value:a,placeholder:i="",disabled:s=!1,toolTip:o=null,onBlur:u=()=>!0,onEnter:d=null,multiline:f=!1,copyClipBoard:p=!1,link:y=null,externalLink:b=!1,large:A=!1,small:w=!1,noInput:T=!1,error:N=!1,cols:j=5,maxLength:D=255,onRef:x=null,displayLabel:z=!0,button:G=null,isInteger:M=!1,isUrl:H=!1,customClassName:Z="",required:E=!1,info:O=null}){const R=qt();i=s?"":i;let B="sds--text-field--input";N&&(B+="error ");const L=b&&!oe(a)&&X1.test(a),F=`input-field sds--text-field ${N?"sds--text-field--status-error":""} ${Z}`;return h.jsxs("div",{className:F,children:[e&&z&&h.jsxs("label",{htmlFor:e,children:[e,E&&h.jsx("sup",{className:"required",children:"*"}),o&&h.jsx(oa,{tip:o})]}),h.jsxs("div",{className:"inner-input-field",children:[!f&&!T&&h.jsx("input",{type:M?"number":H?"url":"text",disabled:s,value:a||"",onChange:t,onBlur:u,id:e,maxLength:D,max:M?D:null,min:0,ref:x,placeholder:i,className:`${B} sds--text-field--input`,onKeyDown:P=>{d&&P.keyCode===13&&d(P)}}),f&&!T&&h.jsx("textarea",{disabled:s,value:a||"",onChange:t,onBlur:u,id:e,className:`${B} sds--text-area ${A?"large":""} ${w?"small":""}`,onKeyDown:P=>{d&&P.keyCode===13&&d(P)},placeholder:i,cols:j}),G&&G,p&&h.jsx(dz,{txt:a,right:!0,input:!0}),y&&h.jsx("div",{className:"input-field-link",onClick:()=>R(y),children:h.jsx(Pc,{})}),L&&h.jsx("div",{className:"input-field-link",children:h.jsx("a",{href:a,rel:"noopener noreferrer",target:"_blank",children:h.jsx(Pc,{})})}),T&&h.jsx("span",{className:"no-input",children:a})]}),O&&h.jsx("span",{className:"info",children:O})]})}const hz=({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"}))),mz=g.forwardRef(hz),pz=({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)"})),gz=g.forwardRef(pz),vz=({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)"})),n5=g.forwardRef(vz),yz=({title:t,info:e,children:a,disabledToggle:i,checkRequired:s,name:o,checkValue:u})=>{const[d,f]=g.useState(!1),p=()=>{i||f(!d),s({target:{checked:!u}})};return h.jsxs("div",{className:"collapse-field",children:[h.jsxs("div",{className:"collapse-field-inner",children:[s&&h.jsx(IE,{name:o,value:u,onChange:y=>s(y)}),h.jsxs("div",{className:`collapse-field-switch ${i?"disabled":""}`,onClick:p,children:[h.jsx("span",{className:`${d?"collapsed":"open"}`,children:t}),i?null:d?h.jsx(gz,{}):h.jsx(n5,{})]})]}),d&&e&&h.jsx("p",{className:"collapsed",dangerouslySetInnerHTML:{__html:e}}),d&&!e&&h.jsx("div",{className:"collapsed",children:a})]},o)},bz=()=>{const{applicationId:t}=Xr(),e=qt(),{currentOrganization:a,setFlash:i}=qe(w=>w),[s,o]=g.useState(!0),[u,d]=g.useState(!0),[f,p]=g.useState({type:"APP",target:"SURF"}),[y,b]=g.useState({});if(g.useEffect(()=>{const w=t==="new";o(w);const T={},N=S.translations[S.locale].application.checks;Object.keys(N).forEach(j=>T[j]=!1),b(T),qe.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")}]}),w?d(!1):zp(t).then(j=>{p(j),d(!1)})},[t]),u)return h.jsx(Pn,{});const A=()=>{const w=s?gj:V6;f.organization={id:a.id},w(f).then(T=>{i(S.t("application.flash",{name:T.name})),e(`/connection/${T.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(on,{name:S.t("application.name"),value:f.name||"",required:!0,onChange:w=>p({...f,name:w.target.value}),info:S.t("application.nameInfo")}),h.jsx(Oc,{label:S.t("application.type"),name:"type",value:f.type,onChange:w=>p({...f,type:w.target.id.replace("type_","").toUpperCase()}),isMultiple:!0,labels:["APP","CONTENT"],labelResolver:w=>S.t(`application.${w.toLowerCase()}`),orientation:_c.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(mz,{})}),h.jsxs("div",{children:[h.jsx("span",{children:S.t("application.contentInfoPre")}),h.jsx(oa,{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(w=>h.jsx(yz,{title:S.t(`application.checks.${w}`),name:w,disabledToggle:!0,checkRequired:T=>b({...y,[w]:T.target.checked}),checkValue:y[w],children:h.jsx("span",{children:S.t(`application.checksInfo.${w}`)})},w))]}),h.jsxs("section",{className:"actions",children:[h.jsx(rt,{onClick:()=>e(-1),type:At.Secondary,txt:S.t("forms.cancel")}),h.jsx(rt,{onClick:()=>A(),txt:S.t("forms.submit"),disabled:s&&Object.values(y).some(w=>!w)||oe(f.name)})]})]})})},Sz=({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"})),H1=g.forwardRef(Sz),Ez=({tabs:t,application:e,currentTab:a,setTab:i,setLoading:s})=>{const[o,u]=g.useState(!1),[d,f]=g.useState({}),p=qt(),y=(z,G)=>{xa(z),G.disabled||i(G.name)},b=(z,G)=>{xa(z),p(G)},A=(z,G)=>{xa(z),G?f({open:!0,cancel:()=>f({open:!1}),action:()=>A(null,!1),question:S.t("application.deleteConfirmation",{name:e.name}),okButton:S.t("forms.delete")}):(s(!0),pj(e.id).then(()=>{f({}),p("/home"),s(!1)}))},w=()=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:z=>b(z,`/application/${e.id}`),children:[h.jsx(H1,{}),h.jsx("a",{href:"/edit",onClick:z=>b(z,`/application/${e.id}`),children:S.t("forms.edit")})]}),h.jsxs("li",{onClick:z=>A(z,!0),children:[h.jsx($c,{}),h.jsx("a",{href:"/delete",onClick:z=>A(z,!0),children:S.t("forms.delete")})]})]})}),{open:T,cancel:N,action:j,question:D,okButton:x}=d;return h.jsxs("div",{className:"application-connection-header-container",children:[T&&h.jsx(Ni,{confirm:j,cancel:N,confirmationHeader:S.t("forms.delete"),confirmationTxt:x,question:D}),h.jsxs("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>u(!1),475),children:[h.jsx("h1",{children:e.name}),h.jsxs("span",{className:`menu ${o?"drop-down":""}`,onClick:()=>u(!o),children:[h.jsx(uo,{}),o&&w()]})]}),h.jsx("div",{className:"tabs-menu",children:t.map(z=>h.jsx("a",{href:`/${z.name}`,className:z.name===a?"active":z.disabled?"disabled":"",onClick:G=>y(G,z),children:S.t(`connection.${z.name}`)},z.name))})]})},Az=({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"})),wz=g.forwardRef(Az),xz=({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"})),yw=g.forwardRef(xz),Cz=({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"})))),Tz=g.forwardRef(Cz),Oz=({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"})),bw=g.forwardRef(Oz),Rz=({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"})))),Iz=g.forwardRef(Rz),La={ACTIVE:"ACTIVE",PENDING:"PENDING",ALERT:"ALERT",TEAM:"TEAM"},Sc=({status:t,info:e,action:a,disabled:i})=>{const s=()=>{switch(t){case La.ACTIVE:return h.jsx(bw,{});case La.PENDING:return h.jsx(yw,{});case La.ALERT:return h.jsx(Iz,{});case La.TEAM:return h.jsx(Tz,{})}};return h.jsxs("div",{className:`status-link ${i?"disabled":"enabled"}`,onClick:()=>!i&&a(),children:[s(),h.jsx("span",{className:"info",children:e}),h.jsx(wz,{})]})},Mz=({user:t,application:e,setTab:a,initConnection:i,testConnectionComplete:s,productionConnectionComplete:o,appInformationComplete:u,productionConnectionNeedsActivation:d})=>{const[f,p]=g.useState(!1),y=()=>{if(f)return null;if(oe(e.connections))return h.jsx(Rr,{close:()=>p(!0),alertType:Xn.Info,asChild:!0,message:S.t("connection.welcome",{user:t.name,name:e.name})});if(s&&!o)return h.jsx(Rr,{close:()=>p(!0),alertType:Xn.Info,asChild:!0,message:S.t("connection.productionConnectionHint")});if(o&&!u)return h.jsx(Rr,{close:()=>p(!0),alertType:Xn.Warning,asChild:!0,message:S.t("connection.applicationInformationHint")});if(o&&d)return h.jsx(Rr,{close:()=>p(!0),alertType:Xn.Warning,asChild:!0,message:S.t("connection.productionActivationHint"),action:()=>a("prod"),actionLabel:S.t("connection.productionActivationAction")})};return h.jsxs("div",{className:"application-connection-form",children:[y(),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(Sc,{info:S.t("connection.test.connections"),action:()=>i(Aa.TEST),status:s?La.ACTIVE:La.PENDING})]}),h.jsxs("section",{className:"sub-part",children:[h.jsx("h2",{children:S.t("connection.team.name")}),h.jsx(Sc,{info:S.t("connection.team.members"),action:()=>a("appteam"),status:La.TEAM})]}),h.jsxs("section",{className:"sub-part",children:[h.jsx("h2",{children:S.t("connection.production.name")}),h.jsx(Sc,{info:S.t("connection.production.connections"),action:()=>i(Aa.PROD),disabled:!s,status:o?d?La.ALERT:La.ACTIVE:La.PENDING}),h.jsx(Sc,{info:S.t("connection.production.catalogue"),action:()=>a("application"),disabled:!s,status:u?La.ACTIVE:La.PENDING}),h.jsx(Sc,{info:S.t("connection.production.contract"),action:()=>a("contract"),disabled:!u,status:e.signedContract?La.ACTIVE:La.PENDING}),h.jsx("p",{className:`${o} ? "":"pending`,children:S.t("connection.production.disclaimer")})]})]})]})},Nz=({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"})),Sw=g.forwardRef(Nz),Ew=({pending:t,info:e,action:a,active:i,disabled:s,hideIcon:o=!1})=>{const u=t?h.jsx(yw,{}):h.jsx(bw,{});return h.jsxs("div",{className:`status-menu-item ${i&&"active"} ${s&&"disabled"}`,onClick:()=>!s&&a(),children:[h.jsx("span",{className:"info",children:e}),!o&&u]})};function Dz({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(rt,{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:Aw,setPrototypeOf:yS,isFrozen:jz,getPrototypeOf:Lz,getOwnPropertyDescriptor:kz}=Object;let{freeze:Ca,seal:mr,create:ww}=Object,{apply:Kp,construct:Jp}=typeof Reflect<"u"&&Reflect;Ca||(Ca=function(e){return e});mr||(mr=function(e){return e});Kp||(Kp=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)});Jp||(Jp=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 A1=Ta(Array.prototype.forEach),_z=Ta(Array.prototype.lastIndexOf),bS=Ta(Array.prototype.pop),Ec=Ta(Array.prototype.push),Uz=Ta(Array.prototype.splice),B1=Ta(String.prototype.toLowerCase),V3=Ta(String.prototype.toString),G3=Ta(String.prototype.match),Ac=Ta(String.prototype.replace),zz=Ta(String.prototype.indexOf),qz=Ta(String.prototype.trim),Or=Ta(Object.prototype.hasOwnProperty),Ea=Ta(RegExp.prototype.test),wc=Pz(TypeError);function Ta(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 Kp(t,e,i)}}function Pz(t){return function(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return Jp(t,a)}}function Et(t,e){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:B1;yS&&yS(t,null);let i=e.length;for(;i--;){let s=e[i];if(typeof s=="string"){const o=a(s);o!==s&&(jz(e)||(e[i]=o),s=o)}t[s]=!0}return t}function Hz(t){for(let e=0;e<t.length;e++)Or(t,e)||(t[e]=null);return t}function Ai(t){const e=ww(null);for(const[a,i]of Aw(t))Or(t,a)&&(Array.isArray(i)?e[a]=Hz(i):i&&typeof i=="object"&&i.constructor===Object?e[a]=Ai(i):e[a]=i);return e}function xc(t,e){for(;t!==null;){const i=kz(t,e);if(i){if(i.get)return Ta(i.get);if(typeof i.value=="function")return Ta(i.value)}t=Lz(t)}function a(){return null}return a}const SS=Ca(["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"]),Z3=Ca(["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"]),W3=Ca(["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"]),Bz=Ca(["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"]),Y3=Ca(["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"]),Fz=Ca(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ES=Ca(["#text"]),AS=Ca(["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"]),Q3=Ca(["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"]),wS=Ca(["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"]),w1=Ca(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vz=mr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Gz=mr(/<%[\w\W]*|[\w\W]*%>/gm),Zz=mr(/\$\{[\w\W]*/gm),Wz=mr(/^data-[\-\w.\u00B7-\uFFFF]+$/),Yz=mr(/^aria-[\-\w]+$/),xw=mr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qz=mr(/^(?:\w+script|data):/i),Kz=mr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Cw=mr(/^html$/i),Jz=mr(/^[a-z][.\w]*(-[.\w]+)+$/i);var xS=Object.freeze({__proto__:null,ARIA_ATTR:Yz,ATTR_WHITESPACE:Kz,CUSTOM_ELEMENT:Jz,DATA_ATTR:Wz,DOCTYPE_NAME:Cw,ERB_EXPR:Gz,IS_ALLOWED_URI:xw,IS_SCRIPT_OR_DATA:Qz,MUSTACHE_EXPR:Vz,TMPLIT_EXPR:Zz});const Cc={element:1,text:3,progressingInstruction:7,comment:8,document:9},Xz=function(){return typeof window>"u"?null:window},$z=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}},CS=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Tw(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xz();const e=Te=>Tw(Te);if(e.version="3.2.7",e.removed=[],!t||!t.document||t.document.nodeType!==Cc.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:p,NamedNodeMap:y=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:b,DOMParser:A,trustedTypes:w}=t,T=f.prototype,N=xc(T,"cloneNode"),j=xc(T,"remove"),D=xc(T,"nextSibling"),x=xc(T,"childNodes"),z=xc(T,"parentNode");if(typeof u=="function"){const Te=a.createElement("template");Te.content&&Te.content.ownerDocument&&(a=Te.content.ownerDocument)}let G,M="";const{implementation:H,createNodeIterator:Z,createDocumentFragment:E,getElementsByTagName:O}=a,{importNode:R}=i;let B=CS();e.isSupported=typeof Aw=="function"&&typeof z=="function"&&H&&H.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:L,ERB_EXPR:U,TMPLIT_EXPR:F,DATA_ATTR:P,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:V,ATTR_WHITESPACE:k,CUSTOM_ELEMENT:J}=xS;let{IS_ALLOWED_URI:q}=xS,Y=null;const re=Et({},[...SS,...Z3,...W3,...Y3,...ES]);let le=null;const ge=Et({},[...AS,...Q3,...wS,...w1]);let he=Object.seal(ww(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}})),pe=null,Ne=null,ke=!0,Pe=!0,en=!1,ct=!0,gt=!1,vt=!0,Qe=!1,we=!1,He=!1,ht=!1,ut=!1,Ze=!1,et=!0,gn=!1;const We="user-content-";let Ae=!0,Ve=!1,_e={},Xe=null;const st=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 tn=null;const Pt=Et({},["audio","video","img","source","image","track"]);let $n=null;const ua=Et({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ea="http://www.w3.org/1998/Math/MathML",xn="http://www.w3.org/2000/svg",Ht="http://www.w3.org/1999/xhtml";let lt=Ht,Cn=!1,Tn=null;const Oa=Et({},[ea,xn,Ht],V3);let ta=Et({},["mi","mo","mn","ms","mtext"]),Bn=Et({},["annotation-xml"]);const Nn=Et({},["title","style","font","a","script"]);let wt=null;const na=["application/xhtml+xml","text/html"],ya="text/html";let tt=null,Jt=null;const je=a.createElement("form"),nt=function(Q){return Q instanceof RegExp||Q instanceof Function},yt=function(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Jt&&Jt===Q)){if((!Q||typeof Q!="object")&&(Q={}),Q=Ai(Q),wt=na.indexOf(Q.PARSER_MEDIA_TYPE)===-1?ya:Q.PARSER_MEDIA_TYPE,tt=wt==="application/xhtml+xml"?V3:B1,Y=Or(Q,"ALLOWED_TAGS")?Et({},Q.ALLOWED_TAGS,tt):re,le=Or(Q,"ALLOWED_ATTR")?Et({},Q.ALLOWED_ATTR,tt):ge,Tn=Or(Q,"ALLOWED_NAMESPACES")?Et({},Q.ALLOWED_NAMESPACES,V3):Oa,$n=Or(Q,"ADD_URI_SAFE_ATTR")?Et(Ai(ua),Q.ADD_URI_SAFE_ATTR,tt):ua,tn=Or(Q,"ADD_DATA_URI_TAGS")?Et(Ai(Pt),Q.ADD_DATA_URI_TAGS,tt):Pt,Xe=Or(Q,"FORBID_CONTENTS")?Et({},Q.FORBID_CONTENTS,tt):st,pe=Or(Q,"FORBID_TAGS")?Et({},Q.FORBID_TAGS,tt):Ai({}),Ne=Or(Q,"FORBID_ATTR")?Et({},Q.FORBID_ATTR,tt):Ai({}),_e=Or(Q,"USE_PROFILES")?Q.USE_PROFILES:!1,ke=Q.ALLOW_ARIA_ATTR!==!1,Pe=Q.ALLOW_DATA_ATTR!==!1,en=Q.ALLOW_UNKNOWN_PROTOCOLS||!1,ct=Q.ALLOW_SELF_CLOSE_IN_ATTR!==!1,gt=Q.SAFE_FOR_TEMPLATES||!1,vt=Q.SAFE_FOR_XML!==!1,Qe=Q.WHOLE_DOCUMENT||!1,ht=Q.RETURN_DOM||!1,ut=Q.RETURN_DOM_FRAGMENT||!1,Ze=Q.RETURN_TRUSTED_TYPE||!1,He=Q.FORCE_BODY||!1,et=Q.SANITIZE_DOM!==!1,gn=Q.SANITIZE_NAMED_PROPS||!1,Ae=Q.KEEP_CONTENT!==!1,Ve=Q.IN_PLACE||!1,q=Q.ALLOWED_URI_REGEXP||xw,lt=Q.NAMESPACE||Ht,ta=Q.MATHML_TEXT_INTEGRATION_POINTS||ta,Bn=Q.HTML_INTEGRATION_POINTS||Bn,he=Q.CUSTOM_ELEMENT_HANDLING||{},Q.CUSTOM_ELEMENT_HANDLING&&nt(Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(he.tagNameCheck=Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&nt(Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(he.attributeNameCheck=Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&typeof Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(he.allowCustomizedBuiltInElements=Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),gt&&(Pe=!1),ut&&(ht=!0),_e&&(Y=Et({},ES),le=[],_e.html===!0&&(Et(Y,SS),Et(le,AS)),_e.svg===!0&&(Et(Y,Z3),Et(le,Q3),Et(le,w1)),_e.svgFilters===!0&&(Et(Y,W3),Et(le,Q3),Et(le,w1)),_e.mathMl===!0&&(Et(Y,Y3),Et(le,wS),Et(le,w1))),Q.ADD_TAGS&&(Y===re&&(Y=Ai(Y)),Et(Y,Q.ADD_TAGS,tt)),Q.ADD_ATTR&&(le===ge&&(le=Ai(le)),Et(le,Q.ADD_ATTR,tt)),Q.ADD_URI_SAFE_ATTR&&Et($n,Q.ADD_URI_SAFE_ATTR,tt),Q.FORBID_CONTENTS&&(Xe===st&&(Xe=Ai(Xe)),Et(Xe,Q.FORBID_CONTENTS,tt)),Ae&&(Y["#text"]=!0),Qe&&Et(Y,["html","head","body"]),Y.table&&(Et(Y,["tbody"]),delete pe.tbody),Q.TRUSTED_TYPES_POLICY){if(typeof Q.TRUSTED_TYPES_POLICY.createHTML!="function")throw wc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Q.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw wc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');G=Q.TRUSTED_TYPES_POLICY,M=G.createHTML("")}else G===void 0&&(G=$z(w,s)),G!==null&&typeof M=="string"&&(M=G.createHTML(""));Ca&&Ca(Q),Jt=Q}},sn=Et({},[...Z3,...W3,...Bz]),ye=Et({},[...Y3,...Fz]),xe=function(Q){let me=z(Q);(!me||!me.tagName)&&(me={namespaceURI:lt,tagName:"template"});const Se=B1(Q.tagName),De=B1(me.tagName);return Tn[Q.namespaceURI]?Q.namespaceURI===xn?me.namespaceURI===Ht?Se==="svg":me.namespaceURI===ea?Se==="svg"&&(De==="annotation-xml"||ta[De]):!!sn[Se]:Q.namespaceURI===ea?me.namespaceURI===Ht?Se==="math":me.namespaceURI===xn?Se==="math"&&Bn[De]:!!ye[Se]:Q.namespaceURI===Ht?me.namespaceURI===xn&&!Bn[De]||me.namespaceURI===ea&&!ta[De]?!1:!ye[Se]&&(Nn[Se]||!sn[Se]):!!(wt==="application/xhtml+xml"&&Tn[Q.namespaceURI]):!1},Ie=function(Q){Ec(e.removed,{element:Q});try{z(Q).removeChild(Q)}catch{j(Q)}},Ct=function(Q,me){try{Ec(e.removed,{attribute:me.getAttributeNode(Q),from:me})}catch{Ec(e.removed,{attribute:null,from:me})}if(me.removeAttribute(Q),Q==="is")if(ht||ut)try{Ie(me)}catch{}else try{me.setAttribute(Q,"")}catch{}},ln=function(Q){let me=null,Se=null;if(He)Q="<remove></remove>"+Q;else{const Ot=G3(Q,/^[\r\n\t ]+/);Se=Ot&&Ot[0]}wt==="application/xhtml+xml"&&lt===Ht&&(Q='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Q+"</body></html>");const De=G?G.createHTML(Q):Q;if(lt===Ht)try{me=new A().parseFromString(De,wt)}catch{}if(!me||!me.documentElement){me=H.createDocument(lt,"template",null);try{me.documentElement.innerHTML=Cn?M:De}catch{}}const mt=me.body||me.documentElement;return Q&&Se&&mt.insertBefore(a.createTextNode(Se),mt.childNodes[0]||null),lt===Ht?O.call(me,Qe?"html":"body")[0]:Qe?me.documentElement:mt},Dn=function(Q){return Z.call(Q.ownerDocument||Q,Q,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},On=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")},Vt=function(Q){return typeof d=="function"&&Q instanceof d};function Ke(Te,Q,me){A1(Te,Se=>{Se.call(e,Q,me,Jt)})}const ft=function(Q){let me=null;if(Ke(B.beforeSanitizeElements,Q,null),On(Q))return Ie(Q),!0;const Se=tt(Q.nodeName);if(Ke(B.uponSanitizeElement,Q,{tagName:Se,allowedTags:Y}),vt&&Q.hasChildNodes()&&!Vt(Q.firstElementChild)&&Ea(/<[/\w!]/g,Q.innerHTML)&&Ea(/<[/\w!]/g,Q.textContent)||Q.nodeType===Cc.progressingInstruction||vt&&Q.nodeType===Cc.comment&&Ea(/<[/\w]/g,Q.data))return Ie(Q),!0;if(!Y[Se]||pe[Se]){if(!pe[Se]&&ba(Se)&&(he.tagNameCheck instanceof RegExp&&Ea(he.tagNameCheck,Se)||he.tagNameCheck instanceof Function&&he.tagNameCheck(Se)))return!1;if(Ae&&!Xe[Se]){const De=z(Q)||Q.parentNode,mt=x(Q)||Q.childNodes;if(mt&&De){const Ot=mt.length;for(let Mt=Ot-1;Mt>=0;--Mt){const vn=N(mt[Mt],!0);vn.__removalCount=(Q.__removalCount||0)+1,De.insertBefore(vn,D(Q))}}}return Ie(Q),!0}return Q instanceof f&&!xe(Q)||(Se==="noscript"||Se==="noembed"||Se==="noframes")&&Ea(/<\/no(script|embed|frames)/i,Q.innerHTML)?(Ie(Q),!0):(gt&&Q.nodeType===Cc.text&&(me=Q.textContent,A1([L,U,F],De=>{me=Ac(me,De," ")}),Q.textContent!==me&&(Ec(e.removed,{element:Q.cloneNode()}),Q.textContent=me)),Ke(B.afterSanitizeElements,Q,null),!1)},xt=function(Q,me,Se){if(et&&(me==="id"||me==="name")&&(Se in a||Se in je))return!1;if(!(Pe&&!Ne[me]&&Ea(P,me))){if(!(ke&&Ea(I,me))){if(!le[me]||Ne[me]){if(!(ba(Q)&&(he.tagNameCheck instanceof RegExp&&Ea(he.tagNameCheck,Q)||he.tagNameCheck instanceof Function&&he.tagNameCheck(Q))&&(he.attributeNameCheck instanceof RegExp&&Ea(he.attributeNameCheck,me)||he.attributeNameCheck instanceof Function&&he.attributeNameCheck(me,Q))||me==="is"&&he.allowCustomizedBuiltInElements&&(he.tagNameCheck instanceof RegExp&&Ea(he.tagNameCheck,Se)||he.tagNameCheck instanceof Function&&he.tagNameCheck(Se))))return!1}else if(!$n[me]){if(!Ea(q,Ac(Se,k,""))){if(!((me==="src"||me==="xlink:href"||me==="href")&&Q!=="script"&&zz(Se,"data:")===0&&tn[Q])){if(!(en&&!Ea(V,Ac(Se,k,"")))){if(Se)return!1}}}}}}return!0},ba=function(Q){return Q!=="annotation-xml"&&G3(Q,J)},Tt=function(Q){Ke(B.beforeSanitizeAttributes,Q,null);const{attributes:me}=Q;if(!me||On(Q))return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:le,forceKeepAttr:void 0};let De=me.length;for(;De--;){const mt=me[De],{name:Ot,namespaceURI:Mt,value:vn}=mt,Rn=tt(Ot),ee=vn;let ce=Ot==="value"?ee:qz(ee);if(Se.attrName=Rn,Se.attrValue=ce,Se.keepAttr=!0,Se.forceKeepAttr=void 0,Ke(B.uponSanitizeAttribute,Q,Se),ce=Se.attrValue,gn&&(Rn==="id"||Rn==="name")&&(Ct(Ot,Q),ce=We+ce),vt&&Ea(/((--!?|])>)|<\/(style|title|textarea)/i,ce)){Ct(Ot,Q);continue}if(Rn==="attributename"&&G3(ce,"href")){Ct(Ot,Q);continue}if(Se.forceKeepAttr)continue;if(!Se.keepAttr){Ct(Ot,Q);continue}if(!ct&&Ea(/\/>/i,ce)){Ct(Ot,Q);continue}gt&&A1([L,U,F],Oe=>{ce=Ac(ce,Oe," ")});const ve=tt(Q.nodeName);if(!xt(ve,Rn,ce)){Ct(Ot,Q);continue}if(G&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Mt)switch(w.getAttributeType(ve,Rn)){case"TrustedHTML":{ce=G.createHTML(ce);break}case"TrustedScriptURL":{ce=G.createScriptURL(ce);break}}if(ce!==ee)try{Mt?Q.setAttributeNS(Mt,Ot,ce):Q.setAttribute(Ot,ce),On(Q)?Ie(Q):bS(e.removed)}catch{Ct(Ot,Q)}}Ke(B.afterSanitizeAttributes,Q,null)},jt=function Te(Q){let me=null;const Se=Dn(Q);for(Ke(B.beforeSanitizeShadowDOM,Q,null);me=Se.nextNode();)Ke(B.uponSanitizeShadowNode,me,null),ft(me),Tt(me),me.content instanceof o&&Te(me.content);Ke(B.afterSanitizeShadowDOM,Q,null)};return e.sanitize=function(Te){let Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=null,Se=null,De=null,mt=null;if(Cn=!Te,Cn&&(Te="<!-->"),typeof Te!="string"&&!Vt(Te))if(typeof Te.toString=="function"){if(Te=Te.toString(),typeof Te!="string")throw wc("dirty is not a string, aborting")}else throw wc("toString is not a function");if(!e.isSupported)return Te;if(we||yt(Q),e.removed=[],typeof Te=="string"&&(Ve=!1),Ve){if(Te.nodeName){const vn=tt(Te.nodeName);if(!Y[vn]||pe[vn])throw wc("root node is forbidden and cannot be sanitized in-place")}}else if(Te instanceof d)me=ln("<!---->"),Se=me.ownerDocument.importNode(Te,!0),Se.nodeType===Cc.element&&Se.nodeName==="BODY"||Se.nodeName==="HTML"?me=Se:me.appendChild(Se);else{if(!ht&&!gt&&!Qe&&Te.indexOf("<")===-1)return G&&Ze?G.createHTML(Te):Te;if(me=ln(Te),!me)return ht?null:Ze?M:""}me&&He&&Ie(me.firstChild);const Ot=Dn(Ve?Te:me);for(;De=Ot.nextNode();)ft(De),Tt(De),De.content instanceof o&&jt(De.content);if(Ve)return Te;if(ht){if(ut)for(mt=E.call(me.ownerDocument);me.firstChild;)mt.appendChild(me.firstChild);else mt=me;return(le.shadowroot||le.shadowrootmode)&&(mt=R.call(i,mt,!0)),mt}let Mt=Qe?me.outerHTML:me.innerHTML;return Qe&&Y["!doctype"]&&me.ownerDocument&&me.ownerDocument.doctype&&me.ownerDocument.doctype.name&&Ea(Cw,me.ownerDocument.doctype.name)&&(Mt="<!DOCTYPE "+me.ownerDocument.doctype.name+`>
`+Mt),gt&&A1([L,U,F],vn=>{Mt=Ac(Mt,vn," ")}),G&&Ze?G.createHTML(Mt):Mt},e.setConfig=function(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yt(Te),we=!0},e.clearConfig=function(){Jt=null,we=!1},e.isValidAttribute=function(Te,Q,me){Jt||yt({});const Se=tt(Te),De=tt(Q);return xt(Se,De,me)},e.addHook=function(Te,Q){typeof Q=="function"&&Ec(B[Te],Q)},e.removeHook=function(Te,Q){if(Q!==void 0){const me=_z(B[Te],Q);return me===-1?void 0:Uz(B[Te],me,1)[0]}return bS(B[Te])},e.removeHooks=function(Te){B[Te]=[]},e.removeAllHooks=function(){B=CS()},e}var ga=Tw();const eq=({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"})))))))))),TS=g.forwardRef(eq);function dn({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(TS,{}),t]}):h.jsxs("span",{className:s,children:[h.jsx(TS,{}),h.jsx("span",{className:"error-message",dangerouslySetInnerHTML:{__html:ga.sanitize(t,{ADD_ATTR:["target"]})}})]})}class Qs extends Error{}class tq extends Qs{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class nq extends Qs{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class aq extends Qs{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Vl extends Qs{}class Ow extends Qs{constructor(e){super(`Invalid unit ${e}`)}}class pa extends Qs{}class as extends Qs{constructor(){super("Zone is an abstract class")}}const Ee="numeric",jr="short",Ka="long",sf={year:Ee,month:Ee,day:Ee},Rw={year:Ee,month:jr,day:Ee},rq={year:Ee,month:jr,day:Ee,weekday:jr},Iw={year:Ee,month:Ka,day:Ee},Mw={year:Ee,month:Ka,day:Ee,weekday:Ka},Nw={hour:Ee,minute:Ee},Dw={hour:Ee,minute:Ee,second:Ee},jw={hour:Ee,minute:Ee,second:Ee,timeZoneName:jr},Lw={hour:Ee,minute:Ee,second:Ee,timeZoneName:Ka},kw={hour:Ee,minute:Ee,hourCycle:"h23"},_w={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23"},Uw={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23",timeZoneName:jr},zw={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23",timeZoneName:Ka},qw={year:Ee,month:Ee,day:Ee,hour:Ee,minute:Ee},Pw={year:Ee,month:Ee,day:Ee,hour:Ee,minute:Ee,second:Ee},Hw={year:Ee,month:jr,day:Ee,hour:Ee,minute:Ee},Bw={year:Ee,month:jr,day:Ee,hour:Ee,minute:Ee,second:Ee},iq={year:Ee,month:jr,day:Ee,weekday:jr,hour:Ee,minute:Ee},Fw={year:Ee,month:Ka,day:Ee,hour:Ee,minute:Ee,timeZoneName:jr},Vw={year:Ee,month:Ka,day:Ee,hour:Ee,minute:Ee,second:Ee,timeZoneName:jr},Gw={year:Ee,month:Ka,day:Ee,weekday:Ka,hour:Ee,minute:Ee,timeZoneName:Ka},Zw={year:Ee,month:Ka,day:Ee,weekday:Ka,hour:Ee,minute:Ee,second:Ee,timeZoneName:Ka};class tu{get type(){throw new as}get name(){throw new as}get ianaName(){return this.name}get isUniversal(){throw new as}offsetName(e,a){throw new as}formatOffset(e,a){throw new as}offset(e){throw new as}equals(e){throw new as}get isValid(){throw new as}}let K3=null;class Df extends tu{static get instance(){return K3===null&&(K3=new Df),K3}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:a,locale:i}){return ax(e,a,i)}formatOffset(e,a){return Uc(this.offset(e),a)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const Xp=new Map;function sq(t){let e=Xp.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"}),Xp.set(t,e)),e}const lq={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function oq(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,p,y]=i;return[u,s,o,d,f,p,y]}function cq(t,e){const a=t.formatToParts(e),i=[];for(let s=0;s<a.length;s++){const{type:o,value:u}=a[s],d=lq[o];o==="era"?i[d]=u:Je(d)||(i[d]=parseInt(u,10))}return i}const J3=new Map;class Ii extends tu{static create(e){let a=J3.get(e);return a===void 0&&J3.set(e,a=new Ii(e)),a}static resetCache(){J3.clear(),Xp.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=Ii.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:a,locale:i}){return ax(e,a,i,this.name)}formatOffset(e,a){return Uc(this.offset(e),a)}offset(e){if(!this.valid)return NaN;const a=new Date(e);if(isNaN(a))return NaN;const i=sq(this.name);let[s,o,u,d,f,p,y]=i.formatToParts?cq(i,a):oq(i,a);d==="BC"&&(s=-Math.abs(s)+1);const A=Lf({year:s,month:o,day:u,hour:f===24?0:f,minute:p,second:y,millisecond:0});let w=+a;const T=w%1e3;return w-=T>=0?T:1e3+T,(A-w)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let OS={};function uq(t,e={}){const a=JSON.stringify([t,e]);let i=OS[a];return i||(i=new Intl.ListFormat(t,e),OS[a]=i),i}const $p=new Map;function e6(t,e={}){const a=JSON.stringify([t,e]);let i=$p.get(a);return i===void 0&&(i=new Intl.DateTimeFormat(t,e),$p.set(a,i)),i}const t6=new Map;function fq(t,e={}){const a=JSON.stringify([t,e]);let i=t6.get(a);return i===void 0&&(i=new Intl.NumberFormat(t,e),t6.set(a,i)),i}const n6=new Map;function dq(t,e={}){const{base:a,...i}=e,s=JSON.stringify([t,i]);let o=n6.get(s);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),n6.set(s,o)),o}let jc=null;function hq(){return jc||(jc=new Intl.DateTimeFormat().resolvedOptions().locale,jc)}const a6=new Map;function Ww(t){let e=a6.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),a6.set(t,e)),e}const r6=new Map;function mq(t){let e=r6.get(t);if(!e){const a=new Intl.Locale(t);e="getWeekInfo"in a?a.getWeekInfo():a.weekInfo,"minimalDays"in e||(e={...Yw,...e}),r6.set(t,e)}return e}function pq(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=e6(t).resolvedOptions(),s=t}catch{const f=t.substring(0,a);i=e6(f).resolvedOptions(),s=f}const{numberingSystem:o,calendar:u}=i;return[s,o,u]}}function gq(t,e,a){return(a||e)&&(t.includes("-u-")||(t+="-u"),a&&(t+=`-ca-${a}`),e&&(t+=`-nu-${e}`)),t}function vq(t){const e=[];for(let a=1;a<=12;a++){const i=$e.utc(2009,a,1);e.push(t(i))}return e}function yq(t){const e=[];for(let a=1;a<=7;a++){const i=$e.utc(2016,11,13+a);e.push(t(i))}return e}function x1(t,e,a,i){const s=t.listingMode();return s==="error"?null:s==="en"?a(e):i(e)}function bq(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Ww(t.locale).numberingSystem==="latn"}class Sq{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=fq(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):l5(e,3);return zn(a,this.padTo)}}}class Eq{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&&Ii.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=e6(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 Aq{constructor(e,a,i){this.opts={style:"long",...i},!a&&tx()&&(this.rtf=dq(e,i))}format(e,a){return this.rtf?this.rtf.format(e,a):Vq(a,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,a){return this.rtf?this.rtf.formatToParts(e,a):[]}}const Yw={firstDay:1,minimalDays:4,weekend:[6,7]};class Ft{static fromOpts(e){return Ft.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,a,i,s,o=!1){const u=e||An.defaultLocale,d=u||(o?"en-US":hq()),f=a||An.defaultNumberingSystem,p=i||An.defaultOutputCalendar,y=s6(s)||An.defaultWeekSettings;return new Ft(d,f,p,y,u)}static resetCache(){jc=null,$p.clear(),t6.clear(),n6.clear(),a6.clear(),r6.clear()}static fromObject({locale:e,numberingSystem:a,outputCalendar:i,weekSettings:s}={}){return Ft.create(e,a,i,s)}constructor(e,a,i,s,o){const[u,d,f]=pq(e);this.locale=u,this.numberingSystem=a||d||null,this.outputCalendar=i||f||null,this.weekSettings=s,this.intl=gq(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=bq(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:Ft.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,s6(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 x1(this,e,sx,()=>{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]=vq(u)}return this.monthsCache[o][e]})}weekdays(e,a=!1){return x1(this,e,cx,()=>{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]=yq(o=>this.extract(o,i,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return x1(this,void 0,()=>ux,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$e.utc(2016,11,13,9),$e.utc(2016,11,13,19)].map(a=>this.extract(a,e,"dayperiod"))}return this.meridiemCache})}eras(e){return x1(this,e,fx,()=>{const a={era:e};return this.eraCache[e]||(this.eraCache[e]=[$e.utc(-40,1,1),$e.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 Sq(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,a={}){return new Eq(e,this.intl,a)}relFormatter(e={}){return new Aq(this.intl,this.isEnglish(),e)}listFormatter(e={}){return uq(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Ww(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:nx()?mq(this.locale):Yw}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 X3=null;class wa extends tu{static get utcInstance(){return X3===null&&(X3=new wa(0)),X3}static instance(e){return e===0?wa.utcInstance:new wa(e)}static parseSpecifier(e){if(e){const a=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new wa(kf(a[1],a[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Uc(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Uc(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,a){return Uc(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 wq extends tu{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 os(t,e){if(Je(t)||t===null)return e;if(t instanceof tu)return t;if(Iq(t)){const a=t.toLowerCase();return a==="default"?e:a==="local"||a==="system"?Df.instance:a==="utc"||a==="gmt"?wa.utcInstance:wa.parseSpecifier(a)||Ii.create(t)}else return us(t)?wa.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new wq(t)}const a5={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},RS={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]},xq=a5.hanidec.replace(/[\[|\]]/g,"").split("");function Cq(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(a5.hanidec)!==-1)e+=xq.indexOf(t[a]);else for(const s in RS){const[o,u]=RS[s];i>=o&&i<=u&&(e+=i-o)}}return parseInt(e,10)}else return e}const i6=new Map;function Tq(){i6.clear()}function xr({numberingSystem:t},e=""){const a=t||"latn";let i=i6.get(a);i===void 0&&(i=new Map,i6.set(a,i));let s=i.get(e);return s===void 0&&(s=new RegExp(`${a5[a]}${e}`),i.set(e,s)),s}let IS=()=>Date.now(),MS="system",NS=null,DS=null,jS=null,LS=60,kS,_S=null;class An{static get now(){return IS}static set now(e){IS=e}static set defaultZone(e){MS=e}static get defaultZone(){return os(MS,Df.instance)}static get defaultLocale(){return NS}static set defaultLocale(e){NS=e}static get defaultNumberingSystem(){return DS}static set defaultNumberingSystem(e){DS=e}static get defaultOutputCalendar(){return jS}static set defaultOutputCalendar(e){jS=e}static get defaultWeekSettings(){return _S}static set defaultWeekSettings(e){_S=s6(e)}static get twoDigitCutoffYear(){return LS}static set twoDigitCutoffYear(e){LS=e%100}static get throwOnInvalid(){return kS}static set throwOnInvalid(e){kS=e}static resetCaches(){Ft.resetCache(),Ii.resetCache(),$e.resetCache(),Tq()}}class Ir{constructor(e,a){this.reason=e,this.explanation=a}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Qw=[0,31,59,90,120,151,181,212,243,273,304,334],Kw=[0,31,60,91,121,152,182,213,244,274,305,335];function fr(t,e){return new Ir("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function r5(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 Jw(t,e,a){return a+(nu(t)?Kw:Qw)[e-1]}function Xw(t,e){const a=nu(t)?Kw:Qw,i=a.findIndex(o=>o<e),s=e-a[i];return{month:i+1,day:s}}function i5(t,e){return(t-e+7)%7+1}function lf(t,e=4,a=1){const{year:i,month:s,day:o}=t,u=Jw(i,s,o),d=i5(r5(i,s,o),a);let f=Math.floor((u-d+14-e)/7),p;return f<1?(p=i-1,f=Vc(p,e,a)):f>Vc(i,e,a)?(p=i+1,f=1):p=i,{weekYear:p,weekNumber:f,weekday:d,..._f(t)}}function US(t,e=4,a=1){const{weekYear:i,weekNumber:s,weekday:o}=t,u=i5(r5(i,1,e),a),d=Yl(i);let f=s*7+o-u-7+e,p;f<1?(p=i-1,f+=Yl(p)):f>d?(p=i+1,f-=Yl(i)):p=i;const{month:y,day:b}=Xw(p,f);return{year:p,month:y,day:b,..._f(t)}}function $3(t){const{year:e,month:a,day:i}=t,s=Jw(e,a,i);return{year:e,ordinal:s,..._f(t)}}function zS(t){const{year:e,ordinal:a}=t,{month:i,day:s}=Xw(e,a);return{year:e,month:i,day:s,..._f(t)}}function qS(t,e){if(!Je(t.localWeekday)||!Je(t.localWeekNumber)||!Je(t.localWeekYear)){if(!Je(t.weekday)||!Je(t.weekNumber)||!Je(t.weekYear))throw new Vl("Cannot mix locale-based week fields with ISO-based week fields");return Je(t.localWeekday)||(t.weekday=t.localWeekday),Je(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Je(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 Oq(t,e=4,a=1){const i=jf(t.weekYear),s=dr(t.weekNumber,1,Vc(t.weekYear,e,a)),o=dr(t.weekday,1,7);return i?s?o?!1:fr("weekday",t.weekday):fr("week",t.weekNumber):fr("weekYear",t.weekYear)}function Rq(t){const e=jf(t.year),a=dr(t.ordinal,1,Yl(t.year));return e?a?!1:fr("ordinal",t.ordinal):fr("year",t.year)}function $w(t){const e=jf(t.year),a=dr(t.month,1,12),i=dr(t.day,1,of(t.year,t.month));return e?a?i?!1:fr("day",t.day):fr("month",t.month):fr("year",t.year)}function ex(t){const{hour:e,minute:a,second:i,millisecond:s}=t,o=dr(e,0,23)||e===24&&a===0&&i===0&&s===0,u=dr(a,0,59),d=dr(i,0,59),f=dr(s,0,999);return o?u?d?f?!1:fr("millisecond",s):fr("second",i):fr("minute",a):fr("hour",e)}function Je(t){return typeof t>"u"}function us(t){return typeof t=="number"}function jf(t){return typeof t=="number"&&t%1===0}function Iq(t){return typeof t=="string"}function Mq(t){return Object.prototype.toString.call(t)==="[object Date]"}function tx(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function nx(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Nq(t){return Array.isArray(t)?t:[t]}function PS(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 Dq(t,e){return e.reduce((a,i)=>(a[i]=t[i],a),{})}function no(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s6(t){if(t==null)return null;if(typeof t!="object")throw new pa("Week settings must be an object");if(!dr(t.firstDay,1,7)||!dr(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!dr(e,1,7)))throw new pa("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function dr(t,e,a){return jf(t)&&t>=e&&t<=a}function jq(t,e){return t-e*Math.floor(t/e)}function zn(t,e=2){const a=t<0;let i;return a?i="-"+(""+-t).padStart(e,"0"):i=(""+t).padStart(e,"0"),i}function ss(t){if(!(Je(t)||t===null||t===""))return parseInt(t,10)}function Ds(t){if(!(Je(t)||t===null||t===""))return parseFloat(t)}function s5(t){if(!(Je(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function l5(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 nu(t){return t%4===0&&(t%100!==0||t%400===0)}function Yl(t){return nu(t)?366:365}function of(t,e){const a=jq(e-1,12)+1,i=t+(e-a)/12;return a===2?nu(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][a-1]}function Lf(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 HS(t,e,a){return-i5(r5(t,1,e),a)+e-1}function Vc(t,e=4,a=1){const i=HS(t,e,a),s=HS(t+1,e,a);return(Yl(t)-i+s)/7}function l6(t){return t>99?t:t>An.twoDigitCutoffYear?1900+t:2e3+t}function ax(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 kf(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 rx(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new pa(`Invalid unit value ${t}`);return e}function cf(t,e){const a={};for(const i in t)if(no(t,i)){const s=t[i];if(s==null)continue;a[e(i)]=rx(s)}return a}function Uc(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}${zn(a,2)}:${zn(i,2)}`;case"narrow":return`${s}${a}${i>0?`:${i}`:""}`;case"techie":return`${s}${zn(a,2)}${zn(i,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function _f(t){return Dq(t,["hour","minute","second","millisecond"])}const Lq=["January","February","March","April","May","June","July","August","September","October","November","December"],ix=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],kq=["J","F","M","A","M","J","J","A","S","O","N","D"];function sx(t){switch(t){case"narrow":return[...kq];case"short":return[...ix];case"long":return[...Lq];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 lx=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ox=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],_q=["M","T","W","T","F","S","S"];function cx(t){switch(t){case"narrow":return[..._q];case"short":return[...ox];case"long":return[...lx];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ux=["AM","PM"],Uq=["Before Christ","Anno Domini"],zq=["BC","AD"],qq=["B","A"];function fx(t){switch(t){case"narrow":return[...qq];case"short":return[...zq];case"long":return[...Uq];default:return null}}function Pq(t){return ux[t.hour<12?0:1]}function Hq(t,e){return cx(e)[t.weekday-1]}function Bq(t,e){return sx(e)[t.month-1]}function Fq(t,e){return fx(e)[t.year<0?0:1]}function Vq(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,p=s[t],y=i?f?p[1]:p[2]||p[1]:f?s[t][0]:t;return u?`${d} ${y} ago`:`in ${d} ${y}`}function BS(t,e){let a="";for(const i of t)i.literal?a+=i.val:a+=e(i.val);return a}const Gq={D:sf,DD:Rw,DDD:Iw,DDDD:Mw,t:Nw,tt:Dw,ttt:jw,tttt:Lw,T:kw,TT:_w,TTT:Uw,TTTT:zw,f:qw,ff:Hw,fff:Fw,ffff:Gw,F:Pw,FF:Bw,FFF:Vw,FFFF:Zw};class va{static create(e,a={}){return new va(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 Gq[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 zn(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=(w,T)=>this.loc.extract(e,w,T),u=w=>e.isOffsetFixed&&e.offset===0&&w.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,w.format):"",d=()=>i?Pq(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),f=(w,T)=>i?Bq(e,w):o(T?{month:w}:{month:w,day:"numeric"},"month"),p=(w,T)=>i?Hq(e,w):o(T?{weekday:w}:{weekday:w,month:"long",day:"numeric"},"weekday"),y=w=>{const T=va.macroTokenToFormatOpts(w);return T?this.formatWithSystemDefault(e,T):w},b=w=>i?Fq(e,w):o({era:w},"era"),A=w=>{switch(w){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 p("short",!0);case"cccc":return p("long",!0);case"ccccc":return p("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return p("short",!1);case"EEEE":return p("long",!1);case"EEEEE":return p("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(w)}};return BS(va.parseFormat(a),A)}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)=>A=>{const w=s(A);if(w){const T=b.isNegativeDuration&&w!==b.largestUnit?i:1;let N;return this.opts.signMode==="negativeLargestOnly"&&w!==b.largestUnit?N="never":this.opts.signMode==="all"?N="always":N="auto",this.num(y.get(w)*T,A.length,N)}else return A},u=va.parseFormat(a),d=u.reduce((y,{literal:b,val:A})=>b?y:y.concat(A),[]),f=e.shiftTo(...d.map(s).filter(y=>y)),p={isNegativeDuration:f<0,largestUnit:Object.keys(f.values)[0]};return BS(u,o(f,p))}}const dx=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ho(...t){const e=t.reduce((a,i)=>a+i.source,"");return RegExp(`^${e}$`)}function mo(...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 po(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 hx(...t){return(e,a)=>{const i={};let s;for(s=0;s<t.length;s++)i[t[s]]=ss(e[a+s]);return[i,null,a+s]}}const mx=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Zq=`(?:${mx.source}?(?:\\[(${dx.source})\\])?)?`,o5=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,px=RegExp(`${o5.source}${Zq}`),c5=RegExp(`(?:[Tt]${px.source})?`),Wq=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Yq=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Qq=/(\d{4})-?(\d{3})/,Kq=hx("weekYear","weekNumber","weekDay"),Jq=hx("year","ordinal"),Xq=/(\d{4})-(\d\d)-(\d\d)/,gx=RegExp(`${o5.source} ?(?:${mx.source}|(${dx.source}))?`),$q=RegExp(`(?: ${gx.source})?`);function Ql(t,e,a){const i=t[e];return Je(i)?a:ss(i)}function eP(t,e){return[{year:Ql(t,e),month:Ql(t,e+1,1),day:Ql(t,e+2,1)},null,e+3]}function go(t,e){return[{hours:Ql(t,e,0),minutes:Ql(t,e+1,0),seconds:Ql(t,e+2,0),milliseconds:s5(t[e+3])},null,e+4]}function au(t,e){const a=!t[e]&&!t[e+1],i=kf(t[e+1],t[e+2]),s=a?null:wa.instance(i);return[{},s,e+3]}function ru(t,e){const a=t[e]?Ii.create(t[e]):null;return[{},a,e+1]}const tP=RegExp(`^T?${o5.source}$`),nP=/^-?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 aP(t){const[e,a,i,s,o,u,d,f,p]=t,y=e[0]==="-",b=f&&f[0]==="-",A=(w,T=!1)=>w!==void 0&&(T||w&&y)?-w:w;return[{years:A(Ds(a)),months:A(Ds(i)),weeks:A(Ds(s)),days:A(Ds(o)),hours:A(Ds(u)),minutes:A(Ds(d)),seconds:A(Ds(f),f==="-0"),milliseconds:A(s5(p),b)}]}const rP={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function u5(t,e,a,i,s,o,u){const d={year:e.length===2?l6(ss(e)):ss(e),month:ix.indexOf(a)+1,day:ss(i),hour:ss(s),minute:ss(o)};return u&&(d.second=ss(u)),t&&(d.weekday=t.length>3?lx.indexOf(t)+1:ox.indexOf(t)+1),d}const iP=/^(?:(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 sP(t){const[,e,a,i,s,o,u,d,f,p,y,b]=t,A=u5(e,s,i,a,o,u,d);let w;return f?w=rP[f]:p?w=0:w=kf(y,b),[A,new wa(w)]}function lP(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const oP=/^(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$/,cP=/^(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$/,uP=/^(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 FS(t){const[,e,a,i,s,o,u,d]=t;return[u5(e,s,i,a,o,u,d),wa.utcInstance]}function fP(t){const[,e,a,i,s,o,u,d]=t;return[u5(e,d,a,i,s,o,u),wa.utcInstance]}const dP=ho(Wq,c5),hP=ho(Yq,c5),mP=ho(Qq,c5),pP=ho(px),vx=mo(eP,go,au,ru),gP=mo(Kq,go,au,ru),vP=mo(Jq,go,au,ru),yP=mo(go,au,ru);function bP(t){return po(t,[dP,vx],[hP,gP],[mP,vP],[pP,yP])}function SP(t){return po(lP(t),[iP,sP])}function EP(t){return po(t,[oP,FS],[cP,FS],[uP,fP])}function AP(t){return po(t,[nP,aP])}const wP=mo(go);function xP(t){return po(t,[tP,wP])}const CP=ho(Xq,$q),TP=ho(gx),OP=mo(go,au,ru);function RP(t){return po(t,[CP,vx],[TP,OP])}const VS="Invalid Duration",yx={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}},IP={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},...yx},or=146097/400,Dl=146097/4800,MP={years:{quarters:4,months:12,weeks:or/7,days:or,hours:or*24,minutes:or*24*60,seconds:or*24*60*60,milliseconds:or*24*60*60*1e3},quarters:{months:3,weeks:or/28,days:or/4,hours:or*24/4,minutes:or*24*60/4,seconds:or*24*60*60/4,milliseconds:or*24*60*60*1e3/4},months:{weeks:Dl/7,days:Dl,hours:Dl*24,minutes:Dl*24*60,seconds:Dl*24*60*60,milliseconds:Dl*24*60*60*1e3},...yx},zs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],NP=zs.slice(0).reverse();function Ei(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 It(i)}function bx(t,e){let a=e.milliseconds??0;for(const i of NP.slice(1))e[i]&&(a+=e[i]*t[i].milliseconds);return a}function GS(t,e){const a=bx(t,e)<0?-1:1;zs.reduceRight((i,s)=>{if(Je(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),zs.reduce((i,s)=>{if(Je(e[s]))return i;if(i){const o=e[i]%1;e[i]-=o,e[s]+=o*t[i][s]}return s},null)}function ZS(t){const e={};for(const[a,i]of Object.entries(t))i!==0&&(e[a]=i);return e}class It{constructor(e){const a=e.conversionAccuracy==="longterm"||!1;let i=a?MP:IP;e.matrix&&(i=e.matrix),this.values=e.values,this.loc=e.loc||Ft.create(),this.conversionAccuracy=a?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(e,a){return It.fromObject({milliseconds:e},a)}static fromObject(e,a={}){if(e==null||typeof e!="object")throw new pa(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new It({values:cf(e,It.normalizeUnit),loc:Ft.fromObject(a),conversionAccuracy:a.conversionAccuracy,matrix:a.matrix})}static fromDurationLike(e){if(us(e))return It.fromMillis(e);if(It.isDuration(e))return e;if(typeof e=="object")return It.fromObject(e);throw new pa(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,a){const[i]=AP(e);return i?It.fromObject(i,a):It.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,a){const[i]=xP(e);return i?It.fromObject(i,a):It.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,a=null){if(!e)throw new pa("need to specify a reason the Duration is invalid");const i=e instanceof Ir?e:new Ir(e,a);if(An.throwOnInvalid)throw new aq(i);return new It({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 Ow(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?va.create(this.loc,i).formatDurationFromString(this,e):VS}toHuman(e={}){if(!this.isValid)return VS;const a=e.showZeros!==!1,i=zs.map(s=>{const o=this.values[s];return Je(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+=l5(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},$e.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?bx(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const a=It.fromDurationLike(e),i={};for(const s of zs)(no(a.values,s)||no(this.values,s))&&(i[s]=a.get(s)+this.get(s));return Ei(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const a=It.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]=rx(e(this.values[i],i));return Ei(this,{values:a},!0)}get(e){return this[It.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const a={...this.values,...cf(e,It.normalizeUnit)};return Ei(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 Ei(this,u)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return GS(this.matrix,e),Ei(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ZS(this.normalize().shiftToAll().toObject());return Ei(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(u=>It.normalizeUnit(u));const a={},i={},s=this.toObject();let o;for(const u of zs)if(e.indexOf(u)>=0){o=u;let d=0;for(const p in i)d+=this.matrix[p][u]*i[p],i[p]=0;us(s[u])&&(d+=s[u]);const f=Math.trunc(d);a[u]=f,i[u]=(d*1e3-f*1e3)/1e3}else us(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 GS(this.matrix,a),Ei(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 Ei(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=ZS(this.values);return Ei(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 zs)if(!a(this.values[i],e.values[i]))return!1;return!0}}const jl="Invalid Interval";function DP(t,e){return!t||!t.isValid?Sn.invalid("missing or invalid start"):!e||!e.isValid?Sn.invalid("missing or invalid end"):e<t?Sn.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 Sn{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 pa("need to specify a reason the Interval is invalid");const i=e instanceof Ir?e:new Ir(e,a);if(An.throwOnInvalid)throw new nq(i);return new Sn({invalid:i})}static fromDateTimes(e,a){const i=Tc(e),s=Tc(a),o=DP(i,s);return o??new Sn({start:i,end:s})}static after(e,a){const i=It.fromDurationLike(a),s=Tc(e);return Sn.fromDateTimes(s,s.plus(i))}static before(e,a){const i=It.fromDurationLike(a),s=Tc(e);return Sn.fromDateTimes(s.minus(i),s)}static fromISO(e,a){const[i,s]=(e||"").split("/",2);if(i&&s){let o,u;try{o=$e.fromISO(i,a),u=o.isValid}catch{u=!1}let d,f;try{d=$e.fromISO(s,a),f=d.isValid}catch{f=!1}if(u&&f)return Sn.fromDateTimes(o,d);if(u){const p=It.fromISO(s,a);if(p.isValid)return Sn.after(o,p)}else if(f){const p=It.fromISO(i,a);if(p.isValid)return Sn.before(d,p)}}return Sn.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?Sn.fromDateTimes(e||this.s,a||this.e):this}splitAt(...e){if(!this.isValid)return[];const a=e.map(Tc).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(Sn.fromDateTimes(s,d)),s=d,o+=1}return i}splitBy(e){const a=It.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(Sn.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:Sn.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 Sn.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,p)=>f.time-p.time);for(const f of d)i+=f.type==="s"?1:-1,i===1?a=f.time:(a&&+a!=+f.time&&s.push(Sn.fromDateTimes(a,f.time)),a=null);return Sn.merge(s)}difference(...e){return Sn.xor([this].concat(e)).map(a=>this.intersection(a)).filter(a=>a&&!a.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:jl}[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?va.create(this.s.loc.clone(a),e).formatInterval(this):jl}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:jl}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:jl}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:jl}toFormat(e,{separator:a=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${a}${this.e.toFormat(e)}`:jl}toDuration(e,a){return this.isValid?this.e.diff(this.s,e,a):It.invalid(this.invalidReason)}mapEndpoints(e){return Sn.fromDateTimes(e(this.s),e(this.e))}}class C1{static hasDST(e=An.defaultZone){const a=$e.now().setZone(e).set({month:12});return!e.isUniversal&&a.offset!==a.set({month:6}).offset}static isValidIANAZone(e){return Ii.isValidZone(e)}static normalizeZone(e){return os(e,An.defaultZone)}static getStartOfWeek({locale:e=null,locObj:a=null}={}){return(a||Ft.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:a=null}={}){return(a||Ft.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:a=null}={}){return(a||Ft.create(e)).getWeekendDays().slice()}static months(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ft.create(a,i,o)).months(e)}static monthsFormat(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Ft.create(a,i,o)).months(e,!0)}static weekdays(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ft.create(a,i,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ft.create(a,i,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Ft.create(e).meridiems()}static eras(e="short",{locale:a=null}={}){return Ft.create(a,null,"gregory").eras(e)}static features(){return{relative:tx(),localeWeek:nx()}}}function WS(t,e){const a=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=a(e)-a(t);return Math.floor(It.fromMillis(i).as("days"))}function jP(t,e,a){const i=[["years",(f,p)=>p.year-f.year],["quarters",(f,p)=>p.quarter-f.quarter+(p.year-f.year)*4],["months",(f,p)=>p.month-f.month+(p.year-f.year)*12],["weeks",(f,p)=>{const y=WS(f,p);return(y-y%7)/7}],["days",WS]],s={},o=t;let u,d;for(const[f,p]of i)a.indexOf(f)>=0&&(u=f,s[f]=p(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 LP(t,e,a,i){let[s,o,u,d]=jP(t,e,a);const f=e-s,p=a.filter(b=>["hours","minutes","seconds","milliseconds"].indexOf(b)>=0);p.length===0&&(u<e&&(u=s.plus({[d]:1})),u!==s&&(o[d]=(o[d]||0)+f/(u-s)));const y=It.fromObject(o,i);return p.length>0?It.fromMillis(f,i).shiftTo(...p).plus(y):y}const kP="missing Intl.DateTimeFormat.formatToParts support";function kt(t,e=a=>a){return{regex:t,deser:([a])=>e(Cq(a))}}const _P=" ",Sx=`[ ${_P}]`,Ex=new RegExp(Sx,"g");function UP(t){return t.replace(/\./g,"\\.?").replace(Ex,Sx)}function YS(t){return t.replace(/\./g,"").replace(Ex," ").toLowerCase()}function Cr(t,e){return t===null?null:{regex:RegExp(t.map(UP).join("|")),deser:([a])=>t.findIndex(i=>YS(a)===YS(i))+e}}function QS(t,e){return{regex:t,deser:([,a,i])=>kf(a,i),groups:e}}function T1(t){return{regex:t,deser:([e])=>e}}function zP(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function qP(t,e){const a=xr(e),i=xr(e,"{2}"),s=xr(e,"{3}"),o=xr(e,"{4}"),u=xr(e,"{6}"),d=xr(e,"{1,2}"),f=xr(e,"{1,3}"),p=xr(e,"{1,6}"),y=xr(e,"{1,9}"),b=xr(e,"{2,4}"),A=xr(e,"{4,6}"),w=j=>({regex:RegExp(zP(j.val)),deser:([D])=>D,literal:!0}),N=(j=>{if(t.literal)return w(j);switch(j.val){case"G":return Cr(e.eras("short"),0);case"GG":return Cr(e.eras("long"),0);case"y":return kt(p);case"yy":return kt(b,l6);case"yyyy":return kt(o);case"yyyyy":return kt(A);case"yyyyyy":return kt(u);case"M":return kt(d);case"MM":return kt(i);case"MMM":return Cr(e.months("short",!0),1);case"MMMM":return Cr(e.months("long",!0),1);case"L":return kt(d);case"LL":return kt(i);case"LLL":return Cr(e.months("short",!1),1);case"LLLL":return Cr(e.months("long",!1),1);case"d":return kt(d);case"dd":return kt(i);case"o":return kt(f);case"ooo":return kt(s);case"HH":return kt(i);case"H":return kt(d);case"hh":return kt(i);case"h":return kt(d);case"mm":return kt(i);case"m":return kt(d);case"q":return kt(d);case"qq":return kt(i);case"s":return kt(d);case"ss":return kt(i);case"S":return kt(f);case"SSS":return kt(s);case"u":return T1(y);case"uu":return T1(d);case"uuu":return kt(a);case"a":return Cr(e.meridiems(),0);case"kkkk":return kt(o);case"kk":return kt(b,l6);case"W":return kt(d);case"WW":return kt(i);case"E":case"c":return kt(a);case"EEE":return Cr(e.weekdays("short",!1),1);case"EEEE":return Cr(e.weekdays("long",!1),1);case"ccc":return Cr(e.weekdays("short",!0),1);case"cccc":return Cr(e.weekdays("long",!0),1);case"Z":case"ZZ":return QS(new RegExp(`([+-]${d.source})(?::(${i.source}))?`),2);case"ZZZ":return QS(new RegExp(`([+-]${d.source})(${i.source})?`),2);case"z":return T1(/[a-z_+-/]{1,256}?/i);case" ":return T1(/[^\S\n\r]/);default:return w(j)}})(t)||{invalidReason:kP};return N.token=t,N}const PP={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 HP(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=PP[u];if(typeof d=="object"&&(d=d[o]),d)return{literal:!1,val:d}}function BP(t){return[`^${t.map(a=>a.regex).reduce((a,i)=>`${a}(${i.source})`,"")}$`,t]}function FP(t,e,a){const i=t.match(e);if(i){const s={};let o=1;for(const u in a)if(no(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 VP(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 Je(t.z)||(a=Ii.create(t.z)),Je(t.Z)||(a||(a=new wa(t.Z)),i=t.Z),Je(t.q)||(t.M=(t.q-1)*3+1),Je(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),Je(t.u)||(t.S=s5(t.u)),[Object.keys(t).reduce((o,u)=>{const d=e(u);return d&&(o[d]=t[u]),o},{}),a,i]}let ep=null;function GP(){return ep||(ep=$e.fromMillis(1555555555555)),ep}function ZP(t,e){if(t.literal)return t;const a=va.macroTokenToFormatOpts(t.val),i=Cx(a,e);return i==null||i.includes(void 0)?t:i}function Ax(t,e){return Array.prototype.concat(...t.map(a=>ZP(a,e)))}class wx{constructor(e,a){if(this.locale=e,this.format=a,this.tokens=Ax(va.parseFormat(a),e),this.units=this.tokens.map(i=>qP(i,e)),this.disqualifyingUnit=this.units.find(i=>i.invalidReason),!this.disqualifyingUnit){const[i,s]=BP(this.units);this.regex=RegExp(i,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){const[a,i]=FP(e,this.regex,this.handlers),[s,o,u]=i?VP(i):[null,null,void 0];if(no(i,"a")&&no(i,"H"))throw new Vl("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 xx(t,e,a){return new wx(t,a).explainFromTokens(e)}function WP(t,e,a){const{result:i,zone:s,specificOffset:o,invalidReason:u}=xx(t,e,a);return[i,s,o,u]}function Cx(t,e){if(!t)return null;const i=va.create(e,t).dtFormatter(GP()),s=i.formatToParts(),o=i.resolvedOptions();return s.map(u=>HP(u,t,o))}const tp="Invalid DateTime",KS=864e13;function Lc(t){return new Ir("unsupported zone",`the zone "${t.name}" is not supported`)}function np(t){return t.weekData===null&&(t.weekData=lf(t.c)),t.weekData}function ap(t){return t.localWeekData===null&&(t.localWeekData=lf(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function js(t,e){const a={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new $e({...a,...e,old:a})}function Tx(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 O1(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 F1(t,e,a){return Tx(Lf(t),e,a)}function JS(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,of(i,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},u=It.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=Lf(o);let[f,p]=Tx(d,a,t.zone);return u!==0&&(f+=u,p=t.zone.offset(f)),{ts:f,o:p}}function Ll(t,e,a,i,s,o){const{setZone:u,zone:d}=a;if(t&&Object.keys(t).length!==0||e){const f=e||d,p=$e.fromObject(t,{...a,zone:f,specificOffset:o});return u?p:p.setZone(d)}else return $e.invalid(new Ir("unparsable",`the input "${s}" can't be parsed as ${i}`))}function R1(t,e,a=!0){return t.isValid?va.create(Ft.create("en-US"),{allowZ:a,forceSimple:!0}).formatDateTimeFromString(t,e):null}function rp(t,e,a){const i=t.c.year>9999||t.c.year<0;let s="";if(i&&t.c.year>=0&&(s+="+"),s+=zn(t.c.year,i?6:4),a==="year")return s;if(e){if(s+="-",s+=zn(t.c.month),a==="month")return s;s+="-"}else if(s+=zn(t.c.month),a==="month")return s;return s+=zn(t.c.day),s}function XS(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+=zn(t.c.hour),u==="hour")break;if(e){if(f+=":",f+=zn(t.c.minute),u==="minute")break;d&&(f+=":",f+=zn(t.c.second))}else{if(f+=zn(t.c.minute),u==="minute")break;d&&(f+=zn(t.c.second))}if(u==="second")break;d&&(!i||t.c.millisecond!==0)&&(f+=".",f+=zn(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&t.offset===0&&!o?f+="Z":t.o<0?(f+="-",f+=zn(Math.trunc(-t.o/60)),f+=":",f+=zn(Math.trunc(-t.o%60))):(f+="+",f+=zn(Math.trunc(t.o/60)),f+=":",f+=zn(Math.trunc(t.o%60)))),o&&(f+="["+t.zone.ianaName+"]"),f}const Ox={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},YP={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},QP={ordinal:1,hour:0,minute:0,second:0,millisecond:0},V1=["year","month","day","hour","minute","second","millisecond"],KP=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],JP=["year","ordinal","hour","minute","second","millisecond"];function G1(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 Ow(t);return e}function $S(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return G1(t)}}function XP(t){if(kc===void 0&&(kc=An.now()),t.type!=="iana")return t.offset(kc);const e=t.name;let a=o6.get(e);return a===void 0&&(a=t.offset(kc),o6.set(e,a)),a}function eE(t,e){const a=os(e.zone,An.defaultZone);if(!a.isValid)return $e.invalid(Lc(a));const i=Ft.fromObject(e);let s,o;if(Je(t.year))s=An.now();else{for(const f of V1)Je(t[f])&&(t[f]=Ox[f]);const u=$w(t)||ex(t);if(u)return $e.invalid(u);const d=XP(a);[s,o]=F1(t,d,a)}return new $e({ts:s,zone:a,loc:i,o})}function tE(t,e,a){const i=Je(a.round)?!0:a.round,s=Je(a.rounding)?"trunc":a.rounding,o=(d,f)=>(d=l5(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 nE(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 kc;const o6=new Map;class $e{constructor(e){const a=e.zone||An.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new Ir("invalid input"):null)||(a.isValid?null:Lc(a));this.ts=Je(e.ts)?An.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=us(e.o)&&!e.old?e.o:a.offset(this.ts);s=O1(this.ts,d),i=Number.isNaN(s.year)?new Ir("invalid input"):null,s=i?null:s,o=i?null:d}this._zone=a,this.loc=e.loc||Ft.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new $e({})}static local(){const[e,a]=nE(arguments),[i,s,o,u,d,f,p]=a;return eE({year:i,month:s,day:o,hour:u,minute:d,second:f,millisecond:p},e)}static utc(){const[e,a]=nE(arguments),[i,s,o,u,d,f,p]=a;return e.zone=wa.utcInstance,eE({year:i,month:s,day:o,hour:u,minute:d,second:f,millisecond:p},e)}static fromJSDate(e,a={}){const i=Mq(e)?e.valueOf():NaN;if(Number.isNaN(i))return $e.invalid("invalid input");const s=os(a.zone,An.defaultZone);return s.isValid?new $e({ts:i,zone:s,loc:Ft.fromObject(a)}):$e.invalid(Lc(s))}static fromMillis(e,a={}){if(us(e))return e<-KS||e>KS?$e.invalid("Timestamp out of range"):new $e({ts:e,zone:os(a.zone,An.defaultZone),loc:Ft.fromObject(a)});throw new pa(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,a={}){if(us(e))return new $e({ts:e*1e3,zone:os(a.zone,An.defaultZone),loc:Ft.fromObject(a)});throw new pa("fromSeconds requires a numerical input")}static fromObject(e,a={}){e=e||{};const i=os(a.zone,An.defaultZone);if(!i.isValid)return $e.invalid(Lc(i));const s=Ft.fromObject(a),o=cf(e,$S),{minDaysInFirstWeek:u,startOfWeek:d}=qS(o,s),f=An.now(),p=Je(a.specificOffset)?i.offset(f):a.specificOffset,y=!Je(o.ordinal),b=!Je(o.year),A=!Je(o.month)||!Je(o.day),w=b||A,T=o.weekYear||o.weekNumber;if((w||y)&&T)throw new Vl("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(A&&y)throw new Vl("Can't mix ordinal dates with month/day");const N=T||o.weekday&&!w;let j,D,x=O1(f,p);N?(j=KP,D=YP,x=lf(x,u,d)):y?(j=JP,D=QP,x=$3(x)):(j=V1,D=Ox);let z=!1;for(const R of j){const B=o[R];Je(B)?z?o[R]=D[R]:o[R]=x[R]:z=!0}const G=N?Oq(o,u,d):y?Rq(o):$w(o),M=G||ex(o);if(M)return $e.invalid(M);const H=N?US(o,u,d):y?zS(o):o,[Z,E]=F1(H,p,i),O=new $e({ts:Z,zone:i,o:E,loc:s});return o.weekday&&w&&e.weekday!==O.weekday?$e.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${O.toISO()}`):O.isValid?O:$e.invalid(O.invalid)}static fromISO(e,a={}){const[i,s]=bP(e);return Ll(i,s,a,"ISO 8601",e)}static fromRFC2822(e,a={}){const[i,s]=SP(e);return Ll(i,s,a,"RFC 2822",e)}static fromHTTP(e,a={}){const[i,s]=EP(e);return Ll(i,s,a,"HTTP",a)}static fromFormat(e,a,i={}){if(Je(e)||Je(a))throw new pa("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=i,u=Ft.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[d,f,p,y]=WP(u,e,a);return y?$e.invalid(y):Ll(d,f,i,`format ${a}`,e,p)}static fromString(e,a,i={}){return $e.fromFormat(e,a,i)}static fromSQL(e,a={}){const[i,s]=RP(e);return Ll(i,s,a,"SQL",e)}static invalid(e,a=null){if(!e)throw new pa("need to specify a reason the DateTime is invalid");const i=e instanceof Ir?e:new Ir(e,a);if(An.throwOnInvalid)throw new tq(i);return new $e({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,a={}){const i=Cx(e,Ft.fromObject(a));return i?i.map(s=>s?s.val:null).join(""):null}static expandFormat(e,a={}){return Ax(va.parseFormat(e),Ft.fromObject(a)).map(s=>s.val).join("")}static resetCache(){kc=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?np(this).weekYear:NaN}get weekNumber(){return this.isValid?np(this).weekNumber:NaN}get weekday(){return this.isValid?np(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ap(this).weekday:NaN}get localWeekNumber(){return this.isValid?ap(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ap(this).weekYear:NaN}get ordinal(){return this.isValid?$3(this.c).ordinal:NaN}get monthShort(){return this.isValid?C1.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?C1.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?C1.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?C1.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=Lf(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,p=i-d*a,y=O1(f,u),b=O1(p,d);return y.hour===b.hour&&y.minute===b.minute&&y.second===b.second&&y.millisecond===b.millisecond?[js(this,{ts:f}),js(this,{ts:p})]:[this]}get isInLeapYear(){return nu(this.year)}get daysInMonth(){return of(this.year,this.month)}get daysInYear(){return this.isValid?Yl(this.year):NaN}get weeksInWeekYear(){return this.isValid?Vc(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Vc(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:a,numberingSystem:i,calendar:s}=va.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:a,numberingSystem:i,outputCalendar:s}}toUTC(e=0,a={}){return this.setZone(wa.instance(e),a)}toLocal(){return this.setZone(An.defaultZone)}setZone(e,{keepLocalTime:a=!1,keepCalendarTime:i=!1}={}){if(e=os(e,An.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]=F1(u,o,e)}return js(this,{ts:s,zone:e})}else return $e.invalid(Lc(e))}reconfigure({locale:e,numberingSystem:a,outputCalendar:i}={}){const s=this.loc.clone({locale:e,numberingSystem:a,outputCalendar:i});return js(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const a=cf(e,$S),{minDaysInFirstWeek:i,startOfWeek:s}=qS(a,this.loc),o=!Je(a.weekYear)||!Je(a.weekNumber)||!Je(a.weekday),u=!Je(a.ordinal),d=!Je(a.year),f=!Je(a.month)||!Je(a.day),p=d||f,y=a.weekYear||a.weekNumber;if((p||u)&&y)throw new Vl("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Vl("Can't mix ordinal dates with month/day");let b;o?b=US({...lf(this.c,i,s),...a},i,s):Je(a.ordinal)?(b={...this.toObject(),...a},Je(a.day)&&(b.day=Math.min(of(b.year,b.month),b.day))):b=zS({...$3(this.c),...a});const[A,w]=F1(b,this.o,this.zone);return js(this,{ts:A,o:w})}plus(e){if(!this.isValid)return this;const a=It.fromDurationLike(e);return js(this,JS(this,a))}minus(e){if(!this.isValid)return this;const a=It.fromDurationLike(e).negate();return js(this,JS(this,a))}startOf(e,{useLocaleWeeks:a=!1}={}){if(!this.isValid)return this;const i={},s=It.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?va.create(this.loc.redefaultToEN(a)).formatDateTimeFromString(this,e):tp}toLocaleString(e=sf,a={}){return this.isValid?va.create(this.loc.clone(a),e).formatDateTime(this):tp}toLocaleParts(e={}){return this.isValid?va.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=G1(u);const d=e==="extended";let f=rp(this,d,u);return V1.indexOf(u)>=3&&(f+="T"),f+=XS(this,d,a,i,s,o,u),f}toISODate({format:e="extended",precision:a="day"}={}){return this.isValid?rp(this,e==="extended",G1(a)):null}toISOWeekDate(){return R1(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=G1(d),(s&&V1.indexOf(d)>=3?"T":"")+XS(this,u==="extended",a,e,i,o,d)):null}toRFC2822(){return R1(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return R1(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?rp(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")),R1(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():tp}[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 It.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},o=Nq(a).map(It.normalizeUnit),u=e.valueOf()>this.valueOf(),d=u?this:e,f=u?e:this,p=LP(d,f,o,s);return u?p.negate():p}diffNow(e="milliseconds",a={}){return this.diff($e.now(),e,a)}until(e){return this.isValid?Sn.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||$e.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),tE(a,this.plus(i),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?tE(e.base||$e.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every($e.isDateTime))throw new pa("min requires all arguments be DateTimes");return PS(e,a=>a.valueOf(),Math.min)}static max(...e){if(!e.every($e.isDateTime))throw new pa("max requires all arguments be DateTimes");return PS(e,a=>a.valueOf(),Math.max)}static fromFormatExplain(e,a,i={}){const{locale:s=null,numberingSystem:o=null}=i,u=Ft.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return xx(u,e,a)}static fromStringExplain(e,a,i={}){return $e.fromFormatExplain(e,a,i)}static buildFormatParser(e,a={}){const{locale:i=null,numberingSystem:s=null}=a,o=Ft.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new wx(o,e)}static fromFormatParser(e,a,i={}){if(Je(e)||Je(a))throw new pa("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=i,u=Ft.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!u.equals(a.locale))throw new pa(`fromFormatParser called with a locale of ${u}, but the format parser was created for ${a.locale}`);const{result:d,zone:f,specificOffset:p,invalidReason:y}=a.explainFromTokens(e);return y?$e.invalid(y):Ll(d,f,i,`format ${a.format}`,e,p)}static get DATE_SHORT(){return sf}static get DATE_MED(){return Rw}static get DATE_MED_WITH_WEEKDAY(){return rq}static get DATE_FULL(){return Iw}static get DATE_HUGE(){return Mw}static get TIME_SIMPLE(){return Nw}static get TIME_WITH_SECONDS(){return Dw}static get TIME_WITH_SHORT_OFFSET(){return jw}static get TIME_WITH_LONG_OFFSET(){return Lw}static get TIME_24_SIMPLE(){return kw}static get TIME_24_WITH_SECONDS(){return _w}static get TIME_24_WITH_SHORT_OFFSET(){return Uw}static get TIME_24_WITH_LONG_OFFSET(){return zw}static get DATETIME_SHORT(){return qw}static get DATETIME_SHORT_WITH_SECONDS(){return Pw}static get DATETIME_MED(){return Hw}static get DATETIME_MED_WITH_SECONDS(){return Bw}static get DATETIME_MED_WITH_WEEKDAY(){return iq}static get DATETIME_FULL(){return Fw}static get DATETIME_FULL_WITH_SECONDS(){return Vw}static get DATETIME_HUGE(){return Gw}static get DATETIME_HUGE_WITH_SECONDS(){return Zw}}function Tc(t){if($e.isDateTime(t))return t;if(t&&t.valueOf&&us(t.valueOf()))return $e.fromJSDate(t);if(t&&typeof t=="object")return $e.fromObject(t);throw new pa(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function $P(t,e,a){return[...t].sort((i,s)=>{const o=c6(e,i),u=c6(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 c6(t,e){if(t.endsWith("_date"))return e[t]||Number.MAX_SAFE_INTEGER;const a=e[t];return $e.isDateTime(a)?a.toUnixInteger():!oe(a)||t.indexOf("__")===-1?a:t.replace(/__/g,".").split(".").reduce((o,u)=>oe(o)?"":o[u],e)||""}const eH=({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"})),tH=g.forwardRef(eH),nH=({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"})),aH=g.forwardRef(nH),vo=({modelName:t,showNew:e,newLabel:a,columns:i,children:s,loading:o,actions:u,title:d,filters:f,rowLinkMapper:p,tableClassName:y,className:b="",hideTitle:A,onHover:w,actionHeader:T="",totalElements:N=null,showActionsAlways:j,displaySearch:D=!0,searchCallback:x,customSearch:z,entities:G,searchAttributes:M,newEntityPath:H,newEntityFunc:Z,defaultSort:E,rowClassNameResolver:O,inputFocus:R=!1,busy:B=!1})=>{const[L,U]=g.useState(""),[F,P]=g.useState(E),[I,V]=g.useState(!1),[k,J]=g.useState(F6()),q=g.useRef(),Y=qt();g.useEffect(()=>{(D||R)&&q&&q.current&&q.current.focus()},[D,R]);const re=()=>{Z?Z():Y(H)},le=(we,He,ht)=>we.nonSortable?null:we.key===He?ht?h.jsx(tH,{}):h.jsx(aH,{}):null,ge=we=>{const He=we.target.value,ht=L;U(He);const ut=ht!==He;ut&&J(1),ke(He,F,I,ut?1:k)},he=()=>{const we=!A&&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:(!oe(M)||z)&&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:q,onChange:ge,value:L,placeholder:S.t(`${t}.searchPlaceHolder`)}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Of,{})})]})})})}),!oe(f)&&h.jsx("div",{className:`${we} search-filter`,children:f}),e&&h.jsx(rt,{onClick:re,type:At.Primary,className:`${A&&!f?"no-title":""}`,txt:a||S.t(`${t}.new`)})]})},pe=we=>{if(oe(we)||z)return G;const He=we.toLowerCase();return G.filter(ht=>M.some(ut=>{const Ze=c6(ut,ht);return oe(Ze)||typeof Ze!="string"||Ze.toLowerCase===void 0?!1:Ze.toLowerCase().indexOf(He)>-1}))},Ne=we=>{const He=F===we?!I:!1;P(we),V(He),ke(L,we,He,k)},ke=(we,He,ht,ut)=>{if(z&&z(we,He,ht,ut-1),x){const Ze=pe(L);x(Ze)}},Pe=(we,He)=>He.mapper?He.mapper(we):we[He.key],en=(we,He)=>{typeof p=="function"&&p(we,He)},ct=(we,He)=>{const ht=oe(O)?"":O(we);return h.jsx("tr",{className:`${typeof p=="function"?"clickable":""} ${w?"hoverable":""} ${ht}`,children:i.map((ut,Ze)=>h.jsx("td",{onClick:et=>ut.key!=="check"&&!ut.hasLink?en(et,we):void 0,"data-label":typeof ut=="string"?ut.header:"",className:`${ut.key} ${ut.nonSortable?"":"sortable"} ${ut.className?ut.className:""}`,children:Pe(we,ut)},`td_${ut.key}_${Ze}`))},`tr_${we.id}_${He}`)},gt=we=>{const He=!oe(we);z&&(oe(L)||L.trim().length<3);const ht=we.length,ut=Math.min(k,Math.ceil(we.length/ql));return we=we.slice((ut-1)*ql,ut*ql),h.jsxs("section",{className:"entities-list",children:[u&&(j||He)&&h.jsx("div",{className:`actions-header ${T}`,children:u}),He&&h.jsx("div",{className:"sds--table",children:h.jsxs("table",{className:y||t,children:[h.jsx("thead",{children:h.jsx("tr",{children:i.map((Ze,et)=>{const gn=!u||et<1||Ze.showHeader;return h.jsxs("th",{className:`${Ze.key} ${Ze.class||""} ${Ze.nonSortable?"":"sortable"} ${gn?"":"hide"}`,onClick:()=>!Ze.nonSortable&&Ne(Ze.key),children:[Ze.header,Ze.toolTip&&h.jsx(oa,{tip:Ze.toolTip}),le(Ze,F,I)]},`th_${Ze.key}_${et}`)})})}),h.jsx("tbody",{children:we.map((Ze,et)=>ct(Ze,et))})]})}),h.jsx(b6,{currentPage:k,onChange:Ze=>{J(Ze),ke(L,F,I,Ze),B6(Ze)},total:N||ht,pageCount:ql})]})};if(o)return h.jsx(Pn,{});const vt=pe(L),Qe=z?vt:$P(vt,F,I);return h.jsxs("div",{className:`mod-entities ${b}`,children:[!A&&h.jsx("h3",{children:d||`${S.t(`${t}.title`)} (${(N||G.length).toLocaleString()})`}),D&&he(),gt(Qe),h.jsx("div",{children:s})]})},hr=(t,e=!0,a=!0)=>{if(oe(t))return"-";const i={month:a?"long":"short",day:"numeric",year:"numeric"};return new Intl.DateTimeFormat(`${S.locale}-${S.locale.toUpperCase()}`,i).format(new Date(e?t*1e3:t))},rH=({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"})),f5=g.forwardRef(rH);function iH({name:t,value:e,onChange:a,label:i,info:s,last:o=!1}){return h.jsxs("div",{className:`switch-field ${o?"last":""}`,children:[h.jsxs("div",{className:"inner-switch",children:[h.jsx("span",{className:"switch-label",children:i}),h.jsx("span",{className:"switch-info",children:s})]}),h.jsx(j1,{name:t,value:e,onChange:a})]})}const $t={technical:"technical",informationProfile:"informationProfile",testIdP:"testIdP",overview:"overview"},Ls={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"},I1={resetSecretDisclaimer:"resetSecretDisclaimer",resetSecret:"resetSecret"},aE=({application:t,connection:e,setConnection:a,initConnection:i,refresh:s,protocolOptions:o,arpInfo:u,setTab:d,profileOptions:f,identityProviders:p,isProduction:y,setDirty:b})=>{const{setFlash:A,config:w}=qe(ee=>ee),[T,N]=g.useState(!1),[j,D]=g.useState(!1),[x,z]=g.useState($t.technical),[G,M]=g.useState([]),[H,Z]=g.useState({0:!1}),[E,O]=g.useState({0:!1}),[R,B]=g.useState(!1),[L,U]=g.useState(Ls.url),[F,P]=g.useState(null),[I,V]=g.useState(null),[k,J]=g.useState(null),[q,Y]=g.useState(!1),[re,le]=g.useState(!0),[ge,he]=g.useState(!1),[pe,Ne]=g.useState(!1),[ke,Pe]=g.useState({}),[en,ct]=g.useState(!1),gt=g.useMemo(()=>t.connections.filter(ee=>y?ee.environment===Aa.PROD:ee.environment===Aa.TEST),[t,y]),vt=g.useRef([]),Qe=g.useRef([]),we=ee=>{const ce=G.includes(ee);switch(ee){case $t.technical:return!e.id;case $t.informationProfile:return!e.id||!ce||!et();case $t.testIdP:return!e.id||!ce||!gn()}},He=ee=>!(x===$t.technical?Ze():x===$t.informationProfile?et():gn())&&!(ee===x),ht=ee=>{Ne(!0),zb(ee).then(ce=>{const ve=_1(ce,o,f,u),Oe=ve.name;ve.name=Oe+" COPY",ve.allowedEntities=ve.allowedEntities.filter(at=>p.some(Nt=>Nt.data.entityid===at)),ve.id=e.id,["manageEid","manageIdentifier","manageVersion"].forEach(at=>ve[at]=e[at]),ve.environment=y?Aa.PROD:Aa.TEST,ve.status=ja.OPEN,ve.protocol===rs.OIDC10_RP&&(ve.entityID="",ve.secret=null),a(ve),Ne(!1),A(S.t("connection.flash.copied",{name:Oe}))})},ut=()=>{const ee=t.connections.filter(ce=>ce.name===e.name).length;return e.id?ee>1:ee===1},Ze=()=>{const ee=e.protocol.value===rs.OIDC10_RP;return!(q||oe(e.name)||oe(e.entityID)&&!ee||ut()||Object.values(H).some(ce=>ce)||Object.values(E).some(ce=>ce)||ee&&(oe(e.grantTypes)||oe(e.redirectUrls.filter(ce=>!oe(ce.trim()))))||!ee&&oe(e.acsLocations.filter(ce=>!oe(ce.trim()))))},et=()=>!(u.profiles.find(ce=>ce.name===e.profile.value).requiresMotivation&&oe(e.profileMotivation)||Object.values(e.motivations).some(ce=>oe(ce))),gn=()=>!oe(e.allowedEntities),We=ee=>{z(ee)},Ae=()=>{const ee=document.createElement("a");ee.href=S.t("connection.mailToSurf"),ee.style.display="none",document.body.appendChild(ee),ee.click(),document.body.removeChild(ee)},Ve=()=>{J(null),B(!1),P(null),V(null),U(Ls.url)},_e=(ee,ce)=>{let ve=e.grantTypes;ce?ve.push(ee):ve=ve.filter(Oe=>Oe!==ee),a({...e,grantTypes:ve})},Xe=()=>{const ee=document.createElement("a");ee.href="https://www.ssllabs.com/ssltest/",ee.target="_blank",ee.style.display="none",document.body.appendChild(ee),ee.click(),document.body.removeChild(ee)},st=ee=>{xa(ee),a({...e,redirectUrls:[...e.redirectUrls,""]}),ua()},tn=ee=>{const ce=[...e.redirectUrls];ce.splice(ee,1),a({...e,redirectUrls:ce})},Pt=(ee,ce)=>{const ve=[...e.redirectUrls];ve[ce]=ee.target.value,a({...e,redirectUrls:ve}),Z({...H,[ce.toString()]:!1})},$n=(ee,ce)=>{const ve=ee.target.value,Oe=Ps(ve.trim());return Z({...H,[ce.toString()]:!Oe}),!0},ua=()=>{setTimeout(()=>Qe.current[e.acsLocations.length]?.focus(),675)},ea=ee=>{xa(ee),a({...e,acsLocations:[...e.acsLocations,""]}),Ht()},xn=ee=>{const ce=[...e.acsLocations];ce.splice(ee,1),a({...e,acsLocations:ce})},Ht=()=>{setTimeout(()=>Qe.current[e.acsLocations.length]?.focus(),675)},lt=(ee,ce)=>{const ve=[...e.acsLocations];ve[ce]=ee.target.value,a({...e,acsLocations:ve}),O({...E,[ce.toString()]:!1})},Cn=(ee,ce)=>{const ve=ee.target.value,Oe=Ps(ve.trim());return O({...E,[ce.toString()]:!Oe}),!0},Tn=()=>{(L===Ls.url?Sj(I):bj(F)).then(ce=>{B(!1);const ve={...e,...ce[0]};a(ve),Ve(),A(S.t("connection.metadata.parsed"))}).catch(()=>{A(S.t("connection.metadata.errorParsed"),"error")})},Oa=ee=>{const ce=ee.target.files;if(!oe(ce)){const ve=ce[0],Oe=new FileReader;Oe.onload=()=>{const at=Oe.result.toString();P(at),J(ve.name)},Oe.readAsText(ve)}},ta=ee=>{ee.value===rs.OIDC10_RP?a({...e,protocol:ee,grantTypes:["authorization_code"],pkce:!1,entityID:"",redirectUrls:[""],acsLocations:null}):a({...e,protocol:ee,grantTypes:null,pkce:!1,entityID:"",redirectUrls:null,acsLocations:[""]})},Bn=ee=>{ee?Pe({open:!0,cancel:()=>Pe({open:!1}),header:S.t("forms.delete"),question:S.t("connection.deleteConfirmation"),action:()=>Bn(!1),modal:null,okButton:S.t("forms.delete")}):(Ne(!0),Oj(e.id).then(()=>{s(),Pe({open:!1}),Ne(!1),A(S.t("connection.flash.deleted",{name:e.name}))}))},Nn=(ee,ce)=>{xa(ee),ce?Pe({open:!0,question:null,header:S.t("connection.connectionOverview.secretResetTitle"),cancel:()=>Pe({open:!1}),action:()=>Nn(null,!1),modal:I1.resetSecretDisclaimer,okButton:S.t("connection.connectionOverview.reset")}):(Ne(!0),Tj(e.id).then(ve=>{a({...e,secret:ve.secret}),Pe({open:!0,header:S.t("connection.connectionOverview.secretResetNew"),cancel:null,question:null,action:()=>Pe({open:!1}),modal:I1.resetSecret,okButton:S.t("connection.connectionOverview.resetContinue")}),Ne(!1)}))},wt=ee=>{Ej(e.environment,ee.target.value).then(ce=>{const ve=e.status===!1&&ce.length>1||e.status===ja.OPEN&&ce.length>0;Y(ve)})},na=ee=>{let ce=ee.target.value;(oe(ce)||isNaN(parseInt(ce,10)))&&(ce=3600,a({...e,refreshTokenValidity:ce}))},ya=ee=>{D(!1);let ce=ee.target.value;oe(ce)?ce=0:(ce=parseInt(ce,10),isNaN(ce)?ce=0:ce>3600*24&&(ce=3600*24,D(!0))),a({...e,refreshTokenValidity:ce})},tt=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.technical")}),h.jsx(on,{value:e.name||"",onChange:ee=>a({...e,name:ee.target.value}),name:S.t("connection.connectionName"),required:!0,placeholder:S.t("connection.connectionPlaceholder",{application:t.name,environment:e.environment.toUpperCase()})}),!re&&oe(e.name)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.connectionName")}),adjustMargin:!0}),ut()&&h.jsx(dn,{msg:S.t("connection.duplicatedName",{name:e.name}),adjustMargin:!0}),h.jsx(ka,{name:S.t("connection.protocol"),value:e.protocol,options:o,toolTip:oe(e.manageIdentifier)?null:S.t("connection.protocolTooltip"),disabled:!oe(e.manageIdentifier),onChange:ta}),e.protocol.value===rs.OIDC10_RP&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{children:[h.jsx("span",{className:"label",children:S.t("connection.grantTypes")}),h.jsxs("div",{className:"grant-types",children:[Object.keys(ks).map(ee=>h.jsxs(g.Fragment,{children:[h.jsxs("section",{className:"grant-type",children:[h.jsx("span",{children:S.t(`connection.${ee}`)}),h.jsx(j1,{name:ee,value:e.grantTypes.includes(ks[ee]),onChange:ce=>_e(ks[ee],ce)})]}),ee===ks.authorization_code&&e.grantTypes.includes(ks[ee])&&h.jsxs("section",{className:"grant-type pkce",children:[h.jsx("span",{className:"pkce-label",children:S.t("connection.pkce")}),h.jsx(oa,{tip:S.t("connection.pkceTooltip")}),h.jsx(Oc,{name:"pkce",value:e.pkce,trueLabel:S.t("connection.required"),falseLabel:S.t("connection.optional"),onChange:()=>a({...e,pkce:!e.pkce})})]},"pkce"),ee===ks.refresh_token&&e.grantTypes.includes(ks[ee])&&h.jsxs(h.Fragment,{children:[h.jsx("section",{className:"grant-type refresh-token-validity",children:h.jsx(on,{name:S.t("connection.refreshTokenValidity"),value:oe(e.refreshTokenValidity)?3600:e.refreshTokenValidity,isInteger:!0,maxLength:3600*24,customClassName:"refresh-token-validity",onBlur:na,onChange:ya})},"refresh_token_validity"),j&&h.jsx("em",{className:"warning",children:S.t("connection.refreshTokenMax",{max:3600*24})})]})]},ee)),!re&&oe(e.grantTypes)&&h.jsx(dn,{msg:S.t("forms.requiredOne",{name:S.t("connection.grantType")}),adjustMargin:!0})]})]}),h.jsxs("div",{className:"redirect-urls-container",children:[h.jsx("span",{className:"label",children:S.t("connection.redirectUrls")}),h.jsx("div",{className:"redirect-urls",children:e.redirectUrls.map((ee,ce)=>h.jsxs("div",{className:"redirect-url",children:[h.jsxs("div",{className:"redirect-url-inner",children:[h.jsx(on,{value:ee,onChange:ve=>Pt(ve,ce),onBlur:ve=>$n(ve,ce),onRef:ve=>vt.current[ce]=ve,placeholder:S.t("connection.redirectUrlsPlaceholder")}),h.jsx(rt,{type:At.Delete,onClick:()=>tn(ce)}),h.jsx(rt,{txt:S.t("connection.testSection"),onClick:()=>Xe()})]}),H[ce.toString()]&&h.jsx(dn,{msg:S.t("forms.invalidURL",{name:S.t("connection.redirectUrl")})})]},ce))}),h.jsx(oa,{tip:S.t("connection.sslGradeTooltip"),standalone:!0,children:h.jsx("a",{href:"/add",className:"add-link",onClick:ee=>st(ee),children:S.t("connection.addRedirectUrl")})})]}),!re&&oe(e.redirectUrls.filter(ee=>!oe(ee.trim())))&&h.jsx(dn,{msg:S.t("forms.requiredOne",{name:S.t("connection.redirectUrl")}),adjustMargin:!0}),h.jsx(iH,{name:"claimsInIdToken",value:e.claimsInIdToken||!1,onChange:ee=>a({...e,claimsInIdToken:ee}),label:S.t("connection.claimsInIdToken"),info:S.t("connection.claimsInIdTokenTooltip")}),e.status!==ja.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(on,{name:S.t("connection.connectionOverview.discovery"),value:w.discovery,disabled:!0,copyClipBoard:!0}),h.jsx(on,{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:ee=>Nn(ee,!0),children:S.t("connection.connectionOverview.secretResetLink")})]})]})]})]}),e.protocol.value===rs.SAML20_SP&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"import-metadata",children:[h.jsx("h2",{children:S.t("connection.configuration")}),!R&&h.jsx(rt,{txt:S.t("connection.import"),type:At.Secondary,onClick:()=>B(!0)})]}),R&&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(Sw,{onClick:()=>B(!1)})]}),h.jsx(Oc,{name:"how",value:L,onChange:ee=>U(ee.target.id.replace("how_","")),isMultiple:!0,labels:Object.values(Ls),labelResolver:ee=>S.t(`connection.metadata.${ee}`),orientation:_c.column}),L===Ls.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(on,{value:I,onChange:ee=>V(ee.target.value)}),h.jsx(rt,{txt:S.t("connection.metadata.import"),onClick:()=>Tn(),type:X1.test(I)?At.Primary:At.Secondary,disabled:!X1.test(I)})]})]}),L===Ls.file&&h.jsxs("div",{className:"meta-data-file",children:[k&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"file-name-section",children:[h.jsx("span",{children:k}),h.jsx(rt,{type:At.Delete,onClick:()=>J(null)})]}),h.jsx(rt,{txt:S.t("connection.metadata.import"),onClick:()=>Tn(),type:At.Primary,disabled:!1})]}),!k&&h.jsx(Dz,{name:"meta-date-file",acceptFileFormat:".xml",txt:S.t("connection.metadata.chooseFile"),onFileUpload:Oa})]}),L===Ls.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(on,{value:F,multiline:!0,onChange:ee=>P(ee.target.value)}),h.jsx(rt,{txt:S.t("connection.metadata.import"),onClick:()=>Tn(),type:oe(F)?At.Secondary:At.Primary,disabled:oe(F)})]})]})]}),h.jsx(on,{value:e.entityID||"",onChange:ee=>{a({...e,entityID:ee.target.value}),Y(!1)},name:S.t("connection.entityID"),required:!0,onBlur:ee=>wt(ee),placeholder:S.t("connection.entityIDPlaceHolder")}),!re&&oe(e.entityID)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.entityID")}),adjustMargin:!0}),q&&h.jsx(dn,{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((ee,ce)=>h.jsxs("div",{className:"acs-location",children:[h.jsxs("div",{className:"acs-location-inner",children:[h.jsx(on,{value:ee,onChange:ve=>lt(ve,ce),onBlur:ve=>Cn(ve,ce),onRef:ve=>Qe.current[ce]=ve}),h.jsx(rt,{type:At.Delete,onClick:()=>xn(ce)})]},ce),E[ce.toString()]&&h.jsx(dn,{msg:S.t("forms.invalidURL",{name:S.t("connection.acsLocation")})})]},ce))}),h.jsx(oa,{tip:S.t("connection.sslGradeTooltip"),standalone:!0,children:h.jsx("a",{href:"/add",className:"add-link",onClick:ee=>ea(ee),children:S.t("connection.addACSLocation")})})]}),!re&&oe(e.acsLocations.filter(ee=>!oe(ee.trim())))&&h.jsx(dn,{msg:S.t("forms.requiredOne",{name:S.t("connection.acsLocation")}),adjustMargin:!0})]})]}),Jt=(ee,ce)=>{const ve=ce.target.checked,Oe=e.allowedEntities||[];a(ve?{...e,allowedEntities:[...Oe,ee.entityid]}:{...e,allowedEntities:[...Oe.filter(at=>at!==ee.entityid)]})},je=ee=>{const ce=S.translations[S.locale].connection.testIdPs.identityProviders,ve=e.allowedEntities||[],Oe=ce.map(at=>at.entityid).filter(at=>ve.includes(at));a({...e,allowedEntities:ee.map(at=>at.value).concat(Oe)})},nt=()=>{const ee=S.translations[S.locale].connection.testIdPs.identityProviders,ce=e.allowedEntities||[],ve=ee.map(Oe=>Oe.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:ee.map((Oe,at)=>h.jsxs("div",{className:"idp",children:[h.jsx(IE,{name:Oe.name,value:ce.includes(Oe.entityid),onChange:Nt=>Jt(Oe,Nt)}),h.jsxs("div",{className:"idp-info",children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:Oe.name}}),h.jsx("p",{dangerouslySetInnerHTML:{__html:Oe.description}})]})]},at))}),h.jsx("h3",{children:S.t("connection.testIdPs.institutionIdPs")}),h.jsx("p",{dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("connection.testIdPs.institutionIdPsInfo"))}}),h.jsx(ka,{options:FU(p.filter(Oe=>!ce.includes(Oe.data.entityid)),S.locale),value:ce.filter(Oe=>!ve.includes(Oe)).map(Oe=>BU(p,Oe,S.locale)),isMulti:!0,searchable:!0,placeholder:S.t("connection.testIdPs.placeholder"),onChange:Oe=>je(Oe)}),!re&&oe(e.allowedEntities)&&h.jsx(dn,{msg:S.t("forms.requiredOne",{name:S.t("connection.testIdPs.institution")})})]})},yt=()=>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:ga.sanitize(S.t("connection.visibilities.disclaimer"))}}),h.jsxs("div",{className:"visibility-options",children:[h.jsx("p",{className:"question",children:S.t("connection.visibilities.who")}),h.jsx(Oc,{name:"visibility",value:e.visibility,onChange:ee=>a({...e,visibility:ee.target.id.replace("visibility_","")}),isMultiple:!0,labels:[Hp.visible_to_all,Hp.visible_to_none],labelResolver:ee=>S.t(`connection.visibilities.${ee}`),orientation:_c.column})]}),h.jsxs("div",{className:"visibility-options",children:[h.jsx("p",{className:"question",children:S.t("connection.visibilities.connect")}),h.jsx(Oc,{name:"connectOption",value:e.connectOption,onChange:ee=>a({...e,connectOption:ee.target.id.replace("connectOption_","")}),isMultiple:!0,labels:[Bp.connect_with_interaction,Bp.connect_without_interaction_with_email],labelResolver:ee=>S.t(`connection.visibilities.${ee}`),orientation:_c.column})]})]}),sn=()=>h.jsxs("section",{className:"inner-right-overview",children:[h.jsx("h3",{children:S.t("connection.connectionOverviewSAML.title")}),h.jsx("p",{className:"test",dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("connection.connectionOverviewSAML.link",{ADD_ATTR:["target"]}))}})]}),ye=()=>h.jsxs("section",{className:"inner-right-overview",children:[h.jsx("h3",{children:S.t("connection.connectionOverview.copy")}),h.jsx(Rr,{alertType:Xn.Warning,asChild:!0,message:S.t("connection.connectionOverview.disclaimer")}),h.jsx("p",{className:"test",dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("connection.connectionOverview.test",{ADD_ATTR:["target"]}))}}),h.jsx(on,{name:S.t("connection.connectionOverview.discovery"),value:w.discovery,disabled:!0,copyClipBoard:!0}),h.jsx(on,{name:S.t("connection.connectionOverview.clientID"),value:e.entityID,disabled:!0,copyClipBoard:!0}),h.jsx(on,{name:S.t("connection.connectionOverview.secret"),value:e.secret,disabled:!0,copyClipBoard:!0})]}),xe=ee=>{a({...e,motivations:[],additionalAttributes:[]}),he(ee)},Ie=(ee,ce)=>{const ve=e.additionalAttributes||[];a(ce?{...e,additionalAttributes:[...ve,ee]}:{...e,additionalAttributes:[...ve.filter(Oe=>Oe!==ee)]})},Ct=(ee,ce)=>{const Oe={...e.motivations};Oe[ce]=ee.target.value,a({...e,motivations:Oe})},ln=ee=>{a({...e,profile:ee,profileMotivation:""})},Dn=()=>{const ee=e.profile?.value||u.profiles[0].name,ce=S.translations[S.locale].connection.informational.profiles[ee].info,ve=u.profiles.find(at=>at.name===ee),Oe=t.type==="CONTENT";return h.jsxs("section",{className:"inner-right-informational",children:[h.jsx("h3",{children:S.t("connection.informationProfile")}),Oe&&h.jsx(Rr,{alertType:Xn.Warning,asChild:!0,message:S.t("connection.informational.contentAppAlert")}),!Oe&&h.jsx("p",{className:"disclaimer",dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("connection.informational.disclaimer"))}}),h.jsx(ka,{name:S.t("connection.informationProfile"),options:f,disabled:Oe,value:e.profile,onChange:ln}),!oe(ce)&&h.jsx("p",{className:"profile-info",children:ce}),h.jsx("p",{className:"attributes",dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("connection.informational.attributes"))}}),h.jsx("div",{className:"attributes",children:ve.attributes.map((at,Nt)=>h.jsxs(g.Fragment,{children:[h.jsx("span",{children:at}),h.jsx("span",{children:u.attributes.find(Wn=>Wn.name===at).example})]},Nt))}),ve.requiresMotivation&&h.jsxs("div",{className:"profile=motivation",children:[h.jsx(on,{value:e.profileMotivation,name:S.t("connection.informational.profileMotivation"),placeholder:S.t("connection.informational.profileMotivationPlaceholder"),onChange:at=>a({...e,profileMotivation:at.target.value}),multiline:!0}),!re&&oe(e.profileMotivation)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.informational.motivation")})}),h.jsx("p",{className:"profile-info",children:S.t("connection.informational.profileMotivationDisclaimer")})]}),!oe(ve.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(j1,{name:"additionalAttributes",value:ge||!oe(e.additionalAttributes),onChange:xe})]}),(ge||!oe(e.additionalAttributes))&&h.jsxs(h.Fragment,{children:[h.jsx("p",{className:"available-attributes",children:S.t("connection.informational.availableAttributes")}),ve.optionalAttributes.map((at,Nt)=>{const Wn=e.additionalAttributes.includes(at);return h.jsxs("div",{className:`additional-attributes optional ${Wn?"":"dormant"}`,children:[h.jsxs("section",{className:"optional-attribute",children:[h.jsxs("div",{className:"additional-attribute-info",children:[h.jsx("span",{children:at}),h.jsx("span",{children:u.attributes.find(fa=>fa.name===at).info[S.locale]})]}),h.jsx(j1,{name:`extraAttribute_${Nt}`,value:Wn,onChange:fa=>Ie(at,fa)})]}),Wn&&h.jsx(on,{value:e.motivations[at],name:S.t("connection.informational.motivation"),placeholder:S.t("connection.informational.motivationPlaceholder"),onChange:fa=>Ct(fa,at),multiline:!0}),!re&&Wn&&oe(e.motivations[at])&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.informational.motivation")})})]},Nt)})]})]})]})},On=()=>{const ee=e.protocol.value===rs.OIDC10_RP;switch(x){case $t.technical:return tt();case $t.informationProfile:return Dn();case $t.testIdP:return y?yt():nt();case $t.overview:return ee?ye():sn()}},Vt=()=>{if(re)return!1;switch(x){case $t.technical:return!Ze();case $t.informationProfile:return!et();case $t.testIdP:return!gn()}},Ke=(ee=!1)=>{le(!1);const ce=e.protocol.value===rs.OIDC10_RP,ve=e.status===ja.OPEN;let Oe;if(ve?Oe=x===$t.technical?$t.informationProfile:x===$t.informationProfile?$t.testIdP:$t.overview:Oe=x,x===$t.technical&&Ze()||x===$t.informationProfile&&et()||x===$t.testIdP&&gn()){Ne(!0);const Nt=e.id?Cj:xj,Wn=sL(t,e,u);ee&&ve&&(ce&&(Wn.metaData.entityID=lL()),Wn.status=ja.COMPLETE),Nt(Wn).then(fa=>{M([...G,x]),Ne(!1),le(!0),b(!0),A(S.t(`connection.flash.${e.id?"updated":"created"}`,{name:e.name})),a(_1(fa,o,f,u)),We(Oe)}).catch(()=>{Ne(!1),A(S.t("forms.error"),"error")})}},ft=(ee,ce)=>{ee?Pe({open:!0,cancel:()=>Pe({open:!1}),action:()=>ft(!1,ce),modal:null,header:S.t("confirmationDialog.confirm"),question:S.t("connection.connections.requestProductionStatusConfirmation",{name:ce.name}),okButton:S.t("connection.connections.requestProductionStatus")}):(ct(!0),Rj(ce.id).then(ve=>{ct(!1),Pe({open:!0,cancel:null,modal:null,header:S.t("confirmationDialog.ok"),action:()=>{s(),Pe({open:!1})},question:S.t("connection.connections.requestProductionStatusPostInfo",{jiraKey:ve.jiraKey}),okButton:S.t("confirmationDialog.ok")})}))},xt=()=>{s(),z($t.technical)},ba=()=>{s(),d("overview")},Tt=()=>{const ee=x===$t.testIdP,ce=!Vt(),ve=e.status!==ja.OPEN,Oe=x===$t.overview,at=ve?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.${ve?"existing":"new"}Connection${y?"Prod":""}`)}),!oe(t.connections)&&!ve&&(t.connections.length>1||oe(e.id)&&t.connections.length===1)&&h.jsxs("div",{className:"copy-connection",tabIndex:1,onBlur:()=>setTimeout(()=>N(!1),475),children:[h.jsx(rt,{onClick:()=>N(!T),txt:S.t("connection.copyConnection"),icon:h.jsx(n5,{}),type:At.Secondary}),T&&h.jsx("section",{className:"copy-connection-section sds--user-info--dropdown",children:t.connections.filter(Nt=>Nt.id&&Nt.name!==e.name).map((Nt,Wn)=>h.jsx("span",{onClick:()=>ht(Nt.id),children:Nt.name},Wn))})]})]}),h.jsxs("div",{className:"testing",children:[h.jsxs("section",{className:"left",children:[h.jsx("div",{className:"status-menu",children:Object.values($t).filter(Nt=>Nt!==$t.overview).map(Nt=>h.jsx(Ew,{pending:we(Nt),hideIcon:e.status!==ja.OPEN,disabled:He(Nt),action:()=>We(Nt),info:S.t(`connection.${Nt!==$t.testIdP||!y?Nt:"visibility"}`),active:x===Nt},Nt))}),h.jsxs("div",{className:"call-for-action",children:[h.jsx("p",{children:S.t("connection.help")}),h.jsx(rt,{txt:S.t("connection.callSurf"),type:At.Secondary,onClick:()=>Ae()})]}),h.jsx("div",{className:"delete-connection",children:h.jsx(rt,{type:At.Delete,onClick:()=>Bn(!0)})})]}),h.jsxs("section",{className:"right",children:[On(),h.jsxs("div",{className:`actions ${Oe?"orphan":""}`,children:[!Oe&&h.jsxs(h.Fragment,{children:[h.jsx(rt,{txt:S.t(`forms.${ve?"backToConnections":"cancel"}`),type:At.Secondary,onClick:xt}),h.jsx(rt,{txt:at,disabled:!ce,onClick:()=>Ke(ee)})]}),Oe&&h.jsx(rt,{txt:S.t("forms.overview"),type:At.Secondary,icon:h.jsx(f5,{}),onClick:ba})]})]})]})]})},jt=ee=>{ee.status!==ja.OPEN?(Ne(!0),zb(ee.id).then(ce=>{const ve=_1(ce,o,f,u);a(ve),Ne(!1)})):a(ee)},Te=ee=>{const ce=[{key:"name",header:S.t("connection.connections.name"),mapper:ve=>ve.name},{key:"createdAt",header:S.t("connection.connections.created"),mapper:ve=>hr(ve.createdAt,!0,!1)},{key:"updatedAt",header:S.t("connection.connections.updatedAt"),mapper:ve=>hr(ve.updatedAt,!0,!1)},{key:"status",header:S.t("connection.connections.status"),mapper:ve=>{const Oe=ve.status===ja.PROD_READY?Xl.Support_400:Xl.Status_warning,at=S.translations[S.locale].connection.connections.tooltips[ve.status.toLowerCase()];return h.jsxs("div",{className:"status-chip",children:[h.jsx(gf,{type:Oe,label:S.t(`connection.connections.${ve.status.toLowerCase()}`)}),at&&h.jsx(oa,{tip:at})]})}},{key:"buttons",header:"",mapper:ve=>{if(!y)return null;if(t.signedContract&&ve.status===ja.COMPLETE)return h.jsx(rt,{txt:S.t("connection.connections.requestProductionStatus"),type:At.GhostDark,onClick:()=>ft(!0,ve),className:"sds--button-blue-mode"})}},{key:"protocol",header:S.t("connection.connections.protocol"),mapper:ve=>S.t(`connection.${ve.protocol.value.toLowerCase()}`)},{key:"details",header:"",nonSortable:!0,mapper:ve=>h.jsx(rt,{txt:S.t("connection.connections.details"),onClick:()=>jt(ve)})}];return h.jsx(vo,{entities:ee,modelName:"table-connections",defaultSort:"name",columns:ce,hideTitle:!0,showNew:!1,displaySearch:!1,searchAttributes:["name","protocol"],inputFocus:!0})},Q=()=>h.jsxs("div",{className:"connections",children:[h.jsxs("div",{className:"header",children:[h.jsx("h3",{children:S.t("connection.test.connections")}),h.jsx(rt,{txt:S.t("testing.newConnection"),type:At.Secondary,onClick:()=>i(y?Aa.PROD:Aa.TEST,!0)})]}),!oe(gt)&&Te(gt),oe(gt)&&h.jsx("p",{dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("testing.zeroState",{name:t.name,type:S.t(`testing.${y?"production":"test"}`)}))}})]});if(pe)return h.jsx(Pn,{});const me=(oe(gt)||e?.new||e?.id)&&!oe(e),{open:Se,cancel:De,action:mt,modal:Ot,okButton:Mt,question:vn,header:Rn}=ke;return h.jsxs("div",{className:"testing-container",children:[Se&&h.jsx(Ni,{confirm:mt,cancel:De,confirmationHeader:Rn,confirmationTxt:Mt,disabledConfirm:en,question:vn,children:Ot===I1.resetSecretDisclaimer?h.jsx(Rr,{alertType:Xn.Error,asChild:!0,message:S.t("connection.connectionOverview.secretResetDisclaimer")}):Ot===I1.resetSecret?h.jsxs("div",{children:[h.jsx(Rr,{alertType:Xn.Warning,asChild:!0,message:S.t("connection.connectionOverview.disclaimer")}),h.jsx(on,{name:S.t("connection.connectionOverview.secret"),value:e.secret,disabled:!0,copyClipBoard:!0})]}):null}),me?Tt():Q()]})};function rE(t,e){return oe(t)||t.startsWith("http")||t.startsWith("data:image")?t:`data:image/${e};base64,${t}`}var sH=Object.defineProperty,lH=(t,e,a)=>e in t?sH(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,fn=(t,e,a)=>lH(t,typeof e!="symbol"?e+"":e,a);const uf={x:0,y:0,width:0,height:0,unit:"px"},kl=(t,e,a)=>Math.min(Math.max(t,e),a),oH=(...t)=>t.filter(e=>e&&typeof e=="string").join(" "),iE=(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 cH(t,e,a,i){const s=Zr(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==="%"?ls(s,a,i):s}function uH(t,e,a){const i=Zr(t,e,a);return i.x=(e-i.width)/2,i.y=(a-i.height)/2,t.unit==="%"?ls(i,e,a):i}function ls(t,e,a){return t.unit==="%"?{...uf,...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 Zr(t,e,a){return t.unit?t.unit==="px"?{...uf,...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}:{...uf,...t,unit:"px"}}function sE(t,e,a,i,s,o=0,u=0,d=i,f=s){const p={...t};let y=Math.min(o,i),b=Math.min(u,s),A=Math.min(d,i),w=Math.min(f,s);e&&(e>1?(y=u?u*e:y,b=y/e,A=d*e):(b=o?o/e:b,y=b*e,w=f/e)),p.y<0&&(p.height=Math.max(p.height+p.y,b),p.y=0),p.x<0&&(p.width=Math.max(p.width+p.x,y),p.x=0);const T=i-(p.x+p.width);T<0&&(p.x=Math.min(p.x,i-y),p.width+=T);const N=s-(p.y+p.height);if(N<0&&(p.y=Math.min(p.y,s-b),p.height+=N),p.width<y&&((a==="sw"||a=="nw")&&(p.x-=y-p.width),p.width=y),p.height<b&&((a==="nw"||a=="ne")&&(p.y-=b-p.height),p.height=b),p.width>A&&((a==="sw"||a=="nw")&&(p.x-=A-p.width),p.width=A),p.height>w&&((a==="nw"||a=="ne")&&(p.y-=w-p.height),p.height=w),e){const j=p.width/p.height;if(j<e){const D=Math.max(p.width/e,b);(a==="nw"||a=="ne")&&(p.y-=D-p.height),p.height=D}else if(j>e){const D=Math.max(p.height*e,y);(a==="sw"||a=="nw")&&(p.x-=D-p.width),p.width=D}}return p}function fH(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 _l={capture:!0,passive:!1};let dH=0;const is=class Tr extends g.PureComponent{constructor(){super(...arguments),fn(this,"docMoveBound",!1),fn(this,"mouseDownOnCrop",!1),fn(this,"dragStarted",!1),fn(this,"evData",{startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0}),fn(this,"componentRef",g.createRef()),fn(this,"mediaRef",g.createRef()),fn(this,"resizeObserver"),fn(this,"initChangeCalled",!1),fn(this,"instanceId",`rc-${dH++}`),fn(this,"state",{cropIsActive:!1,newCropIsBeingDrawn:!1}),fn(this,"onCropPointerDown",e=>{const{crop:a,disabled:i}=this.props,s=this.getBox();if(!a)return;const o=Zr(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,p=e.clientY,y=o.x,b=o.y;if(u){const A=e.clientX-s.x,w=e.clientY-s.y;let T=0,N=0;u==="ne"||u=="e"?(T=A-(o.x+o.width),N=w-o.y,y=o.x,b=o.y+o.height):u==="se"||u==="s"?(T=A-(o.x+o.width),N=w-(o.y+o.height),y=o.x,b=o.y):u==="sw"||u=="w"?(T=A-o.x,N=w-(o.y+o.height),y=o.x+o.width,b=o.y):(u==="nw"||u=="n")&&(T=A-o.x,N=w-o.y,y=o.x+o.width,b=o.y+o.height),f=y+s.x+T,p=b+s.y+N}this.evData={startClientX:f,startClientY:p,startCropX:y,startCropY:b,clientX:e.clientX,clientY:e.clientY,isResize:d,ord:u},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})}),fn(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,p=e.clientY-d.y,y={unit:"px",x:f,y:p,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:f,startCropY:p,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,u(Zr(y,d.width,d.height),ls(y,d.width,d.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})}),fn(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(),iE(a,f)||s(Zr(f,u.width,u.height),ls(f,u.width,u.height))}),fn(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(),p=this.makePixelCrop(f),y=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?Tr.nudgeStepLarge:e.shiftKey?Tr.nudgeStepMedium:Tr.nudgeStep;if(u==="ArrowLeft"?(p.x-=y,d=!0):u==="ArrowRight"?(p.x+=y,d=!0):u==="ArrowUp"?(p.y-=y,d=!0):u==="ArrowDown"&&(p.y+=y,d=!0),d){e.cancelable&&e.preventDefault(),p.x=kl(p.x,0,f.width-p.width),p.y=kl(p.y,0,f.height-p.height);const b=Zr(p,f.width,f.height),A=ls(p,f.width,f.height);s(b,A),o&&o(b,A)}}),fn(this,"onHandlerKeyDown",(e,a)=>{const{aspect:i=0,crop:s,disabled:o,minWidth:u=0,minHeight:d=0,maxWidth:f,maxHeight:p,onChange:y,onComplete:b}=this.props,A=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 w=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?Tr.nudgeStepLarge:e.shiftKey?Tr.nudgeStepMedium:Tr.nudgeStep,T=Zr(s,A.width,A.height),N=fH(T,e.key,w,a),j=sE(N,i,a,A.width,A.height,u,d,f,p);if(!iE(s,j)){const D=ls(j,A.width,A.height);y(j,D),b&&b(j,D)}}),fn(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(Zr(a,u.width,u.height),ls(a,u.width,u.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))}),fn(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(Zr(a,s,o),ls(a,s,o))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,_l),this.document.addEventListener("pointerup",this.onDocPointerDone,_l),this.document.addEventListener("pointercancel",this.onDocPointerDone,_l),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,_l),this.document.removeEventListener("pointerup",this.onDocPointerDone,_l),this.document.removeEventListener("pointercancel",this.onDocPointerDone,_l),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=kl(e.startCropX+s,0,a.width-i.width),i.y=kl(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 p;return i&&a?p=a==="nw"||a==="w"||a==="sw":p=u<o.startCropX,p?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 p=this.getPointRegion(o,e.ord,u,d),y=e.ord||p;let b=e.clientX-e.startClientX,A=e.clientY-e.startClientY;(u&&y==="nw"||y==="w"||y==="sw")&&(b=Math.min(b,-u)),(d&&y==="nw"||y==="n"||y==="ne")&&(A=Math.min(A,-d));const w={unit:"px",x:0,y:0,width:0,height:0};p==="ne"?(w.x=e.startCropX,w.width=b,a?(w.height=w.width/a,w.y=e.startCropY-w.height):(w.height=Math.abs(A),w.y=e.startCropY-w.height)):p==="se"?(w.x=e.startCropX,w.y=e.startCropY,w.width=b,a?w.height=w.width/a:w.height=A):p==="sw"?(w.x=e.startCropX+b,w.y=e.startCropY,w.width=Math.abs(b),a?w.height=w.width/a:w.height=A):p==="nw"&&(w.x=e.startCropX+b,w.width=Math.abs(b),a?(w.height=w.width/a,w.y=e.startCropY-w.height):(w.height=Math.abs(A),w.y=e.startCropY+A));const T=sE(w,a,p,o.width,o.height,u,d,i,s);return a||Tr.xyOrds.indexOf(y)>-1?f=T:Tr.xOrds.indexOf(y)>-1?(f.x=T.x,f.width=T.width):Tr.yOrds.indexOf(y)>-1&&(f.y=T.y,f.height=T.height),f.x=kl(f.x,0,o.width-f.width),f.y=kl(f.y,0,o.height-f.height),f}renderCropSelection(){const{ariaLabels:e=Tr.defaultProps.ariaLabels,disabled:a,locked:i,renderSelectionAddon:s,ruleOfThirds:o,crop:u}=this.props,d=this.getCropStyle();if(u)return ne.createElement("div",{style:d,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":e.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!a&&!i&&ne.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},ne.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),ne.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),ne.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),ne.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),ne.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"}),ne.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"}),ne.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"}),ne.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"}),ne.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"}),ne.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"}),ne.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"}),ne.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&&ne.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:f=>f.stopPropagation()},s(this.state)),o&&ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),ne.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(e){const a={...uf,...this.props.crop||{}};return Zr(a,e.width,e.height)}render(){const{aspect:e,children:a,circularCrop:i,className:s,crop:o,disabled:u,locked:d,style:f,ruleOfThirds:p}=this.props,{cropIsActive:y,newCropIsBeingDrawn:b}=this.state,A=o?this.renderCropSelection():null,w=oH("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&&p&&"ReactCrop--rule-of-thirds",!this.dragStarted&&o&&!o.width&&!o.height&&"ReactCrop--invisible-crop",i&&"ReactCrop--no-animate");return ne.createElement("div",{ref:this.componentRef,className:w,style:f},ne.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},a),o?ne.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},ne.createElement("defs",null,ne.createElement("mask",{id:`hole-${this.instanceId}`},ne.createElement("rect",{width:"100%",height:"100%",fill:"white"}),i?ne.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"}):ne.createElement("rect",{x:`${o.x}${o.unit}`,y:`${o.y}${o.unit}`,width:`${o.width}${o.unit}`,height:`${o.height}${o.unit}`,fill:"black"}))),ne.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,A)}};fn(is,"xOrds",["e","w"]),fn(is,"yOrds",["n","s"]),fn(is,"xyOrds",["nw","ne","se","sw"]),fn(is,"nudgeStep",1),fn(is,"nudgeStepMedium",10),fn(is,"nudgeStepLarge",100),fn(is,"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 hH=is;var lE=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))},mH=(function(){function t(e,a,i){this.name=e,this.version=a,this.os=i,this.type="browser"}return t})(),pH=(function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t})(),gH=(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})(),vH=(function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t})(),yH=(function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t})(),bH=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,SH=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,oE=3,EH=[["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",bH]],cE=[["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 AH(t){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new yH:typeof navigator<"u"?xH(navigator.userAgent):TH()}function wH(t){return t!==""&&EH.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 xH(t){var e=wH(t);if(!e)return null;var a=e[0],i=e[1];if(a==="searchbot")return new vH;var s=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);s?s.length<oE&&(s=lE(lE([],s,!0),OH(oE-s.length),!0)):s=[];var o=s.join("."),u=CH(t),d=SH.exec(t);return d&&d[1]?new gH(a,o,u,d[1]):new mH(a,o,u)}function CH(t){for(var e=0,a=cE.length;e<a;e++){var i=cE[e],s=i[0],o=i[1],u=o.exec(t);if(u)return s}return null}function TH(){var t=typeof process<"u"&&process.version;return t?new pH(process.version.slice(1)):null}function OH(t){for(var e=[],a=0;a<t;a++)e.push("0");return e}const RH=AH(),IH=({imageSource:t,onChange:e})=>{const a=g.useRef(null),i=g.useRef(null),[s,o]=g.useState(null),[u,d]=g.useState(t),[f,p]=g.useState(t),[y,b]=g.useState(null),[A,w]=g.useState(null),[T,N]=g.useState(null),[j,D]=g.useState(!1),[x,z]=g.useState(!1),[G,M]=g.useState(!1),H=L=>{const U=L.target.files;if(U&&U[0])if(U[0].size>2*1024*1e3)o(S.t("connection.logo.imageToLarge"));else{o(null);const P=new FileReader;P.onloadend=()=>{let I=P.result;const V=I.indexOf("svg+xml")>-1;V&&(I=ga.sanitize(I));const k=I.split(",")[1];p(u),d(k),b(V),D(!0)},P.readAsDataURL(U[0])}},Z=()=>{if(!x&&RH.name==="safari"&&(z(!0),setTimeout(()=>Z(),750)),a.current&&A.width&&A.height){M(!0);const L=a.current,U=L.naturalWidth/L.width,F=L.naturalHeight/L.height,P=A.width*U,I=A.height*F,V=Math.max(P,I),k=new OffscreenCanvas(V,V),J=k.getContext("2d");J.fillStyle="#fff",J.fillRect(0,0,V,V),J.drawImage(L,A.x*U,A.y*F,P,I,(V-P)/2,(V-I)/2,P,I);const q={type:"image/jpeg",quality:1};k.convertToBlob(q).then(Y=>{if(!Y)return;const re=new FileReader;re.onloadend=()=>{const ge=re.result.split(",")[1];d(ge),e(ge),M(!1),D(!1),N(null),w(null)},re.readAsDataURL(Y)})}},E=()=>{i.current.value=null,i.current.click()},O=()=>{D(!1),d(f),N(null),w(null)},R=(L,U,F)=>uH(cH({unit:"%",width:100},F,L,U),L,U),B=L=>{const U=L.target;a.current=U;const{width:F,height:P}=U,I=R(F,P,1);N(I)};return h.jsxs("div",{className:"image-field-container",children:[j&&h.jsx(Ni,{confirm:()=>Z(),confirmationTxt:S.t("connection.logo.confirm"),cancel:()=>O(),disabledConfirm:G,confirmationHeader:S.t("connection.logo.header"),children:h.jsx(hH,{crop:T,onChange:(L,U)=>N(U),onComplete:L=>w(L),aspect:1,minHeight:100,children:h.jsx("img",{src:rE(u,y?"svg+xml":"jpeg"),onLoad:B,ref:a,alt:"Crop me"})})}),h.jsxs("div",{className:"image-field",children:[u&&h.jsx("img",{alt:"Crop me",src:rE(u,"jpeg")}),!u&&h.jsx(Z6,{})]}),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:H}),h.jsx(rt,{txt:S.t(`connection.logo.${oe(t)?"add":"edit"}`),onClick:E}),h.jsx("ul",{children:S.translations[S.locale].connection.logo.disclaimers.map((L,U)=>h.jsx("li",{children:L},U))}),s&&h.jsx(dn,{standalone:!0,msg:s})]})]})},_t={logo:"logo",contact:"contact",privacy:"privacy",overview:"overview"},MH=({application:t,setApplication:e,refresh:a,privacyInfo:i,changeTab:s,protocolOptions:o,profileOptions:u,arpInfo:d})=>{const{setFlash:f}=qe(k=>k),[p,y]=g.useState(_t.logo),[b,A]=g.useState(!0),[w,T]=g.useState(!1);g.useEffect(()=>{oe(t.privacy.dpa_type)&&(t.privacy.dpa_type="dpa_supplied_by_service",e({...t}))},[]);const N=k=>{switch(k){case _t.logo:return!Pl(t);case _t.contact:return!Hl(t);case _t.privacy:return!Bl(i,t)}},j=k=>!(p===_t.logo?Pl(t):p===_t.contact?Hl(t):Bl(i,t))&&!(k===p),D=()=>{if(b)return!1;switch(p){case _t.logo:return!Pl(t);case _t.contact:return!Hl(t);case _t.privacy:return!Bl(i,t);case _t.overview:return!0}},x=()=>{A(!1);const k=p===_t.logo?_t.contact:p===_t.contact?_t.privacy:(p===_t.privacy,_t.overview);if(p===_t.logo&&Pl(t)||p===_t.contact&&Hl(t)||p===_t.privacy&&Bl(i,t)){T(!0);let q=!1;p===_t.privacy&&t.status===zl.OPEN&&(t.status=zl.COMPLETE,q=!0);const Y=MA(t);V6(Y).then(re=>{A(!0),T(!1),f(S.t("application.flash",{name:re.name})),e(eo(re,o,u,d)),(re.status===zl.OPEN||q)&&O(k)}).catch(re=>{T(!1),f(S.t("forms.error"),"error")})}},z=()=>{a(),s("overview"),y(_t.logo)},G=(k,J,q)=>{const Y={...t,[k]:{...t[k],[J]:q}};e(Y)},M=k=>{const J={...t,logoUrl:k};e(J)},H=k=>({value:k,label:S.t(`connection.appInfo.tagsAvailable.${k}`)}),Z=()=>Object.keys(S.translations[S.locale].connection.appInfo.tagsAvailable).map(H),E=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.appInfo.label")}),h.jsx(IH,{imageSource:t.logoUrl||"",onChange:k=>M(k)}),!b&&oe(t.logoUrl)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.logoUrl")})}),h.jsx(on,{value:t.information.descriptionEN||"",onChange:k=>G("information","descriptionEN",k.target.value),name:S.t("connection.appInfo.descriptionEn"),required:!0,multiline:!0}),!b&&oe(t.information.descriptionNL)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.descriptionEn")})}),h.jsx(on,{value:t.information.descriptionNL||"",onChange:k=>G("information","descriptionNL",k.target.value),name:S.t("connection.appInfo.descriptionNl"),required:!0,multiline:!0}),!b&&oe(t.information.descriptionNL)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.descriptionNl")})}),h.jsx(on,{value:t.information.webSite||"",onChange:k=>G("information","webSite",k.target.value),name:S.t("connection.appInfo.webSite"),required:!0}),!b&&oe(t.information.webSite)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.webSite")})}),!b&&!Ps(t.information.webSite)&&h.jsx(dn,{msg:S.t("forms.invalidURL",{name:S.t("connection.appInfo.webSite")})}),h.jsx(ka,{name:S.t("connection.appInfo.tags"),options:Z().filter(k=>!(t.information.tags||[]).includes(k)),value:(t.information.tags||[]).map(k=>H(k)),isMulti:!0,searchable:!0,placeholder:S.t("connection.appInfo.tagPlaceholder"),onChange:k=>k.length<=3&&G("information","tags",k.map(J=>J.value)),info:S.t("connection.appInfo.tagInfo")})]}),O=k=>{y(k)},R=(k,J,q)=>{let Y=t.contactPersons.find(le=>le.type===k);oe(Y)&&(Y={type:k,email:"",name:""},t.contactPersons.push(Y)),Y[J]=q;const re={...t,contactPersons:[...t.contactPersons]};e(re)},B=()=>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 J=t.contactPersons.find(q=>q.type===k)||{email:"",name:""};return h.jsxs("section",{className:"contact-person",children:[h.jsx(on,{value:J.name,name:S.t(`connection.contacts.${k}`),placeholder:S.t("connection.contacts.name"),onChange:q=>R(k,"name",q.target.value),toolTip:S.t(`connection.contacts.${k}Tooltip`)}),!b&&oe(J.name)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.contacts.name")})}),h.jsx(on,{value:J.email,name:S.t("connection.contacts.emailOrWebsite"),placeholder:S.t(`connection.contacts.${k}Placeholder`,{name:t.name.toLowerCase()}),onChange:q=>R(k,"email",q.target.value)}),!b&&oe(J.email)&&h.jsx(dn,{msg:S.t("forms.required",{name:S.t("connection.contacts.emailOrWebsite")})}),!b&&!(Ps(J.email)||iL(J.email))&&h.jsx(dn,{msg:S.t("forms.invalidEmailURL",{name:J.email})})]},k)})]}),L=(k,J)=>{t.privacy[k]=J,e({...t})},U=k=>({value:k.name,label:k[`info_${S.locale}`]}),F=()=>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,J)=>h.jsxs("section",{children:[oe(k.enum)&&h.jsx(on,{value:t.privacy[k.name]||"",name:k[`info_${S.locale}`],onChange:q=>L(k.name,q.target.value),toolTip:oe(k.tooltip_en)?null:k[`tooltip_${S.locale}`]}),!oe(k.enum)&&h.jsx(ka,{name:k[`info_${S.locale}`],options:k.enum.filter(q=>q!==t.privacy[k.name]).map(q=>U(q)),value:U(k.enum.find(q=>t.privacy[k.name]===q.name||q.name===k.default)),onChange:q=>L(k.name,q.value),toolTip:oe(k.tooltip_en)?null:k[`tooltip_${S.locale}`]}),k.required&&!b&&oe(t.privacy[k.name])&&h.jsx(dn,{msg:S.t("connection.privacy.answerIsRequired")}),k.format&&!b&&!oe(t.privacy[k.name])&&!Ps(t.privacy[k.name])&&h.jsx(dn,{msg:S.t("forms.invalidURL",{name:k[`info_${S.locale}`]})})]},J))]}),P=()=>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:[oe(t.logoUrl)?h.jsx(Z6,{}):h.jsx("img",{src:t.logoUrl,alt:t.name}),h.jsxs("div",{className:"application-info",children:[h.jsx("h3",{children:t.name}),h.jsx(y6,{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})]})]})]}),I=()=>{switch(p){case _t.logo:return E();case _t.contact:return B();case _t.privacy:return F();case _t.overview:return P()}};if(w)return h.jsx(Pn,{});const V=t.status!==zl.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(_t).filter(k=>k!==_t.overview).map(k=>h.jsx(Ew,{pending:N(k),disabled:j(k),hideIcon:t.status===zl.COMPLETE,action:()=>O(k),info:S.t(`connection.appInfo.sections.${k}`),active:p===k},k))})}),h.jsxs("section",{className:"right",children:[I(),h.jsxs("div",{className:`actions ${p===_t.overview?"orphan":""}`,children:[p!==_t.overview&&h.jsxs(h.Fragment,{children:[h.jsx(rt,{txt:S.t("forms.backToOverview"),type:At.Secondary,onClick:z}),h.jsx(rt,{txt:V,disabled:D(),onClick:()=>x()})]}),p===_t.overview&&h.jsx(rt,{txt:S.t("forms.overview"),type:At.Secondary,icon:h.jsx(f5,{}),onClick:()=>z()})]})]})]})]})},NH=({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"})),DH=g.forwardRef(NH),jH=({application:t,setApplication:e,changeTab:a,refresh:i,protocolOptions:s,profileOptions:o,privacyInfo:u,arpInfo:d})=>{const{setFlash:f}=qe(T=>T),[p,y]=g.useState(!1),b=()=>{y(!0);const T=MA(t);T.signedContract=!0,V6(T).then(N=>{y(!1),f(S.t("application.flash",{name:N.name})),e(eo(N,s,o,d))}).catch(()=>{y(!1),f(S.t("forms.error"),"error")})},A=()=>{i(),a("overview")};if(p)return h.jsx(Pn,{});const w=Pl(t)&&Hl(t)&&Bl(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")}),!w&&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(DH,{})})]}),h.jsxs("div",{className:"actions orphan",children:[!t.signedContract&&h.jsx(h.Fragment,{children:h.jsx(rt,{txt:S.t("connection.contractSection.sign"),disabled:!w,onClick:()=>b()})}),t.signedContract&&h.jsx(h.Fragment,{children:h.jsx(rt,{txt:S.t("forms.backToOverview"),type:At.Secondary,onClick:()=>A()})})]})]})})},Uf=({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(gf,{type:Xl.Status_info,label:S.t("users.you")})]}),Kt={ADMIN:"ADMIN",MEMBER:"MEMBER",GUEST:"GUEST"},d5=[Kt.GUEST,Kt.MEMBER,Kt.ADMIN],h5=(t,e)=>{const a=!oe(e);return t.superUser||a&&e.authority===Kt.ADMIN?Kt.ADMIN:a&&e.authority===Kt.MEMBER?Kt.MEMBER:Kt.GUEST},LH=({application:t,refresh:e,refreshApp:a})=>{const{user:i,setFlash:s}=qe(U=>U),o=qt(),[u,d]=g.useState({}),[f,p]=g.useState(-1),[y,b]=g.useState({}),[A,w]=g.useState(!0),[T,N]=g.useState({}),[j,D]=g.useState([]);g.useEffect(()=>{cj(t.organization.id).then(U=>{N(U),D((t.applicationMemberships||[]).map(P=>{const I=U.organizationMemberships.find(V=>V.id===P.organizationMembershipIdentifier);return I&&(P.user=I.user),P}));const F=(i.organizationMemberships||[]).find(P=>P.organization.id===U.id);b(h5(i,F)),w(!1)}).catch(()=>{o("/404")})},[a,t]);const x=(U,F)=>{F?d({open:!0,cancel:()=>d({open:!1}),action:()=>x(U,!1),question:S.t("appTeamManagement.deleteConfirmation",{name:U.user.name}),okButton:S.t("forms.delete")}):vj(U).then(()=>{d({}),e()})},z=U=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsx("ul",{children:h.jsxs("li",{onClick:()=>x(U,!0),children:[h.jsx($c,{}),h.jsx("span",{children:S.t("forms.delete")})]})})}),G=U=>({value:U.id,label:U.user.name}),M=U=>{yj(U.value,t.id,T.id).then(()=>{e(),s(S.t("appTeamManagement.flashCreated",{name:U.label}))})},H=()=>h.jsx(ka,{value:null,options:T.organizationMemberships.filter(U=>!j.some(F=>F.organizationMembershipIdentifier===U.id)).map(G),placeholder:S.t("appTeamManagement.addPlaceHolder"),searchable:!0,onChange:M,clearable:!1}),Z=()=>{const U=[{key:"user__name",header:S.t("appTeamManagement.name"),mapper:F=>h.jsx(Uf,{user:F.user,currentUser:i})},{key:"createdAt",header:S.t("appTeamManagement.createdAt"),mapper:F=>hr(F.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:F=>y===Kt.GUEST?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>p(-1),175),children:h.jsxs("span",{className:`menu ${f===F.id?"drop-down":""}`,onClick:()=>p(f===-1?F.id:-1),children:[h.jsx(uo,{}),f===F.id&&z(F)]})})}];return h.jsx(vo,{entities:j,modelName:"appTeamManagement",defaultSort:"user__name",hideTitle:!0,columns:U,filters:H(),showNew:!0,displaySearch:!0,searchAttributes:["user__name","user__email"],newEntityFunc:()=>o(`/invitation/${T.id}/${t.id}`),inputFocus:!0})};if(A)return h.jsx(Pn,{});const{open:E,cancel:O,action:R,question:B,okButton:L}=u;return h.jsxs("div",{className:"application-memberships",children:[E&&h.jsx(Ni,{confirm:R,cancel:O,confirmationHeader:S.t("forms.delete"),confirmationTxt:L,question:B}),h.jsxs("div",{className:"application-header",children:[h.jsx("h3",{children:S.t("appTeamManagement.maintain",{name:t.name})}),h.jsx(gf,{type:Xl.Status_success,label:S.t("appTeamManagement.createdBy",{name:t.createdBy,date:hr(t.createdAt)})})]}),h.jsxs("p",{className:"info",children:[S.t("appTeamManagement.organizationMembersPre"),h.jsx(Ri,{to:`/users/${T.id}/team`,onClick:()=>qe.setState(()=>({activeMenuItem:"users"})),children:S.t("appTeamManagement.organizationMembersLink")}),S.t("appTeamManagement.organizationMembersPost")]}),Z()]})},kH=["overview","testing","prod","application","contract","appteam"],_s=Object.values(rs).map(t=>({value:t,label:S.t(`connection.${t.toLowerCase()}`)})),_H=()=>{const{applicationId:t,tab:e="overview"}=Xr(),{user:a,arp:i,privacy:s}=qe(I=>I),[o,u]=g.useState({organization:{}}),[d,f]=g.useState([]),[p,y]=g.useState(e),[b,A]=g.useState(null),[w,T]=g.useState([]),[N,j]=g.useState([]),[D,x]=g.useState(!0),[z,G]=g.useState(0),[M,H]=g.useState(!1),Z=qt();g.useEffect(()=>{zp(t).then(I=>{const V=i.profiles.map(k=>({value:k.name,label:h.jsxs("div",{children:[h.jsx("b",{children:S.t(`connection.informational.profiles.${k.name}.name`)}),h.jsx("br",{}),S.t(`connection.informational.profiles.${k.name}.title`)]})}));u(eo(I,_s,V,i)),f(V),F(p),x(!1),qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${I.organization.id}`,value:I.organization.name,menuItemName:"yourApps"},{path:`/application/${t}`,value:S.t("breadCrumb.applications")},{value:I.name}]}),Promise.all([Ub(Aa.TEST),Ub(Aa.PROD)]).then(k=>{T(k[0]),j(k[1])})})},[]);const{testConnectionComplete:E,productionConnectionComplete:O,appInformationComplete:R,productionConnectionNeedsActivation:B}=g.useMemo(()=>({testConnectionComplete:!oe(o.connections)&&o.connections.filter(I=>I.environment===Aa.TEST).some(I=>I.status!==ja.OPEN),productionConnectionComplete:!oe(o.connections)&&o.connections.filter(I=>I.environment===Aa.PROD).some(I=>I.status!==ja.OPEN),appInformationComplete:Pl(o)&&Hl(o)&&Bl(s,o)&&o.status!==zl.OPEN,productionConnectionNeedsActivation:o.signedContract&&!oe(o.connections)&&o.connections.filter(I=>I.environment===Aa.PROD).some(I=>I.status===ja.COMPLETE)}),[o]),L=()=>{x(!0),zp(t).then(I=>{u(eo(I,_s,d,i)),A(null),H(!1),x(!1),G(new Date().getTime())})},U=(I=Aa.TEST,V=!1)=>{const k=S.translations[S.locale].connection.testIdPs.identityProviders;A({new:V,environment:I,protocol:_s[0],grantTypes:["authorization_code"],pkce:!1,entityID:"",redirectUrls:[""],acsLocations:null,metaData:{},status:ja.OPEN,motivations:{},additionalAttributes:[],profile:o.type==="APP"?d[0]:d[1],profileMotivation:"",allowedEntities:k.map(q=>q.entityid),visibility:Hp.visible_to_all,connectOption:Bp.connect_with_interaction});const J=I===Aa.TEST?"testing":"prod";y(J),Z(`/connection/${t}/${J}`)},F=I=>{M&&L(),(p==="testing"||p==="prod")&&A(null),y(I),Z(`/connection/${t}/${I}`)},P=()=>{switch(p){case"overview":return h.jsx(Mz,{application:o,user:a,initConnection:U,setTab:F,testConnectionComplete:E,productionConnectionComplete:O,appInformationComplete:R,productionConnectionNeedsActivation:B});case"testing":return h.jsx(aE,{application:o,connection:b,setConnection:A,initConnection:U,refresh:L,protocolOptions:_s,arpInfo:i,setTab:F,profileOptions:d,identityProviders:w,isProduction:!1,setDirty:H});case"prod":return h.jsx(aE,{application:o,connection:b,setConnection:A,initConnection:U,refresh:L,protocolOptions:_s,setTab:F,arpInfo:i,profileOptions:d,identityProviders:N,isProduction:!0,setDirty:H});case"application":return h.jsx(MH,{application:o,setApplication:u,refresh:L,changeTab:F,privacyInfo:s,protocolOptions:_s,profileOptions:d,arpInfo:i});case"contract":return h.jsx(jH,{application:o,setApplication:u,changeTab:F,refresh:L,protocolOptions:_s,profileOptions:d,privacyInfo:s,arpInfo:i});case"appteam":return h.jsx(LH,{application:o,refresh:L,refreshApp:z});default:throw new Error(`Unknown tab; ${p}`)}};return D?h.jsx(Pn,{}):h.jsxs("div",{className:"application-connection-container",children:[h.jsx(Ez,{tabs:kH.map(I=>({name:I,disabled:I==="prod"&&!E||I==="application"&&!E||I==="contract"&&!O})),application:o,currentTab:p,setLoading:x,setTab:F}),P()]})},UH=({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"})),zH=g.forwardRef(UH),qH=()=>{const{breadcrumbPaths:t,clearFlash:e}=qe(s=>s),a=qt();if(oe(t))return null;const i=(s,o)=>{xa(s),a(o.path),e(),o.menuItemName&&qe.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=>!oe(s)).map((s,o)=>h.jsxs("li",{children:[o!==0&&h.jsx(zH,{}),o+1!==t.length&&s.path&&h.jsx("a",{href:s.path,onClick:u=>i(u,s),children:h.jsx("span",{dangerouslySetInnerHTML:{__html:ga.sanitize(s.value)}})}),o+1!==t.length&&!s.path&&h.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:ga.sanitize(s.value)}}),o+1===t.length&&h.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:ga.sanitize(s.value)}})]},o))})})},PH=({setIsAuthenticated:t})=>{const e=qe(b=>b.user),a=qt(),[i,s]=g.useState(!1),[o,u]=g.useState(!1),d=b=>{xa(b),sj().then(()=>{qe.setState(()=>({currentOrganization:{name:""},breadcrumbPaths:[],user:{name:""}})),a("/authentication-switch"),setTimeout(()=>{t(!1),a("/home")},150)})},f=b=>{qe.setState(()=>({currentOrganization:b})),a("/home")},p=()=>{if(oe(e)||!e.organizationMemberships||e.organizationMemberships.length<2)return null;const b=e.organizationMemberships.map(A=>A.organization);return h.jsxs("div",{className:"organization-switch",tabIndex:1,onBlur:()=>setTimeout(()=>u(!1),475),children:[h.jsx(rt,{onClick:()=>u(!o),txt:S.t("userMenu.switchOrganization"),icon:h.jsx(n5,{}),type:At.Secondary}),o&&h.jsx("section",{className:"organization-switch-section sds--user-info--dropdown",children:b.map((A,w)=>h.jsx("span",{onClick:()=>f(A),children:A.name},w))})]})},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(Ri,{to:"/system",children:S.t("landing.header.system")})})})]});return oe(e)?h.jsx(Pn,{}):h.jsxs("div",{className:"user-menu-container",children:[p(),h.jsx("div",{className:"user-menu",tabIndex:2,onBlur:()=>setTimeout(()=>s(!1),325),children:e&&h.jsx(aR,{isOpen:i,children:y(),organisationName:e.schacHomeOrganization,userName:e.name,toggle:()=>s(!i)})})]})},HH=({setIsAuthenticated:t})=>h.jsxs("div",{className:"authorized-header",children:[h.jsx(qH,{}),h.jsx(PH,{setIsAuthenticated:t})]});function Rx(t,e,a,i){var s=this,o=g.useRef(null),u=g.useRef(0),d=g.useRef(0),f=g.useRef(null),p=g.useRef([]),y=g.useRef(),b=g.useRef(),A=g.useRef(t),w=g.useRef(!0);A.current=t;var T=typeof window<"u",N=!e&&e!==0&&T;if(typeof t!="function")throw new TypeError("Expected a function");e=+e||0;var j=!!(a=a||{}).leading,D=!("trailing"in a)||!!a.trailing,x="maxWait"in a,z="debounceOnServer"in a&&!!a.debounceOnServer,G=x?Math.max(+a.maxWait||0,e):null;g.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var M=g.useMemo(function(){var H=function(U){var F=p.current,P=y.current;return p.current=y.current=null,u.current=U,d.current=d.current||U,b.current=A.current.apply(P,F)},Z=function(U,F){N&&cancelAnimationFrame(f.current),f.current=N?requestAnimationFrame(U):setTimeout(U,F)},E=function(U){if(!w.current)return!1;var F=U-o.current;return!o.current||F>=e||F<0||x&&U-u.current>=G},O=function(U){return f.current=null,D&&p.current?H(U):(p.current=y.current=null,b.current)},R=function U(){var F=Date.now();if(j&&d.current===u.current&&B(),E(F))return O(F);if(w.current){var P=e-(F-o.current),I=x?Math.min(P,G-(F-u.current)):P;Z(U,I)}},B=function(){},L=function(){if(T||z){var U=Date.now(),F=E(U);if(p.current=[].slice.call(arguments),y.current=s,o.current=U,F){if(!f.current&&w.current)return u.current=o.current,Z(R,e),j?H(o.current):b.current;if(x)return Z(R,e),H(o.current)}return f.current||Z(R,e),b.current}};return L.cancel=function(){var U=f.current;U&&(N?cancelAnimationFrame(f.current):clearTimeout(f.current)),u.current=0,p.current=o.current=y.current=f.current=null},L.isPending=function(){return!!f.current},L.flush=function(){return f.current?O(Date.now()):b.current},L},[j,x,e,G,D,N,T,z,i]);return M}const BH=({refreshUser:t})=>{const{user:e,setFlash:a}=qe(T=>T),[i,s]=g.useState(""),[o,u]=g.useState(!1),[d,f]=g.useState([]),p=g.useRef(null),y=qt(),b=Rx(T=>{oj(T).then(N=>{f(N),u(!1)})},850);g.useEffect(()=>{qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access")},{value:S.t("breadCrumb.landing")}]}),p.current?.focus()},[]);const A=T=>{const N=T.target.value;s(N),oe(N)?f([]):(u(!0),b(N))},w=()=>{u(!0),hj({name:i}).then(T=>{qe.setState({currentOrganization:T,menuItems:["users","yourApps","allApps"]}),a(S.t("welcome.flash",{name:T.name})),t(),y(`/organization/${T.id}`)})};return h.jsx("div",{className:"landing-container",children:h.jsxs("div",{className:"search",children:[h.jsx("h2",{children:S.t("welcome.greeting",{name:e.name})}),h.jsx("p",{children:S.t("welcome.info")}),h.jsxs("div",{className:"inner-search",children:[h.jsx(on,{value:i,onChange:A,onRef:T=>p.current=T,placeholder:S.t("welcome.searchPlaceholder")}),h.jsx(Of,{})]}),h.jsxs("div",{className:"organizations-container",children:[oe(d)&&!oe(i)&&!o&&h.jsxs(h.Fragment,{children:[h.jsx("p",{children:S.t("welcome.zeroState")}),h.jsxs("section",{className:"organization register",onClick:()=>w(),children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("welcome.register",{name:i})}}),h.jsx(Pc,{})]})]}),!oe(d)&&d.map((T,N)=>h.jsxs("section",{className:"organization",onClick:()=>y(`/join/${T.id}`),children:[h.jsxs("div",{children:[h.jsx("p",{children:T.name}),h.jsx("span",{children:S.t("welcome.organizationMembers",{memberCount:T.memberCount,user:S.t(`welcome.${T.memberCount===1?"user":"users"}`),applicationCount:T.applicationCount,application:S.t(`welcome.${T.applicationCount===1?"application":"applications"}`)})})]}),h.jsx(Pc,{})]},N))]})]})})},FH=({refreshUser:t})=>{const{setFlash:e}=qe(N=>N),[a,i]=g.useState(!0),[s,o]=g.useState({}),[u,d]=g.useState(!1),[f,p]=g.useState(!1),[y,b]=g.useState(""),{organisationId:A}=Xr(),w=qt();if(g.useEffect(()=>{qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{value:S.t("breadCrumb.landing")}]}),fj(A).then(N=>{o(N),i(!1)})},[]),a)return h.jsx(Pn,{});const T=()=>{mj({organizationId:A,message:y,language:S.locale}).then(()=>{d(!0),e(S.t("joinRequest.flash",{name:s.name})),t()}).catch(()=>{p(!0)})};return h.jsxs("div",{className:"join-request-container",children:[h.jsx("h2",{children:s.name}),h.jsx("p",{dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("joinRequest.info",{name:s.name}))}}),h.jsx(on,{name:S.t("joinRequest.optionalMessage"),info:S.t("joinRequest.optionalMessageInfo"),onChange:N=>b(N.target.value),value:y,multiline:!0,placeholder:S.t("joinRequest.optionalMessagePlaceHolder")}),h.jsxs("section",{className:"actions",children:[h.jsx(rt,{type:At.Secondary,txt:S.t("forms.back"),onClick:()=>w("/landing")}),h.jsx(rt,{txt:S.t("joinRequest.requestAccess"),disabled:u||f,onClick:()=>T()})]}),u&&h.jsx(DE,{confirm:()=>w("/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:ga.sanitize(S.t("joinRequest.duplicate",{name:s.name}))}})})]})},VH=({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"})),GH=g.forwardRef(VH),ZH=()=>{const{user:t,currentOrganization:e}=qe(i=>i),a=qt();return g.useEffect(()=>{qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{value:S.t("breadCrumb.home")}]}),oe(e?.id)||a(`/organization/${e.id}`)},[e]),h.jsxs("div",{className:"home-container",children:[h.jsx("h2",{children:S.t("welcome.greeting",{name:t.name})}),oe(t.joinRequests)&&h.jsxs("div",{className:"nudge-landing",children:[h.jsx("span",{children:S.t("userHome.nudgeLanding")}),h.jsx(Ri,{to:"/landing",children:h.jsx("span",{children:S.t("userHome.nudgeLandingLink")})})]}),!oe(t.joinRequests)&&h.jsxs("div",{children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("userHome.infoJoinRequest",{name:t.joinRequests[0].organization.name}))}}),h.jsx(GH,{}),h.jsxs("div",{className:"nudge-landing",children:[h.jsx("span",{children:S.t("userHome.backToLanding")}),h.jsx(Ri,{to:"/landing",children:h.jsx("span",{children:S.t("userHome.backToLandingLink")})})]})]})]})},WH=()=>{const t=qe(a=>a.config),e=ei();return g.useEffect(()=>{const a=e.pathname+e.search;sessionStorage.setItem(G6,a),qp(t)},[]),h.jsx(Pn,{})},YH=({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"})),Ix=g.forwardRef(YH),QH=()=>{const{user:t,setFlash:e,impersonator:a,stopImpersonation:i}=qe(o=>o),s=qt();return h.jsxs("div",{className:"impersonator ",children:[h.jsx(oa,{children:h.jsx(Ix,{}),standalone:!0,tip:S.t("impersonate.impersonatorTooltip",{currentUser:t.name,impersonator:a.name})}),h.jsx("p",{dangerouslySetInnerHTML:{__html:ga.sanitize(S.t("impersonate.impersonator",{name:t.name}))}}),h.jsx(rt,{type:At.Secondary,onClick:()=>{i(),e(S.t("impersonate.flash.clearedImpersonation")),s("/")},txt:S.t("impersonate.exit")})]})},KH=({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"}))),Mx=g.forwardRef(KH),JH=()=>{const{user:t,startImpersonation:e,setFlash:a}=qe(D=>D),[i,s]=g.useState(!1),[o,u]=g.useState(nj()),[d,f]=g.useState(0),[p,y]=g.useState([]),b=qt();g.useEffect(()=>{oe(o.query)||lj(o).then(D=>{y(D.content),f(D.totalElements),s(!1)})},[o]);const A=(D,x,z,G)=>{(oe(D)||D.trim().length>2)&&w(D,x,z,G)},w=Rx((D,x,z,G)=>{s(!0),u({query:D,pageNumber:G,pageSize:ql,sort:x,sortDirection:z?"DESC":"ASC"})},375),T=[{nonSortable:!0,key:"icon",header:"",mapper:D=>h.jsx("div",{className:"member-icon",children:h.jsx(oa,{standalone:!0,children:h.jsx(Mx,{}),tip:S.t("tooltips.userIcon",{name:D.name,createdAt:hr(D.createdAt),lastActivity:hr(D.lastActivity)})})})},{key:"name",header:S.t("users.name_email"),mapper:D=>h.jsxs("div",{className:"user-name-email",children:[h.jsx("span",{className:"name",children:D.name}),h.jsx("span",{className:"email",children:D.email})]})},{key:"schac_home_organization",header:S.t("users.schacHomeOrganization"),mapper:D=>h.jsx("span",{children:D.schac_home_organization})},{key:"createdAt",header:S.t("users.createdAt"),mapper:D=>hr(D.createdAt,!1)},{key:"lastActivity",header:S.t("users.lastActivity"),mapper:D=>hr(D.lastActivity,!1)}],N=t&&t.superUser,j=D=>{e(D),a(S.t("impersonate.flash.startedImpersonation",{name:D.name})),b("/",{replace:!0})};return N&&T.push({nonSortable:!0,key:"icon",hasLink:!0,header:"",mapper:D=>t.id!==D.id?h.jsx(oa,{standalone:!0,children:h.jsx(Ix,{className:"impersonate",onClick:()=>j(D)}),tip:S.t("users.impersonate",{name:D.name})}):h.jsx(gf,{type:Xl.Main_400,label:S.t("forms.you")})}),h.jsx("div",{className:"mod-users",children:h.jsx(vo,{entities:p,modelName:"users",defaultSort:"name",columns:T,showNew:!1,hideTitle:!0,customNoEntities:S.t("users.noResults"),searchAttributes:["name","email","schacHomeOrganization"],customSearch:A,totalElements:d,loading:i})})},m5=({tabNames:t,tab:e,setTab:a,children:i})=>{const s=(o,u)=>{xa(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))})]})},XH=["users"],$H=()=>{const{tab:t="users"}=Xr(),[e,a]=g.useState(t),i=qt(),s=u=>{a(u),i(`/organization/${organizationId}/${u}`)},o=()=>{switch(e){case"users":return h.jsx(JH,{});default:throw new Error(`Unknown tab; ${e}`)}};return h.jsxs("div",{className:"system-outer-container",children:[h.jsx(m5,{tab:e,setTab:s,tabNames:XH,children:h.jsx("h3",{children:S.t("landing.header.system")})}),h.jsx("div",{className:"system-container",children:o()})]})};function eB({name:t,emails:e,addEmails:a,removeMail:i,pinnedEmails:s=[],error:o=!1,grabFocus:u=!0,required:d=!1}){const[f,p]=g.useState([]),[y,b]=g.useState(""),A=g.useRef(null);g.useEffect(()=>{u&&A.current&&A.current.focus()},[u]);const w=x=>{["Enter","Spacebar","Backspace","Tab"].includes(x.key)||p([]),b(x.target.value)},T=x=>{const z=x.indexOf("<");return z>-1?h.jsx(oa,{tip:x.substring(z+1,x.length-1),standalone:!0,children:h.jsx("span",{children:x.substring(0,z).trim()})}):h.jsx("span",{children:x})},N=(x,z)=>{const G=x.trim().length>0,M=G&&Pp.test(x);return!M&&G&&z.push(x.trim()),M},j=x=>{if(oe(x.key)&&oe(x.target.value))return;const z=x.target.value,G=[],M=[","," ",";",`
`,"	"];let H;!oe(z)&&z.indexOf("<")>-1?H=z.split(/[,\n\t;]/).map(E=>E.trim()).filter(E=>{const O=E.indexOf("<");return E=O>-1?E.substring(O+1,E.length-1):E,N(E,G)}):!oe(z)&&M.some(E=>z.indexOf(E)>-1)?H=z.replace(/[;\s]/g,",").split(",").filter(R=>N(R,G)):oe(z)||(Pp.test(z.trim())?H=[z]:G.push(z.trim())),p(!oe(x.target.value)&&!oe(G)?G:[]);const Z=[...new Set(H)];oe(Z)||a(Z),b("")},D=x=>{p([]),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,z)=>h.jsxs("div",{className:"email-tag",children:[T(x),s.includes(x)?h.jsx("span",{className:"disabled icon",children:h.jsx(Mx,{})}):h.jsx("span",{className:"icon",onClick:()=>D(x),children:h.jsx(Sw,{})})]},z)),h.jsx("textarea",{id:"email-field",inputMode:"email",value:y,ref:A,onChange:w,onBlur:j,onKeyDown:x=>{if(x.key==="Enter"||x.key===" "||x.key==="Spacebar")return j(x),setTimeout(()=>document.getElementById("email-field").focus(),50),xa(x);if(x.key==="Backspace"&&oe(y)&&e.length>0){const z=e[e.length-1];s.includes(z)||D(z)}},placeholder:e.length===0?S.t("invitation.inviteesTooltip"):"",cols:3})]}),!oe(f)&&y===""&&h.jsx("p",{className:"error",children:S.t("invitation.invalidEmails",{emails:Array.from(new Set(f)).join(", ")})})]})}const tB=()=>{const t=qt(),{organizationId:e,applicationId:a}=Xr(),i=["en","nl"].map(L=>({label:S.t(`languages.${L}`),value:L})),{user:s,setFlash:o}=qe(L=>L),[u,d]=g.useState({}),[f,p]=g.useState({}),[y,b]=g.useState(!0),[A,w]=g.useState({invites:[],applicationIdentifiers:[],intendedAuthority:Kt.GUEST}),[T,N]=g.useState(!0),[j,D]=g.useState(S.locale==="en"?i[0]:i[1]),x=["intendedAuthority","invites"];g.useEffect(()=>{dj(e).then(L=>{p(L),qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${e}`,value:L.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.invitations")}]}),b(!1);const U=(s.organizationMemberships||[]).find(F=>F.organization.id===L.id);if(d(h5(s,U)),a){const F={...A,applicationIdentifiers:[parseInt(a,10)]};w(F)}})},[e]);const z=()=>{if(N(!1),G()){const L={...A,language:j.value,organizationId:e};b(!0),Mj(L).then(()=>{b(!1),o(S.t("invitation.createFlash")),t(`/users/${e}/invitations`)})}},G=()=>x.every(L=>!oe(A[L])),M=L=>{const U=[...new Set(A.invites.concat(L))];w({...A,invites:U})},H=L=>{w({...A,invites:A.invites.filter(U=>L!==U)})},Z=L=>{w({...A,intendedAuthority:L.value})},E=L=>{w({...A,applicationIdentifiers:oe(L)?[]:L.map(U=>U.value)})},O=L=>({value:L.id,label:L.name}),R=L=>h.jsxs(h.Fragment,{children:[h.jsx(eB,{name:S.t("invitation.invitees"),addEmails:M,emails:A.invites,isAdmin:!1,pinnedEmails:[],removeMail:H,required:!0,error:!T&&oe(A.invites)}),!T&&oe(A.invites)&&h.jsx(dn,{msg:S.t("invitation.requiredEmail")}),L.length>1&&h.jsx(ka,{value:L.find(U=>U.value===A.intendedAuthority)||L[L.length-1],options:L,name:S.t("invitation.intendedAuthority"),searchable:!1,disabled:L.length===1,onChange:Z,toolTip:S.t("invitation.intendedAuthorityTooltip"),clearable:!1,className:"small"}),f.applications.length>0&&h.jsx(ka,{value:f.applications.filter(U=>A.applicationIdentifiers.includes(U.id)).map(O),options:f.applications.filter(U=>!A.applicationIdentifiers.includes(U.id)).map(O),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(on,{name:S.t("invitation.message"),value:A.message,onChange:U=>w({...A,message:U.target.value}),placeholder:S.t("invitation.messagePlaceholder"),small:!0,cols:1,multiline:!0}),h.jsx(ka,{value:j,options:i,name:S.t("languages.language"),searchable:!1,onChange:U=>D(U),toolTip:S.t("invitation.languageTooltip"),clearable:!1,className:"small"})]}),B=()=>{const L=!T&&!G(),U=d5.filter(F=>u===Kt.ADMIN||F!==Kt.ADMIN).map(F=>({value:F,label:S.t(`roles.${F.toLowerCase()}`)}));return h.jsxs(h.Fragment,{children:[R(U),h.jsxs("section",{className:"actions",children:[h.jsx(rt,{type:At.Secondary,txt:S.t("forms.cancel"),onClick:()=>t(-1)}),h.jsx(rt,{disabled:L,txt:S.t("invitation.invite"),onClick:z})]})]})};return y?h.jsx(Pn,{}):h.jsxs("div",{className:"mod-invitation-form",children:[h.jsx(m5,{tab:"nope",tabNames:[],children:h.jsx("h3",{children:S.t("invitation.title",{name:f.name})})}),h.jsx("div",{className:"invitation-form",children:B()})]})},nB=({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"})),aB=g.forwardRef(nB),rB=()=>{const t=qt(),{setFlash:e}=qe(d=>d),[a,i]=g.useState({}),[s,o]=g.useState(!0);g.useEffect(()=>{const d=H6("hash",window.location.search);Nj(d).then(f=>{i(f),sessionStorage.removeItem(G6),qe.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),Dj(a).then(()=>{e(S.t("invitation.acceptedFlash",{name:a.organization.name})),qe.setState({menuItems:["users","yourApps","allApps"]}),t(`/organization/${a.organization.id}/team`)})};return s?h.jsx(Pn,{}):h.jsxs("section",{className:"invitation-container",children:[h.jsx(aB,{}),h.jsx(Ni,{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})})]})},M1=[{value:"ALL",label:S.t("roles.all")}].concat(d5.map(t=>({value:t,label:S.t(`roles.${t.toLowerCase()}`)}))),iB=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const i=qt(),{user:s,setFlash:o}=qe(E=>E),[u,d]=g.useState({}),[f,p]=g.useState(M1[0].value),[y,b]=g.useState(-1),A=()=>{a(new Date().getTime())},w=(E,O)=>{O?d({open:!0,cancel:()=>d({open:!1}),action:()=>w(E,!1),question:S.t("teamManagement.deleteConfirmation",{name:E.user.name}),okButton:S.t("forms.delete")}):Ij(E).then(()=>{d({}),o(S.t("teamManagement.flash.deleted",{name:E.user.name})),A()})},T=(E,O,R)=>{R?d({open:!0,cancel:()=>d({open:!1}),action:()=>T(E,O,!1),question:S.t("teamManagement.deleteDemotion",{name:E.user.name}),okButton:S.t("forms.sure")}):qb(E,O).then(()=>{d({}),o(S.t("teamManagement.flash.updated",{name:E.user.name})),A()})},N=(E,O)=>{E.user.id===s.id&&O!==Kt.ADMIN?(T(E,O,!0),A()):qb(E,O).then(()=>{d({}),o(S.t("teamManagement.flash.updated",{name:E.user.name})),A()})},j=E=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[E.authority!==Kt.ADMIN&&e===Kt.ADMIN&&h.jsxs("li",{onClick:()=>N(E,Kt.ADMIN),children:[h.jsx(H1,{}),h.jsx("span",{children:S.t("teamManagement.makeAdmin")})]}),E.authority!==Kt.MEMBER&&e===Kt.ADMIN&&h.jsxs("li",{onClick:()=>N(E,Kt.MEMBER),children:[h.jsx(H1,{}),h.jsx("span",{children:S.t("teamManagement.makeMember")})]}),E.authority!==Kt.GUEST&&e===Kt.ADMIN&&h.jsxs("li",{onClick:()=>N(E,Kt.GUEST),children:[h.jsx(H1,{}),h.jsx("span",{children:S.t("teamManagement.makeGuest")})]}),h.jsxs("li",{onClick:()=>w(E,!0),children:[h.jsx($c,{}),h.jsx("span",{children:S.t("forms.delete")})]})]})}),D=()=>{const E=[{key:"user__name",header:S.t("teamManagement.nameEmail"),mapper:R=>h.jsx(Uf,{user:R.user,currentUser:s})},{key:"role",header:S.t("teamManagement.role"),mapper:R=>S.t(`roles.${R.authority.toLowerCase()}`)},{key:"created",header:S.t("teamManagement.active"),mapper:R=>hr(R.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:R=>e===Kt.GUEST?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>b(-1),175),children:h.jsxs("span",{className:`menu ${y===R.id?"drop-down":""}`,onClick:()=>b(y===-1?R.id:-1),children:[h.jsx(uo,{}),y===R.id&&j(R)]})})}],O=()=>h.jsx(ka,{value:M1.find(R=>R.value===f)||M1[0],options:M1,searchable:!1,onChange:R=>p(R.value),clearable:!1});return h.jsx(vo,{entities:t.organizationMemberships.filter(R=>f==="ALL"||R.authority===f),modelName:"teamManagement",defaultSort:"user__name",title:S.t("teamManagement.maintain",{name:t.name}),columns:E,filters:O(),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,O)=>h.jsxs("div",{children:[h.jsxs("p",{className:"role",children:[O+1,". ",S.t(`teamManagement.explanations.${E}`)]}),h.jsx("p",{className:"paragraph",children:S.t(`teamManagement.explanations.${E}Rights`)})]},E))]}),{open:z,cancel:G,action:M,question:H,okButton:Z}=u;return h.jsxs("div",{className:"organization-memberships",children:[z&&h.jsx(Ni,{confirm:M,cancel:G,confirmationHeader:S.t("forms.delete"),confirmationTxt:Z,question:H}),D(),x()]})},sB=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const{user:i,setFlash:s}=qe(z=>z),[o,u]=g.useState({}),[d,f]=g.useState(-1),p=()=>{a(new Date().getTime())},y=(z,G,M)=>{M?u({open:!0,cancel:()=>u({open:!1}),action:()=>y(z,G,!1),question:S.t(`joinRequestManagement.${G?"approveConfirmation":"denialConfirmation"}`,{name:z.user.name}),okButton:S.t(`joinRequestManagement.${G?"approve":"deny"}`)}):_b(z.id,G,Kt.GUEST).then(()=>{u({}),s(S.t(`joinRequestManagement.flash.${G?"approved":"denied"}`,{name:z.user.name})),p()})},b=z=>{if(z)u({open:!0,cancel:()=>u({open:!1}),action:()=>b(!1),question:S.t("joinRequestManagement.approveAllConfirmation"),okButton:S.t("joinRequestManagement.approveAll")});else{const G=t.joinRequests.map(M=>_b(M.id,!0,Kt.GUEST));Promise.all(G).then(()=>{u({}),s(S.t("joinRequestManagement.flash.approveAll")),p()})}},A=z=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:()=>y(z,!0,!0),children:[h.jsx("span",{className:"svg",children:"✅"}),h.jsx("span",{children:S.t("joinRequestManagement.approve")})]}),h.jsxs("li",{onClick:()=>y(z,!1,!0),children:[h.jsx("span",{className:"svg",children:"⛔️"}),h.jsx("span",{children:S.t("joinRequestManagement.deny")})]})]})}),w=()=>{if(oe(t.joinRequests))return h.jsx("p",{children:S.t("joinRequestManagement.zeroState",{name:t.name})});const z=[{key:"user__name",header:S.t("joinRequestManagement.nameEmail"),mapper:G=>h.jsx(Uf,{user:G.user,currentUser:i})},{key:"message",header:S.t("joinRequestManagement.message"),mapper:G=>h.jsx(y6,{txt:G.message,moreLabel:S.t("forms.moreLabel"),lessLabel:S.t("forms.lessLabel"),cutoffNumber:90})},{key:"created",header:S.t("joinRequestManagement.createdAt"),mapper:G=>hr(G.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:G=>e!==Kt.ADMIN?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>f(-1),175),children:h.jsxs("span",{className:`menu ${d===G.id?"drop-down":""}`,onClick:()=>f(d===-1?G.id:-1),children:[h.jsx(uo,{}),d===G.id&&A(G)]})})}];return h.jsx(vo,{entities:t.joinRequests,modelName:"joinRequestManagement",defaultSort:"user__name",title:S.t("joinRequestManagement.maintain",{name:t.name}),columns:z,newEntityFunc:()=>b(!0),showNew:!0,newLabel:S.t("joinRequestManagement.approveAll"),displaySearch:!0,searchAttributes:["user__name","user__email"],inputFocus:!0})},{open:T,cancel:N,action:j,question:D,okButton:x}=o;return h.jsxs("div",{className:"organization-join-requests",children:[T&&h.jsx(Ni,{confirm:j,cancel:N,confirmationHeader:S.t("forms.delete"),confirmationTxt:x,question:D}),w()]})},N1=[{value:"ALL",label:S.t("roles.all")}].concat(d5.map(t=>({value:t,label:S.t(`roles.${t.toLowerCase()}`)}))),lB=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const{user:i,setFlash:s}=qe(H=>H),[o,u]=g.useState({}),[d,f]=g.useState(N1[0].value),[p,y]=g.useState(-1),b=()=>{a(new Date().getTime())},A=(H,Z)=>{Z?u({open:!0,cancel:()=>u({open:!1}),action:()=>A(H,!1),question:S.t("invitationsManagement.deleteConfirmation",{email:H.inviter.name}),okButton:S.t("invitationsManagement.revoke")}):Lj(H).then(()=>{u({}),s(S.t("invitationsManagement.flashReminderSent")),b()})},w=H=>{H?u({open:!0,cancel:()=>u({open:!1}),action:()=>w(!1),question:S.t("invitationsManagement.deleteAllConfirmation",{name:t.name}),okButton:S.t("forms.delete")}):kj(t).then(()=>{u({}),s(S.t("invitationsManagement.flashDeleteAll")),b()})},T=(H,Z)=>{Z?u({open:!0,cancel:()=>u({open:!1}),action:()=>T(H,!1),question:S.t("invitationsManagement.resendConfirmation",{email:H.inviter.name}),okButton:S.t("invitationsManagement.resend")}):jj(H).then(()=>{u({}),s(S.t("invitationsManagement.flashReminderSent")),b()})},N=H=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:()=>T(H,!0),children:[h.jsx(f5,{}),h.jsx("span",{children:S.t("invitationsManagement.resend")})]}),h.jsxs("li",{onClick:()=>A(H,!0),children:[h.jsx($c,{}),h.jsx("span",{children:S.t("invitationsManagement.revoke")})]})]})}),j=()=>{if(oe(t.invitations))return h.jsx("p",{children:S.t("invitationsManagement.zeroState",{name:t.name})});const H=[{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(Uf,{user:E.inviter,currentUser:i})},{key:"createdAt",header:S.t("invitationsManagement.createdAt"),mapper:E=>hr(E.createdAt)},{key:"expiryDate",header:S.t("invitationsManagement.expiryDate"),mapper:E=>hr(E.expiryDate)},{key:"buttons",header:"",nonSortable:!0,mapper:E=>e!==Kt.ADMIN||E.intendedAuthority===Kt.ADMIN?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>y(-1),175),children:h.jsxs("span",{className:`menu ${p===E.id?"drop-down":""}`,onClick:()=>y(p===-1?E.id:-1),children:[h.jsx(uo,{}),p===E.id&&N(E)]})})}],Z=()=>h.jsx(ka,{value:N1.find(E=>E.value===d)||N1[0],options:N1,searchable:!1,onChange:E=>f(E.value),clearable:!1});return h.jsx(vo,{entities:t.invitations.filter(E=>d==="ALL"||E.intendedAuthority===d),modelName:"invitationsManagement",defaultSort:"email",title:S.t("invitationsManagement.maintain",{name:t.name}),columns:H,filters:Z(),showNew:!0,newLabel:S.t("invitationsManagement.deleteAll"),displaySearch:!0,searchAttributes:["user__name","user__email"],newEntityFunc:()=>w(!0),inputFocus:!0})},{open:D,cancel:x,action:z,question:G,okButton:M}=o;return h.jsxs("div",{className:"organization-invitations",children:[D&&h.jsx(Ni,{confirm:z,cancel:x,confirmationHeader:S.t("forms.delete"),confirmationTxt:M,question:G}),j()]})},oB=["team","invitations","joins"],cB=()=>{const{user:t}=qe(j=>j),{tab:e="team"}=Xr(),{organizationId:a}=Xr(),[i,s]=g.useState(!0),[o,u]=g.useState({}),[d,f]=g.useState({}),[p,y]=g.useState(-1),[b,A]=g.useState(e),w=qt();g.useEffect(()=>{TA(a).then(j=>{j.applications=j.applications.map(x=>eo(x)),u(j),qe.setState({currentOrganization:j,breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${j.id}`,value:j.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.applications")}]});const D=(t.organizationMemberships||[]).find(x=>x.organization.id===j.id);f(h5(t,D)),T(b,j),s(!1)}).catch(()=>{w("/404")})},[a,p]);const T=(j,D)=>{A(j),qe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${a}`,value:D?D.name:o.name,menuItemName:"yourApps"},{value:S.t(`breadCrumb.${j}`)}]}),w(`/users/${a}/${j}`)},N=()=>{switch(b){case"team":return h.jsx(iB,{organization:o,currentUserAuthority:d,setRefresh:y});case"joins":return h.jsx(sB,{organization:o,currentUserAuthority:d,setRefresh:y});case"invitations":return h.jsx(lB,{organization:o,currentUserAuthority:d,setRefresh:y});default:throw new Error(`Unknown tab; ${b}`)}};return i?h.jsx(Pn,{}):h.jsxs("div",{className:"user-management-outer-container with-applications",children:[h.jsx(m5,{tab:b,setTab:T,tabNames:oB,children:h.jsx("h1",{children:S.t("userManagement.title")})}),h.jsx("div",{className:"user-management-container",children:N()})]})},uB=()=>{const t=qe(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(OA,{})]}),h.jsx(RA,{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(rt,{onClick:()=>qp(t,!0,!0),type:At.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(rt,{onClick:()=>qp(t,!0,!1),type:At.Secondary,txt:S.t("landing.loginInfo.education.login")})]})]})})]})},uE=()=>h.jsx(Pn,{}),fB=({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"})),dB=g.forwardRef(fB),fE=()=>{const t=qt(),{manageType:e,manageId:a}=Xr(),{arp:i,privacy:s}=qe(x=>x),[o,u]=g.useState(!0),[d,f]=g.useState([]),[p,y]=g.useState(!1),[b,A]=g.useState(!1);if(g.useEffect(()=>{zj(e,a).then(x=>{f(x),u(!1)}).catch(()=>{t("/404")})},[]),o)return h.jsx(Pn,{});const w=(x,z,G)=>{const M=x.languageProperty?S.locale==="en"?z[`${x.metaData}:en`]:z[`${x.metaData}:nl`]||z[`${x.metaData}:en`]:z[x.metaData];if(oe(M))return null;if(x.localeAttribute){let H=`${x.locale}.${M}`;console.log(H)}return h.jsx("a",{href:M,target:"_blank",rel:"noopener noreferrer",children:x.localeAttribute?S.t(`${x.locale}.${M.replace(/\./g,"")}`):S.t(x.locale)},G)},T=d.data.metaDataFields,N=x=>{xa(x),y(!0)},j=x=>{xa(x),A(!0)},D=x=>i.attributes.find(z=>z.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:vw,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:[T["logo:0:url"]&&h.jsx("img",{src:T["logo:0:url"],alt:""}),!T["logo:0:url"]&&h.jsx(t5,{}),h.jsxs("div",{className:"meta-data-name",children:[h.jsx("p",{className:"organization",children:wi(S.locale,d)}),h.jsx("p",{className:"name",children:Fl(S.locale,d)})]}),h.jsx(rt,{type:At.Secondary,icon:h.jsx(dB,{}),iconPlacement:D1.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:VU(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")}),!p&&h.jsx("a",{href:"/",onClick:N,children:S.t("applicationDetail.details")}),p&&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 z=D(x[0]),G=x[1][0],M=S.t(`applicationDetail.arpSources.${G.source}`);return h.jsxs("div",{className:"attribute",children:[h.jsx("span",{className:"attr-name",children:z.friendlyNames[S.locale]}),!oe(G.motivation)&&h.jsx("span",{className:"attr-motivation",children:G.motivation}),oe(G.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")} ${M}`})]})})})]})]}),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:j,children:S.t("applicationDetail.details")}),b&&h.jsx("div",{className:"privacy-questions",children:s.map(x=>{const z=x[`info_${S.locale}`],G=z.substring(z.indexOf(" ")+1),M=T[x.manage];return h.jsxs("div",{className:"privacy-question",children:[h.jsx("span",{className:"priv-name",children:G}),oe(M)&&h.jsx("span",{className:"priv-answer",children:S.t("applicationDetail.noPrivacyInfo")}),!oe(M)&&h.jsx("span",{className:"priv-answer",children:M})]})})})]})]}),h.jsxs("div",{className:"right",children:[h.jsx("p",{className:"license",children:S.t(`applicationDetail.license.${T["coin:ss:license_status"]||"license_not_required"}`)}),h.jsx("p",{className:"info",children:S.t("applicationDetail.quickLinks")}),h.jsx("div",{className:"info-block",children:GU.map((x,z)=>w(x,T,z))}),h.jsx("p",{className:"info",children:S.t("applicationDetail.contractual")}),h.jsxs("p",{children:[h.jsx("span",{children:T["coin:contractual_base"]?S.t(`applicationDetail.contractualBase.${T["coin:contractual_base"].toLowerCase()}`,{organisation:wi(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:wi(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=>w({locale:"applicationDetail.entityCategory",localeAttribute:!0,metaData:`coin:entity_categories:${x}`,languageProperty:!1},T,x)),[1,2,3,4].every(x=>oe(T[`coin:entity_categories:${x}`]))&&h.jsx("p",{children:S.t("applicationDetail.none")})]}),T["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:T["mdrpi:RegistrationInfo"]})}})]})]})]})]})})]})},hB=()=>{const[t,e]=g.useState(!0),[a,i]=g.useState(!1),{impersonator:s}=qe(p=>p),o=qt(),u=ei(),d=()=>h.jsxs(h.Fragment,{children:[h.jsx(rn,{path:"/home",element:h.jsx(Kj,{})}),h.jsx(rn,{path:"/institutions",element:h.jsx(WU,{})}),h.jsx(rn,{path:"/connect",element:h.jsx(YU,{})}),h.jsx(rn,{path:"/applications",element:h.jsx(QU,{})}),h.jsx(rn,{path:"/login-info",element:h.jsx(uB,{})})]}),f=()=>{kb().then(p=>qe.setState(()=>({user:p})))};return g.useEffect(()=>{ij().then(p=>{qe.setState(()=>({csrfToken:p.token})),Promise.all([rj(),Aj(),wj()]).then(y=>{qe.setState(()=>({config:y[0],arp:y[1],privacy:y[2]})),i(y[0].authenticated),y[0].authenticated?kb().then(b=>{qe.setState(()=>({user:b}));const A=!oe(b.organizationMemberships);A?qe.setState(()=>({menuItems:["users","yourApps","allApps"],currentOrganization:b.organizationMemberships.map(T=>T.organization)[0]})):qe.setState(()=>({menuItems:["allApps"]}));let w=sessionStorage.getItem(G6);oe(w)?e(!1):(!w.startsWith("/accept")&&!A&&(w="/landing"),WE.flushSync(()=>{o(w,{replace:!0})}),setTimeout(()=>e(!1),500))}):e(!1)}).catch(()=>{e(!1),o("/home")})})},[s]),t?h.jsx(Pn,{}):h.jsxs("div",{className:"access",children:[a&&h.jsxs(h.Fragment,{children:[h.jsx(qj,{}),s&&h.jsx(QH,{}),h.jsxs("div",{className:"container",children:[h.jsx(rz,{}),h.jsxs("div",{className:"pages",children:[h.jsx(HH,{setIsAuthenticated:i}),h.jsxs(jp,{children:[h.jsx(rn,{path:"/",element:h.jsx(F7,{replace:!0,to:"/home"})}),h.jsx(rn,{path:"/landing",element:h.jsx(BH,{refreshUser:f})}),h.jsx(rn,{path:"/home",element:h.jsx(ZH,{})}),h.jsx(rn,{path:"/users/:organizationId/:tab?",element:h.jsx(cB,{})}),h.jsx(rn,{path:"/organization/:organizationId/:tab?",element:h.jsx(oL,{refreshUser:f})}),h.jsx(rn,{path:"/application/:applicationId",element:h.jsx(bz,{})}),h.jsx(rn,{path:"/join/:organisationId",element:h.jsx(FH,{refreshUser:f})}),h.jsx(rn,{path:"/connection/:applicationId/:tab?",element:h.jsx(_H,{})}),h.jsx(rn,{path:"/invitation/:organizationId/:applicationId?",element:h.jsx(tB,{})}),h.jsx(rn,{path:"/accept",element:h.jsx(rB,{})}),h.jsx(rn,{path:"/system",element:h.jsx($H,{})}),h.jsx(rn,{path:"/application-detail/:manageType/:manageId",element:h.jsx(fE,{})}),h.jsx(rn,{path:"/refresh-route/:path",element:h.jsx(Yj,{})}),h.jsx(rn,{path:"/authentication-switch",element:h.jsx(uE,{})}),h.jsx(rn,{path:"*",element:h.jsx(Wj,{})})]})]})]})]}),!a&&h.jsxs(h.Fragment,{children:[h.jsx(Vj,{currentLocation:u}),h.jsxs(jp,{children:[h.jsx(rn,{path:"/",element:h.jsx(F7,{replace:!0,to:"home"})}),d(),h.jsx(rn,{path:"/application-detail/:manageType/:manageId",element:h.jsx(fE,{})}),h.jsx(rn,{path:"/authentication-switch",element:h.jsx(uE,{})}),h.jsx(rn,{path:"/*",element:h.jsx(WH,{})})]}),h.jsx(Jj,{})]})]})},mB=_T.createRoot(document.getElementById("root"));mB.render(h.jsx(g.StrictMode,{children:h.jsx(pI,{children:h.jsx(jp,{children:h.jsx(rn,{path:"/*",element:h.jsx(hB,{})})})})}));
