PageSourceSearch

https://www.banknorwegian.fi/assets/bn-packages-DZRtw-mo.js

js banknorwegian.fi collected 2026-09-25 01:40:34 UTC 803,433 bytes, 178 lines download raw bytes

vendor: 7,626 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-Dl0-rAaI.js","assets/rolldown-runtime-B0Z9INg1.js"])))=>i.map(i=>d[i]);
2import{a as e,i as t,n,r,t as i}from"./rolldown-runtime-B0Z9INg1.js";var a=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()}
2,e.version=`19.2.4`})),o=i(((e,t)=>{t.exports=a()})),s=e(o()),c=function(e){return e[e.None=0]=`None`,e[e.Norway=1]=`Norway`,e[e.Sweden=2]=`Sweden`,e[e.Denmark=3]=`Denmark`,e[e.Finland=4]=`Finland`,e[e.Germany=5]=`Germany`,e[e.Spain=6]=`Spain`,e}({}),l=e=>{switch(e){case 1:return`+47`;case 2:return`+46 (0)`;case 3:return`+45`;case 4:return`+358 (0)`;case 5:return`+49`;case 6:return`+34`;default:return`+47`}},u={Danish:`da-DK`,Finnish:`fi-FI`,Norwegian:`nb-NO`,FinnishSwedish:`sv-FI`,Swedish:`sv-SE`,German:`de-DE`,Spanish:`es-ES`},d=e=>{switch(e){case c.Denmark:return u.Danish;case c.Finland:return u.Finnish;case c.Norway:return u.Norwegian;case c.Sweden:return u.Swedish;case c.Germany:return u.German;case c.Spain:return u.Spanish;case c.None:return;default:return}},f=e=>{switch(e){case u.Danish:return c.Denmark;case u.Finnish:return c.Finland;case u.FinnishSwedish:return c.Finland;case u.Norwegian:return c.Norway;case u.Swedish:return c.Sweden;case u.German:return c.Germany;case u.Spanish:return c.Spain;default:return c.Norway}},p=e=>e,m=(()=>{let e=p;return{configure(t){e=t},generate(t){return e(t)},reset(){e=p}}})();function h(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function g(e){if(typeof e!=`string`)throw Error(h(7));return e.charAt(0).toUpperCase()+e.slice(1)}var _=g;function v(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}var y=v,b=i(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),x=i(((e,t)=>{var n=b();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),S=i(((e,t)=>{t.exports=x()()}));function C(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=C(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function w(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=C(e))&&(r&&(r+=` `),r+=t);return r}function T(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}var E=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=o,e.ContextProvider=s,e.Element=t,e.ForwardRef=c,e.Fragment=r,e.Lazy=f,e.Memo=d,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=l,e.SuspenseList=u,e.isContextConsumer=function(e){return h(e)===o},e.isContextProvider=function(e){return h(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return h(e)===c},e.isFragment=function(e){return h(e)===r},e.isLazy=function(e){return h(e)===f},e.isMemo=function(e){return h(e)===d},e.isPortal=function(e){return h(e)===n},e.isProfiler=function(e){return h(e)===a},e.isStrictMode=function(e){return h(e)===i},e.isSuspense=function(e){return h(e)===l},e.isSuspenseList=function(e){return h(e)===u},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))},e.typeOf=h})),D=i(((e,t)=>{t.exports=E()})),O=D();function k(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);
2return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function A(e){if(s.isValidElement(e)||(0,O.isValidElementType)(e)||!k(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=A(e[n])}),t}function j(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return k(e)&&k(t)&&Object.keys(t).forEach(i=>{s.isValidElement(t[i])||(0,O.isValidElementType)(t[i])?r[i]=t[i]:k(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&k(e[i])?r[i]=j(e[i],t[i],n):n.clone?r[i]=k(t[i])?A(t[i]):t[i]:r[i]=t[i]}),r}function M(e,t){return t?j(e,t,{clone:!1}):e}function N(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function P(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function F(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function I(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var L={xs:0,sm:600,md:900,lg:1200,xl:1536},R={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${L[e]}px)`},z={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:L[t]||t;
2return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function B(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||R;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||R;return Object.keys(t).reduce((i,a)=>{if(P(e.keys,a)){let e=F(r.containerQueries?r:z,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||L).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function V(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function ee(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function te(e,...t){let n=V(e),r=[n,...t].reduce((e,t)=>j(e,t),{});return ee(Object.keys(n),r)}function ne(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function re({values:e,breakpoints:t,base:n}){let r=n||ne(e,t),i=Object.keys(r);if(i.length===0)return e;let a;return i.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=e[r]==null?e[a]:e[r],a=r):typeof e==`object`?(t[n]=e[n]==null?e[a]:e[n],a=n):t[n]=e,t),{})}function ie(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function ae(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:ie(e,n)||r,t&&(i=t(i,r,e)),i}function oe(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=ie(o,r)||{};return B(e,a,e=>{let r=ae(s,i,e);return e===r&&typeof e==`string`&&(r=ae(s,i,`${t}${e==="default"?``:g(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function se(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var ce={m:`margin`,p:`padding`},le={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},ue={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},de=se(e=>{if(e.length>2){if(ue[e])e=ue[e];else return[e]}let[t,n]=e.split(``),r=ce[t],i=le[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),fe=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],pe=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`];[...fe,...pe];function me(e,t,n,r){let i=ie(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function he(e){return me(e,`spacing`,8,`spacing`)}function ge(e,t){return typeof t==`string`||t==null?t:e(t)}function _e(e,t){return n=>e.reduce((e,r)=>(e[r]=ge(t,n),e),{})}function ve(e,t,n,r){if(!t.includes(n))return null;let i=_e(de(n),r),a=e[n];return B(e,a,i)}function ye(e,t){let n=he(e.theme);return Object.keys(e).map(r=>ve(e,t,r,n)).reduce(M,{})}function H(e){return ye(e,fe)}H.propTypes={},H.filterProps=fe;function be(e){return ye(e,pe)}be.propTypes={},be.filterProps=pe;function xe(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?M(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Se(e){return typeof e==`number`?`${e}px solid`:e}function Ce(e,t){return oe({prop:e,themeKey:`borders`,transform:t})}var we=Ce(`border`,Se),Te=Ce(`borderTop`,Se),Ee=Ce(`borderRight`,Se),De=Ce(`borderBottom`,Se),Oe=Ce(`borderLeft`,Se),ke=Ce(`borderColor`),Ae=Ce(`borderTopColor`),je=Ce(`borderRightColor`),Me=Ce(`borderBottomColor`),Ne=Ce(`borderLeftColor`),Pe=Ce(`outline`,Se),Fe=Ce(`outlineColor`),Ie=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=me(e.theme,`shape.borderRadius`,4,`borderRadius`);return B(e,e.borderRadius,e=>({borderRadius:ge(t,e)}))}return null};Ie.propTypes={},Ie.filterProps=[`borderRadius`],xe(we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Ie,Pe,Fe);var Le=e=>{if(e.gap!==void 0&&e.gap!==null){let t=me(e.theme,`spacing`,8,`gap`);return B(e,e.gap,e=>({gap:ge(t,e)}))}return null};
2Le.propTypes={},Le.filterProps=[`gap`];var Re=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=me(e.theme,`spacing`,8,`columnGap`);return B(e,e.columnGap,e=>({columnGap:ge(t,e)}))}return null};Re.propTypes={},Re.filterProps=[`columnGap`];var ze=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=me(e.theme,`spacing`,8,`rowGap`);return B(e,e.rowGap,e=>({rowGap:ge(t,e)}))}return null};ze.propTypes={},ze.filterProps=[`rowGap`],xe(Le,Re,ze,oe({prop:`gridColumn`}),oe({prop:`gridRow`}),oe({prop:`gridAutoFlow`}),oe({prop:`gridAutoColumns`}),oe({prop:`gridAutoRows`}),oe({prop:`gridTemplateColumns`}),oe({prop:`gridTemplateRows`}),oe({prop:`gridTemplateAreas`}),oe({prop:`gridArea`}));function Be(e,t){return t===`grey`?t:e}xe(oe({prop:`color`,themeKey:`palette`,transform:Be}),oe({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Be}),oe({prop:`backgroundColor`,themeKey:`palette`,transform:Be}));function Ve(e){return e<=1&&e!==0?`${e*100}%`:e}var He=oe({prop:`width`,transform:Ve}),Ue=e=>e.maxWidth!==void 0&&e.maxWidth!==null?B(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||L[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Ve(t)}}):null;Ue.filterProps=[`maxWidth`];var We=oe({prop:`minWidth`,transform:Ve}),Ge=oe({prop:`height`,transform:Ve}),Ke=oe({prop:`maxHeight`,transform:Ve}),qe=oe({prop:`minHeight`,transform:Ve});oe({prop:`size`,cssProperty:`width`,transform:Ve}),oe({prop:`size`,cssProperty:`height`,transform:Ve}),xe(He,Ue,We,Ge,Ke,qe,oe({prop:`boxSizing`}));var Je={border:{themeKey:`borders`,transform:Se},borderTop:{themeKey:`borders`,transform:Se},borderRight:{themeKey:`borders`,transform:Se},borderBottom:{themeKey:`borders`,transform:Se},borderLeft:{themeKey:`borders`,transform:Se},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Se},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ie},color:{themeKey:`palette`,transform:Be},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Be},backgroundColor:{themeKey:`palette`,transform:Be},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:H},mt:{style:H},mr:{style:H},mb:{style:H},ml:{style:H},mx:{style:H},my:{style:H},margin:{style:H},marginTop:{style:H},marginRight:{style:H},marginBottom:{style:H},marginLeft:{style:H},marginX:{style:H},marginY:{style:H},marginInline:{style:H},marginInlineStart:{style:H},marginInlineEnd:{style:H},marginBlock:{style:H},marginBlockStart:{style:H},marginBlockEnd:{style:H},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Le},rowGap:{style:ze},columnGap:{style:Re},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Ve},maxWidth:{style:Ue},minWidth:{transform:Ve},height:{transform:Ve},maxHeight:{transform:Ve},minHeight:{transform:Ve},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function Ye(...e){let t=e.reduce((e,t)=>
2e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function Xe(e,t){return typeof e==`function`?e(t):e}function Ze(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=ie(n,s)||{};return l?l(i):B(i,t,t=>{let n=ae(u,c,t);return t===n&&typeof t==`string`&&(n=ae(u,c,`${e}${t==="default"?``:g(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??Je;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=V(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=Xe(r[n],i);if(a!=null){if(typeof a==`object`){if(o[n])l=M(l,e(n,a,i,o));else{let e=B({theme:i},a,e=>({[n]:e}));Ye(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=M(l,e)}}else l=M(l,e(n,a,i,o))}}),!a&&i.modularCssLayers?{"@layer sx":N(i,ee(c,l))}:N(i,ee(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var Qe=Ze();Qe.filterProps=[`sx`];var $e=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Je;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function et(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=$e(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return k(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}function tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(null,arguments)}function nt(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function rt(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var it=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(rt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=nt(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 10,074 bytes, line 2
2,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),at=`-ms-`,ot=`-moz-`,st=`-webkit-`,ct=`comm`,lt=`rule`,ut=`decl`,dt=`@import`,ft=`@keyframes`,pt=`@layer`,mt=Math.abs,ht=String.fromCharCode,gt=Object.assign;function _t(e,t){return St(e,0)^45?(((t<<2^St(e,0))<<2^St(e,1))<<2^St(e,2))<<2^St(e,3):0}function vt(e){return e.trim()}function yt(e,t){return(e=t.exec(e))?e[0]:e}function bt(e,t,n){return e.replace(t,n)}function xt(e,t){return e.indexOf(t)}function St(e,t){return e.charCodeAt(t)|0}function Ct(e,t,n){return e.slice(t,n)}function wt(e){return e.length}function Tt(e){return e.length}function Et(e,t){return t.push(e),e}function Dt(e,t){return e.map(t).join(``)}var Ot=1,kt=1,At=0,jt=0,Mt=0,Nt=``;function Pt(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Ot,column:kt,length:o,return:``}}function Ft(e,t){return gt(Pt(``,null,null,``,null,null,0),e,{length:-e.length},t)}function It(){return Mt}function Lt(){return Mt=jt>0?St(Nt,--jt):0,kt--,Mt===10&&(kt=1,Ot--),Mt}function Rt(){return Mt=jt<At?St(Nt,jt++):0,kt++,Mt===10&&(kt=1,Ot++),Mt}function zt(){return St(Nt,jt)}function Bt(){return jt}function Vt(e,t){return Ct(Nt,e,t)}function Ht(e){switch(e){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 Ut(e){return Ot=kt=1,At=wt(Nt=e),jt=0,[]}function Wt(e){return Nt=``,e}function Gt(e){return vt(Vt(jt-1,Jt(e===91?e+2:e===40?e+1:e)))}function Kt(e){for(;(Mt=zt())&&Mt<33;)Rt();return Ht(e)>2||Ht(Mt)>3?``:` `}function qt(e,t){for(;--t&&Rt()&&!(Mt<48||Mt>102||Mt>57&&Mt<65||Mt>70&&Mt<97););return Vt(e,Bt()+(t<6&&zt()==32&&Rt()==32))}function Jt(e){for(;Rt();)switch(Mt){case e:return jt;case 34:case 39:e!==34&&e!==39&&Jt(Mt);break;case 40:e===41&&Jt(e);break;case 92:Rt()}return jt}function Yt(e,t){for(;Rt()&&e+Mt!==57&&(e+Mt!==84||zt()!==47););return`/*`+Vt(t,jt-1)+`*`+ht(e===47?e:Rt())}function Xt(e){for(;!Ht(zt());)Rt();return Vt(e,jt)}function Zt(e){return Wt(Qt(``,null,null,null,[``],e=Ut(e),0,[0],e))}function Qt(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=Rt()){case 40:if(m!=108&&St(C,d-1)==58){xt(C+=bt(Gt(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Gt(v);break;case 9:case 10:case 13:case 32:C+=Kt(m);break;case 92:C+=qt(Bt()-1,7);continue;case 47:switch(zt()){case 42:case 47:Et(en(Yt(Rt(),Bt()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=wt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=bt(C,/\f/g,``)),p>0&&wt(C)-d&&Et(p>32?tn(C+`;`,r,n,d-1):tn(bt(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Et(S=$t(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Qt(C,t,S,S,b,a,d,s,x);else switch(f===99&&St(C,3)===110?100:f){case 100:case 108:case 109:case 115:Qt(e,S,S,r&&Et($t(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Qt(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+wt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Lt()==125)continue}switch(C+=ht(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(wt(C)-1)*_,_=1;break;case 64:zt()===45&&(C+=Gt(Rt())),f=zt(),u=d=wt(y=C+=Xt(Bt())),v++;break;case 45:m===45&&wt(C)==2&&(h=0)}}return a}function $t(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Tt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Ct(e,d+1,d=mt(h=o[m])),y=e;_<p;++_)(y=vt(h>0?f[_]+` `+v:bt(v,/&\f/g,f[_])))&&(c[g++]=y);return Pt(e,t,n,i===0?lt:s,c,l,u)}function en(e,t,n){return Pt(e,t,n,ct,ht(It()),Ct(e,2,-2),0)}function tn(e,t,n,r){return Pt(e,t,n,ut,Ct(e,0,r),Ct(e,r+1,-1),r)}function nn(e,t){for(var n=``,r=Tt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function rn(e,t,n,r){switch(e.type){case pt:if(e.children.length)break;case dt:case ut:return e.return=e.return||e.value;case ct:return``;case ft:return e.return=e.value+`{`+nn(e.children,r)+`}`;case lt:e.value=e.props.join(`,`)}return wt(n=nn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function an(e){var t=Tt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function on(e){return function(t){t.root||(t=t.return)&&e(t)}}function sn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var cn=n((()=>{})),ln=function(e,t,n){for(var r=0,i=0;r=i,i=zt(),r===38&&i===12&&(t[n]=1),!Ht(i);)Rt();return Vt(e,jt)},un=function(e,t){var n=-1,r=44;do switch(Ht(r)){case 0:r===38&&zt()===12&&(t[n]=1),e[n]+=ln(jt-1,t,n);break;case 2:e[n]+=Gt(r);break;case 4:if(r===44){e[++n]=zt()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=ht(r)}while(r=Rt());return e},dn=function(e,t){return Wt(un(Ut(e),t))},fn=new WeakMap,pn=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||fn.get(n))&&!r){fn.set(e,!0);for(var i=[],a=dn(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},mn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function hn(e,t){switch(_t(e,t)){case 5103:return st+`print-`+e+e;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 st+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return st+e+ot+e+at+e+e;case 6828:case 4268:return st+e+at+e+e;case 6165:return st+e+at+`flex-`+e+e;case 5187:return st+e+bt(e,/(\w+).+(:[^]+)/,st+`box-$1$2`+at+`flex-$1$2`)+e;case 5443:return st+e+at+`flex-item-`+bt(e,/flex-|-self/,``)+e;case 4675:return st+e+at+`flex-line-pack`+bt(e,/align-content|flex-|-self/,``)+e;case 5548:return st+e+at+bt(e,`shrink`,`negative`)+e;case 5292:return st+e+at+bt(e,`basis`,`preferred-size`)+e;case 6060:return st+`box-`+bt(e,`-grow`,``)+st+e+at+bt(e,`grow`,`positive`)+e;case 4554:return st+bt(e,/([^-])(transform)/g,`$1`+st+`$2`)+e;case 6187:return bt(bt(bt(e,/(zoom-|grab)/,st+`$1`),/(image-set)/,st+`$1`),e,``)+e;case 5495:case 3959:return bt(e,/(image-set\([^]*)/,st+"$1$`$1");case 4968:return bt(bt(e,/(.+:)(flex-)?(.*)/,st+`box-pack:$3`+at+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+st+e+e;case 4095:case 3583:case 4068:case 2532:return bt(e,/(.+)-inline(.+)/,st+`$1$2`)+e;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(wt(e)-1-t>6)switch(St(e,t+1)){case 109:if(St(e,t+4)!==45)break;case 102:return bt(e,/(.+:)(.+)-([^]+)/,`$1`+st+`$2-$3$1`+ot+(St(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~xt(e,`stretch`)?hn(bt(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(St(e,t+1)!==115)break;case 6444:switch(St(e,wt(e)-3-(~xt(e,`!important`)&&10))){case 107:return bt(e,`:`,`:`+st)+e;case 101:return bt(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+st+(St(e,14)===45?`inline-`:``)+`box$3$1`+st+`$2$3$1`+at+`$2box$3`)+e}break;case 5936:switch(St(e,t+11)){case 114:return st+e+at+bt(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return st+e+at+bt(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return st+e+at+bt(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return st+e+at+e+e}return e}var gn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ut:e.return=hn(e.value,e.length);break;case ft:return nn([Ft(e,{value:bt(e.value,`@`,`@`+st)})],r);case lt:if(e.length)return Dt(e.props,function(t){switch(yt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return nn([Ft(e,{props:[bt(t,/:(read-\w+)/,`:`+ot+`$1`)]})],r);case`::placeholder`:return nn([Ft(e,{props:[bt(t,/:(plac\w+)/,`:`+st+`input-$1`)]}),Ft(e,{props:[bt(t,/:(plac\w+)/,`:`+ot+`$1`)]}),Ft(e,{props:[bt(t,/:(plac\w+)/,at+`input-$1`)]})],r)}return``})}}],_n=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||gn,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[pn,mn],l,u=[rn,on(function(e){l.insert(e)})],d=an(c.concat(r,u)),f=function(e){return nn(Zt(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new it({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},vn=i(((e,t)=>{var n=D(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function yn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}
2var bn=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},xn=function(e,t,n){bn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Sn(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Cn={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};cn();var wn=/[A-Z]|^ms/g,Tn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,En=function(e){return e.charCodeAt(1)===45},Dn=function(e){return e!=null&&typeof e!=`boolean`},On=sn(function(e){return En(e)?e:e.replace(wn,`-$&`).toLowerCase()}),kn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Tn,function(e,t,n){return Nn={name:t,styles:n,next:Nn},t})}return Cn[e]!==1&&!En(e)&&typeof t==`number`&&t!==0?t+`px`:t};function An(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Nn={name:i.name,styles:i.styles,next:Nn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Nn={name:o.name,styles:o.styles,next:Nn},o=o.next;return a.styles+`;`}return jn(e,t,n);case`function`:if(e!==void 0){var s=Nn,c=n(e);return Nn=s,An(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function jn(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=An(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Dn(s)&&(r+=On(a)+`:`+kn(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Dn(o[c])&&(r+=On(a)+`:`+kn(a,o[c])+`;`);else{var l=An(e,t,o);switch(a){case`animation`:case`animationName`:r+=On(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Mn=/label:\s*([^\s;{]+)\s*(;|$)/g,Nn;function Pn(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Nn=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=An(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=An(n,t,e[o]),r&&(i+=a[o]);Mn.lastIndex=0;for(var s=``,c;(c=Mn.exec(i))!==null;)s+=`-`+c[1];return{name:Sn(i)+s,styles:i,next:Nn}}var Fn=function(e){return e()},In=s.useInsertionEffect?s.useInsertionEffect:!1,Ln=In||Fn,Rn=In||s.useLayoutEffect,zn=s.createContext(typeof HTMLElement<`u`?_n({key:`css`}):null),Bn=zn.Provider,Vn=function(e){return(0,s.forwardRef)(function(t,n){return e(t,(0,s.useContext)(zn),n)})},Hn=s.createContext({}),Un={}.hasOwnProperty,Wn=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Gn=function(e,t){var n={};for(var r in t)Un.call(t,r)&&(n[r]=t[r]);return n[Wn]=e,n},Kn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return bn(t,n,r),Ln(function(){return xn(t,n,r)}),null},qn=Vn(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Wn],a=[r],o=``;typeof e.className==`string`?o=yn(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var c=Pn(a,void 0,s.useContext(Hn));o+=t.key+`-`+c.name;var l={};for(var u in e)Un.call(e,u)&&u!==`css`&&u!==Wn&&(l[u]=e[u]);return l.className=o,n&&(l.ref=n),s.createElement(s.Fragment,null,s.createElement(Kn,{cache:t,serialized:c,isStringTag:typeof i==`string`}),s.createElement(i,l))});vn();var Jn=function(e,t){var n=arguments;if(t==null||!Un.call(t,`css`))return s.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=qn,i[1]=Gn(e,t);for(var a=2;a<r;a++)i[a]=n[a];return s.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Jn||={});var Yn=Vn(function(e,t){var n=e.styles,r=Pn([n],void 0,s.useContext(Hn)),i=s.useRef();return Rn(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Rn(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&xn(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function Xn(){return Pn([...arguments])}function Zn(){var e=Xn.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var Qn=r({default:()=>er}),$n,er,tr=n((()=>{cn(),$n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
2ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,er=sn(function(e){return $n.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})}));tr();var nr=er,rr=function(e){return e!==`theme`},ir=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?nr:rr},ar=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},or=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return bn(t,n,r),Ln(function(){return xn(t,n,r)}),null},sr=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var c=ar(t,n,r),l=c||ir(i),u=!l(`as`);return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push(`label:`+a+`;`),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var m=d.length,h=1;h<m;h++)f.push(d[h],p[h])}var g=Vn(function(e,t,n){var r=u&&e.as||i,a=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=s.useContext(Hn)}typeof e.className==`string`?a=yn(t.registered,d,e.className):e.className!=null&&(a=e.className+` `);var h=Pn(f.concat(d),t.registered,p);a+=t.key+`-`+h.name,o!==void 0&&(a+=` `+o);var g=u&&c===void 0?ir(r):l,_={};for(var v in e)u&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=a,n&&(_.ref=n),s.createElement(s.Fragment,null,s.createElement(or,{cache:t,serialized:h,isStringTag:typeof r==`string`}),s.createElement(r,_))});return g.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=f,g.__emotion_forwardProp=c,Object.defineProperty(g,"toString",{value:function(){return`.`+
2o}}),g.withComponent=function(t,r){return e(t,tt({},n,r,{shouldForwardProp:ar(g,r,!0)})).apply(void 0,f)},g}},cr=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),lr=sr.bind(null);cr.forEach(function(e){lr[e]=lr(e)});var ur=i((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),dr=i(((e,t)=>{t.exports=ur()})),U=dr();function fr(e){return e==null||Object.keys(e).length===0}function pr(e){let{styles:t,defaultTheme:n={}}=e;return(0,U.jsx)(Yn,{styles:typeof t==`function`?e=>t(fr(e)?n:e):t})}function mr(e,t){return lr(e,t)}function hr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var gr=[];function _r(e){return gr[0]=e,Pn(gr)}var vr=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function yr(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=vr(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}var br={borderRadius:4};function xr(e=8,t=he({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);
2return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Sr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Cr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=yr(n),c=xr(i),l=j({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...br,...a}},o);return l=I(l),l.applyStyles=Sr,l=t.reduce((e,t)=>j(e,t),l),l.unstable_sxConfig={...Je,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Qe({sx:e,theme:this})},l}function wr(e){return Object.keys(e).length===0}function Tr(e=null){let t=s.useContext(Hn);return!t||wr(t)?e:t}var Er=Cr();function Dr(e=Er){return Tr(e)}function Or(e){let t=_r(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function kr({styles:e,themeId:t,defaultTheme:n={}}){let r=Dr(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Or(typeof e==`function`?e(i):e)):Or(a)),(0,U.jsx)(pr,{styles:a})}function Ar(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=mr(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(Qe);return s.forwardRef(function(e,o){let s=Dr(n),{className:c,component:l=`div`,...u}=et(e);return(0,U.jsx)(a,{as:l,ref:o,className:w(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var jr={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function W(e,t,n=`Mui`){let r=jr[t];return r?`${n}-${r}`:`${m.generate(e)}-${t}`}function G(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=W(e,t,n)}),r}function Mr(e){let{variants:t,...n}=e,r={variants:t,style:_r(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=_r(e.style))}),r}var Nr=Cr();function Pr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Fr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ir(e){return e?(t,n)=>n[e]:null}function Lr(e,t,n){e.theme=Vr(e.theme)?n:e.theme[t]||e.theme}function Rr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Rr(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Fr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Fr(_r(i),n):i}return zr(e,r.variants,[t],n)}return r?.isProcessed?n?Fr(_r(r.style),n):r.style:n?Fr(_r(r),n):r}function zr(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState}
2,n.push(r?Fr(_r(o.style(i)),r):o.style(i))):n.push(r?Fr(_r(o.style),r):o.style)}return n}function Br(e={}){let{themeId:t,defaultTheme:n=Nr,rootShouldForwardProp:r=Pr,slotShouldForwardProp:i=Pr}=e;function a(e){Lr(e,t,n)}return(e,t={})=>{hr(e,e=>e.filter(e=>e!==Qe));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Ir(Ur(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Pr;o===`Root`||o===`root`?m=r:o?m=i:Hr(e)&&(m=void 0);let h=mr(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Rr(t,e,t.theme.modularCssLayers?d:void 0)};if(k(e)){let t=Mr(e);return function(e){return t.variants?Rr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Fr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Rr(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?zr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Qe),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Vr(e){for(let t in e)return!1;return!0}function Hr(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Ur(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var Wr=Br();function Gr(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=Gr(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=w(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Kr(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Gr(t.components[n].defaultProps,r)}function qr({props:e,name:t,defaultTheme:n,themeId:r}){let i=Dr(n);return r&&(i=i[r]||i),Kr({theme:i,name:t,props:e})}var Jr=typeof window<`u`?s.useLayoutEffect:s.useEffect;function Yr(e,t,n,r,i){let[a,o]=s.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Jr(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Xr={...s}.useSyncExternalStore;function Zr(e,t,n,r,i){let a=s.useCallback(()=>t,[t]),o=s.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[c,l]=s.useMemo(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Xr(l,c,o)}function Qr(e={}){let{themeId:t}=e;return function(e,n={}){let r=Tr();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0,{defaultMatches:a=!1,matchMedia:o=i?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:c=!1}=Kr({name:`MuiUseMediaQuery`,props:n,theme:r}),l=typeof e==`function`?e(r):e;return l=l.replace(/^@media( ?)/m,``),l.includes(`print`)&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.",`Using the print media query to modify print styles can lead to unexpected results.`,"Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
3`)),(Xr===void 0?Yr:Zr)(l,a,o,s,c)}}Qr();function $r(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ei(e,t=0,n=1){return $r(e,t,n)}function ti(e){e=e.slice(1);
3let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function ni(e){if(e.type)return e;if(e.charAt(0)===`#`)return ni(ti(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(h(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(h(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var ri=e=>{let t=ni(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ii=(e,t)=>{try{return ri(e)}catch{return e}};function ai(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function oi(e){e=ni(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),ai({type:s,values:c})}function si(e){e=ni(e);let t=e.type===`hsl`||e.type===`hsla`?ni(oi(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ci(e,t){let n=si(e),r=si(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function li(e,t){return e=ni(e),t=ei(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,ai(e)}function ui(e,t,n){try{return li(e,t)}catch{return e}}function di(e,t){if(e=ni(e),t=ei(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ai(e)}function fi(e,t,n){try{return di(e,t)}catch{return e}}function pi(e,t){if(e=ni(e),t=ei(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ai(e)}function mi(e,t,n){try{return pi(e,t)}catch{return e}}function hi(e,t=.15){return si(e)>.5?di(e,t):pi(e,t)}function gi(e,t,n){try{return hi(e,t)}catch{return e}}var _i=s.createContext(null);function vi(){return s.useContext(_i)}var yi=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function bi(e,t){return typeof t==`function`?t(e):{...e,...t}}function xi(e){let{children:t,theme:n}=e,r=vi(),i=s.useMemo(()=>{let e=r===null?{...n}:bi(r,n);return e!=null&&(e[yi]=r!==null),e},[n,r]);return(0,U.jsx)(_i.Provider,{value:i,children:t})}var Si=s.createContext();function Ci({value:e,...t}){return(0,U.jsx)(Si.Provider,{value:e??!0,...t})}var wi=()=>s.useContext(Si)??!1,Ti=s.createContext(void 0);function Ei({value:e,children:t}){return(0,U.jsx)(Ti.Provider,{value:e,children:t})}function Di(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Gr(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Gr(i,r,t.components.mergeClassNameAndStyle):r}function Oi({props:e,name:t}){return Di({props:e,name:t,theme:{components:s.useContext(Ti)}})}var ki=0;function Ai(e){let[t,n]=s.useState(e),r=e||t;return s.useEffect(()=>{t??(ki+=1,n(`mui-${ki}`))},[t]),r}var ji={...s}.useId;function Mi(e){if(ji!==void 0){let t=ji();return e??t}return Ai(e)}function Ni(e){let t=Tr(),n=Mi()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Jr(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,U.jsx)(kr,{styles:i}):null}var Pi={};function Fi(e,t,n,r=!1){return s.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Ii(e){let{children:t,theme:n,themeId:r}=e,i=Tr(Pi),a=vi()||Pi,o=Fi(r,i,n),s=Fi(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Ni(o);return(0,U.jsx)(xi,{theme:s,children:(0,U.jsx)(Hn.Provider,{value:o,children:(0,U.jsx)(Ci,{value:c,children:(0,U.jsxs)(Ei,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Li={theme:void 0};function Ri(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Li.theme=r.theme,i=Mr(e(Li)),t=i,n=r.theme),i}}var zi=`mode`,Bi=`color-scheme`,Vi=`data-color-scheme`;function Hi(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDar
3kColorScheme:r=`dark`,modeStorageKey:i=zi,colorSchemeStorageKey:a=Bi,attribute:o=Vi,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
4      ${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
5      ${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
6      ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else l+=`${s}.setAttribute('${u}', colorScheme);`;return(0,U.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
7try {
8  let colorScheme = '';
9  const mode = localStorage.getItem('${i}') || '${t}';
10  const dark = localStorage.getItem('${a}-dark') || '${r}';
11  const light = localStorage.getItem('${a}-light') || '${n}';
12  if (mode === 'system') {
13    // handle system mode
14    const mql = window.matchMedia('(prefers-color-scheme: dark)');
15    if (mql.matches) {
16      colorScheme = dark
17    } else {
18      colorScheme = light
19    }
20  }
21  if (mode === 'light') {
22    colorScheme = light;
23  }
24  if (mode === 'dark') {
25    colorScheme = dark;
26  }
27  if (colorScheme) {
28    ${l}
29  }
30} catch(e){}})();`}},`mui-color-scheme-init`)}function Ui(){}var Wi=({key:e,storageWindow:t})=>(!t&&typeof window<`u`&&(t=window),{get(n){if(typeof window>`u`)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return Ui;let r=t=>{let r=t.newValue;t.key===e&&n(r)};return t.addEventListener(`storage`,r),()=>{t.removeEventListener(`storage`,r)}}});function Gi(){}function Ki(e){if(typeof window<`u`&&typeof window.matchMedia==`function`&&e===`system`)return window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function qi(e,t){if(e.mode===`light`||e.mode===`system`&&e.systemMode===`light`)return t(`light`);if(e.mode===`dark`||e.mode===`system`&&e.systemMode===`dark`)return t(`dark`)}function Ji(e){return qi(e,t=>{if(t===`light`)return e.lightColorScheme;if(t===`dark`)return e.darkColorScheme})}function Yi(e){let{defaultMode:t=`light`,defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:a=zi,colorSchemeStorageKey:o=Bi,storageWindow:c=typeof window>`u`?void 0:window,storageManager:l=Wi,noSsr:u=!1}=e,d=i.join(`,`),f=i.length>1,p=s.useMemo(()=>l?.({key:a,storageWindow:c}),[l,a,c]),m=s.useMemo(()=>l?.({key:`${o}-light`,storageWindow:c}),[l,o,c]),h=s.useMemo(()=>l?.({key:`${o}-dark`,storageWindow:c}),[l,o,c]),[g,_]=s.useState(()=>{let e=p?.get(t)||t,i=m?.get(n)||n,a=h?.get(r)||r;return{mode:e,systemMode:Ki(e),lightColorScheme:i,darkColorScheme:a}}),[v,y]=s.useState(u||!f);s.useEffect(()=>{y(!0)},[]);let b=Ji(g),x=s.useCallback(e=>{_(n=>{if(e===n.mode)return n;let r=e??t;return p?.set(r),{...n,mode:r,systemMode:Ki(r)}})},[p,t]),S=s.useCallback(e=>{e?typeof e==`string`?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):_(t=>{let n={...t};return qi(t,t=>{t===`light`&&(m?.set(e),n.lightColorScheme=e),t===`dark`&&(h?.set(e),n.darkColorScheme=e)}),n}):_(t=>{let i={...t},a=e.light===null?n:e.light,o=e.dark===null?r:e.dark;
30return a&&(d.includes(a)?(i.lightColorScheme=a,m?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(d.includes(o)?(i.darkColorScheme=o,h?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):_(e=>(m?.set(n),h?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[d,m,h,n,r]),C=s.useCallback(e=>{g.mode===`system`&&_(t=>{let n=e?.matches?`dark`:`light`;return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),w=s.useRef(C);return w.current=C,s.useEffect(()=>{if(typeof window.matchMedia!=`function`||!f)return;let e=(...e)=>w.current(...e),t=window.matchMedia(`(prefers-color-scheme: dark)`);return t.addListener(e),e(t),()=>{t.removeListener(e)}},[f]),s.useEffect(()=>{if(f){let e=p?.subscribe(e=>{(!e||[`light`,`dark`,`system`].includes(e))&&x(e||t)})||Gi,n=m?.subscribe(e=>{(!e||d.match(e))&&S({light:e})})||Gi,r=h?.subscribe(e=>{(!e||d.match(e))&&S({dark:e})})||Gi;return()=>{e(),n(),r()}}},[S,x,d,t,c,f,p,m,h]),{...g,mode:v?g.mode:void 0,systemMode:v?g.systemMode:void 0,colorScheme:v?b:void 0,setMode:x,setColorScheme:S}}var Xi=`*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function Zi(e){let{themeId:t,theme:n={},modeStorageKey:r=zi,colorSchemeStorageKey:i=Bi,disableTransitionOnChange:a=!1,defaultColorScheme:o,resolveTheme:c}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=s.createContext(void 0),d=()=>s.useContext(u)||l,f={},p={};function m(e){let{children:l,theme:d,modeStorageKey:m=r,colorSchemeStorageKey:h=i,disableTransitionOnChange:g=a,storageManager:_,storageWindow:v=typeof window>`u`?void 0:window,documentNode:y=typeof document>`u`?void 0:document,colorSchemeNode:b=typeof document>`u`?void 0:document.documentElement,disableNestedContext:x=!1,disableStyleSheetGeneration:S=!1,defaultMode:C=`system`,forceThemeRerender:w=!1,noSsr:T}=e,E=s.useRef(!1),D=vi(),O=s.useContext(u),k=!!O&&!x,A=s.useMemo(()=>d||(typeof n==`function`?n():n),[d]),j=A[t],M=j||A,{colorSchemes:N=f,components:P=p,cssVarPrefix:F}=M,I=Object.keys(N).filter(e=>!!N[e]).join(`,`),L=s.useMemo(()=>I.split(`,`),[I]),R=typeof o==`string`?o:o.light,z=typeof o==`string`?o:o.dark,{mode:B,setMode:V,systemMode:ee,lightColorScheme:te,darkColorScheme:ne,colorScheme:re,setColorScheme:ie}=Yi({supportedColorSchemes:L,defaultLightColorScheme:R,defaultDarkColorScheme:z,modeStorageKey:m,colorSchemeStorageKey:h,defaultMode:N[R]&&N[z]?C:N[M.defaultColorScheme]?.palette?.mode||M.palette?.mode,storageManager:_,storageWindow:v,noSsr:T}),ae=B,oe=re;k&&(ae=O.mode,oe=O.colorScheme);let se=oe||M.defaultColorScheme;M.vars&&!w&&(se=M.defaultColorScheme);let ce=s.useMemo(()=>{let e=M.generateThemeVars?.()||M.vars,t={...M,components:P,colorSchemes:N,cssVarPrefix:F,vars:e};if(typeof t.generateSpacing==`function`&&(t.spacing=t.generateSpacing()),se){let e=N[se];e&&typeof e==`object`&&Object.keys(e).forEach(n=>{e[n]&&typeof e[n]==`object`?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return c?c(t):t},[M,se,P,N,F]),le=M.colorSchemeSelector;Jr(()=>{if(oe&&b&&le&&le!==`media`){let e=le,t=le;if(e===`class`&&(t=`.%s`),e===`data`&&(t=`[data-%s]`),e?.startsWith(`data-`)&&!e.includes(`%s`)&&(t=`[${e}="%s"]`),t.startsWith(`.`))b.classList.remove(...L.map(e=>t.substring(1).replace(`%s`,e))),b.classList.add(t.substring(1).replace(`%s`,oe));else{let e=t.replace(`%s`,oe).match(/\[([^\]]+)\]/);if(e){let[t,n]=e[1].split(`=`);n||L.forEach(e=>{b.removeAttribute(t.replace(oe,e))}),b.setAttribute(t,n?n.replace(/"|'/g,``):``)}else b.setAttribute(t,oe)}}},[oe,le,b,L]),s.useEffect(()=>{let e;if(g&&E.current&&y){let t=y.createElement(`style`);t.appendChild(y.createTextNode(Xi)),y.head.appendChild(t),window.getComputedStyle(y.body),e=setTimeout(()=>{y.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[oe,g,y]),s.useEffect(()=>(E.current=!0,()=>{E.current=!1}),[]);let ue=s.useMemo(()=>({allColorSchemes:L,colorScheme:oe,darkColorScheme:ne,lightColorScheme:te,mode:ae,setColorScheme:ie,setMode:V,systemMode:ee}),[L,oe,ne,te,ae,ie,V,ee,ce.colorSchemeSelector]),de=!0;(S||M.cssVariables===!1||k&&D?.cssVarPrefix===F)&&(de=!1);let fe=(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(Ii,{themeId:j?t:void 0,theme:ce,children:l}),de&&(0,U.jsx)(pr,{styles:ce.generateStyleSheets?.()||[]})]});return k?fe:(0,U.jsx)(u.Provider,{value:ue,children:fe})}let h=typeof o==`string`?o:o.light,g=typeof o==`string`?o:o.dark;
30return{CssVarsProvider:m,useColorScheme:d,getInitColorSchemeScript:e=>Hi({colorSchemeStorageKey:i,defaultLightColorScheme:h,defaultDarkColorScheme:g,modeStorageKey:r,...e})}}function Qi(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var $i=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},ea=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},ta=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function na(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return ea(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=ta(e,t);Object.assign(i,{[r]:c}),$i(a,e,`var(${r})`,s),$i(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function ra(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=na(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=na(n,t);p=j(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=na(h,t);p=j(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=j(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function ia(e){return function(t){return e===`media`?`@media (prefers-color-scheme: ${t})`:e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}function aa(e,t){return s.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var oa=(e,t)=>e.filter(e=>t.includes(e)),sa=(e,t,n)=>{let r=e.keys[0];Array.isArray(t)?t.forEach((t,r)=>{n((t,n)=>{r<=e.keys.length-1&&(r===0?Object.assign(t,n):t[e.up(e.keys[r])]=n)},t)}):t&&typeof t==`object`?(Object.keys(t).length>e.keys.length?e.keys:oa(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.includes(i)){let a=t[i];a!==void 0&&n((t,n)=>{r===i?Object.assign(t,n):t[e.up(i)]=n},a)}}):(typeof t==`number`||typeof t==`string`)&&n((e,t)=>{Object.assign(e,t)},t)};function ca(e){return`--Grid-${e}Spacing`}function la(e){return`--Grid-parent-${e}Spacing`}var ua=`--Grid-columns`,da=`--Grid-parent-columns`,fa=({theme:e,ownerState:t})=>{let n={};return sa(e.breakpoints,t.size,(e,t)=>{let r={};t===`grow`&&(r={flexBasis:0,flexGrow:1,maxWidth:`100%`}),t===`auto`&&(r={flexBasis:`auto`,flexGrow:0,flexShrink:0,maxWidth:`none`,width:`auto`}),typeof t==`number`&&(r={flexGrow:0,flexBasis:`auto`,width:`calc(100% * ${t} / var(${da}) - (var(${da}) - ${t}) * (var(${la(`column`)}) / var(${da})))`}),e(n,r)}),n},pa=({theme:e,ownerState:t})=>{let n={};return sa(e.breakpoints,t.offset,(e,t)=>{let r={};t===`auto`&&(r={marginLeft:`auto`}),typeof t==`number`&&(r={marginLeft:t===0?`0px`:`calc(100% * ${t} / var(${da}) + var(${la(`column`)}) * ${t} / var(${da}))`}),e(n,r)}),n},ma=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={[ua]:12};return sa(e.breakpoints,t.columns,(e,t)=>{let r=t??12;e(n,{[ua]:r,"> *":{[da]:r}})}),n},ha=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return sa(e.breakpoints,t.rowSpacing,(t,r)=>{let i=typeof r==`string`?r:e.spacing?.(r);t(n,{[ca(`row`)]:i,"> *":{[la(`row`)]:i}})}),n},ga=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return sa(e.breakpoints,t.columnSpacing,(t,r)=>{let i=typeof r==`string`?r:e.spacing?.(r);t(n,{[ca(`column`)]:i,"> *":{[la(`column`)]:i}})}),n},_a=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return sa(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},va=({ownerState:e})=>({minWidth:0,boxSizing:`border-box`,...e.container&&{display:`flex`,flexWrap:`wrap`,...e.wrap&&e.wrap!==`wrap`&&{flexWrap:e.wrap},gap:`var(${ca(`row`)}) var(${ca(`column`)})`}}),ya=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{n!==!1&&n!==void 0&&t.push(`grid-${e}-${String(n)}`)}),t},ba=(e,t=`xs`)=>
30{function n(e){return e===void 0?!1:typeof e==`string`&&!Number.isNaN(Number(e))||typeof e==`number`&&e>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e==`object`&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)}),t}return[]},xa=e=>e===void 0?[]:typeof e==`object`?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];function Sa(e,t){let n=[];e.item!==void 0&&(delete e.item,n.push(`item`)),e.zeroMinWidth!==void 0&&(delete e.zeroMinWidth,n.push(`zeroMinWidth`)),t.keys.forEach(t=>{e[t]!==void 0&&(n.push(t),delete e[t])})}var Ca=Cr(),wa=Wr(`div`,{name:`MuiGrid`,slot:`Root`});function Ta(e){return qr({props:e,name:`MuiGrid`,defaultTheme:Ca})}function Ea(e={}){let{createStyledComponent:t=wa,useThemeProps:n=Ta,useTheme:r=Dr,componentName:i=`MuiGrid`}=e,a=(e,t)=>{let{container:n,direction:r,spacing:a,wrap:o,size:s}=e;return T({root:[`root`,n&&`container`,o!==`wrap`&&`wrap-xs-${String(o)}`,...xa(r),...ya(s),...n?ba(a,t.breakpoints.keys[0]):[]]},e=>W(i,e),{})};function o(e,t,n=()=>!0){let r={};return e===null||(Array.isArray(e)?e.forEach((e,i)=>{e!==null&&n(e)&&t.keys[i]&&(r[t.keys[i]]=e)}):typeof e==`object`?Object.keys(e).forEach(t=>{let i=e[t];i!=null&&n(i)&&(r[t]=i)}):r[t.keys[0]]=e),r}let c=t(ma,ga,ha,fa,_a,va,pa),l=s.forwardRef(function(e,t){let i=r(),l=et(n(e));Sa(l,i.breakpoints);let{className:u,children:d,columns:f=12,container:p=!1,component:m=`div`,direction:h=`row`,wrap:g=`wrap`,size:_={},offset:v={},spacing:y=0,rowSpacing:b=y,columnSpacing:x=y,unstable_level:S=0,...C}=l,T=o(_,i.breakpoints,e=>e!==!1),E=o(v,i.breakpoints),D=e.columns??(S?void 0:f),O=e.spacing??(S?void 0:y),k=e.rowSpacing??e.spacing??(S?void 0:b),A=e.columnSpacing??e.spacing??(S?void 0:x),j={...l,level:S,columns:D,container:p,direction:h,wrap:g,spacing:O,rowSpacing:k,columnSpacing:A,size:T,offset:E},M=a(j,i);return(0,U.jsx)(c,{ref:t,as:m,ownerState:j,className:w(M.root,u),...C,children:s.Children.map(d,e=>s.isValidElement(e)&&aa(e,[`Grid`])&&p&&e.props.container?s.cloneElement(e,{unstable_level:e.props?.unstable_level??S+1}):e)})});return l.muiName=`Grid`,l}var Da=Cr(),Oa=Wr(`div`,{name:`MuiStack`,slot:`Root`});function ka(e){return qr({props:e,name:`MuiStack`,defaultTheme:Da})}function Aa(e,t){let n=s.Children.toArray(e).filter(Boolean);return n.reduce((e,r,i)=>(e.push(r),i<n.length-1&&e.push(s.cloneElement(t,{key:`separator-${i}`})),e),[])}var ja=e=>({row:`Left`,"row-reverse":`Right`,column:`Top`,"column-reverse":`Bottom`})[e],Ma=({ownerState:e,theme:t})=>{let n={display:`flex`,flexDirection:`column`,...B({theme:t},re({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let r=he(t),i=Object.keys(t.breakpoints.values).reduce((t,n)=>((typeof e.spacing==`object`&&e.spacing[n]!=null||typeof e.direction==`object`&&e.direction[n]!=null)&&(t[n]=!0),t),{}),a=re({values:e.direction,base:i}),o=re({values:e.spacing,base:i});typeof a==`object`&&Object.keys(a).forEach((e,t,n)=>{if(!a[e]){let r=t>0?a[n[t-1]]:`column`;a[e]=r}}),n=j(n,B({theme:t},o,(t,n)=>e.useFlexGap?{gap:ge(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${ja(n?a[n]:e.direction)}`]:ge(r,t)}}))}return n=te(t.breakpoints,n),n};function Na(e={}){let{createStyledComponent:t=Oa,useThemeProps:n=ka,componentName:r=`MuiStack`}=e,i=()=>T({root:[`root`]},e=>W(r,e),{}),a=t(Ma);return s.forwardRef(function(e,t){let{component:r=`div`,direction:o=`column`,spacing:s=0,divider:c,children:l,className:u,useFlexGap:d=!1,...f}=et(n(e)),p={direction:o,spacing:s,useFlexGap:d},m=i();return(0,U.jsx)(a,{as:r,ownerState:p,ref:t,className:w(m.root,u),...f,children:c?Aa(l,c):l})})}var Pa={black:`#000`,white:`#fff`},Fa={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`},Ia={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},La={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},Ra={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},za={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},Ba={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},Va={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`};function Ha(){return{text:{primary:`rgba(0, 0, 0, 0.87)`,secondary:`rgba(0, 0, 0, 0.6)`,disabled:`rgba(0, 0, 0, 0.38)`},divider:`rgba(0, 0, 0, 0.12)`,background:{paper:Pa.white,default:Pa.white},action:{active:`rgba(0, 0, 0, 0.54)`,hover:`rgba(0, 0, 0, 0.04)`,hoverOpacity:.04,selected:`rgba(0, 0, 0, 0.08)`,selectedOpacity:.08,disabled:`rgba(0, 0, 0, 0.26)`,disabledBackgroun
30d:`rgba(0, 0, 0, 0.12)`,disabledOpacity:.38,focus:`rgba(0, 0, 0, 0.12)`,focusOpacity:.12,activatedOpacity:.12}}}var Ua=Ha();function Wa(){return{text:{primary:Pa.white,secondary:`rgba(255, 255, 255, 0.7)`,disabled:`rgba(255, 255, 255, 0.5)`,icon:`rgba(255, 255, 255, 0.5)`},divider:`rgba(255, 255, 255, 0.12)`,background:{paper:`#121212`,default:`#121212`},action:{active:Pa.white,hover:`rgba(255, 255, 255, 0.08)`,hoverOpacity:.08,selected:`rgba(255, 255, 255, 0.16)`,selectedOpacity:.16,disabled:`rgba(255, 255, 255, 0.3)`,disabledBackground:`rgba(255, 255, 255, 0.12)`,disabledOpacity:.38,focus:`rgba(255, 255, 255, 0.12)`,focusOpacity:.12,activatedOpacity:.24}}}var Ga=Wa();function Ka(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=pi(e.main,i):t===`dark`&&(e.dark=di(e.main,a)))}function qa(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function Ja(e=`light`){return e===`dark`?{main:za[200],light:za[50],dark:za[400]}:{main:za[700],light:za[400],dark:za[800]}}function Ya(e=`light`){return e===`dark`?{main:Ia[200],light:Ia[50],dark:Ia[400]}:{main:Ia[500],light:Ia[300],dark:Ia[700]}}function Xa(e=`light`){return e===`dark`?{main:La[500],light:La[300],dark:La[700]}:{main:La[700],light:La[400],dark:La[800]}}function Za(e=`light`){return e===`dark`?{main:Ba[400],light:Ba[300],dark:Ba[700]}:{main:Ba[700],light:Ba[500],dark:Ba[900]}}function Qa(e=`light`){return e===`dark`?{main:Va[400],light:Va[300],dark:Va[700]}:{main:Va[800],light:Va[500],dark:Va[900]}}function $a(e=`light`){return e===`dark`?{main:Ra[400],light:Ra[300],dark:Ra[700]}:{main:`#ed6c02`,light:Ra[500],dark:Ra[900]}}function eo(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function to(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Ja(t),s=e.secondary||Ya(t),c=e.error||Xa(t),l=e.info||Za(t),u=e.success||Qa(t),d=e.warning||$a(t);function f(e){return i?eo(e):ci(e,Ga.text.primary)>=n?Ga.text.primary:Ua.text.primary}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(h(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(h(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(qa(i,e,`light`,a,r),qa(i,e,`dark`,o,r)):(Ka(e,`light`,a,r),Ka(e,`dark`,o,r)),e.contrastText||(e.contrastText=f(e.main)),e},m;return t===`light`?m=Ha():t===`dark`&&(m=Wa()),j({common:{...Pa},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:Fa,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function no(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function ro(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function io(e){return Math.round(e*1e5)/1e5}var ao={textTransform:`uppercase`},oo=`"Roboto", "Helvetica", "Arial", sans-serif`;function so(e,t){let{fontFamily:n=oo,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===oo?{letterSpacing:`${io(i/t)}em`}:{},...a,...l});return j({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,ao),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,ao),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var co=.2,lo=.14,uo=.12;function fo(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${co})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${lo})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${uo})`].join(`,`)}var po=[`none`,fo(0,2,1,-1,0,1,1,0,0,1,3,0),fo(0,3,1,-2,0,2,2,0,0,1,5,0),fo(0,3,3,-2,0,3,4,0,0,1,8,0),fo(0,2,4,-1,0,4,5,0,0,1,10,0),fo(0,3,5,-1,0,5,8,0,0,1,14,0),fo(0,3,5,-1,0,6,10,0,0,1,18,0),fo(0,4,5,-2,0,7,10,1,0,2,16,1),fo(0,5,5,-3,0,8,10,1,0,3,14,2),fo(0,5,6,-3,0,9,12,1,0,3,16,2),fo(0,6,6,-3,0,10,14,1,0,4,18,3),fo(0,6,7,-4,0,11,15,1,0,4,20,3),fo(0,7,8,-4,0,12,17,2,0,5,22,4),fo(0,7,8,-4,0,13,19,2,0,5,24,4),fo(0,7,9,-4,0,14,21,2,0,5,26,4),fo(0,8,9,-5,0,15,22,2,0,6,28,5),fo(0,8,10,-5,0,16,24,2,0,6,30,5),fo(0,8,11,-5,0,17,26,2,0,6,32,5),fo(0,9,11,-5,0,18,28,2,0,7,34,6),fo(0,9,12,-6,0,19,29,2,0,7,36,6
30),fo(0,10,13,-6,0,20,31,3,0,8,38,7),fo(0,10,13,-6,0,21,33,3,0,8,40,7),fo(0,10,14,-6,0,22,35,3,0,8,42,7),fo(0,11,14,-7,0,23,36,3,0,9,44,8),fo(0,11,15,-7,0,24,38,3,0,9,46,8)],mo={easeInOut:`cubic-bezier(0.4, 0, 0.2, 1)`,easeOut:`cubic-bezier(0.0, 0, 0.2, 1)`,easeIn:`cubic-bezier(0.4, 0, 1, 1)`,sharp:`cubic-bezier(0.4, 0, 0.6, 1)`},ho={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function go(e){return`${Math.round(e)}ms`}function _o(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function vo(e){let t={...mo,...e.easing},n={...ho,...e.duration};return{getAutoHeightDuration:_o,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:go(i)} ${a} ${typeof o==`string`?o:go(o)}`).join(`,`)},...e,easing:t,duration:n}}var yo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function bo(e){return k(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function xo(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!bo(a)||i.startsWith(`unstable_`)?delete e[i]:k(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
31
32const theme = ${JSON.stringify(t,null,2)};
33
34theme.breakpoints = createBreakpoints(theme.breakpoints || {});
35theme.transitions = createTransitions(theme.transitions || {});
36
37export default theme;`}function So(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Co=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function wo(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:li(t,Co(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${So(n)})`:pi(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${So(n)})`:di(t,n)}})}function To(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(h(20));let d=to({...a,colorSpace:l}),f=Cr(e),p=j(f,{mixins:ro(f.breakpoints,r),palette:d,shadows:po.slice(),typography:so(d,s),transitions:vo(o),zIndex:{...yo}});return p=j(p,u),p=t.reduce((e,t)=>j(e,t),p),p.unstable_sxConfig={...Je,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Qe({sx:e,theme:this})},p.toRuntimeSource=xo,wo(p),p}function Eo(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Do=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Eo(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Oo(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function ko(e){return e===`dark`?Do:[]}function Ao(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=to({...t,colorSpace:i});return{palette:o,opacity:{...Oo(o.mode),...n},overlays:r||ko(o.mode),...a}}function jo(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Mo=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],No=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};
37return Mo(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Po(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function K(e,t,n){!e[t]&&n&&(e[t]=n)}function Fo(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:oi(e)}function Io(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ii(Fo(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
38To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Lo(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ro=e=>{try{return e()}catch{}},zo=(e=`mui`)=>Qi(e);function Bo(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Ao({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=To({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Oo(a),...n?.opacity},overlays:n?.overlays||ko(a)},s}function Vo(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=jo,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=zo(a),{[f]:m,light:g,dark:_,...v}=n,y={...v},b=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(h(21,f));let x;o&&(x=`oklch`);let S=Bo(x,y,b,u,f);g&&!y.light&&Bo(x,y,g,void 0,`light`),_&&!y.dark&&Bo(x,y,_,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:y,font:{...no(S.typography),...S.font},spacing:Lo(u.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(K(t.common,`background`,`#fff`),K(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(K(t.common,`background`,`#000`),K(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===ui&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===fi&&(r=`#000 ${(n*100).toFixed(0)}%`),e===mi&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(Po(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){K(t.Alert,`errorColor`,r(fi,t.error.light,.6)),K(t.Alert,`infoColor`,r(fi,t.info.light,.6)),K(t.Alert,`successColor`,r(fi,t.success.light,.6)),K(t.Alert,`warningColor`,r(fi,t.warning.light,.6)),K(t.Alert,`errorFilledBg`,n(`palette-error-main`)),K(t.Alert,`infoFilledBg`,n(`palette-info-main`)),K(t.Alert,`successFilledBg`,n(`palette-success-main`)),K(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),K(t.Alert,`errorFilledColor`,Ro(()=>t.getContrastText(t.error.main))),K(t.Alert,`infoFilledColor`,Ro(()=>t.getContrastText(t.info.main))),K(t.Alert,`successFilledColor`,Ro(()=>t.getContrastText(t.success.main))),K(t.Alert,`warningFilledColor`,Ro(()=>t.getContrastText(t.warning.main))),K(t.Alert,`errorStandardBg`,r(mi,t.error.light,.9)),K(t.Alert,`infoStandardBg`,r(mi,t.info.light,.9)),K(t.Alert,`successStandardBg`,r(mi,t.success.light,.9)),K(t.Alert,`warningStandardBg`,r(mi,t.warning.light,.9)),K(t.Alert,`errorIconColor`,n(`palette-error-main`)),K(t.Alert,`infoIconColor`,n(`palette-info-main`)),K(t.Alert,`successIconColor`,n(`palette-success-main`)),K(t.Alert,`warningIconColor`,n(`palette-warning-main`)),K(t.AppBar,`defaultBg`,n(`palette-grey-100`)),K(t.Avatar,`defaultBg`,n(`palette-grey-400`)),K(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),K(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),K(t.Chip,`defaultBorder`,n(`palette-grey-400`)),K(t.Chip,`defaultAvatarColor`,
38n(`palette-grey-700`)),K(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),K(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),K(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),K(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),K(t.LinearProgress,`primaryBg`,r(mi,t.primary.main,.62)),K(t.LinearProgress,`secondaryBg`,r(mi,t.secondary.main,.62)),K(t.LinearProgress,`errorBg`,r(mi,t.error.main,.62)),K(t.LinearProgress,`infoBg`,r(mi,t.info.main,.62)),K(t.LinearProgress,`successBg`,r(mi,t.success.main,.62)),K(t.LinearProgress,`warningBg`,r(mi,t.warning.main,.62)),K(t.Skeleton,`bg`,x?r(ui,t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),K(t.Slider,`primaryTrack`,r(mi,t.primary.main,.62)),K(t.Slider,`secondaryTrack`,r(mi,t.secondary.main,.62)),K(t.Slider,`errorTrack`,r(mi,t.error.main,.62)),K(t.Slider,`infoTrack`,r(mi,t.info.main,.62)),K(t.Slider,`successTrack`,r(mi,t.success.main,.62)),K(t.Slider,`warningTrack`,r(mi,t.warning.main,.62));let e=x?r(fi,t.background.default,.6825):gi(t.background.default,.8);K(t.SnackbarContent,`bg`,e),K(t.SnackbarContent,`color`,Ro(()=>x?Ga.text.primary:t.getContrastText(e))),K(t.SpeedDialAction,`fabHoverBg`,gi(t.background.paper,.15)),K(t.StepConnector,`border`,n(`palette-grey-400`)),K(t.StepContent,`border`,n(`palette-grey-400`)),K(t.Switch,`defaultColor`,n(`palette-common-white`)),K(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),K(t.Switch,`primaryDisabledColor`,r(mi,t.primary.main,.62)),K(t.Switch,`secondaryDisabledColor`,r(mi,t.secondary.main,.62)),K(t.Switch,`errorDisabledColor`,r(mi,t.error.main,.62)),K(t.Switch,`infoDisabledColor`,r(mi,t.info.main,.62)),K(t.Switch,`successDisabledColor`,r(mi,t.success.main,.62)),K(t.Switch,`warningDisabledColor`,r(mi,t.warning.main,.62)),K(t.TableCell,`border`,r(mi,r(ui,t.divider,1),.88)),K(t.Tooltip,`bg`,r(ui,t.grey[700],.92))}if(t.mode===`dark`){K(t.Alert,`errorColor`,r(mi,t.error.light,.6)),K(t.Alert,`infoColor`,r(mi,t.info.light,.6)),K(t.Alert,`successColor`,r(mi,t.success.light,.6)),K(t.Alert,`warningColor`,r(mi,t.warning.light,.6)),K(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),K(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),K(t.Alert,`successFilledBg`,n(`palette-success-dark`)),K(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),K(t.Alert,`errorFilledColor`,Ro(()=>t.getContrastText(t.error.dark))),K(t.Alert,`infoFilledColor`,Ro(()=>t.getContrastText(t.info.dark))),K(t.Alert,`successFilledColor`,Ro(()=>t.getContrastText(t.success.dark))),K(t.Alert,`warningFilledColor`,Ro(()=>t.getContrastText(t.warning.dark))),K(t.Alert,`errorStandardBg`,r(fi,t.error.light,.9)),K(t.Alert,`infoStandardBg`,r(fi,t.info.light,.9)),K(t.Alert,`successStandardBg`,r(fi,t.success.light,.9)),K(t.Alert,`warningStandardBg`,r(fi,t.warning.light,.9)),K(t.Alert,`errorIconColor`,n(`palette-error-main`)),K(t.Alert,`infoIconColor`,n(`palette-info-main`)),K(t.Alert,`successIconColor`,n(`palette-success-main`)),K(t.Alert,`warningIconColor`,n(`palette-warning-main`)),K(t.AppBar,`defaultBg`,n(`palette-grey-900`)),K(t.AppBar,`darkBg`,n(`palette-background-paper`)),K(t.AppBar,`darkColor`,n(`palette-text-primary`)),K(t.Avatar,`defaultBg`,n(`palette-grey-600`)),K(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),K(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),K(t.Chip,`defaultBorder`,n(`palette-grey-700`)),K(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),K(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),K(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),K(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),K(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),K(t.LinearProgress,`primaryBg`,r(fi,t.primary.main,.5)),K(t.LinearProgress,`secondaryBg`,r(fi,t.secondary.main,.5)),K(t.LinearProgress,`errorBg`,r(fi,t.error.main,.5)),K(t.LinearProgress,`infoBg`,r(fi,t.info.main,.5)),K(t.LinearProgress,`successBg`,r(fi,t.success.main,.5)),K(t.LinearProgress,`warningBg`,r(fi,t.warning.main,.5)),K(t.Skeleton,`bg`,x?r(ui,t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),K(t.Slider,`primaryTrack`,r(fi,t.primary.main,.5)),K(t.Slider,`secondaryTrack`,r(fi,t.secondary.main,.5)),K(t.Slider,`errorTrack`,r(fi,t.error.main,.5)),K(t.Slider,`infoTrack`,r(fi,t.info.main,.5)),K(t.Slider,`successTrack`,r(fi,t.success.main,.5)),K(t.Slider,`warningTrack`,r(fi,t.warning.main,.5));let e=x?r(mi,t.background.default,.985):gi(t.background.default,.98);K(t.SnackbarContent,`bg`,e),K(t.SnackbarContent,`color`,Ro(()=>x?Ua.text.primary:t.getContrastText(e))),K(t.SpeedDialAction,`fabHoverBg`,gi(t.background.paper,.15)),K(t.StepConnector,`border`,n(`palette-grey-600`)),K(t.StepContent,`border`,n(`palette-grey-600`)),K(t.Switch,`defaultColor`,n(`palette-grey-300`)),K(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),K(t.Switch,`primaryDisabledColor`,r(fi,t.primary.main,.55)),K(t.Switch,`secondary
38DisabledColor`,r(fi,t.secondary.main,.55)),K(t.Switch,`errorDisabledColor`,r(fi,t.error.main,.55)),K(t.Switch,`infoDisabledColor`,r(fi,t.info.main,.55)),K(t.Switch,`successDisabledColor`,r(fi,t.success.main,.55)),K(t.Switch,`warningDisabledColor`,r(fi,t.warning.main,.55)),K(t.TableCell,`border`,r(fi,r(ui,t.divider,1),.68)),K(t.Tooltip,`bg`,r(ui,t.grey[700],.92))}Io(t.background,`default`),Io(t.background,`paper`),Io(t.common,`background`),Io(t.common,`onBackground`),Io(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&K(t[e],`mainChannel`,ii(Fo(n.main))),n.light&&K(t[e],`lightChannel`,ii(Fo(n.light))),n.dark&&K(t[e],`darkChannel`,ii(Fo(n.dark))),n.contrastText&&K(t[e],`contrastTextChannel`,ii(Fo(n.contrastText))),e===`text`&&(Io(t[e],`primary`),Io(t[e],`secondary`)),e===`action`&&(n.active&&Io(t[e],`active`),n.selected&&Io(t[e],`selected`)))})}),C=t.reduce((e,t)=>j(e,t),C);let w={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:No(C),enableContrastVars:o},{vars:T,generateThemeVars:E,generateStyleSheets:D}=ra(C,w);return C.vars=T,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=E,C.generateStyleSheets=D,C.generateSpacing=function(){return xr(u.spacing,he(this))},C.getColorSchemeSelector=ia(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Je,...u?.unstable_sxConfig},C.unstable_sx=function(e){return Qe({sx:e,theme:this})},C.toRuntimeSource=xo,C}function Ho(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:to({...n===!0?{}:n.palette,mode:t})})}function Uo(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return To(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=To({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Ho(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Ho(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Vo({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Wo=Uo(),Go=`$$material`;function Ko(){let e=Dr(Wo);return e.$$material||e}function qo(e){return(0,U.jsx)(kr,{...e,defaultTheme:Wo,themeId:Go})}function Jo(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Yo=e=>Jo(e)&&e!==`classes`,q=Br({themeId:Go,defaultTheme:Wo,rootShouldForwardProp:Yo});function Xo(e){return function(t){return(0,U.jsx)(qo,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}function Zo(){return et}var J=Ri;function Y(e){return Oi(e)}function Qo(e){return W(`MuiSvgIcon`,e)}G(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var $o=e=>{let{color:t,fontSize:n,classes:r}=e;return T({root:[`root`,t!==`inherit`&&`color${_(t)}`,`fontSize${_(n)}`]},Qo,r)},es=q(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${_(n.color)}`],t[`fontSize${_(n.fontSize)}`]]}})(J(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),ts=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:c=`medium`,htmlColor:l,inheritViewBox:u=!1,titleAccess:d,viewB
38ox:f=`0 0 24 24`,...p}=n,m=s.isValidElement(r)&&r.type===`svg`,h={...n,color:a,component:o,fontSize:c,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m},g={};u||(g.viewBox=f);let _=$o(h);return(0,U.jsxs)(es,{as:o,className:w(_.root,i),focusable:`false`,color:l,"aria-hidden":!d||void 0,role:d?`img`:void 0,ref:t,...g,...p,...m&&r.props,ownerState:h,children:[m?r.props.children:r,d?(0,U.jsx)(`title`,{children:d}):null]})});ts.muiName=`SvgIcon`;function X(e,t){function n(t,n){return(0,U.jsx)(ts,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=ts.muiName,s.memo(s.forwardRef(n))}function ns(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var rs=ns,is=aa;function as(e){return e&&e.ownerDocument||document}var os=as;function ss(e){return as(e).defaultView||window}var cs=ss;function ls(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var us=Jr,ds=Mi;function fs(e){let{controlled:t,default:n,name:r,state:i=`value`}=e,{current:a}=s.useRef(t!==void 0),[o,c]=s.useState(n);return[a?t:o,s.useCallback(e=>{a||c(e)},[])]}var ps=fs;function ms(e){let t=s.useRef(e);return Jr(()=>{t.current=e}),s.useRef((...e)=>(0,t.current)(...e)).current}var hs=ms;function gs(...e){let t=s.useRef(void 0),n=s.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return s.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var _s=gs;function vs(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function ys(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{vs(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=w(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=w(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}var bs=X((0,U.jsx)(`path`,{d:`M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z`}),`AddBoxOutlined`),xs=X((0,U.jsx)(`path`,{d:`M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h10v-2H4v-6h18V6c0-1.11-.89-2-2-2m0 4H4V6h16zm4 9v2h-3v3h-2v-3h-3v-2h3v-3h2v3z`}),`AddCardOutlined`),Ss=X([(0,U.jsx)(`path`,{d:`M18 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m-2.5 4c0-1.38 1.12-2.5 2.5-2.5.42 0 .8.11 1.15.29l-3.36 3.36c-.18-.35-.29-.73-.29-1.15m2.5 2.5c-.42 0-.8-.11-1.15-.29l3.36-3.36c.18.35.29.73.29 1.15 0 1.38-1.12 2.5-2.5 2.5`},`0`),(0,U.jsx)(`path`,{d:`M17 18H7V6h10v1h2V3c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2zM7 3h10v1H7zm10 18H7v-1h10z`},`1`)],`AppBlockingOutlined`),Cs=X((0,U.jsx)(`path`,{d:`M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z`}),`ArrowBack`),ws=X((0,U.jsx)(`path`,{d:`m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z`}),`ArrowDownwardOutlined`),Ts=X((0,U.jsx)(`path`,{d:`M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z`}),`ArrowForwardIos`),Es=X((0,U.jsx)(`path`,{d:`m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z`}),`ArrowUpwardOutlined`),Ds=X((0,U.jsx)(`path`,{d:`M19 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-5.12 10.88L12 17l-1.88-4.12L6 11l4.12-1.88L12 5l1.88 4.12L18 11z`}),`Assistant`),Os=X((0,U.jsx)(`path`,{d:`M5 10h2v7H5zm6 0h2v7h-2zm11-4L12 1 2 6v2h20zM6.47 6 12 3.24 17.53 6zM2 19v2h12.4c-.21-.64-.32-1.31-.36-2zm17-6.74V10h-2v3.26zM20 14l-4 2v2.55c0 2.52 1.71 4.88 4 5.45 2.29-.57 4-2.93 4-5.45V16zm-.72 7-2.03-2.03 1.06-1.06.97.97 2.41-2.38 1.06 1.06z`}),`AssuredWorkloadOutlined`),ks=X((0,U.jsx)(`path`,{d:`M21 7c0-1.38-1.12-2.5-2.5-2.5-.17 0-.34.02-.5.05V4c0-1.38-1.12-2.5-2.5-2.5-.23 0-.46.03-.67.09C14.46.66 13.56 0 12.5 0c-1.23 0-2.25.89-2.46 2.06Q9.785 2 9.5 2C8.12 2 7 3.12 7 4.5v5.89c-.34-.31-.76-.54-1.22-.66l-.77-.21c-.83-.23-1.7.09-2.19.83-.38.57-.4 1.31-.15 1.95l2.56 6.43C6.49 21.91 9.57 24 13 24c4.42 0 8-3.58 8-8zm-2 9c0 3.31-2.69 6-6 6-2.61 0-4.95-1.59-5.91-4.01l-2.6-6.54.53.14c.46.12.83.46 1 .9L7 15h2V4.5c0-.28.22-.5.5-.5s.5.22.5.5V12h2V2.5c0-.28.22-.5.5-.5s.5.22.5.5V12h2V4c0-.28.22-.5.5-.5s.5.22.5.5v8h2V7c0-.28.22-.5.5-.5s.5.22.5.5z`}),`BackHandOutlined`),As=X((0,U.jsx)(`path`,{d:`M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z`}),`BarChartOutlined`),js=X((0,U.jsx)(`path`,{d:`m12 2-5.5 9h11zm0 3.84L13.93 9h-3.87zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5m0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5M3 21.5h8v-8H3zm2-6h4v4H5z`}),`CategoryOutlined`),Ms=X((0,U.jsx)(`path`,{d:`M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z`}),`Check`),Ns=X((0,U.jsx)(`path`,{d:`M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z`}),`CheckBoxOutlined`),Ps=X((0,U.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z`}),`CheckCircleOutlineOutlined`),Fs=X((0,U.jsx)(`path`,{d:`M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z`}),`CheckOutlined`),Is=X((0,U.jsx)(`path`,{d:`M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z`}),`ChevronRight`),Ls=X((0,U.jsx)(`path`,{d:`M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`),Rs=X((0,U.jsx)(`path`,{d:`M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z`}),`CompareArrows`),zs=X((0,U.jsx)(`path`,{d:`M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z`}),`CompareArrowsOutlined`),Bs=X((0,U.jsx)(`path`,{d:`M6.83 4H20c1.11 0 2 .89 2 2v12c0 .34-.08.66-.23.94L20 17.17V12h-5.17l-4-4H20V6H8.83zm13.66 19.31L17.17 20H4c-1.11 0-2-.89-2-2l.01-12c0-.34.08-.66.23-.93L.69 3.51 2.1 2.1l19.8 19.8zM4 6.83V8h1.17zM15.17 18l-6-6H4v6z`}),`CreditCardOffOutlined`),Vs=X((0,U.jsx)(`path`,{d:`M12.89 11.1c-1.78-.59-2.64-.96-2.64-1.9 0-1.02 1.11-1.39 1.81-1.39 1.31 0 1.79.99 1.9 1.34l1.58-.67c-.15-.45-.82-1.92-2.54-2.24V5h-2v1.26c-2.48.56-2.49 2.86-2.49 2.96 0 2.27 2.25 2.91 3.35 3.31 1.58.56 2.28 1.07 2.28 2.03 0 1.13-1.05 1.61-1.98 1.61-1.82 0-2.34-1.87-2.4-2.09l-1.66.67c.63 2.19 2.28 2.78 2.9 2.96V19h2v-1.24c.4-.09 2.9-.59 2.9-3.22 0-1.39-.61-2.61-3.01-3.44M3 21H1v-6h6v2H4.52c1.61 2.41 4.36 4 7.48 4 4.97 0 9-4.03 9-9h2c0 6.08-4.92 11-11 11-3.72 0-7.01-1.85-9
38-4.67zm-2-9C1 5.92 5.92 1 12 1c3.72 0 7.01 1.85 9 4.67V3h2v6h-6V7h2.48C17.87 4.59 15.12 3 12 3c-4.97 0-9 4.03-9 9z`}),`CurrencyExchangeOutlined`),Hs=X((0,U.jsx)(`path`,{d:`M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1zm-4.17-7.14L12 10.59 9.17 7.76 7.76 9.17 10.59 12l-2.83 2.83 1.41 1.41L12 13.41l2.83 2.83 1.41-1.41L13.41 12l2.83-2.83z`}),`DangerousOutlined`),Us=X((0,U.jsx)(`path`,{d:`M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z`}),`DeleteOutline`),Ws=X((0,U.jsx)(`path`,{d:`M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z`}),`DescriptionOutlined`),Gs=X((0,U.jsx)(`path`,{d:`m15 16-4 4h10v-4zm-2.94-8.81L3 16.25V20h3.75l9.06-9.06zM5.92 18H5v-.92l7.06-7.06.92.92zm12.79-9.96c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75z`}),`DriveFileRenameOutlineOutlined`),Ks=X((0,U.jsx)(`path`,{d:`M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zm-2 0-8 5-8-5zm0 12H4V8l8 5 8-5z`}),`EmailOutlined`),qs=X((0,U.jsx)(`path`,{d:`M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8`}),`ErrorOutline`),Js=X((0,U.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z`}),`ErrorOutlined`),Ys=X((0,U.jsx)(`path`,{d:`m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14z`}),`EventBusy`),Xs=X((0,U.jsx)(`path`,{d:`M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V9h14zM5 7V5h14v2zm3.23 9.41 1.06 1.06 2.44-2.44 2.44 2.44 1.06-1.06-2.44-2.44 2.44-2.44-1.06-1.06-2.44 2.44-2.44-2.44-1.06 1.06 2.44 2.44z`}),`EventBusyOutlined`),Zs=X((0,U.jsx)(`path`,{d:`M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z`}),`EventNote`),Qs=X((0,U.jsx)(`path`,{d:`M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V9h14zM5 7V5h14v2zm2 4h10v2H7zm0 4h7v2H7z`}),`EventNoteOutlined`),$s=X((0,U.jsx)(`path`,{d:`M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zm0-12H5V6h14zm-7 5h5v5h-5z`}),`EventOutlined`),ec=X((0,U.jsx)(`path`,{d:`m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z`}),`ExpandLess`),tc=X((0,U.jsx)(`path`,{d:`M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z`}),`ExpandMore`),nc=X((0,U.jsx)(`path`,{d:`M4 20h16v2H4zM4 2h16v2H4zm5.41 11.59L8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z`}),`ExpandOutlined`),rc=X((0,U.jsxs)(`g`,{fillRule:`evenodd`,children:[(0,U.jsx)(`path`,{d:`M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H4V5h16z`}),(0,U.jsx)(`path`,{d:`M19.41 10.42 17.99 9l-3.17 3.17-1.41-1.42L12 12.16 14.82 15zM5 7h5v2H5zm0 4h5v2H5zm0 4h5v2H5z`})]}),`FactCheckOutlined`),ic=X((0,U.jsx)(`path`,{d:`M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28M3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7s-.54.11-.7-.12c-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21m6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15m7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12M14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-
385.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38`}),`FingerprintOutlined`),ac=X((0,U.jsx)(`path`,{d:`M4 7h16v2H4zm0 6h16v-2H4zm0 4h7v-2H4zm0 4h7v-2H4zm11.41-2.83L14 16.75l-1.41 1.41L15.41 21 20 16.42 18.58 15zM4 3v2h16V3z`}),`GradingOutlined`),oc=X((0,U.jsx)(`path`,{d:`M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5M4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12m0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7m7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44M15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35`}),`GroupOutlined`),sc=X((0,U.jsx)(`path`,{d:`M12.22 19.85c-.18.18-.5.21-.71 0-.18-.18-.21-.5 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.19.2-.51.19-.71 0-.21-.21-.18-.53 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.19-.19-.51 0-.71l3.39-3.39-1.42-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.2-.19-.51 0-.71L9.52 8.4l1.87 1.86c.95.95 2.59.94 3.54 0 .98-.98.98-2.56 0-3.54l-1.86-1.86.28-.28c.78-.78 2.05-.78 2.83 0l4.24 4.24c.78.78.78 2.05 0 2.83zm9.61-6.78c1.56-1.56 1.56-4.09 0-5.66l-4.24-4.24c-1.56-1.56-4.09-1.56-5.66 0l-.28.28-.28-.28c-1.56-1.56-4.09-1.56-5.66 0L2.17 6.71C.75 8.13.62 10.34 1.77 11.9l1.45-1.45c-.39-.75-.26-1.7.37-2.33l3.54-3.54c.78-.78 2.05-.78 2.83 0l3.56 3.56c.18.18.21.5 0 .71s-.53.18-.71 0L9.52 5.57l-5.8 5.79c-.98.97-.98 2.56 0 3.54.39.39.89.63 1.42.7.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.54.31 1.03.7 1.42.47.47 1.1.73 1.77.73s1.3-.26 1.77-.73z`}),`HandshakeOutlined`),cc=X((0,U.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25`}),`Help`),lc=X((0,U.jsx)(`path`,{d:`M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8`}),`HighlightOffOutlined`),uc=X((0,U.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`History`),dc=X((0,U.jsx)(`path`,{d:`M9 4v1.38c-.83-.33-1.72-.5-2.61-.5-1.79 0-3.58.68-4.95 2.05l3.33 3.33h1.11v1.11c.86.86 1.98 1.31 3.11 1.36V15H6v3c0 1.1.9 2 2 2h10c1.66 0 3-1.34 3-3V4zm-1.11 6.41V8.26H5.61L4.57 7.22a5.07 5.07 0 0 1 1.82-.34c1.34 0 2.59.52 3.54 1.46l1.41 1.41-.2.2c-.51.51-1.19.8-1.92.8-.47 0-.93-.12-1.33-.34M19 17c0 .55-.45 1-1 1s-1-.45-1-1v-2h-6v-2.59c.57-.23 1.1-.57 1.56-1.03l.2-.2L15.59 14H17v-1.41l-6-5.97V6h8z`}),`HistoryEdu`),fc=X((0,U.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z`}),`Info`),pc=X((0,U.jsx)(`path`,{d:`M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8`}),`InfoOutline`),mc=X((0,U.jsx)(`path`,{d:`M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8`}),`InfoOutlined`),hc=X((0,U.jsx)(`path`,{d:`M9 17H7v-7h2zm4 0h-2V7h2zm4 0h-2v-4h2zm2.5 2.1h-15V5h15zm0-16.1h-15c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2`}),`InsertChartOutlined`),gc=X((0,U.jsx)(`path`,{d:`M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z`}),`InsertDriveFileOutlined`),_c=X([(0,U.jsx)(`path`,{d:`M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-1 18H5V9h14zm1-13H4V4h16z`},`0`),(0,U.jsx)(`path`,{d:`M9 12h6v2H9z`},`1`)],`Inventory2Outlined`),vc=X((0,U.jsx)(`path`,{d:`m16 5-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4zm4 5v11c0 1.1-.9 2-2 2H6c-1.11 0-2-.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2`}),`IosShare`),yc=X((0,U.jsx)(`path`,{d:`m10.7 13.53-1.71-1.71c.01.06.01.12.01.18 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.06 0 .12 0 .18.01L5.47 8.3C4.02 8.9 3 10.33 3 12c0 2.21 1.79 4 4 4 1.67 0 3.1-1.02 3.7-2.47m1.49 1.49C11.15 16.8 9.21 18 7 18c-3.31 0-6-2.69-6-6 0-2.21 1.2-4.15 2.98-5.19L1.39 4.22 2.8 2.81l18.38 18.38-1.41 1.41zm4.07-1.59 1.24-.93 1.81 1.36L21.17 12l-1-1h-6.34l-2-2H21l3 3-4.5 4.5-.69-.51z`}),`KeyOffOutlined`),bc=X((0,U.jsx)(`path`,{d:`M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM
387 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3`}),`KeyOutlined`),xc=X((0,U.jsx)(`path`,{d:`M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z`}),`LanguageOutlined`),Sc=X([(0,U.jsx)(`path`,{d:`M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7M7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9`},`0`),(0,U.jsx)(`circle`,{cx:`12`,cy:`9`,r:`2.5`},`1`)],`LocationOnOutlined`),Cc=X((0,U.jsx)(`path`,{d:`m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z`}),`Logout`),wc=X((0,U.jsx)(`path`,{d:`m17 8-1.41 1.41L17.17 11H9v2h8.17l-1.58 1.58L17 16l4-4zM5 5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h7v-2H5z`}),`LogoutOutlined`),Tc=X((0,U.jsx)(`path`,{d:`M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z`}),`MailOutline`),Ec=X((0,U.jsx)(`path`,{d:`M4 18v-.65c0-.34.16-.66.41-.81C6.1 15.53 8.03 15 10 15c.03 0 .05 0 .08.01.1-.7.3-1.37.59-1.98-.22-.02-.44-.03-.67-.03-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.42-.6-.75-1.28-.97-2zm6-6c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m10.75 10c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2`}),`ManageAccountsOutlined`),Dc=X((0,U.jsx)(`path`,{d:`m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z`}),`ModeOutlined`),Oc=X([(0,U.jsx)(`path`,{d:`M10 8v6l4.7 2.9.8-1.2-4-2.4V8z`},`0`),(0,U.jsx)(`path`,{d:`M17.92 12c.05.33.08.66.08 1 0 3.9-3.1 7-7 7s-7-3.1-7-7 3.1-7 7-7c.7 0 1.37.1 2 .29V4.23c-.64-.15-1.31-.23-2-.23-5 0-9 4-9 9s4 9 9 9 9-4 9-9c0-.34-.02-.67-.06-1z`},`1`),(0,U.jsx)(`path`,{d:`M20 5V2h-2v3h-3v2h3v3h2V7h3V5z`},`2`)],`MoreTime`),kc=X((0,U.jsx)(`path`,{d:`m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-4.51 2.11.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12zM11 15h2v2h-2zm0-8h2v6h-2z`}),`NewReleasesOutlined`),Ac=X((0,U.jsx)(`path`,{d:`M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5zM7.58 4.08 6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42m12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42`}),`NotificationsActiveOutlined`),jc=X((0,U.jsx)(`path`,{d:`M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z`}),`NotificationsOutlined`),Mc=X((0,U.jsx)(`path`,{d:`M2 17h20v2H2zm1.15-4.05L4 11.47l.85 1.48 1.3-.75-.85-1.48H7v-1.5H5.3l.85-1.47L4.85 7 4 8.47 3.15 7l-1.3.75.85 1.47H1v1.5h1.7l-.85 1.48zm6.7-.75 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H15v-1.5h-1.7l.85-1.47-1.3-.75L12 8.47 11.15 7l-1.3.75.85 1.47H9v1.5h1.7zM23 9.22h-1.7l.85-1.47-1.3-.75L20 8.47 19.15 7l-1.3.75.85 1.47H17v1.5h1.7l-.85 1.48 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H23z`}),`PasswordOutlined`),Nc=X((0,U.jsx)(`path`,{d:`M17 12c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m1.65 7.35L16.5 17.2V14h1v2.79l1.85 1.85zM18 3h-3.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H6c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h6.11c-.59-.57-1.07-1.25-1.42-2H6V5h2v3h8V5h2v5.08c.71.1 1.38.31 2 .6V5c0-1.1-.9-2-2-2m-6 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1`}),`PendingActions`),Pc=X((0,U.jsx)(`path`,{d:`M7.5 4C5.57 4 4 5.57 4 7.5S5.57 11 7.5 11 11 9.43 11 7.5 9.43 4 7.5 4m0 5C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9m9 4c-1.93 0-3.5 1.57-3.5 3.5s1.57 3.5 3.5 3.5 3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M5.41 20 4 18.59 18.59 4 20 5.41z`}),`PercentOutlined`),Fc=X((0,U.jsx)(`path`,{d:`M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4`}),`Person`),Ic=X((0,U.jsx)(`path`,{d:`M19 9c0-1.3-.84-2.4-2-2.82V2h-2v4.18C13.84 6.6 13 7.7 13 9s.84 2.4 2 2.82V15c0 2.21-1.79 4-4 4s-4-1.79-4-4v-1h3L5 9v6c0 3.31 2.69 6 6 6s6-2.69 6-6v-3.18c1.16-.42 2-1.52 2-2.82m-3 1c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1`}),`Phishing`),Lc=X((0,U.jsx)(`path`,{d:`M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z`}),`PictureAsPdfOutlined`),Rc=X((0,U.jsx)(`path`,{d:`M19.88 18.47c.44-.7.7-1.51.7-2.39 0-2.49-2.01-4.5-4.5-4.5s-4.5 2.01-4.5 4.5 2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21.58 23 23 21.58zm-3.8.11c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5m-.36-8.5c-.74.02-1.45.18-2.1.45l-.55-.83-3.8 6.18-3.01-3.52-3.63 5.81L1 17l5-8 3 3.5L13 6zm2.59.5c-.64-.28-1.33-.45-2.05-.49L21.38 2 23 3.18z`}),`QueryStats`),zc=X([(0,U.jsx)(`path`,{d:`M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2v14H3v3c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V2zM15 20H6c-.55 0-1-.45-1-1v-1h10zm4-1c0 .55-.45 1-1 1s-1-.45-1-1v-3H8V5h11z`},`0`),(0,U.jsx)(`path`,{d:`M9 7h6v2H9zm7 0h2v2h-2zm-7 3h6v2H9zm7 0h2v2h-2z`},`1`)],`ReceiptLongOutlined`),Bc=X([(0,U.jsx)(`path`,{d:`M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1z`},`0`),(0,U.jsx)(`circle`,{cx:`12`,cy:`16`,r:`1`},`1`),(0,U.jsx)(`path`,{d:`M11 7h2v7h-2z`},`2`)],`ReportOutlined`),Vc=X((0,U.jsx)(`path`,{d:`M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.
3816-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z`}),`Security`),Hc=X((0,U.jsx)(`path`,{d:`M2.01 21 23 12 2.01 3 2 10l15 2-15 2z`}),`Send`),Uc=X((0,U.jsx)(`path`,{d:`M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6`}),`Settings`),Wc=X((0,U.jsx)(`path`,{d:`M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1q-.09-.03-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2`}),`SettingsOutlined`),Gc=X((0,U.jsx)(`path`,{d:`M15.55 13c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.66-.11-1.48-.87-1.48H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7l1.1-2zM6.16 6h12.15l-2.76 5H8.53zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2`}),`ShoppingCartOutlined`),Kc=X((0,U.jsx)(`path`,{d:`m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z`}),`ShowChart`),qc=X((0,U.jsx)(`path`,{d:`M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M9 11H7V9h2zm4 0h-2V9h2zm4 0h-2V9h2z`}),`Sms`),Jc=X((0,U.jsx)(`path`,{d:`M4 9h4v11H4zm0-5h4v4H4zm6 3h4v4h-4zm6 3h4v4h-4zm0 5h4v5h-4zm-6-3h4v8h-4z`}),`StackedBarChart`),Yc=X((0,U.jsx)(`path`,{d:`M4 9h4v11H4zm0-5h4v4H4zm6 3h4v4h-4zm6 3h4v4h-4zm0 5h4v5h-4zm-6-3h4v8h-4z`}),`StackedBarChartOutlined`),Xc=X([(0,U.jsx)(`path`,{d:`M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2h1v-6.1c0-3.87 3.13-7 7-7s7 3.13 7 7V19h-8v2h8c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62`},`0`),(0,U.jsx)(`circle`,{cx:`9`,cy:`13`,r:`1`},`1`),(0,U.jsx)(`circle`,{cx:`15`,cy:`13`,r:`1`},`2`),(0,U.jsx)(`path`,{d:`M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47`},`3`)],`SupportAgentOutlined`),Zc=X((0,U.jsx)(`path`,{d:`m16 18 2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z`}),`TrendingDownOutlined`),Qc=X((0,U.jsx)(`path`,{d:`m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z`}),`TrendingUp`),$c=X((0,U.jsx)(`path`,{d:`m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z`}),`TrendingUpOutlined`),el=X((0,U.jsx)(`path`,{d:`M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z`}
38),`UnfoldMoreOutlined`),tl=X((0,U.jsx)(`path`,{d:`M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z`}),`Update`),nl=X((0,U.jsx)(`path`,{d:`M8 11h3v10h2V11h3l-4-4zM4 3v2h16V3z`}),`VerticalAlignTopOutlined`),rl=X((0,U.jsx)(`path`,{d:`M18 4H6C3.79 4 2 5.79 2 8v8c0 2.21 1.79 4 4 4h12c2.21 0 4-1.79 4-4V8c0-2.21-1.79-4-4-4m-1.86 9.77c-.24.2-.57.28-.88.2L4.15 11.25C4.45 10.52 5.16 10 6 10h12c.67 0 1.26.34 1.63.84zM6 6h12c1.1 0 2 .9 2 2v.55c-.59-.34-1.27-.55-2-.55H6c-.73 0-1.41.21-2 .55V8c0-1.1.9-2 2-2`}),`WalletOutlined`),il=X((0,U.jsx)(`path`,{d:`M9.68 13.69 12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72c1.24-1.41 2-3.25 2-5.28m-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6m0 15-4 1.02v-3.1c1.18.68 2.54 1.08 4 1.08s2.82-.4 4-1.08v3.1z`}),`WorkspacePremiumOutlined`);function al(e){return String(parseFloat(e)).length===String(e).length}function ol(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||``}function sl(e){return parseFloat(e)}function cl(e){return(t,n)=>{let r=ol(t);if(r===n)return t;let i=sl(t);r!==`px`&&(r===`em`||r===`rem`)&&(i=sl(t)*sl(e));let a=i;if(n!==`px`){if(n===`em`)a=i/sl(e);else if(n===`rem`)a=i/sl(e);else return t}return parseFloat(a.toFixed(5))+n}}function ll({size:e,grid:t}){let n=e-e%t,r=n+t;return e-n<r-e?n:r}function ul({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function dl({cssProperty:e,min:t,max:n,unit:r=`rem`,breakpoints:i=[600,900,1200],transform:a=null}){let o={[e]:`${t}${r}`},s=(n-t)/i[i.length-1];return i.forEach(n=>{let i=t+s*n;a!==null&&(i=a(i)),o[`@media (min-width:${n}px)`]={[e]:`${Math.round(i*1e4)/1e4}${r}`}}),o}function fl(e,t={}){let{breakpoints:n=[`sm`,`md`,`lg`],disableAlign:r=!1,factor:i=2,variants:a=[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`caption`,`button`,`overline`]}=t,o={...e};o.typography={...o.typography};let s=o.typography,c=cl(s.htmlFontSize),l=n.map(e=>o.breakpoints.values[e]);return a.forEach(e=>{let t=s[e];if(!t)return;let n=parseFloat(c(t.fontSize,`rem`));if(n<=1)return;let a=n,o=1+(a-1)/i,{lineHeight:u}=t;if(!al(u)&&!r)throw Error(h(6));al(u)||(u=parseFloat(c(u,`rem`))/parseFloat(n));let d=null;r||(d=e=>ll({size:e,grid:ul({pixels:4,lineHeight:u,htmlFontSize:s.htmlFontSize})})),s[e]={...t,...dl({cssProperty:`fontSize`,min:o,max:a,unit:`rem`,breakpoints:l,transform:d})}}),o}function pl({theme:e,...t}){let n=`$$material`in e?e[Go]:void 0;return(0,U.jsx)(Ii,{...t,themeId:n?Go:void 0,theme:n||e})}var ml={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:hl,useColorScheme:gl,getInitColorSchemeScript:_l}=Zi({themeId:Go,theme:()=>Uo({cssVariables:!0}),colorSchemeStorageKey:ml.colorSchemeStorageKey,modeStorageKey:ml.modeStorageKey,defaultColorScheme:{light:ml.defaultLightColorScheme,dark:ml.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:so(e.palette,e.typography)};return t.unstable_sx=function(e){return Qe({sx:e,theme:this})},t}}),vl=hl;function yl({theme:e,...t}){let n=s.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[Go]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,U.jsx)(pl,{theme:n,...t}):(0,U.jsx)(vl,{theme:e,...t})}function bl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function xl(e,t){return xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xl(e,t)}function Sl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xl(e,t)}var Cl=i((e=>{var t=o();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return s(e,t,null,r)},e.flushSync=function(e){var t=c.T,n=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=l(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()}
38,e.version=`19.2.4`})),wl=i(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Cl()})),Tl=e(wl()),El={disabled:!1},Dl=s.createContext(null),Ol=function(e){return e.scrollTop},kl=`unmounted`,Al=`exited`,jl=`entering`,Ml=`entered`,Nl=`exiting`,Pl=function(e){Sl(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=Al,r.appearStatus=jl):o=Ml:o=t.unmountOnExit||t.mountOnEnter?kl:Al,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:Al}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=jl):(n===`entering`||n===`entered`)&&(t=Nl)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null){if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Tl.default.findDOMNode(this);n&&Ol(n)}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:kl})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Tl.default.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||El.disabled){this.safeSetState({status:Ml},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:jl},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Ml},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Tl.default.findDOMNode(this);if(!t||El.disabled){this.safeSetState({status:Al},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:Nl},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Al},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Tl.default.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=bl(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return s.createElement(Dl.Provider,{value:null},typeof n==`function`?n(e,r):s.cloneElement(s.Children.only(n),r))},t}(s.Component);Pl.contextType=Dl,Pl.propTypes={};function Fl(){}Pl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fl,onEntering:Fl,onEntered:Fl,onExit:Fl,onExiting:Fl,onExited:Fl},Pl.UNMOUNTED=kl,Pl.EXITED=Al,Pl.ENTERING=jl,Pl.ENTERED=Ml,Pl.EXITING=Nl;function Il(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Ll(e,t){var n=function(e){return t&&(0,s.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&s.Children.map(e,function(e){return e}
vendor: 1,639 bytes, line 38
38).forEach(function(e){r[e.key]=n(e)}),r}function Rl(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function zl(e,t,n){return n[t]==null?e.props[t]:n[t]}function Bl(e,t){return Ll(e.children,function(n){return(0,s.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:zl(n,`appear`,e),enter:zl(n,`enter`,e),exit:zl(n,`exit`,e)})})}function Vl(e,t,n){var r=Ll(e.children),i=Rl(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,s.isValidElement)(o)){var c=a in t,l=a in r,u=t[a],d=(0,s.isValidElement)(u)&&!u.props.in;l&&(!c||d)?i[a]=(0,s.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:zl(o,`exit`,e),enter:zl(o,`enter`,e)}):!l&&c&&!d?i[a]=(0,s.cloneElement)(o,{in:!1}):l&&c&&(0,s.isValidElement)(u)&&(i[a]=(0,s.cloneElement)(o,{onExited:n.bind(null,o),in:u.props.in,exit:zl(o,`exit`,e),enter:zl(o,`enter`,e)}))}}),i}var Hl=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Ul={component:`div`,childFactory:function(e){return e}},Wl=function(e){Sl(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(Il(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;
38return{children:t.firstRender?Bl(e,r):Vl(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Ll(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=tt({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=bl(e,[`component`,`childFactory`]),i=this.state.contextValue,a=Hl(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?s.createElement(Dl.Provider,{value:i},a):s.createElement(Dl.Provider,{value:i},s.createElement(t,r,a))},t}(s.Component);Wl.propTypes={},Wl.defaultProps=Ul;var Gl={};function Kl(e,t){let n=s.useRef(Gl);return n.current===Gl&&(n.current=e(t)),n}var ql=[];function Jl(e){s.useEffect(e,ql)}var Yl=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Xl(){let e=Kl(Yl.create).current;return Jl(e.disposeEffect),e}var Zl=e=>e.scrollTop;function Ql(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function $l(e){return typeof e==`string`}function eu(e,t,n){return e===void 0||$l(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function tu(e,t,n){return typeof e==`function`?e(t,n):e}function nu(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function ru(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function iu(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=w(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=nu({...i,...r}),s=ru(r),c=ru(i),l=t(o),u=w(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Z(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=tu(d[e],i),{props:{component:h,...g},internalRef:_}=iu({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=gs(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,eu(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function au(e){return W(`MuiCollapse`,e)}G(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var ou=e=>{let{orientation:t,classes:n}=e;return T({root:[`root`,`${t}`],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,`${t}`],wrapperInner:[`wrapperInner`,`${t}`]},au,n)},su=q(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(J(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),cu=q(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),lu=q(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),uu=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:c,easing:l,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:m,onExited:h,onExiting:g,orientation:_=`vertical`,slots:v={},slotProps:y={},style:b,timeout:x=ho.standard,TransitionComponent:S=Pl,...C}=n,T={...n,orientation:_,collapsedSize:o},E=ou(T),D=Ko(),O=Xl(),k=s.useRef(null),A=s.useRef(),j=typeof o==`number`?`${o}
38px`:o,M=_===`horizontal`,N=M?`width`:`height`,P=s.useRef(null),F=_s(t,P),I=e=>t=>{if(e){let n=P.current;t===void 0?e(n):e(n,t)}},L=()=>k.current?k.current[M?`clientWidth`:`clientHeight`]:0,R=I((e,t)=>{k.current&&M&&(k.current.style.position=`absolute`),e.style[N]=j,d&&d(e,t)}),z=I((e,t)=>{let n=L();k.current&&M&&(k.current.style.position=``);let{duration:r,easing:i}=Ql({style:b,timeout:x,easing:l},{mode:`enter`});if(x===`auto`){let t=D.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,A.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[N]=`${n}px`,e.style.transitionTimingFunction=i,p&&p(e,t)}),B=I((e,t)=>{e.style[N]=`auto`,f&&f(e,t)}),V=I(e=>{e.style[N]=`${L()}px`,m&&m(e)}),ee=I(h),te=I(e=>{let t=L(),{duration:n,easing:r}=Ql({style:b,timeout:x,easing:l},{mode:`exit`});if(x===`auto`){let n=D.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,A.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[N]=j,e.style.transitionTimingFunction=r,g&&g(e)}),ne=e=>{x===`auto`&&O.start(A.current||0,e),r&&r(P.current,e)},re={slots:v,slotProps:y,component:c},[ie,ae]=Z(`root`,{ref:F,className:w(E.root,a),elementType:su,externalForwardedProps:re,ownerState:T,additionalProps:{style:{[M?`minWidth`:`minHeight`]:j,...b}}}),[oe,se]=Z(`wrapper`,{ref:k,className:E.wrapper,elementType:cu,externalForwardedProps:re,ownerState:T}),[ce,le]=Z(`wrapperInner`,{className:E.wrapperInner,elementType:lu,externalForwardedProps:re,ownerState:T});return(0,U.jsx)(S,{in:u,onEnter:R,onEntered:B,onEntering:z,onExit:V,onExited:ee,onExiting:te,addEndListener:ne,nodeRef:P,timeout:x===`auto`?null:x,...C,children:(e,{ownerState:t,...n})=>{let r={...T,state:e};return(0,U.jsx)(ie,{...ae,className:w(ae.className,{entered:E.entered,exited:!u&&j===`0px`&&E.hidden}[e]),ownerState:r,...n,children:(0,U.jsx)(oe,{...se,ownerState:r,children:(0,U.jsx)(ce,{...le,ownerState:r,children:i})})})}})});uu&&(uu.muiSupportAuto=!0);function du(e){return W(`MuiPaper`,e)}G(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var fu=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return T({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},du,i)},pu=q(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(J(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),mu=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiPaper`}),r=Ko(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=fu(u);return(0,U.jsx)(pu,{as:a,ownerState:u,className:w(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${li(`#fff`,Eo(o))}, ${li(`#fff`,Eo(o))})`}},...l.style}})});function hu(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var gu=class e{static create(){return new e}static use(){let t=Kl(e.create).current,[n,r]=s.useState(!1);return t.shouldMount=n,t.setShouldMount=r,s.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=vu(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function _u(){return gu.use()}function vu(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function yu(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:c,onExited:l,timeout:u}=e,[d,f]=s.useState(!1),p=w(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},h=w(n.child,d&&n.childLeaving,r&&n.childPulsate);return!c&&!d&&f(!0),s.useEffect(()=>{if(!c&&l!=null){let e=setTimeout(l,u);return()=>{clearTimeout(e)}}},[l,c,u]),(0,U.jsx)(`span`,{className:p,style:m,children:(0,U.jsx)(`span`,{className:h})})}var bu=G(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),xu=550,Su=Zn`
39  0% {
40    transform: scale(0);
41    opacity: 0.1;
42  }
43
44  100% {
45    transform: scale(1);
46    opacity: 0.3;
47  }
48`,Cu=Zn`
49  0% {
50    opacity: 1;
51  }
52
53  100% {
54    opacity: 0;
55  }
56`,wu=Zn`
57  0% {
58    transform: scale(1);
59  }
60
61  50% {
62    transform: scale(0.92);
63  }
64
65  100% {
66    transform: scale(1);
67  }
68`,Tu=q(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Eu=q(yu,{name:`MuiTouchRipple`,slot:`Ripple`})`
69  opacity: 0;
70  position: absolute;
71
72  &.${bu.rippleVisible} {
73    opacity: 0.3;
74    transform: scale(1);
75    animation-name: ${Su};
76    animation-duration: ${xu}ms;
77    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
78  }
79
80  &.${bu.ripplePulsate} {
81    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
82  }
83
84  & .${bu.child} {
85    opacity: 1;
86    display: block;
87    width: 100%;
88    height: 100%;
89    border-radius: 50%;
90    background-color: currentColor;
91  }
92
93  & .${bu.childLeaving} {
94    opacity: 0;
95    animation-name: ${Cu};
96    animation-duration: ${xu}ms;
97    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
98  }
99
100  & .${bu.childPulsate} {
101    position: absolute;
102    /* @noflip */
103    left: 0px;
104    top: 0;
105    animation-name: ${wu};
106    animation-duration: 2500ms;
107    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
108    animation-iteration-count: infinite;
109    animation-delay: 200ms;
110  }
111`,Du=s.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Y({props:e,name:`MuiTouchRipple`}),[o,c]=s.useState([]),l=s.useRef(0),u=s.useRef(null);s.useEffect(()=>{u.current&&=(u.current(),null)},[o]);let d=s.useRef(!1),f=Xl(),p=s.useRef(null),m=s.useRef(null),h=s.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;c(e=>[...e,(0,U.jsx)(Eu,{classes:{ripple:w(r.ripple,bu.ripple),rippleVisible:w(r.rippleVisible,bu.rippleVisible),ripplePulsate:w(r.ripplePulsate,bu.ripplePulsate),child:w(r.child,bu.child),childLeaving:w(r.childLeaving,bu.childLeaving),childPulsate:w(r.childPulsate,bu.childPulsate)},timeout:xu,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},l.current)]),l.current+=1,u.current=o},[r]),g=s.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&d.current){d.current=!1;return}e?.type===`touchstart`&&(d.current=!0);let s=o?null:m.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-u),u)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?p.current===null&&(p.current=()=>{h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},f.start(80,()=>{p.current&&=(p.current(),null)})):h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},[n,h,f]),_=s.useCallback(()=>{g({},{pulsate:!0})},[g]),v=s.useCallback((e,t)=>{if(f.clear(),e?.type===`touchend`&&p.current){p.current(),p.current=null,f.start(0,()=>{v(e,t)});return}p.current=null,c(e=>e.length>0?e.slice(1):e),u.current=t},[f]);return s.useImperativeHandle(t,()=>({pulsate:_,start:g,stop:v}),[_,g,v]),(0,U.jsx)(Tu,{className:w(bu.root,r.root,i),ref:m,...a,children:(0,U.jsx)(Wl,{component:null,exit:!0,children:o})})});function Ou(e){return W(`MuiButtonBase`,e)}var ku=G(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Au=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=T({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Ou,i);return n&&r&&(a.root+=` ${r}`),a},ju=q(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`}
111,[`&.${ku.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Mu=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:c=`button`,disabled:l=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:m=`a`,onBlur:h,onClick:g,onContextMenu:_,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:T,onMouseUp:E,onTouchEnd:D,onTouchMove:O,onTouchStart:k,tabIndex:A=0,TouchRippleProps:j,touchRippleRef:M,type:N,...P}=n,F=s.useRef(null),I=_u(),L=_s(I.ref,M),[R,z]=s.useState(!1);l&&R&&z(!1),s.useImperativeHandle(r,()=>({focusVisible:()=>{z(!0),F.current.focus()}}),[]);let B=I.shouldMount&&!u&&!l;s.useEffect(()=>{R&&f&&!u&&I.pulsate()},[u,f,R,I]);let V=Nu(I,`start`,C,d),ee=Nu(I,`stop`,_,d),te=Nu(I,`stop`,v,d),ne=Nu(I,`stop`,E,d),re=Nu(I,`stop`,e=>{R&&e.preventDefault(),T&&T(e)},d),ie=Nu(I,`start`,k,d),ae=Nu(I,`stop`,D,d),oe=Nu(I,`stop`,O,d),se=Nu(I,`stop`,e=>{hu(e.target)||z(!1),h&&h(e)},!1),ce=hs(e=>{F.current||=e.currentTarget,hu(e.target)&&(z(!0),b&&b(e)),y&&y(e)}),le=()=>{let e=F.current;return c&&c!==`button`&&!(e.tagName===`A`&&e.href)},ue=hs(e=>{f&&!e.repeat&&R&&e.key===` `&&I.stop(e,()=>{I.start(e)}),e.target===e.currentTarget&&le()&&e.key===` `&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&le()&&e.key===`Enter`&&!l&&(e.preventDefault(),g&&g(e))}),de=hs(e=>{f&&e.key===` `&&R&&!e.defaultPrevented&&I.stop(e,()=>{I.pulsate(e)}),S&&S(e),g&&e.target===e.currentTarget&&le()&&e.key===` `&&!e.defaultPrevented&&g(e)}),fe=c;fe===`button`&&(P.href||P.to)&&(fe=m);let pe={};fe===`button`?(pe.type=N===void 0?`button`:N,pe.disabled=l):(!P.href&&!P.to&&(pe.role=`button`),l&&(pe[`aria-disabled`]=l));let me=_s(t,F),he={...n,centerRipple:i,component:c,disabled:l,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:A,focusVisible:R},ge=Au(he);return(0,U.jsxs)(ju,{as:fe,className:w(ge.root,o),ownerState:he,onBlur:se,onClick:g,onContextMenu:ee,onFocus:ce,onKeyDown:ue,onKeyUp:de,onMouseDown:V,onMouseLeave:re,onMouseUp:ne,onDragLeave:te,onTouchEnd:ae,onTouchMove:oe,onTouchStart:ie,ref:me,tabIndex:l?-1:A,type:N,...pe,...P,children:[a,B?(0,U.jsx)(Du,{ref:L,center:i,...j}):null]})});function Nu(e,t,n,r=!1){return hs(i=>(n&&n(i),r||e[t](i),!0))}function Pu(e){return typeof e.main==`string`}function Fu(e,t=[]){if(!Pu(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Iu(e=[]){return([,t])=>t&&Fu(t,e)}function Lu(e){return W(`MuiAlert`,e)}var Ru=G(`MuiAlert`,[`root`,`action`,`icon`,`message`,`filled`,`colorSuccess`,`colorInfo`,`colorWarning`,`colorError`,`filledSuccess`,`filledInfo`,`filledWarning`,`filledError`,`outlined`,`outlinedSuccess`,`outlinedInfo`,`outlinedWarning`,`outlinedError`,`standard`,`standardSuccess`,`standardInfo`,`standardWarning`,`standardError`]);function zu(e){return W(`MuiCircularProgress`,e)}G(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Bu=44,Vu=Zn`
112  0% {
113    transform: rotate(0deg);
114  }
115
116  100% {
117    transform: rotate(360deg);
118  }
119`,Hu=Zn`
120  0% {
121    stroke-dasharray: 1px, 200px;
122    stroke-dashoffset: 0;
123  }
124
125  50% {
126    stroke-dasharray: 100px, 200px;
127    stroke-dashoffset: -15px;
128  }
129
130  100% {
131    stroke-dasharray: 1px, 200px;
132    stroke-dashoffset: -126px;
133  }
134`,Uu=typeof Vu==`string`?null:Xn`
135        animation: ${Vu} 1.4s linear infinite;
136      `,Wu=typeof Hu==`string`?null:Xn`
137        animation: ${Hu} 1.4s ease-in-out infinite;
138      `,Gu=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return T({root:[`root`,n,`color${_(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${_(n)}`,i&&`circleDisableShrink`]},zu,t)},Ku=q(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${_(n.color)}`]]}})(J(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Uu||{animation:`${Vu} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),qu=q(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Ju=q(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${_(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(J(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Wu||{animation:`${Hu} 1.4s ease-in-out infinite`}}]}))),Yu=q(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(J(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Xu=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=Gu(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((Bu-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,U.jsx)(Ku,{className:w(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,U.jsxs)(qu,{className:m.svg,ownerState:p,viewB
138ox:`${Bu/2} ${Bu/2} ${Bu} ${Bu}`,children:[o?(0,U.jsx)(Yu,{className:m.track,ownerState:p,cx:Bu,cy:Bu,r:(Bu-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,U.jsx)(Ju,{className:m.circle,style:h,ownerState:p,cx:Bu,cy:Bu,r:(Bu-l)/2,fill:`none`,strokeWidth:l})]})})});function Zu(e){return W(`MuiIconButton`,e)}var Qu=G(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),$u=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return T({root:[`root`,o&&`loading`,n&&`disabled`,r!=="default"&&`color${_(r)}`,i&&`edge${_(i)}`,`size${_(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Zu,t)},ed=q(Mu,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${_(n.color)}`],n.edge&&t[`edge${_(n.edge)}`],t[`size${_(n.size)}`]]}})(J(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),J(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Qu.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${Qu.loading}`]:{color:`transparent`}}))),td=q(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),nd=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`,id:u,loading:d=null,loadingIndicator:f,...p}=n,m=ds(u),h=f??(0,U.jsx)(Xu,{"aria-labelledby":m,color:`inherit`,size:16}),g={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:d,loadingIndicator:h,size:l},_=$u(g);return(0,U.jsxs)(ed,{id:d?m:u,className:w(_.root,a),centerRipple:!0,focusRipple:!c,disabled:s||d,ref:t,...p,ownerState:g,children:[typeof d==`boolean`&&(0,U.jsx)(`span`,{className:_.loadingWrapper,style:{display:`contents`},children:(0,U.jsx)(td,{className:_.loadingIndicator,ownerState:g,children:d&&h})}),i]})}),rd=X((0,U.jsx)(`path`,{d:`M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z`}),`SuccessOutlined`),id=X((0,U.jsx)(`path`,{d:`M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z`}),`ReportProblemOutlined`),ad=X((0,U.jsx)(`path`,{d:`M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`ErrorOutline`),od=X((0,U.jsx)(`path`,{d:`M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z`}),`InfoOutlined`),sd=X((0,U.jsx)(`path`,{d:`M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`),cd=e=>{let{variant:t,color:n,severity:r,classes:i}=e;return T({root:[`root`,`color${_(n||r)}`,`${t}${_(n||r)}`,`${t}`],icon:[`icon`],message:[`message`],action:[`action`]},Lu,i)},ld=q(mu,{name:`MuiAlert`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_(n.color||n.severity)}`]]}})(J(({theme:e})=>{let t=e.palette.mode===`light`?e.darken:e.lighten,n=e.palette.mode===`light`?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:`transparent`,display:`flex`,padding:`6px 16px`,variants:[...Object.entries(e.palette).filter(Iu([`light`])).map(([r])=>({props:{colorSeverity:r,variant:`standard`},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Ru.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Iu([`light`])).map(([n])=>({props:{colorSeverity:n,variant:`outlined`},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Ru.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Iu([`dark`])).map(([t])=>({props:{colorSeverity:t,variant:`filled`},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:e.palette.mode===`dark`?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),ud=q(`div`,{name:`MuiAlert`,slot:`Icon`})({marginRight:12,padding:`7px 0`,display:`flex`,fontSize:22,opacity:.9}
138),dd=q(`div`,{name:`MuiAlert`,slot:`Message`})({padding:`8px 0`,minWidth:0,overflow:`auto`}),fd=q(`div`,{name:`MuiAlert`,slot:`Action`})({display:`flex`,alignItems:`flex-start`,padding:`4px 0 0 16px`,marginLeft:`auto`,marginRight:-8}),pd={success:(0,U.jsx)(rd,{fontSize:`inherit`}),warning:(0,U.jsx)(id,{fontSize:`inherit`}),error:(0,U.jsx)(ad,{fontSize:`inherit`}),info:(0,U.jsx)(od,{fontSize:`inherit`})},md=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiAlert`}),{action:r,children:i,className:a,closeText:o=`Close`,color:s,components:c={},componentsProps:l={},icon:u,iconMapping:d=pd,onClose:f,role:p=`alert`,severity:m=`success`,slotProps:h={},slots:g={},variant:_=`standard`,...v}=n,y={...n,color:s,severity:m,variant:_,colorSeverity:s||m},b=cd(y),x={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...g},slotProps:{...l,...h}},[S,C]=Z(`root`,{ref:t,shouldForwardComponentProp:!0,className:w(b.root,a),elementType:ld,externalForwardedProps:{...x,...v},ownerState:y,additionalProps:{role:p,elevation:0}}),[T,E]=Z(`icon`,{className:b.icon,elementType:ud,externalForwardedProps:x,ownerState:y}),[D,O]=Z(`message`,{className:b.message,elementType:dd,externalForwardedProps:x,ownerState:y}),[k,A]=Z(`action`,{className:b.action,elementType:fd,externalForwardedProps:x,ownerState:y}),[j,M]=Z(`closeButton`,{elementType:nd,externalForwardedProps:x,ownerState:y}),[N,P]=Z(`closeIcon`,{elementType:sd,externalForwardedProps:x,ownerState:y});return(0,U.jsxs)(S,{...C,children:[u===!1?null:(0,U.jsx)(T,{...E,children:u||d[m]||pd[m]}),(0,U.jsx)(D,{...O,children:i}),r==null?null:(0,U.jsx)(k,{...A,children:r}),r==null&&f?(0,U.jsx)(k,{...A,children:(0,U.jsx)(j,{size:`small`,"aria-label":o,title:o,color:`inherit`,onClick:f,...M,children:(0,U.jsx)(N,{fontSize:`small`,...P})})}):null]})});function hd(e){return W(`MuiTypography`,e)}var gd=G(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]),_d={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},vd=Zo(),yd=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return T({root:[`root`,a,e.align!==`inherit`&&`align${_(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},hd,o)},bd=q(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${_(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(J(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${_(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),xd={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Sd=s.forwardRef(function(e,t){let{color:n,...r}=Y({props:e,name:`MuiTypography`}),i=!_d[n],a=vd({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=xd,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=c||(d?`p`:p[f]||xd[f])||`span`,_=yd(h);return(0,U.jsx)(bd,{as:g,ref:t,className:w(_.root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function Cd(e){return W(`MuiAlertTitle`,e)}G(`MuiAlertTitle`,[`root`]);var wd=e=>{let{classes:t}=e;return T({root:[`root`]},Cd,t)},Td=q(Sd,{name:`MuiAlertTitle`,slot:`Root`})(J(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),Ed=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiAlertTitle`}),{className:r,...i}=n,a=n,o=wd(a);return(0,U.jsx)(Td,{gutterBottom:!0,component:`div`,ownerState:a,ref:t,className:w(o.root,r),...i})});function Dd(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:tu(n,r),{props:s,internalRef:c}=iu({...a,externalSlotProps:o}),l=gs(c,o?.ref,e.additionalProps?.ref);return eu(t,{...s,ref:l},r)}function Od(e){return e?.props?.ref||null}function kd(e){return typeof e==`function`?e():e}var Ad=s.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=s.useState(null),c=gs(s.isValidElement(n)?Od(n):null,t);if(Jr(()=>{i||o(kd(r)||document.body)},[r,i]),Jr(()=>{if(a&&!i)return ls(t,a),()=>{ls(t,null)}},[t,a,i]),i){if(s.isValidElement(n)){let e={ref:c};return s.cloneElement(n,e)}return n}return a&&Tl.createPortal(n,a)}),jd=X((0,U.jsx)(`path`,{d:`M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z`}),`Cancel`);function Md(e){return W(`MuiChip`,e)}var Q=G(`MuiChip`,`root.sizeSmall.sizeMedium.colorDefault.colorError.colorInfo.colorPrimary.colorSecondary.c
138olorSuccess.colorWarning.disabled.clickable.clickableColorPrimary.clickableColorSecondary.deletable.deletableColorPrimary.deletableColorSecondary.outlined.filled.outlinedPrimary.outlinedSecondary.filledPrimary.filledSecondary.avatar.avatarSmall.avatarMedium.avatarColorPrimary.avatarColorSecondary.icon.iconSmall.iconMedium.iconColorPrimary.iconColorSecondary.label.labelSmall.labelMedium.deleteIcon.deleteIconSmall.deleteIconMedium.deleteIconColorPrimary.deleteIconColorSecondary.deleteIconOutlinedColorPrimary.deleteIconOutlinedColorSecondary.deleteIconFilledColorPrimary.deleteIconFilledColorSecondary.focusVisible`.split(`.`)),Nd=e=>{let{classes:t,disabled:n,size:r,color:i,iconColor:a,onDelete:o,clickable:s,variant:c}=e;return T({root:[`root`,c,n&&`disabled`,`size${_(r)}`,`color${_(i)}`,s&&`clickable`,s&&`clickableColor${_(i)}`,o&&`deletable`,o&&`deletableColor${_(i)}`,`${c}${_(i)}`],label:[`label`,`label${_(r)}`],avatar:[`avatar`,`avatar${_(r)}`,`avatarColor${_(i)}`],icon:[`icon`,`icon${_(r)}`,`iconColor${_(a)}`],deleteIcon:[`deleteIcon`,`deleteIcon${_(r)}`,`deleteIconColor${_(i)}`,`deleteIcon${_(c)}Color${_(i)}`]},Md,t)},Pd=q(`div`,{name:`MuiChip`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e,{color:r,iconColor:i,clickable:a,onDelete:o,size:s,variant:c}=n;return[{[`& .${Q.avatar}`]:t.avatar},{[`& .${Q.avatar}`]:t[`avatar${_(s)}`]},{[`& .${Q.avatar}`]:t[`avatarColor${_(r)}`]},{[`& .${Q.icon}`]:t.icon},{[`& .${Q.icon}`]:t[`icon${_(s)}`]},{[`& .${Q.icon}`]:t[`iconColor${_(i)}`]},{[`& .${Q.deleteIcon}`]:t.deleteIcon},{[`& .${Q.deleteIcon}`]:t[`deleteIcon${_(s)}`]},{[`& .${Q.deleteIcon}`]:t[`deleteIconColor${_(r)}`]},{[`& .${Q.deleteIcon}`]:t[`deleteIcon${_(c)}Color${_(r)}`]},t.root,t[`size${_(s)}`],t[`color${_(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${_(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${_(r)}`],t[c],t[`${c}${_(r)}`]]}})(J(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:`100%`,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:`inline-flex`,alignItems:`center`,justifyContent:`center`,height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:`nowrap`,transition:e.transitions.create([`background-color`,`box-shadow`]),cursor:`unset`,outline:0,textDecoration:`none`,border:0,padding:0,verticalAlign:`middle`,boxSizing:`border-box`,[`&.${Q.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:`none`},[`& .${Q.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Q.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Q.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Q.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Q.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Q.deleteIcon}`]:{WebkitTapHighlightColor:`transparent`,color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:`pointer`,margin:`0 5px 0 -6px`,"&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:`small`},style:{height:24,[`& .${Q.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Q.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Iu([`contrastText`])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${Q.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${Q.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&e.color!=="default",style:{[`& .${Q.icon}`]:{color:`inherit`}}},{props:{onDelete:!0},style:{[`&.${Q.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Iu([`dark`])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${Q.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:`none`,WebkitTapHighlightColor:`transparent`,cursor:`pointer`,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Q.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Iu([`dark`])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${Q.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:`outlined`},style:{backgroundColor:`transparent`,border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode===`light`?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Q.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Q.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Q.avatar}`]:{marginLeft:4},[`& .${Q.avatarSmall}`]:{marginLeft:2},[`& .${Q.icon}`]:{marginLeft:4},[`& .${Q.iconSmall}`]:{marginLeft:2},[`& .${Q.deleteIcon}`]:{marginRight:5},[`& .${Q.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{variant:`outlined`,color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${Q.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Q.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Q.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),Fd=q(`span`,{name:`MuiChip`,slot:`Label`,overridesResolver:(e,t)=>{let{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${_(r)}`]]}})({overflow:`hidden`,textOverflow:`ellipsis`,paddingLeft:12,paddingRight:12,whiteSpace:`nowrap`,variants:[{props:{variant:`outlined`},style:{paddingLeft:11,paddingRight:11}},{props:{size:`small`},style:{paddingLeft:8,paddingRight:8}},{props:{size:`small`,variant:`outlined`},style:{paddingLeft:7,paddingRight:7}}]});function Id(e){return e.key===`Backspace`||e.key===`Delete`}var Ld=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiChip`}
138),{avatar:r,className:i,clickable:a,color:o=`default`,component:c,deleteIcon:l,disabled:u=!1,icon:d,label:f,onClick:p,onDelete:m,onKeyDown:h,onKeyUp:g,size:_=`medium`,variant:v=`filled`,tabIndex:y,skipFocusWhenDisabled:b=!1,slots:x={},slotProps:S={},...C}=n,T=_s(s.useRef(null),t),E=e=>{e.stopPropagation(),m&&m(e)},D=e=>{e.currentTarget===e.target&&Id(e)&&e.preventDefault(),h&&h(e)},O=e=>{e.currentTarget===e.target&&m&&Id(e)&&m(e),g&&g(e)},k=a!==!1&&p?!0:a,A=k||m?Mu:c||`div`,j={...n,component:A,disabled:u,size:_,color:o,iconColor:s.isValidElement(d)&&d.props.color||o,onDelete:!!m,clickable:k,variant:v},M=Nd(j),N=A===Mu?{component:c||`div`,focusVisibleClassName:M.focusVisible,...m&&{disableRipple:!0}}:{},P=null;m&&(P=l&&s.isValidElement(l)?s.cloneElement(l,{className:w(l.props.className,M.deleteIcon),onClick:E}):(0,U.jsx)(jd,{className:M.deleteIcon,onClick:E}));let F=null;r&&s.isValidElement(r)&&(F=s.cloneElement(r,{className:w(M.avatar,r.props.className)}));let I=null;d&&s.isValidElement(d)&&(I=s.cloneElement(d,{className:w(M.icon,d.props.className)}));let L={slots:x,slotProps:S},[R,z]=Z(`root`,{elementType:Pd,externalForwardedProps:{...L,...C},ownerState:j,shouldForwardComponentProp:!0,ref:T,className:w(M.root,i),additionalProps:{disabled:k&&u?!0:void 0,tabIndex:b&&u?-1:y,...N},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),p?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),D(t)},onKeyUp:t=>{e.onKeyUp?.(t),O(t)}})}),[B,V]=Z(`label`,{elementType:Fd,externalForwardedProps:L,ownerState:j,className:M.label});return(0,U.jsxs)(R,{as:A,...z,children:[F||I,(0,U.jsx)(B,{...V,children:f}),P]})});function Rd(e){return parseInt(e,10)||0}var zd={shadow:{visibility:`hidden`,position:`absolute`,overflow:`hidden`,height:0,top:0,left:0,transform:`translateZ(0)`}};function Bd(e){for(let t in e)return!1;return!0}function Vd(e){return Bd(e)||e.outerHeightStyle===0&&!e.overflowing}var Hd=s.forwardRef(function(e,t){let{onChange:n,maxRows:r,minRows:i=1,style:a,value:o,...c}=e,{current:l}=s.useRef(o!=null),u=s.useRef(null),d=gs(t,u),f=s.useRef(null),p=s.useRef(null),m=s.useCallback(()=>{let t=u.current,n=p.current;if(!t||!n)return;let a=ss(t).getComputedStyle(t);if(a.width===`0px`)return{outerHeightStyle:0,overflowing:!1};n.style.width=a.width,n.value=t.value||e.placeholder||`x`,n.value.slice(-1)===`
139`&&(n.value+=` `);let o=a.boxSizing,s=Rd(a.paddingBottom)+Rd(a.paddingTop),c=Rd(a.borderBottomWidth)+Rd(a.borderTopWidth),l=n.scrollHeight;n.value=`x`;let d=n.scrollHeight,f=l;return i&&(f=Math.max(Number(i)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d),{outerHeightStyle:f+(o===`border-box`?s+c:0),overflowing:Math.abs(f-l)<=1}},[r,i,e.placeholder]),h=ms(()=>{let e=u.current,t=m();if(!e||!t||Vd(t))return!1;let n=t.outerHeightStyle;return f.current!=null&&f.current!==n}),g=s.useCallback(()=>{let e=u.current,t=m();if(!e||!t||Vd(t))return;let n=t.outerHeightStyle;f.current!==n&&(f.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?`hidden`:``},[m]),_=s.useRef(-1);return Jr(()=>{let e=ns(g),t=u?.current;if(!t)return;let n=ss(t);n.addEventListener(`resize`,e);let r;return typeof ResizeObserver<`u`&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(_.current),g(),_.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(_.current),n.removeEventListener(`resize`,e),r&&r.disconnect()}},[m,g,h]),Jr(()=>{g()}),(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(`textarea`,{value:o,onChange:e=>{l||g();let t=e.target,r=t.value.length,i=t.value.endsWith(`
140`),a=t.selectionStart===r;i&&a&&t.setSelectionRange(r,r),n&&n(e)},ref:d,rows:i,style:a,...c}),(0,U.jsx)(`textarea`,{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:{...zd.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function Ud({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Wd=s.createContext(void 0);function Gd(){return s.useContext(Wd)}function Kd(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function qd(e,t=!1){return e&&(Kd(e.value)&&e.value!==``||t&&Kd(e.defaultValue)&&e.defaultValue!==``)}function Jd(e){return e.startAdornment}function Yd(e){return W(`MuiInputBase`,e)}var Xd=G(`MuiInputBase`,[`root`,`formControl`,`focused`,`disabled`,`adornedStart`,`adornedEnd`,`error`,`sizeSmall`,`multiline`,`colorSecondary`,`fullWidth`,`hiddenLabel`,`readOnly`,`input`,`inputSizeSmall`,`inputMultiline`,`inputTypeSearch`,`inputAdornedStart`,`inputAdornedEnd`,`inputHiddenLabel`]),Zd,Qd=(e,t)=>{let{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size===`small`&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${_(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$d=(e,t)=>{let{ownerState:n}=e;return[t.input,n.size===`small`&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type===`search`&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},ef=e=>{let{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:c,hiddenLabel:l,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return T({root:[`root`,`color${_(n)}`,r&&`disabled`,i&&`error`,c&&`fullWidth`,o&&`focused`,s&&`formControl`,f&&f!==`medium`&&`size${_(f)}`,u&&`multiline`,p&&`adornedStart`,a&&`adornedEnd`,l&&`hiddenLabel`,d&&`readOnly`],input:[`input`,r&&`disabled`,m===`search`&&`inputTypeSearch`,u&&`inputMultiline`,f===`
140small`&&`inputSizeSmall`,l&&`inputHiddenLabel`,p&&`inputAdornedStart`,a&&`inputAdornedEnd`,d&&`readOnly`]},Yd,t)},tf=q(`div`,{name:`MuiInputBase`,slot:`Root`,overridesResolver:Qd})(J(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:`1.4375em`,boxSizing:`border-box`,position:`relative`,cursor:`text`,display:`inline-flex`,alignItems:`center`,[`&.${Xd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:`default`},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:`4px 0 5px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:`100%`}}]}))),nf=q(`input`,{name:`MuiInputBase`,slot:`Input`,overridesResolver:$d})(J(({theme:e})=>{let t=e.palette.mode===`light`,n={color:`currentColor`,...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create(`opacity`,{duration:e.transitions.duration.shorter})},r={opacity:`0 !important`},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:`inherit`,letterSpacing:`inherit`,color:`currentColor`,padding:`4px 0 5px`,border:0,boxSizing:`content-box`,background:`none`,height:`1.4375em`,margin:0,WebkitTapHighlightColor:`transparent`,display:`block`,minWidth:0,width:`100%`,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:`none`},"&::-webkit-search-decoration":{WebkitAppearance:`none`},[`label[data-shrink=false] + .${Xd.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Xd.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:`mui-auto-fill-cancel`,animationDuration:`10ms`,"&:-webkit-autofill":{animationDuration:`5000s`,animationName:`mui-auto-fill`}}},{props:{size:`small`},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:`auto`,resize:`none`,padding:0,paddingTop:0}},{props:{type:`search`},style:{MozAppearance:`textfield`}}]}})),rf=Xo({"@keyframes mui-auto-fill":{from:{display:`block`}},"@keyframes mui-auto-fill-cancel":{from:{display:`block`}}}),af=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiInputBase`}),{"aria-describedby":r,autoComplete:i,autoFocus:a,className:o,color:c,components:l={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:m,error:g,fullWidth:_=!1,id:v,inputComponent:y=`input`,inputProps:b={},inputRef:x,margin:S,maxRows:C,minRows:T,multiline:E=!1,name:D,onBlur:O,onChange:k,onClick:A,onFocus:j,onKeyDown:M,onKeyUp:N,placeholder:P,readOnly:F,renderSuffix:I,rows:L,size:R,slotProps:z={},slots:B={},startAdornment:V,type:ee=`text`,value:te,...ne}=n,re=b.value==null?te:b.value,{current:ie}=s.useRef(re!=null),ae=s.useRef(),oe=s.useCallback(e=>{},[]),se=_s(ae,x,b.ref,oe),[ce,le]=s.useState(!1),ue=Gd(),de=Ud({props:n,muiFormControl:ue,states:[`color`,`disabled`,`error`,`hiddenLabel`,`size`,`required`,`filled`]});de.focused=ue?ue.focused:ce,s.useEffect(()=>{!ue&&f&&ce&&(le(!1),O&&O())},[ue,f,ce,O]);let fe=ue&&ue.onFilled,pe=ue&&ue.onEmpty,me=s.useCallback(e=>{qd(e)?fe&&fe():pe&&pe()},[fe,pe]);us(()=>{ie&&me({value:re})},[re,me,ie]);let he=e=>{j&&j(e),b.onFocus&&b.onFocus(e),ue&&ue.onFocus?ue.onFocus(e):le(!0)},ge=e=>{O&&O(e),b.onBlur&&b.onBlur(e),ue&&ue.onBlur?ue.onBlur(e):le(!1)},_e=(e,...t)=>{if(!ie){let t=e.target||ae.current;if(t==null)throw Error(h(1));me({value:t.value})}b.onChange&&b.onChange(e,...t),k&&k(e,...t)};s.useEffect(()=>{me(ae.current)},[]);let ve=e=>{ae.current&&e.currentTarget===e.target&&ae.current.focus(),A&&A(e)},ye=y,H=b;E&&ye===`input`&&(H=L?{type:void 0,minRows:L,maxRows:L,...H}:{type:void 0,maxRows:C,minRows:T,...H},ye=Hd);let be=e=>{me(e.animationName===`mui-auto-fill-cancel`?ae.current:{value:`x`})};s.useEffect(()=>{ue&&ue.setAdornedStart(!!V)},[ue,V]);let xe={...n,color:de.color||`primary`,disabled:de.disabled,endAdornment:m,error:de.error,focused:de.focu
140sed,formControl:ue,fullWidth:_,hiddenLabel:de.hiddenLabel,multiline:E,size:de.size,startAdornment:V,type:ee},Se=ef(xe),Ce=B.root||l.Root||tf,we=z.root||u.root||{},Te=B.input||l.Input||nf;return H={...H,...z.input??u.input},(0,U.jsxs)(s.Fragment,{children:[!p&&typeof rf==`function`&&(Zd||=(0,U.jsx)(rf,{})),(0,U.jsxs)(Ce,{...we,ref:t,onClick:ve,...ne,...!$l(Ce)&&{ownerState:{...xe,...we.ownerState}},className:w(Se.root,we.className,o,F&&`MuiInputBase-readOnly`),children:[V,(0,U.jsx)(Wd.Provider,{value:null,children:(0,U.jsx)(Te,{"aria-invalid":de.error,"aria-describedby":r,autoComplete:i,autoFocus:a,defaultValue:d,disabled:de.disabled,id:v,onAnimationStart:be,name:D,placeholder:P,readOnly:F,required:de.required,rows:L,value:re,onKeyDown:M,onKeyUp:N,type:ee,...H,...!$l(Te)&&{as:ye,ownerState:{...xe,...H.ownerState}},ref:se,className:w(Se.input,H.className,F&&`MuiInputBase-readOnly`),onBlur:ge,onChange:_e,onFocus:he})}),m,I?I({...de,startAdornment:V}):null]})]})});function of(e){return W(`MuiInput`,e)}var sf={...Xd,...G(`MuiInput`,[`root`,`underline`,`input`])};function cf(e){return W(`MuiOutlinedInput`,e)}var lf={...Xd,...G(`MuiOutlinedInput`,[`root`,`notchedOutline`,`input`])};function uf(e){return W(`MuiFilledInput`,e)}var df={...Xd,...G(`MuiFilledInput`,[`root`,`underline`,`input`,`adornedStart`,`adornedEnd`,`sizeSmall`,`multiline`,`hiddenLabel`])},ff=X((0,U.jsx)(`path`,{d:`M7 10l5 5 5-5z`}),`ArrowDropDown`),pf={entering:{opacity:1},entered:{opacity:1}},mf=s.forwardRef(function(e,t){let n=Ko(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,style:g,timeout:_=r,TransitionComponent:v=Pl,...y}=e,b=s.useRef(null),x=_s(b,Od(o),t),S=e=>t=>{if(e){let n=b.current;t===void 0?e(n):e(n,t)}},C=S(f),w=S((e,t)=>{Zl(e);let r=Ql({style:g,timeout:_,easing:c},{mode:`enter`});e.style.webkitTransition=n.transitions.create(`opacity`,r),e.style.transition=n.transitions.create(`opacity`,r),u&&u(e,t)}),T=S(d),E=S(h),D=S(e=>{let t=Ql({style:g,timeout:_,easing:c},{mode:`exit`});e.style.webkitTransition=n.transitions.create(`opacity`,t),e.style.transition=n.transitions.create(`opacity`,t),p&&p(e)}),O=S(m);return(0,U.jsx)(v,{appear:a,in:l,nodeRef:b,onEnter:w,onEntered:T,onEntering:C,onExit:D,onExited:O,onExiting:E,addEndListener:e=>{i&&i(b.current,e)},timeout:_,...y,children:(e,{ownerState:t,...n})=>s.cloneElement(o,{style:{opacity:0,visibility:e===`exited`&&!l?`hidden`:void 0,...pf[e],...g,...o.props.style},ref:x,...n})})});function hf(e){return W(`MuiBackdrop`,e)}G(`MuiBackdrop`,[`root`,`invisible`]);var gf=e=>{let{classes:t,invisible:n}=e;return T({root:[`root`,n&&`invisible`]},hf,t)},_f=q(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),vf=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=gf(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=Z(`root`,{elementType:_f,externalForwardedProps:_,className:w(g.root,i),ownerState:h}),[b,x]=Z(`transition`,{elementType:mf,externalForwardedProps:_,ownerState:h});return(0,U.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,U.jsx)(v,{"aria-hidden":!0,...y,classes:g,ref:t,children:r})})});function yf(e){return W(`MuiBottomNavigation`,e)}G(`MuiBottomNavigation`,[`root`]);var bf=e=>{let{classes:t}=e;return T({root:[`root`]},yf,t)},xf=q(`div`,{name:`MuiBottomNavigation`,slot:`Root`})(J(({theme:e})=>({display:`flex`,justifyContent:`center`,height:56,backgroundColor:(e.vars||e).palette.background.paper}))),Sf=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiBottomN
140avigation`}),{children:r,className:i,component:a=`div`,onChange:o,showLabels:c=!1,value:l,...u}=n,d={...n,component:a,showLabels:c},f=bf(d);return(0,U.jsx)(xf,{as:a,className:w(f.root,i),ref:t,ownerState:d,...u,children:s.Children.map(r,(e,t)=>{if(!s.isValidElement(e))return null;let n=e.props.value===void 0?t:e.props.value;return s.cloneElement(e,{selected:n===l,showLabel:e.props.showLabel===void 0?c:e.props.showLabel,value:n,onChange:o})})})});function Cf(e){return W(`MuiBottomNavigationAction`,e)}var wf=G(`MuiBottomNavigationAction`,[`root`,`iconOnly`,`selected`,`label`]),Tf=e=>{let{classes:t,showLabel:n,selected:r}=e;return T({root:[`root`,!n&&!r&&`iconOnly`,r&&`selected`],label:[`label`,!n&&!r&&`iconOnly`,r&&`selected`]},Cf,t)},Ef=q(Mu,{name:`MuiBottomNavigationAction`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})(J(({theme:e})=>({transition:e.transitions.create([`color`,`padding-top`],{duration:e.transitions.duration.short}),padding:`0px 12px`,minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:`column`,flex:`1`,[`&.${wf.selected}`]:{color:(e.vars||e).palette.primary.main},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{paddingTop:14}},{props:({showLabel:e,selected:t,label:n})=>!e&&!t&&!n,style:{paddingTop:0}}]}))),Df=q(`span`,{name:`MuiBottomNavigationAction`,slot:`Label`})(J(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:`font-size 0.2s, opacity 0.2s`,transitionDelay:`0.1s`,[`&.${wf.selected}`]:{fontSize:e.typography.pxToRem(14)},variants:[{props:({showLabel:e,selected:t})=>!e&&!t,style:{opacity:0,transitionDelay:`0s`}}]}))),Of=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiBottomNavigationAction`}),{className:r,icon:i,label:a,onChange:o,onClick:s,selected:c,showLabel:l,value:u,slots:d={},slotProps:f={},...p}=n,m=n,h=Tf(m),g=e=>{o&&o(e,u),s&&s(e)},_={slots:d,slotProps:f},[v,y]=Z(`root`,{elementType:Ef,externalForwardedProps:{..._,...p},shouldForwardComponentProp:!0,ownerState:m,ref:t,className:w(h.root,r),additionalProps:{focusRipple:!0},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),g(t)}})}),[b,x]=Z(`label`,{elementType:Df,externalForwardedProps:_,ownerState:m,className:h.label});return(0,U.jsxs)(v,{...y,children:[i,(0,U.jsx)(b,{...x,children:a})]})}),kf=G(`MuiBox`,[`root`]),Af=Ar({themeId:Go,defaultTheme:Uo(),defaultClassName:kf.root,generateClassName:m.generate});function jf(e){return W(`MuiButton`,e)}var Mf=G(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Nf=s.createContext({}),Pf=s.createContext(void 0),Ff=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=T({root:[`root`,o&&`loading`,a,`${a}${_(t)}`,`size${_(i)}`,`${a}Size${_(i)}`,`color${_(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${_(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${_(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${_(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},jf,c);return{...c,...l}},If=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Lf=q(Mu,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_(n.color)}`],t[`size${_(n.size)}`],t[`${n.variant}Size${_(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(J(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${Mf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Mf.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Mf.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackgroun
140d}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${Mf.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${Mf.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Mf.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${Mf.loading}`]:{color:`transparent`}}}]}})),Rf=q(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${_(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...If]})),zf=q(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${_(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...If]})),Bf=q(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Vf=q(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Hf=s.forwardRef(function(e,t){let n=s.useContext(Nf),r=s.useContext(Pf),i=Y({props:Gr(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:c=`button`,className:l,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:m,fullWidth:h=!1,id:g,loading:_=null,loadingIndicator:v,loadingPosition:y=`center`,size:b=`medium`,startIcon:x,type:S,variant:C=`text`,...T}
140=i,E=ds(g),D=v??(0,U.jsx)(Xu,{"aria-labelledby":E,color:`inherit`,size:16}),O={...i,color:o,component:c,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,loading:_,loadingIndicator:D,loadingPosition:y,size:b,type:S,variant:C},k=Ff(O),A=(x||_&&y===`start`)&&(0,U.jsx)(Rf,{className:k.startIcon,ownerState:O,children:x||(0,U.jsx)(Vf,{className:k.loadingIconPlaceholder,ownerState:O})}),j=(p||_&&y===`end`)&&(0,U.jsx)(zf,{className:k.endIcon,ownerState:O,children:p||(0,U.jsx)(Vf,{className:k.loadingIconPlaceholder,ownerState:O})}),M=r||``,N=typeof _==`boolean`?(0,U.jsx)(`span`,{className:k.loadingWrapper,style:{display:`contents`},children:_&&(0,U.jsx)(Bf,{className:k.loadingIndicator,ownerState:O,children:D})}):null;return(0,U.jsxs)(Lf,{ownerState:O,className:w(n.className,k.root,l,M),component:c,disabled:u||_,focusRipple:!f,focusVisibleClassName:w(k.focusVisible,m),ref:t,type:S,id:_?E:g,...T,classes:k,children:[A,y!==`end`&&N,a,y===`end`&&N,j]})});function Uf(e){return W(`MuiCard`,e)}G(`MuiCard`,[`root`]);var Wf=e=>{let{classes:t}=e;return T({root:[`root`]},Uf,t)},Gf=q(mu,{name:`MuiCard`,slot:`Root`})({overflow:`hidden`}),Kf=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCard`}),{className:r,raised:i=!1,...a}=n,o={...n,raised:i},s=Wf(o);return(0,U.jsx)(Gf,{className:w(s.root,r),elevation:i?8:void 0,ref:t,ownerState:o,...a})});function qf(e){return W(`MuiCardContent`,e)}G(`MuiCardContent`,[`root`]);var Jf=e=>{let{classes:t}=e;return T({root:[`root`]},qf,t)},Yf=q(`div`,{name:`MuiCardContent`,slot:`Root`})({padding:16,"&:last-child":{paddingBottom:24}}),Xf=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCardContent`}),{className:r,component:i=`div`,...a}=n,o={...n,component:i},s=Jf(o);return(0,U.jsx)(Yf,{as:i,className:w(s.root,r),ownerState:o,ref:t,...a})});function Zf(e){return W(`PrivateSwitchBase`,e)}G(`PrivateSwitchBase`,[`root`,`checked`,`disabled`,`input`,`edgeStart`,`edgeEnd`]);var Qf=e=>{let{classes:t,checked:n,disabled:r,edge:i}=e;return T({root:[`root`,n&&`checked`,r&&`disabled`,i&&`edge${_(i)}`],input:[`input`]},Zf,t)},$f=q(Mu,{name:`MuiSwitchBase`})({padding:9,borderRadius:`50%`,variants:[{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e===`start`&&t.size!==`small`,style:{marginLeft:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e===`end`&&t.size!==`small`,style:{marginRight:-12}}]}),ep=q(`input`,{name:`MuiSwitchBase`,shouldForwardProp:Yo})({cursor:`inherit`,position:`absolute`,opacity:0,width:`100%`,height:`100%`,top:0,left:0,margin:0,padding:0,zIndex:1}),tp=s.forwardRef(function(e,t){let{autoFocus:n,checked:r,checkedIcon:i,defaultChecked:a,disabled:o,disableFocusRipple:s=!1,edge:c=!1,icon:l,id:u,inputProps:d,inputRef:f,name:p,onBlur:m,onChange:h,onFocus:g,readOnly:_,required:v=!1,tabIndex:y,type:b,value:x,slots:S={},slotProps:C={},...w}=e,[T,E]=ps({controlled:r,default:!!a,name:`SwitchBase`,state:`checked`}),D=Gd(),O=e=>{g&&g(e),D&&D.onFocus&&D.onFocus(e)},k=e=>{m&&m(e),D&&D.onBlur&&D.onBlur(e)},A=e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;E(t),h&&h(e,t)},j=o;D&&j===void 0&&(j=D.disabled);let M=b===`checkbox`||b===`radio`,N={...e,checked:T,disabled:j,disableFocusRipple:s,edge:c},P=Qf(N),F={slots:S,slotProps:{input:d,...C}},[I,L]=Z(`root`,{ref:t,elementType:$f,className:P.root,shouldForwardComponentProp:!0,externalForwardedProps:{...F,component:`span`,...w},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),O(t)},onBlur:t=>{e.onBlur?.(t),k(t)}}),ownerState:N,additionalProps:{centerRipple:!0,focusRipple:!s,disabled:j,role:void 0,tabIndex:null}}),[R,z]=Z(`input`,{ref:f,elementType:ep,className:P.input,externalForwardedProps:F,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),A(t)}}),ownerState:N,additionalProps:{autoFocus:n,checked:r,defaultChecked:a,disabled:j,id:M?u:void 0,name:p,readOnly:_,required:v,tabIndex:y,type:b,...b===`checkbox`&&x===void 0?{}:{value:x}}});return(0,U.jsxs)(I,{...L,children:[(0,U.jsx)(R,{...z}),T?i:l]})}),np=X((0,U.jsx)(`path`,{d:`M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z`}),`CheckBoxOutlineBlank`),rp=X((0,U.jsx)(`path`,{d:`M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z`}),`CheckBox`),ip=X((0,U.jsx)(`path`,{d:`M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z`}),`IndeterminateCheckBox`);function ap(e){return W(`MuiCheckbox`,e)}var op=G(`MuiCheckbox`,[`root`,`checked`,`disabled`,`indeterminate`,`colorPrimary`,`colorSecondary`,`sizeSmall`,`sizeMedium`]),sp=e=>{let{classes:t,indeterminate:n,color:r,size:i}
140=e,a=T({root:[`root`,n&&`indeterminate`,`color${_(r)}`,`size${_(i)}`]},ap,t);return{...t,...a}},cp=q(tp,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiCheckbox`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${_(n.size)}`],n.color!=="default"&&t[`color${_(n.color)}`]]}})(J(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:`default`,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{[`&.${op.checked}, &.${op.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${op.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),lp=(0,U.jsx)(rp,{}),up=(0,U.jsx)(np,{}),dp=(0,U.jsx)(ip,{}),fp=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCheckbox`}),{checkedIcon:r=lp,color:i=`primary`,icon:a=up,indeterminate:o=!1,indeterminateIcon:c=dp,inputProps:l,size:u=`medium`,disableRipple:d=!1,className:f,slots:p={},slotProps:m={},...h}=n,g=o?c:a,_=o?c:r,v={...n,disableRipple:d,color:i,indeterminate:o,size:u},y=sp(v),b=m.input??l,[x,S]=Z(`root`,{ref:t,elementType:cp,className:w(y.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:p,slotProps:m,...h},ownerState:v,additionalProps:{type:`checkbox`,icon:s.cloneElement(g,{fontSize:g.props.fontSize??u}),checkedIcon:s.cloneElement(_,{fontSize:_.props.fontSize??u}),disableRipple:d,slots:p,slotProps:{input:ys(typeof b==`function`?b(v):b,{"data-indeterminate":o})}}});return(0,U.jsx)(x,{...S,classes:y})});function pp(e){return e.substring(2).toLowerCase()}function mp(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function hp(e){let{children:t,disableReactTree:n=!1,mouseEvent:r=`onClick`,onClickAway:i,touchEvent:a=`onTouchEnd`}=e,o=s.useRef(!1),c=s.useRef(null),l=s.useRef(!1),u=s.useRef(!1);s.useEffect(()=>(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);let d=gs(Od(t),c),f=ms(e=>{let t=u.current;u.current=!1;let r=as(c.current);if(!l.current||!c.current||`clientX`in e&&mp(e,r))return;if(o.current){o.current=!1;return}let a;a=e.composedPath?e.composedPath().includes(c.current):!r.documentElement.contains(e.target)||c.current.contains(e.target),!a&&(n||!t)&&i(e)}),p=e=>n=>{u.current=!0;let r=t.props[e];r&&r(n)},m={ref:d};return a!==!1&&(m[a]=p(a)),s.useEffect(()=>{if(a!==!1){let e=pp(a),t=as(c.current),n=()=>{o.current=!0};return t.addEventListener(e,f),t.addEventListener(`touchmove`,n),()=>{t.removeEventListener(e,f),t.removeEventListener(`touchmove`,n)}}},[f,a]),r!==!1&&(m[r]=p(r)),s.useEffect(()=>{if(r!==!1){let e=pp(r),t=as(c.current);return t.addEventListener(e,f),()=>{t.removeEventListener(e,f)}}},[f,r]),s.cloneElement(t,m)}var gp=typeof Xo({})==`function`,_p=(e,t)=>({WebkitFontSmoothing:`antialiased`,MozOsxFontSmoothing:`grayscale`,boxSizing:`border-box`,WebkitTextSizeAdjust:`100%`,...t&&!e.vars&&{colorScheme:e.palette.mode}}),vp=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),yp=(e,t=!1)=>{let n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector==`function`&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={":root":{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={colorScheme:r.palette?.mode}});let r={html:_p(e,t),"*, *::before, *::after":{boxSizing:`inherit`},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...vp(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n},i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},bp=`mui-ecs`,xp=e=>{let t=yp(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${bp})`]={colorScheme:e.palette.mode}
140),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{let i=e.getColorSchemeSelector(t);i.startsWith(`@`)?n[i]={[`:root:not(:has(.${bp}))`]:{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,``)]={[`&:not(:has(.${bp}))`]:{colorScheme:r.palette?.mode}}}),t},Sp=Xo(gp?({theme:e,enableColorScheme:t})=>yp(e,t):({theme:e})=>xp(e));function Cp(e){let{children:t,enableColorScheme:n=!1}=Y({props:e,name:`MuiCssBaseline`});return(0,U.jsxs)(s.Fragment,{children:[gp&&(0,U.jsx)(Sp,{enableColorScheme:n}),!gp&&!n&&(0,U.jsx)(`span`,{className:bp,style:{display:`none`}}),t]})}function wp(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Tp(e){let t=as(e);return t.body===e?ss(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ep(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function Dp(e){return parseInt(ss(e).getComputedStyle(e).paddingRight,10)||0}function Op(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function kp(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!Op(e);t&&n&&Ep(e,i)})}function Ap(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function jp(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(Tp(r)){let e=wp(ss(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${Dp(r)+e}px`;let t=as(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${Dp(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=as(r).body;else{let t=r.parentElement,n=ss(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function Mp(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var Np=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ep(e.modalRef,!1);let r=Mp(t);kp(t,e.mount,e.modalRef,r,!0);let i=Ap(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=Ap(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=jp(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=Ap(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&Ep(e.modalRef,t),kp(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&Ep(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},Pp=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function Fp(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function Ip(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function Lp(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||Ip(e))}function Rp(e){let t=[],n=[];
140return Array.from(e.querySelectorAll(Pp)).forEach((e,r)=>{let i=Fp(e);i!==-1&&Lp(e)&&(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function zp(){return!0}function Bp(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Rp,isEnabled:o=zp,open:c}=e,l=s.useRef(!1),u=s.useRef(null),d=s.useRef(null),f=s.useRef(null),p=s.useRef(null),m=s.useRef(!1),h=s.useRef(null),g=gs(Od(t),h),_=s.useRef(null);s.useEffect(()=>{c&&h.current&&(m.current=!n)},[n,c]),s.useEffect(()=>{if(!c||!h.current)return;let e=as(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute(`tabIndex`)||h.current.setAttribute(`tabIndex`,`-1`),m.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[c]),s.useEffect(()=>{if(!c||!h.current)return;let e=as(h.current),t=t=>{_.current=t,!r&&o()&&t.key===`Tab`&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,d.current&&d.current.focus())},n=()=>{let t=h.current;if(t===null)return;if(!e.hasFocus()||!o()||l.current){l.current=!1;return}if(t.contains(e.activeElement)||r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!m.current)return;let n=[];if((e.activeElement===u.current||e.activeElement===d.current)&&(n=a(h.current)),n.length>0){let e=!!(_.current?.shiftKey&&_.current?.key===`Tab`),t=n[0],r=n[n.length-1];typeof t!=`string`&&typeof r!=`string`&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{e.activeElement&&e.activeElement.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,c,a]);let v=e=>{f.current===null&&(f.current=e.relatedTarget),m.current=!0,p.current=e.target;let n=t.props.onFocus;n&&n(e)},y=e=>{f.current===null&&(f.current=e.relatedTarget),m.current=!0};return(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(`div`,{tabIndex:c?0:-1,onFocus:y,ref:u,"data-testid":`sentinelStart`}),s.cloneElement(t,{ref:g,onFocus:v}),(0,U.jsx)(`div`,{tabIndex:c?0:-1,onFocus:y,ref:d,"data-testid":`sentinelEnd`})]})}function Vp(e){return typeof e==`function`?e():e}function Hp(e){return e?e.props.hasOwnProperty(`in`):!1}var Up=()=>{},Wp=new Np;function Gp(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:c,onClose:l,open:u,rootRef:d}=e,f=s.useRef({}),p=s.useRef(null),m=s.useRef(null),h=gs(m,d),[g,_]=s.useState(!u),y=Hp(c),b=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(b=!1);let x=()=>as(p.current),S=()=>(f.current.modalRef=m.current,f.current.mount=p.current,f.current),C=()=>{Wp.mount(S(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},w=ms(()=>{let e=Vp(t)||x().body;Wp.add(S(),e),m.current&&C()}),T=()=>Wp.isTopModal(S()),E=ms(e=>{p.current=e,e&&(u&&T()?C():m.current&&Ep(m.current,b))}),D=s.useCallback(()=>{Wp.remove(S(),b)},[b]);s.useEffect(()=>()=>{D()},[D]),s.useEffect(()=>{u?w():(!y||!i)&&D()},[u,D,y,i,w]);let O=e=>t=>{e.onKeyDown?.(t),t.key===`Escape`&&t.which!==229&&T()&&(n||(t.stopPropagation(),l&&l(t,`escapeKeyDown`)))},k=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=nu(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:O(r),ref:h}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:k(t),open:u}},getTransitionProps:()=>({onEnter:v(()=>{_(!1),a&&a()},c?.props.onEnter??Up),onExited:v(()=>{_(!0),o&&o(),i&&D()},c?.props.onExited??Up)}),rootRef:h,portalRef:E,isTopModal:T,exited:g,hasTransition:y}}function Kp(e){return W(`MuiModal`,e)}G(`MuiModal`,[`root`,`hidden`,`backdrop`]);var qp=e=>{let{open:t,exited:n,classes:r}=e;return T({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},Kp,r)},Jp=q(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(J(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),Yp=q(vf,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),Xp=s.forwardRef(function(e,t){let n=Y({name:`MuiModal`,props:e}),{BackdropComponent:r=Yp,BackdropProps:i,classes:a,className:o,closeAfterTransition:c=!1,children:l,container:u,component:d,components:f={},componentsProps:p={},disableAutoFocus:m=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:g=!1,disablePortal:_=!1,disableRestoreFocus:v=!1,disableScrollLock:y=!1,hideBackdrop:b=!1,keepMounted:x=!1,onClose:S,onTransitionEnter:C,onTransitionExited:T,open:E,slotProps:D={},slots:O={},theme:k,...A}=n,j={...n,closeAfterTransition:c,disableAutoFocus:m,disableEnforceFocus:h,disableEscapeKeyDown:g,disablePortal:_,disableRestoreFocus:v,disableScrollLock:y,hideBackdrop:b,keepMounted:x},{getRootProps:M,getBackdropProps:N,getTransitionProps:P,portalRef:F,isTopModal:I,exited:L,hasTransition:R}=Gp({...j,rootRef:t}),z={...j,exited:L},B=qp(z),V={};if(l.props.tabIndex===void 0&&(V.tabIndex=`-1`),R){let{onEnter:e,onExited:t}=P();V.onEnter=e,V.onExited=t}let ee={slots:{root:f.Root,backdrop:f.Backdrop,...O},slotProps:{...p,...D}},[te,ne]=Z(`root`,{ref:t,elementType:Jp,externalForwardedProps:{...ee,...A,component:d},getSlotProps:M,ownerState:z,className:w(o,B?.root,!z.open&&z.exited&&B?.hidden)}),[re,ie]=Z(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>N({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:w(i?.className,B?.backdrop),ownerState:z});return!x&&!E&&(!R||L)?null:(0,U.jsx)(Ad,{ref:F,container:u,disablePortal:_,children:(0,U.jsxs)(te,{...ne,children:[!b&&r?(0,U.jsx)(re,{...ie}):null,(0,U.jsx)(Bp,{disableEnforceFocus:h,disableAutoFocus:m,disableRestoreFocus:v,isEnabled:I,open:E,children:s.cloneElement(l,V)})]})})});function Zp(e){return W(`MuiDialog`,e)}var Qp=G(`MuiDialog`,[`root`,`scrollPaper`,`scrollBody`,`container`,`paper`,`paperScrollPaper`,`paperScrollBody`,`paperWidthFalse`,`paperWidthXs`,`paperWidthSm`,`paperWidthMd`,`paperWidthLg`,`paperWidthXl`,`paperFullWidth`,`paperFullScreen`]),$p=s.createContext({}),em=q(vf,{name:`MuiDialog`,slot:`Backdrop`,overrides:(e,t)=>t.backdrop})({zIndex:-1}),tm=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e;return T({root:[`root`],container:[`container`,`scroll${_(n)}`],paper:[`paper`,`paperScroll${_(n)}`,`paperWidth${_(String(r))}`,i&&`paperFullWidth`,a&&`paperFullScreen`]},Zp,t)},nm=q(Xp,{name:`MuiDialog`,slot:`Root`})({"@media print":{position:`absolute !important`}}),rm=q(`div`,{name:`MuiDialog`,slot:`Container`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${_(n.scroll)}`]]}})({height:`100%`,"@media print":{height:`auto`},outline:0,variants:[{props:{scroll:`paper`},style:{display:`flex`,justifyContent:`center`,alignItems:`center`}},{props:{scroll:`body`},style:{overflowY:`auto`,overflowX:`hidden`,textAlign:`center`,"&::after":{content:`""`,display:`inline-block`,verticalAlign:`middle`,height:`100%`,width:`0`}}}]}),im=q(mu,{name:`MuiDialog`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`scrollPaper${_(n.scroll)}`],t[`paperWidth${_(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(J(({theme:e})=>({margin:32,position:`relative`,overflowY:`auto`,"@media print":{overflowY:`visible`,boxShadow:`none`},variants:[{props:{scroll:`paper`},style:{display:`flex`,flexDirection:`column`,maxHeight:`calc(100% - 64px)`}},{props:{scroll:`body`},style:{display:`inline-block`,verticalAlign:`middle`,textAlign:`initial`}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:`calc(100% - 64px)`}},{props:{maxWidth:`xs`},style:{maxWidth:e.breakpoints.unit===`px`?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Qp.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:`calc(100% - 64px)`}}}},...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${Qp.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:`calc(100% - 64px)`}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:`calc(100% - 64px)`}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:`100%`,maxWidth:`100%`,height:`100%`,maxHeight:`none`,borderRadius:0,[`&.${Qp.paperScrollBody}`]:{margin:0,maxWidth:`100%`}}}]}))),am=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDialog`}),r=Ko(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":o,"aria-modal":c=!0,BackdropComponent:l,BackdropProps:u,children:d,className:f,disableEscapeKeyDown:p=!1,fullScreen:m=!1,fullWidth:h=!1,maxWidth:g=`sm`,onClick:_,onClose:v,open:y,PaperComponent:b=mu,PaperProps:x={},scroll:S=`paper`,slots:C={},slotProps:T={},TransitionComponent:E=mf,transitionDuration:D=i,TransitionProps:O,...k}=n,A={...n,disableEscapeKeyDown:p,fullScreen:m,fullWidth:h,maxWidth:g,scroll:S},j=tm(A),M=s.useRef(),N=e=>{M.current=e.target===e.currentTarget},P=e=>{_&&_(e),M.current&&(M.current=null,v&&v(e,`backdropClick`))},F=Mi(o),I=s.useMemo(()=>({titleId:F}),[F]),L={slots:{transition:E,...C},slotProps:{transition:O,paper:x,backdrop:u,...T}},[R,z]=Z(`root`,{elementType:nm,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:A,className:w(j.root,f),ref:t}),[B,V]=Z(`backdrop`,{elementType:em,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:A}),[ee,te]=Z(`paper`,{elementType:im,shouldForwardComponentProp:!0,externalForwardedProps:L,ownerState:A,className:w(j.paper,x.className)}),[ne,re]=Z(`container`,{elementType:rm,externalForwardedProps:L,ownerState:A,className:j.container}),[ie,ae]=Z(`transition`,{elementType:mf,externalForwardedProps:L,ownerState:A,additionalProps:{appear:!0,in:y,timeout:D,role:`presentation`}});return(0,U.jsx)(R,{closeAfterTransition:!0,slots:{backdrop:B},slotProps:{backdrop:{transitionDuration:D,as:l,...V}},disableEscapeKeyDown:p,onClose:v,open:y,onClick:P,...z,...k,children:(0,U.jsx)(ie,{...ae,children:(0,U.jsx)(ne,{onMouseDown:N,...re,children:(0,U.jsx)(ee,{as:b,elevation:24,role:`dialog`,"aria-describedby":a,"aria-labelledby":F,"aria-modal":c,...te,children:(0,U.jsx)($p.Provider,{value:I,children:d})})})})})});function om(e){return W(`MuiDialogActions`,e)}G(`MuiDialogActions`,[`root`,`spacing`]);var sm=e=>{let{classes:t,disableSpacing:n}=e;return T({root:[`root`,!n&&`spacing`]},om,t)},cm=q(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),lm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...a}=n,o={...n,disableSpacing:i},s=sm(o);return(0,U.jsx)(cm,{className:w(s.root,r),ownerState:o,ref:t,...a})});function um(e){return W(`MuiDialogContent`,e)}G(`MuiDialogContent`,[`root`,`dividers`]);function dm(e){return W(`MuiDialogTitle`,e)}var fm=G(`MuiDialogTitle`,[`root`]),pm=e=>{let{classes:t,dividers:n}=e;
140return T({root:[`root`,n&&`dividers`]},um,t)},mm=q(`div`,{name:`MuiDialogContent`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(J(({theme:e})=>({flex:`1 1 auto`,WebkitOverflowScrolling:`touch`,overflowY:`auto`,padding:`20px 24px`,variants:[{props:({ownerState:e})=>e.dividers,style:{padding:`16px 24px`,borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${fm.root} + &`]:{paddingTop:0}}}]}))),hm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDialogContent`}),{className:r,dividers:i=!1,...a}=n,o={...n,dividers:i},s=pm(o);return(0,U.jsx)(mm,{className:w(s.root,r),ownerState:o,ref:t,...a})}),gm=e=>{let{classes:t}=e;return T({root:[`root`]},dm,t)},_m=q(Sd,{name:`MuiDialogTitle`,slot:`Root`})({padding:`16px 24px`,flex:`0 0 auto`}),vm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...a}=n,o=n,c=gm(o),{titleId:l=i}=s.useContext($p);return(0,U.jsx)(_m,{component:`h2`,className:w(c.root,r),ownerState:o,ref:t,variant:`h6`,id:i??l,...a})});function ym(e){return W(`MuiDivider`,e)}var bm=G(`MuiDivider`,[`root`,`absolute`,`fullWidth`,`inset`,`middle`,`flexItem`,`light`,`vertical`,`withChildren`,`withChildrenVertical`,`textAlignRight`,`textAlignLeft`,`wrapper`,`wrapperVertical`]),xm=e=>{let{absolute:t,children:n,classes:r,flexItem:i,light:a,orientation:o,textAlign:s,variant:c}=e;return T({root:[`root`,t&&`absolute`,c,a&&`light`,o===`vertical`&&`vertical`,i&&`flexItem`,n&&`withChildren`,n&&o===`vertical`&&`withChildrenVertical`,s===`right`&&o!==`vertical`&&`textAlignRight`,s===`left`&&o!==`vertical`&&`textAlignLeft`],wrapper:[`wrapper`,o===`vertical`&&`wrapperVertical`]},ym,r)},Sm=q(`div`,{name:`MuiDivider`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation===`vertical`&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation===`vertical`&&t.withChildrenVertical,n.textAlign===`right`&&n.orientation!==`vertical`&&t.textAlignRight,n.textAlign===`left`&&n.orientation!==`vertical`&&t.textAlignLeft]}})(J(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:`solid`,borderColor:(e.vars||e).palette.divider,borderBottomWidth:`thin`,variants:[{props:{absolute:!0},style:{position:`absolute`,bottom:0,left:0,width:`100%`}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:`inset`},style:{marginLeft:72}},{props:{variant:`middle`,orientation:`horizontal`},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:`middle`,orientation:`vertical`},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:`vertical`},style:{height:`100%`,borderBottomWidth:0,borderRightWidth:`thin`}},{props:{flexItem:!0},style:{alignSelf:`stretch`,height:`auto`}},{props:({ownerState:e})=>!!e.children,style:{display:`flex`,textAlign:`center`,border:0,borderTopStyle:`solid`,borderLeftStyle:`solid`,"&::before, &::after":{content:`""`,alignSelf:`center`}}},{props:({ownerState:e})=>e.children&&e.orientation!==`vertical`,style:{"&::before, &::after":{width:`100%`,borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:`inherit`}}},{props:({ownerState:e})=>e.orientation===`vertical`&&e.children,style:{flexDirection:`column`,"&::before, &::after":{height:`100%`,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:`inherit`}}},{props:({ownerState:e})=>e.textAlign===`right`&&e.orientation!==`vertical`,style:{"&::before":{width:`90%`},"&::after":{width:`10%`}}},{props:({ownerState:e})=>e.textAlign===`left`&&e.orientation!==`vertical`,style:{"&::before":{width:`10%`},"&::after":{width:`90%`}}}]}))),Cm=q(`span`,{name:`MuiDivider`,slot:`Wrapper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.wrapper,n.orientation===`vertical`&&t.wrapperVertical]}})(J(({theme:e})=>({display:`inline-block`,paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:`nowrap`,variants:[{props:{orientation:`vertical`},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),wm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDivider`}
140),{absolute:r=!1,children:i,className:a,orientation:o=`horizontal`,component:s=i||o===`vertical`?`div`:`hr`,flexItem:c=!1,light:l=!1,role:u=s===`hr`?void 0:`separator`,textAlign:d=`center`,variant:f=`fullWidth`,...p}=n,m={...n,absolute:r,component:s,flexItem:c,light:l,orientation:o,role:u,textAlign:d,variant:f},h=xm(m);return(0,U.jsx)(Sm,{as:s,className:w(h.root,a),role:u,ref:t,ownerState:m,"aria-orientation":u===`separator`&&(s!==`hr`||o===`vertical`)?o:void 0,...p,children:i?(0,U.jsx)(Cm,{className:h.wrapper,ownerState:m,children:i}):null})});wm&&(wm.muiSkipListHighlight=!0);function Tm(e,t,n){let r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=cs(t),o;if(t.fakeTransform)o=t.fakeTransform;else{let e=a.getComputedStyle(t);o=e.getPropertyValue(`-webkit-transform`)||e.getPropertyValue(`transform`)}let s=0,c=0;if(o&&o!==`none`&&typeof o==`string`){let e=o.split(`(`)[1].split(`)`)[0].split(`,`);s=parseInt(e[4],10),c=parseInt(e[5],10)}return e===`left`?i?`translateX(${i.right+s-r.left}px)`:`translateX(${a.innerWidth+s-r.left}px)`:e===`right`?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:e===`up`?i?`translateY(${i.bottom+c-r.top}px)`:`translateY(${a.innerHeight+c-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-c}px)`:`translateY(-${r.top+r.height-c}px)`}function Em(e){return typeof e==`function`?e():e}function Dm(e,t,n){let r=Tm(e,t,Em(n));r&&(t.style.webkitTransform=r,t.style.transform=r)}var Om=s.forwardRef(function(e,t){let n=Ko(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:o=!0,children:c,container:l,direction:u=`down`,easing:d=r,in:f,onEnter:p,onEntered:m,onEntering:h,onExit:g,onExited:_,onExiting:v,style:y,timeout:b=i,TransitionComponent:x=Pl,...S}=e,C=s.useRef(null),w=_s(Od(c),C,t),T=e=>t=>{e&&(t===void 0?e(C.current):e(C.current,t))},E=T((e,t)=>{Dm(u,e,l),Zl(e),p&&p(e,t)}),D=T((e,t)=>{let r=Ql({timeout:b,style:y,easing:d},{mode:`enter`});e.style.webkitTransition=n.transitions.create(`-webkit-transform`,{...r}),e.style.transition=n.transitions.create(`transform`,{...r}),e.style.webkitTransform=`none`,e.style.transform=`none`,h&&h(e,t)}),O=T(m),k=T(v),A=T(e=>{let t=Ql({timeout:b,style:y,easing:d},{mode:`exit`});e.style.webkitTransition=n.transitions.create(`-webkit-transform`,t),e.style.transition=n.transitions.create(`transform`,t),Dm(u,e,l),g&&g(e)}),j=T(e=>{e.style.webkitTransition=``,e.style.transition=``,_&&_(e)}),M=e=>{a&&a(C.current,e)},N=s.useCallback(()=>{C.current&&Dm(u,C.current,l)},[u,l]);return s.useEffect(()=>{if(f||u===`down`||u===`right`)return;let e=rs(()=>{C.current&&Dm(u,C.current,l)}),t=cs(C.current);return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[u,f,l]),s.useEffect(()=>{f||N()},[f,N]),(0,U.jsx)(x,{nodeRef:C,onEnter:E,onEntered:O,onEntering:D,onExit:A,onExited:j,onExiting:k,addEndListener:M,appear:o,in:f,timeout:b,...S,children:(e,{ownerState:t,...n})=>s.cloneElement(c,{ref:w,style:{visibility:e===`exited`&&!f?`hidden`:void 0,...y,...c.props.style},...n})})});function km(e){return W(`MuiDrawer`,e)}G(`MuiDrawer`,[`root`,`docked`,`paper`,`anchorLeft`,`anchorRight`,`anchorTop`,`anchorBottom`,`paperAnchorLeft`,`paperAnchorRight`,`paperAnchorTop`,`paperAnchorBottom`,`paperAnchorDockedLeft`,`paperAnchorDockedRight`,`paperAnchorDockedTop`,`paperAnchorDockedBottom`,`modal`]);var Am=(e,t)=>{let{ownerState:n}=e;return[t.root,(n.variant===`permanent`||n.variant===`persistent`)&&t.docked,t.modal]},jm=e=>{let{classes:t,anchor:n,variant:r}=e;return T({root:[`root`,`anchor${_(n)}`],docked:[(r===`permanent`||r===`persistent`)&&`docked`],modal:[`modal`],paper:[`paper`,`paperAnchor${_(n)}`,r!==`temporary`&&`paperAnchorDocked${_(n)}`]},km,t)},Mm=q(Xp,{name:`MuiDrawer`,slot:`Root`,overridesResolver:Am})(J(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Nm=q(`div`,{shouldForwardProp:Yo,name:`MuiDrawer`,slot:`Docked`,skipVariantsResolver:!1,overridesResolver:Am})({flex:`0 0 auto`}),Pm=q(mu,{name:`MuiDrawer`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`paperAnchor${_(n.anchor)}`],n.variant!==`temporary`&&t[`paperAnchorDocked${_(n.anchor)}`]]}})(J(({theme:e})=>
140({overflowY:`auto`,display:`flex`,flexDirection:`column`,height:`100%`,flex:`1 0 auto`,zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:`touch`,position:`fixed`,top:0,outline:0,variants:[{props:{anchor:`left`},style:{left:0}},{props:{anchor:`top`},style:{top:0,left:0,right:0,height:`auto`,maxHeight:`100%`}},{props:{anchor:`right`},style:{right:0}},{props:{anchor:`bottom`},style:{top:`auto`,left:0,bottom:0,right:0,height:`auto`,maxHeight:`100%`}},{props:({ownerState:e})=>e.anchor===`left`&&e.variant!==`temporary`,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>e.anchor===`top`&&e.variant!==`temporary`,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>e.anchor===`right`&&e.variant!==`temporary`,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>e.anchor===`bottom`&&e.variant!==`temporary`,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),Fm={left:`right`,right:`left`,top:`down`,bottom:`up`};function Im(e){return[`left`,`right`].includes(e)}function Lm({direction:e},t){return e===`rtl`&&Im(t)?Fm[t]:t}var Rm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiDrawer`}),r=Ko(),i=wi(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:o=`left`,BackdropProps:c,children:l,className:u,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:p,...m}={},onClose:h,open:g=!1,PaperProps:_={},SlideProps:v,TransitionComponent:y,transitionDuration:b=a,variant:x=`temporary`,slots:S={},slotProps:C={},...T}=n,E=s.useRef(!1);s.useEffect(()=>{E.current=!0},[]);let D=Lm({direction:i?`rtl`:`ltr`},o),O=o,k={...n,anchor:O,elevation:d,open:g,variant:x,...T},A=jm(k),j={slots:{transition:y,...S},slotProps:{paper:_,transition:v,...C,backdrop:ys(C.backdrop||{...c,...p},{transitionDuration:b})}},[M,N]=Z(`root`,{ref:t,elementType:Mm,className:w(A.root,A.modal,u),shouldForwardComponentProp:!0,ownerState:k,externalForwardedProps:{...j,...T,...m},additionalProps:{open:g,onClose:h,hideBackdrop:f,slots:{backdrop:j.slots.backdrop},slotProps:{backdrop:j.slotProps.backdrop}}}),[P,F]=Z(`paper`,{elementType:Pm,shouldForwardComponentProp:!0,className:w(A.paper,_.className),ownerState:k,externalForwardedProps:j,additionalProps:{elevation:x===`temporary`?d:0,square:!0,...x===`temporary`&&{role:`dialog`,"aria-modal":`true`}}}),[I,L]=Z(`docked`,{elementType:Nm,ref:t,className:w(A.root,A.docked,u),ownerState:k,externalForwardedProps:j,additionalProps:T}),[R,z]=Z(`transition`,{elementType:Om,ownerState:k,externalForwardedProps:j,additionalProps:{in:g,direction:Fm[D],timeout:b,appear:E.current}}),B=(0,U.jsx)(P,{...F,children:l});if(x===`permanent`)return(0,U.jsx)(I,{...L,children:B});let V=(0,U.jsx)(R,{...z,children:B});return x===`persistent`?(0,U.jsx)(I,{...L,children:V}):(0,U.jsx)(M,{...N,children:V})}),zm=e=>{let{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:a,hiddenLabel:o,multiline:s}=e,c=T({root:[`root`,!n&&`underline`,r&&`adornedStart`,i&&`adornedEnd`,a===`small`&&`size${_(a)}`,o&&`hiddenLabel`,s&&`multiline`],input:[`input`]},uf,t);return{...t,...c}},Bm=q(tf,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiFilledInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...Qd(e,t),!n.disableUnderline&&t.underline]}})(J(({theme:e})=>{let t=e.palette.mode===`light`,n=t?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`,r=t?`rgba(0, 0, 0, 0.06)`:`rgba(255, 255, 255, 0.09)`,i=t?`rgba(0, 0, 0, 0.09)`:`rgba(255, 255, 255, 0.13)`,a=t?`rgba(0, 0, 0, 0.12)`:`rgba(255, 255, 255, 0.12)`;return{position:`relative`,backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${df.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${df.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,transition:e.transitions.create(`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${df.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${df.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackgroun
140d,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:`"\\00a0"`,position:`absolute`,right:0,transition:e.transitions.create(`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${df.disabled}, .${df.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${df.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:`25px 12px 8px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}}]}})),Vm=q(nf,{name:`MuiFilledInput`,slot:`Input`,overridesResolver:$d})(J(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`,borderTopLeftRadius:`inherit`,borderTopRightRadius:`inherit`}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:`inherit`,borderTopRightRadius:`inherit`},[e.getColorSchemeSelector(`dark`)]:{"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`}}},variants:[{props:{size:`small`},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size===`small`,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Hm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFilledInput`}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:o=!1,hiddenLabel:s,inputComponent:c=`input`,multiline:l=!1,slotProps:u,slots:d={},type:f=`text`,...p}=n,m={...n,disableUnderline:r,fullWidth:o,inputComponent:c,multiline:l,type:f},h=zm(n),g={root:{ownerState:m},input:{ownerState:m}},_=u??a?j(g,u??a):g,v=d.root??i.Root??Bm,y=d.input??i.Input??Vm;return(0,U.jsx)(af,{slots:{root:v,input:y},slotProps:_,fullWidth:o,inputComponent:c,multiline:l,ref:t,type:f,...p,classes:h})});Hm.muiName=`Input`;function Um(e){return W(`MuiFormControl`,e)}G(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var Wm=e=>{let{classes:t,margin:n,fullWidth:r}=e;return T({root:[`root`,n!==`none`&&`margin${_(n)}`,r&&`fullWidth`]},Um,t)},Gm=q(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${_(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),Km=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:c=!1,error:l=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:p=`none`,required:m=!1,size:h=`medium`,variant:g=`outlined`,..._}=n,v={...n,color:a,component:o,disabled:c,error:l,fullWidth:d,hiddenLabel:f,margin:p,required:m,size:h,variant:g},y=Wm(v),[b,x]=s.useState(()=>{let e=!1;return r&&s.Children.forEach(r,t=>{if(!is(t,[`Input`,`Select`]))return;let n=is(t,[`Select`])?t.props.input:t;n&&Jd(n.props)&&(e=!0)}),e}),[S,C]=s.useState(()=>{let e=!1;
140return r&&s.Children.forEach(r,t=>{is(t,[`Input`,`Select`])&&(qd(t.props,!0)||qd(t.props.inputProps,!0))&&(e=!0)}),e}),[T,E]=s.useState(!1);c&&T&&E(!1);let D=u!==void 0&&!c?u:T,O;s.useRef(!1);let k=s.useCallback(()=>{C(!0)},[]),A=s.useCallback(()=>{C(!1)},[]),j=s.useMemo(()=>({adornedStart:b,setAdornedStart:x,color:a,disabled:c,error:l,filled:S,focused:D,fullWidth:d,hiddenLabel:f,size:h,onBlur:()=>{E(!1)},onFocus:()=>{E(!0)},onEmpty:A,onFilled:k,registerEffect:O,required:m,variant:g}),[b,a,c,l,S,D,d,f,O,A,k,m,h,g]);return(0,U.jsx)(Wd.Provider,{value:j,children:(0,U.jsx)(Gm,{as:o,ownerState:v,className:w(y.root,i),ref:t,..._,children:r})})});function qm(e){return W(`MuiFormControlLabel`,e)}var Jm=G(`MuiFormControlLabel`,[`root`,`labelPlacementStart`,`labelPlacementTop`,`labelPlacementBottom`,`disabled`,`label`,`error`,`required`,`asterisk`]),Ym=e=>{let{classes:t,disabled:n,labelPlacement:r,error:i,required:a}=e;return T({root:[`root`,n&&`disabled`,`labelPlacement${_(r)}`,i&&`error`,a&&`required`],label:[`label`,n&&`disabled`],asterisk:[`asterisk`,i&&`error`]},qm,t)},Xm=q(`label`,{name:`MuiFormControlLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Jm.label}`]:t.label},t.root,t[`labelPlacement${_(n.labelPlacement)}`]]}})(J(({theme:e})=>({display:`inline-flex`,alignItems:`center`,cursor:`pointer`,verticalAlign:`middle`,WebkitTapHighlightColor:`transparent`,marginLeft:-11,marginRight:16,[`&.${Jm.disabled}`]:{cursor:`default`},[`& .${Jm.label}`]:{[`&.${Jm.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:`start`},style:{flexDirection:`row-reverse`,marginRight:-11}},{props:{labelPlacement:`top`},style:{flexDirection:`column-reverse`}},{props:{labelPlacement:`bottom`},style:{flexDirection:`column`}},{props:({labelPlacement:e})=>e===`start`||e===`top`||e===`bottom`,style:{marginLeft:16}}]}))),Zm=q(`span`,{name:`MuiFormControlLabel`,slot:`Asterisk`})(J(({theme:e})=>({[`&.${Jm.error}`]:{color:(e.vars||e).palette.error.main}}))),Qm=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFormControlLabel`}),{checked:r,className:i,componentsProps:a={},control:o,disabled:c,disableTypography:l,inputRef:u,label:d,labelPlacement:f=`end`,name:p,onChange:m,required:h,slots:g={},slotProps:_={},value:v,...y}=n,b=Gd(),x=c??o.props.disabled??b?.disabled,S=h??o.props.required,C={disabled:x,required:S};[`checked`,`name`,`onChange`,`value`,`inputRef`].forEach(e=>{o.props[e]===void 0&&n[e]!==void 0&&(C[e]=n[e])});let T=Ud({props:n,muiFormControl:b,states:[`error`]}),E={...n,disabled:x,labelPlacement:f,required:S,error:T.error},D=Ym(E),[O,k]=Z(`typography`,{elementType:Sd,externalForwardedProps:{slots:g,slotProps:{...a,..._}},ownerState:E}),A=d;return A!=null&&A.type!==Sd&&!l&&(A=(0,U.jsx)(O,{component:`span`,...k,className:w(D.label,k?.className),children:A})),(0,U.jsxs)(Xm,{className:w(D.root,i),ownerState:E,ref:t,...y,children:[s.cloneElement(o,C),S?(0,U.jsxs)(`div`,{children:[A,(0,U.jsxs)(Zm,{ownerState:E,"aria-hidden":!0,className:D.asterisk,children:[` `,`*`]})]}):A]})});function $m(e){return W(`MuiFormGroup`,e)}G(`MuiFormGroup`,[`root`,`row`,`error`]);var eh=e=>{let{classes:t,row:n,error:r}=e;return T({root:[`root`,n&&`row`,r&&`error`]},$m,t)},th=q(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]}),nh=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFormGroup`}),{className:r,row:i=!1,...a}=n,o=Ud({props:n,muiFormControl:Gd(),states:[`error`]}),s={...n,row:i,error:o.error},c=eh(s);return(0,U.jsx)(th,{className:w(c.root,r),ownerState:s,ref:t,...a})});function rh(e){return W(`MuiFormHelperText`,e)}var ih=G(`MuiFormHelperText`,[`root`,`error`,`disabled`,`sizeSmall`,`sizeMedium`,`contained`,`focused`,`filled`,`required`]),ah,oh=e=>{let{classes:t,contained:n,size:r,disabled:i,error:a,filled:o,focused:s,required:c}=e;return T({root:[`root`,i&&`disabled`,a&&`error`,r&&`size${_(r)}`,n&&`contained`,s&&`focused`,o&&`filled`,c&&`required`]},rh,t)},sh=q(`p`,{name:`MuiFormHelperText`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size&&t[`size${_(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(J(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:`left`,marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${ih.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ih.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:`small`},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),ch=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFormHelperText`}),{children:r,className:i,component:a=`p`,disabled:o,error:s,filled:c,focused:l,margin:u,required:d,variant:f,...p}=n,m=Ud({props:n,muiFormControl:Gd(),states:[`variant`,`size`,`disabled`,`error`,`filled`,`focused`,`required`]}),h={...n,component:a,contained:m.variant===`filled`||m.variant===`outlined`,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete h.ownerState;let g=oh(h);return(0,U.jsx)(sh,{as:a,className:w(g.root,i),ref:t,...p,ownerState:h,children:r===` `?ah||=(0,U.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,
140children:`​`}):r})});function lh(e){return W(`MuiFormLabel`,e)}var uh=G(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),dh=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return T({root:[`root`,`color${_(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},lh,t)},fh=q(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(J(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{[`&.${uh.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${uh.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${uh.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),ph=q(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(J(({theme:e})=>({[`&.${uh.error}`]:{color:(e.vars||e).palette.error.main}}))),mh=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Ud({props:n,muiFormControl:Gd(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=dh(m);return(0,U.jsxs)(fh,{as:o,ownerState:m,className:w(h.root,i),ref:t,...f,children:[r,p.required&&(0,U.jsxs)(ph,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})}),hh=Ea({createStyledComponent:q(`div`,{name:`MuiGrid`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.container&&t.container]}}),componentName:`MuiGrid`,useThemeProps:e=>Y({props:e,name:`MuiGrid`}),useTheme:Ko});function gh(e){return`scale(${e}, ${e**2})`}var _h={entering:{opacity:1,transform:gh(1)},entered:{opacity:1,transform:`none`}},vh=typeof navigator<`u`&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),yh=s.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:c,onEntered:l,onEntering:u,onExit:d,onExited:f,onExiting:p,style:m,timeout:h=`auto`,TransitionComponent:g=Pl,..._}=e,v=Xl(),y=s.useRef(),b=Ko(),x=s.useRef(null),S=_s(x,Od(i),t),C=e=>t=>{if(e){let n=x.current;t===void 0?e(n):e(n,t)}},w=C(u),T=C((e,t)=>{Zl(e);let{duration:n,delay:r,easing:i}=Ql({style:m,timeout:h,easing:a},{mode:`enter`}),o;h===`auto`?(o=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=o):o=n,e.style.transition=[b.transitions.create(`opacity`,{duration:o,delay:r}),b.transitions.create(`transform`,{duration:vh?o:o*.666,delay:r,easing:i})].join(`,`),c&&c(e,t)}),E=C(l),D=C(p),O=C(e=>{let{duration:t,delay:n,easing:r}=Ql({style:m,timeout:h,easing:a},{mode:`exit`}),i;h===`auto`?(i=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=i):i=t,e.style.transition=[b.transitions.create(`opacity`,{duration:i,delay:n}),b.transitions.create(`transform`,{duration:vh?i:i*.666,delay:vh?n:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=gh(.75),d&&d(e)}),k=C(f);return(0,U.jsx)(g,{appear:r,in:o,nodeRef:x,onEnter:T,onEntered:E,onEntering:w,onExit:O,onExited:k,onExiting:D,addEndListener:e=>{h===`auto`&&v.start(y.current||0,e),n&&n(x.current,e)},timeout:h===`auto`?null:h,..._,children:(e,{ownerState:t,...n})=>s.cloneElement(i,{style:{opacity:0,transform:gh(.75),visibility:e===`exited`&&!o?`hidden`:void 0,..._h[e],...m,...i.props.style},ref:S,...n})})});yh&&(yh.muiSupportAuto=!0);var bh=e=>{let{classes:t,disableUnderline:n}=e,r=T({root:[`root`,!n&&`underline`],input:[`input`]},of,t);return{...t,...r}},xh=q(tf,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiInput`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[...Qd(e,t),!n.disableUnderline&&t.underline]}})(J(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.42)`:`rgba(255, 255, 255, 0.7)`;
140return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:`relative`,variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:`""`,position:`absolute`,right:0,transform:`scaleX(0)`,transition:e.transitions.create(`transform`,{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:`none`},[`&.${sf.focused}:after`]:{transform:`scaleX(1) translateX(0)`},[`&.${sf.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:`"\\00a0"`,position:`absolute`,right:0,transition:e.transitions.create(`border-bottom-color`,{duration:e.transitions.duration.shorter}),pointerEvents:`none`},[`&:hover:not(.${sf.disabled}, .${sf.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${sf.disabled}:before`]:{borderBottomStyle:`dotted`}}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Sh=q(nf,{name:`MuiInput`,slot:`Input`,overridesResolver:$d})({}),Ch=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiInput`}),{disableUnderline:r=!1,components:i={},componentsProps:a,fullWidth:o=!1,inputComponent:s=`input`,multiline:c=!1,slotProps:l,slots:u={},type:d=`text`,...f}=n,p=bh(n),m={root:{ownerState:{disableUnderline:r}}},h=l??a?j(l??a,m):m,g=u.root??i.Root??xh,_=u.input??i.Input??Sh;return(0,U.jsx)(af,{slots:{root:g,input:_},slotProps:h,fullWidth:o,inputComponent:s,multiline:c,ref:t,type:d,...f,classes:p})});Ch.muiName=`Input`;function wh(e){return W(`MuiInputAdornment`,e)}var Th=G(`MuiInputAdornment`,[`root`,`filled`,`standard`,`outlined`,`positionStart`,`positionEnd`,`disablePointerEvents`,`hiddenLabel`,`sizeSmall`]),Eh,Dh=(e,t)=>{let{ownerState:n}=e;return[t.root,t[`position${_(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Oh=e=>{let{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:a,variant:o}=e;return T({root:[`root`,n&&`disablePointerEvents`,i&&`position${_(i)}`,o,r&&`hiddenLabel`,a&&`size${_(a)}`]},wh,t)},kh=q(`div`,{name:`MuiInputAdornment`,slot:`Root`,overridesResolver:Dh})(J(({theme:e})=>({display:`flex`,maxHeight:`2em`,alignItems:`center`,whiteSpace:`nowrap`,color:(e.vars||e).palette.action.active,variants:[{props:{variant:`filled`},style:{[`&.${Th.positionStart}&:not(.${Th.hiddenLabel})`]:{marginTop:16}}},{props:{position:`start`},style:{marginRight:8}},{props:{position:`end`},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:`none`}}]}))),Ah=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiInputAdornment`}),{children:r,className:i,component:a=`div`,disablePointerEvents:o=!1,disableTypography:c=!1,position:l,variant:u,...d}=n,f=Gd()||{},p=u;u&&f.variant,f&&!p&&(p=f.variant);let m={...n,hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:o,position:l,variant:p},h=Oh(m);return(0,U.jsx)(Wd.Provider,{value:null,children:(0,U.jsx)(kh,{as:a,ownerState:m,className:w(h.root,i),ref:t,...d,children:typeof r==`string`&&!c?(0,U.jsx)(Sd,{color:`textSecondary`,children:r}):(0,U.jsxs)(s.Fragment,{children:[l===`start`?Eh||=(0,U.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`}):null,r]})})})});function jh(e){return W(`MuiInputLabel`,e)}G(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var Mh=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=T({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${_(r)}`,o],asterisk:[s&&`asterisk`]},jh,t);return{...t,...c}},Nh=q(mh,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${uh.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focu
140sed,t[n.variant]]}})(J(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),Ph=s.forwardRef(function(e,t){let n=Y({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Gd(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Ud({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=Mh(f);return(0,U.jsx)(Nh,{"data-shrink":u,ref:t,className:w(p.root,s),...c,ownerState:f,classes:p})});function Fh(e){return W(`MuiLink`,e)}var Ih=G(`MuiLink`,[`root`,`underlineNone`,`underlineHover`,`underlineAlways`,`button`,`focusVisible`]),Lh=({theme:e,ownerState:t})=>{let n=t.color;if(`colorSpace`in e&&e.colorSpace){let r=ie(e,`palette.${n}.main`)||ie(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}let r=ie(e,`palette.${n}.main`,!1)||ie(e,`palette.${n}`,!1)||t.color,i=ie(e,`palette.${n}.mainChannel`)||ie(e,`palette.${n}Channel`);return`vars`in e&&i?`rgba(${i} / 0.4)`:li(r,.4)},Rh={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},zh=e=>{let{classes:t,component:n,focusVisible:r,underline:i}=e;return T({root:[`root`,`underline${_(i)}`,n===`button`&&`button`,r&&`focusVisible`]},Fh,t)},Bh=q(Sd,{name:`MuiLink`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`underline${_(n.underline)}`],n.component===`button`&&t.button]}})(J(({theme:e})=>({variants:[{props:{underline:`none`},style:{textDecoration:`none`}},{props:{underline:`hover`},style:{textDecoration:`none`,"&:hover":{textDecoration:`underline`}}},{props:{underline:`always`},style:{textDecoration:`underline`,"&:hover":{textDecorationColor:`inherit`}}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color!==`inherit`,style:{textDecorationColor:`var(--Link-underlineColor)`}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color===`inherit`,style:e.colorSpace?{textDecorationColor:e.alpha(`currentColor`,.4)}:null},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{underline:`always`,color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:`always`,color:`textPrimary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:`always`,color:`textSecondary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:`always`,color:`textDisabled`},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:`button`},style:{position:`relative`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${Ih.focusVisible}`]:{outline:`auto`}}}]}))),Vh=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiLink`}),r=Ko(),{className:i,color:a=`primary`,component:o=`a`,onBlur:c,onFocus:l,TypographyClasses:u,underline:d=`always`,variant:f=`inherit`,sx:p,...m}=n,[h,g]=s.useState(!1),_=e=>{hu(e.target)||g(!1),c&&c(e)},v=e=>{hu(e.target)&&g(!0),l&&l(e)},y={...n,color:a,component:o,focusVisible:h,underline:d,variant:f},b=zh(y);return(0,U.jsx)(Bh,{color:a,className:w(b.root,i),classes:u,component:o,onBlur:_,onFocus:v,ref:t,ownerState:y,variant:f,...m,sx:[...Rh[a]===void 0?[{color:a}]:[],...Array.isArray(p)?p:[p]],style:{...m.style,...d===`always`&&a!==`inherit`&&!Rh[a]&&{"--Link-underlineColor":Lh({theme:r,ownerState:y})}}})}
140),Hh=s.createContext({});function Uh(e){return W(`MuiList`,e)}G(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var Wh=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return T({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},Uh,t)},Gh=q(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Kh=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:c=!1,subheader:l,...u}=n,d=s.useMemo(()=>({dense:o}),[o]),f={...n,component:a,dense:o,disablePadding:c},p=Wh(f);return(0,U.jsx)(Hh.Provider,{value:d,children:(0,U.jsxs)(Gh,{as:a,className:w(p.root,i),ref:t,ownerState:f,...u,children:[l,r]})})});function qh(e){return W(`MuiListItemButton`,e)}var Jh=G(`MuiListItemButton`,[`root`,`focusVisible`,`dense`,`alignItemsFlexStart`,`disabled`,`divider`,`gutters`,`selected`]),Yh=(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems===`flex-start`&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Xh=e=>{let{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:a,divider:o,selected:s}=e,c=T({root:[`root`,r&&`dense`,!a&&`gutters`,o&&`divider`,i&&`disabled`,t===`flex-start`&&`alignItemsFlexStart`,s&&`selected`]},qh,n);return{...n,...c}},Zh=q(Mu,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiListItemButton`,slot:`Root`,overridesResolver:Yh})(J(({theme:e})=>({display:`flex`,flexGrow:1,justifyContent:`flex-start`,alignItems:`center`,position:`relative`,textDecoration:`none`,minWidth:0,boxSizing:`border-box`,textAlign:`left`,paddingTop:8,paddingBottom:8,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:`none`,backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${Jh.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Jh.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Jh.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Jh.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Jh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:`padding-box`}},{props:{alignItems:`flex-start`},style:{alignItems:`flex-start`}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),Qh=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiListItemButton`}),{alignItems:r=`center`,autoFocus:i=!1,component:a=`div`,children:o,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:d,selected:f=!1,className:p,...m}=n,h=s.useContext(Hh),g=s.useMemo(()=>({dense:c||h.dense||!1,alignItems:r,disableGutters:l}),[r,h.dense,c,l]),_=s.useRef(null);us(()=>{i&&_.current&&_.current.focus()},[i]);let v={...n,alignItems:r,dense:g.dense,disableGutters:l,divider:u,selected:f},y=Xh(v),b=_s(_,t);return(0,U.jsx)(Hh.Provider,{value:g,children:(0,U.jsx)(Zh,{ref:b,href:m.href||m.to,component:(m.href||m.to)&&a===`div`?`button`:a,focusVisibleClassName:w(y.focusVisible,d),ownerState:v,className:w(y.root,p),...m,classes:y,children:o})})});function $h(e){return W(`MuiListItemIcon`,e)}var eg=G(`MuiListItemIcon`,[`root`,`alignItemsFlexStart`]),tg=e=>{let{alignItems:t,classes:n}=e;return T({root:[`root`,t===`flex-start`&&`alignItemsFlexStart`]},$h,n)},ng=q(`div`,{name:`MuiListItemIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.alignItems===`flex-start`&&t.alignItemsFlexStart]}})(J(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:`inline-flex`,variants:[{props:{alignItems:`flex-start`},style:{marginTop:8}}]}))),rg=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiListItemIcon`}),{className:r,...i}=n,a=s.useContext(Hh),o={...n,alignItems:a.alignItems},c=tg(o);return(0,U.jsx)(ng,{className:w(c.root,r),ownerState:o,ref:t,...i})});function ig(e){return W(`MuiListItemText`,e)}var ag=G(`MuiListItemText`,[`root`,`multiline`,`dense`,`inset`,`primary`,`secondary`]),og=e=>{let{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;
140return T({root:[`root`,n&&`inset`,a&&`dense`,r&&i&&`multiline`],primary:[`primary`],secondary:[`secondary`]},ig,t)},sg=q(`div`,{name:`MuiListItemText`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${ag.primary}`]:t.primary},{[`& .${ag.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:`1 1 auto`,minWidth:0,marginTop:4,marginBottom:4,[`.${gd.root}:where(& .${ag.primary})`]:{display:`block`},[`.${gd.root}:where(& .${ag.secondary})`]:{display:`block`},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),cg=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiListItemText`}),{children:r,className:i,disableTypography:a=!1,inset:o=!1,primary:c,primaryTypographyProps:l,secondary:u,secondaryTypographyProps:d,slots:f={},slotProps:p={},...m}=n,{dense:h}=s.useContext(Hh),g=c??r,_=u,v={...n,disableTypography:a,inset:o,primary:!!g,secondary:!!_,dense:h},y=og(v),b={slots:f,slotProps:{primary:l,secondary:d,...p}},[x,S]=Z(`root`,{className:w(y.root,i),elementType:sg,externalForwardedProps:{...b,...m},ownerState:v,ref:t}),[C,T]=Z(`primary`,{className:y.primary,elementType:Sd,externalForwardedProps:b,ownerState:v}),[E,D]=Z(`secondary`,{className:y.secondary,elementType:Sd,externalForwardedProps:b,ownerState:v});return g!=null&&g.type!==Sd&&!a&&(g=(0,U.jsx)(C,{variant:h?`body2`:`body1`,component:T?.variant?void 0:`span`,...T,children:g})),_!=null&&_.type!==Sd&&!a&&(_=(0,U.jsx)(E,{variant:`body2`,color:`textSecondary`,...D,children:_})),(0,U.jsxs)(x,{...S,children:[g,_]})}),lg=wp;function ug(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function dg(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function fg(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function pg(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!fg(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var mg=s.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:c=!1,disableListWrap:l=!1,onKeyDown:u,variant:d=`selectedMenu`,...f}=e,p=s.useRef(null),m=s.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});us(()=>{r&&p.current.focus()},[r]),s.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){let n=`${lg(cs(e))}px`;p.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}}),[]);let h=e=>{let t=p.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){u&&u(e);return}let r=os(t).activeElement;if(n===`ArrowDown`)e.preventDefault(),pg(t,r,l,c,ug);else if(n===`ArrowUp`)e.preventDefault(),pg(t,r,l,c,dg);else if(n===`Home`)e.preventDefault(),pg(t,null,l,c,ug);else if(n===`End`)e.preventDefault(),pg(t,null,l,c,dg);else if(n.length===1){let i=m.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let s=r&&!i.repeating&&fg(r,i);i.previousKeyMatched&&(s||pg(t,r,!1,c,ug,i))?e.preventDefault():i.previousKeyMatched=!1}u&&u(e)},g=_s(p,t),_=-1;s.Children.forEach(a,(e,t)=>{if(!s.isValidElement(e)){_===t&&(_+=1,_>=a.length&&(_=-1));return}e.props.disabled||(d===`selectedMenu`&&e.props.selected||_===-1)&&(_=t),_===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(_+=1,_>=a.length&&(_=-1))});let v=s.Children.map(a,(e,t)=>{if(t===_){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&d===`selectedMenu`&&(t.tabIndex=0),s.cloneElement(e,t)}return e});return(0,U.jsx)(Kh,{role:`menu`,ref:g,className:o,onKeyDown:h,tabIndex:r?0:-1,...f,children:v})});function hg(e){return W(`MuiPopover`,e)}G(`MuiPopover`,[`root`,`paper`]);function gg(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function _g(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function vg(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function yg(e){return typeof e==`function`?e():e}var bg=e=>{let{classes:t}=e;return T({root:[`root`],paper:[`paper`]},hg,t)},xg=q(Xp,{name:`MuiPopover`,slot:`Root`})({}),Sg=q(mu,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),Cg=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`}
140,anchorPosition:o,anchorReference:c=`anchorEl`,children:l,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:h={},slots:g={},slotProps:_={},transformOrigin:v={vertical:`top`,horizontal:`left`},TransitionComponent:y,transitionDuration:b=`auto`,TransitionProps:x={},disableScrollLock:S=!1,...C}=n,T=s.useRef(),E={...n,anchorOrigin:a,anchorReference:c,elevation:f,marginThreshold:p,transformOrigin:v,TransitionComponent:y,transitionDuration:b,TransitionProps:x},D=bg(E),O=s.useCallback(()=>{if(c===`anchorPosition`)return o;let e=yg(i),t=(e&&e.nodeType===1?e:os(T.current).body).getBoundingClientRect();return{top:t.top+gg(t,a.vertical),left:t.left+_g(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,c]),k=s.useCallback(e=>({vertical:gg(e,v.vertical),horizontal:_g(e,v.horizontal)}),[v.horizontal,v.vertical]),A=s.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=k(t);if(c===`none`)return{top:null,left:null,transformOrigin:vg(n)};let r=O(),a=r.top-n.vertical,o=r.left-n.horizontal,s=a+t.height,l=o+t.width,u=cs(yg(i)),d=u.innerHeight-p,f=u.innerWidth-p;if(p!==null&&a<p){let e=a-p;a-=e,n.vertical+=e}else if(p!==null&&s>d){let e=s-d;a-=e,n.vertical+=e}if(p!==null&&o<p){let e=o-p;o-=e,n.horizontal+=e}else if(l>f){let e=l-f;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:vg(n)}},[i,c,O,k,p]),[j,M]=s.useState(m),N=s.useCallback(()=>{let e=T.current;if(!e)return;let t=A(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,M(!0)},[A]);s.useEffect(()=>(S&&window.addEventListener(`scroll`,N),()=>window.removeEventListener(`scroll`,N)),[i,S,N]);let P=()=>{N()},F=()=>{M(!1)};s.useEffect(()=>{m&&N()}),s.useImperativeHandle(r,()=>m?{updatePosition:()=>{N()}}:null,[m,N]),s.useEffect(()=>{if(!m)return;let e=rs(()=>{N()}),t=cs(yg(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,m,N]);let I=b,L={slots:{transition:y,...g},slotProps:{transition:x,paper:h,..._}},[R,z]=Z(`transition`,{elementType:yh,externalForwardedProps:L,ownerState:E,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),P()},onExited:t=>{e.onExited?.(t),F()}}),additionalProps:{appear:!0,in:m}});b===`auto`&&!R.muiSupportAuto&&(I=void 0);let B=d||(i?os(yg(i)).body:void 0),[V,{slots:ee,slotProps:te,...ne}]=Z(`root`,{ref:t,elementType:xg,externalForwardedProps:{...L,...C},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:g.backdrop},slotProps:{backdrop:ys(typeof _.backdrop==`function`?_.backdrop(E):_.backdrop,{invisible:!0})},container:B,open:m},ownerState:E,className:w(D.root,u)}),[re,ie]=Z(`paper`,{ref:T,className:D.paper,elementType:Sg,externalForwardedProps:L,shouldForwardComponentProp:!0,additionalProps:{elevation:f,style:j?void 0:{opacity:0}},ownerState:E});return(0,U.jsx)(V,{...ne,...!$l(V)&&{slots:ee,slotProps:te,disableScrollLock:S},children:(0,U.jsx)(R,{...z,timeout:I,children:(0,U.jsx)(re,{...ie,children:l})})})});function wg(e){return W(`MuiMenu`,e)}G(`MuiMenu`,[`root`,`paper`,`list`]);var Tg={vertical:`top`,horizontal:`right`},Eg={vertical:`top`,horizontal:`left`},Dg=e=>{let{classes:t}=e;return T({root:[`root`],paper:[`paper`],list:[`list`]},wg,t)},Og=q(Cg,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),kg=q(Sg,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),Ag=q(mg,{name:`MuiMenu`,slot:`List`})({outline:0}),jg=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:c={},onClose:l,open:u,PaperProps:d={},PopoverClasses:f,transitionDuration:p=`auto`,TransitionProps:{onEntering:m,...h}={},variant:g=`selectedMenu`,slots:_={},slotProps:v={},...y}=n,b=wi(),x={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:c,onEntering:m,PaperProps:d,transitionDuration:p,TransitionProps:h,variant:g},S=Dg(x),C=r&&!o&&u,T=s.useRef(null),E=(e,t)=>{T.current&&T.current.adjustStyleForScrollbar(e,{direction:b?`rtl`:`ltr`}),m&&m(e,t)},D=e=>{e.key===`Tab`&&(e.preventDefault(),l&&l(e,`tabKeyDown`))},O=-1;s.Children.map(i,(e,t)=>{s.isValidElement(e)&&(e.props.disabled||(g===`selectedMenu`&&e.props.selected||O===-1)&&(O=t))});let k={slots:_,slotProps:{list:c,transition:h,paper:d,...v}},A=Dd({elementType:_.root,externalSlotProps:v.root,ownerState:x,className:[S.root,a]}),[j,M]=Z(`paper`,{className:S.paper,elementType:kg,externalForwardedProps:k,shouldForwardComponentProp:!0,ownerState:x}),[N,P]=Z(`list`,{className:w(S.list,c.className),elementType:Ag,shouldForwardComponentProp:!0,externalForwardedProps:k,getSlotProps:e=>({...e,onKeyDown:t=>{D(t),e.onKeyDown?.(t)}}),ownerState:x}),F=typeof k.slotProps.transition==`function`?k.slotProps.transition(x):k.slotProps.transition;return(0,U.jsx)(Og,{onClose:l,anchorOrigin:{vertical:`bottom`,horizontal:b?`right`:`left`},transformOrigin:b?Tg:Eg,slots:{root:_.root,paper:j,backdrop:_.backdrop,..._.transition&&{transition:_.transition}},slotProps:{root:A,paper:M,backdrop:typeof v.backdrop==`function`?v.backdrop(x):v.backdrop,transition:{...F,onEntering:(...e)=>{E(...e),F?.onEntering?.(...e)}}},open:u,ref:t,transitionDuration:p,ownerState:x,...y,classes:f,children:(0,U.jsx)(N,{actions:T,autoFocus:r&&(O===-1||o),autoFocusItem:C,variant:g,...P,children:i})})});function Mg(e){return W(`MuiMenuItem`,e)}var Ng=G(`MuiMenuItem`,[`root`,`focusVisible`,`dense`,`disabled`,`divider`,`gutters`,`selected`]),Pg=(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Fg=e=>{let{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:o}
140=e,s=T({root:[`root`,n&&`dense`,t&&`disabled`,!i&&`gutters`,r&&`divider`,a&&`selected`]},Mg,o);return{...o,...s}},Ig=q(Mu,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiMenuItem`,slot:`Root`,overridesResolver:Pg})(J(({theme:e})=>({...e.typography.body1,display:`flex`,justifyContent:`flex-start`,alignItems:`center`,position:`relative`,textDecoration:`none`,minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:`border-box`,whiteSpace:`nowrap`,"&:hover":{textDecoration:`none`,backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${Ng.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Ng.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Ng.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Ng.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ng.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bm.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bm.inset}`]:{marginLeft:52},[`& .${ag.root}`]:{marginTop:0,marginBottom:0},[`& .${ag.inset}`]:{paddingLeft:36},[`& .${eg.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:`padding-box`}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up(`sm`)]:{minHeight:`auto`}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${eg.root} svg`]:{fontSize:`1.25rem`}}}]}))),Lg=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiMenuItem`}),{autoFocus:r=!1,component:i=`li`,dense:a=!1,divider:o=!1,disableGutters:c=!1,focusVisibleClassName:l,role:u=`menuitem`,tabIndex:d,className:f,...p}=n,m=s.useContext(Hh),h=s.useMemo(()=>({dense:a||m.dense||!1,disableGutters:c}),[m.dense,a,c]),g=s.useRef(null);us(()=>{r&&g.current&&g.current.focus()},[r]);let _={...n,dense:h.dense,divider:o,disableGutters:c},v=Fg(n),y=_s(g,t),b;return n.disabled||(b=d===void 0?-1:d),(0,U.jsx)(Hh.Provider,{value:h,children:(0,U.jsx)(Ig,{ref:y,role:u,tabIndex:b,component:i,focusVisibleClassName:w(v.focusVisible,l),className:w(v.root,f),...p,ownerState:_,classes:v})})});function Rg(e){return W(`MuiNativeSelect`,e)}var zg=G(`MuiNativeSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]),Bg=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return T({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,`icon${_(n)}`,a&&`iconOpen`,r&&`disabled`]},Rg,t)},Vg=q(`select`,{name:`MuiNativeSelect`})(({theme:e})=>({MozAppearance:`none`,WebkitAppearance:`none`,userSelect:`none`,borderRadius:0,cursor:`pointer`,"&:focus":{borderRadius:0},[`&.${zg.disabled}`]:{cursor:`default`},"&[multiple]":{height:`auto`},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!==`filled`&&e.variant!==`outlined`,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:`filled`},style:{"&&&":{paddingRight:32}}},{props:{variant:`outlined`},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Hg=q(Vg,{name:`MuiNativeSelect`,slot:`Select`,shouldForwardProp:Yo,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${zg.multiple}`]:t.multiple}]}})({}),Ug=q(`svg`,{name:`MuiNativeSelect`})(({theme:e})=>({position:`absolute`,right:0,top:`calc(50% - .5em)`,pointerEvents:`none`,color:(e.vars||e).palette.action.active,[`&.${zg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:`rotate(180deg)`}},{props:{variant:`filled`},style:{right:7}},{props:{variant:`outlined`},style:{right:7}}]})),Wg=q(Ug,{name:`MuiNativeSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_(n.variant)}`],n.open&&t.iconOpen]}})({}),Gg=s.forwardRef(function(e,t){let{className:n,disabled:r,error:i,IconComponent:a,inputRef:o,variant:c=`standard`,...l}=e,u={...e,disabled:r,variant:c,error:i},d=Bg(u);return(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(Hg,{ownerState:u,className:w(d.select,n),disabled:r,ref:o||t,...l}),e.multiple?null:(0,U.jsx)(Wg,{as:a,ownerState:u,className:d.icon})]})});function Kg(e){let{children:t,defer:n=!1,fallback:r=null}=e,[i,a]=s.useState(!1);return Jr(()=>{n||a(!0)},[n]),s.useEffect(()=>{n&&a(!0)},[n]),i?t:r}var qg,Jg=q(`fieldset`,{name:`MuiNotchedOutlined`,shouldForwardProp:Yo})({textAlign:`left`,position:`absolute`,bottom:0,right:0,top:-5,left:0,margin:0,padding:`0 8px`,pointerEvents:`none`,borderRadius:`inherit`,borderStyle:`solid`,borderWidth:1,overflow:`hidden`,minWidth:`0%`}),Yg=q(`legend`,{name:`MuiNotchedOutlined`,shouldForwardProp:Yo})(J(({theme:e})=>({float:`unset`,width:`auto`,overflow:`hidden`,variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:`11px`,transition:e.transitions.create(`width`,{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:`block`,padding:0,height:11,fontSize:`0.75em`,visibility:`hidden`,maxWidth:.01,transition:e.transitions.create(`max-width`,{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:`nowrap`,"& > span":{paddingLeft:5,paddingRight:5,display:`inline-block`,opacity:0,visibility:`visible`}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:`100%`,transition:e.transitions.create(`max-width`,{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Xg(e){let{children:t,classes:n,className:r,label:i,notched:a,...o}=e,s=i!=null&&i!==``,c={...e,notched:a,withLabel:s};
140return(0,U.jsx)(Jg,{"aria-hidden":!0,className:r,ownerState:c,...o,children:(0,U.jsx)(Yg,{ownerState:c,children:s?(0,U.jsx)(`span`,{children:i}):qg||=(0,U.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`})})})}var Zg=e=>{let{classes:t}=e,n=T({root:[`root`],notchedOutline:[`notchedOutline`],input:[`input`]},cf,t);return{...t,...n}},Qg=q(tf,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiOutlinedInput`,slot:`Root`,overridesResolver:Qd})(J(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{position:`relative`,borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lf.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lf.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${lf.focused} .${lf.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{[`&.${lf.focused} .${lf.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${lf.error} .${lf.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lf.disabled} .${lf.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:`16.5px 14px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{padding:`8.5px 14px`}}]}})),$g=q(Xg,{name:`MuiOutlinedInput`,slot:`NotchedOutline`})(J(({theme:e})=>{let t=e.palette.mode===`light`?`rgba(0, 0, 0, 0.23)`:`rgba(255, 255, 255, 0.23)`;return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),e_=q(nf,{name:`MuiOutlinedInput`,slot:`Input`,overridesResolver:$d})(J(({theme:e})=>({padding:`16.5px 14px`,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode===`light`?null:`0 0 0 100px #266798 inset`,WebkitTextFillColor:e.palette.mode===`light`?null:`#fff`,caretColor:e.palette.mode===`light`?null:`#fff`,borderRadius:`inherit`}},...e.vars&&{"&:-webkit-autofill":{borderRadius:`inherit`},[e.getColorSchemeSelector(`dark`)]:{"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 100px #266798 inset`,WebkitTextFillColor:`#fff`,caretColor:`#fff`}}},variants:[{props:{size:`small`},style:{padding:`8.5px 14px`}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),t_=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiOutlinedInput`}),{components:r={},fullWidth:i=!1,inputComponent:a=`input`,label:o,multiline:c=!1,notched:l,slots:u={},slotProps:d={},type:f=`text`,...p}=n,m=Zg(n),h=Gd(),g=Ud({props:n,muiFormControl:h,states:[`color`,`disabled`,`error`,`focused`,`hiddenLabel`,`size`,`required`]}),_={...n,color:g.color||`primary`,disabled:g.disabled,error:g.error,focused:g.focused,formControl:h,fullWidth:i,hiddenLabel:g.hiddenLabel,multiline:c,size:g.size,type:f},v=u.root??r.Root??Qg,y=u.input??r.Input??e_,[b,x]=Z(`notchedOutline`,{elementType:$g,className:m.notchedOutline,shouldForwardComponentProp:!0,ownerState:_,externalForwardedProps:{slots:u,slotProps:d},additionalProps:{label:o!=null&&o!==``&&g.required?(0,U.jsxs)(s.Fragment,{children:[o,` `,`*`]}):o}});return(0,U.jsx)(af,{slots:{root:v,input:y},slotProps:d,renderSuffix:e=>(0,U.jsx)(b,{...x,notched:l===void 0?!!(e.startAdornment||e.filled||e.focused):l}),fullWidth:i,inputComponent:a,multiline:c,ref:t,type:f,...p,classes:{...m,notchedOutline:null}})});t_.muiName=`Input`;var n_=X((0,U.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),r_=X((0,U.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`),i_=q(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:Yo})({position:`relative`,display:`flex`}),a_=q(n_,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),o_=q(r_,{name:`MuiRadioButtonIcon`})(J(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,transition:e.transitions.create(`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,transition:e.transitions.create(`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function s_(e){let{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,U.jsxs)(i_,{className:n.root,ownerState:i,children:[(0,U.jsx)(a_,{fontSize:r,className:n.background,ownerState:i}),(0,U.jsx)(o_,{fontSize:r,className:n.dot,ownerState:i})]})}var c_=s.createContext(void 0);function l_(){return s.useContext(c_)}function u_(e){return W(`MuiRadio`,e)}var d_=G(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]),f_=e=>{let{classes:t,color:n,size:r}=e,i={root:[`root`,`color${_(n)}`,r!==`medium`&&`size${_(r)}`]};return{...t,...T(i,u_,t)}}
140,p_=q(tp,{shouldForwardProp:e=>Yo(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${_(n.size)}`],t[`color${_(n.color)}`]]}})(J(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${d_.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${d_.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]})));function m_(e,t){return typeof t==`object`&&t?e===t:String(e)===String(t)}var h_=(0,U.jsx)(s_,{checked:!0}),g_=(0,U.jsx)(s_,{}),__=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiRadio`}),{checked:r,checkedIcon:i=h_,color:a=`primary`,icon:o=g_,name:c,onChange:l,size:u=`medium`,className:d,disabled:f,disableRipple:p=!1,slots:m={},slotProps:h={},inputProps:g,..._}=n,v=Gd(),b=f;v&&b===void 0&&(b=v.disabled),b??=!1;let x={...n,disabled:b,disableRipple:p,color:a,size:u},S=f_(x),C=l_(),T=r,E=y(l,C&&C.onChange),D=c;C&&(T===void 0&&(T=m_(C.value,n.value)),D===void 0&&(D=C.name));let O=h.input??g,[k,A]=Z(`root`,{ref:t,elementType:p_,className:w(S.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:h,..._},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),E(t,...n)}}),ownerState:x,additionalProps:{type:`radio`,icon:s.cloneElement(o,{fontSize:o.props.fontSize??u}),checkedIcon:s.cloneElement(i,{fontSize:i.props.fontSize??u}),disabled:b,name:D,checked:T,slots:m,slotProps:{input:typeof O==`function`?O(x):O}}});return(0,U.jsx)(k,{...A,classes:S})});function v_(e){return W(`MuiRadioGroup`,e)}G(`MuiRadioGroup`,[`root`,`row`,`error`]);var y_=e=>{let{classes:t,row:n,error:r}=e;return T({root:[`root`,n&&`row`,r&&`error`]},v_,t)},b_=s.forwardRef(function(e,t){let{actions:n,children:r,className:i,defaultValue:a,name:o,onChange:c,value:l,...u}=e,d=s.useRef(null),f=y_(e),[p,m]=ps({controlled:l,default:a,name:`RadioGroup`});s.useImperativeHandle(n,()=>({focus:()=>{let e=d.current.querySelector(`input:not(:disabled):checked`);e||=d.current.querySelector(`input:not(:disabled)`),e&&e.focus()}}),[]);let h=_s(t,d),g=ds(o),_=s.useMemo(()=>({name:g,onChange(e){m(e.target.value),c&&c(e,e.target.value)},value:p}),[g,c,m,p]);return(0,U.jsx)(c_.Provider,{value:_,children:(0,U.jsx)(nh,{role:`radiogroup`,ref:h,className:w(f.root,i),...u,children:r})})}),x_={border:0,clip:`rect(0 0 0 0)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:0,position:`absolute`,whiteSpace:`nowrap`,width:`1px`};function S_(e){return W(`MuiSelect`,e)}var C_=G(`MuiSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`focused`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]),w_,T_=q(Vg,{name:`MuiSelect`,slot:`Select`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`&.${C_.select}`]:t.select},{[`&.${C_.select}`]:t[n.variant]},{[`&.${C_.error}`]:t.error},{[`&.${C_.multiple}`]:t.multiple}]}})({[`&.${C_.select}`]:{height:`auto`,minHeight:`1.4375em`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,overflow:`hidden`}}),E_=q(Ug,{name:`MuiSelect`,slot:`Icon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_(n.variant)}`],n.open&&t.iconOpen]}})({}),D_=q(`input`,{shouldForwardProp:e=>Jo(e)&&e!==`classes`,name:`MuiSelect`,slot:`NativeInput`})({bottom:0,left:0,position:`absolute`,opacity:0,pointerEvents:`none`,width:`100%`,boxSizing:`border-box`});function O_(e,t){return typeof t==`object`&&t?e===t:String(e)===String(t)}function k_(e){return e==null||typeof e==`string`&&!e.trim()}var A_=e=>{let{classes:t,variant:n,disabled:r,multiple:i,open:a,error:o}=e;return T({select:[`select`,n,r&&`disabled`,i&&`multiple`,o&&`error`],icon:[`icon`,`icon${_(n)}`,a&&`iconOpen`,r&&`disabled`],nativeInput:[`nativeInput`]},S_,t)},j_=s.forwardRef(function(e,t){let{"aria-describedby":n,"aria-label":r,autoFocus:i,autoWidth:a,children:o,className:c,defaultOpen:l,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:g,labelId:_,MenuProps:v={},multiple:y,name:b,onBlur:x,onChange:S,onClose:C,onFocus:T,onOpen:E,open:D,readOnly:O,renderValue:k,required:A,SelectDisplayProps:j={},tabIndex:M,type:N,value:P,variant:F=`standard`,...I}
140=e,[L,R]=ps({controlled:P,default:u,name:`Select`}),[z,B]=ps({controlled:D,default:l,name:`Select`}),V=s.useRef(null),ee=s.useRef(null),[te,ne]=s.useState(null),{current:re}=s.useRef(D!=null),[ie,ae]=s.useState(),oe=_s(t,g),se=s.useCallback(e=>{ee.current=e,e&&ne(e)},[]),ce=te?.parentNode;s.useImperativeHandle(oe,()=>({focus:()=>{ee.current.focus()},node:V.current,value:L}),[L]),s.useEffect(()=>{l&&z&&te&&!re&&(ae(a?null:ce.clientWidth),ee.current.focus())},[te,a]),s.useEffect(()=>{i&&ee.current.focus()},[i]),s.useEffect(()=>{if(!_)return;let e=os(ee.current).getElementById(_);if(e){let t=()=>{getSelection().isCollapsed&&ee.current.focus()};return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}}},[_]);let le=(e,t)=>{e?E&&E(t):C&&C(t),re||(ae(a?null:ce.clientWidth),B(e))},ue=e=>{e.button===0&&(e.preventDefault(),ee.current.focus(),le(!0,e))},de=e=>{le(!1,e)},fe=s.Children.toArray(o),pe=e=>{let t=fe.find(t=>t.props.value===e.target.value);t!==void 0&&(R(t.props.value),S&&S(e,t))},me=e=>t=>{let n;if(t.currentTarget.hasAttribute(`tabindex`)){if(y){n=Array.isArray(L)?L.slice():[];let t=L.indexOf(e.props.value);t===-1?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),L!==n&&(R(n),S)){let r=t.nativeEvent||t,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:b}}),S(i,e)}y||le(!1,t)}},he=e=>{O||[` `,`ArrowUp`,`ArrowDown`,`Enter`].includes(e.key)&&(e.preventDefault(),le(!0,e))},ge=te!==null&&z,_e=e=>{!ge&&x&&(Object.defineProperty(e,"target",{writable:!0,value:{value:L,name:b}}),x(e))};delete I[`aria-invalid`];let ve,ye,H=[],be=!1;(qd({value:L})||f)&&(k?ve=k(L):be=!0);let xe=fe.map(e=>{if(!s.isValidElement(e))return null;let t;if(y){if(!Array.isArray(L))throw Error(h(2));t=L.some(t=>O_(t,e.props.value)),t&&be&&H.push(e.props.children)}else t=O_(L,e.props.value),t&&be&&(ye=e.props.children);return s.cloneElement(e,{"aria-selected":t?`true`:`false`,onClick:me(e),onKeyUp:t=>{t.key===` `&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:`option`,selected:t,value:void 0,"data-value":e.props.value})});be&&(ve=y?H.length===0?null:H.reduce((e,t,n)=>(e.push(t),n<H.length-1&&e.push(`, `),e),[]):ye);let Se=ie;!a&&re&&te&&(Se=ce.clientWidth);let Ce;Ce=M===void 0?d?null:0:M;let we=j.id||(b?`mui-component-select-${b}`:void 0),Te={...e,variant:F,value:L,open:ge,error:p},Ee=A_(Te),De={...v.PaperProps,...typeof v.slotProps?.paper==`function`?v.slotProps.paper(Te):v.slotProps?.paper},Oe={...v.MenuListProps,...typeof v.slotProps?.list==`function`?v.slotProps.list(Te):v.slotProps?.list},ke=Mi();return(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(T_,{as:`div`,ref:se,tabIndex:Ce,role:`combobox`,"aria-controls":ge?ke:void 0,"aria-disabled":d?`true`:void 0,"aria-expanded":ge?`true`:`false`,"aria-haspopup":`listbox`,"aria-label":r,"aria-labelledby":[_,we].filter(Boolean).join(` `)||void 0,"aria-describedby":n,"aria-required":A?`true`:void 0,"aria-invalid":p?`true`:void 0,onKeyDown:he,onMouseDown:d||O?null:ue,onBlur:_e,onFocus:T,...j,ownerState:Te,className:w(j.className,Ee.select,c),id:we,children:k_(ve)?w_||=(0,U.jsx)(`span`,{className:`notranslate`,"aria-hidden":!0,children:`​`}):ve}),(0,U.jsx)(D_,{"aria-invalid":p,value:Array.isArray(L)?L.join(`,`):L,name:b,ref:V,"aria-hidden":!0,onChange:pe,tabIndex:-1,disabled:d,className:Ee.nativeInput,autoFocus:i,required:A,...I,ownerState:Te}),(0,U.jsx)(E_,{as:m,className:Ee.icon,ownerState:Te}),(0,U.jsx)(jg,{id:`menu-${b||``}`,anchorEl:ce,open:ge,onClose:de,anchorOrigin:{vertical:`bottom`,horizontal:`center`},transformOrigin:{vertical:`top`,horizontal:`center`},...v,slotProps:{...v.slotProps,list:{"aria-labelledby":_,role:`listbox`,"aria-multiselectable":y?`true`:void 0,disableListWrap:!0,id:ke,...Oe},paper:{...De,style:{minWidth:Se,...De==null?null:De.style}}},children:xe})]})}),M_=e=>{let{classes:t}=e,n=T({root:[`root`]},S_,t);return{...t,...n}},N_={name:`MuiSelect`,slot:`Root`,shouldForwardProp:e=>Yo(e)&&e!==`variant`},P_=q(Ch,N_)(``),F_=q(t_,N_)(``),I_=q(Hm,N_)(``),L_=s.forwardRef(function(e,t){let n=Y({name:`MuiSelect`,props:e}),{autoWidth:r=!1,children:i,classes:a={},className:o,defaultOpen:c=!1,displayEmpty:l=!1,IconComponent:u=ff,id:d,input:f,inputProps:p,label:m,labelId:h,MenuProps:g,multiple:_=!1,native:v=!1,onClose:y,onOpen:b,open:x,renderValue:S,SelectDisplayProps:C,variant:T=`outlined`,...E}=n,D=v?Gg:j_,O=Ud({props:n,muiFormControl:Gd(),states:[`variant`,`error`]}),k=O.variant||T,A={...n,variant:k,classes:a},M=M_(A),{root:N,...P}=M,F=f||{standard:(0,U.jsx)(P_,{ownerState:A}),outlined:(0,U.jsx)(F_,{label:m,ownerState:A}),filled:(0,U.jsx)(I_,{ownerState:A})}[k],I=_s(t,Od(F));return(0,U.jsx)(s.Fragment,{children:s.cloneElement(F,{inputComponent:D,inputProps:{children:i,error:O.error,IconComponent:u,variant:k,type:void 0,multiple:_,...v?{id:d}:{autoWidth:r,defaultOpen:c,displayEmpty:l,labelId:h,MenuProps:g,onClose:y,onOpen:b,open:x,renderValue:S,SelectDisplayProps:{id:d,...C}},...p,classes:p?j(P,p.classes):P,...f?f.props.inputProps:{}},...(_&&v||l)&&k===`outlined`?{notched:!0}:{},ref:I,className:w(F.props.className,o,M.root),...!f&&{variant:k},...E})})});L_.muiName=`Select`;function R_(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}var z_=2;function B_(e,t,n,r,i){return n===1?Math.min(e+t,i):Math.max(e-t,r)}function V_(e,t){return e-t}function H_(e,t){let{index:n}=e.reduce((e,n,r)=>{let i=Math.abs(t-n);return e===null||i<e.distance||i===e.distance?{distance:i,index:r}:e},null)??{};return n}function U_(e,t){if(t.current!==void 0&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function W_(e,t,n){return(e-t)*100/(n-t)}function G_(e,t,n){return(n-t)*e+t}function K_(e){if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function q_(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(K_(t)))}
140function J_({values:e,newValue:t,index:n}){let r=e.slice();return r[n]=t,r.sort(V_)}function Y_({sliderRef:e,activeIndex:t,setActive:n}){let r=as(e.current);(!e.current?.contains(r.activeElement)||Number(r?.activeElement?.getAttribute(`data-index`))!==t)&&e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),n&&n(t)}function X_(e,t){return typeof e==`number`&&typeof t==`number`?e===t:typeof e==`object`&&typeof t==`object`&&R_(e,t)}var Z_={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Q_=e=>e,$_;function ev(){return $_===void 0&&($_=typeof CSS<`u`&&typeof CSS.supports==`function`?CSS.supports(`touch-action`,`none`):!0),$_}function tv(e){let{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:a=!1,marks:o=!1,max:c=100,min:l=0,name:u,onChange:d,onChangeCommitted:f,orientation:p=`horizontal`,rootRef:m,scale:h=Q_,step:g=1,shiftStep:_=10,tabIndex:v,value:y}=e,b=s.useRef(void 0),[x,S]=s.useState(-1),[C,w]=s.useState(-1),[T,E]=s.useState(!1),D=s.useRef(0),O=s.useRef(null),[k,A]=fs({controlled:y,default:n??l,name:`Slider`}),j=d&&((e,t,n)=>{let r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:t,name:u}}),O.current=t,d(i,t,n)}),M=Array.isArray(k),N=M?k.slice().sort(V_):[k];N=N.map(e=>e==null?l:$r(e,l,c));let P=o===!0&&g!==null?[...Array(Math.floor((c-l)/g)+1)].map((e,t)=>({value:l+g*t})):o||[],F=P.map(e=>e.value),[I,L]=s.useState(-1),R=s.useRef(null),z=gs(m,R),B=e=>t=>{let n=Number(t.currentTarget.getAttribute(`data-index`));hu(t.target)&&L(n),w(n),e?.onFocus?.(t)},V=e=>t=>{hu(t.target)||L(-1),w(-1),e?.onBlur?.(t)},ee=(e,t)=>{let n=Number(e.currentTarget.getAttribute(`data-index`)),r=N[n],a=F.indexOf(r),o=t;if(P&&g==null){let e=F[F.length-1];o=o>=e?e:o<=F[0]?F[0]:o<r?F[a-1]:F[a+1]}if(o=$r(o,l,c),M){i&&(o=$r(o,N[n-1]||-1/0,N[n+1]||1/0));let e=o;o=J_({values:N,newValue:o,index:n});let t=n;i||(t=o.indexOf(e)),Y_({sliderRef:R,activeIndex:t})}A(o),L(n),j&&!X_(o,k)&&j(e,o,n),f&&f(e,O.current??o)},te=e=>t=>{if([`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,`PageUp`,`PageDown`,`Home`,`End`].includes(t.key)){t.preventDefault();let e=Number(t.currentTarget.getAttribute(`data-index`)),n=N[e],r=null;if(g!=null){let e=t.shiftKey?_:g;switch(t.key){case`ArrowUp`:r=B_(n,e,1,l,c);break;case`ArrowRight`:r=B_(n,e,a?-1:1,l,c);break;case`ArrowDown`:r=B_(n,e,-1,l,c);break;case`ArrowLeft`:r=B_(n,e,a?1:-1,l,c);break;case`PageUp`:r=B_(n,_,1,l,c);break;
140case`PageDown`:r=B_(n,_,-1,l,c);break;case`Home`:r=l;break;case`End`:r=c}}else if(P){let e=F[F.length-1],i=F.indexOf(n),o=[a?`ArrowRight`:`ArrowLeft`,`ArrowDown`,`PageDown`,`Home`],s=[a?`ArrowLeft`:`ArrowRight`,`ArrowUp`,`PageUp`,`End`];o.includes(t.key)?r=i===0?F[0]:F[i-1]:s.includes(t.key)&&(r=i===F.length-1?e:F[i+1])}r!=null&&ee(t,r)}e?.onKeyDown?.(t)};Jr(()=>{r&&R.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&x!==-1&&S(-1),r&&I!==-1&&L(-1);let ne=e=>t=>{e.onChange?.(t),ee(t,t.target.valueAsNumber)},re=s.useRef(void 0),ie=p;a&&p===`horizontal`&&(ie+=`-reverse`);let ae=({finger:e,move:t=!1})=>{let{current:n}=R,{width:r,height:a,bottom:o,left:s}=n.getBoundingClientRect(),u;u=ie.startsWith(`vertical`)?(o-e.y)/a:(e.x-s)/r,ie.includes(`-reverse`)&&(u=1-u);let d;if(d=G_(u,l,c),g)d=q_(d,g,l);else{let e=H_(F,d);d=F[e]}d=$r(d,l,c);let f=0;if(M){f=t?re.current:H_(N,d),i&&(d=$r(d,N[f-1]||-1/0,N[f+1]||1/0));let e=d;d=J_({values:N,newValue:d,index:f}),i&&t||(f=d.indexOf(e),re.current=f)}return{newValue:d,activeIndex:f}},oe=ms(e=>{let t=U_(e,b);if(!t)return;if(D.current+=1,e.type===`mousemove`&&e.buttons===0){se(e);return}let{newValue:n,activeIndex:r}=ae({finger:t,move:!0});Y_({sliderRef:R,activeIndex:r,setActive:S}),A(n),!T&&D.current>z_&&E(!0),j&&!X_(n,k)&&j(e,n,r)}),se=ms(e=>{let t=U_(e,b);if(E(!1),!t)return;let{newValue:n}=ae({finger:t,move:!0});S(-1),e.type===`touchend`&&w(-1),f&&f(e,O.current??n),b.current=void 0,le()}),ce=ms(e=>{if(r)return;ev()||e.preventDefault();let t=e.changedTouches[0];t!=null&&(b.current=t.identifier);let n=U_(e,b);if(n!==!1){let{newValue:t,activeIndex:r}=ae({finger:n});Y_({sliderRef:R,activeIndex:r,setActive:S}),A(t),j&&!X_(t,k)&&j(e,t,r)}D.current=0;let i=as(R.current);i.addEventListener(`touchmove`,oe,{passive:!0}),i.addEventListener(`touchend`,se,{passive:!0})}),le=s.useCallback(()=>{let e=as(R.current);e.removeEventListener(`mousemove`,oe),e.removeEventListener(`mouseup`,se),e.removeEventListener(`touchmove`,oe),e.removeEventListener(`touchend`,se)},[se,oe]);s.useEffect(()=>{let{current:e}=R;return e.addEventListener(`touchstart`,ce,{passive:ev()}),()=>{e.removeEventListener(`touchstart`,ce),le()}},[le,ce]),s.useEffect(()=>{r&&le()},[r,le]);let ue=e=>t=>{if(e.onMouseDown?.(t),r||t.defaultPrevented||t.button!==0)return;t.preventDefault();let n=U_(t,b);if(n!==!1){let{newValue:e,activeIndex:r}=ae({finger:n});Y_({sliderRef:R,activeIndex:r,setActive:S}),A(e),j&&!X_(e,k)&&j(t,e,r)}D.current=0;let i=as(R.current);i.addEventListener(`mousemove`,oe,{passive:!0}),i.addEventListener(`mouseup`,se)},de=W_(M?N[0]:l,l,c),fe=W_(N[N.length-1],l,c)-de,pe=(e={})=>{let t=nu(e),n={onMouseDown:ue(t||{})},r={...t,...n};return{...e,ref:z,...r}},me=e=>t=>{e.onMouseOver?.(t);let n=Number(t.currentTarget.getAttribute(`data-index`));w(n)},he=e=>t=>{e.onMouseLeave?.(t),w(-1)},ge=(e={})=>{let t=nu(e),n={onMouseOver:me(t||{}),onMouseLeave:he(t||{})};return{...e,...t,...n}},_e=e=>({pointerEvents:x!==-1&&x!==e?`none`:void 0}),ve;return p===`vertical`&&(ve=a?`vertical-rl`:`vertical-lr`),{active:x,axis:ie,axisProps:Z_,dragging:T,focusedThumbIndex:I,getHiddenInputProps:(n={})=>{let i=nu(n),o={onChange:ne(i||{}),onFocus:B(i||{}),onBlur:V(i||{}),onKeyDown:te(i||{})},s={...i,...o};return{tabIndex:v,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":h(c),"aria-valuemin":h(l),name:u,type:`range`,min:e.min,max:e.max,step:e.step===null&&e.marks?`any`:e.step??void 0,disabled:r,...n,...s,style:{...x_,direction:a?`rtl`:`ltr`,width:`100%`,height:`100%`,writingMode:ve}}},getRootProps:pe,getThumbProps:ge,marks:P,open:C,range:M,rootRef:z,trackLeap:fe,trackOffset:de,values:N,getThumbStyle:_e}}var nv=e=>!e||!$l(e);function rv(e){return W(`MuiSlider`,e)}var iv=G(`MuiSlider`,`root.active.colorPrimary.colorSecondary.colorError.colorInfo.colorSuccess.colorWarning.disabled.dragging.focusVisible.mark.markActive.marked.markLabel.markLabelActive.rail.sizeSmall.thumb.thumbColorPrimary.thumbColorSecondary.thumbColorError.thumbColorSuccess.thumbColorInfo.thumbColorWarning.track.trackInverted.trackFalse.thumbSizeSmall.valueLabel.valueLabelOpen.valueLabelCircle.valueLabelLabel.vertical`.split(`.`)),av=e=>{let{open:t}=e;return{offset:w(t&&iv.valueLabelOpen),circle:iv.valueLabelCircle,label:iv.valueLabelLabel}};function ov(e){let{children:t,className:n,value:r}=e,i=av(e);return t?s.cloneElement(t,{className:t.props.className},(0,U.jsxs)(s.Fragment,{children:[t.props.children,(0,U.jsx)(`span`,{className:w(i.offset,n),"aria-hidden":!0,
140children:(0,U.jsx)(`span`,{className:i.circle,children:(0,U.jsx)(`span`,{className:i.label,children:r})})})]})):null}function sv(e){return e}var cv=q(`span`,{name:`MuiSlider`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`color${_(n.color)}`],n.size!==`medium`&&t[`size${_(n.size)}`],n.marked&&t.marked,n.orientation===`vertical`&&t.vertical,n.track===`inverted`&&t.trackInverted,n.track===!1&&t.trackFalse]}})(J(({theme:e})=>({borderRadius:12,boxSizing:`content-box`,display:`inline-block`,position:`relative`,cursor:`pointer`,touchAction:`none`,WebkitTapHighlightColor:`transparent`,"@media print":{colorAdjust:`exact`},[`&.${iv.disabled}`]:{pointerEvents:`none`,cursor:`default`,color:(e.vars||e).palette.grey[400]},[`&.${iv.dragging}`]:{[`& .${iv.thumb}, & .${iv.track}`]:{transition:`none`}},variants:[...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:`horizontal`},style:{height:4,width:`100%`,padding:`13px 0`,"@media (pointer: coarse)":{padding:`20px 0`}}},{props:{orientation:`horizontal`,size:`small`},style:{height:2}},{props:{orientation:`horizontal`,marked:!0},style:{marginBottom:20}},{props:{orientation:`vertical`},style:{height:`100%`,width:4,padding:`0 13px`,"@media (pointer: coarse)":{padding:`0 20px`}}},{props:{orientation:`vertical`,size:`small`},style:{width:2}},{props:{orientation:`vertical`,marked:!0},style:{marginRight:44}}]}))),lv=q(`span`,{name:`MuiSlider`,slot:`Rail`})({display:`block`,position:`absolute`,borderRadius:`inherit`,backgroundColor:`currentColor`,opacity:.38,variants:[{props:{orientation:`horizontal`},style:{width:`100%`,height:`inherit`,top:`50%`,transform:`translateY(-50%)`}},{props:{orientation:`vertical`},style:{height:`100%`,width:`inherit`,left:`50%`,transform:`translateX(-50%)`}},{props:{track:`inverted`},style:{opacity:1}}]}),uv=q(`span`,{name:`MuiSlider`,slot:`Track`})(J(({theme:e})=>({display:`block`,position:`absolute`,borderRadius:`inherit`,border:`1px solid currentColor`,backgroundColor:`currentColor`,transition:e.transitions.create([`left`,`width`,`bottom`,`height`],{duration:e.transitions.duration.shortest}),variants:[{props:{size:`small`},style:{border:`none`}},{props:{orientation:`horizontal`},style:{height:`inherit`,top:`50%`,transform:`translateY(-50%)`}},{props:{orientation:`vertical`},style:{width:`inherit`,left:`50%`,transform:`translateX(-50%)`}},{props:{track:!1},style:{display:`none`}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t,track:`inverted`},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:e.lighten(e.palette[t].main,.62),borderColor:e.lighten(e.palette[t].main,.62),...e.applyStyles(`dark`,{backgroundColor:e.darken(e.palette[t].main,.5)}),...e.applyStyles(`dark`,{borderColor:e.darken(e.palette[t].main,.5)})}}}))]}))),dv=q(`span`,{name:`MuiSlider`,slot:`Thumb`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.thumb,t[`thumbColor${_(n.color)}`],n.size!==`medium`&&t[`thumbSize${_(n.size)}`]]}})(J(({theme:e})=>({position:`absolute`,width:20,height:20,boxSizing:`border-box`,borderRadius:`50%`,outline:0,backgroundColor:`currentColor`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:e.transitions.create([`box-shadow`,`left`,`bottom`],{duration:e.transitions.duration.shortest}),"&::before":{position:`absolute`,content:`""`,borderRadius:`inherit`,width:`100%`,height:`100%`,boxShadow:(e.vars||e).shadows[2]},"&::after":{position:`absolute`,content:`""`,borderRadius:`50%`,width:42,he
140ight:42,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`},[`&.${iv.disabled}`]:{"&:hover":{boxShadow:`none`}},variants:[{props:{size:`small`},style:{width:12,height:12,"&::before":{boxShadow:`none`}}},{props:{orientation:`horizontal`},style:{top:`50%`,transform:`translate(-50%, -50%)`}},{props:{orientation:`vertical`},style:{left:`50%`,transform:`translate(-50%, 50%)`}},...Object.entries(e.palette).filter(Iu()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${iv.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[t].main,.16)}`,"@media (hover: none)":{boxShadow:`none`}},[`&.${iv.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[t].main,.16)}`}}}))]}))),fv=q(ov,{name:`MuiSlider`,slot:`ValueLabel`})(J(({theme:e})=>({zIndex:1,whiteSpace:`nowrap`,...e.typography.body2,fontWeight:500,transition:e.transitions.create([`transform`],{duration:e.transitions.duration.shortest}),position:`absolute`,backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:`0.25rem 0.75rem`,variants:[{props:{orientation:`horizontal`},style:{transform:`translateY(-100%) scale(0)`,top:`-10px`,transformOrigin:`bottom center`,"&::before":{position:`absolute`,content:`""`,width:8,height:8,transform:`translate(-50%, 50%) rotate(45deg)`,backgroundColor:`inherit`,bottom:0,left:`50%`},[`&.${iv.valueLabelOpen}`]:{transform:`translateY(-100%) scale(1)`}}},{props:{orientation:`vertical`},style:{transform:`translateY(-50%) scale(0)`,right:`30px`,top:`50%`,transformOrigin:`right center`,"&::before":{position:`absolute`,content:`""`,width:8,height:8,transform:`translate(-50%, -50%) rotate(45deg)`,backgroundColor:`inherit`,right:-8,top:`50%`},[`&.${iv.valueLabelOpen}`]:{transform:`translateY(-50%) scale(1)`}}},{props:{size:`small`},style:{fontSize:e.typography.pxToRem(12),padding:`0.25rem 0.5rem`}},{props:{orientation:`vertical`,size:`small`},style:{right:`20px`}}]}))),pv=q(`span`,{name:`MuiSlider`,slot:`Mark`,shouldForwardProp:e=>Jo(e)&&e!==`markActive`,overridesResolver:(e,t)=>{let{markActive:n}=e;return[t.mark,n&&t.markActive]}})(J(({theme:e})=>({position:`absolute`,width:2,height:2,borderRadius:1,backgroundColor:`currentColor`,variants:[{props:{orientation:`horizontal`},style:{top:`50%`,transform:`translate(-1px, -50%)`}},{props:{orientation:`vertical`},style:{left:`50%`,transform:`translate(-50%, 1px)`}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),mv=q(`span`,{name:`MuiSlider`,slot:`MarkLabel`,shouldForwardProp:e=>Jo(e)&&e!==`markLabelActive`})(J(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:`absolute`,whiteSpace:`nowrap`,variants:[{props:{orientation:`horizontal`},style:{top:30,transform:`translateX(-50%)`,"@media (pointer: coarse)":{top:40}}},{props:{orientation:`vertical`},style:{left:36,transform:`translateY(50%)`,"@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),hv=e=>{let{disabled:t,dragging:n,marked:r,orientation:i,track:a,classes:o,color:s,size:c}=e;return T({root:[`root`,t&&`disabled`,n&&`dragging`,r&&`marked`,i===`vertical`&&`vertical`,a===`inverted`&&`trackInverted`,a===!1&&`trackFalse`,s&&`color${_(s)}`,c&&`size${_(c)}`],rail:[`rail`],track:[`track`],mark:[`mark`],markActive:[`markActive`],markLabel:[`markLabel`],markLabelActive:[`markLabelActive`],valueLabel:[`valueLabel`],thumb:[`thumb`,t&&`disabled`,c&&`thumbSize${_(c)}`,s&&`thumbColor${_(s)}`],active:[`active`],disabled:[`disabled`],focusVisible:[`focusVisible`]},rv,o)},gv=({children:e})=>e,_v=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiSlider`}),r=wi(),{"aria-label":i,"aria-valuetext":a,"aria-labelledby":o,component:c=`span`,components:l={},componentsProps:u={},color:d=`primary`,classes:f,className:p,disableSwap:m=!1,disabled:h=!1,getAriaLabel:g,getAriaValueText:_,marks:v=!1,max:y=100,min:b=0,name:x,onChange:S,onChangeCommitted:C,orientation:T=`horizontal`,shiftStep:E=10,size:D=`medium`,step:O=1,scale:k=sv,slotProps:A,slots:j,tabIndex:M,track:N=`normal`,value:P,valueLabelDisplay:F=`off`,valueLabelFormat:I=sv,...L}=n,R={...n,isRtl:r,max:y,min:b,classes:f,disabled:h,disableSwap:m,orientation:T,marks:v,color:d,size:D,step:O,shiftStep:E,scale:k,track:N,valueLabelDisplay:F,valueLabelFormat:I},{axisProps:z,getRootProps:B,getHiddenInputProps:V,getThumbProps:ee,open:te,active:ne,axis:re,focusedThumbIndex:ie,range:ae,dragging:oe,marks:se,values:ce,trackOffset:le,trackLeap:ue,getThumbStyle:de}=tv({...R,rootRef:t});R.marked=se.length>0&&se.some(e=>e.label),R.dragging=oe,R.focusedThumbIndex=ie;let fe=hv(R),pe=j?.root??l.Root??cv,me=j?.rail??l.Rail??lv,he=j?.track??l.Track??uv,ge=j?.thumb??l.Thumb??dv,_e=j?.valueLabel??l.ValueLabel??fv,ve=j?.mark??l.Mark??pv,ye=j?.markLabel??l.MarkLabel??mv,H=j?.input??l.Input??`input`,be=A?.root??u.root,xe=A?.rail??u.rail,Se=A?.track??u.track,Ce=A?.thumb??u.thumb,we=A?.valueLabel??u.valueLabel,Te=A?.mark??u.mark,Ee=A?.markLabel??u.markLabel,De=A?.input??u.input,Oe=Dd({elementType:pe,getSlotProps:B,externalSlotProps:be,externalForwardedProps:L,additionalProps:{...nv(pe)&&{as:c}},ownerState:{...R,...be?.ownerState},className:[fe.root,p]}),ke=Dd({elementType:me,externalSlotProps:xe,ownerState:R,className:fe.rail}),Ae=Dd({elementType:he,externalSlotProps:Se,additionalProps:{style:{...z[re].offset(le),...z[re].leap(ue)}},ownerState:{...R,...Se?.ownerState},className:fe.track}),je=Dd({elementType:ge,getSlotProps:ee,externalSlotProps:Ce,ownerState:{...R,...Ce?.ownerState},className:fe.thumb}),Me=Dd({elementType:_e,externalSlotProps:we,ownerState:{...R,...we?.ownerState},className:fe.valueLabel}),Ne=Dd({elementType:ve,externalSlotProps:Te,ownerState:R,className:fe.mark}),Pe=Dd({elementType:ye,externalSlotProps:Ee,ownerState:R,className:fe.markLabel}),Fe=Dd({elementType:H,getSlotProps:V,externalSlotProps:De,ownerState:R});return(0,U.jsxs)(pe,{...Oe,children:[(0,U.jsx)(me,{...ke}),(0,U.jsx)(he,{...Ae}),se.filter(e=>e.value>=b&&e.value<=y).map((e,t)=>{let n=W_(e.value,b,y),r=z[re].offset(n),i;return i=N===!1?ce.includes(e.value):N===`normal`&&(ae?e.value>=ce[0]&&e.value<=ce[ce.length-1]:e.value<=ce[0])||N===`inverted`&&(ae?e.value<=ce[0]||e.value>=ce[ce.length-1]:e.value>=ce[0]),(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(ve,{"data-index":t,...Ne,...!$l(ve)&&{markActive:i},style:{...r,...Ne.style},className:w(Ne.className,i&&fe.markActive)}),e.label==null?null:(0,U.jsx)(ye,{"aria-hidden":!0,"data-index":t,...Pe,...!$l(ye)&&{markLabelActive:i},style:{...r,...Pe.style},className:w(fe.markLabel,Pe.className,i&&fe.markLabelActive),children:e.label})]},t)}),ce.map((e,t)=>{let n=W_(e,b,y),r=z[re].offset(n),s=F===`off`?gv:_e;return(0,U.jsx)(s,{...!$l(s)&&{valueLabelFormat:I,valueLabelDisplay:F,value:typeof I==`function`?I(k(e),t):I,index:t,open:te===t||ne===t||F===`on`,disabled:h},...Me,children:(0,U.jsx)(ge,{"data-index":t,...je,className:w(fe.thumb,je.className,ne===t&&fe.active,ie===t&&fe.focusVisible),style:{...r,...de(t),...je.style},children:(0,U.jsx)(H,{"data-index":t,"aria-label":g?g(t):i,"aria-valuenow":k(e),"aria-labelledby":o,"aria-valuetext":_?_(k(e),t):a,value:ce[t],...Fe})})},t)})]})}),vv=Na({createStyledComponent:q(`div`,{name:`MuiStack`,slot:`Root`}),useThemeProps:e=>Y({props:e,name:`MuiStack`})}),yv=q(`div`,{name:`MuiSwipeArea`,shouldForwardProp:Yo})(J(({theme:e})=>({position:`fixed`,top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1,variants:[{props:{anchor:`left`},style:{right:`auto`}},{props:{anchor:`right`},style:{left:`auto`,right:0}},{props:{anchor:`top`},style:{bottom:`auto`,right:0}},{props:{anchor:`bottom`}
vendor: 4,233 bytes, line 140
140,style:{top:`auto`,bottom:0,right:0}}]}))),bv=s.forwardRef(function(e,t){let{anchor:n,classes:r={},className:i,width:a,style:o,...s}=e,c=e;return(0,U.jsx)(yv,{className:w(`PrivateSwipeArea-root`,r.root,r[`anchor${_(n)}`],i),ref:t,style:{[Im(n)?`width`:`height`]:a,...o},ownerState:c,...s})}),xv=3,Sv=20,Cv=null;function wv(e,t,n){return e===`right`?n.body.offsetWidth-t[0].pageX:t[0].pageX}function Tv(e,t,n){return e===`bottom`?n.innerHeight-t[0].clientY:t[0].clientY}function Ev(e,t){return e?t.clientWidth:t.clientHeight}function Dv(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}function Ov(e,t){let n=[];for(;e&&e!==t.parentElement;){let r=cs(t).getComputedStyle(e);r.getPropertyValue(`position`)===`absolute`||r.getPropertyValue(`overflow-x`)===`hidden`||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}function kv({domTreeShapes:e,start:t,current:n,anchor:r}){let i={scrollPosition:{x:`scrollLeft`,y:`scrollTop`},scrollLength:{x:`scrollWidth`,y:`scrollHeight`},clientLength:{x:`clientWidth`,y:`clientHeight`}};return e.some(e=>{let a=n>=t;(r===`top`||r===`left`)&&(a=!a);let o=r===`left`||r===`right`?`x`:`y`,s=Math.round(e[i.scrollPosition[o]]),c=s>0,l=s+e[i.clientLength[o]]<e[i.scrollLength[o]];return!!(a&&l||!a&&c)})}var Av=typeof navigator<`u`&&/iPad|iPhone|iPod/.test(navigator.userAgent),jv=s.forwardRef(function(e,t){let n=Y({name:`MuiSwipeableDrawer`,props:e}),r=Ko(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:a=`left`,disableBackdropTransition:o=!1,disableDiscovery:c=!1,disableSwipeToOpen:l=Av,hideBackdrop:u,hysteresis:d=.52,allowSwipeInChildren:f=!1,minFlingVelocity:p=450,ModalProps:{BackdropProps:m,...h}={},onClose:g,onOpen:_,open:v=!1,PaperProps:y={},SwipeAreaProps:b,swipeAreaWidth:x=20,transitionDuration:S=i,variant:C=`temporary`,slots:w={},slotProps:T={},...E}=n,[D,O]=s.useState(!1),k=s.useRef({isSwiping:null}),A=s.useRef(),j=s.useRef(),M=s.useRef(),N=_s(y.ref,M),P=s.useRef(!1),F=s.useRef();us(()=>{F.current=null},[v]);let I=s.useCallback((e,t={})=>{let{mode:n=null,changeTransition:i=!0}=t,s=Lm(r,a),c=[`right`,`bottom`].includes(s)?1:-1,l=Im(a),d=l?`translate(${c*e}px, 0)`:`translate(0, ${c*e}px)`,f=M.current.style;f.webkitTransform=d,f.transform=d;let p=``;if(n&&(p=r.transitions.create(`all`,Ql({easing:void 0,style:void 0,timeout:S},{mode:n}))),i&&(f.webkitTransition=p,f.transition=p),!o&&!u){let t=j.current.style;t.opacity=1-e/Ev(l,M.current),i&&(t.webkitTransition=p,t.transition=p)}},[a,o,u,r,S]),L=hs(e=>{if(!P.current)return;if(Cv=null,P.current=!1,Tl.flushSync(()=>{O(!1)}),!k.current.isSwiping){k.current.isSwiping=null;return}k.current.isSwiping=null;let t=Lm(r,a),n=Im(a),i;i=n?wv(t,e.changedTouches,os(e.currentTarget)):Tv(t,e.changedTouches,cs(e.currentTarget));let o=n?k.current.startX:k.current.startY,s=Ev(n,M.current),c=Dv(i,o,v,s),l=c/s;if(Math.abs(k.current.velocity)>p&&(F.current=Math.abs((s-c)/k.current.velocity)*1e3),v){k.current.velocity>p||l>d?g():I(0,{mode:`exit`});return}k.current.velocity<-p||1-l>d?_():I(Ev(n,M.current),{mode:`enter`})}),R=(e=!1)=>{if(!D){(e||!(c&&f))&&Tl.flushSync(()=>{O(!0)});let t=Im(a);!v&&M.current&&I(Ev(t,M.current)+(c?15:-20),{changeTransition:!1}),k.current.velocity=0,k.current.lastTime=null,k.current.lastTranslate=null,k.current.paperHit=!1,P.current=!0}},z=hs(e=>{if(!M.current||!P.current||Cv!==null&&Cv!==k.current)return;R(!0);let t=Lm(r,a),n=Im(a),i=wv(t,e.touches,os(e.currentTarget)),o=Tv(t,e.touches,cs(e.currentTarget));if(v&&M.current.contains(e.target)&&Cv===null){if(kv({domTreeShapes:Ov(e.target,M.current),start:n?k.current.startX:k.current.startY,current:n?i:o,anchor:a})){Cv=!0;return}Cv=k.current}if(k.current.isSwiping==null){let t=Math.abs(i-k.current.startX),r=Math.abs(o-k.current.startY),a=n?t>r&&t>xv:r>t&&r>xv;if(a&&e.cancelable&&e.preventDefault(),a===!0||(n?r>xv:t>xv)){if(k.current.isSwiping=a,!a){L(e);return}k.current.startX=i,k.current.startY=o,!c&&!v&&(n?k.current.startX-=Sv:k.current.startY-=Sv)}}if(!k.current.isSwiping)return;let s=Ev(n,M.current),l=n?k.current.startX:k.current.startY;v&&!k.current.paperHit&&(l=Math.min(l,s));let u=Dv(n?i:o,l,v,s);
140if(v){if(k.current.paperHit)u===0&&(k.current.startX=i,k.current.startY=o);else if(n?i<s:o<s)k.current.paperHit=!0,k.current.startX=i,k.current.startY=o;else return}k.current.lastTranslate===null&&(k.current.lastTranslate=u,k.current.lastTime=performance.now()+1);let d=(u-k.current.lastTranslate)/(performance.now()-k.current.lastTime)*1e3;k.current.velocity=k.current.velocity*.4+d*.6,k.current.lastTranslate=u,k.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),I(u)}),B=hs(e=>{if(e.defaultPrevented||e.defaultMuiPrevented||v&&(u||!j.current.contains(e.target))&&!M.current.contains(e.target))return;let t=Lm(r,a),n=Im(a),i=wv(t,e.touches,os(e.currentTarget)),o=Tv(t,e.touches,cs(e.currentTarget));if(!v){if(l||!(e.target===A.current||M.current?.contains(e.target)&&(typeof f==`function`?f(e,A.current,M.current):f)))return;if(n){if(i>x)return}else if(o>x)return}e.defaultMuiPrevented=!0,Cv=null,k.current.startX=i,k.current.startY=o,R()});s.useEffect(()=>{if(C===`temporary`){let e=os(M.current);return e.addEventListener(`touchstart`,B),e.addEventListener(`touchmove`,z,{passive:!v}),e.addEventListener(`touchend`,L),()=>{e.removeEventListener(`touchstart`,B),e.removeEventListener(`touchmove`,z,{passive:!v}),e.removeEventListener(`touchend`,L)}}},[C,v,B,z,L]),s.useEffect(()=>()=>{Cv===k.current&&(Cv=null)},[]),s.useEffect(()=>{v||O(!1)},[v]);let[V,ee]=Z(`swipeArea`,{ref:A,elementType:bv,ownerState:n,externalForwardedProps:{slots:w,slotProps:{swipeArea:b,...T}},additionalProps:{width:x,anchor:a}});return(0,U.jsxs)(s.Fragment,{children:[(0,U.jsx)(Rm,{open:C===`temporary`&&D?!0:v,variant:C,ModalProps:{BackdropProps:{...m,ref:j},...C===`temporary`&&{keepMounted:!0},...h},hideBackdrop:u,anchor:a,transitionDuration:F.current||S,onClose:g,ref:t,slots:w,slotProps:{...T,backdrop:ys(T.backdrop??m,{ref:j}),paper:ys(T.paper??y,{style:{pointerEvents:C===`temporary`&&!v&&!f?`none`:``},ref:N})},...E}),!l&&C===`temporary`&&(0,U.jsx)(Kg,{children:(0,U.jsx)(V,{...ee})})]})});function Mv(e){return W(`MuiSwitch`,e)}var Nv=G(`MuiSwitch`,[`root`,`edgeStart`,`edgeEnd`,`switchBase`,`colorPrimary`,`colorSecondary`,`sizeSmall`,`sizeMedium`,`checked`,`disabled`,`input`,`thumb`,`track`]),Pv=e=>{let{classes:t,edge:n,size:r,color:i,checked:a,disabled:o}=e,s=T({root:[`root`,n&&`edge${_(n)}`,`size${_(r)}`],switchBase:[`switchBase`,`color${_(i)}`,a&&`checked`,o&&`disabled`],thumb:[`thumb`],track:[`track`],input:[`input`]},Mv,t);return{...t,...s}},Fv=q(`span`,{name:`MuiSwitch`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.edge&&t[`edge${_(n.edge)}`],t[`size${_(n.size)}`]]}})({display:`inline-flex`,width:58,height:38,overflow:`hidden`,padding:12,boxSizing:`border-box`,position:`relative`,flexShrink:0,zIndex:0,verticalAlign:`middle`,"@media print":{colorAdjust:`exact`},variants:[{props:{edge:`start`},style:{marginLeft:-8}},{props:{edge:`end`},style:{marginRight:-8}},{props:{size:`small`},style:{width:40,height:24,padding:7,[`& .${Nv.thumb}`]:{width:16,height:16},[`& .${Nv.switchBase}`]:{padding:4,[`&.${Nv.checked}`]:{transform:`translateX(16px)`}}}}]}),Iv=q(tp,{name:`MuiSwitch`,slot:`SwitchBase`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.switchBase,{[`& .${Nv.input}`]:t.input},n.color!=="default"&&t[`color${_(n.color)}`]]}})(J(({theme:e})=>({position:`absolute`,top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode===`light`?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create([`left`,`transform`],{duration:e.transitions.duration.shortest}),[`&.${Nv.checked}`]:{transform:`translateX(20px)`},[`&.${Nv.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode===`light`?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Nv.checked} + .${Nv.track}`]:{opacity:.5},[`&.${Nv.disabled} + .${Nv.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode===`light`?.12:.2}`},[`& .${Nv.input}`]:{left:`-100%`,width:`300%`}})),J(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}},variants:[...Object.entries(e.palette).filter(Iu([`light`])).map(([t])=>({props:{color:t},style:{[`&.${Nv.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${Nv.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode===`light`?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${Nv.checked} + .${Nv.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),Lv=q(`span`,{name:`MuiSwitch`,slot:`Track`})(J(({theme:e})=>({height:`100%`,width:`100%`,borderRadius:7,zIndex:-1,transition:e.transitions.create([`opacity`,`background-color`],{duration:e.transitions.duration.shortest}
140),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode===`light`?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode===`light`?.38:.3}`}))),Rv=q(`span`,{name:`MuiSwitch`,slot:`Thumb`})(J(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:`currentColor`,width:20,height:20,borderRadius:`50%`}))),zv=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiSwitch`}),{className:r,color:i=`primary`,edge:a=!1,size:o=`medium`,sx:s,slots:c={},slotProps:l={},...u}=n,d={...n,color:i,edge:a,size:o},f=Pv(d),p={slots:c,slotProps:l},[m,h]=Z(`root`,{className:w(f.root,r),elementType:Fv,externalForwardedProps:p,ownerState:d,additionalProps:{sx:s}}),[g,_]=Z(`thumb`,{className:f.thumb,elementType:Rv,externalForwardedProps:p,ownerState:d}),v=(0,U.jsx)(g,{..._}),[y,b]=Z(`track`,{className:f.track,elementType:Lv,externalForwardedProps:p,ownerState:d});return(0,U.jsxs)(m,{...h,children:[(0,U.jsx)(Iv,{type:`checkbox`,icon:v,checkedIcon:v,ref:t,ownerState:d,...u,classes:{...f,root:f.switchBase},slots:{...c.switchBase&&{root:c.switchBase},...c.input&&{input:c.input}},slotProps:{...l.switchBase&&{root:typeof l.switchBase==`function`?l.switchBase(d):l.switchBase},input:{role:`switch`},...l.input&&{input:typeof l.input==`function`?l.input(d):l.input}}}),(0,U.jsx)(y,{...b})]})});function Bv(e){return W(`MuiTextField`,e)}G(`MuiTextField`,[`root`]);var Vv={standard:Ch,filled:Hm,outlined:t_},Hv=e=>{let{classes:t}=e;return T({root:[`root`]},Bv,t)},Uv=q(Km,{name:`MuiTextField`,slot:`Root`})({}),Wv=s.forwardRef(function(e,t){let n=Y({props:e,name:`MuiTextField`}),{autoComplete:r,autoFocus:i=!1,children:a,className:o,color:s=`primary`,defaultValue:c,disabled:l=!1,error:u=!1,FormHelperTextProps:d,fullWidth:f=!1,helperText:p,id:m,InputLabelProps:h,inputProps:g,InputProps:_,inputRef:v,label:y,maxRows:b,minRows:x,multiline:S=!1,name:C,onBlur:T,onChange:E,onFocus:D,placeholder:O,required:k=!1,rows:A,select:j=!1,SelectProps:M,slots:N={},slotProps:P={},type:F,value:I,variant:L=`outlined`,...R}=n,z={...n,autoFocus:i,color:s,disabled:l,error:u,fullWidth:f,multiline:S,required:k,select:j,variant:L},B=Hv(z),V=Mi(m),ee=p&&V?`${V}-helper-text`:void 0,te=y&&V?`${V}-label`:void 0,ne=Vv[L],re={slots:N,slotProps:{input:_,inputLabel:h,htmlInput:g,formHelperText:d,select:M,...P}},ie={},ae=re.slotProps.inputLabel;L===`outlined`&&(ae&&ae.shrink!==void 0&&(ie.notched=ae.shrink),ie.label=y),j&&((!M||!M.native)&&(ie.id=void 0),ie[`aria-describedby`]=void 0);let[oe,se]=Z(`root`,{elementType:Uv,shouldForwardComponentProp:!0,externalForwardedProps:{...re,...R},ownerState:z,className:w(B.root,o),ref:t,additionalProps:{disabled:l,error:u,fullWidth:f,required:k,color:s,variant:L}}),[ce,le]=Z(`input`,{elementType:ne,externalForwardedProps:re,additionalProps:ie,ownerState:z}),[ue,de]=Z(`inputLabel`,{elementType:Ph,externalForwardedProps:re,ownerState:z}),[fe,pe]=Z(`htmlInput`,{elementType:`input`,externalForwardedProps:re,ownerState:z}),[me,he]=Z(`formHelperText`,{elementType:ch,externalForwardedProps:re,ownerState:z}),[ge,_e]=Z(`select`,{elementType:L_,externalForwardedProps:re,ownerState:z}),ve=(0,U.jsx)(ce,{"aria-describedby":ee,autoComplete:r,autoFocus:i,defaultValue:c,fullWidth:f,multiline:S,name:C,rows:A,maxRows:b,minRows:x,type:F,value:I,id:V,inputRef:v,onBlur:T,onChange:E,onFocus:D,placeholder:O,inputProps:pe,slots:{input:N.htmlInput?fe:void 0},...le});return(0,U.jsxs)(oe,{...se,children:[y!=null&&y!==``&&(0,U.jsx)(ue,{htmlFor:V,id:te,...de,children:y}),j?(0,U.jsx)(ge,{"aria-describedby":ee,id:V,labelId:te,value:I,input:ve,..._e,children:a}):ve,p&&(0,U.jsx)(me,{id:ee,...he,children:p})]})}),Gv=Qr({themeId:Go});function Kv(){return Kv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kv.apply(null,arguments)}var qv;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(qv||={});var Jv=`popstate`;function Yv(e){e===void 0&&(e={});function t(e,t){let{pathname:n,search:r,hash:i}=e.location;return ey(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){return typeof t==`string`?t:ty(t)}return ry(t,n,null,e)}function Xv(e,t){if(e===!1||e==null)throw Error(t)}function Zv(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function Qv(){return Math.random().toString(36).substr(2,8)}function $v(e,t){return{usr:e.state,key:e.key,idx:t}}function ey(e,t,n,r){return n===void 0&&(n=null),Kv({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?ny(t):t,{state:n,key:t&&t.key||r||Qv()})}function ty(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function ny(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ry(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=qv.Pop,c=null,l=u();l??(l=0,o.replaceState(Kv({},o.state,{idx:l}),``));function u(){return(o.state||{idx:null}).idx}function d(){s=qv.Pop;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=qv.Push;let r=ey(h.location,e,t);n&&n(r,e),l=u()+1;let d=$v(r,l),f=h.createHref(r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=qv.Replace;let r=ey(h.location,e,t);n&&n(r,e),l=u();let i=$v(r,l),d=h.createHref(r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){let t=i.location.origin===`null`?i.location.href:i.location.origin,n=typeof e==`string`?e:ty(e);return n=n.replace(/ $/,`%20`),Xv(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Jv,d),c=e,()=>{i.removeEventListener(Jv,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}var iy;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(iy||={});function ay(e,t,n){return n===void 0&&(n=`/`),oy(e,t,n,!1)}function oy(e,t,n,r){let i=Cy((typeof t==`string`?ny(t):t).pathname||`/`,n);if(i==null)return null;let a=sy(e);ly(a);let o=null,s=Sy(i);for(let e=0;o==null&&e<a.length;++e)o=yy(a[e],s,r);return o}function sy(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(Xv(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not val
140id. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=jy([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(Xv(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),sy(e.children,t,c,s)),(e.path!=null||e.index)&&t.push({path:s,score:_y(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of cy(e.path))i(e,t,n)}),t}function cy(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=cy(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function ly(e){e.sort((e,t)=>e.score===t.score?vy(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var uy=/^:[\w-]+$/,dy=3,fy=2,py=1,my=10,hy=-2,gy=e=>e===`*`;function _y(e,t){let n=e.split(`/`),r=n.length;return n.some(gy)&&(r+=hy),t&&(r+=fy),n.filter(e=>!gy(e)).reduce((e,t)=>e+(uy.test(t)?dy:t===``?py:my),r)}function vy(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function yy(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=by({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=by({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;
140Object.assign(i,u.params),o.push({params:i,pathname:jy([a,u.pathname]),pathnameBase:My(jy([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=jy([a,u.pathnameBase]))}return o}function by(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=xy(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return e[r]=i&&!c?void 0:(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function xy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zv(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function Sy(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Zv(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function Cy(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function wy(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?ny(e):e,a;return n?(n=Ay(n),a=n.startsWith(`/`)?Ty(n.substring(1),`/`):Ty(n,t)):a=t,{pathname:a,search:Ny(r),hash:Py(i)}}function Ty(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ey(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`].  Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in <Link to="..."> and the router will parse it for you.`}function Dy(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Oy(e,t){let n=Dy(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function ky(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=ny(e):(i=Kv({},e),Xv(!i.pathname||!i.pathname.includes(`?`),Ey(`?`,`pathname`,`search`,i)),Xv(!i.pathname||!i.pathname.includes(`#`),Ey(`#`,`pathname`,`hash`,i)),Xv(!i.search||!i.search.includes(`#`),Ey(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=wy(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Ay=e=>e.replace(/\/\/+/g,`/`),jy=e=>Ay(e.join(`/`)),My=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Ny=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Py=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function Fy(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var Iy=[`post`,`put`,`patch`,`delete`];new Set(Iy);var Ly=[`get`,...Iy];new Set(Ly);function Ry(){return Ry=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ry.apply(null,arguments)}var zy=s.createContext(null),By=s.createContext(null),Vy=s.createContext(null),Hy=s.createContext(null),Uy=s.createContext({outlet:null,matches:[],isDataRoute:!1}),Wy=s.createContext(null);function Gy(e,t){let{relative:n}=t===void 0?{}:t;!Ky()&&Xv(!1);let{basename:r,navigator:i}=s.useContext(Vy),{hash:a,pathname:o,search:c}=Qy(e,{relative:n}),l=o;return r!==`/`&&(l=o===`/`?r:jy([r,o])),i.createHref({pathname:l,search:c,hash:a})}function Ky(){return s.useContext(Hy)!=null}function qy(){return!Ky()&&Xv(!1),s.useContext(Hy).location}function Jy(e){!Ky()&&Xv(!1);let{pathname:t}=qy();return s.useMemo(()=>by(e,Sy(t)),[t,e])}function Yy(e){s.useContext(Vy).static||s.useLayoutEffect(e)}function Xy(){let{isDataRoute:e}=s.useContext(Uy);return e?pb():Zy()}function Zy(){!Ky()&&Xv(!1);let e=s.useContext(zy),{basename:t,future:n,navigator:r}=s.useContext(Vy),{matches:i}=s.useContext(Uy),{pathname:a}=qy(),o=JSON.stringify(Oy(i,n.v7_relativeSplatPath)),c=s.useRef(!1);return Yy(()=>{c.current=!0}
140),s.useCallback(function(n,i){if(i===void 0&&(i={}),!c.current)return;if(typeof n==`number`){r.go(n);return}let s=ky(n,JSON.parse(o),a,i.relative===`path`);e==null&&t!==`/`&&(s.pathname=s.pathname===`/`?t:jy([t,s.pathname])),(i.replace?r.replace:r.push)(s,i.state,i)},[t,r,o,a,e])}function Qy(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=s.useContext(Vy),{matches:i}=s.useContext(Uy),{pathname:a}=qy(),o=JSON.stringify(Oy(i,r.v7_relativeSplatPath));return s.useMemo(()=>ky(e,JSON.parse(o),a,n===`path`),[e,o,a,n])}function $y(e,t){return eb(e,t)}function eb(e,t,n,r){!Ky()&&Xv(!1);let{navigator:i}=s.useContext(Vy),{matches:a}=s.useContext(Uy),o=a[a.length-1],c=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:`/`;o&&o.route;let u=qy(),d;if(t){var f;let e=typeof t==`string`?ny(t):t;!(l===`/`||(f=e.pathname)!=null&&f.startsWith(l))&&Xv(!1),d=e}else d=u;let p=d.pathname||`/`,m=p;if(l!==`/`){let e=l.replace(/^\//,``).split(`/`);m=`/`+p.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let h=ay(e,{pathname:m}),g=ab(h&&h.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:jy([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?l:jy([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,n,r);return t&&g?s.createElement(Hy.Provider,{value:{location:Ry({pathname:`/`,search:``,hash:``,state:null,key:`default`},d),navigationType:qv.Pop}},g):g}function tb(){let e=fb(),t=Fy(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return s.createElement(s.Fragment,null,s.createElement(`h2`,null,`Unexpected Application Error!`),s.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?s.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var nb=s.createElement(tb,null),rb=class extends s.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error===void 0?this.props.children:s.createElement(Uy.Provider,{value:this.props.routeContext},s.createElement(Wy.Provider,{value:this.state.error,children:this.props.component}))}};function ib(e){let{routeContext:t,match:n,children:r}=e,i=s.useContext(zy);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),s.createElement(Uy.Provider,{value:t},r)}function ab(e,t,n,r){if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n?.errors;if(o!=null){let e=a.findIndex(e=>e.route.id&&o?.[e.route.id]!==void 0);!(e>=0)&&Xv(!1),a=a.slice(0,Math.min(a.length,e+1))}let c=!1,l=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&e[t.route.id]===void 0&&(!r||r[t.route.id]===void 0);if(t.route.lazy||i){c=!0,a=l>=0?a.slice(0,l+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let u,d=!1,f=null,p=null;n&&(u=o&&r.route.id?o[r.route.id]:void 0,f=r.route.errorElement||nb,c&&(l<0&&i===0?(hb(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):l===i&&(d=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,i+1)),h=()=>{let t;return t=u?f:d?p:r.route.Component?s.createElement(r.route.Component,null):r.route.element?r.route.element:e,s.createElement(ib,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||i===0)?s.createElement(rb,{location:n.location,revalidation:n.revalidation,component:f,error:u,children:h(),routeC
140ontext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var ob=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(ob||{}),sb=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(sb||{});function cb(e){let t=s.useContext(zy);return!t&&Xv(!1),t}function lb(e){let t=s.useContext(By);return!t&&Xv(!1),t}function ub(e){let t=s.useContext(Uy);return!t&&Xv(!1),t}function db(e){let t=ub(e),n=t.matches[t.matches.length-1];return!n.route.id&&Xv(!1),n.route.id}function fb(){let e=s.useContext(Wy),t=lb(sb.UseRouteError),n=db(sb.UseRouteError);return e===void 0?t.errors?.[n]:e}function pb(){let{router:e}=cb(ob.UseNavigateStable),t=db(sb.UseNavigateStable),n=s.useRef(!1);return Yy(()=>{n.current=!0}),s.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,Ry({fromRouteId:t},i)))},[e,t])}var mb={};function hb(e,t,n){!t&&!mb[e]&&(mb[e]=!0)}var gb=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function _b(e,t){e?.v7_startTransition===void 0&&gb(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&gb(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&gb(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&gb(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&gb(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&gb(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}function vb(e){Xv(!1)}function yb(e){let{basename:t=`/`,children:n=null,location:r,navigationType:i=qv.Pop,navigator:a,static:o=!1,future:c}=e;Ky()&&Xv(!1);let l=t.replace(/^\/*/,`/`),u=s.useMemo(()=>({basename:l,navigator:a,static:o,future:Ry({v7_relativeSplatPath:!1},c)}),[l,c,a,o]);typeof r==`string`&&(r=ny(r));let{pathname:d=`/`,search:f=``,hash:p=``,state:m=null,key:h=`default`}=r,g=s.useMemo(()=>{let e=Cy(d,l);return e==null?null:{location:{pathname:e,search:f,hash:p,state:m,key:h},navigationType:i}},[l,d,f,p,m,h,i]);return g==null?null:s.createElement(Vy.Provider,{value:u},s.createElement(Hy.Provider,{children:n,value:g}))}function bb(e){let{children:t,location:n}=e;return $y(Sb(t),n)}var xb=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(xb||{});new Promise(()=>{}
140),s.Component;function Sb(e,t){t===void 0&&(t=[]);let n=[];return s.Children.forEach(e,(e,r)=>{if(!s.isValidElement(e))return;let i=[...t,r];if(e.type===s.Fragment){n.push.apply(n,Sb(e.props.children,i));return}e.type!==vb&&Xv(!1),e.props.index&&e.props.children&&Xv(!1);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Sb(e.props.children,i)),n.push(a)}),n}function Cb(){return Cb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cb.apply(null,arguments)}function wb(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Tb(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Eb(e,t){return e.button===0&&(!t||t===`_self`)&&!Tb(e)}function Db(e){return e===void 0&&(e=``),new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Ob(e,t){let n=Db(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var kb=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],Ab=[`aria-current`,`caseSensitive`,`className`,`end`,`style`,`to`,`viewTransition`,`children`],jb=`6`;try{window.__reactRouterVersion=jb}catch{}var Mb=s.createContext({isTransitioning:!1}),Nb=s.startTransition;function Pb(e){let{basename:t,children:n,future:r,window:i}=e,a=s.useRef();a.current??=Yv({window:i,v5Compat:!0});let o=a.current,[c,l]=s.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=s.useCallback(e=>{u&&Nb?Nb(()=>l(e)):l(e)},[l,u]);return s.useLayoutEffect(()=>o.listen(d),[o,d]),s.useEffect(()=>_b(r),[r]),s.createElement(yb,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:o,future:r})}var Fb=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Ib=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lb=s.forwardRef(function(e,t){let{onClick:n,relative:r,reloadDocument:i,replace:a,state:o,target:c,to:l,preventScrollReset:u,viewTransition:d}=e,f=wb(e,kb),{basename:p}=s.useContext(Vy),m,h=!1;if(typeof l==`string`&&Ib.test(l)&&(m=l,Fb))try{let e=new URL(window.location.href),t=l.startsWith(`//`)?new URL(e.protocol+l):new URL(l),n=Cy(t.pathname,p);t.origin===e.origin&&n!=null?l=n+t.search+t.hash:h=!0}catch{}let g=Gy(l,{relative:r}),_=Hb(l,{replace:a,state:o,target:c,preventScrollReset:u,relative:r,viewTransition:d});function v(e){n&&n(e),e.defaultPrevented||_(e)}return s.createElement(`a`,Cb({},f,{href:m||g,onClick:h||i?n:v,ref:t,target:c}))}),Rb=s.forwardRef(function(e,t){let{"aria-current":n=`page`,caseSensitive:r=!1,className:i=``,end:a=!1,style:o,to:c,viewTransition:l,children:u}=e,d=wb(e,Ab),f=Qy(c,{relative:d.relative}),p=qy(),m=s.useContext(By),{navigator:h,basename:g}=s.useContext(Vy),_=m!=null&&Wb(f)&&l===!0,v=h.encodeLocation?h.encodeLocation(f).pathname:f.pathname,y=p.pathname,b=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;r||(y=y.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&g&&(b=Cy(b,g)||b);let x=v!==`/`&&v.endsWith(`/`)?v.length-1:v.length,S=y===v||!a&&y.startsWith(v)&&y.charAt(x)===`/`,C=b!=null&&(b===v||!a&&b.startsWith(v)&&b.charAt(v.length)===`/`),w={isActive:S,isPending:C,isTransitioning:_},T=S?n:void 0,E;E=typeof i==`function`?i(w):[i,S?`active`:null,C?`pending`:null,_?`transitioning`:null].filter(Boolean).join(` `);let D=typeof o==`function`?o(w):o;return s.createElement(Lb,Cb({},d,{"aria-current":T,className:E,ref:t,style:D,to:c,viewTransition:l}),typeof u==`function`?u(w):u)}),zb;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(zb||={});var Bb;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Bb||={});function Vb(e){let t=s.useContext(zy);return!t&&Xv(!1),t}function Hb(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:c}=t===void 0?{}:t,l=Xy(),u=qy(),d=Qy(e,{relative:o});return s.useCallback(t=>{if(Eb(t,n)){t.preventDefault();let n=r===void 0?ty(u)===ty(d):r;l(e,{replace:n,state:i,preventScrollReset:a,relative:o,viewTransition:c})}},[u,l,d,r,i,n,e,a,o,c])}function Ub(e){let t=s.useRef(Db(e)),n=s.useRef(!1),r=qy(),i=s.useMemo(()=>Ob(r.search,n.current?null:t.current),[r.search]),a=Xy();return[i,s.useCallback((e,t)=>{let r=Db(typeof e==`function`?e(i):e);n.current=!0,a(`?`+r,t)},[a,i])]}function Wb(e,t){t===void 0&&(t={});let n=s.useContext(Mb);n??Xv(!1);let{basename:r}=Vb(zb.useViewTransitionState),i=Qy(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=Cy(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Cy(n.nextLocation.pathname,r)||n.nextLocation.pathname;return by(i.pathname,o)!=null||by(i.pathname,a)!=null}var Gb=(e,t=`prod`,n)=>{(t==`prodtest`||t==`test`||t==`sandbox`)&&(t=`stage`),t==`local`&&(t=`dev`);let r=Date.now();return`https://${t==`prod`?``:`${t}-`}media.banknorwegian.com${n?`/`+n:``}${e}?v=${r}`},Kb=s.forwardRef((e,t)=>
140(0,U.jsx)(Af,{...e,ref:t})),qb=(e,t=`prod`,n=1500,r,i,a)=>{if(!e)return;let o=a||`cms`;return(t==`prodtest`||t==`test`||t==`sandbox`)&&(t=`stage`),t==`local`&&(t=`dev`),e.match(/\.svg/i)||i?`https://res.cloudinary.com/${t==`prod`?``:`${t}-`}banknorwegian/image/upload/v1/${o}${e}`:`https://res.cloudinary.com/${t==`prod`?``:`${t}-`}banknorwegian/image/upload/${Yb(r)}${Jb(n)}/v1/${o}${e}`},Jb=e=>`c_limit,w_auto,f_auto,q_auto${e===void 0?``:`/c_limit,w_${e}`}/dpr_auto`,Yb=e=>e?`ar_${e},c_fill,g_auto/`:``,Xb={".explainer-trigger":{fontWeight:`inherit`,cursor:`pointer`,border:`unset`,backgroundColor:`primary.lighter`,p:0,":hover":{backgroundColor:`primary.light`},".explainer-trigger-icon":{width:`1em`,height:`1em`,ml:`-0.1em`,mb:`-0.1em`}},".explainer-popup":{margin:0,inset:`auto`,left:`calc(50vw - 10em)`,top:`calc(anchor(bottom) + 0.8rem)`,justifySelf:`anchor-center`,maxWidth:`min(90vw, 20em)`,padding:2,border:`0.1rem solid`,borderColor:`tertiary.light`,borderRadius:2,backgroundColor:`background.paper`,textAlign:`left`,fontSize:{xs:`1.3rem`,md:`1.6rem`},fontWeight:`normal`},".explainer-popup-close":{position:`absolute`,top:`0.4rem`,right:`0.4rem`,backgroundColor:`transparent`,border:`unset`,cursor:`pointer`,opacity:.5,":hover":{opacity:1}}},Zb=typeof CSS<`u`&&!!CSS.supports?.(`top: calc(anchor(bottom) + 0.8rem)`)&&!!CSS.supports?.(`justify-self: anchor-center`);function Qb(e,t){let n=e.getBoundingClientRect(),r=window.scrollX||document.documentElement.scrollLeft,i=(window.scrollY||document.documentElement.scrollTop)+n.bottom+8,a=r+n.left+n.width/2-t.offsetWidth/2;Object.assign(t.style,{position:`absolute`,top:`${i}px`,left:`${Math.max(8,a)}px`})}function $b(e){if(e.dataset.explainerBound===`1`)return;let t=e.getAttribute(`popovertarget`);if(!t)return;let n=document.getElementById(t);if(!n)return;e.dataset.explainerBound=`1`;let r=()=>Qb(e,n);n.addEventListener(`toggle`,()=>{n.matches(`:popover-open`)&&r()});let i=new ResizeObserver(r);i.observe(e),i.observe(n);let a=()=>{n.matches(`:popover-open`)&&r()};window.addEventListener(`scroll`,a,{passive:!0}),window.addEventListener(`resize`,a),n._explainerCleanup=()=>{i.disconnect(),window.removeEventListener(`scroll`,a),window.removeEventListener(`resize`,a)}}function ex(e=document){if(Zb)return;let t=`button[popovertarget].explainer-trigger`;if(e.querySelectorAll(t).forEach($b),e._explainerObserver)return;let n=e=>{e instanceof HTMLElement&&(e.matches(t)&&$b(e),e.querySelectorAll?.(t).forEach(e=>$b(e)))},r=new MutationObserver(e=>{for(let t of e)t.type===`childList`&&t.addedNodes.length&&t.addedNodes.forEach(n)});r.observe(e,{childList:!0,subtree:!0}),e._explainerObserver=r}var tx=s.createContext({useCloudinary:!0,mediaUrl:`https://cms.banknorwegian.com`,env:`prod`,resolveUrl:e=>e}),nx=({richTextContext:e,children:t})=>(0,U.jsx)(tx.Provider,{value:e,"data-component":`RichTextContextProvider`,children:t}),rx=s.memo(e=>{let{useCloudinary:t,mediaUrl:n,env:r,resolveUrl:i}=(0,s.useContext)(tx),a=Ko(),[o]=Ub(),c=qy(),l=e=>{for(let[t,n]of o.entries())if(t.toLowerCase()===e.toLowerCase())return n;if(c.search){let t=new URLSearchParams(c.search);for(let[n,r]of t.entries())if(n.toLowerCase()===e.toLowerCase())return r}return null},{html:u=``,useGrid:d,className:f,hidden:p,sx:m,dataUit:h}=e,g=(0,s.useMemo)(()=>u?(e=>{let i=e.matchAll(/src="(.*?)"/g),a=e;for(let e of i){let i=e[1];if(i?.match(/^\/media\//)){let e=t?qb(i,r):`${n}${i}`;e&&(a=a.replace(i,e))}}return a})((e=>{let i=e.matchAll(/href="(.*?)"/g),a=e;for(let e of i){let i=e[1];if(i?.match(/^\/media\//)){let e=t?Gb(i,r):`${n}${i}`;e&&(a=a.replace(i,e))}}return a})((e=>{let t=e.matchAll(/href="(.*?)"/g),n=e;for(let e of t){let t=e[1];t&&!t.match(/^http[s]{0,1}/)&&!t?.match(/^\/media\//)&&(n=n.replace(t,i(t)))}return n})((e=>{let t=/href="([^"]*\{[^}]+\}[^"]*)"/g,n=e,r=Array.from(e.matchAll(t));for(let e of r){let t=e[1],[r,i]=t.split(`?`);if(!i)continue;let a=i.split(`&`),o=[];for(let e of a){let[t,n]=e.split(`=`),r=n?.match(/^\{([^}]+)\}$/);if(r){let e=r[1],n=l(e);n!==null&&n!==``&&o.push(`${t}=${encodeURIComponent(n)}`)}else o.push(e)}let s=o.length>0?`${r}?${o.join(`&`)}`:r;s!==t&&(n=n.replace(`href="${t}"`,`href="${s}"`))}return n})(u)))):``,[u,t,r,n,i,o,c.search]),_={"& h2":{lineHeight:{xs:`3rem`,md:`3.5rem`},fontSize:{xs:`2rem`,md:`3.2rem`}},"& ul":{listStyleType:`disc`,marginBottom:`1rem`},"& p":{marginTop:0}
140,[a.breakpoints.up(`sm`)]:{display:p?.smUp?`none`:void 0},[a.breakpoints.down(`sm`)]:{display:p?.smDown?`none`:void 0,".table-responsive":{maxWidth:`calc(100vw - 11.5rem)`}},...Xb,...m};return(0,U.jsx)(Kb,{className:f||``,dangerouslySetInnerHTML:d?void 0:{__html:g},sx:_,"data-uit":d?void 0:h,"data-component":`BNRichText`,children:d&&(0,U.jsx)(hh,{container:!0,children:(0,U.jsx)(hh,{dangerouslySetInnerHTML:{__html:g},"data-uit":h,size:12})})})}),ix=e=>(0,U.jsx)(Mu,{...e,LinkComponent:Lb,"data-component":`ButtonBaseWithRouter`}),ax=s.forwardRef(({title:e,children:t,detailedText:n,severity:r,link:i,customIcon:a,id:o,resolveUrl:c,isSpa:l=()=>!1,onClick:u,sx:d,onClose:f},p)=>{let[m,h]=(0,s.useState)(!1),g=`label-${o}`,_=()=>i&&c?{component:l(i)?ix:Mu,href:l(i)?void 0:c(i.url),to:l(i)?c(i.url):void 0,target:i.target||void 0,focusRipple:!0,onClick:u,"aria-labelledby":g}:n?{component:ix,focusRipple:!0,onClick:()=>{u&&u(),h(!m)},"aria-labelledby":g}:{},v=n&&!i,y=[{borderRadius:2,textAlign:`left`,width:`100%`,borderStyle:`none`,borderWidth:`0.1rem`,backgroundColor:`${r}.light`,color:`text.primary`,".MuiAlert-icon":{color:r===`info`?`text.primary`:`${r}.dark`},".MuiAlert-action, .MuiAlert-icon":{alignSelf:v?`flex-start`:void 0},"&:hover":{backgroundColor:i||n?`${r}.lighter`:void 0}},...Array.isArray(d)?d:[d]];return(0,U.jsxs)(md,{sx:y,variant:`filled`,severity:r,iconMapping:{error:(0,U.jsx)(kc,{}),warning:(0,U.jsx)(Bc,{}),info:(0,U.jsx)(pc,{}),success:(0,U.jsx)(Ps,{})}
140,icon:ox(a),action:i?(0,U.jsx)(Is,{}):v?m?(0,U.jsx)(ec,{}):(0,U.jsx)(tc,{}):void 0,..._(),onClose:f,ref:p,children:[e&&(0,U.jsx)(Ed,{sx:{fontWeight:`bold`,marginBottom:0},children:e}),(0,U.jsx)(Kb,{sx:{display:`flex`,flexDirection:`column`,justifyContent:`center`},id:g,children:t}),v&&m&&(0,U.jsx)(rx,{html:n})]})});function ox(e){if(e){if(typeof e==`string`)switch(e){case`chat`:return(0,U.jsx)(qc,{});case`dangerous`:return(0,U.jsx)(Hs,{});case`error`:return(0,U.jsx)(Js,{});case`person`:return(0,U.jsx)(Fc,{});case`phishing`:return(0,U.jsx)(Ic,{});case`settings`:return(0,U.jsx)(Uc,{})}return e}}var sx=s.forwardRef((e,t)=>{let n=Ko(),r=cx(),{sx:i,size:a=`medium`,variant:o=`contained`,color:s=`primary`,type:c=`button`,textDecoration:l=!0,noWrap:u,children:d,...f}=e,p=[{borderRadius:o===`text`&&l?0:`3rem`,textTransform:`initial`},g(a),_(o,s),...Array.isArray(i)?i:[i]],m=u?{textOverflow:`ellipsis`,overflow:`hidden`,whiteSpace:`nowrap`}:{},h=o===`text`&&l;return h&&(m={...m,...r}),(0,U.jsx)(Hf,{color:s,sx:p,variant:o,size:a,ref:t,type:c,title:typeof d==`string`?d:void 0,...f,children:u||h?(0,U.jsx)(Kb,{component:`span`,sx:m,children:d}):(0,U.jsx)(U.Fragment,{children:d})});function g(e){switch(e){case`small`:return{fontSize:`1.2rem`};case`medium`:return{paddingTop:1,paddingBottom:1,paddingLeft:3,paddingRight:3,fontSize:`1.3rem`};case`large`:return{[n.breakpoints.up(`md`)]:{fontSize:`2rem`,paddingLeft:`4rem`,paddingRight:`4rem`}}}return{}}function _(e,t){switch(e){case`text`:return{color:`text.primary`,minWidth:`0rem`,":hover":{backgroundColor:`initial`}};case`outlined`:return{color:`text.secondary`,borderColor:n.vars.palette.text.primary,"&:hover":{borderColor:n.vars.palette.text.primary}};case`contained`:switch(t){case`primary`:return{};case`secondary`:return{}}return{}}return{}}}),cx=()=>{let e=Ko();return{textDecoration:`underline`,textDecorationColor:e.vars.palette.primary.main,textDecorationThickness:`0.2rem`,textUnderlineOffset:`0.4rem`,"&:hover":{textDecorationColor:e.vars.palette.primary.dark},...e.applyStyles(`dark`,{textDecorationColor:e.vars.palette.shadow.contrastText,textDecorationThickness:`0.1rem`,"&:hover":{textDecorationColor:e.vars.palette.shadow.contrastText}})}},lx=(0,s.forwardRef)((e,t)=>{let{sx:n,...r}=e,i=[{overflow:`hidden`,height:`100%`,display:`flex`,flexDirection:`column`,backgroundColor:`transparent`,border:`0.0625rem solid rgba(255, 255, 255, 0.2)`},e=>e.applyStyles(`dark`,{borderColor:`rgba(0, 0, 0, 0.5)`}),...Array.isArray(n)?n:n?[n]:[]];return(0,U.jsx)(Kf,{ref:t,sx:i,...r})});function ux(e){if(!e)return``;e=e.replace(`/sv`,``),e=e.split(`?`)[0],e=((e.startsWith(`/`)?``:`/`)+e).slice(1),e=(e+(e.endsWith(`/`)?``:`/`)).slice(0,-1);let t=e.split(`/`);return t.length>=2&&(t=t.slice(1)),t.join(`-`).toLowerCase()}var dx=(e,t)=>new Promise((n,r)=>{e?(async()=>{let i=new Request(e,{method:`GET`,headers:{accept:`image/svg+xml`},credentials:`omit`,signal:t,cache:`force-cache`}),a=await caches?.open(`svg-cache`),o=await a?.match(i),s=(e,t)=>{e.ok||r(`Fetch svg failed. url=${e.url} status=${e.status} statusText=${e.statusText}`),t.startsWith(`data:`)?n(e.text()):a?.put(t,e.clone()).then(async()=>{n(await e.text())})};o?s(o,e):fetch(i,{signal:t}).then(t=>{s(t,e)}).catch(e=>{t.aborted?n(null):r(e)})})():r(`Fetch svg aborted as url is not set`)}),fx=(e,t,n)=>{let r=`${e}:::${JSON.stringify(e)}:::${t}:::${window.location.href}`;return n?escape(r):r},px=[/AbortError/i,/Request aborted/i,/Hydration failed/i,/There was an error while hydrating/i,/Minified React error #(418|423|425|422)/i],mx=e=>{if(!e)return;let t=fx(e,navigator.userAgent,!1);if(px.some(e=>t?.match(e)))return;let n=fx(e,navigator.userAgent,!0);fetch(`/c/api/frontendlogger/`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:`message=`+n}).then(e=>e.json()).then(t=>{console.log(`Error logged to server: `+t+fx(e,navigator.userAgent,!1))})},hx=function(e,t,n,r,i){let a=function(e,t){return(e===void 0||e===`Script error.`)&&(t===void 0||t===``)};return function(e,t,n,r,i){if(a(e,t))return!0;let o=`[Error]: `+e;o+=` [URL]: `+t,o+=` [Line]: `+n,r&&(o+=` [Col]: `+r),i&&(o+=` [Stack]: `+JSON.stringify(i)),mx(o)}(e,t,n,r,i),!0},gx={logError:mx,getLogString:fx,windowOnErrorHandler:hx,attachLoggerToOnErrorEvent:()=>{window.addEventListener(`error`,e=>{let{error:t,lineno:n,colno:r,message:i}=e;hx(`message=${i} error.message=${t?.message}`,window?.location?.href,n?.toString(),r?.toString(),t?.stack)})}};function _x(e){return Array.isArray(e)?e:[e]}var vx=e=>{let{sx:t,src:n,svgString:r}
140=e,i=new AbortController,[a,o]=(0,s.useState)(r),c=[{width:`2.4rem`,height:`2.4rem`,"& svg":{width:`inherit`,height:`inherit`}},..._x(t)];return(0,s.useEffect)(()=>{if(n)return dx(n,i.signal).then(e=>{typeof e==`string`&&(e.startsWith(`<?xml`)||e.startsWith(`<svg`)||e.startsWith(`<xml`))&&!i.signal.aborted&&o(e)}).catch(e=>{i.signal.aborted||gx.logError(e)}),()=>{i.abort()}},[]),a?(0,U.jsx)(Kb,{"aria-hidden":!0,sx:c,dangerouslySetInnerHTML:{__html:a},"data-component":`BNInlineSvgIcon`}):(0,U.jsx)(Kb,{"aria-hidden":!0,sx:c,children:(0,U.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,viewBox:`0 0 24 24`})})},yx=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M4.89,20.78c-.49,0-.89-.4-.89-.89v-10.07c0-.56.27-1.09.72-1.43l6.75-5c.31-.23.74-.23,1.06,0l6.75,5c.45.34.72.87.72,1.43v10.07c0,.49-.4.89-.89.89h-4.22c-.49,0-.89-.4-.89-.89v-5.14c0-.49-.4-.89-.89-.89h-2.22c-.49,0-.89.4-.89.89v5.14c0,.49-.4.89-.89.89h-4.22Z`})}),`Home`),bx=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M20.87,5H3.13c-.62,0-1.13.51-1.13,1.13v10.74c0,.62.51,1.13,1.13,1.13h17.74c.62,0,1.13-.51,1.13-1.13V6.13c0-.62-.51-1.13-1.13-1.13ZM6.77,10.64c0,.18-.15.33-.33.33h-2.33c-.18,0-.33-.15-.33-.33v-1.52c0-.18.15-.33.33-.33h2.33c.18,0,.33.15.33.33v1.52Z`})}),`Creditcard`),xx=X((0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`path`,{d:`M1.86948 17.9185L7.13678 15.162C7.35511 15.0528 7.62803 14.9983 7.90095 15.0255L15.4062 16.0353C15.9247 16.1172 16.3068 16.5812 16.2249 17.0997V17.127C16.143 17.5637 15.761 17.9185 15.2697 17.9185H11.0668C11.0395 17.9185 10.9849 17.9458 10.9576 17.9458L10.6574 18.2187C10.6028 18.2733 10.6028 18.3551 10.6574 18.4097C10.6847 18.437 10.712 18.4643 10.7666 18.4643L13.6049 18.6826C13.8232 18.6826 15.8428 18.8191 16.0612 18.7372L16.607 18.4643C16.8799 18.2733 17.071 18.0003 17.1255 17.6728L17.2074 17.1543C17.262 16.8268 17.4803 16.5539 17.8078 16.472L22.9387 15.0255C23.1843 14.971 23.4299 14.9983 23.6483 15.162C24.0303 15.4349 24.1122 15.9535 23.8393 16.3355C23.7574 16.4447 23.6483 16.5266 23.5391 16.6085L19.8274 18.4643L15.7337 20.7841C15.5426 20.8933 15.297 20.9751 15.0787 20.9751L5.69032 21.4118C5.39011 21.4118 5.0899 21.521 4.84428 21.6574L3.58886 22.3943C3.42511 22.5035 3.20677 22.4762 3.07032 22.3124L0.122813 19.2285C-0.0409375 19.0647 -0.0409375 18.7918 0.122813 18.6281C0.177396 18.5735 0.204688 18.5462 0.286563 18.5462L1.86948 17.9185Z`}),(0,U.jsx)(`rect`,{opacity:`0.6`,x:`12`,y:`12.5`,width:`8`,height:`2`,rx:`0.5`}),(0,U.jsx)(`rect`,{opacity:`0.6`,x:`12`,y:`9.5`,width:`8`,height:`2`,rx:`0.5`}),(0,U.jsx)(`rect`,{opacity:`0.6`,x:`12`,y:`6.5`,width:`8`,height:`2`,rx:`0.5`})]}),`Loan`),Sx=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M20.18,10.31h-.79v-.37c0-1.67-1.08-3.12-2.64-3.6v-1.67c0-.35-.29-.64-.64-.64-1.34,0-2.53.86-2.95,2.11h-6.7c-2.09.02-3.8,1.74-3.8,3.8v1.12c-.4.29-.66.77-.66,1.25v.02c.02.53.26.97.68,1.23v.86c0,1.58.94,2.97,2.4,3.54v.97c0,.59.48,1.05,1.05,1.05h.97c.59,0,1.05-.48,1.05-1.05v-.7h4.84v.7c0,.59.48,1.05,1.05,1.05h.97c.59,0,1.05-.48,1.05-1.05v-.73c1.21-.18,2.26-.9,2.84-1.96h1.27c1.01,0,1.82-.79,1.82-1.82v-2.29c0-1.01-.81-1.82-1.82-1.82ZM11.85,7.69h-3.52c-.18,0-.33-.15-.33-.33s.15-.33.33-.33h3.52c.18,0,.33.15.33.33s-.15.33-.33.33ZM16.84,9.34c.24,0,.44.55.44,1.21s-.2,1.21-.44,1.21-.44-.55-.44-1.21.2-1.21.44-1.21ZM17.58,16.11c-.73,0-1.96-.29-1.96-1.32,0-.18.15-.33.33-.33s.33.15.33.33c0,.64,1.27.66,1.3.66.18,0,.33.15.33.33s-.15.33-.33.33Z`})}),`Savings`),Cx=e=>{if(!e?.abTest)return;window.dataLayer=window.dataLayer||[];let{currentVariant:t,abTest:n}=e,{control:r,name:i}=n,a=Ex(i),o=r===t?`control`:Tx(t,4);window.dataLayer.push({event:`GAEvent`,GA4EventName:`experience_impression`,GA4InputFieldName1:`exp_variant_string`,GA4InputFieldValue1:`internal-${a}-${o}`})},wx=(e,t,n)=>{let{pathname:r,search:i,hash:a}=window.location,o=`${r}${i}${a}`;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`virtual_pageview`,virtualPagePath:o,virtualPageTitle:e,virtualNavigation:t}),Cx(n)};function Tx(e,t){let n=e.split(`/`);return t<n.length?Ex(n[t]):`unknown`}function Ex(e){return e?.replace(/-/g,`_`)??``}var Dx=/(.*)\/no\/|\/se\/|\/dk\/|\/fi\/|\/de\/|\/es\/|\/com\//gi,Ox=/(.*)\/FISVE\//gi,kx=e=>{if(!e)return``;if(Ax(e))return e;let[t,n]=e.split(`?`),r=Nx(t.toLowerCase()),i=r.match(Ox)?r.replace(Ox,`/sv/`):r.replace(Dx,`/`);return n?`${i}?${n}`:i};function Ax(e){return e.match(/^http(s)?:\/\/.*/)}function jx(e,t,n){let r=new URLSearchParams(window.location.search);
140e&&r.set(e,t||``),n&&n.forEach(e=>{r.delete(e)});let i=r.toString()?`${window.location.pathname}?${decodeURIComponent(r.toString())}`:window.location.pathname;window.history.replaceState({},``,i),wx(document.title,`spa_navigation`)}function Mx(e,t,n){if(!e)return null;let r=e.url;return t&&t.id&&(r+=`?category=${t.id}`,n&&n.id&&(r+=`&subcategory=${n.id}`)),kx(r)}function Nx(e){return e?e.replace(/([/]{1,})/g,`/`):``}var Px=(0,s.createContext)({});function Fx(e){let t=(0,s.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ix=typeof window<`u`,Lx=Ix?s.useLayoutEffect:s.useEffect,Rx=(0,s.createContext)(null);function zx(e,t){e.indexOf(t)===-1&&e.push(t)}function Bx(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Vx=(e,t,n)=>n>t?t:n<e?e:n,Hx={},Ux=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Wx(e){return typeof e==`object`&&!!e}var Gx=e=>/^0[^.\s]+$/u.test(e);function Kx(e){let t;return()=>(t===void 0&&(t=e()),t)}var qx=e=>e,Jx=(e,t)=>n=>t(e(n)),Yx=(...e)=>e.reduce(Jx),Xx=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Zx=class{constructor(){this.subscriptions=[]}add(e){return zx(this.subscriptions,e),()=>Bx(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Qx=e=>e*1e3,$x=e=>e/1e3;function eS(e,t){return t?1e3/t*e:0}var tS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,nS=1e-7,rS=12;function iS(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=tS(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>nS&&++s<rS);return o}function aS(e,t,n,r){if(e===t&&n===r)return qx;let i=t=>iS(t,0,1,e,n);return e=>e===0||e===1?e:tS(i(e),t,r)}var oS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,sS=e=>t=>1-e(1-t),cS=aS(.33,1.53,.69,.99),lS=sS(cS),uS=oS(lS),dS=e=>(e*=2)<1?.5*lS(e):.5*(2-2**(-10*(e-1))),fS=e=>1-Math.sin(Math.acos(e)),pS=sS(fS),mS=oS(fS),hS=aS(.42,0,1,1),gS=aS(0,0,.58,1),_S=aS(.42,0,.58,1),vS=e=>Array.isArray(e)&&typeof e[0]!=`number`,yS=e=>Array.isArray(e)&&typeof e[0]==`number`,bS={linear:qx,easeIn:hS,easeInOut:_S,easeOut:gS,circIn:fS,circInOut:mS,circOut:pS,backIn:lS,backInOut:uS,backOut:cS,anticipate:dS},xS=e=>typeof e==`string`,SS=e=>{if(yS(e)){e.length;let[t,n,r,i]=e;return aS(t,n,r,i)}return xS(e)?(bS[e],`${e}`,bS[e]):e},CS=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],wS={value:null,addProjectionMetrics:null};function TS(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0,[n,r]=[r,n],n.forEach(l),t&&wS.value&&wS.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var ES=40;function DS(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=CS.reduce((e,n)=>(e[n]=TS(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Hx.useManualTiming?i.timestamp:performance.now();n=!1,Hx.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,ES),1)),i.timestamp=a,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:CS.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<CS.length;t++)o[CS[t]].cancel(e)},state:i,steps:o}}var{schedule:OS,cancel:kS,state:AS,steps:jS}=DS(typeof requestAnimationFrame<`u`?requestAnimationFrame:qx,!0),MS;function NS(){MS=void 0}var PS={now:()=>(MS===void 0&&PS.set(AS.isProcessing||Hx.useManualTiming?AS.timestamp:performance.now()),MS),set:e=>{MS=e,queueMicrotask(NS)}},FS={layout:0,mainThread:0,waapi:0},IS=e=>t=>typeof t==`string`&&t.startsWith(e),LS=IS(`--`),RS=IS(`var(--`),zS=e=>RS(e)?BS.test(e.split(`/*`)[0].trim()):!1,BS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,VS={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},HS={...VS,transform:e=>Vx(0,1,e)},US={...VS,default:1},WS=e=>Math.round(e*1e5)/1e5,GS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function KS(e){return e==null}var qS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,JS=(e,t)=>n=>!!(typeof n==`string`&&qS.test(n)&&n.startsWith(e)||t&&!KS(n)&&Object.prototype.hasOwnProperty.call(n,t)),YS=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(GS);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},XS=e=>Vx(0,255,e),ZS={...VS,transform:e=>Math.round(XS(e))},QS={test:JS(`rgb`,`red`),parse:YS(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+ZS.transform(e)+`, `+ZS.transform(t)+`, `+ZS.transform(n)+`, `+WS(HS.transform(r))+`)`};function $S(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
140a:i?parseInt(i,16)/255:1}}var eC={test:JS(`#`),parse:$S,transform:QS.transform},tC=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),nC=tC(`deg`),rC=tC(`%`),$=tC(`px`),iC=tC(`vh`),aC=tC(`vw`),oC={...rC,parse:e=>rC.parse(e)/100,transform:e=>rC.transform(e*100)},sC={test:JS(`hsl`,`hue`),parse:YS(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+rC.transform(WS(t))+`, `+rC.transform(WS(n))+`, `+WS(HS.transform(r))+`)`},cC={test:e=>QS.test(e)||eC.test(e)||sC.test(e),parse:e=>QS.test(e)?QS.parse(e):sC.test(e)?sC.parse(e):eC.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?QS.transform(e):sC.transform(e),getAnimatableNone:e=>{let t=cC.parse(e);return t.alpha=0,cC.transform(t)}},lC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function uC(e){return isNaN(e)&&typeof e==`string`&&(e.match(GS)?.length||0)+(e.match(lC)?.length||0)>0}var dC=`number`,fC=`color`,pC=`var`,mC=`var(`,hC="${}",gC=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _C(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(gC,e=>(cC.test(e)?(r.color.push(a),i.push(fC),n.push(cC.parse(e))):e.startsWith(mC)?(r.var.push(a),i.push(pC),n.push(e)):(r.number.push(a),i.push(dC),n.push(parseFloat(e))),++a,hC)).split(hC),indexes:r,types:i}}function vC(e){return _C(e).values}function yC(e){let{split:t,types:n}=_C(e),r=t.length;return e=>{let i=``;for(let a=0;a<r;a++)if(i+=t[a],e[a]!==void 0){let t=n[a];i+=t===dC?WS(e[a]):t===fC?cC.transform(e[a]):e[a]}return i}}var bC=e=>typeof e==`number`?0:cC.test(e)?cC.getAnimatableNone(e):e;function xC(e){let t=vC(e);return yC(e)(t.map(bC))}var SC={test:uC,parse:vC,createTransformer:yC,getAnimatableNone:xC};function CC(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function wC({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=CC(s,r,e+1/3),a=CC(s,r,e),o=CC(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function TC(e,t){return n=>n>0?t:e}var EC=(e,t,n)=>e+(t-e)*n,DC=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},OC=[eC,QS,sC],kC=e=>OC.find(t=>t.test(e));function AC(e){let t=kC(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===sC&&(n=wC(n)),n}var jC=(e,t)=>{let n=AC(e),r=AC(t);if(!n||!r)return TC(e,t);let i={...n};return e=>(i.red=DC(n.red,r.red,e),i.green=DC(n.green,r.green,e),i.blue=DC(n.blue,r.blue,e),i.alpha=EC(n.alpha,r.alpha,e),QS.transform(i))},MC=new Set([`none`,`hidden`]);function NC(e,t){return MC.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function PC(e,t){return n=>EC(e,t,n)}function FC(e){return typeof e==`number`?PC:typeof e==`string`?zS(e)?TC:cC.test(e)?jC:zC:Array.isArray(e)?IC:typeof e==`object`?cC.test(e)?jC:LC:TC}function IC(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>FC(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function LC(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=FC(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function RC(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var zC=(e,t)=>{let n=SC.createTransformer(t),r=_C(e),i=_C(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?MC.has(e)&&!i.values.length||MC.has(t)&&!r.values.length?NC(e,t):Yx(IC(RC(r,i),i.values),n):(`${e}${t}`,TC(e,t))};function BC(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?EC(e,t,n):FC(e)(e,t)}var VC=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>OS.update(t,e),stop:()=>kS(t),now:()=>AS.isProcessing?AS.timestamp:PS.now()}},HC=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},UC=2e4;function WC(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function GC(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(WC(r),UC);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:$x(i)}}var KC=5;function qC(e,t,n){let r=Math.max(t-KC,0);return eS(n-e(r),t-r)}var JC={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},YC=.001;function XC({duration:e=JC.duration,bounce:t=JC.bounce,velocity:n=JC.velocity,mass:r=JC.mass}){let i,a;JC.maxDuration;let o=1-t;o=Vx(JC.minDamping,JC.maxDamping,o),e=Vx(JC.minDuration,JC.maxDuration,$x(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=$C(t,o),c=Math.exp(-i);return YC-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=$C(t**2,o);return(-i(t)+YC>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=QC(i,a,s);if(e=Qx(e),isNaN(c))return{stiffness:JC.stiffness,damping:JC.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var ZC=12;function QC(e,t,n){let r=n;for(let n=1;n<ZC;n++)r-=e(r)/t(r);return r}function $C(e,t){return e*Math.sqrt(1-t*t)}var ew=[`duration`,`bounce`],tw=[`stiffness`,`damping`,`mass`];function nw(e,t){return t.some(t=>e[t]!==void 0)}function rw(e){let t={velocity:JC.velocity,stiffness:JC.stiffness,damping:JC.damping,mass:JC.mass,isResolvedFromDuration:!1,...e};if(!nw(e,tw)&&nw(e,ew)){if(e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Vx(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:JC.mass,stiffness:i,damping:a}}else{let n=XC(e);t={...t,...n,mass:JC.mass},t.isResolvedFromDuration=!0}}return t}function iw(e=JC.visualDuration,t=JC.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=rw({...n,velocity:-$x(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=$x(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?JC.restSpeed.granular:JC.restSpeed.default,i||=v?JC.restDelta.granular:JC.restDelta.default;let y;if(h<1){let e=$C(_,h);y=t=>{let n=Math.exp(-h*_*t);return o-n*((m+h*_*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(h===1)y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}
140let b={calculatedDuration:p&&d||null,next:e=>{let t=y(e);if(p)s.done=e>=d;else{let n=e===0?m:0;h<1&&(n=e===0?Qx(m):qC(y,e,t));let a=Math.abs(n)<=r,c=Math.abs(o-t)<=i;s.done=a&&c}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(WC(b),UC),t=HC(t=>b.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return b}iw.applyToOptions=e=>{let t=GC(e,100,iw);return e.ease=t.ease,e.duration=Qx(t.duration),e.type=`keyframes`,e};function aw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=iw({keyframes:[f.value,m(f.value)],velocity:qC(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function ow(e,t,n){let r=[],i=n||Hx.mix||BC,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Yx(Array.isArray(t)?t[n]||qx:t,a)),r.push(a)}return r}function sw(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=ow(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Xx(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Vx(e[0],e[a-1],t)):l}function cw(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Xx(0,t,r);e.push(EC(n,1,i))}}function lw(e){let t=[0];return cw(t,e.length-1),t}function uw(e,t){return e.map(e=>e*t)}function dw(e,t){return e.map(()=>t||_S).splice(0,e.length-1)}function fw({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=vS(r)?r.map(SS):SS(r),a={done:!1,value:t[0]},o=sw(uw(n&&n.length===t.length?n:lw(t),e),t,{ease:Array.isArray(i)?i:dw(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var pw=e=>e!==null;function mw(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(pw),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var hw={decay:aw,inertia:aw,tween:fw,keyframes:fw,spring:iw};function gw(e){typeof e.type==`string`&&(e.type=hw[e.type])}var _w=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},vw=e=>e/100,yw=class extends _w{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==PS.now()&&this.tick(PS.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},FS.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;gw(e);let{type:t=fw,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||fw;s!==fw&&typeof o[0]!=`number`&&(this.mixKeyframes=Yx(vw,BC(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=WC(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Vx(0,1,n)*o}let b=_?{done:!1,value:l[0]}:y.next(v);
140i&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==aw&&(b.value=mw(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return $x(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+$x(e)}get time(){return $x(this.currentTime)}set time(e){e=Qx(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(PS.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=$x(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=VC,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(PS.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,FS.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function bw(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var xw=e=>e*180/Math.PI,Sw=e=>ww(xw(Math.atan2(e[1],e[0]))),Cw={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Sw,rotateZ:Sw,skewX:e=>xw(Math.atan(e[1])),skewY:e=>xw(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ww=e=>(e%=360,e<0&&(e+=360),e),Tw=Sw,Ew=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Dw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ow={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ew,scaleY:Dw,scale:e=>(Ew(e)+Dw(e))/2,rotateX:e=>ww(xw(Math.atan2(e[6],e[5]))),rotateY:e=>ww(xw(Math.atan2(-e[2],e[0]))),rotateZ:Tw,rotate:Tw,skewX:e=>xw(Math.atan(e[4])),skewY:e=>xw(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function kw(e){return+!!e.includes(`scale`)}function Aw(e,t){if(!e||e===`none`)return kw(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ow,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Cw,i=t}if(!i)return kw(t);let a=r[t],o=i[1].split(`,`).map(Mw);return typeof a==`function`?a(o):o[a]}var jw=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Aw(n,t)};function Mw(e){return parseFloat(e.trim())}var Nw=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pw=new Set(Nw),Fw=e=>e===VS||e===$,Iw=new Set([`x`,`y`,`z`]),Lw=Nw.filter(e=>!Iw.has(e));function Rw(e){let t=[];return Lw.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var zw={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Aw(t,`x`),y:(e,{transform:t})=>Aw(t,`y`)};zw.translateX=zw.x,zw.translateY=zw.y;var Bw=new Set,Vw=!1,Hw=!1,Uw=!1;function Ww(){if(Hw){let e=Array.from(Bw).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
140t.forEach(e=>{let t=Rw(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Hw=!1,Vw=!1,Bw.forEach(e=>e.complete(Uw)),Bw.clear()}function Gw(){Bw.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Hw=!0)})}function Kw(){Uw=!0,Gw(),Ww(),Uw=!1}var qw=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Bw.add(this),Vw||(Vw=!0,OS.read(Gw),OS.resolveKeyframes(Ww))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}bw(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Bw.delete(this)}cancel(){this.state===`scheduled`&&(Bw.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Jw=e=>e.startsWith(`--`);function Yw(e,t,n){Jw(t)?e.style.setProperty(t,n):e.style[t]=n}var Xw=Kx(()=>window.ScrollTimeline!==void 0),Zw={};function Qw(e,t){let n=Kx(e);return()=>Zw[t]??n()}var $w=Qw(()=>{try{document.createElement(`div`).animate({opacity:0}
140,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),eT=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tT={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:eT([0,.65,.55,1]),circOut:eT([.55,0,1,.45]),backIn:eT([.31,.01,.66,-.59]),backOut:eT([.33,1.53,.69,.99])};function nT(e,t){if(e)return typeof e==`function`?$w()?HC(e,t):`ease-out`:yS(e)?eT(e):Array.isArray(e)?e.map(e=>nT(e,t)||tT.easeOut):tT[e]}function rT(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=nT(s,i);Array.isArray(d)&&(u.easing=d),wS.value&&FS.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return wS.value&&p.finished.finally(()=>{FS.waapi--}),p}function iT(e){return typeof e==`function`&&`applyToOptions`in e}function aT({type:e,...t}){return iT(e)&&$w()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var oT=class extends _w{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=aT(e);this.animation=rT(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=mw(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(e):Yw(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return $x(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+$x(e)}get time(){return $x(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Qx(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
140inished`}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Xw()?(this.animation.timeline=e,qx):t(this)}},sT={anticipate:dS,backInOut:uS,circInOut:mS};function cT(e){return e in sT}function lT(e){typeof e.ease==`string`&&cT(e.ease)&&(e.ease=sT[e.ease])}var uT=10,dT=class extends oT{constructor(e){lT(e),gw(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new yw({...a,autoplay:!1}),s=Qx(this.finishedTime??this.time);t.setWithVelocity(o.sample(s-uT).value,o.sample(s).value,uT),o.stop()}},fT=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(SC.test(e)||e===`0`)&&!e.startsWith(`url(`));function pT(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function mT(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=fT(i,t),s=fT(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:pT(e)||(n===`spring`||iT(n))&&r}function hT(e){e.duration=0,e.type=`keyframes`}var gT=new Set([`opacity`,`clipPath`,`filter`,`transform`]),_T=Kx(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function vT(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:c}=t.owner.getProps();return _T()&&n&&gT.has(n)&&(n!==`transform`||!c)&&!s&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var yT=40,bT=class extends _w{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=PS.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||qw;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=PS.now(),mT(e,i,a,o)||((Hx.instantAnimations||!s)&&l?.(mw(e,n,t)),e[0]=e[e.length-1],hT(n),n.repeat=0);let u={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>yT?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!c&&vT(u)?new dT({...u,element:u.motionValue.owner.current}):new yw(u);d.finished.then(()=>this.notifyFinished()).catch(qx),this.pendingTimeline&&=(this.stopTimeline=d.attachTimeline(this.pendingTimeline),void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Kw()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}},xT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ST(e){let t=xT.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function CT(e,t,n=1){`${e}`;let[r,i]=ST(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Ux(e)?parseFloat(e):e}return zS(i)?CT(i,t,n+1):i}function wT(e,t){return e?.[t]??e?.default??e}var TT=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nw]),ET={test:e=>e===`auto`,parse:e=>e},DT=e=>t=>
140t.test(e),OT=[VS,$,rC,nC,aC,iC,ET],kT=e=>OT.find(DT(e));function AT(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||Gx(e)}var jT=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function MT(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(GS)||[];if(!r)return e;let i=n.replace(r,``),a=+!!jT.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var NT=/\b([a-z-]*)\(.*?\)/gu,PT={...SC,getAnimatableNone:e=>{let t=e.match(NT);return t?t.map(MT).join(` `):e}},FT={...VS,transform:Math.round},IT={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,backgroundPositionX:$,backgroundPositionY:$,rotate:nC,rotateX:nC,rotateY:nC,rotateZ:nC,scale:US,scaleX:US,scaleY:US,scaleZ:US,skew:nC,skewX:nC,skewY:nC,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:HS,originX:oC,originY:oC,originZ:$,zIndex:FT,fillOpacity:HS,strokeOpacity:HS,numOctaves:FT},LT={...IT,color:cC,backgroundColor:cC,outlineColor:cC,fill:cC,stroke:cC,borderColor:cC,borderTopColor:cC,borderRightColor:cC,borderBottomColor:cC,borderLeftColor:cC,filter:PT,WebkitFilter:PT},RT=e=>LT[e];function zT(e,t){let n=RT(e);return n!==PT&&(n=SC),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var BT=new Set([`auto`,`none`,`0`]);function VT(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!BT.has(t)&&_C(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=zT(n,i)}var HT=class extends qw{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),zS(r))){let i=CT(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!TT.has(n)||e.length!==2)return;let[r,i]=e,a=kT(r),o=kT(i);if(a!==o){if(Fw(a)&&Fw(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else zw[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||AT(e[t]))&&n.push(t);n.length&&VT(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zw[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=zw[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
140h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function UT(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}var WT=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function GT(e){return Wx(e)&&`offsetHeight`in e}var KT=30,qT=e=>!isNaN(parseFloat(e)),JT={current:void 0},YT=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=PS.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=PS.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=qT(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Zx);let n=this.events[e].add(t);return e===`change`?()=>{n(),OS.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return JT.current&&JT.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=PS.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>KT)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,KT);return eS(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function XT(e,t){return new YT(e,t)}var{schedule:ZT,cancel:QT}=DS(queueMicrotask,!1),$T={x:!1,y:!1};function eE(){return $T.x||$T.y}function tE(e){return e===`x`||e===`y`?$T[e]?null:($T[e]=!0,()=>{$T[e]=!1}):$T.x||$T.y?null:($T.x=$T.y=!0,()=>{$T.x=$T.y=!1})}function nE(e,t){let n=UT(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function rE(e){return!(e.pointerType===`touch`||eE())}function iE(e,t,n={}){let[r,i,a]=nE(e,n),o=e=>{if(!rE(e))return;let{target:n}=e,r=t(n,e);if(typeof r!=`function`||!n)return;let a=e=>{rE(e)&&(r(e),n.removeEventListener(`pointerleave`,a))};n.addEventListener(`pointerleave`,a,i)};return r.forEach(e=>{e.addEventListener(`pointerenter`,o,i)}),a}var aE=(e,t)=>t?e===t||aE(e,t.parentElement):!1,oE=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,sE=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function cE(e){return sE.has(e.tagName)||e.tabIndex!==-1}var lE=new WeakSet;function uE(e){return t=>{t.key===`Enter`&&e(t)}}function dE(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var fE=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=uE(()=>{if(lE.has(n))return;dE(n,`down`);let e=uE(()=>{dE(n,`up`)});
140n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>dE(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function pE(e){return oE(e)&&!eE()}function mE(e,t,n={}){let[r,i,a]=nE(e,n),o=e=>{let r=e.currentTarget;if(!pE(e))return;lE.add(r);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),lE.has(r)&&lE.delete(r),pE(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||aE(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),GT(e)&&(e.addEventListener(`focus`,e=>fE(e,i)),!cE(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function hE(e){return Wx(e)&&`ownerSVGElement`in e}function gE(e){return hE(e)&&e.tagName===`svg`}var _E=e=>!!(e&&e.getVelocity),vE=[...OT,cC,SC],yE=e=>vE.find(DT(e)),bE=(0,s.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function xE(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function SE(...e){return t=>{let n=!1,r=e.map(e=>{let r=xE(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():xE(e[t],null)}}}}function CE(...e){return s.useCallback(SE(...e),e)}var wE=class extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=GT(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}};function TE({children:e,isPresent:t,anchorX:n,root:r}){let i=(0,s.useId)(),a=(0,s.useRef)(null),o=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,s.useContext)(bE),l=CE(a,e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:s,top:l,left:u,right:d}=o.current;if(t||!a.current||!e||!s)return;let f=n===`left`?`left: ${u}`:`right: ${d}`;a.current.dataset.motionPopId=i;let p=document.createElement(`style`);c&&(p.nonce=c);let m=r??document.head;return m.appendChild(p),p.sheet&&p.sheet.insertRule(`
141          [data-motion-pop-id="${i}"] {
142            position: absolute !important;
143            width: ${e}px !important;
144            height: ${s}px !important;
145            ${f}px !important;
146            top: ${l}px !important;
147          }
148        `),()=>{m.contains(p)&&m.removeChild(p)}},[t]),(0,U.jsx)(wE,{isPresent:t,childRef:a,sizeRef:o,children:s.cloneElement(e,{ref:l})})}var EE=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:c,root:l})=>{let u=Fx(DE),d=(0,s.useId)(),f=!0,p=(0,s.useMemo)(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[n,u,r]);return a&&f&&(p={...p}),(0,s.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),s.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),o===`popLayout`&&(e=(0,U.jsx)(TE,{isPresent:n,anchorX:c,root:l,children:e})),(0,U.jsx)(Rx.Provider,{value:p,children:e})};function DE(){return new Map}function OE(e=!0){let t=(0,s.useContext)(Rx);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,s.useId)();(0,s.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,s.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var kE=e=>e.key||``;function AE(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}var jE=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:c=`left`,root:l})=>{let[u,d]=OE(o),f=(0,s.useMemo)(()=>AE(e),[e]),p=o&&!u?[]:f.map(kE),m=(0,s.useRef)(!0),h=(0,s.useRef)(f),g=Fx(()=>new Map),[_,v]=(0,s.useState)(f),[y,b]=(0,s.useState)(f);Lx(()=>{m.current=!1,h.current=f;for(let e=0;e<y.length;e++){let t=kE(y[e]);p.includes(t)?g.delete(t):g.get(t)!==!0&&g.set(t,!1)}}
148,[y,p.length,p.join(`-`)]);let x=[];if(f!==_){let e=[...f];for(let t=0;t<y.length;t++){let n=y[t],r=kE(n);p.includes(r)||(e.splice(t,0,n),x.push(n))}return a===`wait`&&x.length&&(e=x),b(AE(e)),v(f),null}let{forceRender:S}=(0,s.useContext)(Px);return(0,U.jsx)(U.Fragment,{children:y.map(e=>{let s=kE(e),_=o&&!u?!1:f===y||p.includes(s);return(0,U.jsx)(EE,{isPresent:_,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:_?void 0:()=>{if(g.has(s))g.set(s,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(S?.(),b(h.current),o&&d?.(),r&&r())},anchorX:c,children:e},s)})})},ME=(0,s.createContext)({strict:!1}),NE={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},PE={};for(let e in NE)PE[e]={isEnabled:t=>NE[e].some(e=>!!t[e])};function FE(e){for(let t in e)PE[t]={...PE[t],...e[t]}}var IE=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.ignoreStrict.viewport`.split(`.`));function LE(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||IE.has(e)}var RE=e=>!LE(e);function zE(e){typeof e==`function`&&(RE=t=>t.startsWith(`on`)?!LE(t):e(t))}try{zE((tr(),t(Qn)).default)}catch{}function BE(e,t,n){let r={};for(let i in e)(i!==`values`||typeof e.values!=`object`)&&(RE(i)||n===!0&&LE(i)||!t&&!LE(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var VE=(0,s.createContext)({});function HE(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function UE(e){return typeof e==`string`||Array.isArray(e)}var WE=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],GE=[`initial`,...WE];function KE(e){return HE(e.animate)||GE.some(t=>UE(e[t]))}function qE(e){return!!(KE(e)||e.variants)}function JE(e,t){if(KE(e)){let{initial:t,animate:n}=e;return{initial:t===!1||UE(t)?t:void 0,animate:UE(n)?n:void 0}}return e.inherit===!1?{}:t}function YE(e){let{initial:t,animate:n}=JE(e,(0,s.useContext)(VE));return(0,s.useMemo)(()=>({initial:t,animate:n}),[XE(t),XE(n)])}function XE(e){return Array.isArray(e)?e.join(` `):e}var ZE={};function QE(e){for(let t in e)ZE[t]=e[t],LS(t)&&(ZE[t].isCSSVariable=!0)}function $E(e,{layout:t,layoutId:n}){return Pw.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!ZE[e]||e===`opacity`)}var eD={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},tD=Nw.length;function nD(e,t,n){let r=``,i=!0;for(let a=0;a<tD;a++){let o=Nw[a],s=e[o];if(s===void 0)continue;let c=!0;if(c=typeof s==`number`?s===+!!o.startsWith(`scale`):parseFloat(s)===0,!c||n){let e=WT(s,IT[o]);if(!c){i=!1;let t=eD[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function rD(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Pw.has(e)){o=!0;continue}if(LS(e)){i[e]=n;continue}{let t=WT(n,IT[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=nD(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var iD=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function aD(e,t,n){for(let r in t)!_E(t[r])&&!$E(r,n)&&(e[r]=t[r])}function oD({transformTemplate:e},t){return(0,s.useMemo)(()=>{let n=iD();return rD(n,t,e),Object.assign({},n.vars,n.style)},[t])}function sD(e,t){let n=e.style||{},r={};return aD(r,n,e),Object.assign(r,oD(e,t)),r}function cD(e,t){let n={},r=sD(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}
148`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var lD={offset:`stroke-dashoffset`,array:`stroke-dasharray`},uD={offset:`strokeDashoffset`,array:`strokeDasharray`};function dD(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?lD:uD;e[a.offset]=$.transform(-r);let o=$.transform(t),s=$.transform(n);e[a.array]=`${o} ${s}`}function fD(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(rD(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&dD(d,i,a,o,!1)}var pD=()=>({...iD(),attrs:{}}),mD=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function hD(e,t,n,r){let i=(0,s.useMemo)(()=>{let n=pD();return fD(n,t,mD(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};aD(t,e.style,e),i.style={...t,...i.style}}return i}var gD=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function _D(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(gD.indexOf(e)>-1||/[A-Z]/u.test(e))}function vD(e,t,n,{latestValues:r},i,a=!1){let o=(_D(e)?hD:cD)(t,r,i,e),c=BE(t,typeof e==`string`,a),l=e===s.Fragment?{}:{...c,...o,ref:n},{children:u}=t,d=(0,s.useMemo)(()=>_E(u)?u.get():u,[u]);return(0,s.createElement)(e,{...l,children:d})}function yD(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function bD(e,t,n,r){if(typeof t==`function`){let[i,a]=yD(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=yD(r);t=t(n===void 0?e.custom:n,i,a)}return t}function xD(e){return _E(e)?e.get():e}function SD({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:CD(n,r,i,e),renderState:t()}}function CD(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=xD(a[e]);let{initial:o,animate:s}=e,c=KE(e),l=qE(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!HE(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=bD(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var wD=e=>(t,n)=>{let r=(0,s.useContext)(VE),i=(0,s.useContext)(Rx),a=()=>SD(e,t,r,i);return n?a():Fx(a)};function TD(e,t,n){let{style:r}=e,i={};for(let a in r)(_E(r[a])||t.style&&_E(t.style[a])||$E(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(i[a]=r[a]);return i}var ED=wD({scrapeMotionValuesFromProps:TD,createRenderState:iD});
148function DD(e,t,n){let r=TD(e,t,n);for(let n in e)if(_E(e[n])||_E(t[n])){let t=Nw.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var OD=wD({scrapeMotionValuesFromProps:DD,createRenderState:pD}),kD=Symbol.for(`motionComponentSymbol`);function AD(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function jD(e,t,n){return(0,s.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n==`function`?n(r):AD(n)&&(n.current=r))},[t])}var MD=e=>e.replace(/([a-z])([A-Z])/gu,`$1-$2`).toLowerCase(),ND=`data-`+MD(`framerAppearId`),PD=(0,s.createContext)({});function FD(e,t,n,r,i){let{visualElement:a}=(0,s.useContext)(VE),o=(0,s.useContext)(ME),c=(0,s.useContext)(Rx),l=(0,s.useContext)(bE).reducedMotion,u=(0,s.useRef)(null);r||=o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:l}));let d=u.current,f=(0,s.useContext)(PD);d&&!d.projection&&i&&(d.type===`html`||d.type===`svg`)&&ID(u.current,n,i,f);let p=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{d&&p.current&&d.update(n,c)});let m=n[ND],h=(0,s.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return Lx(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),h.current&&d.animationState&&d.animationState.animateChanges())}),(0,s.useEffect)(()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),!1),d.enteringChildren=void 0)}),d}function ID(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:LD(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&AD(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:u,layoutScroll:c,layoutRoot:l})}function LD(e){if(e)return e.options.allowProjection===!1?LD(e.parent):e.projection}function RD(e,{forwardMotionProps:t=!1}={},n,r){n&&FE(n);let i=_D(e)?OD:ED;function a(a,o){let c,l={...(0,s.useContext)(bE),...a,layoutId:zD(a)},{isStatic:u}=l,d=YE(a),f=i(a,u);if(!u&&Ix){BD(l,n);let t=VD(l);c=t.MeasureLayout,d.visualElement=FD(e,f,l,r,t.ProjectionNode)}return(0,U.jsxs)(VE.Provider,{value:d,children:[c&&d.visualElement?(0,U.jsx)(c,{visualElement:d.visualElement,...l}):null,vD(e,a,jD(f,d.visualElement,o),f,u,t)]})}a.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let o=(0,s.forwardRef)(a);return o[kD]=e,o}function zD({layoutId:e}){let t=(0,s.useContext)(Px).id;return t&&e!==void 0?t+`-`+e:e}function BD(e,t){(0,s.useContext)(ME).strict}function VD(e){let{drag:t,layout:n}=PE;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function HD(e,t){if(typeof Proxy>`u`)return RD;let n=new Map,r=(n,r)=>RD(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,RD(a,void 0,e,t)),n.get(a))})}function UD({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function WD({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function GD(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function KD(e){return e===void 0||e===1}function qD({scale:e,scaleX:t,scaleY:n}){return!KD(e)||!KD(t)||!KD(n)}function JD(e){return qD(e)||YD(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function YD(e){return XD(e.x)||XD(e.y)}function XD(e){return e&&e!==`0%`}function ZD(e,t,n){return n+t*(e-n)}function QD(e,t,n,r,i){return i!==void 0&&(e=ZD(e,i,r)),ZD(e,n,r)+t}function $D(e,t=0,n=1,r,i){e.min=QD(e.min,t,n,r,i),e.max=QD(e.max,t,n,r,i)}function eO(e,{x:t,y:n}){$D(e.x,t.translate,t.scale,t.originPoint),$D(e.y,n.translate,n.scale,n.originPoint)}var tO=.999999999999,nO=1.0000000000001;function rO(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&oO(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,eO(e,o)),r&&JD(a.latestValues)&&oO(e,a.latestValues))}t.x<nO&&t.x>tO&&(t.x=1),t.y<nO&&t.y>tO&&(t.y=1)}function iO(e,t){e.min+=t,e.max+=t}function aO(e,t,n,r,i=.5){$D(e,t,n,EC(e.min,e.max,i),r)}function oO(e,t){aO(e.x,t.x,t.scaleX,t.scale,t.originX),aO(e.y,t.y,t.scaleY,t.scale,t.originY)}function sO(e,t){return UD(GD(e.getBoundingClientRect(),t))}function cO(e,t,n){let r=sO(e,n),{scroll:i}=t;return i&&(iO(r.x,i.offset.x),iO(r.y,i.offset.y)),r}var lO=()=>({translate:0,scale:1,origin:0,originPoint:0}),uO=()=>({x:lO(),y:lO()}),dO=()=>({min:0,max:0}),fO=()=>({x:dO(),y:dO()}),pO={current:null}
148,mO={current:!1};function hO(){if(mO.current=!0,Ix){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>pO.current=e.matches;e.addEventListener(`change`,t),t()}else pO.current=!1}}var gO=new WeakMap;function _O(e,t,n){for(let r in t){let i=t[r],a=n[r];if(_E(i))e.addValue(r,i);else if(_E(a))e.addValue(r,XT(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,XT(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var vO=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],yO=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qw,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=PS.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,OS.render(this.render,!1,!0))};let{latestValues:s,renderState:c}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=KE(t),this.isVariantNode=qE(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in u){let t=u[e];s[e]!==void 0&&_E(t)&&t.set(s[e])}}mount(e){this.current=e,gO.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),mO.current||hO(),this.shouldReduceMotion=this.reducedMotionConfig===`never`?!1:this.reducedMotionConfig===`always`||pO.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),kS(this.notifyUpdate),kS(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=Pw.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&OS.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in PE){let t=PE[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):fO()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<vO.length;t++){let n=vO[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=_O(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
148addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=XT(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Ux(n)||Gx(n))?n=parseFloat(n):!yE(n)&&SC.test(t)&&(n=zT(e,t)),this.setBaseTarget(e,_E(n)?n.get():n)),_E(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=bD(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!_E(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Zx),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){ZT.render(this.render)}},bO=class extends yO{constructor(){super(...arguments),this.KeyframeResolver=HT}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;_E(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}};function xO(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function SO(e){return window.getComputedStyle(e)}var CO=class extends bO{constructor(){super(...arguments),this.type=`html`,this.renderInstance=xO}readValueFromInstance(e,t){if(Pw.has(t))return this.projection?.isProjecting?kw(t):jw(e,t);{let n=SO(e),r=(LS(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return sO(e,t)}build(e,t,n){rD(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return TD(e,t,n)}},wO=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]);function TO(e,t,n,r){xO(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(wO.has(n)?n:MD(n),t.attrs[n])}var EO=class extends bO{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=fO}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Pw.has(t)){let e=RT(t);return e&&e.default||0}return t=wO.has(t)?t:MD(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return DD(e,t,n)}
148build(e,t,n){fD(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){TO(e,t,n,r)}mount(e){this.isSVGTag=mD(e.tagName),super.mount(e)}},DO=(e,t)=>_D(e)?new EO(t):new CO(t,{allowProjection:e!==s.Fragment});function OO(e,t,n){let r=e.getProps();return bD(r,t,n===void 0?r.custom:n,e)}var kO=e=>Array.isArray(e);function AO(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,XT(n))}function jO(e){return kO(e)?e[e.length-1]||0:e}function MO(e,t){let{transitionEnd:n={},transition:r={},...i}=OO(e,t)||{};i={...i,...n};for(let t in i)AO(e,t,jO(i[t]))}function NO(e){return!!(_E(e)&&e.add)}function PO(e,t){let n=e.getValue(`willChange`);if(NO(n))return n.add(t);if(!n&&Hx.WillChange){let n=new Hx.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function FO(e){return e.props[ND]}var IO=e=>e!==null;function LO(e,{repeat:t,repeatType:n=`loop`},r){let i=e.filter(IO),a=t&&n!==`loop`&&t%2==1?0:i.length-1;return!a||r===void 0?i[a]:r}var RO={type:`spring`,stiffness:500,damping:25,restSpeed:10},zO=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),BO={type:`keyframes`,duration:.8},VO={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},HO=(e,{keyframes:t})=>t.length>2?BO:Pw.has(e)?e.startsWith(`scale`)?zO(t[1]):RO:VO;function UO({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:c,elapsed:l,...u}){return!!Object.keys(u).length}var WO=(e,t,n,r={},i,a)=>o=>{let s=wT(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Qx(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};UO(s)||Object.assign(u,HO(e,u)),u.duration&&=Qx(u.duration),u.repeatDelay&&=Qx(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(hT(u),u.delay===0&&(d=!0)),(Hx.instantAnimations||Hx.skipAnimations)&&(d=!0,hT(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=LO(u.keyframes,s);if(e!==void 0){OS.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new yw(u):new bT(u)};function GO({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function KO(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:o,...s}=t;r&&(a=r);let c=[],l=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||l&&GO(l,t))continue;let o={delay:n,...wT(a||{},t)},u=r.get();if(u!==void 0&&!r.isAnimating&&!Array.isArray(i)&&i===u&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let n=FO(e);if(n){let e=window.MotionHandoffAnimation(n,t,OS);e!==null&&(o.startTime=e,d=!0)}}PO(e,t),r.start(WO(t,r,i,e.shouldReduceMotion&&TT.has(t)?{type:!1}:o,e,d));let f=r.animation;f&&c.push(f)}return o&&Promise.all(c).then(()=>{OS.update(()=>{o&&MO(e,o)})}),c}function qO(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function JO(e,t,n={}){let r=OO(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(KO(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return YO(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function YO(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(JO(c,t,{...o,delay:n+(typeof r==`function`?0:r)+qO(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function XO(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>JO(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=JO(e,t,n);else{let i=typeof t==`function`?OO(e,t,n.custom):t;r=Promise.all(KO(e,i,n))}return r.then(()=>
148{e.notify(`AnimationComplete`,t)})}function ZO(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var QO=GE.length;function $O(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&$O(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<QO;n++){let r=GE[n],i=e.props[r];(UE(i)||i===!1)&&(t[r]=i)}return t}var ek=[...WE].reverse(),tk=WE.length;function nk(e){return t=>Promise.all(t.map(({animation:t,options:n})=>XO(e,t,n)))}function rk(e){let t=nk(e),n=ok(),r=!0,i=t=>(n,r)=>{let i=OO(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function a(n){t=n(e)}function o(a){let{props:o}=e,s=$O(e.parent)||{},c=[],l=new Set,u={},d=1/0;for(let t=0;t<tk;t++){let f=ek[t],p=n[f],m=o[f]===void 0?s[f]:o[f],h=UE(m),g=f===a?p.isActive:null;g===!1&&(d=t);let _=m===s[f]&&m!==o[f]&&h;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),p.protectedKeys={...u},!p.isActive&&g===null||!m&&!p.prevProp||HE(m)||typeof m==`boolean`)continue;let v=ik(p.prevProp,m),y=v||f===a&&p.isActive&&!_&&h||t>d&&h,b=!1,x=Array.isArray(m)?m:[m],S=x.reduce(i(f),{});g===!1&&(S={});let{prevResolvedValues:C={}}=p,w={...C,...S},T=t=>{y=!0,l.has(t)&&(b=!0,l.delete(t)),p.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in w){let t=S[e],n=C[e];if(u.hasOwnProperty(e))continue;let r=!1;r=kO(t)&&kO(n)?!ZO(t,n):t!==n,r?t==null?l.add(e):T(e):t!==void 0&&l.has(e)?T(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=S,p.isActive&&(u={...u,...S}),r&&e.blockInitialAnimation&&(y=!1);let E=_&&v;y&&(!E||b)&&c.push(...x.map(t=>{let n={type:f};if(typeof t==`string`&&r&&!E&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=OO(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=qO(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(l.size){let t={};if(typeof o.initial!=`boolean`){let n=OO(e,Array.isArray(o.initial)?o.initial[0]:o.initial);n&&n.transition&&(t.transition=n.transition)}l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let f=!!c.length;return r&&(o.initial===!1||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}function s(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=o(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:o,setActive:s,setAnimateFunction:a,getState:()=>n,reset:()=>{n=ok()}}}function ik(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!ZO(t,e):!1}function ak(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ok(){return{animate:ak(!0),whileInView:ak(),whileHover:ak(),whileTap:ak(),whileDrag:ak(),whileFocus:ak(),exit:ak()}}var sk=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},ck=class extends sk{constructor(e){super(e),e.animationState||=rk(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();HE(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},lk=0,uk={animation:{Feature:ck},exit:{Feature:class extends sk{constructor(){super(...arguments),this.id=lk++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function dk(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function fk(e){return{point:{x:e.pageX,y:e.pageY}}}var pk=e=>t=>oE(t)&&e(t,fk(t));function mk(e,t,n,r){return dk(e,t,pk(n),r)}
148var hk=.9999,gk=1.0001,_k=-.01,vk=.01;function yk(e){return e.max-e.min}function bk(e,t,n){return Math.abs(e-t)<=n}function xk(e,t,n,r=.5){e.origin=r,e.originPoint=EC(t.min,t.max,e.origin),e.scale=yk(n)/yk(t),e.translate=EC(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hk&&e.scale<=gk||isNaN(e.scale))&&(e.scale=1),(e.translate>=_k&&e.translate<=vk||isNaN(e.translate))&&(e.translate=0)}function Sk(e,t,n,r){xk(e.x,t.x,n.x,r?r.originX:void 0),xk(e.y,t.y,n.y,r?r.originY:void 0)}function Ck(e,t,n){e.min=n.min+t.min,e.max=e.min+yk(t)}function wk(e,t,n){Ck(e.x,t.x,n.x),Ck(e.y,t.y,n.y)}function Tk(e,t,n){e.min=t.min-n.min,e.max=e.min+yk(t)}function Ek(e,t,n){Tk(e.x,t.x,n.x),Tk(e.y,t.y,n.y)}function Dk(e){return[e(`x`),e(`y`)]}var Ok=({current:e})=>e?e.ownerDocument.defaultView:null,kk=(e,t)=>Math.abs(e-t);function Ak(e,t){let n=kk(e.x,t.x),r=kk(e.y,t.y);return Math.sqrt(n**2+r**2)}var jk=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=Pk(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Ak(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=AS;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Mk(t,this.transformPagePoint),OS.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Pk(e.type===`pointercancel`?this.lastMoveEventInfo:Mk(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!oE(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let o=Mk(fk(e),this.transformPagePoint),{point:s}=o,{timestamp:c}=AS;this.history=[{...s,timestamp:c}];let{onSessionStart:l}=t;l&&l(e,Pk(o,this.history)),this.removeListeners=Yx(mk(this.contextWindow,`pointermove`,this.handlePointerMove),mk(this.contextWindow,`pointerup`,this.handlePointerUp),mk(this.contextWindow,`pointercancel`,this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),kS(this.updatePoint)}};function Mk(e,t){return t?{point:t(e.point)}:e}function Nk(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Pk({point:e},t){return{point:e,delta:Nk(e,Ik(t)),offset:Nk(e,Fk(t)),velocity:Lk(t,.1)}}function Fk(e){return e[0]}function Ik(e){return e[e.length-1]}function Lk(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Ik(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Qx(t)));)n--;if(!r)return{x:0,y:0};let a=$x(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Rk(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?EC(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?EC(n,e,r.max):Math.min(e,n)),e}function zk(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Bk(e,{top:t,left:n,bottom:r,right:i}){return{x:zk(e.x,n,i),y:zk(e.y,t,r)}}function Vk(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Hk(e,t){return{x:Vk(e.x,t.x),y:Vk(e.y,t.y)}}function Uk(e,t){let n=.5,r=yk(e),i=yk(t);return i>r?n=Xx(t.min,t.max-r,e.min):r>i&&(n=Xx(e.min,e.max-i,t.min)),Vx(0,1,n)}function Wk(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Gk=.35;function Kk(e=Gk){return e===!1?e=0:e===!0&&(e=Gk),{x:qk(e,`left`,`right`),y:qk(e,`top`,`bottom`)}}function qk(e,t,n){return{min:Jk(e,t),max:Jk(e,n)}}function Jk(e,t){return typeof e==`number`?e:e[t]||0}var Yk=new WeakMap,Xk=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=fO(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(fk(e).point)},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tE(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Dk(e=>{let t=this.getAxisMotionValue(e).get()||0;if(rC.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=yk(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&OS.postRender(()=>i(e,t)),PO(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Qk(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&a(e,t)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>Dk(e=>this.getAnimationState(e)===`paused`&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new jk(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Ok(this.visualElement)})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&OS.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Zk(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Rk(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&AD(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?Bk(n.layoutBox,e):!1,this.elastic=Kk(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Dk(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Wk(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!AD(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=cO(n,r.root,this.visualElement.getTransformPagePoint()),a=Hk(r.layout.layoutBox,i);if(t){let e=t(WD(a));this.hasMutatedConstraints=!!e,e&&(a=UD(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Dk(o=>
148{if(!Zk(o,t,this.currentDirection))return;let c=s&&s[o]||{};a&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return PO(this.visualElement,e),n.start(WO(e,n,0,t,this.visualElement,!1))}stopAnimation(){Dk(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Dk(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Dk(t=>{let{drag:n}=this.getProps();if(!Zk(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-EC(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!AD(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Dk(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Uk({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Dk(t=>{if(!Zk(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(EC(i,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;Yk.set(this.visualElement,this);let e=this.visualElement.current,t=mk(e,`pointerdown`,e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();AD(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener(`measure`,n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),OS.read(n);let a=dk(window,`resize`,()=>this.scalePositionWithinConstraints()),o=r.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Dk(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{a(),t(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Gk,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Zk(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Qk(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var $k=class extends sk{constructor(e){super(e),this.removeGroupControls=qx,this.removeListeners=qx,this.controls=new Xk(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qx}unmount(){this.removeGroupControls(),this.removeListeners()}},eA=e=>(t,n)=>{e&&OS.postRender(()=>e(t,n))},tA=class extends sk{constructor(){super(...arguments),this.removePointerDownListener=qx}onPointerDown(e){this.session=new jk(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ok(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:eA(e),onStart:eA(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&OS.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=mk(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},nA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var iA={correct:(e,t)=>
148{if(!t.target)return e;if(typeof e==`string`){if($.test(e))e=parseFloat(e);else return e}return`${rA(e,t.target.x)}% ${rA(e,t.target.y)}%`}},aA={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=SC.parse(e);if(i.length>5)return r;let a=SC.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=EC(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},oA=!1,sA=class extends s.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;QE(lA),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),oA&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nA.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,oA=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||OS.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ZT.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;oA=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function cA(e){let[t,n]=OE(),r=(0,s.useContext)(Px);return(0,U.jsx)(sA,{...e,layoutGroup:r,switchLayoutGroup:(0,s.useContext)(PD),isPresent:t,safeToRemove:n})}var lA={borderRadius:{...iA,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:iA,borderTopRightRadius:iA,borderBottomLeftRadius:iA,borderBottomRightRadius:iA,boxShadow:aA};function uA(e,t,n){let r=_E(e)?e:XT(e);return r.start(WO(``,r,t,n)),r.animation}var dA=(e,t)=>e.depth-t.depth,fA=class{constructor(){this.children=[],this.isDirty=!1}add(e){zx(this.children,e),this.isDirty=!0}remove(e){Bx(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(dA),this.isDirty=!1,this.children.forEach(e)}};function pA(e,t){let n=PS.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(kS(r),e(a-t))};return OS.setup(r,!0),()=>kS(r)}var mA=[`TopLeft`,`TopRight`,`BottomLeft`,`BottomRight`],hA=mA.length,gA=e=>typeof e==`string`?parseFloat(e):e,_A=e=>typeof e==`number`||$.test(e);function vA(e,t,n,r,i,a){i?(e.opacity=EC(0,n.opacity??1,bA(r)),e.opacityExit=EC(t.opacity??1,0,xA(r))):a&&(e.opacity=EC(t.opacity??1,n.opacity??1,r));for(let i=0;i<hA;i++){let a=`border${mA[i]}Radius`,o=yA(t,a),s=yA(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||_A(o)===_A(s)?(e[a]=Math.max(EC(gA(o),gA(s),r),0),(rC.test(s)||rC.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=EC(t.rotate||0,n.rotate||0,r))}function yA(e,t){return e[t]===void 0?e.borderRadius:e[t]}var bA=SA(0,.5,pS),xA=SA(.5,.95,qx);function SA(e,t,n){return r=>r<e?0:r>t?1:n(Xx(e,t,r))}function CA(e,t){e.min=t.min,e.max=t.max}function wA(e,t){CA(e.x,t.x),CA(e.y,t.y)}function TA(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function EA(e,t,n,r,i){return e-=t,e=ZD(e,1/n,r),i!==void 0&&(e=ZD(e,1/i,r)),e}function DA(e,t=0,n=1,r=.5,i,a=e,o=e){if(rC.test(t)&&(t=parseFloat(t),t=EC(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=EC(a.min,a.max,r);e===a&&(s-=t),e.min=EA(e.min,t,n,s,i),e.max=EA(e.max,t,n,s,i)}function OA(e,t,[n,r,i],a,o){DA(e,t[n],t[r],t[i],t.scale,a,o)}var kA=[`x`,`scaleX`,`originX`],AA=[`y`,`scaleY`,`originY`];function jA(e,t,n,r){OA(e.x,t,kA,n?n.x:void 0,r?r.x:void 0),OA(e.y,t,AA,n?n.y:void 0,r?r.y:void 0)}function MA(e){return e.translate===0&&e.scale===1}function NA(e){return MA(e.x)&&MA(e.y)}function PA(e,t){return e.min===t.min&&e.max===t.max}function FA(e,t){return PA(e.x,t.x)&&PA(e.y,t.y)}function IA(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function LA(e,t){return IA(e.x,t.x)&&IA(e.y,t.y)}function RA(e){return yk(e.x)/yk(e.y)}function zA(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var BA=class{constructor(){this.members=[]}add(e){zx(this.members,e),e.scheduleRender()}remove(e){if(Bx(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t=this.members.findIndex(t=>e===t);if(t===0)return!1;let n;for(let e=t;e>=0;e--){let t=this.members[e];if(t.isPresent!==!1){n=t;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}
148exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function VA(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var HA={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},UA=[``,`X`,`Y`,`Z`],WA=1e3,GA=0;function KA(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function qA(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=FO(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,OS,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&qA(r)}function JA({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=GA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,wS.value&&(HA.nodes=HA.calculatedTargetDeltas=HA.calculatedProjections=0),this.nodes.forEach(ZA),this.nodes.forEach(ij),this.nodes.forEach(aj),this.nodes.forEach(QA),wS.addProjectionMetrics&&wS.addProjectionMetrics(HA)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new fA)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Zx),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=hE(t)&&!gE(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;OS.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=pA(i,250),nA.hasAnimatedSinceResize&&(nA.hasAnimatedSinceResize=!1,this.nodes.forEach(rj)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||fj,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!LA(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...wT(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||rj(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),kS(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
148h(oj),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ej);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tj);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nj),this.nodes.forEach(YA),this.nodes.forEach(XA)):this.nodes.forEach(tj),this.clearAllSnapshots();let e=PS.now();AS.delta=Vx(0,1e3/60,e-AS.timestamp),AS.timestamp=e,AS.isProcessing=!0,jS.update.process(AS),jS.preRender.process(AS),jS.render.process(AS),AS.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ZT.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($A),this.sharedNodes.forEach(sj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,OS.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){OS.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),this.snapshot&&!yk(this.snapshot.measuredBox.x)&&!yk(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=fO(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!NA(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||JD(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),gj(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return fO();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(vj))){let{scroll:e}=this.root;e&&(iO(t.x,e.offset.x),iO(t.y,e.offset.y))}return t}removeElementScroll(e){let t=fO();if(wA(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&wA(t,e),iO(t.x,i.offset.x),iO(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=fO();wA(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&oO(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),JD(r.latestValues)&&oO(n,r.latestValues)}return JD(this.latestValues)&&oO(n,this.latestValues),n}removeTransform(e){let t=fO();wA(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!JD(n.latestValues))continue;qD(n.latestValues)&&n.updateSnapshot();let r=fO();wA(r,n.measurePageBox()),jA(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return JD(this.latestValues)&&jA(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==AS.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=AS.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fO(),this.relativeTargetOrigin=fO(),Ek(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),wA(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=fO(),this.targetWithTransforms=fO()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wk(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):wA(this.target,this.layout.layoutBox),eO(this.target,this.targetDelta)):wA(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fO(),this.relativeTargetOrigin=fO(),Ek(this.relativeTargetOrigin,this.target,e.target),wA(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}wS.value&&HA.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||qD(this.parent.latestValues)||YD(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;
148if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===AS.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;wA(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;rO(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=fO());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(TA(this.prevProjectionDelta.x,this.projectionDelta.x),TA(this.prevProjectionDelta.y,this.projectionDelta.y)),Sk(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!zA(this.projectionDelta.x,this.prevProjectionDelta.x)||!zA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),wS.value&&HA.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=uO(),this.projectionDelta=uO(),this.projectionDeltaWithTransform=uO()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=uO();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=fO(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!(!s||l||this.options.crossfade!==!0||this.path.some(dj));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;cj(a.x,e.x,n),cj(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ek(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),uj(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&FA(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=fO(),wA(d,this.relativeTarget)),s&&(this.animationValues=i,vA(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(kS(this.pendingAnimation),void 0),this.pendingAnimation=OS.update(()=>{nA.hasAnimatedSinceResize=!0,FS.layout++,this.motionValue||=XT(0),this.currentAnimation=uA(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{FS.layout--},onComplete:()=>{FS.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(WA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&_j(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||fO();let t=yk(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=yk(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}wA(t,n),oO(t,i),Sk(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
148)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new BA),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&KA(`z`,e,r,this.animationValues);for(let t=0;t<UA.length;t++)KA(`rotate${UA[t]}`,e,r,this.animationValues),KA(`skew${UA[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=xD(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=xD(t?.pointerEvents)||``),this.hasProjected&&!JD(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=VA(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in ZE){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=ZE[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?xD(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(ej),this.root.sharedNodes.clear()}}}function YA(e){e.updateLayout()}function XA(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;i===`size`?Dk(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=yk(r);r.min=n[e].min,r.max=r.min+i}):_j(i,t.layoutBox,n)&&Dk(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=yk(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=uO();Sk(o,n,t.layoutBox);let s=uO();a?Sk(s,e.applyTransform(r,!0),t.measuredBox):Sk(s,n,t.layoutBox);let c=!NA(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=fO();Ek(o,t.layoutBox,i.layoutBox);let s=fO();Ek(s,n,a.layoutBox),LA(o,s)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ZA(e){wS.value&&HA.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function QA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $A(e){e.clearSnapshot()}function ej(e){e.clearMeasurements()}function tj(e){e.isLayoutDirty=!1}function nj(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function rj(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ij(e){e.resolveTargetDelta()}function aj(e){e.calcProjection()}
148function oj(e){e.resetSkewAndRotation()}function sj(e){e.removeLeadSnapshot()}function cj(e,t,n){e.translate=EC(t.translate,0,n),e.scale=EC(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lj(e,t,n,r){e.min=EC(t.min,n.min,r),e.max=EC(t.max,n.max,r)}function uj(e,t,n,r){lj(e.x,t.x,n.x,r),lj(e.y,t.y,n.y,r)}function dj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var fj={duration:.45,ease:[.4,0,.1,1]},pj=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),mj=pj(`applewebkit/`)&&!pj(`chrome/`)?Math.round:qx;function hj(e){e.min=mj(e.min),e.max=mj(e.max)}function gj(e){hj(e.x),hj(e.y)}function _j(e,t,n){return e===`position`||e===`preserve-aspect`&&!bk(RA(t),RA(n),.2)}function vj(e){return e!==e.root&&e.scroll?.wasRoot}var yj=JA({attachResizeListener:(e,t)=>dk(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),bj={current:void 0},xj=JA({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!bj.current){let e=new yj({});e.mount(window),e.setOptions({layoutScroll:!0}),bj.current=e}return bj.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Sj={pan:{Feature:tA},drag:{Feature:$k,ProjectionNode:xj,MeasureLayout:cA}};function Cj(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&OS.postRender(()=>i(t,fk(t)))}var wj=class extends sk{mount(){let{current:e}=this.node;e&&(this.unmount=iE(e,(e,t)=>(Cj(this.node,t,`Start`),e=>Cj(this.node,e,`End`))))}unmount(){}},Tj=class extends sk{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}e&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=Yx(dk(this.node.current,`focus`,()=>this.onFocus()),dk(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function Ej(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&OS.postRender(()=>i(t,fk(t)))}var Dj=class extends sk{mount(){let{current:e}=this.node;e&&(this.unmount=mE(e,(e,t)=>(Ej(this.node,t,`Start`),(e,{success:t})=>Ej(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}},Oj=new WeakMap,kj=new WeakMap,Aj=e=>{let t=Oj.get(e.target);t&&t(e)},jj=e=>{e.forEach(Aj)};function Mj({root:e,...t}){let n=e||document;kj.has(n)||kj.set(n,{});let r=kj.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(jj,{root:e,...t})),r[i]}function Nj(e,t,n){let r=Mj(t);return Oj.set(e,n),r.observe(e),()=>{Oj.delete(e),r.unobserve(e)}}var Pj={some:0,all:1},Fj=class extends sk{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Pj[r]};return Nj(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Ij(e,t))&&this.startObserver()}unmount(){}};function Ij({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Lj={inView:{Feature:Fj},tap:{Feature:Dj},focus:{Feature:Tj},hover:{Feature:wj}},Rj={layout:{ProjectionNode:xj,MeasureLayout:cA}},zj=HD({...uk,...Lj,...Sj,...Rj},DO);function Bj(){return null}var Vj=e=>{if(typeof e==`number`){let t=d(e);if(t===void 0)return;e=t}
148switch(e){case u.Norwegian:return`NOK`;case u.Swedish:return`SEK`;case u.Danish:return`DKK`;case u.FinnishSwedish:case u.Finnish:case u.Spanish:case u.German:return`EUR`}},Hj=e=>(t,n=!1)=>t===void 0?``:new Intl.NumberFormat(e,{style:`decimal`,minimumFractionDigits:n?2:0,maximumFractionDigits:n?2:0}).format(t),Uj=e=>new Intl.NumberFormat(e).formatToParts(1234566.89).find(e=>e.type===`group`)?.value,Wj=(e=!1)=>(t,n)=>{if(t===void 0||(typeof n==`number`&&(n=d(n)),n===void 0))return``;let r=Vj(n);if(t===void 0)return``;let i=e?2:0;return new Intl.NumberFormat(n,{style:`currency`,currency:r,minimumFractionDigits:i,maximumFractionDigits:i}).format(t)},Gj=e=>(t,n)=>t===void 0?``:new Intl.DateTimeFormat(e,n).format(new Date(t)),Kj=class{name;sku;price;quantity;constructor(e,t,n,r){this.name=e,this.sku=t,this.price=n,this.quantity=r}},qj=class{transactionId;transactionProducts;transactionTotal;constructor(e){this.transactionId=e}},Jj;(function(e){e.addEventToDataLayerAsync=async(e,t=2e3)=>await new Promise(n=>{if(window.google_tag_manager===void 0)Jj.addEventToDataLayer(e),n();else{let r=!1;Jj.addEventToDataLayer(e,e=>{(e===void 0||e.startsWith(`GTM`))&&(r=!0,n())}),setTimeout(()=>{r||(r=!0,n())},t)}}).catch(e=>{throw e}),e.addCustomInfoToDataLayer=(e,t)=>{if(typeof window<`u`){let n=window.dataLayer=window.dataLayer||[];n.length>0&&(n[0][e]=t)}},e.addTransactionToDataLayer=e=>{typeof window<`u`&&(window.dataLayer=window.dataLayer||[]).push(e)},e.addEventToDataLayer=(e,t)=>{let n=e.toGaObject();t!==null&&n.GA4EventName!==`ui_element_click`&&(n.eventCallback=t,n.eventTimeout=2e3),e.category!==`NotSet`&&typeof window<`u`&&(window.dataLayer=window.dataLayer||[]).push(n)},e.getEventCategory=e=>{e===void 0&&typeof window<`u`&&window.location!==void 0&&(e=window.location.pathname),e=Xj(e),e=Zj(e);let t=!1,n=e?Xj(e)?.split(`/`).reverse()[0]:``;switch(e&&n?.toLowerCase()===`transactions`&&(t=!0,n=e.split(`/`).reverse()[1]),n?.toLowerCase()){case`minside`:case`omatsivuni`:case`minsida`:return`MyPage`;case`creditcard`:return t?`MyPageCreditCardTransactions`:`MyPageCreditCard`;default:return`NotSet`}},e.getEventLabel=e=>(e=Xj(e),e=Zj(e),e?e.split(`/`).reverse()[0]:``),e.getNumberOfDaysFromCurrentDate=e=>{if(e){let t=+e-new Date;return Math.floor(t/864e5)+1}return 0}})(Jj||={});var Yj=function(e){return e.NotSet=`NotSet`,e.MyPage=`MyPage`,e.LoanApplication=`LoanApplication`,e.GreenLoanApplication=`GreenLoanApplication`,e.CreditPurchaseApplication=`CreditPurchaseApplication`,e.TopUpApplication=`TopUpApplication`,e.LoanExtensionApplication=`LoanExtensionApplication`,e.MyPageCreditCard=`MyPageCreditCard`,e.MyPageCreditCardTransactions=`MyPageCreditCardTransactions`,e.SavingsAccountApplication=`SavingsAccountApplication`,e.SavingsAccountPlusApplication=`SavingsAccountPlusApplication`,e.SavingsAccountDelayedWithdrawalApplication=`SavingsAccountDelayedWithdrawalApplication`,e.SavingsAccountFixedTermApplication=`SavingsAccountFixedTermApplication`,e.CreditCardApplication=`CreditCardApplication`,e.CreditCardLimitIncreaseApplication=`CreditCardLimitIncreaseApplication`,e.Insurance=`Insurance`,e.CreditLineApplication=`CreditLineApplication`,e.CreditLineLimitIncreaseApplication=`CreditLineLimitIncreaseApplication`,e.EquityReleaseApplication=`EquityReleaseApplication`,e.RefinanceEditor=`RefinanceEditor`,e.ViewPromotion=`ViewPromotion`,e.ViewItem=`ViewItem`,e.Purchase=`Purchase`,e.SelectPromotion=`SelectPromotion`,e.AddToCart=`AddToCart`,e.RemoveFromCart=`RemoveFromCart`,e}({});function Xj(e){return e&&e.split(/[?#]/)[0]}function Zj(e){return e&&e.replace(/\/$/,``)}var Qj=function(e){return e.PayoutDetails=`PayoutDetails`,e.DebtSpecification=`DebtSpecification`,e.Header=`Header`,e.TopNavigation=`TopNavigation`,e.SideNavigation=`SideNavigation`,e.BottomNavigation=`BottomNavigation`,e.TopMobileNavigation=`TopMobileNavigation`,e.TopBanner=`TopBanner`,e.ImportantInfo=`ImportantInfo`,e.CreditCard=`CreditCard`,e.CreditLine=`CreditLine`,e.SavingsAccount=`SavingsAccount`,e.SavingsAccountPlus=`SavingsAccountPlus`,e.SavingsAccountDelayedWithdrawal=`SavingsAccountDelayedWithdrawal`,e.Loan=`
148Loan`,e.SalesFinance=`SalesFinance`,e.CashPoints=`CashPoints`,e.Insurance=`Insurance`,e.ProductBanner=`ProductBanner`,e.Other=`Other`,e.CreditCardAction=`CreditCardAction`,e.InvoiceAction=`InvoiceAction`,e.ChoosePeriod=`ChoosePeriod`,e.ToggleChoosePeriod=`ToggleChoosePeriod`,e.ToggleFilter=`ToggleFilter`,e.ToggleFilterCategory=`ToggleFilterCategory`,e.TransactionClick=`TransactionClick`,e.Download=`Download`,e.ChooseDateFrom=`ChooseDateFrom`,e.ChooseDateTo=`ChooseDateTo`,e.TransactionSearchText=`TransactionSearchText`,e.AmountFrom=`AmountFrom`,e.AmountTo=`AmountTo`,e.DocumentationConsent=`DocumentationConsent`,e.DocumentationConsentSalary=`DocumentationConsentSalary`,e.DocumentationConsentTax=`DocumentationConsentTax`,e.DocumentationConsentAddress=`DocumentationConsentAddress`,e.DocumentationConsentExtraIncome=`DocumentationConsentExtraIncome`,e.DocumentationConsentIncomeDeviation=`DocumentationConsentIncomeDeviation`,e.ApplePay=`ApplePay`,e.GooglePay=`GooglePay`,e.SamsungPay=`SamsungPay`,e.Unknown=`Unknown`,e.Purchase=`Purchase`,e.AdditionalApplicationInfo=`AdditionalApplicationInfo`,e.SignPrimaryApplicant=`SignPrimaryApplicant`,e.SignCoApplicant=`SignCoApplicant`,e.RepaymentPeriod=`RepaymentPeriod`,e.CreditCardCrossSell=`CreditCardCrossSell`,e.CreditCardCrossSellExperiment=`CreditCardCrossSellExperiment`,e.CreditCardCrossSellAutomatic=`CreditCardCrossSellAutomatic`,e.FormClickNext=`FormClickNext`,e.FormClickPrevious=`FormClickPrevious`,e.Received=`Received`,e.Approved=`Approved`,e.Rejected=`Rejected`,e.CustomerStatement=`CustomerStatement`,e.ModifyCreditLimit=`ModifyCreditLimit`,e.Apply=`Apply`,e.RefinanceRestrictionsApproved=`RefinanceRestrictionsApproved`,e.Buffered=`Buffered`,e.Error=`Error`,e.ChooseCategory=`ChooseCategory`,e.PpiPromotion=`PpiPromotion`,e.ESkatConsent=`ESkatConsent`,e.Copy=`Copy`,e.ShowCardDetails=`ShowCardDetails`,e}({}),$j=function(e){return e.CrossSellID1=`CrossSellID1`,e.CrossSellID2=`CrossSellID2`,e.CrossSellAddOn=`CrossSellAddOn`,e.CrossSellBanner=`CrossSellBanner`,e.CreditCardCrossSellItem=`CreditCardCrossSellItem`,e.Ppi=`Ppi`,e}({}),eM=function(e){return e.Edit=`Edit`,e.Delete=`Delete`,e.Add=`Add`,e.Apply=`Apply`,e.AddDept=`AddDept`,e.ConfirmedEdit=`ConfirmedEdit`,e.AccountNumberConfirmed=`AccountNumberConfirmed`,e.AcceptCoApplicant=`AcceptCoApplicant`,e.Completed=`Completed`,e.CreditCard=`CreditCard`,e.CreditLine=`CreditLine`,e.SavingsAccount=`SavingsAccount`,e.SavingsAccountPlus=`SavingsAccountPlus`,e.SavingsAccountDelayedWithdrawal=`SavingsAccountDelayedWithdrawal`,e.Loan=`
148Loan`,e.SalesFinance=`SalesFinance`,e.CashPoints=`CashPoints`,e.Transactions=`Transactions`,e.Payments=`Payments`,e.Transfer=`Transfer`,e.Invoice=`Invoice`,e.Other=`Other`,e.Alert=`Alert`,e.Settings=`Settings`,e.Pdf=`Pdf`,e.Excel=`Excel`,e.Viewed=`Viewed`,e.Init=`Init`,e.Approved=`Approved`,e.Rejected=`Rejected`,e.CreditCardCrossSell=`CreditCardCrossSell`,e.CreditCardCrossSellOriginalDialog=`CreditCardCrossSellOriginalDialog`,e.CreditCardCrossSellChallengerDialog=`CreditCardCrossSellChallengerDialog`,e.CreditCardCrossSellExpanerDialog=`CreditCardCrossSellExpanderDialog`,e.CreditCardCrossSellAfterSigningDialog=`CreditCardCrossSellAfterSigningDialog`,e.NoGiConsentDialog=`NoGiConsentDialog`,e.CardNumber=`CardNumber`,e.CVV2=`CVV2`,e.ExpireDate=`ExpireDate`,e.AccountNumber=`AccountNumber`,e.Iban=`Iban`,e.Bic=`Bic`,e.Ocr=`Ocr`,e.OcrGiroNumber=`OcrGiroNumber`,e.BankName=`BankName`,e.MandateId=`MandateId`,e.InvoiceRecipientName=`InvoiceRecipientName`,e.Started=`Started`,e}({}),tM=Jj,nM=class{eventName;data;objectProperties;isGa4Event=!0;constructor({eventName:e,data:t={},objectProperties:n={}}){this.eventName=e,this.data=t,this.objectProperties=n}toGaObject(){let e=this.isGa4Event?{event:`GAEvent`,GA4EventName:this.eventName}:{},t=1;return Object.entries(this.data).forEach(([n,r])=>{r!=null&&(e[`GA4InputFieldName${t}`]=n,e[`GA4InputFieldValue${t}`]=r,t++)}),Object.entries(this.objectProperties).forEach(([t,n])=>{n!=null&&(e[t]=n)}),e}static booleanToString(e){if(e!=null)return e?`True`:`False`}},rM=function(e){return e.ValidationOk=`validation_ok`,e.ValidationError=`validation_error`,e.Warning=`warning`,e.Error=`error`,e.Ok=`ok`,e}({}),iM=e=>{window&&e&&e.length>0&&(window.dataLayer=window.dataLayer||[],e.map(e=>{if(!window.dataLayer.find(t=>t[e.key]!=null)){let t={};t[e.key]=e.value,window.dataLayer.push(t)}}))},aM=(e,t,n)=>n?t===e:e?e.startsWith(t):!1,oM=e=>{try{let t=JSON.stringify(e);window&&window.ReactNativeWebView&&window.ReactNativeWebView.postMessage&&window.ReactNativeWebView.postMessage(t)}catch(e){gx.logError(e)}},sM=(e,t)=>{try{return window&&window.ReactNativeWebView?(window.addEventListener(e,t,!1),!0):!1}catch(e){return gx.logError(e),!1}},cM=(e,t)=>{try{return window&&window.ReactNativeWebView?(window.removeEventListener(e,t,!1),!0):!1}catch(e){return gx.logError(e),!1}},lM=function(e){return e.WalletIdRequest=`WALLET_ID_REQUEST`,e.WalletIdResponse=`WALLET_ID_RESPONSE`,e.TokenStatusRefresh=`TOKEN_STATUS_REFRESH`,e.TokenStatusRequest=`TOKEN_STATUS_REQUEST`,e.TokenStatusResponse=`TOKEN_STATUS_RESPONSE`,e.PushProvisionRequest=`PUSH_PROVISION_REQUEST`,e.PushProvisionResponse=`PUSH_PROVISION_RESPONSE`,e.CreateWalletRequest=`CREATE_WALLET_REQUEST`,e.CreateWalletResponse=`CREATE_WALLET_RESPONSE`,e.GetPassesRequest=`GET_PASSES_REQUEST`,e.GetPassesResponse=`GET_PASSES_RESPONSE`,e.PushProvisionApplePayRequest=`PUSH_PROVISION_APPLE_PAY_REQUEST`,e.PushProvisionApplePayResponse=`PUSH_PROVISION_APPLE_PAY_RESPONSE`,e.GetBiometricSettingsRequest=`GET_BIOMETRIC_SETTINGS_REQUEST`,e.GetBiometricSettingsResponse=`GET_BIOMETRIC_SETTINGS_RESPONSE`,e.OpenBiometricSettingsRequest=`OPEN_BIOMETRIC_SETTINGS_REQUEST`,e.OpenBiometricSettingsResponse=`OPEN_BIOMETRIC_SETTINGS_RESPONSE`,e.ChangePinRequest=`CHANGE_PIN_REQUEST`,e.ChangePinResponse=`CHANGE_PIN_RESPONSE`,e.KeepAlive=`KEEPALIVE`,e.StartIdentificationRequest=`START_IDENTITY_REQUEST`,e.StartAppReview=`START_APP_REVIEW_REQUEST`,e.GetCookieConsentRequest=`GET_COOKIE_CONSENT_REQUEST`,e.GetCookieConsentResponse=`GET_COOKIE_CONSENT_RESPONSE`,e.SetCookieConsentRequest=`SET_COOKIE_CONSENT_REQUEST`,e.SamsungPayInfoRequest=`SPAY_INFO_REQUEST`,e.SamsungPayInfoResponse=`SPAY_INFO_RESPONSE`,e.SamsungActivateRequest=`SPAY_ACTIVATE_REQUEST`,e.SamsungUpdatePageRequest=`SPAY_UPDATE_PAGE_REQUEST`,e.SamsungPushProvisionRequest=`SPAY_PUSH_PROVISION_REQUEST`,e.SamsungPushProvisionResponse=`SPAY_PUSH_PROVISION_RESPONSE`,e.ForceLogin=`FORCE_LOGIN`,e.ThemeChanged=`ThemeChanged`,e}({});function uM(e){try{return e===`session`?sessionStorage:localStorage}catch{return null}}var dM=e=>e?.toString()?.toLowerCase()?.replace(/[0-9]/g,e=>`abcdefghij`[e])?.replace(/[^a-z]/g,``),fM=(e,t)=>{(0,s.useEffect)(()=>
148{if(!location.host.match(/banknorwegian|stage/)){let n=/^[a-z]$/i.test(e)?`Key${e.toUpperCase()}`:void 0,r=function(r){let i=r.key===e.toLowerCase()||r.key===e.toUpperCase(),a=n!==void 0&&r.code===n;r.altKey&&(i||a)&&t()};return window.addEventListener(`keydown`,r),()=>window.removeEventListener(`keydown`,r)}},[])};function pM(e){let[t,n]=s.useState(e);return s.useEffect(()=>{let e=document.documentElement;if(!e)return;function t(){try{let t=window.getComputedStyle(e).fontSize,r=parseFloat(t);Number.isNaN(r)||n(r)}catch{}}t();let r=new MutationObserver(e=>{for(let n of e)if(n.type===`attributes`&&n.attributeName===`style`){t();break}});return r.observe(e,{attributes:!0,attributeFilter:[`style`]}),()=>{r.disconnect()}},[]),t}var mM=(e,t,n,r,i)=>{let a=e=>`useStatePersisted-${t}${e?`-`+e:``}`,o=uM(r?`session`:`local`);if(!o)return(0,s.useState)(n);let c=o?.getItem(a(e)),l=hM(c,i??typeof n),[u,d]=(0,s.useState)(l===void 0?n:l);return(0,s.useEffect)(()=>f(a(e),u),[u]),[u,d,()=>{o?.removeItem(a(e))}];function f(e,t){let n=t;(i===`object`||typeof t==`object`)&&(n=JSON.stringify(t));try{o?.setItem(e,n)}catch(t){gx.windowOnErrorHandler(`Failed to save ${e} in ${r?`sessionStorage`:`localStorage`} in useStatePersisted`,location.href,``,``,t)}}};function hM(e,t){if(e&&e!==`undefined`){switch(t){case`string`:return e;case`number`:return gM(e);case`boolean`:return e==`true`;case`object`:return e?JSON.parse(e):void 0}throw Error(`Type: ${t} not supported in useStatePersisted`)}}function gM(e){let t=parseInt(e||``);if(!isNaN(t))return t}var _M=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vM={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},yM=new class{#e=vM;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function bM(e){setTimeout(e,0)}var xM=typeof window>`u`||`Deno`in globalThis;function SM(){}function CM(e,t){return typeof e==`function`?e(t):e}function wM(e){return typeof e==`number`&&e>=0&&e!==1/0}function TM(e,t){return Math.max(e+(t||0)-Date.now(),0)}function EM(e,t){return typeof e==`function`?e(t):e}function DM(e,t){return typeof e==`function`?e(t):e}function OM(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==AM(o,t.options))return!1}else if(!MM(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function kM(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(jM(t.options.mutationKey)!==jM(a))return!1}else if(!MM(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function AM(e,t){return(t?.queryKeyHashFn||jM)(e)}function jM(e){return JSON.stringify(e,(e,t)=>LM(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function MM(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>MM(e[n],t[n])):!1}var NM=Object.prototype.hasOwnProperty;function PM(e,t){if(e===t)return e;let n=IM(e)&&IM(t);if(!n&&!(LM(e)&&LM(t)))return t;let r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),a=i.length,o=n?Array(a):{},s=0;for(let c=0;c<a;c++){let a=n?c:i[c],l=e[a],u=t[a];if(l===u){o[a]=l,(n?c<r:NM.call(e,a))&&s++;continue}if(l===null||u===null||typeof l!=`object`||typeof u!=`object`){o[a]=u;continue}let d=PM(l,u);o[a]=d,d===l&&s++}return r===a&&s===r?e:o}function FM(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function IM(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function LM(e){if(!RM(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!RM(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function RM(e){return Object.prototype.toString.call(e)===`[object Object]`}function zM(e){return new Promise(t=>{yM.setTimeout(t,e)})}
148function BM(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:PM(e,t)}function VM(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function HM(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var UM=Symbol();function WM(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===UM?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function GM(e,t){return typeof e==`function`?e(...t):!!e}function KM(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var qM=new class extends _M{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!xM&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}};function JM(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var YM=bM;function XM(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=YM,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var ZM=XM(),QM=new class extends _M{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!xM&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function $M(e){return Math.min(1e3*2**e,3e4)}function eN(e){return(e??`online`)!==`online`||QM.isOnline()}var tN=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function nN(e){let t=!1,n=0,r,i=JM(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new tN(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>qM.isFocused()&&(e.networkMode===`always`||QM.isOnline())&&e.canRun(),u=()=>eN(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(xM?0:3),o=e.retryDelay??$M,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),zM(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var rN=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wM(this.gcTime)&&(this.#e=yM.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(xM?1/0:3e5))}clearGcTimeout(){this.#e&&=(yM.clearTimeout(this.#e),void 0)}},iN=class extends rN{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=sN(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=sN(this.options);e.data!==void 0&&(this.setState(oN(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=BM(this.state.data,e,this.options);return this.#s({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#s({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(SM).catch(SM):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>DM(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===UM||this.state.dataUpdateCount+this.state.errorUpdate
148Count===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>EM(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!TM(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{let e=WM(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#s({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=nN({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof tN&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#s({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#s({type:`pause`})},onContinue:()=>{this.#s({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof tN){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#s({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#s(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...aN(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...oN(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),ZM.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:`updated`,action:e})})}};function aN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:eN(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function oN(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function sN(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
148Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var cN=class extends _M{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=JM(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),uN(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return dN(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return dN(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof DM(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!FM(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&fN(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||DM(this.options.enabled,this.#t)!==DM(t.enabled,this.#t)||EM(this.options.staleTime,this.#t)!==EM(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||DM(this.options.enabled,this.#t)!==DM(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return mN(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(SM)),t}#g(){this.#b();let e=EM(this.options.staleTime,this.#t);if(xM||this.#r.isStale||!wM(e))return;let t=TM(this.#r.dataUpdatedAt,e)+1;this.#d=yM.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!xM&&DM(this.options.enabled,this.#t)!==!1&&wM(this.#p)&&this.#p!==0&&(this.#f=yM.setInterval(()=>{(this.options.refetchIntervalInBackground||qM.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d&&=(yM.clearTimeout(this.#d),void 0)}#x(){this.#f&&=(yM.clearInterval(this.#f),void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&uN(e,t),o=i&&fN(e,n,t,r);(a||o)&&(l={...l,...aN(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=BM(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=BM(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
148Count:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:pN(e,t),refetch:this.refetch,promise:this.#o,isEnabled:DM(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=e=>{x.status===`error`?e.reject(x.error):x.data!==void 0&&e.resolve(x.data)},r=()=>{let e=this.#o=x.promise=JM();t(e)},i=this.#o;switch(i.status){case`pending`:e.queryHash===n.queryHash&&t(i);break;case`fulfilled`:(x.status===`error`||x.data!==i.value)&&r();break;case`rejected`:(x.status!==`error`||x.error!==i.reason)&&r()}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!FM(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){ZM.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function lN(e,t){return DM(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||t.retryOnMount!==!1)}function uN(e,t){return lN(e,t)||e.state.data!==void 0&&dN(e,t,t.refetchOnMount)}function dN(e,t,n){if(DM(t.enabled,e)!==!1&&EM(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&pN(e,t)}return!1}function fN(e,t,n,r){return(e!==t||DM(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&pN(e,n)}function pN(e,t){return DM(t.enabled,e)!==!1&&e.isStaleByTime(EM(t.staleTime,e))}function mN(e,t){return!FM(e.getCurrentResult(),t)}function hN(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{KM(e,()=>t.signal,()=>n=!0)},u=WM(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?HM:VM;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?_N:gN,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:gN(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function gN(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function _N(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var vN=class extends rN{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||yN(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}
148optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=nN({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),await this.#n.config.onMutate?.(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),ZM.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function yN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var bN=class extends _M{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new vN({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=xN(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=xN(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=xN(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=xN(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
148t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){ZM.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>kM(t,e))}findAll(e={}){return this.getAll().filter(t=>kM(e,t))}notify(e){ZM.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return ZM.batch(()=>Promise.all(e.map(e=>e.continue().catch(SM))))}};function xN(e){return e.options.scope?.id}var SN=class extends _M{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??AM(r,t),a=this.get(i);return a||(a=new iN({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){ZM.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>OM(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>OM(e,t)):t}notify(e){ZM.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ZM.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ZM.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},CN=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new SN,this.#t=e.mutationCache||new bN,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=qM.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=QM.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(EM(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=CM(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ZM.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;ZM.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return ZM.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=ZM.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(SM).catch(SM)}invalidateQueries(e,t={}){return ZM.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=ZM.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(SM)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(SM)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(EM(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(SM).catch(SM)}fetchInfiniteQuery(e){return e.behavior=hN(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(SM).catch(SM)}ensureInfiniteQueryData(e){return e.behavior=hN(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return QM.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(jM(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{MM(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(jM(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{MM(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=AM(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===UM&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},wN=s.createContext(void 0),TN=e=>{let t=s.useContext(wN);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},EN=({client:e,children:t})=>(s.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,U.jsx)(wN.Provider,{value:e,children:t})),DN=s.createContext(!1),ON=()=>s.useContext(DN);DN.Provider;function kN(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
148var AN=s.createContext(kN()),jN=()=>s.useContext(AN),MN=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?GM(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},NN=e=>{s.useEffect(()=>{e.clearReset()},[e])},PN=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||GM(n,[e.error,r])),FN=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},IN=(e,t)=>e.isLoading&&e.isFetching&&!t,LN=(e,t)=>e?.suspense&&t.isPending,RN=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function zN(e,t,n){let r=ON(),i=jN(),a=TN(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let c=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,FN(o),MN(o,i,c),NN(i);let l=!a.getQueryCache().get(o.queryHash),[u]=s.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&e.subscribed!==!1;if(s.useSyncExternalStore(s.useCallback(e=>{let t=f?u.subscribe(ZM.batchCalls(e)):SM;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),s.useEffect(()=>{u.setOptions(o)},[o,u]),LN(o,d))throw RN(o,u,i);if(PN({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:c,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!xM&&IN(d,r)&&(l?RN(o,u,i):c?.promise)?.catch(SM).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function BN(e,t){return zN(e,cN,t)}function VN(e,t){let n=TN(t),r=n.getQueryCache();return s.useSyncExternalStore(s.useCallback(e=>r.subscribe(ZM.batchCalls(e)),[r]),()=>n.isFetching(e),()=>n.isFetching(e))}var HN=`modulepreload`,UN=function(e){return`/`+e},WN={},GN=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=UN(t,n),t=s(t),t in WN)return;WN[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:HN,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},KN=new CN({defaultOptions:{queries:{gcTime:864e5,retry:(e,t)=>t.status!==403&&e<3}}}),qN=s.createContext({}),JN=()=>(0,s.useContext)(qN),YN=({staleTime:e,children:t,someQueryIsFetching:n,antiForgeryToken:r})=>(0,U.jsx)(qN.Provider,{value:{staleTime:e,antiForgeryToken:r},"data-component":`TanStackProvider`,children:(0,U.jsxs)(EN,{client:KN,children:[(0,U.jsx)(XN,{someQueryIsFetching:n}),!1,t]})}),XN=({someQueryIsFetching:e})=>{let t=VN()>0;return(0,s.useEffect)(()=>{e&&e(t)},[t]),null};async function ZN(e,{headers:t={},method:n=`GET`,body:r,...i}={}){let a=new Headers({"Content-Type":`application/json`,Accept:`application/json`,...t}),o={credentials:`include`,...i,headers:a,method:n};r!=null&&n!==`GET`&&(o.body=typeof r==`string`?r:JSON.stringify(r));let s=await fetch(e,o),c;try{c=await s.json()}catch{c={url:s.url,statusText:s.statusText}}if(!s.ok){let e=Error(`Request failed: ${s.statusText}`);throw e.status=s.status,e.body=c,e}return c}var QN=(e,{queryKey:t=[e],queryFn:n=({signal:t})=>ZN(e,{method:`GET`,signal:t}),...r}={})=>{let{staleTime:i}=JN();return BN({staleTime:i,...r,queryFn:n,queryKey:t})},$N=e=>{for(var t=e+`=`,n=decodeURIComponent(document.cookie).split(`;`),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)===` `;)i=i.substring(1);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return``};function eP(){return $N(`XSRF-TOKEN`)}var tP=class extends nM{constructor(e,t,n){let r=iP(e,n);super({eventName:r===`unknown`?e:r,data:nP(t)})}toGaObject(){return super.toGaObject()}},nP=e=>{let t={};return Object.entries(e).forEach(([e,n])=>{let r=rP(n);t[e]=r===`unknown`?typeof n==`object`&&n?n:n?.toString():r}),t},rP=e=>{switch(e){case $j.CrossSellID1:return`cs_1`;case $j.CrossSellID2:return`cs_2`;case $j.CrossSellAddOn:return`CC Cross sell add-on checktype item`;case $j.CrossSellBanner:return`CC Cross sell banner`;case $j.CreditCardCrossSellItem:return[{item_id:`5`,item_name:`Credit card`,item_variant:`Cross 
148sell`}];case $j.Ppi:return`PPI`;default:return`unknown`}},iP=(e,t)=>{switch(e){case Yj.ViewPromotion:return`view_promotion`;case Yj.SelectPromotion:return`select_promotion`;case Yj.LoanApplication:return t?`my_ul_application_oneflow`:`my_ul_application`;case Yj.ViewItem:return`view_item`;case Yj.Purchase:return`purchase`;case Yj.AddToCart:return`add_to_cart`;case Yj.RemoveFromCart:return`remove_from_cart`;default:return`unknown`}},aP=class e extends nM{category;action;label;applicationId;creditLimit;constructor(e,t,n,r,i,a){super({eventName:oP(e,t,a),data:{checktype_name:t.toString(),application_id:r?r?.toString():void 0,checktype_value:n,credit_limit:i}}),this.category=e,this.action=t,this.label=n,this.applicationId=r}static fromObject(t){return new e(t.category,t.action,t.label,t.applicationId,t.creditLimit,t.isOneFlow)}toGaObject(){let e=super.toGaObject();return e.eventCategory=this.category,e.eventAction=this.action,this.label&&(e.eventLabel=this.label),this.applicationId&&(e.ApplicationId=this.applicationId),e}},oP=(e,t,n)=>{switch(e){case Yj.GreenLoanApplication:return`my_gl_application`;case Yj.MyPage:return`MyPage`;case Yj.LoanApplication:return n?`my_ul_application_oneflow`:`my_ul_application`;case Yj.LoanExtensionApplication:return`my_le_application`;case Yj.CreditPurchaseApplication:return`my_cp_application`;case Yj.TopUpApplication:return`my_tu_application`;case Yj.MyPageCreditCard:return`MyPageCreditCard`;case Yj.MyPageCreditCardTransactions:return`MyPageCreditCardTransactions`;case Yj.SavingsAccountApplication:return`my_sa_application`;case Yj.SavingsAccountPlusApplication:return`my_sw_application`;case Yj.SavingsAccountDelayedWithdrawalApplication:return`my_sd_application`;case Yj.CreditCardApplication:switch(t){case Qj.Received:return`cc_application_received`;case Qj.Approved:return`cc_application_approved`;case Qj.Rejected:return`cc_application_rejected`}return`my_cc_application`;case Yj.CreditCardLimitIncreaseApplication:switch(t){case Qj.Apply:return`ccli_application_received`;case Qj.Approved:return`ccli_application_approved`;case Qj.Rejected:return`ccli_application_rejected`;case Qj.Buffered:return`ccli_application_buffered`;case Qj.Error:return`ccli_application_error`}return`my_ccli_application`;case Yj.Insurance:return`Insurance`;case Yj.CreditLineApplication:switch(t){case Qj.Received:return`cl_application_received`;case Qj.Approved:return`cl_application_approved`;case Qj.Rejected:return`cl_application_rejected`}return`my_cl_application`;case Yj.CreditLineLimitIncreaseApplication:switch(t){case Qj.Apply:return`clli_application_received`;case Qj.Approved:return`clli_application_approved`;case Qj.Rejected:return`clli_application_rejected`;case Qj.Buffered:return`clli_application_buffered`;case Qj.Error:return`clli_application_error`}return`my_clli_application`;case Yj.RefinanceEditor:switch(t){case Qj.Received:return`MyPageRefinance
148Editor_received`;case Qj.Approved:return`MyPageRefinanceEditor_approved`;case Qj.Rejected:return`MyPageRefinanceEditor_rejected`}return`MyPageRefinanceEditor`}return`unknown`},sP=class extends nM{constructor(e,t){let n=lP(e),r={ui_element_name:n===`unknown`?e:n};if(t){let e=cP(t);r.ui_element_value=e===`unknown`?t:e}super({eventName:`ui_element_click`,data:r})}toGaObject(){return super.toGaObject()}},cP=e=>{switch(e){case`Settings:Konto`:return`Account`;case`Alert:Konto`:return`Account`;case`Settings:Hjelp`:return`Help`;case`Alert:Hjelp`:return`Help`;case`Settings:Varsel`:return`Alert`;case`Alert:Varsel`:return`Alert`;case`Min side`:return`Home`;case`Kredittkort`:return`CreditCard`;case`Sparing`:return`Savings`;case`Lån`:return`Loan`;case`Oversikt`:return`Home`;case`Bonusopptjening`:return`BonusEarning`;case`Vilkår og priser`:return`TermsAndPrices`;case`Pdf`:return`Pdf`;case`Excel`:return`Excel`;case`CUSTOM`:return`MONTHTODATE`}return`unknown`},lP=e=>{switch(e){case Qj.BottomNavigation:return`BottomNavigation`;case Qj.Header:return`HeaderButton`;case Qj.TopMobileNavigation:return`TopNavigation`;case Qj.ToggleChoosePeriod:return`ChoosePeriod`;case Qj.ToggleFilterCategory:return`FilterCategory`;case Qj.ToggleFilter:return`Search`;case Qj.TransactionClick:return`TransactionClick`;case Qj.InvoiceAction:return`InvoiceAction`;case Qj.CreditCardAction:return`CreditCardAction`;case Qj.ChoosePeriod:return`ChoosePeriod`;case Qj.ProductBanner:return`ProductBanner`;case Qj.Download:return`Download`;case Qj.ChooseDateFrom:return`ChooseDateFrom`;case Qj.ChooseDateTo:return`ChooseDateTo`;case Qj.AmountFrom:return`AmountFrom`;case Qj.AmountTo:return`AmountTo`;case Qj.TransactionSearchText:return`TransactionSearchText`;case Qj.Other:return`Other`}return`unknown`},uP={BNGoogleTagManager:Jj,PublicPortalDataLayerEvent:aP,EventCategory:Yj,EventAction:Qj,EventLabel:eM,DataLayerTransaction:qj,DataLayerTransactionProductData:Kj,FormFieldResult:rM,AdjustableDataLayerEvent:tP,UiElementClickEvent:sP,EventActionValue:$j},dP=({src:e,consumer:t,iconSx:n})=>{let{pathname:r}=qy(),i=(e?.split(`/`).pop())?.replace(`.svg`,``),a=fP(i);return a?(0,U.jsx)(a,{sx:n}):e?(0,U.jsx)(vx,{src:e,sx:n,"data-component":`IconSrcToMuiMapper`}):(gx.logError(`IconSrcToMuiMapper got empty src. ${t} path=${r}`),null)};function fP(e){switch(e){case`add`:return bs;case`addons`:return Vc;case`approved`:return Ns;case`arrow-right`:return Is;case`card`:return bx;case`cashback_stroke-icon`:return il;case`card_block`:return Bs;case`credit_limit`:return hc;case`card_pin`:return Mc;case`custom_payment`:return Jc;case`customer_service`:return Xc;case`dispute`:return kc;case`dobbelinvoice`:return uc;case`home`:return yx;case`invoice`:return zc;case`loan`:return xx;case`loan_application`:return Jc;case`loan_application_change`:return tl;case`loan_extension`:return Oc;case`loan_repaymentplan`:return Zs;case`loan_payment_free`:return Ys;case`loan_topup`:return Qc;case`logout2`:return Cc;case`my_buys`:return Rc;case`mailbox`:return Ks;case`payment`:return vc;case`payment_transfer`:return Rs;case`payments_einvoice`:return dc;case`payments_pending`:return Nc;case`profile`:return Ec;case`savings`:return Sx;case`transactions`:return Kc}}var pP={primary:{darker:`#C35058`,dark:`#FF7780`,main:`#FDA4AA`,light:`#FCD6D4`,lighter:`#FCE3E3`},secondary:{dark:`#2BB4EF`,main:`#5FCBFA`,light:`#B9DDED`,lighter:`#D6EDFA`},tertiary:{darker:`#35414D`,dark:`#35414D`,main:`#4D5966`,light:`#5E6F80`,lighter:`#5E6F80`,contrastText:`#D6EDFA`},shadow:{white:`#FFFFFF`,black:`#000000`,main:`#828282`,light:`#EBECED`,dark:`#4F4F4F`,darker:`#333333`,contrastText:`#D6EDFA`},text:{primary:`#35414D`,secondary:`#4D5966`},background:{default:`#D6EDFA`,paper:`#FFFFFF`},info:{dark:`#2BB4EF`,main:`#5FCBFA`,light:`#B9DDED`,lighter:`#D6EDFA`},warning:{darker:`#6B5B07`,dark:`#B2980C`,main:`#FDEFA4`,light:`#FFF7CE`,lighter:`#FFFADF`},success:{darker:`#245D13`,dark:`#245D13`,main:`#45AE22`,light:`#98F19E`,lighter:`#C9FFCD`,contrastText:`#FFFFFF`},error:{dark:`#A62933`,main:`#DF4854`,light:`#FFBBBB`,lighter:`#FDD0D0`}},mP={primary:{darker:`#FF7780`,dark:`#C35058`,main:`#35414d`,light:`#202427`,lighter:`#1a1b1c`},secondary:{dark:`#2BB4EF`,main:`#35414d`,light:`#202427`,lighter:`#1a1b1c`},tertiary:{darker:`#8d8d8d`,dark:`#3f3f3f`,main:`#35414d`,light:`#202427`,lighter:`#1a1b1c`,contrastText:`#fff`},shadow:{white:`#fff`,black:`#000000`,main:`#828282`,light:`#212931`,dark:`#4F4F4F`,darker:`#333333`,contrastText:`#fff`},text:{primary:`#FFFFFF`,secondary:`#FFFFFF`},action:{active:`#B9DDED`,asdfa:`#000`},background:{default:`#202427`,paper:`#1a1b1c`},info:{dark:`#daf4ff`,main:`#35414d`,light:`#202427`,lighter:`#1a1b1c`},warning:{darker:`#fff9da`,dark:`#fff9da`,main:`#614514`,light:`#47320d`,lighter:`#292010`},success:{darker:`#caf7cd`,dark:`#caf7cd`,main:`#1e4e39`,light:`#24352d`,lighter:`#212a26`,contrastText:`#fff`}
148,error:{dark:`#ffc1c6`,main:`#FF7780`,light:`#FF7780`,lighter:`#C35058`}},hP=(e,t,n,r,i)=>{let a=t/e,o=(t,n=1)=>`${(typeof t==`string`?parseInt(t,10):t)*n/e}rem`,s=Uo({cssVariables:{nativeColor:!0,colorSchemeSelector:`data`},breakpoints:{values:{xs:0,sm:600*a,md:960*a,lg:1280*a,xl:1920*a}},typography:{fontFamily:[`ApercuPro`,`Helvetica`,`sans-serif`].join(`,`),htmlFontSize:e,fontWeightBold:`bold`},spacing:e=>o(8*e),palette:r?void 0:pP,colorSchemes:r?{light:{palette:pP},dark:{palette:mP}}:void 0,shape:{borderRadius:4},components:{MuiListItemButton:{styleOverrides:{root:({theme:e})=>e.applyStyles(`dark`,{"& .MuiSvgIcon-root":{color:`#B9DDED`},'& img[src$=".svg"]':{filter:`invert(1) hue-rotate(180deg)`}})}},MuiButtonBase:{styleOverrides:{root:{boxShadow:`none !important`,"&:focus-visible, &.Mui-focusVisible":{outline:`auto`}}}},MuiCard:{styleOverrides:{root:({theme:e})=>({borderRadius:o(e.shape.borderRadius,4)})},defaultProps:{elevation:0}},MuiFab:{styleOverrides:{root:{zIndex:`1`}}},MuiGrid:{defaultProps:{spacing:2}},MuiInputLabel:{styleOverrides:{root:({theme:e})=>({fontSize:o(14),fontWeight:`bold`,"&.Mui-error":{color:e.vars.palette.error}})}},MuiInputAdornment:{styleOverrides:{root:[({theme:e})=>({padding:`${o(24)} ${o(12)}`,backgroundColor:e.vars.palette.shadow.light,border:`${o(1)} solid ${e.vars.palette.tertiary.light}`}),({theme:e})=>e.applyStyles(`dark`,{backgroundColor:e.vars.palette.shadow.darker,borderColor:e.vars.palette.tertiary.dark,color:`${e.vars.palette.shadow.contrastText}`,".MuiTypography-root":{color:`${e.vars.palette.shadow.contrastText}`}})],positionStart:({theme:e})=>({borderRight:0,marginRight:0,borderTopLeftRadius:o(e.shape.borderRadius),borderBottomLeftRadius:o(e.shape.borderRadius)}),positionEnd:({theme:e})=>({marginLeft:0,borderLeft:0,borderTopRightRadius:o(e.shape.borderRadius),borderBottomRightRadius:o(e.shape.borderRadius)})}},MuiFormHelperText:{styleOverrides:{root:{fontSize:o(14)}}},MuiCheckbox:{styleOverrides:{root:({theme:e})=>({color:e.vars.palette.text.primary,"&.Mui-checked":{color:e.vars.palette.text.primary}})}},MuiSelect:{styleOverrides:{icon:{width:o(32)},select:({theme:e})=>({paddingRight:`${o(36)} !important`,"&:focus":{borderRadius:o(e.shape.borderRadius)}})}},MuiMenu:{styleOverrides:{paper:({theme:e})=>({borderRadius:o(e.shape.borderRadius,4)})}},MuiAutocomplete:{styleOverrides:{input:{"&.MuiInput-input.MuiInput-input":{padding:`${o(10)} ${o(12)}`},height:o(20)},inputRoot:{"& .MuiCircularProgress-root":{position:`absolute`,right:o(30)},paddingBottom:`0`},endAdornment:({theme:e})=>({padding:`${o(6)} ${o(2)} ${o(7)} ${o(1)}`,maxHeight:`100%`,border:`${o(1)} solid ${e.vars.palette.shadow.main}`,borderLeft:0,transition:e.transitions.create([`border-color`,`background-color`]),borderTopRightRadius:o(e.shape.borderRadius),borderBottomRightRadius:o(e.shape.borderRadius)})}},MuiInputBase:{styleOverrides:{root:({theme:e})=>({"&.MuiInputBase-formControl":{marginTop:e.spacing(3)},"&:before,&:after":{display:`none !important`},"&.Mui-disabled .MuiInput-input":{borderColor:e.vars.palette.shadow.main},"&:not(.Mui-disabled):hover .MuiInputAdornment-standard,&.Mui-focused .MuiInputAdornment-standard,&.Mui-focused .MuiAutocomplete-endAdornment":{borderColor:e.vars.palette.secondary.dark},"&.Mui-focused .MuiInputAdornment-standard":{border:`${o(2)} solid ${e.vars.palette.secondary.dark}`,borderRight:`none`,padding:`${o(23)} ${o(11)}`},"&.Mui-focused .MuiInputAdornment-positionEnd.MuiInputAdornment-standard":{borderRight:`${o(2)} solid ${e.vars.palette.secondary.dark}`,borderLeft:`none`},"&.Mui-error:hover .MuiInputAdornment-standard,&.Mui-error .MuiInputAdornment-standard":{borderColor:e.vars.palette.error.main},"&:not(.Mui-disabled):hover .MuiInput-input,.MuiInput-input:focus":{borderColor:e.vars.palette.secondary.dark},".MuiInput-input:focus":{borderColor:e.vars.palette.secondary.dark,borderWidth:o(2),padding:o(13)},".MuiInputBase-inputAdornedEnd.MuiInput-input:focus":{borderRight:0,borderBottomRightRadius:0,borderTopRightRadius:0},"&.Mui-error .MuiInput-input":{borderColor:e.vars.palette.error.main},"&.MuiInputBase-sizeSmall":{marginTop:0}}),inputHiddenLabel:()=>({marginTop:0}
148),input:({theme:e})=>[{borderRadius:o(e.shape.borderRadius,1.2),position:`relative`,border:`${o(1)} solid ${e.vars.palette.tertiary.light}`,fontSize:o(16),fontWeight:`normal !important`,padding:o(14),backgroundColor:e.vars.palette.common.white,height:o(20)},e.applyStyles(`dark`,{backgroundColor:`color-mix(in srgb, ${e.vars.palette.shadow.white} 10%, transparent)`,borderColor:e.vars.palette.tertiary.dark})],inputAdornedStart:{borderLeft:`0`,borderBottomLeftRadius:`0`,borderTopLeftRadius:`0`,fontWeight:`bold`},inputAdornedEnd:{borderRight:`0`,borderBottomRightRadius:`0`,borderTopRightRadius:`0`,fontWeight:`bold`}}},MuiFormLabel:{styleOverrides:{root:({theme:e})=>[{fontSize:`${o(14)} !important`,fontWeight:`bold`,transform:`none !important`,lineHeight:o(20),i:{fontWeight:`normal`,fontStyle:`normal`,marginLeft:o(10)},"&.Mui-focused":{color:e.vars.palette.text.primary}},e.applyStyles(`dark`,{"&.Mui-focused":{color:e.vars.palette.common.white}})]}},MuiFormControlLabel:{styleOverrides:{label:{fontSize:o(14)}}},MuiFormControl:{styleOverrides:{root:({theme:e})=>({marginTop:e.spacing(1)})}},MuiTooltip:{styleOverrides:{arrow:{color:`#d81939`},tooltip:{fontSize:o(14),backgroundColor:`#d81939`,fontWeight:`normal`,paddingTop:o(5),paddingBottom:o(5),paddingLeft:o(15),paddingRight:o(15)}}},MuiAccordionSummary:{styleOverrides:{root:{"&.Mui-expanded":{minHeight:o(48)}},content:{"&.Mui-expanded":{margin:`${o(12)} 0`}}}},MuiSwitch:{styleOverrides:{switchBase:({theme:e})=>({"&.Mui-focusVisible":{backgroundColor:`rgba(0, 61, 80, 0.30)`},color:e.vars.palette.shadow.main,":not(.Mui-checked) .MuiSwitch-thumb":{color:e.vars.palette.shadow.main},":not(.Mui-checked)+.MuiSwitch-track":{backgroundColor:e.vars.palette.shadow.main}})},defaultProps:{color:`success`}},MuiPaper:{defaultProps:{elevation:0}},MuiLink:{styleOverrides:{root:({theme:e})=>[{textDecoration:`underline`,textDecorationColor:e.vars.palette.primary.main,textDecorationThickness:o(2),textUnderlineOffset:o(5),color:e.vars.palette.text.secondary,"&:hover":{color:e.vars.palette.text.primary,textDecorationColor:e.vars.palette.primary.dark},"&:focus-visible, &.Mui-focusVisible":{outline:`auto`}},e.applyStyles(`dark`,{textDecorationColor:e.vars.palette.shadow.contrastText,"&:hover":{textDecorationColor:e.vars.palette.shadow.contrastText}})]}},MuiCssBaseline:{styleOverrides:({vars:t,breakpoints:r})=>({html:{fontSize:`${e}px`},"*":{scrollbarWidth:`thin`,fontFamily:`ApercuPro, Helvetica, sans-serif`},a:{textDecoration:`none`},'a:not([class^="Mui"],.not-text)':{textDecoration:`underline`,textDecorationColor:t.palette.primary.main,textDecorationThickness:o(2),textUnderlineOffset:o(5),color:t.palette.text.secondary,"&:hover":{color:t.palette.text.primary,textDecorationColor:t.palette.primary.dark},"&:focus-visible":{outline:`auto`},"[data-dark] &":{textDecorationColor:t.palette.shadow.contrastText,"&:hover":{textDecorationColor:t.palette.shadow.contrastText}}},[r.down(`md`)]:{"#kindly-chat-api [class*=KindlyChatWrapper]":n?{bottom:o(96)}:void 0}})}}});return i&&(s.typography.body1={...s.typography.body1,fontSize:o(16),[s.breakpoints.down(`md`)]:{fontSize:o(13)}},s.typography.body2={...s.typography.body2,fontSize:o(16),[s.breakpoints.down(`md`)]:{fontSize:o(13)}}),fl(s,{breakpoints:[`md`]})},gP=bP,_P=s.createContext({mode:`light`,darkThemeEnabled:!1}),vP=({darkThemeEnabled:e,locale:t,children:n})=>{let{mode:r,setMode:i,systemMode:a}=gl(),o=(r===`system`?a:r)??`light`;return fM(`m`,()=>
148{localStorage?.getItem(`mui-mode`)===`dark`?i(`light`):i(`dark`)}),(0,s.useEffect)(()=>{r&&oM({action:lM.ThemeChanged,data:{mode:r}})},[r]),(0,U.jsx)(_P.Provider,{value:{mode:e?o:`light`,darkThemeEnabled:e,locale:t},"data-component":`BNThemeModeProvider`,children:n})},yP=({children:e,cssBaseLineEnabled:t,darkThemeEnabled:n,htmlFontSize:r,emotionCacheKeySuffix:i,isApp:a,locale:o,emotionCache:s,customizedTypography:c})=>{let l=pM(r),u=s??gP(i);return(0,U.jsx)(Bn,{value:u,"data-component":`BNMaterialUI`,children:(0,U.jsx)(yl,{theme:hP(r,l,a,n,c),children:(0,U.jsxs)(vP,{darkThemeEnabled:n,locale:o,children:[t&&(0,U.jsx)(Cp,{}),(0,U.jsx)(qo,{styles:e=>{let t=e.applyStyles(`dark`,{filter:`invert(1) hue-rotate(180deg)`});return{".ios.ios.ios .MuiInput-input:focus":{borderColor:e.vars.palette.secondary.dark},".ios.ios .MuiInput-input:hover":{borderColor:e.vars.palette.shadow.dark},".ios.ios.ios &.Mui-focused .MuiInputAdornment-standard,.ios.ios.ios &.Mui-focused .MuiAutocomplete-endAdornment":{borderColor:e.vars.palette.secondary.dark},".ios.ios &:hover .MuiInputAdornment-standard":{borderColor:e.vars.palette.shadow.dark},'svg:not([class*="Mui"]):not(.no-color-invert)':{...t},'img[src$=".svg"]:not(.no-color-invert)':{...t},'img[src^="data:image/svg+xml"]:not(.no-color-invert)':{...t},'svg[class*="icon"]:not(.no-color-invert), img[class*="icon"][src$=".svg"]:not(.no-color-invert), img[class*="icon"][src^="data:image/svg+xml"]:not(.no-color-invert)':e.applyStyles(`dark`,{filter:`brightness(0) invert(1)`})}}}),(0,U.jsx)(qo,{styles:`
149              .svg-to-white svg,
150              .svg-to-white img[src$=".svg"],
151              .svg-to-white img[src*="data:image/svg+xml"] {
152                filter: brightness(0) invert(1);
153              }
154            `}),e,(0,U.jsx)(Bj,{})]})})})};function bP(e){return _n({key:`bnmui${dM(e)||``}`})}var xP=(0,s.createContext)(void 0);function SP(e,t,n,r){let i=Math.PI*n/180,a=Math.PI*r/180;return{x1:e+e*t*Math.cos(i),y1:e+e*t*Math.sin(i),x2:e+e*t*Math.cos(a),y2:e+e*t*Math.sin(a)}}function CP(e,t,n,r,i){let a=e/2*t;return`A${a}, ${a} 0 ${n} ${r}, ${i}`}function wP(e,t,n,r,i){let a=t+e,o=e>180?`1 1`:`0 1`,s=e>180?`1 0`:`0 0`,c=n/2,l=SP(c,i,t,a),u=SP(c,r,t,a),d=CP(n,i,o,l.x2,l.y2),f=CP(n,r,s,u.x1,u.y1);return`M${l.x1},${l.y1}
155  ${d}
156  L${u.x2},${u.y2}
157  ${f} z`}var TP=({item:e})=>{let{className:t,emptyOffset:n,graphWidth:r,innerRadius:i,outerRadius:a,selected:o,selectedOffset:c,toggledOffset:l,toggleSelect:u,total:d}=(0,s.useContext)(xP),{angle:f,classNames:p,clickHandlers:m,index:h,isEmpty:g,label:_,value:v,...y}=e,b=Number.isNaN(v/d)||d/v===1?359.99:v/d*360,[x,S]=[i,a];return g?(x+=n,S-=n):o?.label===_&&(u?(x-=l,S+=l):S+=c),(0,U.jsx)(`path`,{...m,...y,className:`${t}-arcs-path ${p}`,d:wP(b,f,r,x,S),"data-component":`ArcPath`})},EP=({className:e=`donutchart`,clickToggle:t=!0,colorFunction:n=(e,t)=>e[t%e.length],colors:r=[`#f44336`,`#e91e63`,`#9c27b0`,`#673ab7`,`#3f51b5`,`#2196f3`,`#03a9f4`,`#00bcd4`,`#009688`,`#4caf50`,`#8bc34a`,`#cddc39`,`#ffeb3b`,`#ffc107`,`#ff9800`,`#ff5722`,`#795548`,`#607d8b`],data:i=[{className:``,label:``,value:100,isEmpty:!0}],emptyColor:a=`#e0e0e0`,emptyOffset:o=.08,formatValues:c=(e,t)=>Number.isNaN(e/t)?`--`:`${(e/t*100).toFixed(2)}%`,height:l=104,interactive:u=!1,innerRadius:d=.7,onMouseEnter:f=e=>e,onMouseLeave:p=e=>e,onClick:m=(e,t)=>t?e:null,outerRadius:h=.9,selectedOffset:g=.03,strokeColor:_=`#212121`,toggledOffset:v=.04,width:y=750})=>
157{let[b,x]=(0,s.useState)(u?i[0]:null),[S,C]=(0,s.useState)(!1);(0,s.useEffect)(()=>{u&&(x(i[0]),C(!1))},[u,i]);let w=y,T=i.reduce((e,{value:t})=>e+t,0),{dataWithRenderProps:E}=i.reduce(({angle:e,dataWithRenderProps:i},o,s)=>{let{className:c,isEmpty:l,label:d,value:h}=o,g=b?.label===d,v=g&&S;return{angle:e+(Number.isNaN(h/T)||T/h===1?359.99:h/T*360),dataWithRenderProps:[...i,{angle:e,index:s,...o,classNames:`${c} ${l?`empty`:``} ${g?`selected`:``} ${v?`toggled`:``}`.trim(),fill:l?a:n(r,s),opacity:g&&!S?.5:1,stroke:l?a:_,clickHandlers:u?{onClick:()=>{if(b?.label===d){let e=t?!S:!1;x(o),C(e),m(o,e)}},onMouseEnter:()=>{S||(x(o),f(o))},onMouseLeave:()=>{S||p(o)}}:void 0}],total:T+h}},{angle:-120,dataWithRenderProps:[]});return(0,U.jsx)(xP.Provider,{value:{className:e,emptyOffset:o,graphWidth:w,innerRadius:d,outerRadius:h,selected:b,selectedOffset:g,toggledOffset:v,toggleSelect:S,total:T,width:y},"data-component":`BNDonutChart`,children:(0,U.jsxs)(`svg`,{className:e,style:{height:l,width:y},viewBox:`0 0 ${y} ${l}`,children:[(0,U.jsx)(`g`,{className:`${e}-arcs`,children:E.map(e=>(0,U.jsx)(TP,{item:e},`arcpath${e.index}`))}),b&&(0,U.jsxs)(`g`,{className:`${e}-innertext`,children:[(0,U.jsx)(`text`,{className:`${e}-innertext-label`,x:w/2,y:`45%`,textAnchor:`middle`,children:b.label}),(0,U.jsx)(`text`,{className:`${e}-innertext-value`,x:w/2,y:`60%`,textAnchor:`middle`,children:c(b.value,T)})]})]})})},DP=e=>{let{address:t,companyName:n,info:r,isApp:i,sx:a={}}=e;return(0,U.jsx)(Kb,{component:`footer`,sx:[e=>({fontSize:`1.6rem`,color:i?`text.primary`:`white`,backgroundColor:i?`background.default`:`tertiary.dark`,padding:{xs:`1.6rem`,sm:`3.2rem`},"@media print":{display:`none`},"& a, &a:hover":{color:i?void 0:`white !important`},...!i&&e.applyStyles(`dark`,{backgroundColor:e.vars.palette.background.paper})}),...Array.isArray(a)?a:[a]],"data-component":`BNFooter`,children:(0,U.jsxs)(Kb,{sx:{maxWidth:`120rem`,margin:`0 auto`},children:[e.imageElement&&(0,U.jsx)(Kb,{sx:{textAlign:`center`},children:e.imageElement}),(0,U.jsx)(Kb,{component:`nav`,"aria-label":`footer menu`,children:(0,U.jsx)(Kb,{component:`ul`,sx:{listStyleType:`none`,alignItems:`center`,display:`flex`,flexWrap:`wrap`,justifyContent:`center`,paddingLeft:0,li:{m:1},my:0},children:e.children})}),(0,U.jsxs)(Kb,{sx:{textAlign:`center`,a:{textDecoration:`underline`,color:i?`text.primary`:void 0}},children:[r&&(0,U.jsx)(`span`,{dangerouslySetInnerHTML:{__html:r}}),(0,U.jsxs)(`span`,{children:[n,` | `,t]})]})]})})},OP=Wr(`img`)({maxWidth:`100%`}),kP=({sx:e,dark:t})=>{let[n,r]=(0,s.useState)(!1);(0,s.useEffect)(()=>{window.onbeforeprint=function(){r(!0)},window.onafterprint=function(){r(!1)}},[]);let i={src:`https://res.cloudinary.com/banknorwegian/image/upload/statics/logo.svg`,srcDark:`https://res.cloudinary.com/banknorwegian/image/upload/statics/logo_dark.svg`,srcPrint:`https://res.cloudinary.com/banknorwegian/image/upload/e_colorize,co_rgb:000000/statics/logo.png`,altText:`Logo Bank Norwegian Branch of NOBA Bank Group`,width:200,height:40};return(0,U.jsx)(OP,{width:i.width,height:i.height,alt:i.altText,src:n?i.srcPrint:t?i.srcDark:i.src,sx:e,className:`no-color-invert`,"data-component":`BNLogo`})},AP=e=>{let t=Ko(),n=e.navigate,{text:r,link:i,logoSrc:a,onClick:o,hasPopup:c,ariaOwns:l,ariaLabel:u,icon:d,iconProps:f,dataUit:p,dataCmsTargetKey:m,hidden:h,iconButtonSx:g,clickHandlerOverride:_,popoverTarget:v,buttonId:y,hrefLang:b}=e,x={fontSize:`2.4rem`},S=(0,s.useMemo)(()=>d?(0,U.jsx)(d,{sx:x,...f}):(0,U.jsx)(dP,{src:a,consumer:`component=HeaderButton text=${r}`,iconSx:x}),[a,d]),C=kx(i);return(0,U.jsx)(Kb,{sx:{fontSize:`1.2rem`,[t.breakpoints.down(`md`)]:{display:h?.mdDown?`none`:void 0},[t.breakpoints.up(`md`)]:{display:h?.mdUp?`none`:void 0}},"data-component":`HeaderButton`,children:(0,U.jsx)(nd,{id:y,"aria-haspopup":c?`true`:`false`,"aria-owns":l,"aria-label":u,"data-uit":p||`header-button-${y}`,"data-cms-target-key":m,...C?{href:C}:{},...b?{hrefLang:b}:{},...v?{popoverTarget:v}:{},onClick:_===null?void 0:t=>{t.preventDefault(),[`konto`,`Varsel`,`Hjelp`].some(e=>r.includes(e))&&Jj.addEventToDataLayer(new sP(Qj.Header,eM.Settings+`:`+r)),o?.(t),e.link&&(e.isSpa&&n?n(e.link):window.location.href=e.link)},sx:[{color:`inherit`,fontSize:`1.2rem`},..._x(g)],children:(0,U.jsxs)(KP,{direction:`column`,justifyContent:`center`,alignItems:`center`,sx:{lineHeight:`normal`},children:[(0,U.jsx)(Kb,{sx:{textAlign:`center`,height:`2.4rem`,width:`2.4rem`},children:S}),(0,U.jsx)(Kb,{sx:{whiteSpace:`nowrap`},children:r})]})})})},jP=e=>{let{OpenMenuComponent:t,actions:n,onNavigate:r,isSpa:i,color:a}
157=e,o=Xy(),c=Ko(),[l,u]=(0,s.useState)(null),[d]=(0,s.useState)(`fab`+Math.floor(Math.random()*1e4)),f=`${d}-button-links`,p=()=>{u(null)},m=e=>{u(e.currentTarget)},h=e=>e.icon?(0,U.jsx)(rg,{sx:{color:a},children:(0,U.jsx)(e.icon,{})}):null,g=n.filter(e=>!!e),_=g.length>0;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{"aria-owns":l?f:void 0,"aria-haspopup":`true`,onClick:n.length?m:()=>{},tabIndex:-1,"data-uit-container":_?`open-fab-container`:void 0,children:t}),(0,U.jsx)(jg,{id:f,anchorEl:l,open:!!l,onClose:p,"data-uit-container":_?`fab-item-list`:void 0,slotProps:{list:{sx:{paddingTop:1.5,paddingBottom:1.5}},paper:{sx:{borderRadius:2}}},children:g.map((e,t)=>(0,U.jsxs)(Lg,{sx:{justifyContent:`center`,paddingTop:1,paddingBottom:1,paddingLeft:3,paddingRight:3,color:e?.color,[c.breakpoints.up(`md`)]:{display:e.hiddenOnDesktop?`none`:void 0}},disableGutters:!0,onClick:()=>{r?.(e.title),e.url!==void 0&&(i(e.url)?o(e.url):window.location.assign(e.url)),e.onClick?.(),p()},"data-uit":e.dataUit?e.dataUit:ux(e?.url||e.title),children:[(0,U.jsx)(cg,{sx:{marginRight:`3rem`},children:e.title}),h(e)]},`${d}-menu-item-${t}`))})]})},MP=e=>{let{messageList:t,onNavigate:n,isSpa:r,openMenuComponentSx:i}=e;if(!t||t.length<1)return null;let a=t.map(e=>({title:e.text,url:e.link,icon:e.type===1?qs:Is,color:e.type===1?`error.main`:void 0}));return(0,U.jsx)(jP,{actions:a,isSpa:r,onNavigate:e=>{n?.(e)},OpenMenuComponent:(0,U.jsx)(AP,{text:e.text,icon:Ac,iconButtonSx:i}),"data-component":`Notifications`})},NP=X((0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`path`,{d:`M12,23c-6.07,0-11-4.93-11-11S5.93,1,12,1s11,4.93,11,11-4.93,11-11,11ZM12,3C7.04,3,3,7.04,3,12s4.04,9,9,9,9-4.04,9-9S16.96,3,12,3Z`}),(0,U.jsx)(`path`,{d:`M7.66,15.68c2.57,2.57,6.73,2.57,9.3,0,.91-.91,1.49-2.03,1.75-3.2h-1.7c-.22.74-.63,1.45-1.22,2.03-1.92,1.92-5.05,1.92-6.97,0l1.74-1.74h-4.65s0,4.65,0,4.65l1.74-1.74`})]}),`Cashback`),PP=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M20.64,4.36l-8.31-2.31c-.22-.06-.44-.06-.66,0L3.36,4.36c-.89.25-.96,1.54-.96,1.71,0,.3.02.72.06,1.24.09,1.04.32,2.48.84,4.11,1.05,3.27,3.29,7.31,8.02,10.39.42.27.94.27,1.36,0,4.73-3.08,6.97-7.11,8.02-10.39.52-1.63.75-3.07.84-4.11.05-.52.06-1.24.06-1.24-.01-.79-.04-1.45-.96-1.71ZM11.92,18.88c-.17,0-.26-.05-.41-.15-3.4-2.22-5.01-5.12-5.77-7.47-.37-1.17-.54-2.21-.6-2.95-.03-.37-.04-.68-.05-.89,0-.12.05-1.05.69-1.23l5.98-1.66c.05-.01.11-.01.16,0v14.35Z`})}),`Insurance`),FP=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{id:`Vector`,d:`M15 14.58C14.48 15.96 13.51 16.67 12.12 16.67C9.87004 16.67 9.54004 15.16 9.51004 13.69V13.57L9.86004 13.54C11.29 13.42 13.68 13.23 15.57 12.43C17.63 11.58 18.62 10.25 18.62 8.36001C18.62 6.89001 17.96 4.42001 13.54 4.42001C8.61004 4.42001 5.29004 8.01001 5.29004 13.35C5.29004 15.69 6.09004 19.63 11.43 19.63C14.76 19.63 17.21 18.07 18.16 15.35L18.43 14.58H15ZM9.68004 10.91C9.98004 8.57001 11.31 7.12001 13.17 7.12001C14.53 7.12001 14.81 7.89001 14.81 8.54001C14.81 9.55001 14.17 10.21 12.81 10.6C11.63 10.96 10.22 11.04 9.81004 11.06H9.65004L9.67004 10.91H9.68004Z`})}),`Loan`),IP=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M8,9.27v-2h9v2H8ZM8,12.27v-2h9v2H8ZM11,22.27h-6c-.83,0-1.54-.29-2.12-.88-.58-.58-.88-1.29-.88-2.12v-3h3V2.27h15v9.03c-.33-.03-.67-.02-1.01.04-.34.06-.67.16-.99.31v-7.38H7v12h6l-2,2H4v1c0,.28.1.52.29.71.19.19.43.29.71.29h6v2ZM13,22.27v-3.08l5.53-5.5c.15-.15.32-.26.5-.32.18-.07.37-.1.55-.1.2,0,.39.04.58.11.18.07.35.19.5.34l.92.93c.13.15.24.32.31.5.08.18.11.37.11.55s-.03.37-.1.56c-.07.19-.18.36-.33.51l-5.5,5.5h-3.07ZM14.5,20.77h.95l3.02-3.05-.45-.48-.48-.45-3.05,3.02v.95ZM18.03,17.25l-.48-.45.92.93-.45-.48Z`})}),`InvoiceType`),LP=X((0,U.jsx)(U.Fragment,{children:(0,U.jsx)(`path`,{d:`M20.45,11s-.5-.37-1.17-.4H2.88l-.64,2.9h9.49c0-.6-.23-1.17-.81-1.63.57-.17,1.04-.6,1.34-1.17-.03.17-.03.3-.03.47,0,.87.37,1.47.91,1.9.1.1.6.4,1.54.4h6.61c.03-.23.07-.5.07-.73.07-.73-.37-1.33-.91-1.73M16.23,7.03c-.1,0-1.07.03-1.68.37-.64.33-1.44.97-1.88,2,0-.7-.23-1.43-.91-1.93-.54-.37-1.31-.47-1.74-.47h-.34l-6.04.03-.6,2.87h18.85l.6-2.9-6.27.03ZM1.5,17s6.31-.03,7.45-.03c.87,0,2.15-1.17,2.62-2.47l-.54,2.47h6.31c1.21,0,1.85-.23,1.95-.3.97-.47,1.61-1.33,1.91-2.47H2.1l-.6,2.8Z`})}),`BS`),RP=X((0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`g`,{children:[(0,U.jsx)(`path`,{d:`M6.3,4.32h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.96.45.96.96s-.45.96-.96.96Z`}),(0,U.jsx)(`path`,{d:`M6.3,11.97h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.96.45.96.96s-.45.96-.96.96Z`}),(0,U.jsx)(`path`,{d:`M6.3,15.8h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.96.45.96.96s-.45.96-.96.96Z`}),(0,U.jsx)(`path`,{d:`M13.94,8.14h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.96.45.96.96s-.45.96-.96.96Z`}),(0,U.jsx)(`path`,{d:`M13.94,11.97h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.96.45.96.96s-.45.96-.96.96Z`}),(0,U.jsx)(`path`,{d:`M21.59,4.32h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.95.45.95.96s-.45.96-.95.96Z`}),(0,U.jsx)(`path`,{d:`M21.59,8.14h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.95.45.95.96s-.45.96-.95.96Z`}),(0,U.jsx)(`path`,{d:`M21.59,15.8h-3.82c-.51,0-.96-.45-.96-.96s.45-.96.96-.96h3.82c.51,0,.95.45.95.96s-.45.96-.95.96Z`})]}),(0,U.jsxs)(`g`,{children:[(0,U.jsx)(`path`,{d:`M2.35,20.12c0,.69.39,1.06.84,1.06.41,0,.86-.35.86-1.06s-.43-1.04-.84-1.04c-.45,0-.86.32-.86,1.04ZM2.35,17.3v1.68c.19-.3.54-.6,1.12-.6.65,0,1.42.54,1.42,1.73s-.73,1.83-1.49,1.83c-.43,0-.8-.19-1.03-.58v.47h-.84v-4.53h.82Z`}),(0,U.jsx)(`path`,{d:`M6.11,20.14c0,.71.43,1.04.84,1.04.45,0,.84-.3.84-1.04s-.39-1.06-.84-1.06c-.39,0-.84.32-.84,1.06ZM5.3,20.1c0-1.16.75-1.75,1.51-1.75.41,0,.75.15,1.01.52v-.43h.82v3.39h-.82v-.47c-.24.32-.58.56-1.12.56-.65,0-1.4-.56-1.4-1.81Z`}),(0,U.jsx)(`path`,{d:`M10.25,19.91v1.92h-.82v-3.36h.82v.5c.24-.43.67-.58,1.03-.58.58,0,1.14.3,1.14,1.21v2.24h-.82v-1.94c0-.56-.28-.78-.65-.78-.41.02-.71.26-.71.8Z`}),(0,U.jsx)(`path`,{d:`M13.2,17.3v4.53h.82v-.82l.45-.56.93,1.38h.9l-1.33-1.96,1.16-1.4h-.93l-1.18,1.55v
157-2.72h-.82Z`}),(0,U.jsx)(`path`,{d:`M17.93,17.45h-.84v4.38h.84v-4.38Z`}),(0,U.jsx)(`path`,{d:`M20.37,17.45h-1.59v4.38h1.59c1.18,0,2.17-.71,2.17-2.2s-.99-2.18-2.17-2.18ZM20.37,21.05h-.75v-2.83h.75c.69,0,1.27.45,1.27,1.42s-.58,1.4-1.27,1.4Z`})]})]}),`BankID NO`),zP=X((0,U.jsx)(`svg`,{viewBox:`0 0 52 32`,fill:`currentColor`,children:(0,U.jsx)(`path`,{id:`Vector`,d:`M37.5347 0.5C38.1785 -0.119947 39.1993 -0.115397 39.8375 0.510263L51.4016 14.5549C52.2081 15.3456 52.2001 16.6461 51.3838 17.4268L40.0398 31.5834C39.7603 31.8508 39.3883 32 39.0013 32H29.4764C28.1339 32 27.4661 30.3745 28.4216 29.4325L40.0451 16L29.4764 3H25.2367L35.3445 14.5555C36.1693 15.3427 36.17 16.6581 35.3461 17.4461L22.0654 31.5834C21.7859 31.8508 21.4138 32 21.0269 32H5.99984C2.68696 32 0.000980328 29.315 0.000471277 26.0021C-0.000553232 19.3347 0.000318518 12.6672 0.000957629 5.99973C0.00127525 2.68613 2.68754 0 6.00114 0H11.9697C12.7991 0 13.4714 0.671573 13.4714 1.5C13.4714 2.32843 12.7991 3 11.9697 3H7.00462C4.79548 3 3.00462 4.79086 3.00462 7C3.00462 13 3.00462 19 3.00462 25C3.00462 27.2091 4.79548 29 7.00462 29H19.9156L32.0364 16L20.4128 2.56755C19.4573 1.62547 20.1251 0 21.4677 0H30.7513C31.1383 0 31.5103 0.149232 31.7899 0.416574L43.3549 14.5539C44.1788 15.3419 44.1781 16.6573 43.3533 17.4445L33.2454 29H37.7513L48.0539 16L37.5347 3C36.8755 2.34858 36.8672 1.14288 37.5347 0.5Z`})}),`ClickToPay`),BP=X((0,U.jsx)(`path`,{d:`M12.925 11.05L8.675 6.80001L10.1 5.40001L12.925 8.22501L18.6 2.57501L20 3.97501L12.925 11.05ZM7 18.5L13.95 20.4L19.9 18.55C19.8167 18.4 19.6958 18.2708 19.5375 18.1625C19.3792 18.0542 19.2 18 19 18H13.95C13.5 18 
15713.1417 17.9833 12.875 17.95C12.6083 17.9167 12.3333 17.85 12.05 17.75L9.725 16.975L10.275 15.025L12.3 15.7C12.5833 15.7833 12.9167 15.85 13.3 15.9C13.6833 15.95 14.25 15.9833 15 16C15 15.8167 14.9458 15.6417 14.8375 15.475C14.7292 15.3083 14.6 15.2 14.45 15.15L8.6 13H7V18.5ZM1 22V11H8.6C8.71667 11 8.83333 11.0125 8.95 11.0375C9.06667 11.0625 9.175 11.0917 9.275 11.125L15.15 13.3C15.7 13.5 16.1458 13.85 16.4875 14.35C16.8292 14.85 17 15.4 17 16H19C19.8333 16 20.5417 16.275 21.125 16.825C21.7083 17.375 22 18.1 22 19V20L14 22.5L7 20.55V22H1ZM3 20H5V13H3V20Z`}),`LoanRedemption`),VP=({routeName:e,iconSx:t,consumer:n})=>{let{pathname:r}=qy(),i=HP(r,n,e);return i?(0,U.jsx)(i,{sx:t}):null};function HP(e,t,n){switch(n||gx.logError(`RouteNameToMuiIconMapper RouteName is not set path=${e} ${t}`),n){case`MyPage2`:return yx;case`MyPage2CreditCard`:return bx;case`MyPage2CreditCardTransactions`:case`MyPage2LoanTransactions`:case`MyPage2SavingsAccountTransactions`:return As;case`MyPage2SettingsTransactionLimit`:return nl;case`MyPage2Bonus`:return NP;case`MyPage2CreditCardPayment`:case`MyPage2CreditLinePayment`:case`MyPage2SavingsAccountPayment`:return rl;case`MyPage2SavingsAccountCreateAccount`:return bs;case`MyPage2SavingsAccountNickName`:return Gs;case`MyPage2CreditCardLimit`:return el;case`MyPage2CreditLineLimit`:return nc;case`MyPage2CreditLineLimitIncrease`:return Es;case`MyPage2CreditLineLimitDecrease`:case`MyPage2LoanEquityReleasePayment`:return ws;case`MyPage2Settings`:case`MyPage2CreditCardSettings`:return Wc;case`MyPage2CreditCardMyCardMenu`:case`MyPage2CreditCardBlockCard`:case`MyPage2CreditCardBlockCardNew`:return Bs;case`MyPage2CreditCardInvoiceSpa`:case`MyPage2LoanInvoice`:return Ws;case`MyPage2DisputeSpa`:return kc;case`MyPage2CreditCardAtmLocator`:return Sc;case`MyPage2CreditCardCurrencyConversion`:return Vs;case`MyPage2CreditCardNewCard`:case`MyPage2CreditCardNewCardOrder`:return xs;case`MyPage2CreditCardCustomPayment`:return Yc;case`MyPage2CreditCardTokens`:return rl;case`MyPage2CreditCardECommercePassword`:return Gc;case`MyPage2CreditCardTermination`:case`MyPage2SavingsAccountRedemption`:return Us;case`MyPage2CreditCardPinOverview`:case`MyPage2CreditCardPin`:return Mc;case`MyPage2Document`:case`MyPage2InvoiceView`:case`MyPage2LoanEquityReleaseDocuments`:return Lc;case`PublicPortalCmsPriceList`:case`MyPage2LoanEquityReleaseDetails`:return mc;case`MyPage2CreditCardNewWearable`:return xs;case`MyPage2CreditCardAddOns`:case`MyPage2LoanAddOns`:return PP;case`CreditCardSignedDocument`:case`LoanSignedDocument`:case`SavingsAccountSignedDocument`:case`MyPage2CreditCardAgreements`:case`MyPage2LoanAgreements`:return gc;case`MyPage2CreditCardPaymentEInvoice`:case`MyPage2PaymentEInvoice`:return FP;case`MyPage2CreditCardInvoiceChooseAmount`:case`MyPage2CreditLineInvoiceChooseAmount`:return Dc;case`MyPage2CreditCardInvoiceArchive`:case`MyPage2LoanInvoiceArchive`:return _c;case`MyPage2CreditCardInvoiceType`:case`MyPage2LoanInvoiceType`:return IP;case`MyPage2CreditCardBetalingsService`:case`MyPage2LoanBetalingsService`:return LP;case`MyPage2PaymentTransfer`:return zs;case`MyPage2TopUp`:return $c;case`ApplyLoan`:case`ApplyLoanNew`:case`MyPage2Loan`:case`MyPage2Loans`:case`MyPage2LoanDetail
157s`:case`MyPage2LoanApplication`:case`MyPage2TopUpApplication`:return xx;case`MyPage2LoanRedemption`:return rc;case`MyPage2LoanEquityReleaseRedemption`:return BP;case`MyPage2LoanCustomPayment`:return Zc;case`MyPage2LoanExtension`:return $s;case`MyPage2LoanSkipAPay`:return Xs;case`MyPage2RepaymentPlan`:return Qs;case`MyPage2Mailbox`:return Tc;case`MyPage2ContactInfo`:return Ec;case`MyPage2NotificationPreferences`:return jc;case`MyPage2Accesses`:return bc;case`MyPage2EmailSubscriptions`:return ks;case`MyPage2PersonConsents`:return ac;case`Logout`:return wc;case`MyPage2SavingsAccount`:return Sx;case`MyPage2PaymentPendingPayments`:return Qs;case`MyPage2PaymentAgreementsOverview`:return sc;case`MyPage2PaymentApproval`:return Fs;case`MyPage2PaymentRejections`:return lc;case`MyPage2PaymentRecipientRegistry`:return oc;case`MyPage2LanguageSettings`:return xc;case`MyPage2ExternalAccountNumber`:return Os;case`MyPage2InvoiceAnnualStatements`:return $s;case`MyPage2TaxableToOthers`:return Pc;case`PublicPortalCmsProductsWildcard`:return js;case`MyPage2PushNotificationPreferences`:return Ac;case`MyPage2AccessesAppCode`:return ic;case`MyPage2AccessesDevices`:return Ss;case`MyPage2AccessesOpenBankingConsents`:return yc;case`MyPage2BankIdInfo`:return RP;case`MyPage2CreditCardAddToClickToPay`:case`MyPage2CreditCardClickToPayDetails`:return zP}gx.logError(`RouteNameToMuiIconMapper missing mapping for RouteName=${n} path=${e} ${t}`)}var UP=({onClose:e,ariaLabel:t,title:n,showCloseButton:r=!0,closeButtonText:i})=>(0,U.jsxs)(U.Fragment,{children:[n&&(0,U.jsx)(vm,{sx:{mr:6},children:n}),r&&(0,U.jsxs)(nd,{"aria-label":t||`Close`,onClick:e,size:`large`,sx:{position:`absolute !important`,right:4,top:4,color:`text.primary`,display:`flex`,alignItems:`center`,gap:.5},"data-uit":`close-dialog`,children:[i&&(0,U.jsx)(sx,{variant:`text`,sx:{minWidth:0,p:0},children:i}),(0,U.jsx)(Ls,{})]})]}),WP=({title:e,children:t,open:n,onClose:r,fullWidthContent:i,maxWidth:a,leftAnchoredWidth:o,leftAnchoredMaxWidth:s,preventCloseOnDismiss:c=!1,classes:l,className:u,important:d,showCloseButton:f=!0,closeButtonText:p,PaperProps:m,fullHeight:h,minHeight:g,id:_,outerWrapperSx:v,innerWrapperSx:y,breakpoint:b=`md`})=>{let x=Gv(e=>e.breakpoints.up(b))?`left`:`bottom`,S=e=>(t,n)=>{(!c||n!=`escapeKeyDown`&&n!=`backdropClick`)&&(!t||t.type!==`keydown`||t.key!==`Tab`&&t.key!==`Shift`)&&(e||r(t,n))},C=c?Rm:jv;return m={...m,elevation:0},(0,U.jsx)(C,{id:_,anchor:x,open:n,onClose:S(!1),onOpen:S(!0),disableSwipeToOpen:!0,sx:{zIndex:d?5050:1300,flexShrink:0,"& .MuiDrawer-paper":x==`bottom`?{maxHeight:`90vh`,minHeight:g??(h?`90vh`:`50vh`),borderTopLeftRadius:`3.2rem`,borderTopRightRadius:`3.2rem`,p:2}:x==`left`?{borderTopRightRadius:`3.2rem`,borderBottomRightRadius:`3.2rem`,p:2,width:o||`auto`,maxWidth:s||`auto`}:{}},classes:l,className:u,PaperProps:m,"data-uit-container":n?`dialog`:`dialog-hidden`,"data-component":`BNDrawer`,children:(0,U.jsx)(Kb,{sx:[{display:`flex`,justifyContent:`center`},...v?[v]:[]],children:(0,U.jsxs)(Kb,{sx:[{maxWidth:a??i?`100%`:`48.5rem`,width:i?`100%`:`auto`},...y?[y]:[]],children:[(0,U.jsx)(UP,{onClose:()=>r(),title:e,showCloseButton:!c&&f,closeButtonText:p}),t]})})})},GP=e=>{let t=Gv(`(pointer: coarse)`),{isSpa:n,state:r,overrideLinkIcon:i,target:a,color:o,sx:s,children:c,secondaryText:l,showArrowForward:u,to:d,textSx:f,secondaryTextSx:p,icon:m,left:h,overrideIconMinWidth:g,..._}=e,v=_x(s),y=v[0]?.backgroundColor,b=[{backgroundColor:o||`background.paper`,borderRadius:`0.8rem`,py:2},...v,t?{":hover":{backgroundColor:y||o||`background.paper`}}:void 0],x=[{fontWeight:typeof c==`string`?`bold`:`inherit`,fontSize:{xs:`1.3rem`,md:`1.6rem`}},...Array.isArray(f)?f:[f]],S=d?.toString(),C=n&&S&&n(S);return(0,U.jsxs)(Qh,{sx:b,focusRipple:!t,...S?C?{LinkComponent:Lb,to:C?S:void 0,state:r,target:a}:{LinkComponent:`a`,href:S,target:a}:{},..._,"data-component":`BNListItem`,children:[h,m?(0,U.jsx)(rg,{sx:[{minWidth:g??`4rem`,color:`inherit`}],children:m}):null,(0,U.jsx)(cg,{primary:c,secondary:l,slotProps:{primary:{sx:x},secondary:{sx:p}}}),!i&&(S!=null||u)&&u!==!1&&(0,U.jsx)(Ts,{sx:{fontSize:`medium`,ml:1}}),i]})},KP=e=>(0,U.jsx)(vv,{...e,"data-component":`BNStack`}),qP=({sx:e})=>{let{darkThemeEnabled:t,locale:n}=(0,s.useContext)(_P),{mode:r,setMode:i}=gl();if(!t)return;let a=JP(n);return(0,U.jsxs)(Km,{sx:e,"data-component":`BNThemeSelector`,children:[(0,U.jsx)(mh,{id:`theme-toggle`,children:a.colorMode}),(0,U.jsxs)(b_,{"aria-labelledby":`theme-toggle`,name:`theme-toggle`,row:!0,value:r,onChange:e=>i(e.target.value),children:[(0,U.jsx)(Qm,{value:`dark`,control:(0,U.jsx)(__,{}),label:a.dark}),(0,U.jsx)(Qm,{value:`light`,control:(0,U.jsx)(__,{}),label:a.light}),(0,U.jsx)(Qm,{value:`system`,control:(0,U.jsx)(__,{}),label:a.system})]})]})},JP=e=>{let t={"nb-NO":{colorMode:`Fargemodus`,dark:`Mørk`,light:`Lys`,system:`System`},"sv-SE":{colorMode:`Färgläge`,dark:`Mörk`,light:`Ljus`,system:`System`},"da-DK":{colorMode:`Farvetilstand`,dark:`Mørk`,light:`Lys`,system:`System`},"fi-FI":{colorMode:`Väriteema`,dark:`Tumma`,light:`Vaalea`,system:`Järjestelmä`},"sv-FI":{colorMode:`Färgläge`,dark:`Mörk`,light:`Ljus`,system:`System`}
157,"es-ES":{colorMode:`Modo de color`,dark:`Oscuro`,light:`Claro`,system:`Sistema`},"de-DE":{colorMode:`Farbmodus`,dark:`Dunkel`,light:`Hell`,system:`System`}};return e&&t[e]?t[e]:{colorMode:`Color mode`,dark:`Dark`,light:`Light`,system:`System`}},YP=({settingsLinks:e,userNavigationLinks:t,onNavigate:n,isSpa:r,text:i,openMenuIconButtonSx:a})=>{let o=Ko(),[c,l]=(0,s.useState)(!1),u=t?.privacyPolicy,d=t?.cookiePolicy,f=t?.logout,p=e=>()=>{l(!1),n&&n(e)};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(AP,{dataUit:`user-button`,text:i,icon:Fc,ariaLabel:`Menu`,iconButtonSx:a,onClick:()=>l(!0)}),(0,U.jsx)(WP,{title:i,open:c,onClose:()=>l(!1),fullWidthContent:!0,fullHeight:!0,important:!0,children:(0,U.jsxs)(hm,{sx:{px:3},children:[(0,U.jsx)(qP,{}),f&&(0,U.jsx)(KP,{spacing:1,sx:{mx:`auto`,mt:2},children:(0,U.jsx)(GP,{isSpa:r,to:f.url,icon:(0,U.jsx)(VP,{routeName:f.routeName,consumer:`component=InPageNavigation text=${f.title}`}),"data-uit":ux(f.url),sx:[{py:2,px:{xs:2,md:3},backgroundColor:o.vars.palette.secondary.lighter},o.applyStyles(`dark`,{backgroundColor:o.vars.palette.background.default})],textSx:{fontWeight:`normal`},onClick:p(f.title),children:f.title})}),(0,U.jsx)(KP,{spacing:0,divider:(0,U.jsx)(wm,{sx:{borderColor:o.vars.palette.background.paper}}),sx:{mx:`auto`,mt:2,borderRadius:`0.8rem`,overflow:`hidden`},children:e.filter(e=>!!e).map(e=>(0,U.jsx)(GP,{isSpa:r,to:e.url,icon:(0,U.jsx)(VP,{routeName:e.routeName,consumer:`component=InPageNavigation text=${e.title}`}),"data-uit":ux(e.url),sx:[{py:2,px:{xs:2,md:3},borderRadius:0,backgroundColor:o.vars.palette.secondary.lighter},o.applyStyles(`dark`,{backgroundColor:o.vars.palette.background.default})],textSx:{fontWeight:`normal`},onClick:p(e.title),children:e.title},e.url))}),(0,U.jsxs)(KP,{direction:`row`,spacing:2,mt:1,children:[u&&(0,U.jsx)(sx,{variant:`text`,sx:{px:0},href:kx(u.url),onClick:p(u.title),children:u.title}),d&&(0,U.jsx)(sx,{variant:`text`,sx:{px:0},href:kx(d.url),onClick:p(d.title),children:d.title})]})]})})]})},XP=({settingsLinks:e,userNavigationLinks:t,openMenuIconButtonSx:n,isSpa:r,strings:i,accountText:a})=>(0,U.jsx)(YP,{text:i?.Account||a||``,strings:i,userNavigationLinks:t,settingsLinks:e,onNavigate:e=>{tM.addEventToDataLayer(new sP(Qj.Header,eM.Settings+`:`+e))},isSpa:r,openMenuIconButtonSx:n,"data-component":`AccountSettingsWrapper`}),ZP=({durationSeconds:e,children:t,currentKey:n})=>(0,U.jsx)(`div`,{style:{overflow:`hidden`,position:`relative`,width:`100%`,height:`4rem`},"data-component":`LevelChangeAnimation`,children:(0,U.jsx)(jE,{children:(0,U.jsx)(zj.div,{initial:`initial`,animate:`enter`,exit:`exit`,variants:{initial:{opacity:0}
157,enter:{x:0,opacity:1},exit:{opacity:0}},transition:{duration:e},style:{position:`absolute`,width:`100%`,height:`100%`},children:t},n)})}),QP=e=>{let t=Ko(),{mode:n}=(0,s.useContext)(_P),{isLoggedIn:r,strings:i,messageList:a,userNavigationLinks:o,settingsLinks:c,levelUpLink:l,level:u=0,homeLink:d,altLinkText:f,loginLink:p,isSpa:m,headerDesktopPaddingX:h=4,headerMaxWidth:g=`140rem`,hideButtons:_,otherLanguage:v,isApp:y,transparentBg:b,accountText:x,notificationText:S,isSticky:C=!0,children:w}=e,[T,E]=mM(null,`BN_HEADER_USER_NAVIGATION_LINKS`,o,!1,`object`);(0,s.useEffect)(()=>{o&&E(o)},[o]);let[D,O]=mM(null,`BN_HEADER_SETTINGS_LINKS`,c,!1,`object`);(0,s.useEffect)(()=>{c&&O(c)},[c]);let[k,A]=mM(null,`BN_HEADER_STRINGS`,i,!1,`object`);(0,s.useEffect)(()=>{i.Account&&A(i)},[i]);let j=y,M=Xy(),N=C?{position:`sticky`,top:`0`,zIndex:2,...t.applyStyles(`dark`,{background:`linear-gradient(to bottom, rgba(32, 36, 39, 0.85) 90%, rgba(32, 36, 39, 0.75))`,[t.breakpoints.up(`md`)]:{background:`linear-gradient(to bottom, rgba(32, 36, 39, 0.85) 85%, rgba(32, 36, 39, 0.75))`},backdropFilter:`blur(2rem)`,WebkitBackdropFilter:`blur(2rem)`,"&::after":{content:`""`,position:`absolute`,left:0,right:0,bottom:0,height:`3rem`,transform:`translateY(100%)`,background:`linear-gradient(to bottom, rgba(32, 36, 39, 0.5), transparent)`,pointerEvents:`none`}})}:{},P=v?.languageCode===`fi`?`/sv`:`/`,F=r?d.url:P,I={display:`flex`,alignItems:`center`,height:`100%`},L={maxHeight:`100%`},R={},z=(0,U.jsx)(MP,{text:k?.Notification||S||``,messageList:a,onNavigate:e=>{Jj.addEventToDataLayer(new sP(Qj.Header,eM.Alert+`:`+e))},isSpa:m,openMenuComponentSx:R},`notifications`),B=u<2||!l?.title;return(0,U.jsxs)(Kb,{component:`header`,sx:N,"data-component":`BNHeader`,children:[(0,U.jsx)(Af,{sx:{backgroundColor:j&&n!==`dark`?t.palette.background.default:j||b||n===`dark`?`transparent`:`tertiary.dark`,borderBottom:b&&!j?`0.1rem solid ${t.vars.palette.divider}`:``,px:{xs:2,md:0},"@media print":{backgroundColor:`transparent`}},"data-uit-container":`header`,children:(0,U.jsxs)(Kb,{sx:{display:`grid`,gridTemplateColumns:r?`2fr 1fr`:`3fr 1fr`,gap:1,alignItems:`center`,minHeight:`6rem`,maxWidth:g,mx:`auto`,[t.breakpoints.up(`md`)]:{px:h,gridTemplateColumns:r?`1fr 1fr`:`1fr 3fr 1fr`}},children:[!r&&(0,U.jsx)(Kb,{sx:{[t.breakpoints.down(`md`)]:{display:`none`}}}),(0,U.jsx)(Kb,{sx:{display:`flex`,justifyContent:`left`,maxHeight:`4rem`,[t.breakpoints.up(`md`)]:{justifyContent:r?`left`:`center`},"@media print":{justifyContent:`center`}},children:y?(0,U.jsx)(ZP,{currentKey:B?`logo`:l.title,level:u,durationSeconds:.3,children:B?(0,U.jsx)(Vh,{component:m&&m(F)?Lb:`a`,to:m&&m(F)?F:void 0,href:m&&m(F)?void 0:F,"aria-label":f,sx:I,"data-uit":ux(F),children:(0,U.jsx)(kP,{dark:j&&n===`light`,sx:L})}):(0,U.jsx)(sx,{startIcon:(0,U.jsx)(Cs,{}),variant:`text`,textDecoration:!0,href:m(l.url)?void 0:l.url,to:m(l.url)?l.url:void 0,component:m(l.url)?Lb:void 0,sx:{maxWidth:`100%`,fontWeight:`bold`,px:0,fontSize:`1.3rem`,"@media print":{display:`none`}},"data-uit":`level-up`,noWrap:!0,children:l.title})}):(0,U.jsx)(Vh,{component:m&&m(F)?Lb:`a`,to:m&&m(F)?F:void 0,href:m&&m(F)?void 0:F,"aria-label":f,sx:I,"data-uit":ux(F),children:(0,U.jsx)(kP,{dark:j||b,sx:L})})},`logo-wrapper`),(0,U.jsx)(Kb,{sx:{display:`flex`,paddingTop:`0.1rem`,justifyContent:`right`,"@media print":{display:`none`}},children:(0,U.jsxs)(Kb,{sx:[{display:`flex`,marginRight:-1,color:j?`tertiary.dark`:`common.white`},j&&n===`dark`?t.applyStyles(`dark`,{color:`common.white`}):{}],"data-uit-container":`button-container`,children:[!_&&r&&z,!_&&r&&T&&(0,U.jsx)(V,{links:[T.help],iconButtonSx:R}),!_&&r&&(0,U.jsx)(XP,{settingsLinks:D??[],userNavigationLinks:T,openMenuIconButtonSx:R,isSpa:m,strings:k,accountText:x}),r&&T?.logout&&(0,U.jsx)(AP,{text:T.logout.title,link:T.logout.url,buttonId:ux(T.logout.url),isSpa:m(T.logout.url),logoSrc:T.logout.svgIconSrc,navigate:M,hidden:{mdDown:!_||void 0},iconButtonSx:R}),!r&&v&&(0,U.jsx)(U.Fragment,{children:(0,U.jsx)(Hf,{variant:`text`,"data-uit":`switch-language`,href:v.url,hrefLang:v.languageCode,sx:{color:j||b?`tertiary.main`:`white`,textTransform:`uppercase`,fontSize:`1.2rem !important`,marginRight:.5},children:v.label})}),!r&&!_&&p&&(0,U.jsx)(sx,{variant:`outlined`,startIcon:(0,U.jsx)(Fc,{}),href:p,"data-uit":ux(p),sx:{color:j||b?`tertiary.main`:`white`,borderColor:j?`tertiary.main`:`white`,whiteSpace:`nowrap`,px:2,fontSize:`1.2rem !important`,"&:hover":{borderColor:j?`tertiary.main`:`white`},[t.breakpoints.up(`md`)]:{fontSize:`1.6rem !important`},[t.breakpoints.down(`md`)]:{marginRight:1}},children:k?.loginLabel||`Login`})]})})]})}),w]});function V({links:e,iconButtonSx:t}){return(0,U.jsx)(U.Fragment,{children:e.filter(e=>!!e).map((e,n)=>(0,U.jsx)(AP,{text:e.title,link:e.url,buttonId:ux(e.url),isSpa:m(e.url),logoSrc:e.svgIconSrc,navigate:M,iconButtonSx:t,hidden:{mdDown:e.hiddenOnMobile,mdUp:e.hiddenOnDesktop}},`header-button-${n}`))})}},$P=e=>{let t=Ko();return(0,U.jsx)(Af,{component:`a`,href:`#MainContent`,sx:{position:`absolute`,overflow:`hidden`,fontSize:`2rem`,clip:`rect(0.1rem, 0.1rem, 0.1rem, 0.1rem)`,width:`0.1rem`,height:`0.1rem`,wordWrap:`normal`,display:`block`,padding:`0.8rem`,textAlign:`center`,textDecoration:`none`,color:`secondary.light`,backgroundColor:`tertiary.darker`,outline:`none`,fontWeight:`bold`,"&:focus":{position:`static`,overflow:`visible`,clip:`auto`,width:`auto`,height:`auto`,"& span":{zIndex:`100`,outline:`0.3rem solid ${t.vars.palette.primary.main}`,outlineOffset:`0.2rem`,transition:`none`,textDecoration:`none`}}},onClick:()=>{document?.getElementById(`MainContent`)?.focus()},"data-component":`BNJumpToNavigation`,children:(0,U.jsx)(`span`,{children:e.jumpToNavigationString})})},eF=e=>{let{links:t,isSpa:n=()=>!1,isAppLook:r,sx:i}=e,{pathname:a}=qy(),o=Xy(),c=Ko(),l=(0,s.useRef)(null),u=t.filter(e=>!!e),d=e=>{Jj.addEventToDataLayer(new sP(Qj.TopMobileNavigation,e.title)),n(e.url)?o(e.url):window?.location?.replace(e.url)};return u?.length===1&&aM(a,u[0].url,!0)?null:(0,U.jsx)(mu,{"data-uit-container":`top-navigation`,sx:{dis
157play:`flex`,position:`relative`,justifyContent:`center`,flexWrap:`nowrap`,overflow:`hidden`,borderRadius:0,m:0,padding:`2px 2px`,maxWidth:`100%`,backgroundColor:r?`transparent`:void 0,...c.applyStyles(`dark`,{backgroundColor:`transparent`}),minHeight:`4.1rem`,[c.breakpoints.up(`md`)]:{minHeight:`4.8rem`},"@media print":{display:`none`},...i},ref:l,"data-component":`BNTopNavigation`,children:(0,U.jsx)(Kb,{component:`nav`,sx:{overflowY:`hidden`,overflowX:`auto`,scrollbarWidth:`thin`,whiteSpace:`nowrap`,mx:2},children:u?.map((e,t)=>(0,U.jsx)(tF,{links:u,link:e,index:t,currentPath:a,clickHandler:d,isApp:r},`mobile-top-nav-${t}`))})})},tF=e=>{let t=Ko(),{index:n,clickHandler:r,isApp:i}=e,a=aM(e.currentPath,e.link.url,n===0);return(0,U.jsx)(sx,{href:e.link.url,"data-uit":ux(e.link.url),onClick:t=>{t.preventDefault(),r(e.link)},sx:{overflow:`clip`,fontWeight:`normal`,fontSize:{xs:`1.2rem !important`,md:`1.6rem !important`},whiteSpace:`nowrap`,paddingLeft:{xs:1,md:3},paddingRight:{xs:1,md:3},"&.MuiButton-contained":{backgroundColor:t.vars.palette.primary.light,":hover":{backgroundColor:t.vars.palette.primary.main}}},size:`medium`,variant:i?`text`:a?`contained`:`text`,textDecoration:i?a:!1,"data-component":`MobileNavigationButton`,children:e.link.title})},nF=e=>{let{title:t,children:n,open:r,onClose:i,preventCloseOnDismiss:a,classes:o,className:s,important:c,showCloseButton:l=!0,PaperProps:u,maxWidth:d,fullWidth:f,scroll:p,...m}=e;return(0,U.jsxs)(am,{classes:o,transitionDuration:70,sx:{zIndex:c?1600:void 0,m:1},onClose:(e,t)=>{(a!==!0||t!==`backdropClick`&&t!==`escapeKeyDown`)&&i()},maxWidth:d,className:s,fullWidth:f,scroll:p,open:r,"data-uit-container":`dialog`,...m,slotProps:{paper:u},"data-component":`BNDialog`,children:[(0,U.jsx)(UP,{onClose:()=>i(),title:t,showCloseButton:l}),n]})},rF=e=>{let t=e.activePathList.filter(e=>Jy(e))?.length>0,[n,r]=(0,s.useState)(!1);return s.useEffect(()=>{if(!n&&t){window.kindlyOptions={bubbleHidden:!1,hideHeader:!1,fullscreenMode:!1};let t=document.createElement(`script`);t.id=`kindly-chat`,t.src=`https://chat.kindlycdn.com/kindly-chat.js`,t.async=!0,t.setAttribute(`data-bot-key`,e.kindlyKey),document.body.appendChild(t),r(!0)}},[t,n,e.kindlyKey]),null},iF=e=>{let t=Dr(),{children:n,label:r,href:i,to:a,sx:o,...s}=e,c=i?{...s,href:i,LinkComponent:`a`}:a?{...s,to:a,LinkComponent:Lb}:s;return r?(0,U.jsx)(nd,{sx:[{borderRadius:0},..._x(o)],...c,children:(0,U.jsxs)(Kb,{children:[n,(0,U.jsx)(Sd,{component:`div`,variant:`body1`,sx:[{whiteSpace:`nowrap`,textOverflow:`ellipsis`,overflow:`hidden`,mt:-.5,maxWidth:{xs:`10rem`,md:`12rem`},color:`tertiary.dark`},t.applyStyles(`dark`,{color:`text.primary`})],children:r})]})}):(0,U.jsx)(nd,{sx:o,...c,"data-component":`BNIconButton`,children:n})},aF=e=>{let{sx:t,...n}=e,r=[{cursor:`pointer`},...Array.isArray(t)?t:[t]];return(0,U.jsx)(Vh,{sx:r,...n,"data-component":`BNLink`})},oF=`{link}`;function sF(e,t,n){let[r,i]=e.split(oF);return i===void 0?(0,U.jsx)(s.Fragment,{children:e}):(0,U.jsxs)(s.Fragment,{children:[r,(0,U.jsx)(aF,{href:n,children:t}),i]})}function cF({loginLink:e,text:t,linkLabel:n}){let[r,i]=(0,s.useState)(!1);return(0,U.jsx)(hp,{onClickAway:()=>i(!1),"data-component":`NobaChatLoginPrompt`,children:(0,U.jsxs)(Kb,{sx:{position:`fixed`,bottom:{xs:`6.4rem`,md:`1.2rem`},right:{xs:`0.6rem`,md:`1.2rem`},zIndex:5e3,display:`flex`,flexDirection:`column`,alignItems:`flex-end`,gap:`1.2rem`},children:[r&&(0,U.jsxs)(mu,{"data-uit":`noba-chat-login-prompt-panel`,elevation:3,sx:{position:`relative`,maxWidth:`32rem`,p:`2rem`,borderRadius:`1.2rem`},children:[(0,U.jsx)(iF,{"data-uit":`noba-chat-login-prompt-close`,"aria-label":`Close`,onClick:()=>i(!1),sx:{position:`absolute`,top:`0.4rem`,right:`0.4rem`},children:(0,U.jsx)(Ls,{sx:{width:20,height:20}})}),(0,U.jsx)(Sd,{variant:`body1`,children:sF(t,n,e)})]}),(0,U.jsx)(sx,{onClick:()=>i(e=>!e),"data-uit":`noba-chat-login-prompt-toggle`,sx:{maxWidth:`initial`,minWidth:`initial`,width:44,height:44,px:0,py:0,borderRadius:`999.9rem`},children:(0,U.jsx)(Ds,{sx:{width:20,height:20}})})]})})}var lF=e=>{let{sx:t}=e,n=[{backgroundColor:`background.paper`,color:`text.primary`,mt:`0.1rem`,mb:`0.1rem`},...Array.isArray(t)?t:[t]];return(0,U.jsx)(Xf,{...e,sx:n,children:e.children})},uF=e=>
157{let[t,n]=(0,s.useState)(!1),{trackValue:r,trackEventName:i}=e,a=(e,t,r)=>{e&&t&&r&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`GAEvent`,GA4EventName:r,GA4InputFieldName1:`input_field`,GA4InputFieldValue1:t})),n(e)};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(nd,{size:`small`,sx:e.iconButtonSx,onClick:()=>a(!t,r,i),children:e.helpIcon?(0,U.jsx)(cc,{fontSize:`small`}):(0,U.jsx)(fc,{fontSize:`small`})}),(0,U.jsx)(uu,{in:t,timeout:e.timeout||200,children:(0,U.jsx)(ax,{customIcon:(0,U.jsx)(U.Fragment,{}),severity:`info`,sx:{borderRadius:`1rem`},children:e.setHtml?(0,U.jsx)(`div`,{dangerouslySetInnerHTML:{__html:e.tooltip}}):e.tooltip})})]})},dF=e=>{let{dataUit:t,label:n,helpLabel:r,InputLabelProps:i,inputProps:a,InputProps:o,inputType:c,value:u,tooltip:d,isTooltipHtml:p,isTooltipHelpIcon:m=!1,tooltipTrackEventName:h,tooltipTrackValue:g,onChange:_,localeFormatting:v=`notSet`,phonePrefix:y,sx:b,...x}=e,S=y,C=Ko(),w=v;v===`notSet`&&(w=`nb-NO`);let[T,E]=(0,s.useState)(u),D=e=>{if(c===`formattedNumber`&&!isNaN(parseFloat(e))){let t=Uj(w),n=RegExp(`\\${t}`,`g`),r=parseFloat(e.replace(n,``)).toLocaleString(w);return E(r),r.replace(n,``)}return c===`formattedNumber`&&e===``?(E(``),``):c===`ssn`?e.toUpperCase():e},O=e=>{let t=D(e.target.value);e.target.value=t,_&&_(e)};(0,s.useEffect)(()=>{c===`formattedNumber`&&typeof u==`number`&&D(u.toString())},[u,c]),c===`telephone`&&!S&&(S=l(f(w)));let k,A={};return i&&({sx:k,...A}=i),(0,U.jsx)(Wv,{variant:`standard`,label:(0,U.jsxs)(U.Fragment,{children:[n,r&&(0,U.jsxs)(`i`,{children:[`(`,r,`)`]}),d&&(0,U.jsx)(uF,{tooltip:d,setHtml:p,helpIcon:m,trackEventName:h,trackValue:g})]}),value:c===`formattedNumber`?T:u,onChange:e=>{O(e)},fullWidth:e.fullWidth??!0,margin:`normal`,type:c===`telephone`||c===`formattedNumber`||c===`number`||c===`ssn`&&(v==`nb-NO`||v==`sv-SE`||v==`da-DK`)?`tel`:`text`,autoComplete:e.autoComplete||`on`,...x,sx:[{"&& .Mui-disabled":{"> input":{bgcolor:C.vars.palette.action.disabledBackground},"&:hover .MuiInputAdornment-root":{borderColor:C.vars.palette.grey[600]}},"&& .MuiInputBase-formControl":{marginTop:C.spacing(1)}},..._x(b)],slotProps:{input:c===`telephone`?{startAdornment:(0,U.jsx)(Ah,{position:`start`,children:S}),...o}:o,htmlInput:{"data-uit":e.dataUit,...a},inputLabel:{shrink:!0,sx:{position:`relative`,whiteSpace:`normal`,...k},...A}},"data-component":`BNInput`})},fF=e=>{let{id:t,label:n,onChange:r,options:i,value:a,error:o,disabled:s,fullWidth:c,className:l,innerComponentClassName:u,helperText:d,selectRef:f,helpLabel:p,inputProps:m,formControlSx:h,emptyIfUnavailable:g,placeholder:_,...v}=e,y=Ko(),b=a;return e.multiple&&!(a instanceof Array)&&(b=[]),(0,U.jsxs)(Km,{variant:`standard`,fullWidth:c,disabled:s,className:l,"data-uit-container":`${t}`,error:o,sx:{minWidth:`21rem`,mt:2,mb:1,...h},"data-component":`BNSelect`,children:[(0,U.jsx)(Ph,{id:`${t}-label`,shrink:!0,children:(0,U.jsxs)(U.Fragment,{children:[n,p?(0,U.jsxs)(`i`,{children:[`(`,p,`)`]}):``]})}),(0,U.jsxs)(L_,{sx:[{".MuiSelect-select":{backgroundColor:y.vars.palette.shadow.white,...y.applyStyles(`dark`,{backgroundColor:`color-mix(in srgb, ${y.vars.palette.shadow.white} 10%, transparent)`})}}],labelId:`${t}-label`,value:b==null||g&&!i.some(e=>e.value==b.toString())?``:b,onChange:r,className:u,displayEmpty:!!_,renderValue:t=>{if(t==null||t===``)return _;if(e.multiple){let e=[];return t.forEach(t=>{let n=i.find(e=>e.value==t)?.text;n&&e.push(n)}),e.join(`,`)}return i.find(e=>e.value==t)?.text},inputProps:{name:`${t}-name`,id:t,ref:f,...m},"data-uit":`${t}`,...v,children:[_&&(0,U.jsx)(Lg,{disabled:!0,children:_},`${t}-placeholder`),i.map(n=>(0,U.jsx)(Lg,{"data-uit":`${t}-value-${n.value}`,value:n.value,sx:{whiteSpace:`normal`},children:e.multiple?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(fp,{color:`secondary`,checked:a.indexOf(n.value)>-1}),(0,U.jsx)(cg,{primary:n.text})]}):n.text},`${t}-${n.value}`))]}),d&&(0,U.jsx)(ch,{children:d})]})},pF=s.forwardRef(({min:e=5e3,max:t=6e5,defaultValue:n=15e4,step:r=5e3,whiteTrack:i,...a},o)=>{let s=Ko(),c=a.marks??[{value:e,label:`${a.minLabel}`},{value:t,label:`${a.maxLabel}`}],l=e=>`${e} kr`,u=c.length===3;return(0,U.jsx)(_v,{"aria-label":`slider`,defaultValue:n,getAriaValueText:l,min:e,max:t,step:r,valueLabelDisplay:`off`,marks:c,sx:[{height:`1.2rem`,"& .MuiSl
157ider-rail":i?{backgroundColor:s.vars.palette.shadow.white,opacity:1}:{backgroundColor:s.vars.palette.secondary.dark},"& .MuiSlider-track":{border:0},"& .MuiSlider-mark":{display:`none`},"& .MuiSlider-markLabel":{transform:`none`},"& span.MuiSlider-mark[data-index='1']":{display:u?`inherit`:`none`,backgroundColor:s.vars.palette.tertiary.main,width:`0.3rem`,height:`0.3rem`,outline:`2px ${s.vars.palette.tertiary.main} solid`},"& span:nth-last-child(1 of span.MuiSlider-markLabel)":{transform:`translateX(-100%)`},"& span.MuiSlider-markLabel:nth-of-type(2)":{transform:u?`none`:`translateX(-100%)`}},s.applyStyles(`dark`,{"& .MuiSlider-rail":{backgroundColor:s.vars.palette.secondary.lighter,border:`0.0625rem solid color-mix(in srgb, ${s.vars.palette.shadow.black} 30%, transparent)`,opacity:1},"& .MuiSlider-track":{background:`linear-gradient(to right, ${s.vars.palette.action.active}, rgb(120, 210, 255))`,border:0,position:`relative`,overflow:`hidden`,"&::after":{content:`""`,position:`absolute`,inset:0,borderRadius:`inherit`,background:`linear-gradient(to bottom, color-mix(in srgb, ${s.vars.palette.shadow.white} 30%, transparent) 0%, color-mix(in srgb, ${s.vars.palette.shadow.white} 8%, transparent) 40%, transparent 60%, color-mix(in srgb, ${s.vars.palette.shadow.black} 8%, transparent) 80%, color-mix(in srgb, ${s.vars.palette.shadow.black} 5%, transparent) 100%)`,pointerEvents:`none`,zIndex:1}},"& .MuiSlider-thumb":{background:`radial-gradient(circle at 35% 35%, #ffffff, #e8e8e8 50%, #c8c8c8 100%)`,boxShadow:`0 0.1rem 0.3rem rgba(0, 0, 0, 0.4), inset 0 0.1rem 0.1rem #ffffff, inset 0 -0.1rem 0.2rem #aaaaaa`}})],...a,ref:o})}),mF=({isLoading:e,bottom:t})=>{let[n,r]=(0,s.useState)(!1),[i,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{e?(r(!0),requestAnimationFrame(()=>a(!0))):a(!1)},[e]),n?(0,U.jsx)(Kb,{sx:{height:`0.6rem`,position:`fixed`,bottom:t,left:0,right:0,opacity:+!!i,transition:`opacity 0.3s ease-in-out`,overflow:`hidden`,width:`100%`},onTransitionEnd:()=>{i||r(!1)},"data-component":`BNHorizontalLoader`,children:(0,U.jsxs)(`svg`,{className:`no-color-invert`,width:`100%`,height:`2rem`,xmlns:`http://www.w3.org/2000/svg`,preserveAspectRatio:`none`,viewBox:`0 0 100 6`,children:[(0,U.jsx)(`style`,{children:`
158            @keyframes moveRect {
159              from {
160                transform: translateX(-100%);
161              }
162              to {
163                transform: translateX(100%);
164              }
165            }
166            .moving-rect {
167              animation: moveRect 1.5s linear infinite;
168            }
169          `}),(0,U.jsx)(`defs`,{children:(0,U.jsxs)(`linearGradient`,{id:`grad1`,x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`,children:[(0,U.jsx)(`stop`,{offset:`0%`,style:{stopColor:`#5FCBFA`,stopOpacity:1}}),(0,U.jsx)(`stop`,{offset:`15%`,style:{stopColor:`#FDA4AA`,stopOpacity:1}}),(0,U.jsx)(`stop`,{offset:`40%`,style:{stopColor:`#FDA4AA`,stopOpacity:1}}),(0,U.jsx)(`stop`,{offset:`60%`,style:{stopColor:`#FDA4AA`,stopOpacity:1}}),(0,U.jsx)(`stop`,{offset:`85%`,style:{stopColor:`#FDA4AA`,stopOpacity:1}}),(0,U.jsx)(`stop`,{offset:`100%`,style:{stopColor:`#5FCBFA`,stopOpacity:1}})]})}),(0,U.jsx)(`rect`,{x:`0`,y:`0`,width:`100`,height:`6`,fill:`#5FCBFA`}),(0,U.jsx)(`rect`,{x:`0`,y:`0`,width:`100`,height:`6`,fill:`url(#grad1)`,className:`moving-rect`})]})}):null},{BNGoogleTagManager:hF,EventAction:gF}=uP,_F=({isSpa:e=()=>!1,isLoading:t,isMyPageRoot:n,currentProductName:r,shouldBeActive:i,actionList:a,visibleOnAllWidths:o})=>{let c=Ko(),{pathname:l}=qy(),[u,d]=mM(null,`BOTTOM_NAVIGATION_ACTION_LIST`,a||[]);(0,s.useEffect)(()=>{a?.length?d(a):fetch(`/api/navigation/bottomnavigation?path=${l}`).then(e=>e.json()).then(e=>d(e.bottomNavigationLinks))},[a]);let f=u[0]?.url,p=n===!0,m=e=>{let t=e.split(`/`);return(t[1]===`sv`?t[3]||``:t[2]||``).toLowerCase()},h=u.find(e=>p?f===e.url:f===e.url?!1:r&&r===m(e.url)||i&&i(l,e.url,m(e.url))?!0:!p&&l.startsWith(e.url)),g=t=>e(t)?{to:t,component:Lb}:{href:t};return(0,U.jsxs)(Kb,{sx:[{position:`fixed`,bottom:0,left:0,right:0,height:`6rem`,backgroundColor:`background.default`,borderTop:`1px solid ${c.vars.palette.secondary.light}`,lineHeight:`unset`,zIndex:1200,display:o?void 0:{md:`none`},"@media print":{display:`none`}},c.applyStyles(`dark`,{borderTop:`1px solid color-mix(in srgb, ${c.vars.palette.shadow.white} 20%, transparent)`})],"data-component":`BNBottomNavigation`,children:[(0,U.jsx)(mF,{isLoading:t===!0,bottom:`6rem`}),(0,U.jsx)(Sf,{value:h,showLabels:!0,"data-uit-container":`bottom-navigation`,sx:{backgroundColor:`background.default`,height:`6rem`},children:u.map(e=>(0,U.jsx)(Of,{onClick:()=>hF.addEventToDataLayer(new sP(gF.BottomNavigation,e.title)),label:e.title,icon:(0,U.jsx)(VP,{routeName:e.routeName,consumer:`component=BottomN
169avigation title=${e.title}`,iconSx:{fontSize:`3rem`}}),"data-uit":ux(e.url),value:e,sx:[{color:`tertiary.dark`,justifyContent:`start`,paddingTop:.5,"& .MuiSvgIcon-root":{opacity:.6},"&.Mui-selected .MuiSvgIcon-root":{opacity:1},"& .MuiBottomNavigationAction-label":{fontSize:`1.2rem`,"&.Mui-selected":{fontSize:`1.2rem`,fontWeight:`bold`}},"&.Mui-selected":{color:`tertiary.dark`,".MuiSvgIcon-root":{opacity:1}}},c.applyStyles(`dark`,{color:`text.primary`,"& .MuiSvgIcon-root":{opacity:.3},"&.Mui-selected":{color:`secondary.dark`}})],...g(e.url)},`bottom-navigation-action-${e.svgIconSrc}`))})]})},vF=()=>{var e=Ko();return(0,U.jsx)(Kb,{sx:[{display:`none`},e.applyStyles(`dark`,{position:`fixed`,display:`block`,inset:0,pointerEvents:`none`,zIndex:-1,overflow:`hidden`,"@keyframes floatBulb":{"0%":{transform:`translate(0, 0)`,opacity:.6},"12%":{transform:`translate(60vw, 3rem)`,opacity:.9},"25%":{transform:`translate(100vw, -8rem)`,opacity:.5},"37%":{transform:`translate(70vw, -18rem)`,opacity:.8},"50%":{transform:`translate(30vw, -20rem)`,opacity:.4},"62%":{transform:`translate(10vw, -12rem)`,opacity:.7},"75%":{transform:`translate(50vw, -5rem)`,opacity:.95},"87%":{transform:`translate(20vw, 2rem)`,opacity:.5},"100%":{transform:`translate(0, 0)`,opacity:.6}},"@keyframes floatBulbReverse":{"0%":{transform:`translate(100vw, -20rem)`,opacity:.5},"12%":{transform:`translate(50vw, -18rem)`,opacity:.8},"25%":{transform:`translate(0, -12rem)`,opacity:.45},"37%":{transform:`translate(20vw, -3rem)`,opacity:.9},"50%":{transform:`translate(70vw, 0)`,opacity:.55},"62%":{transform:`translate(90vw, 3rem)`,opacity:.85},"75%":{transform:`translate(40vw, -6rem)`,opacity:.4},"87%":{transform:`translate(80vw, -15rem)`,opacity:.75},"100%":{transform:`translate(100vw, -20rem)`,opacity:.5}},"&::before":{content:`""`,position:`absolute`,top:`-14rem`,left:`-90vw`,width:`180vw`,height:`70rem`,background:`radial-gradient(ellipse at center, rgb(22 112 195 / 53%) 0%, rgba(30, 60, 160, 0.12) 40%, transparent 70%)`,filter:`blur(3rem)`,willChange:`transform, opacity`,animation:`floatBulbReverse 30s ease-in-out infinite`,"@media (prefers-reduced-motion: reduce)":{animation:`none`,transform:`translate(40vw, -10rem)`,opacity:.6}},"&::after":{content:`""`,position:`absolute`,top:`4rem`,left:`-90vw`,width:`180vw`,height:`70rem`,background:`radial-gradient(ellipse at center, #f47f7f6e 0%, rgba(244, 127, 127, 0.1) 40%, transparent 70%)`,filter:`blur(3rem)`,willChange:`transform, opacity`,animation:`floatBulb 30s ease-in-out infinite`,"@media (prefers-reduced-motion: reduce)":{animation:`none`,transform:`translate(60vw, -8rem)`,opacity:.5}}})],"data-component":`BNBackgroundEffect`})},yF=(e,t,n,r)=>{let i=e?`granted`:`denied`,a=t?`granted`:`denied`;window.dataLayer=window.dataLayer||[];function o(e,t,n){window.dataLayer.push(arguments)}let s={ad_storage:i,analytics_storage:a,ad_user_data:i,ad_personalization:i};s.ad_storage===`denied`&&r&&(s.ads_data_redaction=!0),o(`consent`,n,s)},bF=(e,t,n)=>{let r=``;r=e&&t&&n?`accept_all`:!e&&!t&&!n?`accept_none`:`accept_some_A${+!!t}M${+!!e}P${+!!n}`,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:`GAEvent`,GA4EventName:`cookie_consent_response`,GA4InputFieldName1:`consent_value`,GA4InputFieldValue1:r})},xF=e=>{let[t,n]=(0,s.useState)(e.checked);return(0,U.jsx)(U.Fragment,{children:(0,U.jsxs)(mu,{sx:{backgroundColor:`secondary.lighter`,fontSize:`1.4rem`,mb:1,pl:2,pt:0,pb:2,pr:1},children:[(0,U.jsxs)(Kb,{sx:{display:`flex`,flexDirection:`row`,justifyContent:`space-between`,alignItems:`flex-start`,paddingBottom:1},children:[(0,U.jsx)(Kb,{sx:{fontSize:`2rem`,fontWeight:`bold`,pt:2},children:e.header}),!e.force&&(0,U.jsx)(Kb,{sx:{mt:1},children:(0,U.jsx)(zv,{onChange:t=>{e.chandleCheckedChange(t.target.checked),n(t.target.checked)},checked:t,slotProps:{input:{"data-uit":e.dataUit}}})}),e.force&&(0,U.jsx)(Ld,{sx:{mt:2,height:`2rem`,fontSize:`1.2rem`,px:1},label:e?.strings?.cookieConsentDialog_SwitchAlwaysOn,color:`success`})]}),(0,U.jsx)(`div`,{children:e.description})]})})},SF=e=>
vendor: 18,390 bytes, lines 169-176
169{let[t,n]=s.useState({switchPersonalization:e.consent.wantsPersonalization,switchMarketing:e.consent.wantsMarketing,switchAnalysis:e.consent.wantsAnalysis});return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(hm,{sx:{fontSize:`1.2rem`,mt:4,maxWidth:`48.5rem`,m:{md:1}},children:[(0,U.jsx)(Kb,{sx:{fontSize:`2.4rem`,py:0,my:.5},component:`h3`,children:e?.strings?.cookieConsentDialog_HeaderChange}),(0,U.jsx)(xF,{header:e?.strings?.cookieConsentDialog_HeaderNecessary,force:!0,description:e?.strings?.cookieConsentDialog_InfoNecessary,chandleCheckedChange:()=>{},strings:e.strings,checked:!0}),(0,U.jsx)(xF,{header:e?.strings?.cookieConsentDialog_HeaderAnalysis,description:e?.strings?.cookieConsentDialog_InfoAnalysis,chandleCheckedChange:e=>{n({...t,switchAnalysis:e})},strings:e.strings,checked:t.switchAnalysis,dataUit:`analysis`}),!e.disableCookieConsentForMarketingAndPersonalisation&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(xF,{header:e?.strings?.cookieConsentDialog_HeaderMarketing,description:e?.strings?.cookieConsentDialog_InfoMarketing,chandleCheckedChange:e=>{n({...t,switchMarketing:e})},strings:e.strings,checked:t.switchMarketing,dataUit:`marketing`}),(0,U.jsx)(xF,{header:e?.strings?.cookieConsentDialog_HeaderPersonalization,description:e?.strings?.cookieConsentDialog_InfoPersonalization,chandleCheckedChange:e=>{n({...t,switchPersonalization:e})},strings:e.strings,checked:t.switchPersonalization,dataUit:`personalization`})]})]}),(0,U.jsx)(lm,{sx:{mx:2,mb:4},children:(0,U.jsxs)(Kb,{sx:{display:`flex`,flexDirection:`column`,gap:2,width:`100%`},children:[(0,U.jsx)(sx,{variant:`outlined`,"data-uit":`store-changes`,onClick:()=>{e.store(t.switchAnalysis,t.switchMarketing,t.switchPersonalization)},children:e?.strings?.cookieConsentDialog_ButtonStoreChanges}),(0,U.jsx)(sx,{startIcon:(0,U.jsx)(Ms,{}),variant:`contained`,color:`success`,onClick:()=>{e.store(!0,!0,!0)},children:e?.strings?.cookieConsentDialog_ButtonAcceptAll})]})})]})},CF=e=>{let[t,n]=(0,s.useState)(!1),r=()=>{},i=qy().pathname.startsWith(`/sv/`)?`/sv`:``;return(0,U.jsxs)(nF,{onClose:r,open:e.open,important:!0,showCloseButton:!1,preventCloseOnDismiss:!0,"data-component":`CookieConsentDialog`,children:[!t&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(hm,{sx:{maxWidth:`48.5rem`,m:{md:1}},children:[(0,U.jsx)(Kb,{component:`h3`,sx:{fontSize:{xs:`2rem`,md:`2.5rem`}},children:e?.strings?.cookieConsentDialog_Header}),(0,U.jsx)(Kb,{sx:{pb:3},children:e?.strings?.cookieConsentDialog_Info}),(0,U.jsxs)(Kb,{sx:{display:`flex`,alignItems:`center`,fontSize:`1.6rem !important`},children:[e?.strings?.cookieConsentDialog_ReadMore,` `,(0,U.jsx)(sx,{href:`${i}/cookie-policy/`,target:`_blank`,variant:`text`,sx:{p:.5,m:0,marginLeft:`0.1rem`,fontWeight:`bold`,fontSize:`1.6rem !important`},children:e?.strings?.cookieConsentDialog_ReadMoreLink})]})]}),(0,U.jsx)(lm,{sx:{mx:2,mb:4},children:(0,U.jsxs)(Kb,{sx:{display:`flex`,flexDirection:`column`,gap:2,width:`100%`},children:[(0,U.jsx)(sx,{variant:`outlined`,"data-uit":`show-details`,onClick:()=>{n(!0)},children:(0,U.jsx)(Kb,{component:`span`,children:e?.strings?.cookieConsentDialog_ButtonChange})}),(0,U.jsx)(sx,{startIcon:(0,U.jsx)(Ms,{}),id:`approveAllCookies`,"data-uit":`accept-all`,onClick:()=>{e.approve(!0,!0,!0)},color:`success`,children:e?.strings?.cookieConsentDialog_ButtonAcceptAll})]})})]}),t&&(0,U.jsx)(U.Fragment,{children:(0,U.jsx)(SF,{store:e.approve,strings:e.strings,region:e.region,consent:e.consent,disableCookieConsentForMarketingAndPersonalisation:e.disableCookieConsentForMarketingAndPersonalisation})})]})},wF=i((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),TF=i(((e,t)=>{t.exports=wF()})),EF=i((e=>{var t=TF(),n=o(),r=wl();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function c(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function u(e){if(s(e)!==e)throw Error(i(188))}function d(e){var t=e.alternate;if(!t){if(t=s(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return u(a),e;if(o===r)return u(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var c=!1,l=a.child;l;){if(l===n){c=!0,n=a,r=o;break}if(l===r){c=!0,r=a,n=o;break}l=l.sibling}if(!c){for(l=o.child;l;){if(l===n){c=!0,n=o,r=a;break}if(l===r){c=!0,r=o,n=a;break}l=l.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,m=Symbol.for(`react.element`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),D=Symbol.for(`react.activity`),O=Symbol.for(`react.memo_cache_sentinel`),k=Symbol.iterator;function A(e){return typeof e!=`object`||!e?null:(e=k&&e[k]||e[`@@iterator`],typeof e==`function`?e:null)}var j=Symbol.for(`react.client.reference`);function M(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===j?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case C:return`Suspense`;case w:return`SuspenseList`;case D:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case S:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return t=e.displayName||null,t===null?M(e.type)||`Memo`:t;case E:t=e._payload,e=e._init;try{return M(e(t))}catch{}}return null}var N=Array.isArray,P=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},L=[],R=-1;function z(e){return{current:e}}function B(e){0>R||(e.current=L[R],L[R]=null,R--)}function V(e,t){R++,L[R]=e.current,e.current=t}var ee=z(null),te=z(null),ne=z(null),re=z(null);function ie(e,t){switch(V(ne,t),V(te,e),V(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}B(ee),V(ee,e)}function ae(){B(ee),B(te),B(ne)}function oe(e){e.memoizedState!==null&&V(re,e);var t=ee.current,n=Hd(t,e.type);t!==n&&(V(te,e),V(ee,n))}function se(e){te.current===e&&(B(ee),B(te)),re.current===e&&(B(re),Qf._currentValue=I)}var ce,le;function ue(e){if(ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ce=t&&t[1]||``,le=-1<e.stack.indexOf(`
170    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
171`+ce+e+le}var de=!1;function fe(e,t){if(!e||de)return``;de=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
172`),l=s.split(`
173`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
174`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{de=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ue(n):``}function pe(e,t){switch(e.tag){case 26:case 27:case 5:return ue(e.type);case 16:return ue(`Lazy`);case 13:return e.child!==t&&t!==null?ue(`Suspense Fallback`):ue(`Suspense`);case 19:return ue(`SuspenseList`);case 0:case 15:return fe(e.type,!1);case 11:return fe(e.type.render,!1);case 1:return fe(e.type,!0);case 31:return ue(`Activity`);default:return``}}function me(e){try{var t=``,n=null;do t+=pe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
175Error generating stack: `+e.message+`
176`+e.stack}}var he=Object.prototype.hasOwnProperty,ge=t.unstable_scheduleCallback,_e=t.unstable_cancelCallback,ve=t.unstable_shouldYield,ye=t.unstable_requestPaint,H=t.unstable_now,be=t.unstable_getCurrentPriorityLevel,xe=t.unstable_ImmediatePriority,Se=t.unstable_UserBlockingPriority,Ce=t.unstable_NormalPriority,we=t.unstable_LowPriority,Te=t.unstable_IdlePriority,Ee=t.log,De=t.unstable_setDisableYieldValue,Oe=null,ke=null;function Ae(e){if(typeof Ee==`function`&&De(e),ke&&typeof ke.setStrictMode==`function`)try{ke.setStrictMode(Oe,e)}catch{}}var je=Math.clz32?Math.clz32:Pe,Me=Math.log,Ne=Math.LN2;function Pe(e){return e>>>=0,e===0?32:31-(Me(e)/Ne|0)|0}var Fe=256,Ie=262144,Le=4194304;function Re(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ze(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Re(n))):i=Re(o):i=Re(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Re(n))):i=Re(o)):i=Re(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Be(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ve(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 He(){var e=Le;return Le<<=1,!(Le&62914560)&&(Le=4194304),e}function Ue(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function We(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ge(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-je(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ke(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ke(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-je(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-je(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Je(e,t){var n=t&-t;return n=n&42?1:Ye(n),(n&(e.suspendedLanes|t))===0?n:0}function Ye(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Xe(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Ze(){var e=F.p;return e===0?(e=window.event,e===void 0?32:mp(e.type)):e}function Qe(e,t){var n=F.p;try{return F.p=e,t()}finally{F.p=n}}var $e=Math.random().toString(36).slice(2),et=`__reactFiber$`+$e,tt=`__reactProps$`+$e,nt=`__reactContainer$`+$e,rt=`__reactEvents$`+$e,it=`__reactListeners$`+$e,at=`__reactHandles$`+$e,ot=`__reactResources$`+$e,st=`__reactMarker$`+$e;function ct(e){delete e[et],delete e[tt],delete e[rt],delete e[it],delete e[at]}function lt(e){var t=e[et];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nt]||n[et]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=df(e);e!==null;){if(n=e[et])return n;e=df(e)}return t}e=n,n=e.parentNode}return null}function ut(e){if(e=e[et]||e[nt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function ft(e){var t=e[ot];return t||=e[ot]={hoistableStyles:new Map,hoistableScripts:new Map},t}function pt(e){e[st]=!0}var mt=new Set,ht={};function gt(e,t){_t(e,t),_t(e+`Capture`,t)}function _t(e,t){for(ht[e]=t,e=0;e<t.length;e++)mt.add(t[e])}var vt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
176037D\\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]*$`),yt={},bt={};function xt(e){return he.call(bt,e)?!0:he.call(yt,e)?!1:vt.test(e)?bt[e]=!0:(yt[e]=!0,!1)}function St(e,t,n){if(xt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}}function Ct(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function wt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Tt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Et(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Dt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ot(e){if(!e._valueTracker){var t=Et(e)?`checked`:`value`;e._valueTracker=Dt(e,t,``+e[t])}}function kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Et(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function At(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var jt=/[\n"\\]/g;function Mt(e){return e.replace(jt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Nt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Tt(t)):e.value!==``+Tt(t)&&(e.value=``+Tt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Ft(e,o,Tt(n)):Ft(e,o,Tt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Tt(s):e.removeAttribute(`name`)}function Pt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Ot(e);return}n=n==null?``:``+Tt(n),t=t==null?n:``+Tt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Ot(e)}function Ft(e,t,n){t===`number`&&At(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function It(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Tt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Lt(e,t,n){if(t!=null&&(t=``+Tt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Tt(n)}function Rt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(N(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}
vendor: 91,725 bytes, line 176
176n=Tt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Ot(e)}function zt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bt=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 Vt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Bt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Ht(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Vt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Vt(e,o,t[o])}function Ut(e){if(e.indexOf(`-`)===-1)return!1;switch(e){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 Wt=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`]]),Gt=/^[\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 Kt(e){return Gt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function qt(){}var Jt=null;function Yt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xt=null,Zt=null;function Qt(e){var t=ut(e);if(t&&(e=t.stateNode)){var n=e[tt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Nt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Mt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[tt]||null;if(!a)throw Error(i(90));Nt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&kt(r)}break a;case`textarea`:Lt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&It(e,!!n.multiple,t,!1)}}}var $t=!1;function en(e,t,n){if($t)return e(t,n);$t=!0;try{return e(t)}finally{if($t=!1,(Xt!==null||Zt!==null)&&(vu(),Xt&&(t=Xt,e=Zt,Zt=Xt=null,Qt(t),e)))for(t=0;t<e.length;t++)Qt(e[t])}}function tn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[tt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var nn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),rn=!1;if(nn)try{var an={};Object.defineProperty(an,"passive",{get:function(){rn=!0}}),window.addEventListener(`test`,an,an),window.removeEventListener(`test`,an,an)}catch{rn=!1}var on=null,sn=null,cn=null;function ln(){if(cn)return cn;var e,t=sn,n=t.length,r,i=`value`in on?on.value:on.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return cn=i.slice(e,1<r?1-r:void 0)}function un(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function dn(){return!0}function fn(){return!1}function pn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?dn:fn,this.isPropagationStopped=fn,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=dn)},persist:function(){},isPersistent:dn}),t}var mn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=pn(mn),gn=p({},mn,{view:0,detail:0}),_n=pn(gn),vn,yn,bn,xn=p({},gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Mn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==bn&&(bn&&e.type===`mousemove`?(vn=e.screenX-bn.screenX,yn=e.screenY-bn.screenY):yn=vn=0,bn=e),vn)},movementY:function(e){return`movementY`in e?e.movementY:yn}}),Sn=pn(xn),Cn=pn(p({},xn,{dataTransfer:0})),wn=pn(p({},gn,{relatedTarget:0})),Tn=pn(p({},mn,{animationName:0,elapsedTime:0,pseudoElement:0})),En=pn(p({},mn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Dn=pn(p({},mn,{data:0})),On={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},kn={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`},An={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=An[e])?!!t[e]:!1}function Mn(){return jn}var Nn=pn(p({},gn,{key:function(e){if(e.key){var t=On[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=un(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?kn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Mn,charCode:function(e){return e.type===`keypress`?un(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?un(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Pn=pn(p({},xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Fn=pn(p({},gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Mn})),In=pn(p({},mn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=pn(p({},xn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Rn=pn(p({},mn,{newState:0,oldState:0})),zn=[9,13,27,32],Bn=nn&&`CompositionEvent`in window,Vn=null;nn&&`documentMode`in document&&(Vn=document.documentMode);var Hn=nn&&`TextEvent`in window&&!Vn,Un=nn&&(!Bn||Vn&&8<Vn&&11>=Vn),Wn=` `,Gn=!1;function Kn(e,t){switch(e){case`keyup`:return zn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function qn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Jn=!1;function Yn(e,t){switch(e){case`compositionend`:return qn(t);case`keypress`:return t.which===32?(Gn=!0,Wn):null;case`textInput`:return e=t.data,e===Wn&&Gn?null:e;default:return null}}function Xn(e,t){if(Jn)return e===`compositionend`||!Bn&&Kn(e,t)?(e=ln(),cn=sn=on=null,Jn=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Un&&t.locale!==`ko`?null:t.data;default:return null}}var Zn={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 Qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Zn[e.type]:t===`textarea`}function $n(e,t,n,r){Xt?Zt?Zt.push(r):Zt=[r]:Xt=r,t=Ed(t,`onChange`),0<t.length&&(n=new hn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var er=null,tr=null;function nr(e){vd(e,0)}function rr(e){if(kt(dt(e)))return e}function ir(e,t){if(e===`change`)return t}var ar=!1;if(nn){var or;if(nn){var sr=`oninput`in document;if(!sr){var cr=document.createElement(`div`);cr.setAttribute(`oninput`,`return;`),sr=typeof cr.oninput==`function`}or=sr}else or=!1;ar=or&&(!document.documentMode||9<document.documentMode)}function lr(){er&&(er.detachEvent(`onpropertychange`,ur),tr=er=null)}function ur(e){if(e.propertyName===`value`&&rr(tr)){var t=[];$n(t,tr,e,Yt(e)),en(nr,t)}}function dr(e,t,n){e===`focusin`?(lr(),er=t,tr=n,er.attachEvent(`onpropertychange`,ur)):e===`focusout`&&lr()}function U(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return rr(tr)}function fr(e,t){if(e===`click`)return rr(t)}function pr(e,t){if(e===`input`||e===`change`)return rr(t)}function mr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var hr=typeof Object.is==`function`?Object.is:mr;function gr(e,t){if(hr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!he.call(t,i)||!hr(e[i],t[i]))return!1}return!0}function _r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vr(e,t){var n=_r(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=_r(n)}}function yr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function br(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=At(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=At(e.document)}return t}function xr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Sr=nn&&`documentMode`in document&&11>=document.documentMode,Cr=null,wr=null,Tr=null,Er=!1;function Dr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Er||Cr==null||Cr!==At(r)||(r=Cr,`selectionStart`in r&&xr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Tr&&gr(Tr,r)||(Tr=r,r=Ed(wr,`onSelect`),0<r.length&&(t=new hn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Cr)))}function Or(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var kr={animationend:Or(`Animation`,`AnimationEnd`),animationiteration:Or(`Animation`,`AnimationIteration`),animationstart:Or(`Animation`,`AnimationStart`),transitionrun:Or(`Transition`,`TransitionRun`),transitionstart:Or(`Transition`,`TransitionStart`),transitioncancel:Or(`Transition`,`TransitionCancel`),transitionend:Or(`Transition`,`TransitionEnd`)},Ar={},jr={};nn&&(jr=document.createElement(`div`).style,`AnimationEvent`in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),`TransitionEvent`in window||delete kr.transitionend.transition);function W(e){if(Ar[e])return Ar[e];if(!kr[e])return e;var t=kr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in jr)return Ar[e]=t[n];return e}var G=W(`animationend`),Mr=W(`animationiteration`),Nr=W(`animationstart`),Pr=W(`transitionrun`),Fr=W(`transitionstart`),Ir=W(`transitioncancel`),Lr=W(`transitionend`),Rr=new Map,zr=`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(` `);zr.push(`scrollEnd`);function Br(e,t){Rr.set(e,t),gt(t,[e])}var Vr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Hr=[],Ur=0,Wr=0;function Gr(){for(var e=Ur,t=Wr=Ur=0;t<e;){var n=Hr[t];Hr[t++]=null;var r=Hr[t];Hr[t++]=null;var i=Hr[t];Hr[t++]=null;var a=Hr[t];if(Hr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Yr(n,i,a)}}function Kr(e,t,n,r){Hr[Ur++]=e,Hr[Ur++]=t,Hr[Ur++]=n,Hr[Ur++]=r,Wr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function qr(e,t,n,r){return Kr(e,t,n,r),Xr(e)}function Jr(e,t){return Kr(e,null,null,t),Xr(e)}function Yr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-je(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Xr(e){if(50<lu)throw lu=0,uu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zr={};function Qr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $r(e,t,n,r){return new Qr(e,t,n,r)}function ei(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ti(e,t){var n=e.alternate;return n===null?(n=$r(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ni(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ri(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ei(e)&&(s=1);else if(typeof e==`string`)s=Uf(e,n,ee.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case D:return e=$r(31,n,t,a),e.elementType=D,e.lanes=o,e;case _:return ii(n.children,a,o,t);case v:s=8,a|=24;break;case y:return e=$r(12,n,t,a|2),e.elementType=y,e.lanes=o,e;case C:return e=$r(13,n,t,a),e.elementType=C,e.lanes=o,e;case w:return e=$r(19,n,t,a),e.elementType=w,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case x:s=10;break a;case b:s=9;break a;case S:s=11;break a;case T:s=14;break a;case E:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=$r(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ii(e,t,n,r){return e=$r(7,e,r,t),e.lanes=n,e}function ai(e,t,n){return e=$r(6,e,null,t),e.lanes=n,e}function oi(e){var t=$r(18,null,null,0);return t.stateNode=e,t}function si(e,t,n){return t=$r(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ci=new WeakMap;function li(e,t){if(typeof e==`object`&&e){var n=ci.get(e);return n===void 0?(t={value:e,source:t,stack:me(t)},ci.set(e,t),t):n}return{value:e,source:t,stack:me(t)}}var ui=[],di=0,fi=null,pi=0,mi=[],hi=0,gi=null,_i=1,vi=``;function yi(e,t){ui[di++]=pi,ui[di++]=fi,fi=e,pi=t}function bi(e,t,n){mi[hi++]=_i,mi[hi++]=vi,mi[hi++]=gi,gi=e;var r=_i;e=vi;var i=32-je(r)-1;r&=~(1<<i),n+=1;var a=32-je(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,_i=1<<32-je(t)+i|n<<i|r,vi=a+e}else _i=1<<a|n<<i|r,vi=e}function xi(e){e.return!==null&&(yi(e,1),bi(e,1,0))}function Si(e){for(;e===fi;)fi=ui[--di],ui[di]=null,pi=ui[--di],ui[di]=null;for(;e===gi;)gi=mi[--hi],mi[hi]=null,vi=mi[--hi],mi[hi]=null,_i=mi[--hi],mi[hi]=null}function Ci(e,t){mi[hi++]=_i,mi[hi++]=vi,mi[hi++]=gi,_i=t.id,vi=t.overflow,gi=e}var wi=null,Ti=null,Ei=!1,Di=null,Oi=!1,ki=Error(i(519));function Ai(e){throw Ii(li(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),ki}function ji(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[et]=e,t[tt]=r,n){case`dialog`:yd(`cancel`,t),yd(`close`,t);break;case`iframe`:case`object`:case`embed`:yd(`load`,t);break;case`video`:case`audio`:for(n=0;n<gd.length;n++)yd(gd[n],t);break;case`source`:yd(`error`,t);break;case`img`:case`image`:case`link`:yd(`error`,t),yd(`load`,t);break;case`details`:yd(`toggle`,t);break;case`input`:yd(`invalid`,t),Pt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:yd(`invalid`,t);break;case`textarea`:yd(`invalid`,t),Rt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Md(t.textContent,n)?(r.popover!=null&&(yd(`beforetoggle`,t),yd(`toggle`,t)),r.onScroll!=null&&yd(`scroll`,t),r.onScrollEnd!=null&&yd(`scrollend`,t),r.onClick!=null&&(t.onclick=qt),t=!0):t=!1,t||Ai(e,!0)}function Mi(e){for(wi=e.return;wi;)switch(wi.tag){case 5:case 31:case 13:Oi=!1;return;case 27:case 3:Oi=!0;return;default:wi=wi.return}}function Ni(e){if(e!==wi)return!1;if(!Ei)return Mi(e),Ei=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Ud(e.type,e.memoizedProps)),n=!n),n&&Ti&&Ai(e),Mi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ti=uf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ti=uf(e)}else t===27?(t=Ti,Zd(e.type)?(e=lf,lf=null,Ti=e):Ti=t):Ti=wi?cf(e.stateNode.nextSibling):null;return!0}function Pi(){Ti=wi=null,Ei=!1}function Fi(){var e=Di;return e!==null&&(Xl===null?Xl=e:Xl.push.apply(Xl,e),Di=null),e}function Ii(e){Di===null?Di=[e]:Di.push(e)}var Li=z(null),Ri=null,zi=null;function Bi(e,t,n){V(Li,t._currentValue),t._currentValue=n}function Vi(e){e._currentValue=Li.current,B(Li)}function Hi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ui(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Hi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Hi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Wi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;hr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===re.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[Qf]:e.push(Qf))}a=a.return}e!==null&&Ui(t,e,n,r),t.flags|=262144}function Gi(e){for(e=e.firstContext;e!==null;){if(!hr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ki(e){Ri=e,zi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qi(e){return Yi(Ri,e)}function Ji(e,t){return Ri===null&&Ki(e),Yi(e,t)}function Yi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},zi===null){if(e===null)throw Error(i(308));zi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else zi=zi.next=t;return n}var Xi=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Zi=t.unstable_scheduleCallback,Qi=t.unstable_NormalPriority,$i={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ea(){return{controller:new Xi,data:new Map,refCount:0}}function ta(e){e.refCount--,e.refCount===0&&Zi(Qi,function(){e.controller.abort()})}var na=null,ra=0,ia=0,aa=null;function oa(e,t){if(na===null){var n=na=[];ra=0,ia=ud(),aa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ra++,t.then(sa,sa),t}function sa(){if(--ra===0&&na!==null){aa!==null&&(aa.status=`fulfilled`);var e=na;na=null,ia=0,aa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ca(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var la=P.S;P.S=function(e,t){$l=H(),typeof t==`object`&&t&&typeof t.then==`function`&&oa(e,t),la!==null&&la(e,t)};var ua=z(null);function da(){var e=ua.current;return e===null?Pl.pooledCache:e}function fa(e,t){t===null?V(ua,ua.current):V(ua,t.pool)}function pa(){var e=da();return e===null?null:{parent:$i._currentValue,pool:e}}var ma=Error(i(460)),ha=Error(i(474)),ga=Error(i(542)),_a={then:function(){}};function va(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ya(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(qt,qt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e;default:if(typeof t.status==`string`)t.then(qt,qt);else{if(e=Pl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e}throw xa=t,ma}}function ba(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(xa=e,ma):e}}var xa=null;function Sa(){if(xa===null)throw Error(i(459));var e=xa;return xa=null,e}function Ca(e){if(e===ma||e===ga)throw Error(i(483))}var wa=null,Ta=0;function Ea(e){var t=Ta;return Ta+=1,wa===null&&(wa=[]),ya(wa,e,t)}function Da(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Oa(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function ka(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ti(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=ai(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===E&&ba(i)===t.type)?(t=a(t,n.props),Da(t,n),t.return=e,t):(t=ri(n.type,n.key,n.props,null,e.mode,r),Da(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=si(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ii(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=ai(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case h:return n=ri(t.type,t.key,t.props,null,e.mode,n),Da(n,t),n.return=e,n;case g:return t=si(t,e.mode,n),t.return=e,t;case E:return t=ba(t),f(e,t,n)}if(N(t)||A(t))return t=ii(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ea(t),n);if(t.$$typeof===x)return f(e,Ji(e,t),n);Oa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case h:return n.key===i?l(e,t,n,r):null;case g:return n.key===i?u(e,t,n,r):null;case E:return n=ba(n),p(e,t,n,r)}if(N(n)||A(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ea(n),r);if(n.$$typeof===x)return p(e,t,Ji(e,n),r);Oa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case h:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case g:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case E:return r=ba(r),m(e,t,n,r,i)}if(N(r)||A(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ea(r),i);if(r.$$typeof===x)return m(e,t,n,Ji(t,r),i);Oa(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Ei&&yi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Ei&&yi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),Ei&&yi(i,h),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Ei&&yi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Ei&&yi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Ei&&yi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===_&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case h:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===_){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&ba(l)===r.type){n(e,r.sibling),c=a(r,o.props),Da(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===_?(c=ii(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ri(o.type,o.key,o.props,null,e.mode,c),Da(c,o),c.return=e,e=c)}return s(e);case g:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=si(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=ba(o),b(e,r,o,c)}if(N(o))return v(e,r,o,c);if(A(o)){if(l=A(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ea(o),c);if(o.$$typeof===x)return b(e,r,Ji(e,o),c);Oa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=ai(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ta=0;var i=b(e,t,n,r);return wa=null,i}catch(t){if(t===ma||t===ga)throw t;var a=$r(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Aa=ka(!0),ja=ka(!1),Ma=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Fa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Nl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Xr(e),Yr(e,null,n),t}return Kr(e,r,t,n),Xr(e)}function La(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,qe(e,n)}}function Ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var za=!1;function Ba(){if(za){var e=aa;if(e!==null)throw e}}function Va(e,t,n,r){za=!1;var i=e.updateQueue;Ma=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,m=f!==s.lane;if(m?(Il&f)===f:(r&f)===f){f!==0&&f===ia&&(za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=p({},d,f);break a;case 2:Ma=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Wl|=o,e.lanes=o,e.memoizedState=d}}function Ha(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ua(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ha(n[e],t)}var Wa=z(null),Ga=z(0);function Ka(e,t){e=Hl,V(Ga,e),V(Wa,t),Hl=e|t.baseLanes}function qa(){V(Ga,Hl),V(Wa,Wa.current)}function Ja(){Hl=Ga.current,B(Wa),B(Ga)}var Ya=z(null),Xa=null;function Za(e){var t=e.alternate;V(no,no.current&1),V(Ya,e),Xa===null&&(t===null||Wa.current!==null||t.memoizedState!==null)&&(Xa=e)}function Qa(e){V(no,no.current),V(Ya,e),Xa===null&&(Xa=e)}function $a(e){e.tag===22?(V(no,no.current),V(Ya,e),Xa===null&&(Xa=e)):eo(e)}function eo(){V(no,no.current),V(Ya,Ya.current)}function to(e){B(Ya),Xa===e&&(Xa=null),B(no)}var no=z(0);function ro(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||af(n)||of(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var io=0,ao=null,oo=null,so=null,co=!1,lo=!1,uo=!1,fo=0,po=0,mo=null,ho=0;function go(){throw Error(i(321))}function _o(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!hr(e[n],t[n]))return!1;return!0}function vo(e,t,n,r,i,a){return io=a,ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=e===null||e.memoizedState===null?As:js,uo=!1,a=n(r,i),uo=!1,lo&&(a=bo(t,n,r,i)),yo(e),a}function yo(e){P.H=ks;var t=oo!==null&&oo.next!==null;if(io=0,so=oo=ao=null,co=!1,po=0,mo=null,t)throw Error(i(300));e===null||Js||(e=e.dependencies,e!==null&&Gi(e)&&(Js=!0))}function bo(e,t,n,r){ao=e;var a=0;do{if(lo&&(mo=null),po=0,lo=!1,25<=a)throw Error(i(301));if(a+=1,so=oo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}P.H=Ms,o=t(n,r)}while(lo);return o}function xo(){var e=P.H,t=e.useState()[0];return t=typeof t.then==`function`?Oo(t):t,e=e.useState()[0],(oo===null?null:oo.memoizedState)!==e&&(ao.flags|=1024),t}function So(){var e=fo!==0;return fo=0,e}function Co(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function wo(e){if(co){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}co=!1}io=0,so=oo=ao=null,lo=!1,po=fo=0,mo=null}function To(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return so===null?ao.memoizedState=so=e:so=so.next=e,so}function Eo(){if(oo===null){var e=ao.alternate;e=e===null?null:e.memoizedState}else e=oo.next;var t=so===null?ao.memoizedState:so.next;if(t!==null)so=t,oo=e;else{if(e===null)throw ao.alternate===null?Error(i(467)):Error(i(310));oo=e,e={memoizedState:oo.memoizedState,baseState:oo.baseState,baseQueue:oo.baseQueue,queue:oo.queue,next:null},so===null?ao.memoizedState=so=e:so=so.next=e}return so}function Do(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Oo(e){var t=po;return po+=1,mo===null&&(mo=[]),e=ya(mo,e,t),t=ao,(so===null?t.memoizedState:so.next)===null&&(t=t.alternate,P.H=t===null||t.memoizedState===null?As:js),e}function ko(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Oo(e);if(e.$$typeof===x)return qi(e)}throw Error(i(438,String(e)))}function Ao(e){var t=null,n=ao.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=ao.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Do(),ao.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=O;return t.index++,n}function jo(e,t){return typeof t==`function`?t(e):t}function Mo(e){return No(Eo(),oo,e)}function No(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(io&f)===f:(Il&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ia&&(d=!0);else if((io&p)===p){u=u.next,p===ia&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,ao.lanes|=p,Wl|=p;f=u.action,uo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,ao.lanes|=f,Wl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!hr(o,e.memoizedState)&&(Js=!0,d&&(n=aa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Po(e){var t=Eo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);hr(o,t.memoizedState)||(Js=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function K(e,t,n){var r=ao,a=Eo(),o=Ei;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!hr((oo||a).memoizedState,n);if(s&&(a.memoizedState=n,Js=!0),a=a.queue,X(Lo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||so!==null&&so.memoizedState.tag&1){if(r.flags|=2048,Y(9,{destroy:void 0},Io.bind(null,r,a,n,t),null),Pl===null)throw Error(i(349));o||io&127||Fo(r,t,n)}return n}function Fo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ao.updateQueue,t===null?(t=Do(),ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Io(e,t,n,r){t.value=n,t.getSnapshot=r,Ro(t)&&zo(e)}function Lo(e,t,n){return n(function(){Ro(t)&&zo(e)})}function Ro(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hr(e,n)}catch{return!0}}function zo(e){var t=Jr(e,2);t!==null&&pu(t,e,2)}function Bo(e){var t=To();if(typeof e==`function`){var n=e;if(e=n(),uo){Ae(!0);try{n()}finally{Ae(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:e},t}function Vo(e,t,n,r){return e.baseState=n,No(e,oo,typeof r==`function`?r:jo)}function Ho(e,t,n,r,a){if(Es(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};P.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Uo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Uo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=P.T,o={};P.T=o;try{var s=n(i,r),c=P.S;c!==null&&c(o,s),Wo(e,t,s)}catch(n){Ko(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),P.T=a}}else try{a=n(i,r),Wo(e,t,a)}catch(n){Ko(e,t,n)}}function Wo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Go(e,t,n)},function(n){return Ko(e,t,n)}):Go(e,t,n)}function Go(e,t,n){t.status=`fulfilled`,t.value=n,qo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Uo(e,n)))}function Ko(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,qo(t),t=t.next;while(t!==r)}e.action=null}function qo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jo(e,t){return t}function Yo(e,t){if(Ei){var n=Pl.formState;if(n!==null){a:{var r=ao;if(Ei){if(Ti){b:{for(var i=Ti,a=Oi;i.nodeType!==8;){if(!a){i=null;break b}if(i=cf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ti=cf(i.nextSibling),r=i.data===`F!`;break a}}Ai(r)}r=!1}r&&(t=n[0])}}return n=To(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:t},n.queue=r,n=Cs.bind(null,ao,r),r.dispatch=n,r=Bo(!1),a=Ts.bind(null,ao,!1,r.queue),r=To(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ho.bind(null,ao,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function q(e){return Xo(Eo(),oo,e)}function Xo(e,t,n){if(t=No(e,t,Jo)[0],e=Mo(jo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Oo(t)}catch(e){throw e===ma?ga:e}else r=t;t=Eo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(ao.flags|=2048,Y(9,{destroy:void 0},Zo.bind(null,i,n),null)),[r,a,e]}function Zo(e,t){e.action=t}function J(e){var t=Eo(),n=oo;if(n!==null)return Xo(t,n,e);Eo(),t=t.memoizedState,n=Eo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Y(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=ao.updateQueue,t===null&&(t=Do(),ao.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Qo(){return Eo().memoizedState}function $o(e,t,n,r){var i=To();ao.flags|=e,i.memoizedState=Y(1|t,{destroy:void 0},n,r===void 0?null:r)}function es(e,t,n,r){var i=Eo();r=r===void 0?null:r;var a=i.memoizedState.inst;oo!==null&&r!==null&&_o(r,oo.memoizedState.deps)?i.memoizedState=Y(t,a,n,r):(ao.flags|=e,i.memoizedState=Y(1|t,a,n,r))}function ts(e,t){$o(8390656,8,e,t)}function X(e,t){es(2048,8,e,t)}function ns(e){ao.flags|=4;var t=ao.updateQueue;if(t===null)t=Do(),ao.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function rs(e){var t=Eo().memoizedState;return ns({ref:t,nextImpl:e}),function(){if(Nl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function is(e,t){return es(4,2,e,t)}function as(e,t){return es(4,4,e,t)}function os(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ss(e,t,n){n=n==null?null:n.concat([e]),es(4,4,os.bind(null,t,e),n)}function cs(){}function ls(e,t){var n=Eo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&_o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function us(e,t){var n=Eo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&_o(t,r[1]))return r[0];if(r=e(),uo){Ae(!0);try{e()}finally{Ae(!1)}}return n.memoizedState=[r,t],r}function ds(e,t,n){return n===void 0||io&1073741824&&!(Il&261930)?e.memoizedState=t:(e.memoizedState=n,e=fu(),ao.lanes|=e,Wl|=e,n)}function fs(e,t,n,r){return hr(n,t)?n:Wa.current===null?!(io&42)||io&1073741824&&!(Il&261930)?(Js=!0,e.memoizedState=n):(e=fu(),ao.lanes|=e,Wl|=e,t):(e=ds(e,n,r),hr(e,t)||(Js=!0),e)}function ps(e,t,n,r,i){var a=F.p;F.p=a!==0&&8>a?a:8;var o=P.T,s={};P.T=s,Ts(e,!1,t,n);try{var c=i(),l=P.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?ws(e,t,ca(c,r),du(e)):ws(e,t,r,du(e))}catch(n){ws(e,t,{then:function(){},status:`rejected`,reason:n},du())}finally{F.p=a,o!==null&&s.types!==null&&(o.types=s.types),P.T=o}}function ms(){}function hs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=gs(e).queue;ps(e,a,t,I,n===null?ms:function(){return _s(e),n(r)})}function gs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:I},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function _s(e){var t=gs(e);t.next===null&&(t=e.alternate.memoizedState),ws(e,t.next.queue,{},du())}function vs(){return qi(Qf)}function ys(){return Eo().memoizedState}function bs(){return Eo().memoizedState}function xs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=du();e=Fa(n);var r=Ia(t,e,n);r!==null&&(pu(r,t,n),La(r,t,n)),t={cache:ea()},e.payload=t;return}t=t.return}}function Ss(e,t,n){var r=du();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Es(e)?Ds(t,n):(n=qr(e,t,n,r),n!==null&&(pu(n,e,r),Os(n,t,r)))}function Cs(e,t,n){ws(e,t,n,du())}function ws(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Es(e))Ds(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,hr(s,o))return Kr(e,t,i,0),Pl===null&&Gr(),!1}catch{}if(n=qr(e,t,i,r),n!==null)return pu(n,e,r),Os(n,t,r),!0}return!1}function Ts(e,t,n,r){if(r={lane:2,revertLane:ud(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Es(e)){if(t)throw Error(i(479))}else t=qr(e,n,r,2),t!==null&&pu(t,e,2)}function Es(e){var t=e.alternate;return e===ao||t!==null&&t===ao}function Ds(e,t){lo=co=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Os(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,qe(e,n)}}var ks={readContext:qi,use:ko,useCallback:go,useContext:go,useEffect:go,useImperativeHandle:go,useLayoutEffect:go,useInsertionEffect:go,useMemo:go,useReducer:go,useRef:go,useState:go,useDebugValue:go,useDeferredValue:go,useTransition:go,useSyncExternalStore:go,useId:go,useHostTransitionStatus:go,useFormState:go,useActionState:go,useOptimistic:go,useMemoCache:go,useCacheRefresh:go};ks.useEffectEvent=go;var As={readContext:qi,use:ko,useCallback:function(e,t){return To().memoizedState=[e,t===void 0?null:t],e},useContext:qi,useEffect:ts,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),$o(4194308,4,os.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $o(4194308,4,e,t)},useInsertionEffect:function(e,t){$o(4,2,e,t)},useMemo:function(e,t){var n=To();t=t===void 0?null:t;var r=e();if(uo){Ae(!0);try{e()}finally{Ae(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=To();if(n!==void 0){var i=n(t);if(uo){Ae(!0);try{n(t)}finally{Ae(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ss.bind(null,ao,e),[r.memoizedState,e]},useRef:function(e){var t=To();return e={current:e},t.memoizedState=e},useState:function(e){e=Bo(e);var t=e.queue,n=Cs.bind(null,ao,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:cs,useDeferredValue:function(e,t){return ds(To(),e,t)},useTransition:function(){var e=Bo(!1);return e=ps.bind(null,ao,e.queue,!0,!1),To().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ao,a=To();if(Ei){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Pl===null)throw Error(i(349));Il&127||Fo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ts(Lo.bind(null,r,o,e),[e]),r.flags|=2048,Y(9,{destroy:void 0},Io.bind(null,r,o,n,t),null),n},useId:function(){var e=To(),t=Pl.identifierPrefix;if(Ei){var n=vi,r=_i;n=(r&~(1<<32-je(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=fo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=ho++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:vs,useFormState:Yo,useActionState:Yo,useOptimistic:function(e){var t=To();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ts.bind(null,ao,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ao,useCacheRefresh:function(){return To().memoizedState=xs.bind(null,ao)},useEffectEvent:function(e){var t=To(),n={impl:e};return t.memoizedState=n,function(){if(Nl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},js={readContext:qi,use:ko,useCallback:ls,useContext:qi,useEffect:X,useImperativeHandle:ss,useInsertionEffect:is,useLayoutEffect:as,useMemo:us,useReducer:Mo,useRef:Qo,useState:function(){return Mo(jo)},useDebugValue:cs,useDeferredValue:function(e,t){return fs(Eo(),oo.memoizedState,e,t)},useTransition:function(){var e=Mo(jo)[0],t=Eo().memoizedState;return[typeof e==`boolean`?e:Oo(e),t]},useSyncExternalStore:K,useId:ys,useHostTransitionStatus:vs,useFormState:q,useActionState:q,useOptimistic:function(e,t){return Vo(Eo(),oo,e,t)},useMemoCache:Ao,useCacheRefresh:bs};js.useEffectEvent=rs;var Ms={readContext:qi,use:ko,useCallback:ls,useContext:qi,useEffect:X,useImperativeHandle:ss,useInsertionEffect:is,useLayoutEffect:as,useMemo:us,useReducer:Po,useRef:Qo,useState:function(){return Po(jo)},useDebugValue:cs,useDeferredValue:function(e,t){var n=Eo();return oo===null?ds(n,e,t):fs(n,oo.memoizedState,e,t)},useTransition:function(){var e=Po(jo)[0],t=Eo().memoizedState;return[typeof e==`boolean`?e:Oo(e),t]},useSyncExternalStore:K,useId:ys,useHostTransitionStatus:vs,useFormState:J,useActionState:J,useOptimistic:function(e,t){var n=Eo();return oo===null?(n.baseState=e,[e,n.queue.dispatch]):Vo(n,oo,e,t)},useMemoCache:Ao,useCacheRefresh:bs};Ms.useEffectEvent=rs;function Ns(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:p({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ps={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=du(),i=Fa(r);i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(pu(t,e,r),La(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=du(),i=Fa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(pu(t,e,r),La(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=du(),r=Fa(n);r.tag=2,t!=null&&(r.callback=t),t=Ia(e,r,n),t!==null&&(pu(t,e,n),La(t,e,n))}};function Fs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!gr(n,r)||!gr(i,a):!0}function Is(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ps.enqueueReplaceState(t,t.state,null)}function Ls(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=p({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Rs(e){Vr(e)}function zs(e){console.error(e)}function Bs(e){Vr(e)}function Vs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Hs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Us(e,t,n){return n=Fa(n),n.tag=3,n.payload={element:null},n.callback=function(){Vs(e,t)},n}function Ws(e){return e=Fa(e),e.tag=3,e}function Gs(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Hs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Hs(t,n,r),typeof i!=`function`&&(nu===null?nu=new Set([this]):nu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Ks(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Wi(t,n,a,!0),n=Ya.current,n!==null){switch(n.tag){case 31:case 13:return Xa===null?Tu():n.alternate===null&&Ul===0&&(Ul=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===_a?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Wu(e,r,a)),!1;case 22:return n.flags|=65536,r===_a?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Wu(e,r,a)),!1}throw Error(i(435,n.tag))}return Wu(e,r,a),Tu(),!1}if(Ei)return t=Ya.current,t===null?(r!==ki&&(t=Error(i(423),{cause:r}),Ii(li(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=li(r,n),a=Us(e.stateNode,r,a),Ra(e,a),Ul!==4&&(Ul=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==ki&&(e=Error(i(422),{cause:r}),Ii(li(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=li(o,n),Yl===null?Yl=[o]:Yl.push(o),Ul!==4&&(Ul=2),t===null)return!0;r=li(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Us(n.stateNode,r,e),Ra(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(nu===null||!nu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Ws(a),Gs(a,e,n,r),Ra(n,a),!1}n=n.return}while(n!==null);return!1}var qs=Error(i(461)),Js=!1;function Ys(e,t,n,r){t.child=e===null?ja(t,null,n,r):Aa(t,e.child,n,r)}function Xs(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Ki(t),r=vo(e,t,n,o,a,i),s=So(),e!==null&&!Js?(Co(e,t,i),bc(e,t,i)):(Ei&&s&&xi(t),t.flags|=1,Ys(e,t,r,i),t.child)}function Zs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ei(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Qs(e,t,a,r,i)):(e=ri(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!xc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?gr:n,n(o,r)&&e.ref===t.ref)return bc(e,t,i)}return t.flags|=1,e=ti(a,r),e.ref=t.ref,e.return=t,t.child=e}function Qs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(gr(a,r)&&e.ref===t.ref){if(Js=!1,t.pendingProps=r=a,xc(e,i))e.flags&131072&&(Js=!0);else return t.lanes=e.lanes,bc(e,t,i)}}return oc(e,t,n,r,i)}function $s(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return tc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&fa(t,a===null?null:a.cachePool),a===null?qa():Ka(t,a),$a(t);else return r=t.lanes=536870912,tc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&fa(t,null),qa(),eo(t)):(fa(t,a.cachePool),Ka(t,a),eo(t),t.memoizedState=null);return Ys(e,t,i,n),t.child}function ec(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function tc(e,t,n,r,i){var a=da();return a=a===null?null:{parent:$i._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&fa(t,null),qa(),$a(t),e!==null&&Wi(e,t,r,!0),t.childLanes=i,null}function nc(e,t){return t=hc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function rc(e,t,n){return Aa(t,e.child,null,n),e=nc(t,t.pendingProps),e.flags|=2,to(t),t.memoizedState=null,e}function ic(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(Ei){if(r.mode===`hidden`)return e=nc(t,r),t.lanes=536870912,ec(null,e);if(Qa(t),(e=Ti)?(e=rf(e,Oi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:gi===null?null:{id:_i,overflow:vi},retryLane:536870912,hydrationErrors:null},n=oi(e),n.return=t,t.child=n,wi=t,Ti=null)):e=null,e===null)throw Ai(t);return t.lanes=536870912,null}return nc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Qa(t),a){if(t.flags&256)t.flags&=-257,t=rc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Js||Wi(e,t,n,!1),a=(n&e.childLanes)!==0,Js||a){if(r=Pl,r!==null&&(s=Je(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Jr(e,s),pu(r,e,s),qs;Tu(),t=rc(e,t,n)}else e=o.treeContext,Ti=cf(s.nextSibling),wi=t,Ei=!0,Di=null,Oi=!1,e!==null&&Ci(t,e),t=nc(t,r),t.flags|=4096;return t}return e=ti(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ac(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function oc(e,t,n,r,i){return Ki(t),n=vo(e,t,n,r,void 0,i),r=So(),e!==null&&!Js?(Co(e,t,i),bc(e,t,i)):(Ei&&r&&xi(t),t.flags|=1,Ys(e,t,n,i),t.child)}function sc(e,t,n,r,i,a){return Ki(t),t.updateQueue=null,n=bo(t,r,n,i),yo(e),r=So(),e!==null&&!Js?(Co(e,t,a),bc(e,t,a)):(Ei&&r&&xi(t),t.flags|=1,Ys(e,t,n,a),t.child)}function cc(e,t,n,r,i){if(Ki(t),t.stateNode===null){var a=Zr,o=n.contextType;typeof o==`object`&&o&&(a=qi(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ps,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Na(t),o=n.contextType,a.context=typeof o==`object`&&o?qi(o):Zr,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ns(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ps.enqueueReplaceState(a,a.state,null),Va(t,r,a,i),Ba(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ls(n,s);a.props=c;var l=a.context,u=n.contextType;o=Zr,typeof u==`object`&&u&&(o=qi(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Is(t,a,r,o),Ma=!1;var f=t.memoizedState;a.state=f,Va(t,r,a,i),Ba(),l=t.memoizedState,s||f!==l||Ma?(typeof d==`function`&&(Ns(t,n,d,r),l=t.memoizedState),(c=Ma||Fs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Pa(e,t),o=t.memoizedProps,u=Ls(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Zr,typeof l==`object`&&l&&(c=qi(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Is(t,a,r,c),Ma=!1,f=t.memoizedState,a.state=f,Va(t,r,a,i),Ba();var p=t.memoizedState;o!==d||f!==p||Ma||e!==null&&e.dependencies!==null&&Gi(e.dependencies)?(typeof s==`function`&&(Ns(t,n,s,r),p=t.memoizedState),(u=Ma||Fs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Gi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,ac(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Aa(t,e.child,null,i),t.child=Aa(t,null,n,i)):Ys(e,t,n,i),t.memoizedState=a.state,e=t.child):e=bc(e,t,i),e}function lc(e,t,n,r){return Pi(),t.flags|=256,Ys(e,t,n,r),t.child}var uc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function dc(e){return{baseLanes:e,cachePool:pa()}}function fc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ql),e}function pc(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(no.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(Ei){if(a?Za(t):eo(t),(e=Ti)?(e=rf(e,Oi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:gi===null?null:{id:_i,overflow:vi},retryLane:536870912,hydrationErrors:null},n=oi(e),n.return=t,t.child=n,wi=t,Ti=null)):e=null,e===null)throw Ai(t);return of(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(eo(t),a=t.mode,c=hc({mode:`hidden`,children:c},a),r=ii(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=dc(n),r.childLanes=fc(e,s,n),t.memoizedState=uc,ec(null,r)):(Za(t),mc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Za(t),t.flags&=-257,t=gc(e,t,n)):t.memoizedState===null?(eo(t),c=r.fallback,a=t.mode,r=hc({mode:`visible`,children:r.children},a),c=ii(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Aa(t,e.child,null,n),r=t.child,r.memoizedState=dc(n),r.childLanes=fc(e,s,n),t.memoizedState=uc,t=ec(null,r)):(eo(t),t.child=e.child,t.flags|=128,t=null);else if(Za(t),of(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Ii({value:r,source:null,stack:null}),t=gc(e,t,n)}else if(Js||Wi(e,t,n,!1),s=(n&e.childLanes)!==0,Js||s){if(s=Pl,s!==null&&(r=Je(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,Jr(e,r),pu(s,e,r),qs;af(c)||Tu(),t=gc(e,t,n)}else af(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ti=cf(c.nextSibling),wi=t,Ei=!0,Di=null,Oi=!1,e!==null&&Ci(t,e),t=mc(t,r.children),t.flags|=4096);return t}return a?(eo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ti(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=ii(c,a,n,null),c.flags|=2):c=ti(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,ec(null,r),r=t.child,c=e.child.memoizedState,c===null?c=dc(n):(a=c.cachePool,a===null?a=pa():(l=$i._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=fc(e,s,n),t.memoizedState=uc,ec(e.child,r)):(Za(t),n=e.child,e=n.sibling,n=ti(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function mc(e,t){return t=hc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function hc(e,t){return e=$r(22,e,null,t),e.lanes=0,e}function gc(e,t,n){return Aa(t,e.child,null,n),e=mc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _c(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Hi(e.return,t,n)}function vc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function yc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=no.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,V(no,o),Ys(e,t,r,n),r=Ei?pi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_c(e,n,t);else if(e.tag===19)_c(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ro(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),vc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ro(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}vc(t,!0,n,null,a,r);break;case`together`:vc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function bc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Wl|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Wi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ti(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ti(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function xc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Gi(e)))}function Sc(e,t,n){switch(t.tag){case 3:ie(t,t.stateNode.containerInfo),Bi(t,$i,e.memoizedState.cache),Pi();break;case 27:case 5:oe(t);break;case 4:ie(t,t.stateNode.containerInfo);break;case 10:Bi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Qa(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Za(t),e=bc(e,t,n),e===null?null:e.sibling):pc(e,t,n):(Za(t),t.flags|=128,null);Za(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(Wi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return yc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(no,no.current),r)break;return null;case 22:return t.lanes=0,$s(e,t,n,t.pendingProps);case 24:Bi(t,$i,e.memoizedState.cache)}return bc(e,t,n)}function Cc(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Js=!0;else{if(!xc(e,n)&&!(t.flags&128))return Js=!1,Sc(e,t,n);Js=!!(e.flags&131072)}}else Js=!1,Ei&&t.flags&1048576&&bi(t,pi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ba(t.elementType),t.type=e,typeof e==`function`)ei(e)?(r=Ls(e,r),t.tag=1,t=cc(null,t,e,r,n)):(t.tag=0,t=oc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===S){t.tag=11,t=Xs(null,t,e,r,n);break a}if(a===T){t.tag=14,t=Zs(null,t,e,r,n);break a}}throw t=M(e)||e,Error(i(306,t,``))}}return t;case 0:return oc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ls(r,t.pendingProps),cc(e,t,r,a,n);case 3:a:{if(ie(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Pa(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Bi(t,$i,r),r!==o.cache&&Ui(t,[$i],n,!0),Ba(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=lc(e,t,r,n);break a}if(r!==a){a=li(Error(i(424)),t),Ii(a),t=lc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ti=cf(e.firstChild),wi=t,Ei=!0,Di=null,Oi=!0,n=ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Pi(),r===a){t=bc(e,t,n);break a}Ys(e,t,r,n)}t=t.child}return t;case 26:return ac(e,t),e===null?(n=kf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ei||(n=t.type,e=t.pendingProps,r=Bd(ne.current).createElement(n),r[et]=t,r[tt]=e,Pd(r,n,e),pt(r),t.stateNode=r):t.memoizedState=kf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return oe(t),e===null&&Ei&&(r=t.stateNode=ff(t.type,t.pendingProps,ne.current),wi=t,Oi=!0,a=Ti,Zd(t.type)?(lf=a,Ti=cf(r.firstChild)):Ti=a),Ys(e,t,t.pendingProps.children,n),ac(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ei&&((a=r=Ti)&&(r=tf(r,t.type,t.pendingProps,Oi),r===null?a=!1:(t.stateNode=r,wi=t,Ti=cf(r.firstChild),Oi=!1,a=!0)),a||Ai(t)),oe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Ud(a,o)?r=null:s!==null&&Ud(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=vo(e,t,xo,null,null,n),Qf._currentValue=a),ac(e,t),Ys(e,t,r,n),t.child;case 6:return e===null&&Ei&&((e=n=Ti)&&(n=nf(n,t.pendingProps,Oi),n===null?e=!1:(t.stateNode=n,wi=t,Ti=null,e=!0)),e||Ai(t)),null;case 13:return pc(e,t,n);case 4:return ie(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Aa(t,null,r,n):Ys(e,t,r,n),t.child;case 11:return Xs(e,t,t.type,t.pendingProps,n);case 7:return Ys(e,t,t.pendingProps,n),t.child;case 8:return Ys(e,t,t.pendingProps.children,n),t.child;case 12:return Ys(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Bi(t,t.type,r.value),Ys(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Ki(t),a=qi(a),r=r(a),t.flags|=1,Ys(e,t,r,n),t.child;case 14:return Zs(e,t,t.type,t.pendingProps,n);case 15:return Qs(e,t,t.type,t.pendingProps,n);case 19:return yc(e,t,n);case 31:return ic(e,t,n);case 22:return $s(e,t,n,t.pendingProps);case 24:return Ki(t),r=qi($i),e===null?(a=da(),a===null&&(a=Pl,o=ea(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Na(t),Bi(t,$i,a)):((e.lanes&n)!==0&&(Pa(e,t),Va(t,null,null,n),Ba()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Bi(t,$i,r),r!==a.cache&&Ui(t,[$i],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Bi(t,$i,r))),Ys(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function wc(e){e.flags|=4}function Tc(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Su())e.flags|=8192;else throw xa=_a,ha}}else e.flags&=-16777217}function Ec(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Wf(t)){if(Su())e.flags|=8192;else throw xa=_a,ha}}function Dc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:He(),e.lanes|=t,Jl|=t)}function Oc(e,t){if(!Ei)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function kc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ac(e,t,n){var r=t.pendingProps;switch(Si(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kc(t),null;case 1:return kc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Vi($i),ae(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ni(t)?wc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Fi())),kc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(wc(t),o===null?(kc(t),Tc(t,a,null,r,n)):(kc(t),Ec(t,o))):o?o===e.memoizedState?(kc(t),t.flags&=-16777217):(wc(t),kc(t),Ec(t,o)):(e=e.memoizedProps,e!==r&&wc(t),kc(t),Tc(t,a,e,r,n)),null;case 27:if(se(t),n=ne.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&wc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return kc(t),null}e=ee.current,Ni(t)?ji(t,e):(e=ff(a,r,n),t.stateNode=e,wc(t))}return kc(t),null;case 5:if(se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&wc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return kc(t),null}if(o=ee.current,Ni(t))ji(t,o);else{var s=Bd(ne.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[et]=t,o[tt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Pd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&wc(t)}}return kc(t),Tc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&wc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ne.current,Ni(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=wi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[et]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ai(t,!0)}else e=Bd(e).createTextNode(r),e[et]=t,t.stateNode=e}return kc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ni(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[et]=t}else Pi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;kc(t),e=!1}else n=Fi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(to(t),t):(to(t),null);if(t.flags&128)throw Error(i(558))}return kc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ni(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[et]=t}else Pi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;kc(t),a=!1}else a=Fi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(to(t),t):(to(t),null)}return to(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Dc(t,t.updateQueue),kc(t),null);case 4:return ae(),e===null&&Sd(t.stateNode.containerInfo),kc(t),null;case 10:return Vi(t.type),kc(t),null;case 19:if(B(no),r=t.memoizedState,r===null)return kc(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Oc(r,!1);else{if(Ul!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ro(e),o!==null){for(t.flags|=128,Oc(r,!1),e=o.updateQueue,t.updateQueue=e,Dc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ni(n,e),n=n.sibling;return V(no,no.current&1|2),Ei&&yi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&H()>eu&&(t.flags|=128,a=!0,Oc(r,!1),t.lanes=4194304)}}else{if(!a){if(e=ro(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Dc(t,e),Oc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Ei)return kc(t),null}else 2*H()-r.renderingStartTime>eu&&n!==536870912&&(t.flags|=128,a=!0,Oc(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(kc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=H(),e.sibling=null,n=no.current,V(no,a?n&1|2:n&1),Ei&&yi(t,r.treeForkCount),e);case 22:case 23:return to(t),Ja(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(kc(t),t.subtreeFlags&6&&(t.flags|=8192)):kc(t),n=t.updateQueue,n!==null&&Dc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&B(ua),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Vi($i),kc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function jc(e,t){switch(Si(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vi($i),ae(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return se(t),null;case 31:if(t.memoizedState!==null){if(to(t),t.alternate===null)throw Error(i(340));Pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(to(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(no),null;case 4:return ae(),null;case 10:return Vi(t.type),null;case 22:case 23:return to(t),Ja(),e!==null&&B(ua),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Vi($i),null;case 25:return null;default:return null}}function Mc(e,t){switch(Si(t),t.tag){case 3:Vi($i),ae();break;case 26:case 27:case 5:se(t);break;case 4:ae();break;case 31:t.memoizedState!==null&&to(t);break;case 13:to(t);break;case 19:B(no);break;case 10:Vi(t.type);break;case 22:case 23:to(t),Ja(),e!==null&&B(ua);break;case 24:Vi($i)}}function Nc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Uu(t,t.return,e)}}function Pc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Uu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Uu(t,t.return,e)}}function Fc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ua(t,n)}catch(t){Uu(e,e.return,t)}}}function Ic(e,t,n){n.props=Ls(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Uu(e,t,n)}}function Lc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Uu(e,t,n)}}function Rc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Uu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Uu(e,t,n)}else n.current=null}}function zc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Uu(e,e.return,t)}}function Bc(e,t,n){try{var r=e.stateNode;Fd(r,e.type,n,t),r[tt]=t}catch(t){Uu(e,e.return,t)}}function Vc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zd(e.type)||e.tag===4}function Hc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Uc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=qt));else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Uc(e,t,n),e=e.sibling;e!==null;)Uc(e,t,n),e=e.sibling}function Wc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Wc(e,t,n),e=e.sibling;e!==null;)Wc(e,t,n),e=e.sibling}function Gc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Pd(t,r,n),t[et]=e,t[tt]=n}catch(t){Uu(e,e.return,t)}}var Kc=!1,qc=!1,Jc=!1,Yc=typeof WeakSet==`function`?WeakSet:Set,Xc=null;function Zc(e,t){if(e=e.containerInfo,Rd=sp,e=br(e),xr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(zd={focusedElem:e,selectionRange:n},sp=!1,Xc=t;Xc!==null;)if(t=Xc,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,Xc=e;else for(;Xc!==null;){switch(t=Xc,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ls(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Uu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)ef(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:ef(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,Xc=e;break}Xc=t.return}}function Qc(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:pl(e,n),r&4&&Nc(5,n);break;case 1:if(pl(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Uu(n,n.return,e)}else{var i=Ls(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Uu(n,n.return,e)}}}r&64&&Fc(n),r&512&&Lc(n,n.return);break;case 3:if(pl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ua(e,t)}catch(e){Uu(n,n.return,e)}}break;case 27:t===null&&r&4&&Gc(n);case 26:case 5:pl(e,n),t===null&&r&4&&zc(n),r&512&&Lc(n,n.return);break;case 12:pl(e,n);break;case 31:pl(e,n),r&4&&il(e,n);break;case 13:pl(e,n),r&4&&al(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=qu.bind(null,n),sf(e,n))));break;case 22:if(r=n.memoizedState!==null||Kc,!r){t=t!==null&&t.memoizedState!==null||qc,i=Kc;var a=qc;Kc=r,(qc=t)&&!a?hl(e,n,!!(n.subtreeFlags&8772)):pl(e,n),Kc=i,qc=a}break;case 30:break;default:pl(e,n)}}function $c(e){var t=e.alternate;t!==null&&(e.alternate=null,$c(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ct(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var el=null,tl=!1;function nl(e,t,n){for(n=n.child;n!==null;)rl(e,t,n),n=n.sibling}function rl(e,t,n){if(ke&&typeof ke.onCommitFiberUnmount==`function`)try{ke.onCommitFiberUnmount(Oe,n)}catch{}switch(n.tag){case 26:qc||Rc(n,t),nl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:qc||Rc(n,t);var r=el,i=tl;Zd(n.type)&&(el=n.stateNode,tl=!1),nl(e,t,n),pf(n.stateNode),el=r,tl=i;break;case 5:qc||Rc(n,t);case 6:if(r=el,i=tl,el=null,nl(e,t,n),el=r,tl=i,el!==null){if(tl)try{(el.nodeType===9?el.body:el.nodeName===`HTML`?el.ownerDocument.body:el).removeChild(n.stateNode)}catch(e){Uu(n,t,e)}else try{el.removeChild(n.stateNode)}catch(e){Uu(n,t,e)}}break;case 18:el!==null&&(tl?(e=el,Qd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Np(e)):Qd(el,n.stateNode));break;case 4:r=el,i=tl,el=n.stateNode.containerInfo,tl=!0,nl(e,t,n),el=r,tl=i;break;case 0:case 11:case 14:case 15:Pc(2,n,t),qc||Pc(4,n,t),nl(e,t,n);break;case 1:qc||(Rc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Ic(n,t,r)),nl(e,t,n);break;case 21:nl(e,t,n);break;case 22:qc=(r=qc)||n.memoizedState!==null,nl(e,t,n),qc=r;break;default:nl(e,t,n)}}function il(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Np(e)}catch(e){Uu(t,t.return,e)}}}function al(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Np(e)}catch(e){Uu(t,t.return,e)}}function ol(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Yc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Yc),t;default:throw Error(i(435,e.tag))}}function sl(e,t){var n=ol(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Ju.bind(null,e,t);t.then(r,r)}})}function cl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Zd(c.type)){el=c.stateNode,tl=!1;break a}break;case 5:el=c.stateNode,tl=!1;break a;case 3:case 4:el=c.stateNode.containerInfo,tl=!0;break a}c=c.return}if(el===null)throw Error(i(160));rl(o,s,a),el=null,tl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ul(t,e),t=t.sibling}var ll=null;function ul(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:cl(t,e),dl(e),r&4&&(Pc(3,e,e.return),Nc(3,e),Pc(5,e,e.return));break;case 1:cl(t,e),dl(e),r&512&&(qc||n===null||Rc(n,n.return)),r&64&&Kc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=ll;if(cl(t,e),dl(e),r&512&&(qc||n===null||Rc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null){if(r===null){if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[st]||o[et]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head >
176 title`))),Pd(o,r,n),o[et]=e,pt(o),r=o;break a;case`link`:var s=Vf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Pd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Vf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Pd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[et]=e,pt(o),r=o}e.stateNode=r}else Hf(a,e.type,e.stateNode)}else e.stateNode=If(a,r,e.memoizedProps)}else o===r?r===null&&e.stateNode!==null&&Bc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Hf(a,e.type,e.stateNode):If(a,r,e.memoizedProps))}break;case 27:cl(t,e),dl(e),r&512&&(qc||n===null||Rc(n,n.return)),n!==null&&r&4&&Bc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(cl(t,e),dl(e),r&512&&(qc||n===null||Rc(n,n.return)),e.flags&32){a=e.stateNode;try{zt(a,``)}catch(t){Uu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Bc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Jc=!0);break;case 6:if(cl(t,e),dl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Uu(e,e.return,t)}}break;case 3:if(Bf=null,a=ll,ll=gf(t.containerInfo),cl(t,e),ll=a,dl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(t){Uu(e,e.return,t)}Jc&&(Jc=!1,fl(e));break;case 4:r=ll,ll=gf(e.stateNode.containerInfo),cl(t,e),dl(e),ll=r;break;case 12:cl(t,e),dl(e);break;case 31:cl(t,e),dl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,sl(e,r)));break;case 13:cl(t,e),dl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ql=H()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,sl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Kc,d=qc;if(Kc=u||a,qc=d||l,cl(t,e),qc=d,Kc=u,dl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Kc||qc||ml(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Uu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Uu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?$d(m,!0):$d(l.stateNode,!1)}catch(e){Uu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,sl(e,n))));break;case 19:cl(t,e),dl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,sl(e,r)));break;case 30:break;case 21:break;default:cl(t,e),dl(e)}}function dl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Vc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Wc(e,Hc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(zt(o,``),n.flags&=-33),Wc(e,Hc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Uc(e,Hc(e),s);break;default:throw Error(i(161))}}catch(t){Uu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;fl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function pl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Qc(e,t.alternate,t),t=t.sibling}function ml(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Pc(4,t,t.return),ml(t);break;case 1:Rc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Ic(t,t.return,n),ml(t);break;case 27:pf(t.stateNode);case 26:case 5:Rc(t,t.return),ml(t);break;case 22:t.memoizedState===null&&ml(t);break;case 30:ml(t);break;default:ml(t)}e=e.sibling}}function hl(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:hl(i,a,n),Nc(4,a);break;case 1:if(hl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Uu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;
vendor: 18,638 bytes, line 176
176if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ha(c[i],s)}catch(e){Uu(r,r.return,e)}}n&&o&64&&Fc(a),Lc(a,a.return);break;case 27:Gc(a);case 26:case 5:hl(i,a,n),n&&r===null&&o&4&&zc(a),Lc(a,a.return);break;case 12:hl(i,a,n);break;case 31:hl(i,a,n),n&&o&4&&il(i,a);break;case 13:hl(i,a,n),n&&o&4&&al(i,a);break;case 22:a.memoizedState===null&&hl(i,a,n),Lc(a,a.return);break;case 30:break;default:hl(i,a,n)}t=t.sibling}}function gl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ta(n))}function _l(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ta(e))}function vl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)yl(e,t,n,r),t=t.sibling}function yl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:vl(e,t,n,r),i&2048&&Nc(9,t);break;case 1:vl(e,t,n,r);break;case 3:vl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ta(e)));break;case 12:if(i&2048){vl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Uu(t,t.return,e)}}else vl(e,t,n,r);break;case 31:vl(e,t,n,r);break;case 13:vl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?vl(e,t,n,r):(a._visibility|=2,bl(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?vl(e,t,n,r):xl(e,t),i&2048&&gl(o,t);break;case 24:vl(e,t,n,r),i&2048&&_l(t.alternate,t);break;default:vl(e,t,n,r)}}function bl(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:bl(a,o,s,c,i),Nc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,bl(a,o,s,c,i)):u._visibility&2?bl(a,o,s,c,i):xl(a,o),i&&l&2048&&gl(o.alternate,o);break;case 24:bl(a,o,s,c,i),i&&l&2048&&_l(o.alternate,o);break;default:bl(a,o,s,c,i)}t=t.sibling}}function xl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:xl(n,r),i&2048&&gl(r.alternate,r);break;case 24:xl(n,r),i&2048&&_l(r.alternate,r);break;default:xl(n,r)}t=t.sibling}}var Sl=8192;function Cl(e,t,n){if(e.subtreeFlags&Sl)for(e=e.child;e!==null;)Tl(e,t,n),e=e.sibling}function Tl(e,t,n){switch(e.tag){case 26:Cl(e,t,n),e.flags&Sl&&e.memoizedState!==null&&Gf(n,ll,e.memoizedState,e.memoizedProps);break;case 5:Cl(e,t,n);break;case 3:case 4:var r=ll;ll=gf(e.stateNode.containerInfo),Cl(e,t,n),ll=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Sl,Sl=16777216,Cl(e,t,n),Sl=r):Cl(e,t,n));break;default:Cl(e,t,n)}}function El(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Dl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Xc=r,Al(r,e)}El(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ol(e),e=e.sibling}function Ol(e){switch(e.tag){case 0:case 11:case 15:Dl(e),e.flags&2048&&Pc(9,e,e.return);break;case 3:Dl(e);break;case 12:Dl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,kl(e)):Dl(e);break;default:Dl(e)}}function kl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Xc=r,Al(r,e)}El(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Pc(8,t,t.return),kl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,kl(t));break;default:kl(t)}e=e.sibling}}function Al(e,t){for(;Xc!==null;){var n=Xc;switch(n.tag){case 0:case 11:case 15:Pc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ta(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,Xc=r;else a:for(n=e;Xc!==null;){r=Xc;var i=r.sibling,a=r.return;if($c(r),r===n){Xc=null;break a}if(i!==null){i.return=a,Xc=i;break a}Xc=a}}}var jl={getCacheForType:function(e){var t=qi($i),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return qi($i).controller.signal}},Ml=typeof WeakMap==`function`?WeakMap:Map,Nl=0,Pl=null,Fl=null,Il=0,Ll=0,Rl=null,zl=!1,Bl=!1,Vl=!1,Hl=0,Ul=0,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=null,Xl=null,Zl=!1,Ql=0,$l=0,eu=1/0,tu=null,nu=null,ru=0,iu=null,Z=null,au=0,ou=0,su=null,cu=null,lu=0,uu=null;function du(){return Nl&2&&Il!==0?Il&-Il:P.T===null?Ze():ud()}function fu(){if(ql===0){if(!(Il&536870912)||Ei){var e=Ie;Ie<<=1,!(Ie&3932160)&&(Ie=262144),ql=e}else ql=536870912}return e=Ya.current,e!==null&&(e.flags|=32),ql}function pu(e,t,n){(e===Pl&&(Ll===2||Ll===9)||e.cancelPendingCommit!==null)&&(bu(e,0),_u(e,Il,ql,!1)),We(e,n),(!(Nl&2)||e!==Pl)&&(e===Pl&&(!(Nl&2)&&(Gl|=n),Ul===4&&_u(e,Il,ql,!1)),nd(e))}function mu(e,t,n){if(Nl&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||Be(e,t),a=r?Ou(e,t):Eu(e,t,!0),o=r;do{if(a===0){Bl&&!r&&_u(e,t,0,!1);break}if(n=e.current.alternate,o&&!gu(n)){a=Eu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Yl;var l=c.current.memoizedState.isDehydrated;if(l&&(bu(c,s).flags|=256),s=Eu(c,s,!1),s!==2){if(Vl&&!l){c.errorRecoveryDisabledLanes|=o,Gl|=o,a=4;break a}o=Xl,Xl=a,o!==null&&(Xl===null?Xl=o:Xl.push.apply(Xl,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){bu(e,0),_u(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:_u(r,t,ql,!zl);break a;case 2:Xl=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Ql+300-H(),10<a)){if(_u(r,t,ql,!zl),ze(r,0,!0)!==0)break a;au=t,r.timeoutHandle=Kd(hu.bind(null,r,n,Xl,tu,Zl,t,ql,Gl,Jl,zl,o,`Throttled`,-0,0),a);break a}hu(r,n,Xl,tu,Zl,t,ql,Gl,Jl,zl,o,null,-0,0)}break}while(1);nd(e)}function hu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qt},Tl(t,a,d);var m=(a&62914560)===a?Ql-H():(a&4194048)===a?$l-H():0;if(m=qf(d,m),m!==null){au=a,e.cancelPendingCommit=m(Fu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),_u(e,a,o,!l);return}}Fu(e,t,a,n,r,i,o,s,c)}function gu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!hr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _u(e,t,n,r){t&=~Kl,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-je(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ke(e,n,t)}function vu(){return Nl&6?!0:(rd(0,!1),!1)}function yu(){if(Fl!==null){if(Ll===0)var e=Fl.return;else e=Fl,zi=Ri=null,wo(e),wa=null,Ta=0,e=Fl;for(;e!==null;)Mc(e.alternate,e),e=e.return;Fl=null}}function bu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,qd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),au=0,yu(),Pl=e,Fl=n=ti(e.current,null),Il=t,Ll=0,Rl=null,zl=!1,Bl=Be(e,t),Vl=!1,Jl=ql=Kl=Gl=Wl=Ul=0,Xl=Yl=null,Zl=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-je(r),a=1<<i;t|=e[i],r&=~a}return Hl=t,Gr(),n}function xu(e,t){ao=null,P.H=ks,t===ma||t===ga?(t=Sa(),Ll=3):t===ha?(t=Sa(),Ll=4):Ll=t===qs?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Rl=t,Fl===null&&(Ul=1,Vs(e,li(t,e.current)))}function Su(){var e=Ya.current;return e===null?!0:(Il&4194048)===Il?Xa===null:(Il&62914560)===Il||Il&536870912?e===Xa:!1}function Cu(){var e=P.H;return P.H=ks,e===null?ks:e}function wu(){var e=P.A;return P.A=jl,e}function Tu(){Ul=4,zl||(Il&4194048)!==Il&&Ya.current!==null||(Bl=!0),!(Wl&134217727)&&!(Gl&134217727)||Pl===null||_u(Pl,Il,ql,!1)}function Eu(e,t,n){var r=Nl;Nl|=2;var i=Cu(),a=wu();(Pl!==e||Il!==t)&&(tu=null,bu(e,t)),t=!1;var o=Ul;a:do try{if(Ll!==0&&Fl!==null){var s=Fl,c=Rl;switch(Ll){case 8:yu(),o=6;break a;case 3:case 2:case 9:case 6:Ya.current===null&&(t=!0);var l=Ll;if(Ll=0,Rl=null,Mu(e,s,c,l),n&&Bl){o=0;break a}break;default:l=Ll,Ll=0,Rl=null,Mu(e,s,c,l)}}Du(),o=Ul;break}catch(t){xu(e,t)}while(1);return t&&e.shellSuspendCounter++,zi=Ri=null,Nl=r,P.H=i,P.A=a,Fl===null&&(Pl=null,Il=0,Gr()),o}function Du(){for(;Fl!==null;)Au(Fl)}function Ou(e,t){var n=Nl;Nl|=2;var r=Cu(),a=wu();Pl!==e||Il!==t?(tu=null,eu=H()+500,bu(e,t)):Bl=Be(e,t);a:do try{if(Ll!==0&&Fl!==null){t=Fl;var o=Rl;b:switch(Ll){case 1:Ll=0,Rl=null,Mu(e,t,o,1);break;case 2:case 9:if(va(o)){Ll=0,Rl=null,ju(t);break}t=function(){Ll!==2&&Ll!==9||Pl!==e||(Ll=7),nd(e)},o.then(t,t);break a;case 3:Ll=7;break a;case 4:Ll=5;break a;case 7:va(o)?(Ll=0,Rl=null,ju(t)):(Ll=0,Rl=null,Mu(e,t,o,7));break;case 5:var s=null;switch(Fl.tag){case 26:s=Fl.memoizedState;case 5:case 27:var c=Fl;if(s?Wf(s):c.stateNode.complete){Ll=0,Rl=null;var l=c.sibling;if(l!==null)Fl=l;else{var u=c.return;u===null?Fl=null:(Fl=u,Nu(u))}break b}}Ll=0,Rl=null,Mu(e,t,o,5);break;case 6:Ll=0,Rl=null,Mu(e,t,o,6);break;case 8:yu(),Ul=6;break a;default:throw Error(i(462))}}ku();break}catch(t){xu(e,t)}while(1);return zi=Ri=null,P.H=r,P.A=a,Nl=n,Fl===null?(Pl=null,Il=0,Gr(),Ul):0}function ku(){for(;Fl!==null&&!ve();)Au(Fl)}function Au(e){var t=Cc(e.alternate,e,Hl);e.memoizedProps=e.pendingProps,t===null?Nu(e):Fl=t}function ju(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=sc(n,t,t.pendingProps,t.type,void 0,Il);break;case 11:t=sc(n,t,t.pendingProps,t.type.render,t.ref,Il);break;case 5:wo(t);default:Mc(n,t),t=Fl=ni(t,Hl),t=Cc(n,t,Hl)}e.memoizedProps=e.pendingProps,t===null?Nu(e):Fl=t}function Mu(e,t,n,r){zi=Ri=null,wo(t),wa=null,Ta=0;var i=t.return;try{if(Ks(e,i,t,n,Il)){Ul=1,Vs(e,li(n,e.current)),Fl=null;return}}catch(t){if(i!==null)throw Fl=i,t;Ul=1,Vs(e,li(n,e.current)),Fl=null;return}t.flags&32768?(Ei||r===1?e=!0:Bl||Il&536870912?e=!1:(zl=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ya.current,r!==null&&r.tag===13&&(r.flags|=16384))),Pu(t,e)):Nu(t)}function Nu(e){var t=e;do{if(t.flags&32768){Pu(t,zl);return}e=t.return;var n=Ac(t.alternate,t,Hl);if(n!==null){Fl=n;return}if(t=t.sibling,t!==null){Fl=t;return}Fl=t=e}while(t!==null);Ul===0&&(Ul=5)}function Pu(e,t){do{var n=jc(e.alternate,e);if(n!==null){n.flags&=32767,Fl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Fl=e;return}Fl=e=n}while(e!==null);Ul=6,Fl=null}function Fu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Bu();while(ru!==0);if(Nl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Wr,Ge(e,n,o,s,c,l),e===Pl&&(Fl=Pl=null,Il=0),Z=t,iu=e,au=n,ou=o,su=a,cu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Yu(Ce,function(){return Vu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=P.T,P.T=null,a=F.p,F.p=2,s=Nl,Nl|=4;try{Zc(e,t,n)}finally{Nl=s,F.p=a,P.T=r}}ru=1,Iu(),Lu(),Ru()}}function Iu(){if(ru===1){ru=0;var e=iu,t=Z,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Nl;Nl|=4;try{ul(t,e);var a=zd,o=br(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&yr(s.ownerDocument.documentElement,s)){if(c!==null&&xr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=vr(s,h),v=vr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}sp=!!Rd,zd=Rd=null}finally{Nl=i,F.p=r,P.T=n}}e.current=t,ru=2}}function Lu(){if(ru===2){ru=0;var e=iu,t=Z,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Nl;Nl|=4;try{Qc(e,t.alternate,t)}finally{Nl=i,F.p=r,P.T=n}}ru=3}}function Ru(){if(ru===4||ru===3){ru=0,ye();var e=iu,t=Z,n=au,r=cu;t.subtreeFlags&10256||t.flags&10256?ru=5:(ru=0,Z=iu=null,zu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(nu=null),Xe(n),t=t.stateNode,ke&&typeof ke.onCommitFiberRoot==`function`)try{ke.onCommitFiberRoot(Oe,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=P.T,i=F.p,F.p=2,P.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{P.T=t,F.p=i}}au&3&&Bu(),nd(e),i=e.pendingLanes,n&261930&&i&42?e===uu?lu++:(lu=0,uu=e):lu=0,rd(0,!1)}}function zu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ta(t)))}function Bu(){return Iu(),Lu(),Ru(),Vu()}function Vu(){if(ru!==5)return!1;var e=iu,t=ou;ou=0;var n=Xe(au),r=P.T,a=F.p;try{F.p=32>n?32:n,P.T=null,n=su,su=null;var o=iu,s=au;if(ru=0,Z=iu=null,au=0,Nl&6)throw Error(i(331));var c=Nl;if(Nl|=4,Ol(o.current),yl(o,o.current,s,n),Nl=c,rd(0,!1),ke&&typeof ke.onPostCommitFiberRoot==`function`)try{ke.onPostCommitFiberRoot(Oe,o)}catch{}return!0}finally{F.p=a,P.T=r,zu(e,t)}}function Hu(e,t,n){t=li(n,t),t=Us(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(We(e,2),nd(e))}function Uu(e,t,n){if(e.tag===3)Hu(e,e,n);else for(;t!==null;){if(t.tag===3){Hu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(nu===null||!nu.has(r))){e=li(n,e),n=Ws(2),r=Ia(t,n,2),r!==null&&(Gs(n,r,t,e),We(r,2),nd(r));break}}t=t.return}}function Wu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ml;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Vl=!0,i.add(n),e=Gu.bind(null,e,t,n),t.then(e,e))}function Gu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Pl===e&&(Il&n)===n&&(Ul===4||Ul===3&&(Il&62914560)===Il&&300>H()-Ql?!(Nl&2)&&bu(e,0):Kl|=n,Jl===Il&&(Jl=0)),nd(e)}function Ku(e,t){t===0&&(t=He()),e=Jr(e,t),e!==null&&(We(e,t),nd(e))}function qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ku(e,n)}function Ju(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ku(e,n)}function Yu(e,t){return ge(e,t)}var Xu=null,Zu=null,Qu=!1,$u=!1,ed=!1,td=0;function nd(e){e!==Zu&&e.next===null&&(Zu===null?Xu=Zu=e:Zu=Zu.next=e),$u=!0,Qu||(Qu=!0,ld())}function rd(e,t){if(!ed&&$u){ed=!0;do for(var n=!1,r=Xu;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-je(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,cd(r,a))}else a=Il,a=ze(r,r===Pl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Be(r,a)||(n=!0,cd(r,a))}r=r.next}while(n);ed=!1}}function id(){ad()}function ad(){$u=Qu=!1;var e=0;td!==0&&Gd()&&(e=td);for(var t=H(),n=null,r=Xu;r!==null;){var i=r.next,a=od(r,t);a===0?(r.next=null,n===null?Xu=i:n.next=i,i===null&&(Zu=n)):(n=r,(e!==0||a&3)&&($u=!0)),r=i}ru!==0&&ru!==5||rd(e,!1),td!==0&&(td=0)}function od(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-je(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ve(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Pl,n=Il,n=ze(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Ll===2||Ll===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&_e(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Be(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&_e(r),Xe(n)){case 2:case 8:n=Se;break;case 32:n=Ce;break;case 268435456:n=Te;break;default:n=Ce}return r=sd.bind(null,e),n=ge(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&_e(r),e.callbackPriority=2,e.callbackNode=null,2}function sd(e,t){if(ru!==0&&ru!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Bu()&&e.callbackNode!==n)return null;var r=Il;return r=ze(e,e===Pl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(mu(e,r,t),od(e,H()),e.callbackNode!=null&&e.callbackNode===n?sd.bind(null,e):null)}function cd(e,t){if(Bu())return null;mu(e,t,!0)}function ld(){Yd(function(){Nl&6?ge(xe,id):ad()})}function ud(){if(td===0){var e=ia;e===0&&(e=Fe,Fe<<=1,!(Fe&261888)&&(Fe=256)),td=e}return td}function dd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Kt(``+e)}function fd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function pd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=dd((i[tt]||null).action),o=r.submitter;o&&(t=(t=o[tt]||null)?dd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new hn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(td!==0){var e=o?fd(i,o):new FormData(i);hs(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?fd(i,o):new FormData(i),hs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var md=0;md<zr.length;md++){var hd=zr[md];Br(hd.toLowerCase(),`on`+(hd[0].toUpperCase()+hd.slice(1)))}Br(G,`onAnimationEnd`),Br(Mr,`onAnimationIteration`),Br(Nr,`onAnimationStart`),Br(`dblclick`,`onDoubleClick`),Br(`focu
176sin`,`onFocus`),Br(`focusout`,`onBlur`),Br(Pr,`onTransitionRun`),Br(Fr,`onTransitionStart`),Br(Ir,`onTransitionCancel`),Br(Lr,`onTransitionEnd`),_t(`onMouseEnter`,[`mouseout`,`mouseover`]),_t(`onMouseLeave`,[`mouseout`,`mouseover`]),_t(`onPointerEnter`,[`pointerout`,`pointerover`]),_t(`onPointerLeave`,[`pointerout`,`pointerover`]),gt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),gt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),gt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),gt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),gt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),gt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var gd=`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(` `),_d=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(gd));function vd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Vr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Vr(e)}i.currentTarget=null,a=c}}}}function yd(e,t){var n=t[rt];n===void 0&&(n=t[rt]=new Set);var r=e+`__bubble`;n.has(r)||(Cd(t,e,2,!1),n.add(r))}function bd(e,t,n){var r=0;t&&(r|=4),Cd(n,e,r,t)}var xd=`_reactListening`+Math.random().toString(36).slice(2);function Sd(e){if(!e[xd]){e[xd]=!0,mt.forEach(function(t){t!==`selectionchange`&&(_d.has(t)||bd(t,!1,e),bd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xd]||(t[xd]=!0,bd(`selectionchange`,!1,t))}}function Cd(e,t,n,r){switch(mp(t)){case 2:var i=cp;break;case 8:i=lp;break;default:i=up}n=i.bind(null,t,n,e),i=void 0,!rn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function wd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var c=r.stateNode.containerInfo;if(c===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;c!==null;){if(o=lt(c),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue a}c=c.parentNode}}r=r.return}en(function(){var r=a,i=Yt(n),o=[];a:{var c=Rr.get(e);if(c!==void 0){var l=hn,u=e;switch(e){case`keypress`:if(un(n)===0)break a;case`keydown`:case`keyup`:l=Nn;break;case`focusin`:u=`focus`,l=wn;break;case`focusout`:u=`blur`,l=wn;break;case`beforeblur`:case`afterblur`:l=wn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Sn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Cn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Fn;break;case G:case Mr:case Nr:l=Tn;break;case Lr:l=In;break;case`scroll`:case`scrollend`:l=_n;break;case`wheel`:l=Ln;break;case`copy`:case`cut`:case`paste`:l=En;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Pn;break;case`toggle`:case`beforetoggle`:l=Rn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=tn(m,p),g!=null&&d.push(Td(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),o.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Jt&&(u=n.relatedTarget||n.fromElement)&&(lt(u)||u[nt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?lt(u):null,u!==null&&(f=s(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Sn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Pn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:dt(l),h=u==null?c:dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,lt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Dd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Od(o,c,l,d,!1),u!==null&&f!==null&&Od(o,f,u,d,!0)}}a:{if(c=r?dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=ir;
vendor: 5,011 bytes, lines 176-177
176else if(Qn(c)){if(ar)v=pr;else{v=U;var y=dr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Ut(r.elementType)&&(v=ir):v=fr;if(v&&=v(e,r)){$n(o,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Ft(c,`number`,c.value)}switch(y=r?dt(r):window,e){case`focusin`:(Qn(y)||y.contentEditable===`true`)&&(Cr=y,wr=r,Tr=null);break;case`focusout`:Tr=wr=Cr=null;break;case`mousedown`:Er=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Er=!1,Dr(o,n,i);break;case`selectionchange`:if(Sr)break;case`keydown`:case`keyup`:Dr(o,n,i)}var b;if(Bn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Jn?Kn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Un&&n.locale!==`ko`&&(Jn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Jn&&(b=ln()):(on=i,sn=`value`in on?on.value:on.textContent,Jn=!0)),y=Ed(r,x),0<y.length&&(x=new Dn(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=qn(n),b!==null&&(x.data=b)))),(b=Hn?Yn(e,n):Xn(e,n))&&(x=Ed(r,`onBeforeInput`),0<x.length&&(y=new Dn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),pd(o,e,r,n,i)}vd(o,t)})}function Td(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ed(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=tn(e,n),i!=null&&r.unshift(Td(e,i,a)),i=tn(e,t),i!=null&&r.push(Td(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Dd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Od(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=tn(n,a),l!=null&&o.unshift(Td(n,l,c))):i||(l=tn(n,a),l!=null&&o.push(Td(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var kd=/\r\n?/g,Ad=/\u0000|\uFFFD/g;function jd(e){return(typeof e==`string`?e:``+e).replace(kd,`
177`).replace(Ad,``)}function Md(e,t){return t=jd(t),jd(e)===t}function Q(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||zt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&zt(e,``+r);break;case`className`:Ct(e,`class`,r);break;case`tabIndex`:Ct(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Ct(e,n,r);break;case`style`:Ht(e,r,o);break;case`data`:if(t!==`object`){Ct(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Kt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`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}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Q(e,t,`name`,a.name,a,null),Q(e,t,`formEncType`,a.formEncType,a,null),Q(e,t,`formMethod`,a.formMethod,a,null),Q(e,t,`formTarget`,a.formTarget,a,null)):(Q(e,t,`encType`,a.encType,a,null),Q(e,t,`method`,a.method,a,null),Q(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Kt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=qt);break;case`onScroll`:r!=null&&yd(`scroll`,e);break;case`onScrollEnd`:r!=null&&yd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Kt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);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`playsInl
177ine`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:yd(`beforetoggle`,e),yd(`toggle`,e),St(e,`popover`,r);break;case`xlinkActuate`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:wt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:wt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:St(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Wt.get(n)||n,St(e,n,r))}}function Nd(e,t,n,r,a,o){switch(n){case`style`:Ht(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?zt(e,r):(typeof r==`number`||typeof r==`bigint`)&&zt(e,``+r);break;case`onScroll`:r!=null&&yd(`scroll`,e);break;case`onScrollEnd`:r!=null&&yd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=qt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!ht.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[tt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):St(e,n,r)}}}function Pd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:yd(`error`,e),yd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Q(e,t,o,s,n,null)}}a&&Q(e,t,`srcSet`,n.srcSet,n,null),r&&Q(e,t,`src`,n.src,n,null);return;case`input`:yd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Q(e,t,r,d,n,null)}}Pt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in yd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Q(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&It(e,!!r,n,!0):It(e,!!r,t,!1);return;case`textarea`:for(s in yd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Q(e,t,s,c,n,null)}Rt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Q(e,t,l,r,n,null)}return;case`dialog`:yd(`beforetoggle`,e),yd(`toggle`,e),yd(`cancel`,e),yd(`close`,e);break;case`iframe`:case`object`:yd(`load`,e);break;case`video`:case`audio`:for(r=0;r<gd.length;r++)yd(gd[r],e);break;case`image`:yd(`error`,e),yd(`load`,e);break;case`details`:yd(`toggle`,e);break;case`embed`:case`source`:case`link`:yd(`error`,e),yd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Q(e,t,u,r,n,null)}return;default:if(Ut(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Nd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Q(e,t,c,r,n,null))}function Fd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Q(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Q(e,t,p,m,r,f)}}Nt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Q(e,t,o,null,r,l)}
vendor: 27,002 bytes, line 177
177for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Q(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?It(e,!!n,n?[]:``,!1):It(e,!!n,t,!0)):It(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Q(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Q(e,t,s,a,r,o)}Lt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Q(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Q(e,t,l,p,r,m)}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 g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Q(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Q(e,t,u,p,r,m)}return;default:if(Ut(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Nd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Nd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Q(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Q(e,t,f,p,r,m)}function Id(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Ld(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Id(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Id(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Rd=null,zd=null;function Bd(e){return e.nodeType===9?e:e.ownerDocument}function Vd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Hd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Ud(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Wd=null;function Gd(){var e=window.event;return e&&e.type===`popstate`?e!==Wd&&(Wd=e,!0):(Wd=null,!1)}var Kd=typeof setTimeout==`function`?setTimeout:void 0,qd=typeof clearTimeout==`function`?clearTimeout:void 0,Jd=typeof Promise==`function`?Promise:void 0,Yd=typeof queueMicrotask==`function`?queueMicrotask:Jd===void 0?Kd:function(e){return Jd.resolve(null).then(e).catch(Xd)};function Xd(e){setTimeout(function(){throw e})}function Zd(e){return e===`head`}function Qd(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Np(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)pf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,pf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[st]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&pf(e.ownerDocument.body)}n=i}while(n);Np(t)}function $d(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function ef(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:ef(n),ct(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function tf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[st])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=cf(e.nextSibling),e===null)break}return null}function nf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=cf(e.nextSibling),e===null))return null;return e}function rf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=cf(e.nextSibling),e===null))return null;return e}function af(e){return e.data===`$?`||e.data===`$~`}function of(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function sf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function cf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var lf=null;function uf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return cf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function df(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function ff(e,t,n){switch(t=Bd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function pf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ct(e)}var mf=new Map,hf=new Set;function gf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _f=F.d;F.d={f:vf,r:yf,D:Sf,C:Cf,L:wf,m:Tf,X:Df,S:Ef,M:Of};function vf(){var e=_f.f(),t=vu();return e||t}function yf(e){var t=ut(e);t!==null&&t.tag===5&&t.type===`form`?_s(t):_f.r(e)}var bf=typeof document>`u`?null:document;function xf(e,t,n){var r=bf;if(r&&typeof t==`string`&&t){var i=Mt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),hf.has(i)||(hf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Pd(t,`link`,e),pt(t),r.head.appendChild(t)))}}function Sf(e){_f.D(e),xf(`dns-prefetch`,e,null)}function Cf(e,t){_f.C(e,t),xf(`preconnect`,e,t)}function wf(e,t,n){_f.L(e,t,n);var r=bf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Mt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Mt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Mt(n.imageSizes)+`"]`)):i+=`[href="`+Mt(e)+`"]`;var a=i;switch(t){case`style`:a=Af(e);break;case`script`:a=Pf(e)}mf.has(a)||(e=p({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),mf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(jf(a))||t===`script`&&r.querySelector(Ff(a))||(t=r.createElement(`link`),Pd(t,`link`,e),pt(t),r.head.appendChild(t)))}}function Tf(e,t){_f.m(e,t);var n=bf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Mt(r)+`"][href="`+Mt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Pf(e)}if(!mf.has(a)&&(e=p({rel:`modulepreload`,href:e},t),mf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Ff(a)))return}r=n.createElement(`link`),Pd(r,`link`,e),pt(r),n.head.appendChild(r)}}}function Ef(e,t,n){_f.S(e,t,n);var r=bf;if(r&&e){var i=ft(r).hoistableStyles,a=Af(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(jf(a)))s.loading=5;else{e=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=mf.get(a))&&Rf(e,n);var c=o=r.createElement(`link`);pt(c),Pd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Lf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Df(e,t){_f.X(e,t);var n=bf;if(n&&e){var r=ft(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),pt(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Of(e,t){_f.M(e,t);var n=bf;if(n&&e){var r=ft(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),pt(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t,n,r){var a=(a=ne.current)?gf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Af(n.href),n=ft(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Af(n.href);var o=ft(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(jf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),mf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},mf.set(e,n),o||Nf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Pf(n),n=ft(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Af(e){return`href="`+Mt(e)+`"`}function jf(e){return`link[rel="stylesheet"][`+e+`]`}function Mf(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function Nf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Pd(t,`link`,n),pt(t),e.head.appendChild(t))}function Pf(e){return`[src="`+Mt(e)+`"]`}function Ff(e){return`script[async]`+e}function If(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Mt(n.href)+`"]`);if(r)return t.instance=r,pt(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),pt(r),Pd(r,`style`,a),Lf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Af(n.href);var o=e.querySelector(jf(a));if(o)return t.state.loading|=4,t.instance=o,pt(o),o;r=Mf(n),(a=mf.get(a))&&Rf(r,a),o=(e.ownerDocument||e).createElement(`link`),pt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Pd(o,`link`,r),t.state.loading|=4,Lf(o,n.precedence,e),t.instance=o;case`script`:return o=Pf(n.src),(a=e.querySelector(Ff(o)))?(t.instance=a,pt(a),a):(r=n,(a=mf.get(o))&&(r=p({},n),zf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),pt(a),Pd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Lf(r,n.precedence,e));return t.instance}function Lf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Rf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Bf=null;function Vf(e,t,n){if(Bf===null){var r=new Map,i=Bf=new Map;i.set(n,r)}else i=Bf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[st]||a[et]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Hf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Uf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Wf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Gf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Af(r.href),a=t.querySelector(jf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Jf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,pt(a);return}a=t.ownerDocument||t,r=Mf(r),(i=mf.get(i))&&Rf(r,i),a=a.createElement(`link`),pt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Pd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Jf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Kf=0;function qf(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Kf===0&&(Kf=62500*Ld());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Kf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Jf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yf=null;function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yf=new Map,t.forEach(Zf,e),Yf=null,Jf.call(e))}function Zf(e,t){if(!(t.state.loading&4)){var n=Yf.get(e);if(n)var r=n.get(null);else{n=new Map,Yf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Jf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Qf={$$typeof:x,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function $f(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,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=Ue(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ue(0),this.hiddenUpdates=Ue(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function ep(e,t,n,r,i,a,o,s,c,l,u,d){return e=new $f(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=$r(3,null,null,t),e.current=a,a.stateNode=e,t=ea(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Na(a),e}function tp(e){return e?(e=Zr,e):Zr}function np(e,t,n,r,i,a){i=tp(i),r.context===null?r.context=i:r.pendingContext=i,r=Fa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ia(e,r,t),n!==null&&(pu(n,e,t),La(n,e,t))}function rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ip(e,t){rp(e,t),(e=e.alternate)&&rp(e,t)}function ap(e){if(e.tag===13||e.tag===31){var t=Jr(e,67108864);t!==null&&pu(t,e,67108864),ip(e,67108864)}}function op(e){if(e.tag===13||e.tag===31){var t=du();t=Ye(t);var n=Jr(e,t);n!==null&&pu(n,e,t),ip(e,t)}}var sp=!0;function cp(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=2,up(e,t,n,r)}finally{F.p=a,P.T=i}}function lp(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=8,up(e,t,n,r)}finally{F.p=a,P.T=i}}function up(e,t,n,r){if(sp){var i=dp(r);if(i===null)wd(e,t,r,fp,n),Cp(e,r);else if(Tp(i,e,t,n,r))r.stopPropagation();else if(Cp(e,r),t&4&&-1<Sp.indexOf(e)){for(;i!==null;){var a=ut(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Re(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-je(o);s.entanglements[1]|=c,o&=~c}nd(a),!(Nl&6)&&(eu=H()+500,rd(0,!1))}}break;case 31:case 13:s=Jr(a,2),s!==null&&pu(s,a,2),vu(),ip(a,2)}if(a=dp(r),a===null&&wd(e,t,r,fp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else wd(e,t,r,null,n)}}function dp(e){return e=Yt(e),pp(e)}var fp=null;function pp(e){if(fp=null,e=lt(e),e!==null){var t=s(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=c(t),e!==null)return e;e=null}else if(n===31){if(e=l(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return fp=e,null}function mp(e){switch(e){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(be()){case xe:return 2;case Se:return 8;case Ce:case we:return 32;case Te:return 268435456;default:return 32}default:return 32}}var hp=!1,gp=null,_p=null,vp=null,yp=new Map,bp=new Map,xp=[],Sp=`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 Cp(e,t){switch(e){case`focusin`:case`focusout`:gp=null;break;case`dragenter`:case`dragleave`:_p=null;break;case`mouseover`:case`mouseout`:vp=null;break;case`pointerover`:case`pointerout`:yp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:bp.delete(t.pointerId)}}function wp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ut(t),t!==null&&ap(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tp(e,t,n,r,i){switch(t){case`focusin`:return gp=wp(gp,e,t,n,r,i),!0;case`dragenter`:return _p=wp(_p,e,t,n,r,i),!0;case`mouseover`:return vp=wp(vp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return yp.set(a,wp(yp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,bp.set(a,wp(bp.get(a)||null,e,t,n,r,i)),!0}return!1}function Ep(e){var t=lt(e.target);if(t!==null){var n=s(t);if(n!==null){if(t=n.tag,t===13){if(t=c(n),t!==null){e.blockedOn=t,Qe(e.priority,function(){op(n)});return}}else if(t===31){if(t=l(n),t!==null){e.blockedOn=t,Qe(e.priority,function(){op(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Dp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Jt=r,n.target.dispatchEvent(r),Jt=null}else return t=ut(n),t!==null&&ap(t),e.blockedOn=n,!1;t.shift()}return!0}function Op(e,t,n){Dp(e)&&n.delete(t)}function kp(){hp=!1,gp!==null&&Dp(gp)&&(gp=null),_p!==null&&Dp(_p)&&(_p=null),vp!==null&&Dp(vp)&&(vp=null),yp.forEach(Op),bp.forEach(Op)}function Ap(e,n){e.blockedOn===n&&(e.blockedOn=null,hp||(hp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,kp)))}var jp=null;function Mp(e){jp!==e&&(jp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){jp===e&&(jp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(pp(r||n)===null)continue;break}var a=ut(n);a!==null&&(e.splice(t,3),t-=3,hs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Np(e){function t(t){return Ap(t,e)}gp!==null&&Ap(gp,e),_p!==null&&Ap(_p,e),vp!==null&&Ap(vp,e),yp.forEach(t),bp.forEach(t);for(var n=0;n<xp.length;n++){var r=xp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<xp.length&&(n=xp[0],n.blockedOn===null);)Ep(n),n.blockedOn===null&&xp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[tt]||null;if(typeof a==`function`)o||Mp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[tt]||null)s=o.formAction;else if(pp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Mp(n)}}}function Pp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Fp(e){this._internalRoot=e}Ip.prototype.render=Fp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;np(n,du(),e,t,null,null)},Ip.prototype.unmount=Fp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;np(e.current,2,null,e,null,null),vu(),t[nt]=null}};function Ip(e){this._internalRoot=e}Ip.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ze();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xp.length&&t!==0&&t<xp[n].priority;n++);xp.splice(n,0,e),n===0&&Ep(e)}};var Lp=n.version;if(Lp!==`19.2.4`)throw Error(i(527,Lp,`19.2.4`));F.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=d(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var Rp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:P,reconcilerVersion:`19.2.4`};
177if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{Oe=zp.inject(Rp),ke=zp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Rs,s=zs,c=Bs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=ep(e,1,!1,null,null,n,r,null,o,s,c,Pp),e[nt]=t.current,Sd(e),new Fp(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Rs,c=zs,l=Bs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=ep(e,1,!0,t,n??null,r,o,u,s,c,l,Pp),t.context=tp(null),n=t.current,r=du(),r
177=Ye(r),o=Fa(r),o.callback=null,Ia(n,o,r),n=r,t.current.lanes=n,We(t,n),nd(t),e[nt]=t.current,Sd(e),new Ip(t)}})),DF=i(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=EF()})),OF=DF(),kF=(0,s.lazy)(()=>GN(()=>Promise.resolve().then(()=>ZF),void 0)),AF=async e=>{if(!e||!e.location.search.match(`forceCookies`)&&e.documentElement?.getAttribute(`data-consent`)===`1`)return;let t=e.createElement(`div`);e.body.appendChild(t),(0,OF.createRoot)(t).render((0,U.jsx)(s.Suspense,{fallback:``,children:(0,U.jsx)(kF,{standalone:!0})}))},jF=r({Action:()=>lM,ApplicationFieldResult:()=>rM,BNBackgroundEffect:()=>vF,BNGoogleTagManagerCollection:()=>uP,BNHeader:()=>QP,BNMaterialUI:()=>yP,BNThemeMode:()=>_P,BNThemeSelector:()=>qP,BNTopNavigation:()=>eF,DevPanel:()=>Bj,RichTextContext:()=>tx,RichTextContextProvider:()=>nx,TanStackProvider:()=>YN,applyExplainerEnhancements:()=>ex,buildCustomerServiceUrl:()=>Mx,cloudinaryUrl:()=>qb,currencyFormatter:()=>Wj,dateFormatter:()=>Gj,emotionCache:()=>gP,getNumberFormatGroupSeparator:()=>Uj,getStorageSafely:()=>uM,googleConsentMode:()=>yF,initReactNativeBridgeListener:()=>sM,loadCookieConsent:()=>AF,mediaDocumentUrl:()=>Gb,numberFormatter:()=>Hj,pushVirtualPageView:()=>wx,removeReactNativeBridgeListener:()=>cM,resolveUrl:()=>kx,sendMessageToReactNative:()=>oM,setQueryStringParameter:()=>jx,supportsAnchorPositioning:()=>Zb,sxEnsureArray:()=>_x,sxExplainer:()=>Xb,trackCookieConsentData:()=>bF,translateNumbersToLowercaseLetters:()=>dM,turnMultipleSlashesIntoOne:()=>Nx,useKeyboardToggle:()=>fM,useQueryTanStack:()=>QN,useStatePersisted:()=>mM,useTanStackSettings:()=>JN}),MF={PMT:function(e,t,n,r,i){if(r||=0,i||=0,e===0)return-(n+r)/t;let a=(1+e)**+t,o=e/(a-1)*-(n*a+r);return i===1&&(o/=1+e),o},FV:function(e,t,n,r,i){i||=0;let a=(1+e)**+t,o=0;return o=e?n*(1+e*i)*(1-a)/e-r*a:-1*(r+n*t),o},IPMT:function(e,t,n,r){let i=(1+n)**+r;return 0-(e*i*n+t*(i-1))},PPMT:function(e,t,n,r,i,a){if(t<1||t>=n+1)return 0;let o=this.PMT(e,n,r,i,a);return o-this.IPMT(r,o,e,t-1)},XNPV:function(e,t){let n=0;for(let r=0;r<t.length;r++)n+=t[r]/(1+e)**(r/12);return n},XIRR:function(e,t=.5){let n=0,r=t,i=this.XNPV(n,e),a=this.XNPV(r,e);for(let t=0;t<100&&!(i*a<0);t++)Math.abs(i)<Math.abs(a)?i=this.XNPV(n+=1.6*(n-r),e):a=this.XNPV(r+=1.6*(r-n),e);if(i*a>0)return-1;let o=this.XNPV(n,e),s,c;o<0?(s=n,c=r-n):(s=r,c=n-r);for(let t=0;t<100;t++){c*=.5;let t=s+c,n=this.XNPV(t,e);if(n<=0&&(s=t),Math.abs(n)<1e-6||Math.abs(c)<1e-6)return t}return-1}},NF=function(e){return e[e.Annuity=1]=`Annuity`,e[e.Serial=2]=`Serial`,e}({}),PF=e=>{let t=e.addFeeToLoanAmount?e.loanAmount+e.setupFee:e.loanAmount,n=(e,t)=>Math.round((e+2**-52)*10**t)/10**t,r=e.interestRate/100/12,i=new Date,a=i.getMonth()===11?i.getFullYear()+1:i.getFullYear(),o=i.getMonth()===11?0:i.getMonth()+1,s=[],c=[],l=0,u=0,d=0,f=o+1,p=t,m=[];if(m.push(-(t-e.setupFee)),e.loanType===2){let n=t/e.numberOfMonths;for(let t=0;t<e.numberOfMonths;t++){let i=p*r,o=e.installmentFee+i+n;l+=o,u+=i,d+=o,p-=n;let h={monthNum:f,interestAmount:i,repaymentAmount:n,totalAmount:o,interestPct:e.interestRate,installmentFee:e.installmentFee};c.push(h),f===12||t===e.numberOfMonths-1?(s.push({year:a,total:l,outstanding:t===e.numberOfMonths-1?0:p,months:c}),c=[],l=0,f=1,a++):f++,m.push(o)}}else{let n=e.installmentFee+MF.PMT(r,e.numberOfMonths,-t,0,0);for(let i=0;i<e.numberOfMonths;i++){l+=n;let o=MF.PPMT(r,i+1,e.numberOfMonths,-t,0,0),m=n-e.installmentFee-o;u+=m,d+=n,p-=o;let h={monthNum:f,interestAmount:m,repaymentAmount:o,totalAmount:n,interestPct:e.interestRate,installmentFee:e.installmentFee};c.push(h),f===12||i===e.numberOfMonths-1?(s.push({year:a,total:l,outstanding:i===e.numberOfMonths-1?0:p,months:c}),c=[],l=0,f=1,a++):f++}for(let t=0;t<e.numberOfMonths;t++)m.push(n)}let h=MF.XIRR(m);return{years:s,amount:e.loanAmount,interestSum:u,capitalSum:u+e.setupFee+e.installmentFee*e.numberOfMonths,sum:d,effectiveInterest:n(h*100,2)}},FF=()=>(0,s.useRef)(null),IF=LF((0,s.lazy)(()=>GN(()=>import(`./vendor-Dl0-rAaI.js`).then(e=>e.t).then(e=>({default:e.NobaAssistant})),__vite__mapDeps([0,1]))));LF((0,s.lazy)(()=>GN(()=>import(`./vendor-Dl0-rAaI.js`).then(e=>e.n).then(e=>({default:e.ChatIcon})),__vite__mapDeps([0,1]))));function LF(e,t=null){let n=(0,s.forwardRef)((n,r)=>(0,U.jsx)(s.Suspense,{fallback:t,children:(0,U.jsx)(e,{...n,ref:r})}));return n.displayName=`Suspense(${e.displayName||e.name||`Component`})`,n}var RF=`/proxychat`,zF={[c.None]:`no`,[c.Norway]:`no`,[c.Sweden]:`se`,[c.Denmark]:`dk`,[c.Finland]:`fi`,[c.Germany]:`de`,[c.Spain]:`es`}
177,BF=`Bank Norwegian chat er AI-generert`,VF=`Bank Norwegian chatten är AI-genererad`,HF={no:BF,nb:BF,se:VF,sv:VF,dk:`Bank Norwegian chatten er AI-genereret`,fi:`Bank Norwegian -chat toimii tekoälyn avulla`,de:`Der Chat von Bank Norwegian ist KI-generiert`,es:`El chat de Bank Norwegian está generado por IA`},UF=(0,s.createContext)(null),WF=()=>(0,s.useContext)(UF);function GF({children:e,regionId:t,alternativeChat:n,alternativeSendMessage:r,disabled:i,disableAlternative:a,allowDevTools:o}){let[c,l]=mM(null,`show-chat`,!1,!0,`boolean`),u=zF[t],d=QN(`${RF}/chat/isenabled/`,{staleTime:3e5,enabled:!i}),[f,p]=(0,s.useState)(),m=FF(),{mode:h}=(0,s.useContext)(_P),g=!i&&d.data,_=!g&&(i||!d.isLoading)&&!a;return(0,s.useEffect)(()=>{if(!f)return;if(_){r?.(f),p(void 0);return}if(!g)return;l(!0);let e=setInterval(()=>{let t=m.current;t&&(t.sendMessage(f),p(void 0),clearInterval(e))},100);return()=>{clearInterval(e)}},[m,r,f,g,_]),(0,U.jsxs)(UF.Provider,{value:{sendMessage:e=>{if(g){l(!0);let t=m.current;if(t){t.sendMessage(e);return}p(e)}else _?r?.(e):p(e)}},"data-component":`ChatProviderContent`,children:[e,g?(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(sx,{onClick:()=>l(e=>!e),"data-uit":`noba-chat-toggle`,sx:{position:`fixed`,bottom:{xs:`6.4rem`,md:`1.2rem`},right:{xs:`0.6rem`,md:`1.2rem`},zIndex:5e3,maxWidth:`initial`,minWidth:`initial`,width:44,height:44,px:0,py:0,borderRadius:`999.9rem`},children:(0,U.jsx)(Ds,{sx:{width:20,height:20}})}),(0,U.jsx)(`div`,{onFocus:e=>{e.stopPropagation()},"data-uit":`noba-chat-container`,style:{height:`0rem`,width:`0rem`,overflow:`visible`},children:(0,U.jsx)(IF,{hidden:!c,onRequestClose:()=>l(!1),company:`bano`,title:`Bank Norwegian chat`,disclaimer:HF[u]||HF.no,apiUrl:RF,position:`bottom-right`,mobilePosition:`bottom`,currentThreadId:`current`,locale:u,ref:m,allowDevTools:o,mode:h})})]}):_?n:void 0]})}function KF(e){return(0,U.jsx)(GF,{...e,"data-component":`ChatProvider`})}var qF=({title:e,placeholder:t})=>{let[n,r]=(0,s.useState)(``),i=s.useRef(null),a=Ko(),o=WF(),c=()=>{n&&(r(``),i.current?.blur(),o?.sendMessage(n))};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Sd,{variant:`h4`,component:`h2`,children:e}),(0,U.jsx)(Kb,{sx:{display:`flex`,alignItems:`center`},children:(0,U.jsx)(dF,{value:n,onChange:e=>r(e.target.value),placeholder:t,onKeyUp:e=>{e.key===`Enter`&&(e.preventDefault(),c())},inputRef:i,sx:{".MuiInputBase-root:hover .MuiInputAdornment-root.MuiInputAdornment-root":{border:`1px solid ${a.vars.palette.secondary.dark}`,borderLeft:`none`},".MuiInputBase-root:hover .MuiInputBase-input":{borderColor:`secondary.dark`},".MuiInputBase-root.Mui-focused .MuiInputAdornment-root.MuiInputAdornment-root":{border:`2px solid ${a.vars.palette.secondary.dark}`,borderLeft:`none`,px:`1.1rem`,py:`2.3rem`}},InputProps:{endAdornment:(0,U.jsx)(Ah,{position:`end`,sx:[{borderLeft:0,backgroundColor:`shadow.white`},a.applyStyles(`dark`,{backgroundColor:`tertiary.dark`})],children:(0,U.jsx)(iF,{sx:[{marginLeft:1,backgroundColor:`primary.lighter`,"&:hover":{backgroundColor:`primary.main`}},a.applyStyles(`dark`,{backgroundColor:`primary.darker`})],onClick:()=>c(),children:(0,U.jsx)(Hc,{sx:[a.applyStyles(`dark`,{color:`background.default`})]})})})}})})]})},JF=s.createContext({cookieConsentDialog_ButtonAcceptAll:``,cookieConsentDialog_ButtonChange:``,cookieConsentDialog_ButtonChangeSmall:``,cookieConsentDialog_ButtonStoreChanges:``,cookieConsentDialog_Header:``,cookieConsentDialog_HeaderChange:``,cookieConsentDialog_HeaderNecessary:``,cookieConsentDialog_HeaderAnalysis:``,cookieConsentDialog_HeaderMarketing:``,cookieConsentDialog_HeaderPersonalization:``,cookieConsentDialog_Info:``,cookieConsentDialog_InfoAnalysis:``,cookieConsentDialog_InfoMarketing:``,cookieConsentDialog_InfoNecessary:``,cookieConsentDialog_InfoPersonalization:``,cookieConsentDialog_ReadMore:``,cookieConsentDialog_ReadMoreLink:``,cookieConsentDialog_SwitchAlwaysOn:``}),YF=e=>{let[t,n]=(0,s.useState)(!1),[r,i]=(0,s.useState)(),a=s.useContext(JF),{pathname:o}=qy(),[c]=Ub(),[l,u]=(0,s.useState)(()=>c.has(`forceCookies`)),d=e.settings,f=d.isApp||c.get(`previewId`)!=null||c.get(`skipCookieConsent`)!=null||o.indexOf(`umbraco/preview`)>-1,p=c.get(`previewId`)==null&&c.get(`skipCookieConsent`)==null&&o.indexOf(`umbraco/preview`)==-1,m=()=>{oM({action:lM.GetCookieConsentRequest,data:{}})},h=e=>
177{oM({action:lM.SetCookieConsentRequest,data:{cookieConsent:e}})},g=e=>{try{let t=JSON.parse(e.detail);if(t.action==lM.GetCookieConsentResponse){let e=t.data.cookieConsent;e?(i(e),e.hasConsented&&_(e.wantsAnalysis,e.wantsMarketing,e.wantsPersonalization,!1)):(u(!0),n(!0))}}catch(e){gx.logError(e)}};(0,s.useEffect)(()=>{if(p&&fetch(`/c/api/v1/kj3ks/getcmsinfo`).then(e=>e.json()).then(e=>{i(e.consent),n(!e?.consent?.hasConsented||l)}),d.isApp)return sM(`COOKIE_CONSENT`,g),m(),()=>{cM(`COOKIE_CONSENT`,g)}},[]);let _=(e,t,i,a=!0)=>{let o=r?.hasConsented===!0,s=!d.disableCookieConsentForMarketingAndPersonalisation&&i,c=!d.disableCookieConsentForMarketingAndPersonalisation&&t;d.isApp&&a&&h({hasConsented:!0,isEnabled:!0,wantsAnalysis:e,wantsMarketing:c,wantsPersonalization:s,wantsMarketingIsRedacted:o&&!t,consentedDateTime:new Date().toISOString()}),fetch(`/c/api/v1/kj3ks/approve?a=${e}&m=${t}&p=${i}`).then(()=>{n(!1),window.dataLayer||(window.dataLayer=[]),window.dataLayer.push({CookieConsent:{HasConsented:!0,WantsAnalysis:e,WantsMarketing:c,WantsPersonalization:s}}),yF(c,e,`update`,o),bF(c,e,s),window.dispatchEvent(new CustomEvent(`REFRESH_SETTINGS`))}).catch(e=>{gx.logError(`Approve Cookie Consent failed: ${e.message}`)})};return l==0&&(r?.hasConsented||f)||!r?null:(0,U.jsx)(CF,{strings:a,consent:r,approve:_,open:t,region:d.region,disableCookieConsentForMarketingAndPersonalisation:d.disableCookieConsentForMarketingAndPersonalisation,"data-component":`CookieConsentDialogWrapper`})},XF=e=>(0,U.jsxs)(bb,{"data-component":`CookieConsent`,children:[(0,U.jsx)(vb,{path:`/cookie-policy/`}),(0,U.jsx)(vb,{path:`/sv/cookie-policy/`}),(0,U.jsx)(vb,{path:`/*`,element:(0,U.jsx)(YF,{settings:e.settings})})]}),ZF=r({default:()=>QF}),QF=({standalone:e})=>{let[t,n]=(0,s.useState)();return(0,s.useEffect)(()=>{fetch(`/c/api/v1/spaInitObject/cookieconsent?v=2&path=${document.location.pathname}${document.location.search.replace(`?`,`&`)}`).then(e=>e.json()).then(n)},[]),!t||t.isApp&&!t.cookieConsentApp?(0,U.jsx)(U.Fragment,{}):e?(0,U.jsx)(JF.Provider,{value:t.localization,children:(0,U.jsx)(Pb,{children:(0,U.jsx)(yP,{htmlFontSize:10,cssBaseLineEnabled:!0,children:(0,U.jsx)(XF,{settings:t})})})}):(0,U.jsx)(JF.Provider,{value:t.localization,"data-component":`CookieConsentApp`,children:(0,U.jsx)(XF,{settings:t})})};export{Ub as $,iM as A,W as At,gx as B,DP as C,ps as Ct,QN as D,q as Dt,eP as E,J as Et,kx as F,c as Ft,rx as G,lx as H,jx as I,o as It,qb as J,nx as K,wx as 
177L,Gj as M,T as Mt,Hj as N,w as Nt,YN as O,Ko as Ot,Mx as P,S as Pt,Rb as Q,vx as R,kP as S,Is as St,yP as T,Y as Tt,sx as U,ux as V,ax as W,Pb as X,Kb as Y,Lb as Z,$P as _,Z as _t,jF as a,_v as at,GP as b,tc as bt,_F as c,hh as ct,dF as d,Af as dt,qy as et,lF as f,Sd as ft,eF as g,uu as gt,nF as h,mu as ht,PF as i,vv as it,Wj as j,dr as jt,GN as k,G as kt,pF as l,Km as lt,rF as m,Mu as mt,KF as n,Xy as nt,DF as o,Vh as ot,cF as p,gd as pt,Zb as q,NF as r,Gv as rt,vF as s,Ah as st,qF as t,Jy as tt,fF as u,Xf as ut,QP as v,wl as vt,EP as w,X as wt,AP as x,$s as xt,KP as y,xc as yt,_x as z};
178//# sourceMappingURL=bn-packages-DZRtw-mo.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.