@pie-element/extended-text-entry 15.1.2-next.3 → 15.1.2-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/author/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{dist-CVYscMBC.js → dist-Cv1iX7rJ.js} +5 -1
- package/dist/browser/dist-Cv1iX7rJ.js.map +1 -0
- package/dist/browser/{main-Cweq1_Nt.js → main-DIChM596.js} +2 -2
- package/dist/browser/{main-Cweq1_Nt.js.map → main-DIChM596.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/index.iife.js +1 -1
- package/package.json +1 -1
- package/dist/browser/dist-CVYscMBC.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
this.ExtendedTextEntryElement=(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.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.provider`),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.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): 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`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function j(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`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+A(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+A(s,l);c+=j(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+A(s,l++),c+=j(s,r,i,u,o);else if(s===`object`)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 M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ee(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 N={current:null},P={transition:null},te={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:C};function F(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,e.act=F,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ee}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},e.unstable_act=F,e.useCallback=function(e,t){return N.current.useCallback(e,t)},e.useContext=function(e){return N.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return N.current.useDeferredValue(e)},e.useEffect=function(e,t){return N.current.useEffect(e,t)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return N.current.useMemo(e,t)},e.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},e.useRef=function(e){return N.current.useRef(e)},e.useState=function(e){return N.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return N.current.useTransition()},e.version=`18.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=()=>null,p=new Proxy(f,{get:()=>f}),m=Object.prototype;function h(e){return typeof e==`object`&&!!e}function g(e){return Array.isArray(e)?e:typeof e==`number`?[e]:e.replace(/\[(\d+)\]/g,`.$1`).split(`.`).filter(Boolean)}function _(e){return(e??[]).filter(Boolean)}function v(e,t=0,n={}){let r,i,a,o,s,c=n.leading===!0,l=n.trailing!==!1,u=()=>{if(!a)return s;let t=a,n=o;return a=void 0,o=void 0,s=e.apply(n,t),s},d=()=>{r&&clearTimeout(r),i&&clearTimeout(i),r=void 0,i=void 0,a=void 0,o=void 0},f=function(...e){let d=c&&!r;return a=e,o=this,d&&u(),r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,i&&=(clearTimeout(i),void 0),l?u():(a=void 0,o=void 0)},t),n.maxWait!==void 0&&!i&&(i=setTimeout(()=>{r&&clearTimeout(r),r=void 0,i=void 0,l||!c?u():(a=void 0,o=void 0)},n.maxWait)),s};return f.cancel=d,f.flush=()=>(r&&=(clearTimeout(r),void 0),i&&=(clearTimeout(i),void 0),u()),f}function y(e){let t=[];for(let n of e??[])Array.isArray(n)?t.push(...n):t.push(n);return t}function b(e,t,n){let r=e;for(let e of g(t)){if(r==null)return n;r=r[e]}return r===void 0?n:r}function x(e){return e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:h(e)?Object.keys(e).length===0:!0}function S(e,t,n){let r=n?.(e,t);if(r!==void 0)return!!r;if(Object.is(e,t))return!0;if(!h(e)||!h(t))return!1;if(e instanceof Date||t instanceof Date)return e instanceof Date&&t instanceof Date&&e.getTime()===t.getTime();if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,r)=>S(e,t[r],n));let i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&i.every(r=>m.hasOwnProperty.call(t,r)&&S(e[r],t[r],n))}function C(e,t){return S(e,t)}function w(e,t){let n={...e??{}};for(let e of Array.isArray(t)?t:[t])delete n[e];return n}function T(e,t){let n=t??(e=>e);return Array.from({length:Math.max(0,e)},(e,t)=>n(t))}function E(...e){let t=Math.max(0,...e.map(e=>e.length));return Array.from({length:t},(t,n)=>e.map(e=>e[n]))}function D(){return()=>{}}function O(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=O(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function k(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=O(e))&&(r&&(r+=` `),r+=t);return r}function A(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}function j(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 M(e){if(typeof e!=`string`)throw Error(j(7));return e.charAt(0).toUpperCase()+e.slice(1)}var ee=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),N=o(((e,t)=>{t.exports=ee()})),P=l(d()),te=N();function F(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function I(e){if(P.isValidElement(e)||(0,te.isValidElementType)(e)||!F(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=I(e[n])}),t}function L(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return F(e)&&F(t)&&Object.keys(t).forEach(i=>{P.isValidElement(t[i])||(0,te.isValidElementType)(t[i])?r[i]=t[i]:F(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&F(e[i])?r[i]=L(e[i],t[i],n):n.clone?r[i]=F(t[i])?I(t[i]):t[i]:r[i]=t[i]}),r}function ne(e,t){return t?L(e,t,{clone:!1}):e}function re(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 ie(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function R(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 ae(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 z={xs:0,sm:600,md:900,lg:1200,xl:1536},B={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${z[e]}px)`},oe={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:z[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function se(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||B;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||B;return Object.keys(t).reduce((i,a)=>{if(ie(e.keys,a)){let e=R(r.containerQueries?r:oe,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||z).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 ce(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function le(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function ue(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 de(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:ue(e,n)||r,t&&(i=t(i,r,e)),i}function fe(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=ue(o,r)||{};return se(e,a,e=>{let r=de(s,i,e);return e===r&&typeof e==`string`&&(r=de(s,i,`${t}${e==="default"?``:M(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function V(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var pe={m:`margin`,p:`padding`},me={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},he={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},ge=V(e=>{if(e.length>2)if(he[e])e=he[e];else return[e];let[t,n]=e.split(``),r=pe[t],i=me[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),_e=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],H=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ve=[..._e,...H];function ye(e,t,n,r){let i=ue(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 be(e){return ye(e,`spacing`,8,`spacing`)}function xe(e,t){return typeof t==`string`||t==null?t:e(t)}function Se(e,t){return n=>e.reduce((e,r)=>(e[r]=xe(t,n),e),{})}function Ce(e,t,n,r){if(!t.includes(n))return null;let i=Se(ge(n),r),a=e[n];return se(e,a,i)}function we(e,t){let n=be(e.theme);return Object.keys(e).map(r=>Ce(e,t,r,n)).reduce(ne,{})}function Te(e){return we(e,_e)}Te.propTypes={},Te.filterProps=_e;function Ee(e){return we(e,H)}Ee.propTypes={},Ee.filterProps=H;function De(e){return we(e,ve)}De.propTypes={},De.filterProps=ve;function Oe(...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]?ne(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function ke(e){return typeof e==`number`?`${e}px solid`:e}function Ae(e,t){return fe({prop:e,themeKey:`borders`,transform:t})}var je=Ae(`border`,ke),Me=Ae(`borderTop`,ke),Ne=Ae(`borderRight`,ke),Pe=Ae(`borderBottom`,ke),Fe=Ae(`borderLeft`,ke),Ie=Ae(`borderColor`),Le=Ae(`borderTopColor`),Re=Ae(`borderRightColor`),ze=Ae(`borderBottomColor`),Be=Ae(`borderLeftColor`),Ve=Ae(`outline`,ke),He=Ae(`outlineColor`),Ue=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ye(e.theme,`shape.borderRadius`,4,`borderRadius`);return se(e,e.borderRadius,e=>({borderRadius:xe(t,e)}))}return null};Ue.propTypes={},Ue.filterProps=[`borderRadius`],Oe(je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ue,Ve,He);var We=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ye(e.theme,`spacing`,8,`gap`);return se(e,e.gap,e=>({gap:xe(t,e)}))}return null};We.propTypes={},We.filterProps=[`gap`];var Ge=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ye(e.theme,`spacing`,8,`columnGap`);return se(e,e.columnGap,e=>({columnGap:xe(t,e)}))}return null};Ge.propTypes={},Ge.filterProps=[`columnGap`];var Ke=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ye(e.theme,`spacing`,8,`rowGap`);return se(e,e.rowGap,e=>({rowGap:xe(t,e)}))}return null};Ke.propTypes={},Ke.filterProps=[`rowGap`],Oe(We,Ge,Ke,fe({prop:`gridColumn`}),fe({prop:`gridRow`}),fe({prop:`gridAutoFlow`}),fe({prop:`gridAutoColumns`}),fe({prop:`gridAutoRows`}),fe({prop:`gridTemplateColumns`}),fe({prop:`gridTemplateRows`}),fe({prop:`gridTemplateAreas`}),fe({prop:`gridArea`}));function qe(e,t){return t===`grey`?t:e}Oe(fe({prop:`color`,themeKey:`palette`,transform:qe}),fe({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qe}),fe({prop:`backgroundColor`,themeKey:`palette`,transform:qe}));function Je(e){return e<=1&&e!==0?`${e*100}%`:e}var Ye=fe({prop:`width`,transform:Je}),Xe=e=>e.maxWidth!==void 0&&e.maxWidth!==null?se(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||z[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Je(t)}}):null;Xe.filterProps=[`maxWidth`];var Ze=fe({prop:`minWidth`,transform:Je}),Qe=fe({prop:`height`,transform:Je}),$e=fe({prop:`maxHeight`,transform:Je}),et=fe({prop:`minHeight`,transform:Je});fe({prop:`size`,cssProperty:`width`,transform:Je}),fe({prop:`size`,cssProperty:`height`,transform:Je}),Oe(Ye,Xe,Ze,Qe,$e,et,fe({prop:`boxSizing`}));var tt={border:{themeKey:`borders`,transform:ke},borderTop:{themeKey:`borders`,transform:ke},borderRight:{themeKey:`borders`,transform:ke},borderBottom:{themeKey:`borders`,transform:ke},borderLeft:{themeKey:`borders`,transform:ke},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:ke},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ue},color:{themeKey:`palette`,transform:qe},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qe},backgroundColor:{themeKey:`palette`,transform:qe},p:{style:Ee},pt:{style:Ee},pr:{style:Ee},pb:{style:Ee},pl:{style:Ee},px:{style:Ee},py:{style:Ee},padding:{style:Ee},paddingTop:{style:Ee},paddingRight:{style:Ee},paddingBottom:{style:Ee},paddingLeft:{style:Ee},paddingX:{style:Ee},paddingY:{style:Ee},paddingInline:{style:Ee},paddingInlineStart:{style:Ee},paddingInlineEnd:{style:Ee},paddingBlock:{style:Ee},paddingBlockStart:{style:Ee},paddingBlockEnd:{style:Ee},m:{style:Te},mt:{style:Te},mr:{style:Te},mb:{style:Te},ml:{style:Te},mx:{style:Te},my:{style:Te},margin:{style:Te},marginTop:{style:Te},marginRight:{style:Te},marginBottom:{style:Te},marginLeft:{style:Te},marginX:{style:Te},marginY:{style:Te},marginInline:{style:Te},marginInlineStart:{style:Te},marginInlineEnd:{style:Te},marginBlock:{style:Te},marginBlockStart:{style:Te},marginBlockEnd:{style:Te},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:We},rowGap:{style:Ke},columnGap:{style:Ge},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Je},maxWidth:{style:Xe},minWidth:{transform:Je},height:{transform:Je},maxHeight:{transform:Je},minHeight:{transform:Je},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 nt(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function rt(e,t){return typeof e==`function`?e(t):e}function it(){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=ue(n,s)||{};return l?l(i):se(i,t,t=>{let n=de(u,c,t);return t===n&&typeof t==`string`&&(n=de(u,c,`${e}${t==="default"?``:M(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??tt;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=ce(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=rt(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=ne(l,e(n,a,i,o));else{let e=se({theme:i},a,e=>({[n]:e}));nt(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=ne(l,e)}else l=ne(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":re(i,le(c,l))}:re(i,le(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var at=it();at.filterProps=[`sx`];var ot=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??tt;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function st(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=ot(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return F(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}function ct(){return ct=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},ct.apply(null,arguments)}var lt=!1;function ut(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 dt(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 ft=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?!lt: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(dt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=ut(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),pt=`-ms-`,mt=`-moz-`,ht=`-webkit-`,gt=`comm`,_t=`rule`,vt=`decl`,yt=`@import`,bt=`@keyframes`,xt=`@layer`,St=Math.abs,Ct=String.fromCharCode,wt=Object.assign;function Tt(e,t){return At(e,0)^45?(((t<<2^At(e,0))<<2^At(e,1))<<2^At(e,2))<<2^At(e,3):0}function Et(e){return e.trim()}function Dt(e,t){return(e=t.exec(e))?e[0]:e}function Ot(e,t,n){return e.replace(t,n)}function kt(e,t){return e.indexOf(t)}function At(e,t){return e.charCodeAt(t)|0}function jt(e,t,n){return e.slice(t,n)}function Mt(e){return e.length}function Nt(e){return e.length}function Pt(e,t){return t.push(e),e}function Ft(e,t){return e.map(t).join(``)}var It=1,Lt=1,Rt=0,zt=0,Bt=0,Vt=``;function Ht(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:It,column:Lt,length:o,return:``}}function Ut(e,t){return wt(Ht(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Wt(){return Bt}function Gt(){return Bt=zt>0?At(Vt,--zt):0,Lt--,Bt===10&&(Lt=1,It--),Bt}function Kt(){return Bt=zt<Rt?At(Vt,zt++):0,Lt++,Bt===10&&(Lt=1,It++),Bt}function qt(){return At(Vt,zt)}function Jt(){return zt}function Yt(e,t){return jt(Vt,e,t)}function Xt(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 Zt(e){return It=Lt=1,Rt=Mt(Vt=e),zt=0,[]}function Qt(e){return Vt=``,e}function $t(e){return Et(Yt(zt-1,nn(e===91?e+2:e===40?e+1:e)))}function en(e){for(;(Bt=qt())&&Bt<33;)Kt();return Xt(e)>2||Xt(Bt)>3?``:` `}function tn(e,t){for(;--t&&Kt()&&!(Bt<48||Bt>102||Bt>57&&Bt<65||Bt>70&&Bt<97););return Yt(e,Jt()+(t<6&&qt()==32&&Kt()==32))}function nn(e){for(;Kt();)switch(Bt){case e:return zt;case 34:case 39:e!==34&&e!==39&&nn(Bt);break;case 40:e===41&&nn(e);break;case 92:Kt();break}return zt}function rn(e,t){for(;Kt()&&e+Bt!==57&&!(e+Bt===84&&qt()===47););return`/*`+Yt(t,zt-1)+`*`+Ct(e===47?e:Kt())}function an(e){for(;!Xt(qt());)Kt();return Yt(e,zt)}function on(e){return Qt(sn(``,null,null,null,[``],e=Zt(e),0,[0],e))}function sn(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=Kt()){case 40:if(m!=108&&At(C,d-1)==58){kt(C+=Ot($t(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=$t(v);break;case 9:case 10:case 13:case 32:C+=en(m);break;case 92:C+=tn(Jt()-1,7);continue;case 47:switch(qt()){case 42:case 47:Pt(ln(rn(Kt(),Jt()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Mt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Ot(C,/\f/g,``)),p>0&&Mt(C)-d&&Pt(p>32?un(C+`;`,r,n,d-1):un(Ot(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Pt(S=cn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)sn(C,t,S,S,b,a,d,s,x);else switch(f===99&&At(C,3)===110?100:f){case 100:case 108:case 109:case 115:sn(e,S,S,r&&Pt(cn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:sn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Mt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Gt()==125)continue}switch(C+=Ct(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Mt(C)-1)*_,_=1;break;case 64:qt()===45&&(C+=$t(Kt())),f=qt(),u=d=Mt(y=C+=an(Jt())),v++;break;case 45:m===45&&Mt(C)==2&&(h=0)}}return a}function cn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Nt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=jt(e,d+1,d=St(h=o[m])),y=e;_<p;++_)(y=Et(h>0?f[_]+` `+v:Ot(v,/&\f/g,f[_])))&&(c[g++]=y);return Ht(e,t,n,i===0?_t:s,c,l,u)}function ln(e,t,n){return Ht(e,t,n,gt,Ct(Wt()),jt(e,2,-2),0)}function un(e,t,n,r){return Ht(e,t,n,vt,jt(e,0,r),jt(e,r+1,-1),r)}function dn(e,t){for(var n=``,r=Nt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function fn(e,t,n,r){switch(e.type){case xt:if(e.children.length)break;case yt:case vt:return e.return=e.return||e.value;case gt:return``;case bt:return e.return=e.value+`{`+dn(e.children,r)+`}`;case _t:e.value=e.props.join(`,`)}return Mt(n=dn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function pn(e){var t=Nt(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 mn(e){return function(t){t.root||(t=t.return)&&e(t)}}function hn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var gn=function(e,t,n){for(var r=0,i=0;r=i,i=qt(),r===38&&i===12&&(t[n]=1),!Xt(i);)Kt();return Yt(e,zt)},_n=function(e,t){var n=-1,r=44;do switch(Xt(r)){case 0:r===38&&qt()===12&&(t[n]=1),e[n]+=gn(zt-1,t,n);break;case 2:e[n]+=$t(r);break;case 4:if(r===44){e[++n]=qt()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Ct(r)}while(r=Kt());return e},vn=function(e,t){return Qt(_n(Zt(e),t))},yn=new WeakMap,bn=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&&!yn.get(n))&&!r){yn.set(e,!0);for(var i=[],a=vn(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]}}},xn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Sn(e,t){switch(Tt(e,t)){case 5103:return ht+`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 ht+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ht+e+mt+e+pt+e+e;case 6828:case 4268:return ht+e+pt+e+e;case 6165:return ht+e+pt+`flex-`+e+e;case 5187:return ht+e+Ot(e,/(\w+).+(:[^]+)/,ht+`box-$1$2`+pt+`flex-$1$2`)+e;case 5443:return ht+e+pt+`flex-item-`+Ot(e,/flex-|-self/,``)+e;case 4675:return ht+e+pt+`flex-line-pack`+Ot(e,/align-content|flex-|-self/,``)+e;case 5548:return ht+e+pt+Ot(e,`shrink`,`negative`)+e;case 5292:return ht+e+pt+Ot(e,`basis`,`preferred-size`)+e;case 6060:return ht+`box-`+Ot(e,`-grow`,``)+ht+e+pt+Ot(e,`grow`,`positive`)+e;case 4554:return ht+Ot(e,/([^-])(transform)/g,`$1`+ht+`$2`)+e;case 6187:return Ot(Ot(Ot(e,/(zoom-|grab)/,ht+`$1`),/(image-set)/,ht+`$1`),e,``)+e;case 5495:case 3959:return Ot(e,/(image-set\([^]*)/,ht+"$1$`$1");case 4968:return Ot(Ot(e,/(.+:)(flex-)?(.*)/,ht+`box-pack:$3`+pt+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+ht+e+e;case 4095:case 3583:case 4068:case 2532:return Ot(e,/(.+)-inline(.+)/,ht+`$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(Mt(e)-1-t>6)switch(At(e,t+1)){case 109:if(At(e,t+4)!==45)break;case 102:return Ot(e,/(.+:)(.+)-([^]+)/,`$1`+ht+`$2-$3$1`+mt+(At(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~kt(e,`stretch`)?Sn(Ot(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(At(e,t+1)!==115)break;case 6444:switch(At(e,Mt(e)-3-(~kt(e,`!important`)&&10))){case 107:return Ot(e,`:`,`:`+ht)+e;case 101:return Ot(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+ht+(At(e,14)===45?`inline-`:``)+`box$3$1`+ht+`$2$3$1`+pt+`$2box$3`)+e}break;case 5936:switch(At(e,t+11)){case 114:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return ht+e+pt+e+e}return e}var Cn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case vt:e.return=Sn(e.value,e.length);break;case bt:return dn([Ut(e,{value:Ot(e.value,`@`,`@`+ht)})],r);case _t:if(e.length)return Ft(e.props,function(t){switch(Dt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return dn([Ut(e,{props:[Ot(t,/:(read-\w+)/,`:`+mt+`$1`)]})],r);case`::placeholder`:return dn([Ut(e,{props:[Ot(t,/:(plac\w+)/,`:`+ht+`input-$1`)]}),Ut(e,{props:[Ot(t,/:(plac\w+)/,`:`+mt+`$1`)]}),Ut(e,{props:[Ot(t,/:(plac\w+)/,pt+`input-$1`)]})],r)}return``})}}],wn=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||Cn,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=[bn,xn],l,u=[fn,mn(function(e){l.insert(e)})],d=pn(c.concat(r,u)),f=function(e){return dn(on(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 ft({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},Tn=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),En=o(((e,t)=>{t.exports=Tn()})),Dn=o(((e,t)=>{var n=En(),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})),On=!0;function kn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var An=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||On===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},jn=function(e,t,n){An(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 Mn(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 Nn={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},Pn=!1,Fn=/[A-Z]|^ms/g,In=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ln=function(e){return e.charCodeAt(1)===45},Rn=function(e){return e!=null&&typeof e!=`boolean`},zn=hn(function(e){return Ln(e)?e:e.replace(Fn,`-$&`).toLowerCase()}),Bn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(In,function(e,t,n){return Gn={name:t,styles:n,next:Gn},t})}return Nn[e]!==1&&!Ln(e)&&typeof t==`number`&&t!==0?t+`px`:t},Vn=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function Hn(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 Gn={name:i.name,styles:i.styles,next:Gn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Gn={name:o.name,styles:o.styles,next:Gn},o=o.next;return a.styles+`;`}return Un(e,t,n);case`function`:if(e!==void 0){var s=Gn,c=n(e);return Gn=s,Hn(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Un(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Hn(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]+`}`:Rn(s)&&(r+=zn(a)+`:`+Bn(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Pn)throw Error(Vn);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Rn(o[c])&&(r+=zn(a)+`:`+Bn(a,o[c])+`;`);else{var l=Hn(e,t,o);switch(a){case`animation`:case`animationName`:r+=zn(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Wn=/label:\s*([^\s;{]+)\s*(;|$)/g,Gn;function Kn(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=``;Gn=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Hn(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Hn(n,t,e[o]),r&&(i+=a[o]);Wn.lastIndex=0;for(var s=``,c;(c=Wn.exec(i))!==null;)s+=`-`+c[1];return{name:Mn(i)+s,styles:i,next:Gn}}var qn=function(e){return e()},Jn=P.useInsertionEffect?P.useInsertionEffect:!1,Yn=Jn||qn,Xn=Jn||P.useLayoutEffect,Zn=P.createContext(typeof HTMLElement<`u`?wn({key:`css`}):null),Qn=Zn.Provider,$n=function(e){return(0,P.forwardRef)(function(t,n){return e(t,(0,P.useContext)(Zn),n)})},er=P.createContext({}),tr={}.hasOwnProperty,nr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,rr=function(e,t){var n={};for(var r in t)tr.call(t,r)&&(n[r]=t[r]);return n[nr]=e,n},ir=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return An(t,n,r),Yn(function(){return jn(t,n,r)}),null},ar=$n(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[nr],a=[r],o=``;typeof e.className==`string`?o=kn(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Kn(a,void 0,P.useContext(er));o+=t.key+`-`+s.name;var c={};for(var l in e)tr.call(e,l)&&l!==`css`&&l!==nr&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),P.createElement(P.Fragment,null,P.createElement(ir,{cache:t,serialized:s,isStringTag:typeof i==`string`}),P.createElement(i,c))});Dn();var or=function(e,t){var n=arguments;if(t==null||!tr.call(t,`css`))return P.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=ar,i[1]=rr(e,t);for(var a=2;a<r;a++)i[a]=n[a];return P.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(or||={});var sr=$n(function(e,t){var n=e.styles,r=Kn([n],void 0,P.useContext(er)),i=P.useRef();return Xn(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]),Xn(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&jn(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 cr(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kn(t)}function lr(){var e=cr.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 ur=/^((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|playsInline|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)-.*))$/,dr=hn(function(e){return ur.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),fr=!1,pr=dr,mr=function(e){return e!==`theme`},hr=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?pr:mr},gr=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},_r=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return An(t,n,r),Yn(function(){return jn(t,n,r)}),null},vr=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 s=gr(t,n,r),c=s||hr(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=$n(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=P.useContext(er)}typeof e.className==`string`?a=kn(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Kn(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?hr(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),P.createElement(P.Fragment,null,P.createElement(_r,{cache:t,serialized:m,isStringTag:typeof r==`string`}),P.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return o===void 0&&fr?`NO_COMPONENT_SELECTOR`:`.`+o}}),h.withComponent=function(t,r){return e(t,ct({},n,r,{shouldForwardProp:gr(h,r,!0)})).apply(void 0,d)},h}},yr=`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(`.`),br=vr.bind(null);yr.forEach(function(e){br[e]=br(e)});var xr=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),U=o(((e,t)=>{t.exports=xr()}))(),Sr=new Map,Cr={insert:void 0},wr=(e,t)=>{let n=wn(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Tr;if(typeof document==`object`&&(Tr=document.querySelector(`[name="emotion-insertion-point"]`),!Tr)){Tr=document.createElement(`meta`),Tr.setAttribute(`name`,`emotion-insertion-point`),Tr.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Tr)}function Er(e,t){if(e||t){class n extends ft{insert(e,t){return Cr.insert?Cr.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Tr),super.insert(e,t))}}let r=wr({key:`css`,insertionPoint:e?Tr:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Dr(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=P.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Sr.has(e))return Sr.get(e);let r=Er(t,n);return Sr.set(e,r),r},[t,n]);return i?(0,U.jsx)(Qn,{value:i,children:r}):r}function Or(e){return e==null||Object.keys(e).length===0}function kr(e){let{styles:t,defaultTheme:n={}}=e;return(0,U.jsx)(sr,{styles:typeof t==`function`?e=>t(Or(e)?n:e):t})}function Ar(e,t){return br(e,t)}function jr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Mr=[];function Nr(e){return Mr[0]=e,Kn(Mr)}var Pr=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 Fr(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Pr(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 Ir={borderRadius:4};function Lr(e=8,t=be({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Rr(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 zr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Fr(n),c=Lr(i),l=L({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ir,...a}},o);return l=ae(l),l.applyStyles=Rr,l=t.reduce((e,t)=>L(e,t),l),l.unstable_sxConfig={...tt,...o?.unstable_sxConfig},l.unstable_sx=function(e){return at({sx:e,theme:this})},l}function Br(e){return Object.keys(e).length===0}function Vr(e=null){let t=P.useContext(er);return!t||Br(t)?e:t}var Hr=zr();function Ur(e=Hr){return Vr(e)}function Wr(e){let t=Nr(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Gr({styles:e,themeId:t,defaultTheme:n={}}){let r=Ur(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Wr(typeof e==`function`?e(i):e)):Wr(a)),(0,U.jsx)(kr,{styles:a})}var Kr=e=>e,qr=(()=>{let e=Kr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kr}}})(),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 Yr(e,t,n=`Mui`){let r=Jr[t];return r?`${n}-${r}`:`${qr.generate(e)}-${t}`}function Xr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Yr(e,t,n)}),r}function Zr(e){let{variants:t,...n}=e,r={variants:t,style:Nr(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Nr(e.style))}),r}var Qr=zr();function $r(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ei(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ti(e){return e?(t,n)=>n[e]:null}function ni(e,t,n){e.theme=oi(e.theme)?n:e.theme[t]||e.theme}function ri(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ri(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?ei(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?ei(Nr(i),n):i}return ii(e,r.variants,[t],n)}return r?.isProcessed?n?ei(Nr(r.style),n):r.style:n?ei(Nr(r),n):r}function ii(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},n.push(r?ei(Nr(o.style(i)),r):o.style(i))):n.push(r?ei(Nr(o.style),r):o.style)}return n}function ai(e={}){let{themeId:t,defaultTheme:n=Qr,rootShouldForwardProp:r=$r,slotShouldForwardProp:i=$r}=e;function a(e){ni(e,t,n)}return(e,t={})=>{jr(e,e=>e.filter(e=>e!==at));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ti(ci(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=$r;o===`Root`||o===`root`?m=r:o?m=i:si(e)&&(m=void 0);let h=Ar(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ri(t,e,t.theme.modularCssLayers?d:void 0)};if(F(e)){let t=Zr(e);return function(e){return t.variants?ri(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?ei(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]=ri(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?ii(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(at),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=h(...r,...i,...o);return e.muiName&&(s.muiName=e.muiName),s};return h.withConfig&&(_.withConfig=h.withConfig),_}}function oi(e){for(let t in e)return!1;return!0}function si(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ci(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function li(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]=li(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=k(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}var ui=typeof window<`u`?P.useLayoutEffect:P.useEffect;function di(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function fi(e,t=0,n=1){return di(e,t,n)}function pi(e){e=e.slice(1);let 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 mi(e){if(e.type)return e;if(e.charAt(0)===`#`)return mi(pi(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(j(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(j(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var hi=e=>{let t=mi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},gi=(e,t)=>{try{return hi(e)}catch{return e}};function _i(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 vi(e){e=mi(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])),_i({type:s,values:c})}function yi(e){e=mi(e);let t=e.type===`hsl`||e.type===`hsla`?mi(vi(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 bi(e,t){let n=yi(e),r=yi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xi(e,t){return e=mi(e),t=fi(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,_i(e)}function Si(e,t,n){try{return xi(e,t)}catch{return e}}function Ci(e,t){if(e=mi(e),t=fi(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 _i(e)}function wi(e,t,n){try{return Ci(e,t)}catch{return e}}function Ti(e,t){if(e=mi(e),t=fi(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 _i(e)}function Ei(e,t,n){try{return Ti(e,t)}catch{return e}}function Di(e,t=.15){return yi(e)>.5?Ci(e,t):Ti(e,t)}function Oi(e,t,n){try{return Di(e,t)}catch{return e}}var ki=P.createContext(null);function Ai(){return P.useContext(ki)}var ji=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Mi(e,t){return typeof t==`function`?t(e):{...e,...t}}function Ni(e){let{children:t,theme:n}=e,r=Ai(),i=P.useMemo(()=>{let e=r===null?{...n}:Mi(r,n);return e!=null&&(e[ji]=r!==null),e},[n,r]);return(0,U.jsx)(ki.Provider,{value:i,children:t})}var Pi=P.createContext();function Fi({value:e,...t}){return(0,U.jsx)(Pi.Provider,{value:e??!0,...t})}var Ii=()=>P.useContext(Pi)??!1,Li=P.createContext(void 0);function Ri({value:e,children:t}){return(0,U.jsx)(Li.Provider,{value:e,children:t})}function zi(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?li(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?li(i,r,t.components.mergeClassNameAndStyle):r}function Bi({props:e,name:t}){return zi({props:e,name:t,theme:{components:P.useContext(Li)}})}var Vi=0;function Hi(e){let[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t??(Vi+=1,n(`mui-${Vi}`))},[t]),r}var Ui={...P}.useId;function Wi(e){if(Ui!==void 0){let t=Ui();return e??t}return Hi(e)}function Gi(e){let t=Vr(),n=Wi()||``,{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};`,ui(()=>{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)(Gr,{styles:i}):null}var Ki={};function qi(e,t,n,r=!1){return P.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 Ji(e){let{children:t,theme:n,themeId:r}=e,i=Vr(Ki),a=Ai()||Ki,o=qi(r,i,n),s=qi(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Gi(o);return(0,U.jsx)(Ni,{theme:s,children:(0,U.jsx)(er.Provider,{value:o,children:(0,U.jsx)(Fi,{value:c,children:(0,U.jsxs)(Ri,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Yi={theme:void 0};function Xi(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Yi.theme=r.theme,i=Zr(e(Yi)),t=i,n=r.theme),i}}var Zi=`mode`,Qi=`color-scheme`,$i=`data-color-scheme`;function ea(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Zi,colorSchemeStorageKey:a=Qi,attribute:o=$i,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));
|
|
1
|
+
this.ExtendedTextEntryElement=(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.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.provider`),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.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): 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`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function j(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`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+A(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+A(s,l);c+=j(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+A(s,l++),c+=j(s,r,i,u,o);else if(s===`object`)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 M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ee(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 N={current:null},P={transition:null},te={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:C};function F(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,e.act=F,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ee}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},e.unstable_act=F,e.useCallback=function(e,t){return N.current.useCallback(e,t)},e.useContext=function(e){return N.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return N.current.useDeferredValue(e)},e.useEffect=function(e,t){return N.current.useEffect(e,t)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return N.current.useMemo(e,t)},e.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},e.useRef=function(e){return N.current.useRef(e)},e.useState=function(e){return N.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return N.current.useTransition()},e.version=`18.3.1`})),d=o(((e,t)=>{t.exports=u()})),f=()=>null,p=new Proxy(f,{get:()=>f}),m=Object.prototype;function h(e){return typeof e==`object`&&!!e}function g(e){return Array.isArray(e)?e:typeof e==`number`?[e]:e.replace(/\[(\d+)\]/g,`.$1`).split(`.`).filter(Boolean)}function _(e){return(e??[]).filter(Boolean)}function v(e,t=0,n={}){let r,i,a,o,s,c=n.leading===!0,l=n.trailing!==!1,u=()=>{if(!a)return s;let t=a,n=o;return a=void 0,o=void 0,s=e.apply(n,t),s},d=()=>{r&&clearTimeout(r),i&&clearTimeout(i),r=void 0,i=void 0,a=void 0,o=void 0},f=function(...e){let d=c&&!r;return a=e,o=this,d&&u(),r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,i&&=(clearTimeout(i),void 0),l?u():(a=void 0,o=void 0)},t),n.maxWait!==void 0&&!i&&(i=setTimeout(()=>{r&&clearTimeout(r),r=void 0,i=void 0,l||!c?u():(a=void 0,o=void 0)},n.maxWait)),s};return f.cancel=d,f.flush=()=>(r&&=(clearTimeout(r),void 0),i&&=(clearTimeout(i),void 0),u()),f}function y(e){let t=[];for(let n of e??[])Array.isArray(n)?t.push(...n):t.push(n);return t}function b(e,t,n){if(!Array.isArray(t)&&e!=null&&Object.prototype.hasOwnProperty.call(Object(e),t)){let r=e[t];return r===void 0?n:r}let r=e;for(let e of g(t)){if(r==null)return n;r=r[e]}return r===void 0?n:r}function x(e){return e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:h(e)?Object.keys(e).length===0:!0}function S(e,t,n){let r=n?.(e,t);if(r!==void 0)return!!r;if(Object.is(e,t))return!0;if(!h(e)||!h(t))return!1;if(e instanceof Date||t instanceof Date)return e instanceof Date&&t instanceof Date&&e.getTime()===t.getTime();if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,r)=>S(e,t[r],n));let i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&i.every(r=>m.hasOwnProperty.call(t,r)&&S(e[r],t[r],n))}function C(e,t){return S(e,t)}function w(e,t){let n={...e??{}};for(let e of Array.isArray(t)?t:[t])delete n[e];return n}function T(e,t){let n=t??(e=>e);return Array.from({length:Math.max(0,e)},(e,t)=>n(t))}function E(...e){let t=Math.max(0,...e.map(e=>e.length));return Array.from({length:t},(t,n)=>e.map(e=>e[n]))}function D(){return()=>{}}function O(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=O(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function k(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=O(e))&&(r&&(r+=` `),r+=t);return r}function A(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}function j(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 M(e){if(typeof e!=`string`)throw Error(j(7));return e.charAt(0).toUpperCase()+e.slice(1)}var ee=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),N=o(((e,t)=>{t.exports=ee()})),P=l(d()),te=N();function F(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function I(e){if(P.isValidElement(e)||(0,te.isValidElementType)(e)||!F(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=I(e[n])}),t}function L(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return F(e)&&F(t)&&Object.keys(t).forEach(i=>{P.isValidElement(t[i])||(0,te.isValidElementType)(t[i])?r[i]=t[i]:F(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&F(e[i])?r[i]=L(e[i],t[i],n):n.clone?r[i]=F(t[i])?I(t[i]):t[i]:r[i]=t[i]}),r}function ne(e,t){return t?L(e,t,{clone:!1}):e}function re(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 ie(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function R(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 ae(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 z={xs:0,sm:600,md:900,lg:1200,xl:1536},B={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${z[e]}px)`},oe={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:z[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function se(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||B;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||B;return Object.keys(t).reduce((i,a)=>{if(ie(e.keys,a)){let e=R(r.containerQueries?r:oe,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||z).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 ce(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function le(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function ue(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 de(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:ue(e,n)||r,t&&(i=t(i,r,e)),i}function fe(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=ue(o,r)||{};return se(e,a,e=>{let r=de(s,i,e);return e===r&&typeof e==`string`&&(r=de(s,i,`${t}${e==="default"?``:M(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function V(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var pe={m:`margin`,p:`padding`},me={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},he={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},ge=V(e=>{if(e.length>2)if(he[e])e=he[e];else return[e];let[t,n]=e.split(``),r=pe[t],i=me[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),_e=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],H=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ve=[..._e,...H];function ye(e,t,n,r){let i=ue(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 be(e){return ye(e,`spacing`,8,`spacing`)}function xe(e,t){return typeof t==`string`||t==null?t:e(t)}function Se(e,t){return n=>e.reduce((e,r)=>(e[r]=xe(t,n),e),{})}function Ce(e,t,n,r){if(!t.includes(n))return null;let i=Se(ge(n),r),a=e[n];return se(e,a,i)}function we(e,t){let n=be(e.theme);return Object.keys(e).map(r=>Ce(e,t,r,n)).reduce(ne,{})}function Te(e){return we(e,_e)}Te.propTypes={},Te.filterProps=_e;function Ee(e){return we(e,H)}Ee.propTypes={},Ee.filterProps=H;function De(e){return we(e,ve)}De.propTypes={},De.filterProps=ve;function Oe(...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]?ne(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function ke(e){return typeof e==`number`?`${e}px solid`:e}function Ae(e,t){return fe({prop:e,themeKey:`borders`,transform:t})}var je=Ae(`border`,ke),Me=Ae(`borderTop`,ke),Ne=Ae(`borderRight`,ke),Pe=Ae(`borderBottom`,ke),Fe=Ae(`borderLeft`,ke),Ie=Ae(`borderColor`),Le=Ae(`borderTopColor`),Re=Ae(`borderRightColor`),ze=Ae(`borderBottomColor`),Be=Ae(`borderLeftColor`),Ve=Ae(`outline`,ke),He=Ae(`outlineColor`),Ue=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ye(e.theme,`shape.borderRadius`,4,`borderRadius`);return se(e,e.borderRadius,e=>({borderRadius:xe(t,e)}))}return null};Ue.propTypes={},Ue.filterProps=[`borderRadius`],Oe(je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ue,Ve,He);var We=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ye(e.theme,`spacing`,8,`gap`);return se(e,e.gap,e=>({gap:xe(t,e)}))}return null};We.propTypes={},We.filterProps=[`gap`];var Ge=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ye(e.theme,`spacing`,8,`columnGap`);return se(e,e.columnGap,e=>({columnGap:xe(t,e)}))}return null};Ge.propTypes={},Ge.filterProps=[`columnGap`];var Ke=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ye(e.theme,`spacing`,8,`rowGap`);return se(e,e.rowGap,e=>({rowGap:xe(t,e)}))}return null};Ke.propTypes={},Ke.filterProps=[`rowGap`],Oe(We,Ge,Ke,fe({prop:`gridColumn`}),fe({prop:`gridRow`}),fe({prop:`gridAutoFlow`}),fe({prop:`gridAutoColumns`}),fe({prop:`gridAutoRows`}),fe({prop:`gridTemplateColumns`}),fe({prop:`gridTemplateRows`}),fe({prop:`gridTemplateAreas`}),fe({prop:`gridArea`}));function qe(e,t){return t===`grey`?t:e}Oe(fe({prop:`color`,themeKey:`palette`,transform:qe}),fe({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qe}),fe({prop:`backgroundColor`,themeKey:`palette`,transform:qe}));function Je(e){return e<=1&&e!==0?`${e*100}%`:e}var Ye=fe({prop:`width`,transform:Je}),Xe=e=>e.maxWidth!==void 0&&e.maxWidth!==null?se(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||z[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Je(t)}}):null;Xe.filterProps=[`maxWidth`];var Ze=fe({prop:`minWidth`,transform:Je}),Qe=fe({prop:`height`,transform:Je}),$e=fe({prop:`maxHeight`,transform:Je}),et=fe({prop:`minHeight`,transform:Je});fe({prop:`size`,cssProperty:`width`,transform:Je}),fe({prop:`size`,cssProperty:`height`,transform:Je}),Oe(Ye,Xe,Ze,Qe,$e,et,fe({prop:`boxSizing`}));var tt={border:{themeKey:`borders`,transform:ke},borderTop:{themeKey:`borders`,transform:ke},borderRight:{themeKey:`borders`,transform:ke},borderBottom:{themeKey:`borders`,transform:ke},borderLeft:{themeKey:`borders`,transform:ke},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:ke},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ue},color:{themeKey:`palette`,transform:qe},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qe},backgroundColor:{themeKey:`palette`,transform:qe},p:{style:Ee},pt:{style:Ee},pr:{style:Ee},pb:{style:Ee},pl:{style:Ee},px:{style:Ee},py:{style:Ee},padding:{style:Ee},paddingTop:{style:Ee},paddingRight:{style:Ee},paddingBottom:{style:Ee},paddingLeft:{style:Ee},paddingX:{style:Ee},paddingY:{style:Ee},paddingInline:{style:Ee},paddingInlineStart:{style:Ee},paddingInlineEnd:{style:Ee},paddingBlock:{style:Ee},paddingBlockStart:{style:Ee},paddingBlockEnd:{style:Ee},m:{style:Te},mt:{style:Te},mr:{style:Te},mb:{style:Te},ml:{style:Te},mx:{style:Te},my:{style:Te},margin:{style:Te},marginTop:{style:Te},marginRight:{style:Te},marginBottom:{style:Te},marginLeft:{style:Te},marginX:{style:Te},marginY:{style:Te},marginInline:{style:Te},marginInlineStart:{style:Te},marginInlineEnd:{style:Te},marginBlock:{style:Te},marginBlockStart:{style:Te},marginBlockEnd:{style:Te},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:We},rowGap:{style:Ke},columnGap:{style:Ge},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Je},maxWidth:{style:Xe},minWidth:{transform:Je},height:{transform:Je},maxHeight:{transform:Je},minHeight:{transform:Je},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 nt(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function rt(e,t){return typeof e==`function`?e(t):e}function it(){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=ue(n,s)||{};return l?l(i):se(i,t,t=>{let n=de(u,c,t);return t===n&&typeof t==`string`&&(n=de(u,c,`${e}${t==="default"?``:M(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??tt;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=ce(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=rt(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=ne(l,e(n,a,i,o));else{let e=se({theme:i},a,e=>({[n]:e}));nt(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=ne(l,e)}else l=ne(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":re(i,le(c,l))}:re(i,le(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var at=it();at.filterProps=[`sx`];var ot=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??tt;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function st(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=ot(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return F(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}function ct(){return ct=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},ct.apply(null,arguments)}var lt=!1;function ut(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 dt(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 ft=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?!lt: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(dt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=ut(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),pt=`-ms-`,mt=`-moz-`,ht=`-webkit-`,gt=`comm`,_t=`rule`,vt=`decl`,yt=`@import`,bt=`@keyframes`,xt=`@layer`,St=Math.abs,Ct=String.fromCharCode,wt=Object.assign;function Tt(e,t){return At(e,0)^45?(((t<<2^At(e,0))<<2^At(e,1))<<2^At(e,2))<<2^At(e,3):0}function Et(e){return e.trim()}function Dt(e,t){return(e=t.exec(e))?e[0]:e}function Ot(e,t,n){return e.replace(t,n)}function kt(e,t){return e.indexOf(t)}function At(e,t){return e.charCodeAt(t)|0}function jt(e,t,n){return e.slice(t,n)}function Mt(e){return e.length}function Nt(e){return e.length}function Pt(e,t){return t.push(e),e}function Ft(e,t){return e.map(t).join(``)}var It=1,Lt=1,Rt=0,zt=0,Bt=0,Vt=``;function Ht(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:It,column:Lt,length:o,return:``}}function Ut(e,t){return wt(Ht(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Wt(){return Bt}function Gt(){return Bt=zt>0?At(Vt,--zt):0,Lt--,Bt===10&&(Lt=1,It--),Bt}function Kt(){return Bt=zt<Rt?At(Vt,zt++):0,Lt++,Bt===10&&(Lt=1,It++),Bt}function qt(){return At(Vt,zt)}function Jt(){return zt}function Yt(e,t){return jt(Vt,e,t)}function Xt(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 Zt(e){return It=Lt=1,Rt=Mt(Vt=e),zt=0,[]}function Qt(e){return Vt=``,e}function $t(e){return Et(Yt(zt-1,nn(e===91?e+2:e===40?e+1:e)))}function en(e){for(;(Bt=qt())&&Bt<33;)Kt();return Xt(e)>2||Xt(Bt)>3?``:` `}function tn(e,t){for(;--t&&Kt()&&!(Bt<48||Bt>102||Bt>57&&Bt<65||Bt>70&&Bt<97););return Yt(e,Jt()+(t<6&&qt()==32&&Kt()==32))}function nn(e){for(;Kt();)switch(Bt){case e:return zt;case 34:case 39:e!==34&&e!==39&&nn(Bt);break;case 40:e===41&&nn(e);break;case 92:Kt();break}return zt}function rn(e,t){for(;Kt()&&e+Bt!==57&&!(e+Bt===84&&qt()===47););return`/*`+Yt(t,zt-1)+`*`+Ct(e===47?e:Kt())}function an(e){for(;!Xt(qt());)Kt();return Yt(e,zt)}function on(e){return Qt(sn(``,null,null,null,[``],e=Zt(e),0,[0],e))}function sn(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=Kt()){case 40:if(m!=108&&At(C,d-1)==58){kt(C+=Ot($t(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=$t(v);break;case 9:case 10:case 13:case 32:C+=en(m);break;case 92:C+=tn(Jt()-1,7);continue;case 47:switch(qt()){case 42:case 47:Pt(ln(rn(Kt(),Jt()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Mt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Ot(C,/\f/g,``)),p>0&&Mt(C)-d&&Pt(p>32?un(C+`;`,r,n,d-1):un(Ot(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Pt(S=cn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)sn(C,t,S,S,b,a,d,s,x);else switch(f===99&&At(C,3)===110?100:f){case 100:case 108:case 109:case 115:sn(e,S,S,r&&Pt(cn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:sn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Mt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Gt()==125)continue}switch(C+=Ct(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Mt(C)-1)*_,_=1;break;case 64:qt()===45&&(C+=$t(Kt())),f=qt(),u=d=Mt(y=C+=an(Jt())),v++;break;case 45:m===45&&Mt(C)==2&&(h=0)}}return a}function cn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Nt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=jt(e,d+1,d=St(h=o[m])),y=e;_<p;++_)(y=Et(h>0?f[_]+` `+v:Ot(v,/&\f/g,f[_])))&&(c[g++]=y);return Ht(e,t,n,i===0?_t:s,c,l,u)}function ln(e,t,n){return Ht(e,t,n,gt,Ct(Wt()),jt(e,2,-2),0)}function un(e,t,n,r){return Ht(e,t,n,vt,jt(e,0,r),jt(e,r+1,-1),r)}function dn(e,t){for(var n=``,r=Nt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function fn(e,t,n,r){switch(e.type){case xt:if(e.children.length)break;case yt:case vt:return e.return=e.return||e.value;case gt:return``;case bt:return e.return=e.value+`{`+dn(e.children,r)+`}`;case _t:e.value=e.props.join(`,`)}return Mt(n=dn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function pn(e){var t=Nt(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 mn(e){return function(t){t.root||(t=t.return)&&e(t)}}function hn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var gn=function(e,t,n){for(var r=0,i=0;r=i,i=qt(),r===38&&i===12&&(t[n]=1),!Xt(i);)Kt();return Yt(e,zt)},_n=function(e,t){var n=-1,r=44;do switch(Xt(r)){case 0:r===38&&qt()===12&&(t[n]=1),e[n]+=gn(zt-1,t,n);break;case 2:e[n]+=$t(r);break;case 4:if(r===44){e[++n]=qt()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Ct(r)}while(r=Kt());return e},vn=function(e,t){return Qt(_n(Zt(e),t))},yn=new WeakMap,bn=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&&!yn.get(n))&&!r){yn.set(e,!0);for(var i=[],a=vn(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]}}},xn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Sn(e,t){switch(Tt(e,t)){case 5103:return ht+`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 ht+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ht+e+mt+e+pt+e+e;case 6828:case 4268:return ht+e+pt+e+e;case 6165:return ht+e+pt+`flex-`+e+e;case 5187:return ht+e+Ot(e,/(\w+).+(:[^]+)/,ht+`box-$1$2`+pt+`flex-$1$2`)+e;case 5443:return ht+e+pt+`flex-item-`+Ot(e,/flex-|-self/,``)+e;case 4675:return ht+e+pt+`flex-line-pack`+Ot(e,/align-content|flex-|-self/,``)+e;case 5548:return ht+e+pt+Ot(e,`shrink`,`negative`)+e;case 5292:return ht+e+pt+Ot(e,`basis`,`preferred-size`)+e;case 6060:return ht+`box-`+Ot(e,`-grow`,``)+ht+e+pt+Ot(e,`grow`,`positive`)+e;case 4554:return ht+Ot(e,/([^-])(transform)/g,`$1`+ht+`$2`)+e;case 6187:return Ot(Ot(Ot(e,/(zoom-|grab)/,ht+`$1`),/(image-set)/,ht+`$1`),e,``)+e;case 5495:case 3959:return Ot(e,/(image-set\([^]*)/,ht+"$1$`$1");case 4968:return Ot(Ot(e,/(.+:)(flex-)?(.*)/,ht+`box-pack:$3`+pt+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+ht+e+e;case 4095:case 3583:case 4068:case 2532:return Ot(e,/(.+)-inline(.+)/,ht+`$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(Mt(e)-1-t>6)switch(At(e,t+1)){case 109:if(At(e,t+4)!==45)break;case 102:return Ot(e,/(.+:)(.+)-([^]+)/,`$1`+ht+`$2-$3$1`+mt+(At(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~kt(e,`stretch`)?Sn(Ot(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(At(e,t+1)!==115)break;case 6444:switch(At(e,Mt(e)-3-(~kt(e,`!important`)&&10))){case 107:return Ot(e,`:`,`:`+ht)+e;case 101:return Ot(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+ht+(At(e,14)===45?`inline-`:``)+`box$3$1`+ht+`$2$3$1`+pt+`$2box$3`)+e}break;case 5936:switch(At(e,t+11)){case 114:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return ht+e+pt+Ot(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return ht+e+pt+e+e}return e}var Cn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case vt:e.return=Sn(e.value,e.length);break;case bt:return dn([Ut(e,{value:Ot(e.value,`@`,`@`+ht)})],r);case _t:if(e.length)return Ft(e.props,function(t){switch(Dt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return dn([Ut(e,{props:[Ot(t,/:(read-\w+)/,`:`+mt+`$1`)]})],r);case`::placeholder`:return dn([Ut(e,{props:[Ot(t,/:(plac\w+)/,`:`+ht+`input-$1`)]}),Ut(e,{props:[Ot(t,/:(plac\w+)/,`:`+mt+`$1`)]}),Ut(e,{props:[Ot(t,/:(plac\w+)/,pt+`input-$1`)]})],r)}return``})}}],wn=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||Cn,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=[bn,xn],l,u=[fn,mn(function(e){l.insert(e)})],d=pn(c.concat(r,u)),f=function(e){return dn(on(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 ft({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},Tn=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),En=o(((e,t)=>{t.exports=Tn()})),Dn=o(((e,t)=>{var n=En(),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})),On=!0;function kn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var An=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||On===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},jn=function(e,t,n){An(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 Mn(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 Nn={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},Pn=!1,Fn=/[A-Z]|^ms/g,In=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ln=function(e){return e.charCodeAt(1)===45},Rn=function(e){return e!=null&&typeof e!=`boolean`},zn=hn(function(e){return Ln(e)?e:e.replace(Fn,`-$&`).toLowerCase()}),Bn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(In,function(e,t,n){return Gn={name:t,styles:n,next:Gn},t})}return Nn[e]!==1&&!Ln(e)&&typeof t==`number`&&t!==0?t+`px`:t},Vn=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function Hn(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 Gn={name:i.name,styles:i.styles,next:Gn},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Gn={name:o.name,styles:o.styles,next:Gn},o=o.next;return a.styles+`;`}return Un(e,t,n);case`function`:if(e!==void 0){var s=Gn,c=n(e);return Gn=s,Hn(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Un(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Hn(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]+`}`:Rn(s)&&(r+=zn(a)+`:`+Bn(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Pn)throw Error(Vn);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Rn(o[c])&&(r+=zn(a)+`:`+Bn(a,o[c])+`;`);else{var l=Hn(e,t,o);switch(a){case`animation`:case`animationName`:r+=zn(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Wn=/label:\s*([^\s;{]+)\s*(;|$)/g,Gn;function Kn(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=``;Gn=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Hn(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Hn(n,t,e[o]),r&&(i+=a[o]);Wn.lastIndex=0;for(var s=``,c;(c=Wn.exec(i))!==null;)s+=`-`+c[1];return{name:Mn(i)+s,styles:i,next:Gn}}var qn=function(e){return e()},Jn=P.useInsertionEffect?P.useInsertionEffect:!1,Yn=Jn||qn,Xn=Jn||P.useLayoutEffect,Zn=P.createContext(typeof HTMLElement<`u`?wn({key:`css`}):null),Qn=Zn.Provider,$n=function(e){return(0,P.forwardRef)(function(t,n){return e(t,(0,P.useContext)(Zn),n)})},er=P.createContext({}),tr={}.hasOwnProperty,nr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,rr=function(e,t){var n={};for(var r in t)tr.call(t,r)&&(n[r]=t[r]);return n[nr]=e,n},ir=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return An(t,n,r),Yn(function(){return jn(t,n,r)}),null},ar=$n(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[nr],a=[r],o=``;typeof e.className==`string`?o=kn(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Kn(a,void 0,P.useContext(er));o+=t.key+`-`+s.name;var c={};for(var l in e)tr.call(e,l)&&l!==`css`&&l!==nr&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),P.createElement(P.Fragment,null,P.createElement(ir,{cache:t,serialized:s,isStringTag:typeof i==`string`}),P.createElement(i,c))});Dn();var or=function(e,t){var n=arguments;if(t==null||!tr.call(t,`css`))return P.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=ar,i[1]=rr(e,t);for(var a=2;a<r;a++)i[a]=n[a];return P.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(or||={});var sr=$n(function(e,t){var n=e.styles,r=Kn([n],void 0,P.useContext(er)),i=P.useRef();return Xn(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]),Xn(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&jn(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 cr(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kn(t)}function lr(){var e=cr.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 ur=/^((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|playsInline|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)-.*))$/,dr=hn(function(e){return ur.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),fr=!1,pr=dr,mr=function(e){return e!==`theme`},hr=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?pr:mr},gr=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},_r=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return An(t,n,r),Yn(function(){return jn(t,n,r)}),null},vr=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 s=gr(t,n,r),c=s||hr(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=$n(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=P.useContext(er)}typeof e.className==`string`?a=kn(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Kn(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?hr(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),P.createElement(P.Fragment,null,P.createElement(_r,{cache:t,serialized:m,isStringTag:typeof r==`string`}),P.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return o===void 0&&fr?`NO_COMPONENT_SELECTOR`:`.`+o}}),h.withComponent=function(t,r){return e(t,ct({},n,r,{shouldForwardProp:gr(h,r,!0)})).apply(void 0,d)},h}},yr=`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(`.`),br=vr.bind(null);yr.forEach(function(e){br[e]=br(e)});var xr=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),U=o(((e,t)=>{t.exports=xr()}))(),Sr=new Map,Cr={insert:void 0},wr=(e,t)=>{let n=wn(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Tr;if(typeof document==`object`&&(Tr=document.querySelector(`[name="emotion-insertion-point"]`),!Tr)){Tr=document.createElement(`meta`),Tr.setAttribute(`name`,`emotion-insertion-point`),Tr.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Tr)}function Er(e,t){if(e||t){class n extends ft{insert(e,t){return Cr.insert?Cr.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Tr),super.insert(e,t))}}let r=wr({key:`css`,insertionPoint:e?Tr:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Dr(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=P.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Sr.has(e))return Sr.get(e);let r=Er(t,n);return Sr.set(e,r),r},[t,n]);return i?(0,U.jsx)(Qn,{value:i,children:r}):r}function Or(e){return e==null||Object.keys(e).length===0}function kr(e){let{styles:t,defaultTheme:n={}}=e;return(0,U.jsx)(sr,{styles:typeof t==`function`?e=>t(Or(e)?n:e):t})}function Ar(e,t){return br(e,t)}function jr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Mr=[];function Nr(e){return Mr[0]=e,Kn(Mr)}var Pr=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 Fr(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Pr(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 Ir={borderRadius:4};function Lr(e=8,t=be({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Rr(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 zr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Fr(n),c=Lr(i),l=L({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ir,...a}},o);return l=ae(l),l.applyStyles=Rr,l=t.reduce((e,t)=>L(e,t),l),l.unstable_sxConfig={...tt,...o?.unstable_sxConfig},l.unstable_sx=function(e){return at({sx:e,theme:this})},l}function Br(e){return Object.keys(e).length===0}function Vr(e=null){let t=P.useContext(er);return!t||Br(t)?e:t}var Hr=zr();function Ur(e=Hr){return Vr(e)}function Wr(e){let t=Nr(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Gr({styles:e,themeId:t,defaultTheme:n={}}){let r=Ur(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>Wr(typeof e==`function`?e(i):e)):Wr(a)),(0,U.jsx)(kr,{styles:a})}var Kr=e=>e,qr=(()=>{let e=Kr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kr}}})(),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 Yr(e,t,n=`Mui`){let r=Jr[t];return r?`${n}-${r}`:`${qr.generate(e)}-${t}`}function Xr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Yr(e,t,n)}),r}function Zr(e){let{variants:t,...n}=e,r={variants:t,style:Nr(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Nr(e.style))}),r}var Qr=zr();function $r(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ei(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ti(e){return e?(t,n)=>n[e]:null}function ni(e,t,n){e.theme=oi(e.theme)?n:e.theme[t]||e.theme}function ri(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ri(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?ei(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?ei(Nr(i),n):i}return ii(e,r.variants,[t],n)}return r?.isProcessed?n?ei(Nr(r.style),n):r.style:n?ei(Nr(r),n):r}function ii(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},n.push(r?ei(Nr(o.style(i)),r):o.style(i))):n.push(r?ei(Nr(o.style),r):o.style)}return n}function ai(e={}){let{themeId:t,defaultTheme:n=Qr,rootShouldForwardProp:r=$r,slotShouldForwardProp:i=$r}=e;function a(e){ni(e,t,n)}return(e,t={})=>{jr(e,e=>e.filter(e=>e!==at));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ti(ci(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=$r;o===`Root`||o===`root`?m=r:o?m=i:si(e)&&(m=void 0);let h=Ar(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ri(t,e,t.theme.modularCssLayers?d:void 0)};if(F(e)){let t=Zr(e);return function(e){return t.variants?ri(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?ei(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]=ri(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?ii(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(at),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=h(...r,...i,...o);return e.muiName&&(s.muiName=e.muiName),s};return h.withConfig&&(_.withConfig=h.withConfig),_}}function oi(e){for(let t in e)return!1;return!0}function si(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ci(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function li(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]=li(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=k(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}var ui=typeof window<`u`?P.useLayoutEffect:P.useEffect;function di(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function fi(e,t=0,n=1){return di(e,t,n)}function pi(e){e=e.slice(1);let 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 mi(e){if(e.type)return e;if(e.charAt(0)===`#`)return mi(pi(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(j(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(j(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var hi=e=>{let t=mi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},gi=(e,t)=>{try{return hi(e)}catch{return e}};function _i(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 vi(e){e=mi(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])),_i({type:s,values:c})}function yi(e){e=mi(e);let t=e.type===`hsl`||e.type===`hsla`?mi(vi(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 bi(e,t){let n=yi(e),r=yi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xi(e,t){return e=mi(e),t=fi(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,_i(e)}function Si(e,t,n){try{return xi(e,t)}catch{return e}}function Ci(e,t){if(e=mi(e),t=fi(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 _i(e)}function wi(e,t,n){try{return Ci(e,t)}catch{return e}}function Ti(e,t){if(e=mi(e),t=fi(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 _i(e)}function Ei(e,t,n){try{return Ti(e,t)}catch{return e}}function Di(e,t=.15){return yi(e)>.5?Ci(e,t):Ti(e,t)}function Oi(e,t,n){try{return Di(e,t)}catch{return e}}var ki=P.createContext(null);function Ai(){return P.useContext(ki)}var ji=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Mi(e,t){return typeof t==`function`?t(e):{...e,...t}}function Ni(e){let{children:t,theme:n}=e,r=Ai(),i=P.useMemo(()=>{let e=r===null?{...n}:Mi(r,n);return e!=null&&(e[ji]=r!==null),e},[n,r]);return(0,U.jsx)(ki.Provider,{value:i,children:t})}var Pi=P.createContext();function Fi({value:e,...t}){return(0,U.jsx)(Pi.Provider,{value:e??!0,...t})}var Ii=()=>P.useContext(Pi)??!1,Li=P.createContext(void 0);function Ri({value:e,children:t}){return(0,U.jsx)(Li.Provider,{value:e,children:t})}function zi(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?li(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?li(i,r,t.components.mergeClassNameAndStyle):r}function Bi({props:e,name:t}){return zi({props:e,name:t,theme:{components:P.useContext(Li)}})}var Vi=0;function Hi(e){let[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t??(Vi+=1,n(`mui-${Vi}`))},[t]),r}var Ui={...P}.useId;function Wi(e){if(Ui!==void 0){let t=Ui();return e??t}return Hi(e)}function Gi(e){let t=Vr(),n=Wi()||``,{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};`,ui(()=>{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)(Gr,{styles:i}):null}var Ki={};function qi(e,t,n,r=!1){return P.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 Ji(e){let{children:t,theme:n,themeId:r}=e,i=Vr(Ki),a=Ai()||Ki,o=qi(r,i,n),s=qi(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Gi(o);return(0,U.jsx)(Ni,{theme:s,children:(0,U.jsx)(er.Provider,{value:o,children:(0,U.jsx)(Fi,{value:c,children:(0,U.jsxs)(Ri,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Yi={theme:void 0};function Xi(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Yi.theme=r.theme,i=Zr(e(Yi)),t=i,n=r.theme),i}}var Zi=`mode`,Qi=`color-scheme`,$i=`data-color-scheme`;function ea(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=Zi,colorSchemeStorageKey:a=Qi,attribute:o=$i,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));
|
|
2
2
|
${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));
|
|
3
3
|
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
4
4
|
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,U.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|