@nebula.js/sn-text 1.3.4 → 1.3.6
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/api-spec/spec.json +1 -1
- package/core/esm/index.js +22 -10
- package/dist/sn-text.js +22 -10
- package/dist/sn-text.systemjs.js +21 -9
- package/package.json +31 -32
- package/sn-text-ext/dist/sn-text.js +22 -10
- package/sn-text-ext/sn-text.qext +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-text v1.3.
|
|
2
|
+
* @nebula.js/sn-text v1.3.6
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-text"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}const n={version:"1.3.4",showTitles:!1,text:null,fontsUsed:[],components:[],qHyperCubeDef:{qDimensions:[],qMeasures:[],qSuppressZero:!1,qSuppressMissing:!0,qInitialDataFetch:[{qWidth:500,qHeight:10}]},disableNavMenu:!0,showDetails:!1},r=e=>{const t=()=>{e.setPropertiesHaveBeenModifiedForSelectedModel(!0)};return{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:0},measures:{min:0,max:100,added(e){e.qDef={...e.qDef,qAggrFunc:"None"},t()},removed:t,replaced:t,moved:t}}]}};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var l,a,s={},u={exports:{}},c={},d={exports:{}},f={};function p(){if(l)return f;l=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var x=y.prototype=new b;x.constructor=y,m(x,v.prototype),x.isPureReactComponent=!0;var _=Array.isArray,C=Object.prototype.hasOwnProperty,E={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function S(t,n,r){var o,i={},l=null,a=null;if(null!=n)for(o in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(l=""+n.key),n)C.call(n,o)&&!w.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:l,ref:a,props:i,_owner:E.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(n,r,o,i,l){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var s=!1;if(null===n)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return l=l(s=n),n=""===i?"."+N(s,0):i,_(l)?(o="",null!=n&&(o=n.replace(T,"$&/")+"/"),R(l,r,o,"",(function(e){return e}))):null!=l&&(k(l)&&(l=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(l,o+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+n)),r.push(l)),1;if(s=0,i=""===i?".":i+":",_(n))for(var u=0;u<n.length;u++){var c=i+N(a=n[u],u);s+=R(a,r,o,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(a=n.next()).done;)s+=R(a=a.value,r,o,c=i+N(a,u++),l);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},O={transition:null},P={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:O,ReactCurrentOwner:E};function I(){throw Error("act(...) is not supported in production builds of React.")}return f.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},f.Component=v,f.Fragment=n,f.Profiler=o,f.PureComponent=y,f.StrictMode=r,f.Suspense=u,f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,f.act=I,f.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),i=t.key,l=t.ref,a=t._owner;if(null!=n){if(void 0!==n.ref&&(l=n.ref,a=E.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)C.call(n,u)&&!w.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:l,props:o,_owner:a}},f.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},f.createElement=S,f.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},f.createRef=function(){return{current:null}},f.forwardRef=function(e){return{$$typeof:s,render:e}},f.isValidElement=k,f.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:L}},f.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},f.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},f.unstable_act=I,f.useCallback=function(e,t){return M.current.useCallback(e,t)},f.useContext=function(e){return M.current.useContext(e)},f.useDebugValue=function(){},f.useDeferredValue=function(e){return M.current.useDeferredValue(e)},f.useEffect=function(e,t){return M.current.useEffect(e,t)},f.useId=function(){return M.current.useId()},f.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},f.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},f.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},f.useMemo=function(e,t){return M.current.useMemo(e,t)},f.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},f.useRef=function(e){return M.current.useRef(e)},f.useState=function(e){return M.current.useState(e)},f.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},f.useTransition=function(){return M.current.useTransition()},f.version="18.3.1",f}function h(){return a||(a=1,d.exports=p()),d.exports}var m,g,v,b,y,x={exports:{}},_={};function C(){return g||(g=1,x.exports=(m||(m=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,l=i>>>1;r<l;){var a=2*(r+1)-1,s=e[a],u=a+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[a]=n,r=a);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,M(_);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,v(S),S=-1),p=!0;var i=f;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!N());){var l=d.callback;if("function"==typeof l){d.callback=null,f=d.priorityLevel;var a=l(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof a?d.callback=a:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,E=!1,w=null,S=-1,k=5,T=-1;function N(){return!(e.unstable_now()-T<k)}function R(){if(null!==w){var t=e.unstable_now();T=t;var n=!0;try{n=w(!0,t)}finally{n?C():(E=!1,w=null)}}else E=!1}if("function"==typeof b)C=function(){b(R)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=R,C=function(){L.postMessage(null)}}else C=function(){g(R,0)};function M(e){w=e,E||(E=!0,C())}function O(t,n){S=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,M(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,i){var l=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,r){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:a=i+a,sortIndex:-1},i>l?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(v(S),S=-1):m=!0,O(x,i-l))):(r.sortIndex=a,t(s,r),h||p||(h=!0,M(_))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(_)),_)),x.exports}
|
|
7
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-text"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}const n={version:"1.3.6",showTitles:!1,text:null,fontsUsed:[],components:[],qHyperCubeDef:{qDimensions:[],qMeasures:[],qSuppressZero:!1,qSuppressMissing:!0,qInitialDataFetch:[{qWidth:500,qHeight:10}]},disableNavMenu:!0,showDetails:!1},r=e=>{const t=()=>{e.setPropertiesHaveBeenModifiedForSelectedModel(!0)};return{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:0},measures:{min:0,max:100,added(e){e.qDef={...e.qDef,qAggrFunc:"None"},t()},removed:t,replaced:t,moved:t}}]}};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var a,l,s={},u={exports:{}},c={},d={exports:{}},f={};function p(){if(a)return f;a=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var x=y.prototype=new b;x.constructor=y,m(x,v.prototype),x.isPureReactComponent=!0;var _=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function w(t,n,r){var o,i={},a=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)S.call(n,o)&&!E.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:a,ref:l,props:i,_owner:C.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var R=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(n,r,o,i,a){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return a=a(s=n),n=""===i?"."+T(s,0):i,_(a)?(o="",null!=n&&(o=n.replace(R,"$&/")+"/"),A(a,r,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(R,"$&/")+"/")+n)),r.push(a)),1;if(s=0,i=""===i?".":i+":",_(n))for(var u=0;u<n.length;u++){var c=i+T(l=n[u],u);s+=A(l,r,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=A(l=l.value,r,o,c=i+T(l,u++),a);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function N(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},O={transition:null},P={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:O,ReactCurrentOwner:C};function I(){throw Error("act(...) is not supported in production builds of React.")}return f.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},f.Component=v,f.Fragment=n,f.Profiler=o,f.PureComponent=y,f.StrictMode=r,f.Suspense=u,f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,f.act=I,f.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),i=t.key,a=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=C.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)S.call(n,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:l}},f.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},f.createElement=w,f.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},f.createRef=function(){return{current:null}},f.forwardRef=function(e){return{$$typeof:s,render:e}},f.isValidElement=k,f.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:L}},f.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},f.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},f.unstable_act=I,f.useCallback=function(e,t){return M.current.useCallback(e,t)},f.useContext=function(e){return M.current.useContext(e)},f.useDebugValue=function(){},f.useDeferredValue=function(e){return M.current.useDeferredValue(e)},f.useEffect=function(e,t){return M.current.useEffect(e,t)},f.useId=function(){return M.current.useId()},f.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},f.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},f.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},f.useMemo=function(e,t){return M.current.useMemo(e,t)},f.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},f.useRef=function(e){return M.current.useRef(e)},f.useState=function(e){return M.current.useState(e)},f.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},f.useTransition=function(){return M.current.useTransition()},f.version="18.3.1",f}function h(){return l||(l=1,d.exports=p()),d.exports}var m,g,v,b,y,x={exports:{}},_={};function S(){return g||(g=1,x.exports=(m||(m=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,M(_);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,v(w),w=-1),p=!0;var i=f;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,C=!1,E=null,w=-1,k=5,R=-1;function T(){return!(e.unstable_now()-R<k)}function A(){if(null!==E){var t=e.unstable_now();R=t;var n=!0;try{n=E(!0,t)}finally{n?S():(C=!1,E=null)}}else C=!1}if("function"==typeof b)S=function(){b(A)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,L=N.port2;N.port1.onmessage=A,S=function(){L.postMessage(null)}}else S=function(){g(A,0)};function M(e){E=e,C||(C=!0,S())}function O(t,n){w=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,M(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(v(w),w=-1):m=!0,O(x,i-a))):(r.sortIndex=l,t(s,r),h||p||(h=!0,M(_))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(_)),_)),x.exports}
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-dom.production.min.js
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/function E(){if(v)return c;v=1;var e=h(),t=C();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function i(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var a=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},f={};function p(e,t,n,r,o,i,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new p(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new p(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new p(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new p(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new p(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new p(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!s.call(f,e)||!s.call(d,e)&&(u.test(e)?f[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),E=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),N=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),I=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var z,$=Object.assign;function F(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var B=!1;function H(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(1!==l||1!==a)do{if(l--,0>--a||o[l]!==i[a]){var s="\n"+o[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=l&&0<=a);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function j(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case E:return"Portal";case k:return"Profiler";case S:return"StrictMode";case A:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case R:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function K(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,n):t.hasOwnProperty("defaultValue")&&te(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function te(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return $({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(ne(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:U(r)}}function le(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Ee=null,we=null;function Se(e){if(e=xo(e)){if("function"!=typeof Ce)throw Error(n(280));var t=e.stateNode;t&&(t=Co(t),Ce(e.stateNode,e.type,t))}}function ke(e){Ee?we?we.push(e):we=[e]:Ee=e}function Te(){if(Ee){var e=Ee,t=we;if(we=Ee=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ne(e,t){return e(t)}function Re(){}var Ae=!1;function Le(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Ne(e,t,n)}finally{Ae=!1,(null!==Ee||null!==we)&&(Re(),Te())}}function Me(e,t){var r=e.stateNode;if(null===r)return null;var o=Co(r);if(null===o)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Oe=!1;if(a)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(e){Oe=!1}function Ie(e,t,n,r,o,i,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var De=!1,ze=null,$e=!1,Fe=null,Be={onError:function(e){De=!0,ze=e}};function He(e,t,n,r,o,i,l,a,s){De=!1,ze=null,Ie.apply(Be,arguments)}function je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ke(e){if(je(e)!==e)throw Error(n(188))}function Ue(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=je(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var i=r.return;if(null===i)break;var l=i.alternate;if(null===l){if(null!==(o=i.return)){r=o;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===r)return Ke(i),e;if(l===o)return Ke(i),t;l=l.sibling}throw Error(n(188))}if(r.return!==o.return)r=i,o=l;else{for(var a=!1,s=i.child;s;){if(s===r){a=!0,r=i,o=l;break}if(s===o){a=!0,o=i,r=l;break}s=s.sibling}if(!a){for(s=l.child;s;){if(s===r){a=!0,r=l,o=i;break}if(s===o){a=!0,o=l,r=i;break}s=s.sibling}if(!a)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e),null!==e?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ye=t.unstable_scheduleCallback,Ve=t.unstable_cancelCallback,Qe=t.unstable_shouldYield,qe=t.unstable_requestPaint,Xe=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Ze=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,nt=t.unstable_LowPriority,rt=t.unstable_IdlePriority,ot=null,it=null;var lt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(at(e)/st|0)|0},at=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=268435455&n;if(0!==l){var a=l&~o;0!==a?r=dt(a):0!==(i&=l)&&(r=dt(i))}else 0!==(l=n&~o)?r=dt(l):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-lt(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var _t,Ct,Et,wt,St,kt=!1,Tt=[],Nt=null,Rt=null,At=null,Lt=new Map,Mt=new Map,Ot=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function zt(e){var t=yo(e.target);if(null!==t){var n=je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void St(e.priority,(function(){Et(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function $t(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){$t(e)&&n.delete(t)}function Bt(){kt=!1,null!==Nt&&$t(Nt)&&(Nt=null),null!==Rt&&$t(Rt)&&(Rt=null),null!==At&&$t(At)&&(At=null),Lt.forEach(Ft),Mt.forEach(Ft)}function Ht(e,n){e.blockedOn===n&&(e.blockedOn=null,kt||(kt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Bt)))}function jt(e){function t(t){return Ht(t,e)}if(0<Tt.length){Ht(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Ht(Nt,e),null!==Rt&&Ht(Rt,e),null!==At&&Ht(At,e),Lt.forEach(t),Mt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)zt(n),null===n.blockedOn&&Ot.shift()}var Wt=x.ReactCurrentBatchConfig,Kt=!0;function Ut(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=1,Yt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Gt(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=4,Yt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Yt(e,t,n,r){if(Kt){var o=Qt(e,t,n,r);if(null===o)Kr(e,t,r,Vt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Nt=Dt(Nt,e,t,n,r,o),!0;case"dragenter":return Rt=Dt(Rt,e,t,n,r,o),!0;case"mouseover":return At=Dt(At,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lt.set(i,Dt(Lt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,Dt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&_t(i),null===(i=Qt(e,t,n,r))&&Kr(e,t,r,Vt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Kr(e,t,r,null,n)}}var Vt=null;function Qt(e,t,n,r){if(Vt=null,null!==(e=yo(e=_e(r))))if(null===(t=je(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var l in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(l)&&(t=e[l],this[l]=t?t(o):o[l]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return $(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var ln,an,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=$({},un,{view:0,detail:0}),fn=on(dn),pn=$({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(ln=e.screenX-sn.screenX,an=e.screenY-sn.screenY):an=ln=0,sn=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:an}}),hn=on(pn),mn=on($({},pn,{dataTransfer:0})),gn=on($({},dn,{relatedTarget:0})),vn=on($({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=$({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(bn),xn=on($({},un,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=En[e])&&!!t[e]}function Sn(){return wn}var kn=$({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(kn),Nn=on($({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on($({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),An=on($({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=$({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Ln),On=[9,13,27,32],Pn=a&&"CompositionEvent"in window,In=null;a&&"documentMode"in document&&(In=document.documentMode);var Dn=a&&"TextEvent"in window&&!In,zn=a&&(!Pn||In&&8<In&&11>=In),$n=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Un(e,t,n,r){ke(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Yn=null;function Vn(e){$r(e,0)}function Qn(e){if(V(_o(e)))return e}function qn(e,t){if("change"===e)return t}var Xn=!1;if(a){var Jn;if(a){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Xn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),Yn=Gn=null)}function nr(e){if("value"===e.propertyName&&Qn(Yn)){var t=[];Un(t,Yn,e,_e(e)),Le(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Yn)}function ir(e,t){if("click"===e)return Qn(t)}function lr(e,t){if("input"===e||"change"===e)return Qn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(ar(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!s.call(t,o)||!ar(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var l=cr(n,r);o&&l&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=a&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,br=null,yr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==Q(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Gr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Er={},wr={};function Sr(e){if(Er[e])return Er[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in wr)return Er[e]=n[t];return e}a&&(wr=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var kr=Sr("animationend"),Tr=Sr("animationiteration"),Nr=Sr("animationstart"),Rr=Sr("transitionend"),Ar=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Ar.set(e,t),i(t,[e])}for(var Or=0;Or<Lr.length;Or++){var Pr=Lr[Or];Mr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Mr(kr,"onAnimationEnd"),Mr(Tr,"onAnimationIteration"),Mr(Nr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Rr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function zr(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,i,l,a,s,u){if(He.apply(this,arguments),De){if(!De)throw Error(n(198));var c=ze;De=!1,ze=null,$e||($e=!0,Fe=c)}}(o,t,void 0,e),e.currentTarget=null}function $r(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==i&&o.isPropagationStopped())break e;zr(o,a,u),i=s}else for(l=0;l<r.length;l++){if(s=(a=r[l]).instance,u=a.currentTarget,a=a.listener,s!==i&&o.isPropagationStopped())break e;zr(o,a,u),i=s}}}if($e)throw e=Fe,$e=!1,Fe=null,e}function Fr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function jr(e){if(!e[Hr]){e[Hr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Br("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(qt(t)){case 1:var o=Ut;break;case 4:o=Gt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Kr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var a=r.stateNode.containerInfo;if(a===o||8===a.nodeType&&a.parentNode===o)break;if(4===l)for(l=r.return;null!==l;){var s=l.tag;if((3===s||4===s)&&((s=l.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;l=l.return}for(;null!==a;){if(null===(l=yo(a)))return;if(5===(s=l.tag)||6===s){r=i=l;continue e}a=a.parentNode}}r=r.return}Le((function(){var r=i,o=_e(n),l=[];e:{var a=Ar.get(e);if(void 0!==a){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Rn;break;case kr:case Tr:case Nr:s=vn;break;case Rr:s=An;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==a?a+"Capture":null:a;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&c.push(Ur(h,m,p)))),d)break;h=h.return}0<c.length&&(a=new s(a,u,null,n,o),l.push({event:a,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[mo])&&(s||a)&&(a=o.window===o?o:(a=o.ownerDocument)?a.defaultView||a.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=je(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?a:_o(s),p=null==u?a:_o(u),(a=new c(m,h+"leave",s,n,o)).target=d,a.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Yr(p))h++;for(p=0,m=f;m;m=Yr(m))p++;for(;0<h-p;)c=Yr(c),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Yr(c),f=Yr(f)}c=null}else c=null;null!==s&&Vr(l,a,s,c,!1),null!==u&&null!==d&&Vr(l,d,u,c,!0)}if("select"===(s=(a=r?_o(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===s&&"file"===a.type)var g=qn;else if(Kn(a))if(Xn)g=lr;else{g=or;var v=rr}else(s=a.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(g=ir);switch(g&&(g=g(e,r))?Un(l,g,n,o):(v&&v(e,a,r),"focusout"===e&&(v=a._wrapperState)&&v.controlled&&"number"===a.type&&te(a,"number",a.value)),v=r?_o(r):window,e){case"focusin":(Kn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,br=null);break;case"focusout":br=vr=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,xr(l,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(l,n,o)}var b;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else jn?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(jn||"onCompositionStart"!==y?"onCompositionEnd"===y&&jn&&(b=en()):(Jt="value"in(Xt=o)?Xt.value:Xt.textContent,jn=!0)),0<(v=Gr(r,y)).length&&(y=new xn(y,e,null,n,o),l.push({event:y,listeners:v}),b?y.data=b:null!==(b=Hn(n))&&(y.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Fn=!0,$n);case"textInput":return(e=t.data)===$n&&Fn?null:e;default:return null}}(e,n):function(e,t){if(jn)return"compositionend"===e||!Pn&&Bn(e,t)?(e=en(),Zt=Jt=Xt=null,jn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),l.push({event:o,listeners:r}),o.data=b))}$r(l,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Ur(e,i,o)),null!=(i=Me(e,t))&&r.push(Ur(e,i,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,l=[];null!==n&&n!==r;){var a=n,s=a.alternate,u=a.stateNode;if(null!==s&&s===r)break;5===a.tag&&null!==u&&(a=u,o?null!=(s=Me(n,i))&&l.unshift(Ur(n,s,a)):o||null!=(s=Me(n,i))&&l.push(Ur(n,s,a))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var Qr=/\r\n?/g,qr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(qr,"")}function Jr(e,t,r){if(t=Xr(t),Xr(e)!==t&&r)throw Error(n(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,lo="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(ao)}:ro;function ao(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void jt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);jt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,vo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _o(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function Co(e){return e[ho]||null}var Eo=[],wo=-1;function So(e){return{current:e}}function ko(e){0>wo||(e.current=Eo[wo],Eo[wo]=null,wo--)}function To(e,t){wo++,Eo[wo]=e.current,e.current=t}var No={},Ro=So(No),Ao=So(!1),Lo=No;function Mo(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Oo(e){return null!=(e=e.childContextTypes)}function Po(){ko(Ao),ko(Ro)}function Io(e,t,r){if(Ro.current!==No)throw Error(n(168));To(Ro,t),To(Ao,r)}function Do(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var i in o=o.getChildContext())if(!(i in t))throw Error(n(108,K(e)||"Unknown",i));return $({},r,o)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,Lo=Ro.current,To(Ro,e),To(Ao,Ao.current),!0}function $o(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=Do(e,t,Lo),o.__reactInternalMemoizedMergedChildContext=e,ko(Ao),ko(Ro),To(Ro,e)):ko(Ao),To(Ao,r)}var Fo=null,Bo=!1,Ho=!1;function jo(e){null===Fo?Fo=[e]:Fo.push(e)}function Wo(){if(!Ho&&null!==Fo){Ho=!0;var e=0,t=yt;try{var n=Fo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Bo=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ye(Ze,Wo),t}finally{yt=t,Ho=!1}}return null}var Ko=[],Uo=0,Go=null,Yo=0,Vo=[],Qo=0,qo=null,Xo=1,Jo="";function Zo(e,t){Ko[Uo++]=Yo,Ko[Uo++]=Go,Go=e,Yo=t}function ei(e,t,n){Vo[Qo++]=Xo,Vo[Qo++]=Jo,Vo[Qo++]=qo,qo=e;var r=Xo;e=Jo;var o=32-lt(r)-1;r&=~(1<<o),n+=1;var i=32-lt(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,Xo=1<<32-lt(t)+o|n<<o|r,Jo=i+e}else Xo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===Go;)Go=Ko[--Uo],Ko[Uo]=null,Yo=Ko[--Uo],Ko[Uo]=null;for(;e===qo;)qo=Vo[--Qo],Vo[Qo]=null,Jo=Vo[--Qo],Vo[Qo]=null,Xo=Vo[--Qo],Vo[Qo]=null}var ri=null,oi=null,ii=!1,li=null;function ai(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qo?{id:Xo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var r=t;if(!si(e,t)){if(ui(e))throw Error(n(418));t=uo(r.nextSibling);var o=ri;t&&si(e,t)?ai(o,r):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(n(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(n(418));for(;t;)ai(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===li?li=[e]:li.push(e)}var gi=x.ReactCurrentBatchConfig;function vi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var i=o,l=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=i.refs;null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function bi(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function l(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=zu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&yi(o)===t.type)?((r=i(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Pu(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=$u(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=zu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Pu(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case E:return(t=$u(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(ne(t)||D(t))return(t=Iu(t,e.mode,n,null)).return=e,t;bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===o?u(e,t,n,r):null;case E:return n.key===o?c(e,t,n,r):null;case O:return p(e,t,(o=n._init)(n._payload),r)}if(ne(n)||D(n))return null!==o?null:d(e,t,n,r,null);bi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case O:return h(e,t,n,(0,r._init)(r._payload),o)}if(ne(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);bi(t,r)}return null}function m(n,i,a,s){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<a.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(n,d,a[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(n,d),i=l(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===a.length)return r(n,d),ii&&Zo(n,m),u;if(null===d){for(;m<a.length;m++)null!==(d=f(n,a[m],s))&&(i=l(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Zo(n,m),u}for(d=o(n,d);m<a.length;m++)null!==(g=h(d,n,m,a[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=l(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(n,e)})),ii&&Zo(n,m),u}function g(i,a,s,u){var c=D(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=a,g=a=0,v=null,b=s.next();null!==m&&!b.done;g++,b=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(i,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(i,m),a=l(y,a,g),null===d?c=y:d.sibling=y,d=y,m=v}if(b.done)return r(i,m),ii&&Zo(i,g),c;if(null===m){for(;!b.done;g++,b=s.next())null!==(b=f(i,b.value,u))&&(a=l(b,a,g),null===d?c=b:d.sibling=b,d=b);return ii&&Zo(i,g),c}for(m=o(i,m);!b.done;g++,b=s.next())null!==(b=h(m,i,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),a=l(b,a,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(i,e)})),ii&&Zo(i,g),c}return function e(n,o,l,s){if("object"==typeof l&&null!==l&&l.type===w&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case _:e:{for(var u=l.key,c=o;null!==c;){if(c.key===u){if((u=l.type)===w){if(7===c.tag){r(n,c.sibling),(o=i(c,l.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===O&&yi(u)===c.type){r(n,c.sibling),(o=i(c,l.props)).ref=vi(n,c,l),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}l.type===w?((o=Iu(l.props.children,n.mode,s,l.key)).return=n,n=o):((s=Pu(l.type,l.key,l.props,null,n.mode,s)).ref=vi(n,o,l),s.return=n,n=s)}return a(n);case E:e:{for(c=l.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){r(n,o.sibling),(o=i(o,l.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=$u(l,n.mode,s)).return=n,n=o}return a(n);case O:return e(n,o,(c=l._init)(l._payload),s)}if(ne(l))return m(n,o,l,s);if(D(l))return g(n,o,l,s);bi(n,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==o&&6===o.tag?(r(n,o.sibling),(o=i(o,l)).return=n,n=o):(r(n,o),(o=zu(l,n.mode,s)).return=n,n=o),a(n)):r(n,o)}}var _i=xi(!0),Ci=xi(!1),Ei=So(null),wi=null,Si=null,ki=null;function Ti(){ki=Si=wi=null}function Ni(e){var t=Ei.current;ko(Ei),e._currentValue=t}function Ri(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ai(e,t){wi=e,ki=Si=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ya=!0),e.firstContext=null)}function Li(e){var t=e._currentValue;if(ki!==e)if(e={context:e,memoizedValue:t,next:null},null===Si){if(null===wi)throw Error(n(308));Si=e,wi.dependencies={lanes:0,firstContext:e}}else Si=Si.next=e;return t}var Mi=null;function Oi(e){null===Mi?Mi=[e]:Mi.push(e)}function Pi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Oi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Di=!1;function zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $i(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ns){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ii(e,n)}return null===(o=r.interleaved)?(t.next=t,Oi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ii(e,n)}function Hi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function ji(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=l:i=i.next=l,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wi(e,t,n,r){var o=e.updateQueue;Di=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(null!==a){o.shared.pending=null;var s=a,u=s.next;s.next=null,null===l?i=u:l.next=u,l=s;var c=e.alternate;null!==c&&((a=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===a?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(l=0,c=u=s=null,a=i;;){var f=a.lane,p=a.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=$({},d,f);break e;case 2:Di=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,l|=f;if(null===(a=a.next)){if(null===(a=o.shared.pending))break;a=(f=a).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{l|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ds|=l,e.lanes=l,e.memoizedState=d}}function Ki(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;if(null!==i){if(o.callback=null,o=r,"function"!=typeof i)throw Error(n(191,i));i.call(o)}}}var Ui={},Gi=So(Ui),Yi=So(Ui),Vi=So(Ui);function Qi(e){if(e===Ui)throw Error(n(174));return e}function qi(e,t){switch(To(Vi,t),To(Yi,e),To(Gi,Ui),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(Gi),To(Gi,t)}function Xi(){ko(Gi),ko(Yi),ko(Vi)}function Ji(e){Qi(Vi.current);var t=Qi(Gi.current),n=ue(t,e.type);t!==n&&(To(Yi,e),To(Gi,n))}function Zi(e){Yi.current===e&&(ko(Gi),ko(Yi))}var el=So(0);function tl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nl=[];function rl(){for(var e=0;e<nl.length;e++)nl[e]._workInProgressVersionPrimary=null;nl.length=0}var ol=x.ReactCurrentDispatcher,il=x.ReactCurrentBatchConfig,ll=0,al=null,sl=null,ul=null,cl=!1,dl=!1,fl=0,pl=0;function hl(){throw Error(n(321))}function ml(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function gl(e,t,r,o,i,l){if(ll=l,al=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ol.current=null===e||null===e.memoizedState?Zl:ea,e=r(o,i),dl){l=0;do{if(dl=!1,fl=0,25<=l)throw Error(n(301));l+=1,ul=sl=null,t.updateQueue=null,ol.current=ta,e=r(o,i)}while(dl)}if(ol.current=Jl,t=null!==sl&&null!==sl.next,ll=0,ul=sl=al=null,cl=!1,t)throw Error(n(300));return e}function vl(){var e=0!==fl;return fl=0,e}function bl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ul?al.memoizedState=ul=e:ul=ul.next=e,ul}function yl(){if(null===sl){var e=al.alternate;e=null!==e?e.memoizedState:null}else e=sl.next;var t=null===ul?al.memoizedState:ul.next;if(null!==t)ul=t,sl=e;else{if(null===e)throw Error(n(310));e={memoizedState:(sl=e).memoizedState,baseState:sl.baseState,baseQueue:sl.baseQueue,queue:sl.queue,next:null},null===ul?al.memoizedState=ul=e:ul=ul.next=e}return ul}function xl(e,t){return"function"==typeof t?t(e):t}function _l(e){var t=yl(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=sl,i=o.baseQueue,l=r.pending;if(null!==l){if(null!==i){var a=i.next;i.next=l.next,l.next=a}o.baseQueue=i=l,r.pending=null}if(null!==i){l=i.next,o=o.baseState;var s=a=null,u=null,c=l;do{var d=c.lane;if((ll&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,a=o):u=u.next=f,al.lanes|=d,Ds|=d}c=c.next}while(null!==c&&c!==l);null===u?a=o:u.next=s,ar(o,t.memoizedState)||(ya=!0),t.memoizedState=o,t.baseState=a,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){i=e;do{l=i.lane,al.lanes|=l,Ds|=l,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Cl(e){var t=yl(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,l=t.memoizedState;if(null!==i){r.pending=null;var a=i=i.next;do{l=e(l,a.action),a=a.next}while(a!==i);ar(l,t.memoizedState)||(ya=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),r.lastRenderedState=l}return[l,o]}function El(){}function wl(e,t){var r=al,o=yl(),i=t(),l=!ar(o.memoizedState,i);if(l&&(o.memoizedState=i,ya=!0),o=o.queue,Dl(Tl.bind(null,r,o,e),[e]),o.getSnapshot!==t||l||null!==ul&&1&ul.memoizedState.tag){if(r.flags|=2048,Ll(9,kl.bind(null,r,o,i,t),void 0,null),null===Rs)throw Error(n(349));30&ll||Sl(r,t,i)}return i}function Sl(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=al.updateQueue)?(t={lastEffect:null,stores:null},al.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function kl(e,t,n,r){t.value=n,t.getSnapshot=r,Nl(t)&&Rl(e)}function Tl(e,t,n){return n((function(){Nl(t)&&Rl(e)}))}function Nl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(e){return!0}}function Rl(e){var t=Ii(e,1);null!==t&&nu(t,e,1,-1)}function Al(e){var t=bl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xl,lastRenderedState:e},t.queue=e,e=e.dispatch=Vl.bind(null,al,e),[t.memoizedState,e]}function Ll(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=al.updateQueue)?(t={lastEffect:null,stores:null},al.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ml(){return yl().memoizedState}function Ol(e,t,n,r){var o=bl();al.flags|=e,o.memoizedState=Ll(1|t,n,void 0,void 0===r?null:r)}function Pl(e,t,n,r){var o=yl();r=void 0===r?null:r;var i=void 0;if(null!==sl){var l=sl.memoizedState;if(i=l.destroy,null!==r&&ml(r,l.deps))return void(o.memoizedState=Ll(t,n,i,r))}al.flags|=e,o.memoizedState=Ll(1|t,n,i,r)}function Il(e,t){return Ol(8390656,8,e,t)}function Dl(e,t){return Pl(2048,8,e,t)}function zl(e,t){return Pl(4,2,e,t)}function $l(e,t){return Pl(4,4,e,t)}function Fl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Bl(e,t,n){return n=null!=n?n.concat([e]):null,Pl(4,4,Fl.bind(null,t,e),n)}function Hl(){}function jl(e,t){var n=yl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ml(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wl(e,t){var n=yl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ml(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Kl(e,t,n){return 21&ll?(ar(n,t)||(n=mt(),al.lanes|=n,Ds|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ya=!0),e.memoizedState=n)}function Ul(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{yt=n,il.transition=r}}function Gl(){return yl().memoizedState}function Yl(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ql(e))ql(t,n);else if(null!==(n=Pi(e,t,n,r))){nu(n,e,r,eu()),Xl(n,t,r)}}function Vl(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ql(e))ql(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,ar(a,l)){var s=t.interleaved;return null===s?(o.next=o,Oi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Pi(e,t,o,r))&&(nu(n,e,r,o=eu()),Xl(n,t,r))}}function Ql(e){var t=e.alternate;return e===al||null!==t&&t===al}function ql(e,t){dl=cl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xl(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Jl={readContext:Li,useCallback:hl,useContext:hl,useEffect:hl,useImperativeHandle:hl,useInsertionEffect:hl,useLayoutEffect:hl,useMemo:hl,useReducer:hl,useRef:hl,useState:hl,useDebugValue:hl,useDeferredValue:hl,useTransition:hl,useMutableSource:hl,useSyncExternalStore:hl,useId:hl,unstable_isNewReconciler:!1},Zl={readContext:Li,useCallback:function(e,t){return bl().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:Il,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ol(4194308,4,Fl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ol(4,2,e,t)},useMemo:function(e,t){var n=bl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Yl.bind(null,al,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bl().memoizedState=e},useState:Al,useDebugValue:Hl,useDeferredValue:function(e){return bl().memoizedState=e},useTransition:function(){var e=Al(!1),t=e[0];return e=Ul.bind(null,e[1]),bl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=al,i=bl();if(ii){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Rs)throw Error(n(349));30&ll||Sl(o,t,r)}i.memoizedState=r;var l={value:r,getSnapshot:t};return i.queue=l,Il(Tl.bind(null,o,l,e),[e]),o.flags|=2048,Ll(9,kl.bind(null,o,l,r,t),void 0,null),r},useId:function(){var e=bl(),t=Rs.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Xo&~(1<<32-lt(Xo)-1)).toString(32)+n),0<(n=fl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:Li,useCallback:jl,useContext:Li,useEffect:Dl,useImperativeHandle:Bl,useInsertionEffect:zl,useLayoutEffect:$l,useMemo:Wl,useReducer:_l,useRef:Ml,useState:function(){return _l(xl)},useDebugValue:Hl,useDeferredValue:function(e){return Kl(yl(),sl.memoizedState,e)},useTransition:function(){return[_l(xl)[0],yl().memoizedState]},useMutableSource:El,useSyncExternalStore:wl,useId:Gl,unstable_isNewReconciler:!1},ta={readContext:Li,useCallback:jl,useContext:Li,useEffect:Dl,useImperativeHandle:Bl,useInsertionEffect:zl,useLayoutEffect:$l,useMemo:Wl,useReducer:Cl,useRef:Ml,useState:function(){return Cl(xl)},useDebugValue:Hl,useDeferredValue:function(e){var t=yl();return null===sl?t.memoizedState=e:Kl(t,sl.memoizedState,e)},useTransition:function(){return[Cl(xl)[0],yl().memoizedState]},useMutableSource:El,useSyncExternalStore:wl,useId:Gl,unstable_isNewReconciler:!1};function na(e,t){if(e&&e.defaultProps){for(var n in t=$({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ra(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:$({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var oa={isMounted:function(e){return!!(e=e._reactInternals)&&je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=Fi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Bi(e,o,r))&&(nu(t,e,r,n),Hi(t,e,r))}};function ia(e,t,n,r,o,i,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,l):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function la(e,t,n){var r=!1,o=No,i=t.contextType;return"object"==typeof i&&null!==i?i=Li(i):(o=Oo(t)?Lo:Ro.current,i=(r=null!=(r=t.contextTypes))?Mo(e,o):No),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function aa(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oa.enqueueReplaceState(t,t.state,null)}function sa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},zi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Li(i):(i=Oo(t)?Lo:Ro.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ra(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&oa.enqueueReplaceState(o,o.state,null),Wi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ua(e,t){try{var n="",r=t;do{n+=j(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ca(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function da(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fa="function"==typeof WeakMap?WeakMap:Map;function pa(e,t,n){(n=Fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Us=r),da(0,t)},n}function ha(e,t,n){(n=Fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){da(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){da(0,t),"function"!=typeof r&&(null===Gs?Gs=new Set([this]):Gs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ma(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fa;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function ga(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function va(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fi(-1,1)).tag=2,Bi(n,t,1))),n.lanes|=1),e)}var ba=x.ReactCurrentOwner,ya=!1;function xa(e,t,n,r){t.child=null===e?Ci(t,null,n,r):_i(t,e.child,n,r)}function _a(e,t,n,r,o){n=n.render;var i=t.ref;return Ai(t,o),r=gl(e,t,n,r,i,o),n=vl(),null===e||ya?(ii&&n&&ti(t),t.flags|=1,xa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ka(e,t,o))}function Ca(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Mu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ea(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(l,r)&&e.ref===t.ref)return Ka(e,t,o)}return t.flags|=1,(e=Ou(i,r)).ref=t.ref,e.return=t,t.child=e}function Ea(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(ya=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Ka(e,t,o);131072&e.flags&&(ya=!0)}}return ka(e,t,n,r,o)}function wa(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Os,Ms),Ms|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,To(Os,Ms),Ms|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Os,Ms),Ms|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,To(Os,Ms),Ms|=r;return xa(e,t,o,n),t.child}function Sa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ka(e,t,n,r,o){var i=Oo(n)?Lo:Ro.current;return i=Mo(t,i),Ai(t,o),n=gl(e,t,n,r,i,o),r=vl(),null===e||ya?(ii&&r&&ti(t),t.flags|=1,xa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ka(e,t,o))}function Ta(e,t,n,r,o){if(Oo(n)){var i=!0;zo(t)}else i=!1;if(Ai(t,o),null===t.stateNode)Wa(e,t),la(t,n,r),sa(t,n,r,o),r=!0;else if(null===e){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=n.contextType;"object"==typeof u&&null!==u?u=Li(u):u=Mo(t,u=Oo(n)?Lo:Ro.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;d||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(a!==r||s!==u)&&aa(t,l,r,u),Di=!1;var f=t.memoizedState;l.state=f,Wi(t,r,l,o),s=t.memoizedState,a!==r||f!==s||Ao.current||Di?("function"==typeof c&&(ra(t,n,c,r),s=t.memoizedState),(a=Di||ia(t,n,a,r,f,s,u))?(d||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=u,r=a):("function"==typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,$i(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:na(t.type,a),l.props=u,d=t.pendingProps,f=l.context,"object"==typeof(s=n.contextType)&&null!==s?s=Li(s):s=Mo(t,s=Oo(n)?Lo:Ro.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(a!==d||f!==s)&&aa(t,l,r,s),Di=!1,f=t.memoizedState,l.state=f,Wi(t,r,l,o);var h=t.memoizedState;a!==d||f!==h||Ao.current||Di?("function"==typeof p&&(ra(t,n,p,r),h=t.memoizedState),(u=Di||ia(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,h,s),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=s,r=u):("function"!=typeof l.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Na(e,t,n,r,i,o)}function Na(e,t,n,r,o,i){Sa(e,t);var l=!!(128&t.flags);if(!r&&!l)return o&&$o(t,n,!1),Ka(e,t,i);r=t.stateNode,ba.current=t;var a=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=_i(t,e.child,null,i),t.child=_i(t,null,a,i)):xa(e,t,a,i),t.memoizedState=r.state,o&&$o(t,n,!0),t.child}function Ra(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),qi(e,t.containerInfo)}function Aa(e,t,n,r,o){return hi(),mi(o),t.flags|=256,xa(e,t,n,r),t.child}var La,Ma,Oa,Pa,Ia={dehydrated:null,treeContext:null,retryLane:0};function Da(e){return{baseLanes:e,cachePool:null,transitions:null}}function za(e,t,r){var o,i=t.pendingProps,l=el.current,a=!1,s=!!(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&!!(2&l)),o?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),To(el,1&l),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=i.children,e=i.fallback,a?(i=t.mode,a=t.child,s={mode:"hidden",children:s},1&i||null===a?a=Du(s,i,0,null):(a.childLanes=0,a.pendingProps=s),e=Iu(e,i,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Da(r),t.memoizedState=Ia,e):$a(t,s));if(null!==(l=e.memoizedState)&&null!==(o=l.dehydrated))return function(e,t,r,o,i,l,a){if(r)return 256&t.flags?(t.flags&=-257,Fa(e,t,a,o=ca(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=o.fallback,i=t.mode,o=Du({mode:"visible",children:o.children},i,0,null),(l=Iu(l,i,a,null)).flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,1&t.mode&&_i(t,e.child,null,a),t.child.memoizedState=Da(a),t.memoizedState=Ia,l);if(!(1&t.mode))return Fa(e,t,a,null);if("$!"===i.data){if(o=i.nextSibling&&i.nextSibling.dataset)var s=o.dgst;return o=s,Fa(e,t,a,o=ca(l=Error(n(419)),o,void 0))}if(s=!!(a&e.childLanes),ya||s){if(null!==(o=Rs)){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(o.suspendedLanes|a)?0:i)&&i!==l.retryLane&&(l.retryLane=i,Ii(e,i),nu(o,e,i,-1))}return mu(),Fa(e,t,a,o=ca(Error(n(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Tu.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,oi=uo(i.nextSibling),ri=t,ii=!0,li=null,null!==e&&(Vo[Qo++]=Xo,Vo[Qo++]=Jo,Vo[Qo++]=qo,Xo=e.id,Jo=e.overflow,qo=t),t=$a(t,o.children),t.flags|=4096,t)}(e,t,s,i,o,l,r);if(a){a=i.fallback,s=t.mode,o=(l=e.child).sibling;var u={mode:"hidden",children:i.children};return 1&s||t.child===l?(i=Ou(l,u)).subtreeFlags=14680064&l.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null),null!==o?a=Ou(o,a):(a=Iu(a,s,r,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,s=null===(s=e.child.memoizedState)?Da(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~r,t.memoizedState=Ia,i}return e=(a=e.child).sibling,i=Ou(a,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function $a(e,t){return(t=Du({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fa(e,t,n,r){return null!==r&&mi(r),_i(t,e.child,null,n),(e=$a(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ba(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ri(e.return,t,n)}function Ha(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ja(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xa(e,t,r.children,n),2&(r=el.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ba(e,n,t);else if(19===e.tag)Ba(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(el,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===tl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ha(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===tl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ha(t,!0,n,null,i);break;case"together":Ha(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Wa(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ka(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ds|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Ou(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ou(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Ua(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ga(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ya(e,t,r){var i=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ga(t),null;case 1:case 17:return Oo(t.type)&&Po(),Ga(t),null;case 3:return i=t.stateNode,Xi(),ko(Ao),ko(Ro),rl(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==li&&(lu(li),li=null))),Ma(e,t),Ga(t),null;case 5:Zi(t);var l=Qi(Vi.current);if(r=t.type,null!==e&&null!=t.stateNode)Oa(e,t,r,i,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return Ga(t),null}if(e=Qi(Gi.current),fi(t)){i=t.stateNode,r=t.type;var a=t.memoizedProps;switch(i[po]=t,i[ho]=a,e=!!(1&t.mode),r){case"dialog":Fr("cancel",i),Fr("close",i);break;case"iframe":case"object":case"embed":Fr("load",i);break;case"video":case"audio":for(l=0;l<Ir.length;l++)Fr(Ir[l],i);break;case"source":Fr("error",i);break;case"img":case"image":case"link":Fr("error",i),Fr("load",i);break;case"details":Fr("toggle",i);break;case"input":X(i,a),Fr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",i);break;case"textarea":ie(i,a),Fr("invalid",i)}for(var s in be(r,a),l=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"==typeof u?i.textContent!==u&&(!0!==a.suppressHydrationWarning&&Jr(i.textContent,u,e),l=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Jr(i.textContent,u,e),l=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",i)}switch(r){case"input":Y(i),ee(i,a,!0);break;case"textarea":Y(i),ae(i);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(i.onclick=Zr)}i=l,t.updateQueue=i,null!==i&&(t.flags|=4)}else{s=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=s.createElement(r,{is:i.is}):(e=s.createElement(r),"select"===r&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,r),e[po]=t,e[ho]=i,La(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(r,i),r){case"dialog":Fr("cancel",e),Fr("close",e),l=i;break;case"iframe":case"object":case"embed":Fr("load",e),l=i;break;case"video":case"audio":for(l=0;l<Ir.length;l++)Fr(Ir[l],e);l=i;break;case"source":Fr("error",e),l=i;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),l=i;break;case"details":Fr("toggle",e),l=i;break;case"input":X(e,i),l=q(e,i),Fr("invalid",e);break;case"option":default:l=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},l=$({},i,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,i),l=oe(e,i),Fr("invalid",e)}for(a in be(r,l),u=l)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==r||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(o.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&y(e,a,c,s))}switch(r){case"input":Y(e),ee(e,i,!1);break;case"textarea":Y(e),ae(e);break;case"option":null!=i.value&&e.setAttribute("value",""+U(i.value));break;case"select":e.multiple=!!i.multiple,null!=(a=i.value)?re(e,!!i.multiple,a,!1):null!=i.defaultValue&&re(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=Zr)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ga(t),null;case 6:if(e&&null!=t.stateNode)Pa(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=Qi(Vi.current),Qi(Gi.current),fi(t)){if(i=t.stateNode,r=t.memoizedProps,i[po]=t,(a=i.nodeValue!==r)&&null!==(e=ri))switch(e.tag){case 3:Jr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(i.nodeValue,r,!!(1&e.mode))}a&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[po]=t,t.stateNode=i}return Ga(t),null;case 13:if(ko(el),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==i&&null!==i.dehydrated){if(null===e){if(!a)throw Error(n(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(n(317));a[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ga(t),a=!1}else null!==li&&(lu(li),li=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&el.current?0===Ps&&(Ps=3):mu())),null!==t.updateQueue&&(t.flags|=4),Ga(t),null);case 4:return Xi(),Ma(e,t),null===e&&jr(t.stateNode.containerInfo),Ga(t),null;case 10:return Ni(t.type._context),Ga(t),null;case 19:if(ko(el),null===(a=t.memoizedState))return Ga(t),null;if(i=!!(128&t.flags),null===(s=a.rendering))if(i)Ua(a,!1);else{if(0!==Ps||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=tl(e))){for(t.flags|=128,Ua(a,!1),null!==(i=s.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(a=r).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return To(el,1&el.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>js&&(t.flags|=128,i=!0,Ua(a,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=tl(s))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Ua(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Ga(t),null}else 2*Xe()-a.renderingStartTime>js&&1073741824!==r&&(t.flags|=128,i=!0,Ua(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=a.last)?r.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,r=el.current,To(el,i?1&r|2:1&r),t):(Ga(t),null);case 22:case 23:return du(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?!!(1073741824&Ms)&&(Ga(t),6&t.subtreeFlags&&(t.flags|=8192)):Ga(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Va(e,t){switch(ni(t),t.tag){case 1:return Oo(t.type)&&Po(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xi(),ko(Ao),ko(Ro),rl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(ko(el),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(el),null;case 4:return Xi(),null;case 10:return Ni(t.type._context),null;case 22:case 23:return du(),null;default:return null}}La=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ma=function(){},Oa=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Qi(Gi.current);var l,a=null;switch(n){case"input":i=q(e,i),r=q(e,r),a=[];break;case"select":i=$({},i,{value:void 0}),r=$({},r,{value:void 0}),a=[];break;case"textarea":i=oe(e,i),r=oe(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in be(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(l in s)!s.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&s[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Pa=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qa=!1,qa=!1,Xa="function"==typeof WeakSet?WeakSet:Set,Ja=null;function Za(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){wu(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){wu(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[vo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function as(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:qa||Za(n,t);case 6:var r=cs,o=ds;cs=null,fs(e,t,n),ds=o,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),jt(e)):so(cs,n.stateNode));break;case 4:r=cs,o=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!qa&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,void 0!==l&&(2&i||4&i)&&es(n,t,l),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!qa&&(Za(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){wu(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(qa=(r=qa)||null!==n.memoizedState,fs(e,t,n),qa=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xa),t.forEach((function(t){var r=Nu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{var l=e,a=t,s=a;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(n(160));ps(l,a,i),cs=null,ds=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(e){wu(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),vs(e),4&o){try{ns(3,e,e.return),rs(3,e)}catch(t){wu(e,e.return,t)}try{ns(5,e,e.return)}catch(t){wu(e,e.return,t)}}break;case 1:ms(t,e),vs(e),512&o&&null!==r&&Za(r,r.return);break;case 5:if(ms(t,e),vs(e),512&o&&null!==r&&Za(r,r.return),32&e.flags){var i=e.stateNode;try{fe(i,"")}catch(t){wu(e,e.return,t)}}if(4&o&&null!=(i=e.stateNode)){var l=e.memoizedProps,a=null!==r?r.memoizedProps:l,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===l.type&&null!=l.name&&J(i,l),ye(s,a);var c=ye(s,l);for(a=0;a<u.length;a+=2){var d=u[a],f=u[a+1];"style"===d?ge(i,f):"dangerouslySetInnerHTML"===d?de(i,f):"children"===d?fe(i,f):y(i,d,f,c)}switch(s){case"input":Z(i,l);break;case"textarea":le(i,l);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!l.multiple;var h=l.value;null!=h?re(i,!!l.multiple,h,!1):p!==!!l.multiple&&(null!=l.defaultValue?re(i,!!l.multiple,l.defaultValue,!0):re(i,!!l.multiple,l.multiple?[]:"",!1))}i[ho]=l}catch(t){wu(e,e.return,t)}}break;case 6:if(ms(t,e),vs(e),4&o){if(null===e.stateNode)throw Error(n(162));i=e.stateNode,l=e.memoizedProps;try{i.nodeValue=l}catch(t){wu(e,e.return,t)}}break;case 3:if(ms(t,e),vs(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{jt(t.containerInfo)}catch(t){wu(e,e.return,t)}break;case 4:default:ms(t,e),vs(e);break;case 13:ms(t,e),vs(e),8192&(i=e.child).flags&&(l=null!==i.memoizedState,i.stateNode.isHidden=l,!l||null!==i.alternate&&null!==i.alternate.memoizedState||(Hs=Xe())),4&o&&hs(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(qa=(c=qa)||d,ms(t,e),qa=c):ms(t,e),vs(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Ja=e,d=e.child;null!==d;){for(f=Ja=d;null!==Ja;){switch(h=(p=Ja).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Za(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){o=p,r=p.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){wu(o,r,e)}}break;case 5:Za(p,p.return);break;case 22:if(null!==p.memoizedState){_s(f);continue}}null!==h?(h.return=p,Ja=h):_s(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,c?"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none":(s=f.stateNode,a=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",a))}catch(t){wu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){wu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),vs(e),4&o&&hs(e);case 21:}}function vs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var i=o.stateNode;32&o.flags&&(fe(i,""),o.flags&=-33),us(e,as(e),i);break;case 3:case 4:var l=o.stateNode.containerInfo;ss(e,as(e),l);break;default:throw Error(n(161))}}catch(t){wu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Ja=e,ys(e)}function ys(e,t,n){for(var r=!!(1&e.mode);null!==Ja;){var o=Ja,i=o.child;if(22===o.tag&&r){var l=null!==o.memoizedState||Qa;if(!l){var a=o.alternate,s=null!==a&&null!==a.memoizedState||qa;a=Qa;var u=qa;if(Qa=l,(qa=s)&&!u)for(Ja=o;null!==Ja;)s=(l=Ja).child,22===l.tag&&null!==l.memoizedState?Cs(o):null!==s?(s.return=l,Ja=s):Cs(o);for(;null!==i;)Ja=i,ys(i),i=i.sibling;Ja=o,Qa=a,qa=u}xs(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Ja=i):xs(e)}}function xs(e){for(;null!==Ja;){var t=Ja;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:qa||rs(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!qa)if(null===r)o.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:na(t.type,r.memoizedProps);o.componentDidUpdate(i,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Ki(t,l,o);break;case 3:var a=t.updateQueue;if(null!==a){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ki(t,a,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&jt(f)}}}break;default:throw Error(n(163))}qa||512&t.flags&&os(t)}catch(e){wu(t,t.return,e)}}if(t===e){Ja=null;break}if(null!==(r=t.sibling)){r.return=t.return,Ja=r;break}Ja=t.return}}function _s(e){for(;null!==Ja;){var t=Ja;if(t===e){Ja=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ja=n;break}Ja=t.return}}function Cs(e){for(;null!==Ja;){var t=Ja;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){wu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){wu(t,o,e)}}var i=t.return;try{os(t)}catch(e){wu(t,i,e)}break;case 5:var l=t.return;try{os(t)}catch(e){wu(t,l,e)}}}catch(e){wu(t,t.return,e)}if(t===e){Ja=null;break}var a=t.sibling;if(null!==a){a.return=t.return,Ja=a;break}Ja=t.return}}var Es,ws=Math.ceil,Ss=x.ReactCurrentDispatcher,ks=x.ReactCurrentOwner,Ts=x.ReactCurrentBatchConfig,Ns=0,Rs=null,As=null,Ls=0,Ms=0,Os=So(0),Ps=0,Is=null,Ds=0,zs=0,$s=0,Fs=null,Bs=null,Hs=0,js=1/0,Ws=null,Ks=!1,Us=null,Gs=null,Ys=!1,Vs=null,Qs=0,qs=0,Xs=null,Js=-1,Zs=0;function eu(){return 6&Ns?Xe():-1!==Js?Js:Js=Xe()}function tu(e){return 1&e.mode?2&Ns&&0!==Ls?Ls&-Ls:null!==gi.transition?(0===Zs&&(Zs=mt()),Zs):0!==(e=yt)?e:e=void 0===(e=window.event)?16:qt(e.type):1}function nu(e,t,r,o){if(50<qs)throw qs=0,Xs=null,Error(n(185));vt(e,r,o),2&Ns&&e===Rs||(e===Rs&&(!(2&Ns)&&(zs|=r),4===Ps&&au(e,Ls)),ru(e,o),1===r&&0===Ns&&!(1&t.mode)&&(js=Xe()+500,Bo&&Wo()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-lt(i),a=1<<l,s=o[l];-1===s?a&n&&!(a&r)||(o[l]=pt(a,t)):s<=t&&(e.expiredLanes|=a),i&=~a}}(e,t);var r=ft(e,e===Rs?Ls:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Bo=!0,jo(e)}(su.bind(null,e)):jo(su.bind(null,e)),lo((function(){!(6&Ns)&&Wo()})),n=null;else{switch(xt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ru(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Js=-1,Zs=0,6&Ns)throw Error(n(327));var r=e.callbackNode;if(Cu()&&e.callbackNode!==r)return null;var o=ft(e,e===Rs?Ls:0);if(0===o)return null;if(30&o||o&e.expiredLanes||t)t=gu(e,o);else{t=o;var i=Ns;Ns|=2;var l=hu();for(Rs===e&&Ls===t||(Ws=null,js=Xe()+500,fu(e,t));;)try{bu();break}catch(t){pu(e,t)}Ti(),Ss.current=l,Ns=i,null!==As?t=0:(Rs=null,Ls=0,t=Ps)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(o=i,t=iu(e,i))),1===t)throw r=Is,fu(e,0),au(e,o),ru(e,Xe()),r;if(6===t)au(e,o);else{if(i=e.current.alternate,!(30&o||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!ar(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gu(e,o),2===t&&(l=ht(e),0!==l&&(o=l,t=iu(e,l))),1!==t)))throw r=Is,fu(e,0),au(e,o),ru(e,Xe()),r;switch(e.finishedWork=i,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:_u(e,Bs,Ws);break;case 3:if(au(e,o),(130023424&o)===o&&10<(t=Hs+500-Xe())){if(0!==ft(e,0))break;if(((i=e.suspendedLanes)&o)!==o){eu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ro(_u.bind(null,e,Bs,Ws),t);break}_u(e,Bs,Ws);break;case 4:if(au(e,o),(4194240&o)===o)break;for(t=e.eventTimes,i=-1;0<o;){var a=31-lt(o);l=1<<a,(a=t[a])>i&&(i=a),o&=~l}if(o=i,10<(o=(120>(o=Xe()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*ws(o/1960))-o)){e.timeoutHandle=ro(_u.bind(null,e,Bs,Ws),o);break}_u(e,Bs,Ws);break;default:throw Error(n(329))}}}return ru(e,Xe()),e.callbackNode===r?ou.bind(null,e):null}function iu(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&lu(t)),e}function lu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function au(e,t){for(t&=~$s,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(6&Ns)throw Error(n(327));Cu();var t=ft(e,0);if(!(1&t))return ru(e,Xe()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var o=ht(e);0!==o&&(t=o,r=iu(e,o))}if(1===r)throw r=Is,fu(e,0),au(e,t),ru(e,Xe()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_u(e,Bs,Ws),ru(e,Xe()),null}function uu(e,t){var n=Ns;Ns|=1;try{return e(t)}finally{0===(Ns=n)&&(js=Xe()+500,Bo&&Wo())}}function cu(e){null!==Vs&&0===Vs.tag&&!(6&Ns)&&Cu();var t=Ns;Ns|=1;var n=Ts.transition,r=yt;try{if(Ts.transition=null,yt=1,e)return e()}finally{yt=r,Ts.transition=n,!(6&(Ns=t))&&Wo()}}function du(){Ms=Os.current,ko(Os)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Po();break;case 3:Xi(),ko(Ao),ko(Ro),rl();break;case 5:Zi(r);break;case 4:Xi();break;case 13:case 19:ko(el);break;case 10:Ni(r.type._context);break;case 22:case 23:du()}n=n.return}if(Rs=e,As=e=Ou(e.current,null),Ls=Ms=t,Ps=0,Is=null,$s=zs=Ds=0,Bs=Fs=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var l=i.next;i.next=o,r.next=l}n.pending=r}Mi=null}return e}function pu(e,t){for(;;){var r=As;try{if(Ti(),ol.current=Jl,cl){for(var o=al.memoizedState;null!==o;){var i=o.queue;null!==i&&(i.pending=null),o=o.next}cl=!1}if(ll=0,ul=sl=al=null,dl=!1,fl=0,ks.current=null,null===r||null===r.return){Ps=1,Is=t,As=null;break}e:{var l=e,a=r.return,s=r,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ga(a);if(null!==h){h.flags&=-257,va(h,a,s,0,t),1&h.mode&&ma(l,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(!(1&t)){ma(l,c,t),mu();break e}u=Error(n(426))}else if(ii&&1&s.mode){var v=ga(a);if(null!==v){!(65536&v.flags)&&(v.flags|=256),va(v,a,s,0,t),mi(ua(u,s));break e}}l=u=ua(u,s),4!==Ps&&(Ps=2),null===Fs?Fs=[l]:Fs.push(l),l=a;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,ji(l,pa(0,u,t));break e;case 1:s=u;var b=l.type,y=l.stateNode;if(!(128&l.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Gs&&Gs.has(y)))){l.flags|=65536,t&=-t,l.lanes|=t,ji(l,ha(l,s,t));break e}}l=l.return}while(null!==l)}xu(r)}catch(e){t=e,As===r&&null!==r&&(As=r=r.return);continue}break}}function hu(){var e=Ss.current;return Ss.current=Jl,null===e?Jl:e}function mu(){0!==Ps&&3!==Ps&&2!==Ps||(Ps=4),null===Rs||!(268435455&Ds)&&!(268435455&zs)||au(Rs,Ls)}function gu(e,t){var r=Ns;Ns|=2;var o=hu();for(Rs===e&&Ls===t||(Ws=null,fu(e,t));;)try{vu();break}catch(t){pu(e,t)}if(Ti(),Ns=r,Ss.current=o,null!==As)throw Error(n(261));return Rs=null,Ls=0,Ps}function vu(){for(;null!==As;)yu(As)}function bu(){for(;null!==As&&!Qe();)yu(As)}function yu(e){var t=Es(e.alternate,e,Ms);e.memoizedProps=e.pendingProps,null===t?xu(e):As=t,ks.current=null}function xu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Va(n,t)))return n.flags&=32767,void(As=n);if(null===e)return Ps=6,void(As=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ya(n,t,Ms)))return void(As=n);if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===Ps&&(Ps=5)}function _u(e,t,r){var o=yt,i=Ts.transition;try{Ts.transition=null,yt=1,function(e,t,r,o){do{Cu()}while(null!==Vs);if(6&Ns)throw Error(n(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var l=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-lt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,l),e===Rs&&(As=Rs=null,Ls=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Ys||(Ys=!0,Ru(tt,(function(){return Cu(),null}))),l=!!(15990&r.flags),!!(15990&r.subtreeFlags)||l){l=Ts.transition,Ts.transition=null;var a=yt;yt=1;var s=Ns;Ns|=4,ks.current=null,function(e,t){if(eo=Kt,pr(e=fr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,l=o.focusNode;o=o.focusOffset;try{r.nodeType,l.nodeType}catch(e){r=null;break e}var a=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(s=a+i),f!==l||0!==o&&3!==f.nodeType||(u=a+o),3===f.nodeType&&(a+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===i&&(s=a),p===l&&++d===o&&(u=a),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Kt=!1,Ja=t;null!==Ja;)if(e=(t=Ja).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ja=e;else for(;null!==Ja;){t=Ja;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:na(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(n(163))}}catch(e){wu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ja=e;break}Ja=t.return}m=ts,ts=!1}(e,r),gs(r,e),hr(to),Kt=!!eo,to=eo=null,e.current=r,bs(r),qe(),Ns=s,yt=a,Ts.transition=l}else e.current=r;if(Ys&&(Ys=!1,Vs=e,Qs=i),l=e.pendingLanes,0===l&&(Gs=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),ru(e,Xe()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],o(i.value,{componentStack:i.stack,digest:i.digest});if(Ks)throw Ks=!1,e=Us,Us=null,e;!!(1&Qs)&&0!==e.tag&&Cu(),l=e.pendingLanes,1&l?e===Xs?qs++:(qs=0,Xs=e):qs=0,Wo()}(e,t,r,o)}finally{Ts.transition=i,yt=o}return null}function Cu(){if(null!==Vs){var e=xt(Qs),t=Ts.transition,r=yt;try{if(Ts.transition=null,yt=16>e?16:e,null===Vs)var o=!1;else{if(e=Vs,Vs=null,Qs=0,6&Ns)throw Error(n(331));var i=Ns;for(Ns|=4,Ja=e.current;null!==Ja;){var l=Ja,a=l.child;if(16&Ja.flags){var s=l.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Ja=c;null!==Ja;){var d=Ja;switch(d.tag){case 0:case 11:case 15:ns(8,d,l)}var f=d.child;if(null!==f)f.return=d,Ja=f;else for(;null!==Ja;){var p=(d=Ja).sibling,h=d.return;if(is(d),d===c){Ja=null;break}if(null!==p){p.return=h,Ja=p;break}Ja=h}}}var m=l.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Ja=l}}if(2064&l.subtreeFlags&&null!==a)a.return=l,Ja=a;else e:for(;null!==Ja;){if(2048&(l=Ja).flags)switch(l.tag){case 0:case 11:case 15:ns(9,l,l.return)}var b=l.sibling;if(null!==b){b.return=l.return,Ja=b;break e}Ja=l.return}}var y=e.current;for(Ja=y;null!==Ja;){var x=(a=Ja).child;if(2064&a.subtreeFlags&&null!==x)x.return=a,Ja=x;else e:for(a=y;null!==Ja;){if(2048&(s=Ja).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){wu(s,s.return,e)}if(s===a){Ja=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Ja=_;break e}Ja=s.return}}if(Ns=i,Wo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}o=!0}return o}finally{yt=r,Ts.transition=t}}return!1}function Eu(e,t,n){e=Bi(e,t=pa(0,t=ua(n,t),1),1),t=eu(),null!==e&&(vt(e,1,t),ru(e,t))}function wu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r))){t=Bi(t,e=ha(t,e=ua(n,e),1),1),e=eu(),null!==t&&(vt(t,1,e),ru(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Rs===e&&(Ls&n)===n&&(4===Ps||3===Ps&&(130023424&Ls)===Ls&&500>Xe()-Hs?fu(e,0):$s|=n),ru(e,t)}function ku(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Ii(e,t))&&(vt(e,t,n),ru(e,n))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ku(e,n)}function Nu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),ku(e,r)}function Ru(e,t){return Ye(e,t)}function Au(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Au(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pu(e,t,r,o,i,l){var a=2;if(o=e,"function"==typeof e)Mu(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case w:return Iu(r.children,i,l,t);case S:a=8,i|=8;break;case k:return(e=Lu(12,r,t,2|i)).elementType=k,e.lanes=l,e;case A:return(e=Lu(13,r,t,i)).elementType=A,e.lanes=l,e;case L:return(e=Lu(19,r,t,i)).elementType=L,e.lanes=l,e;case P:return Du(r,i,l,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:a=10;break e;case N:a=9;break e;case R:a=11;break e;case M:a=14;break e;case O:a=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Lu(a,r,t,i)).elementType=e,t.type=o,t.lanes=l,t}function Iu(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Du(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function zu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function $u(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,o,i,l,a,s){return e=new Fu(e,t,n,a,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zi(i),e}function Hu(e){if(!e)return No;e:{if(je(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Oo(r))return Do(e,r,t)}return t}function ju(e,t,n,r,o,i,l,a,s){return(e=Bu(n,r,!0,e,0,i,0,a,s)).context=Hu(null),n=e.current,(i=Fi(r=eu(),o=tu(n))).callback=null!=t?t:null,Bi(n,i,o),e.current.lanes=o,vt(e,o,r),ru(e,r),e}function Wu(e,t,n,r){var o=t.current,i=eu(),l=tu(o);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fi(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bi(o,t,l))&&(nu(e,o,l,i),Hi(e,o,l)),l}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gu(e,t){Uu(e,t),(e=e.alternate)&&Uu(e,t)}Es=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ao.current)ya=!0;else{if(!(e.lanes&r||128&t.flags))return ya=!1,function(e,t,n){switch(t.tag){case 3:Ra(t),hi();break;case 5:Ji(t);break;case 1:Oo(t.type)&&zo(t);break;case 4:qi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(Ei,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(el,1&el.current),t.flags|=128,null):n&t.child.childLanes?za(e,t,n):(To(el,1&el.current),null!==(e=Ka(e,t,n))?e.sibling:null);To(el,1&el.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return ja(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(el,el.current),r)break;return null;case 22:case 23:return t.lanes=0,wa(e,t,n)}return Ka(e,t,n)}(e,t,r);ya=!!(131072&e.flags)}else ya=!1,ii&&1048576&t.flags&&ei(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Wa(e,t),e=t.pendingProps;var i=Mo(t,Ro.current);Ai(t,r),i=gl(null,t,o,e,i,r);var l=vl();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oo(o)?(l=!0,zo(t)):l=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,zi(t),i.updater=oa,t.stateNode=i,i._reactInternals=t,sa(t,o,e,r),t=Na(null,t,o,!0,l,r)):(t.tag=0,ii&&l&&ti(t),xa(null,t,i,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Wa(e,t),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(o),e=na(o,e),i){case 0:t=ka(null,t,o,e,r);break e;case 1:t=Ta(null,t,o,e,r);break e;case 11:t=_a(null,t,o,e,r);break e;case 14:t=Ca(null,t,o,na(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,i=t.pendingProps,ka(e,t,o,i=t.elementType===o?i:na(o,i),r);case 1:return o=t.type,i=t.pendingProps,Ta(e,t,o,i=t.elementType===o?i:na(o,i),r);case 3:e:{if(Ra(t),null===e)throw Error(n(387));o=t.pendingProps,i=(l=t.memoizedState).element,$i(e,t),Wi(t,o,null,r);var a=t.memoizedState;if(o=a.element,l.isDehydrated){if(l={element:o,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=Aa(e,t,o,r,i=ua(Error(n(423)),t));break e}if(o!==i){t=Aa(e,t,o,r,i=ua(Error(n(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,li=null,r=Ci(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(hi(),o===i){t=Ka(e,t,r);break e}xa(e,t,o,r)}t=t.child}return t;case 5:return Ji(t),null===e&&ci(t),o=t.type,i=t.pendingProps,l=null!==e?e.memoizedProps:null,a=i.children,no(o,i)?a=null:null!==l&&no(o,l)&&(t.flags|=32),Sa(e,t),xa(e,t,a,r),t.child;case 6:return null===e&&ci(t),null;case 13:return za(e,t,r);case 4:return qi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=_i(t,null,o,r):xa(e,t,o,r),t.child;case 11:return o=t.type,i=t.pendingProps,_a(e,t,o,i=t.elementType===o?i:na(o,i),r);case 7:return xa(e,t,t.pendingProps,r),t.child;case 8:case 12:return xa(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,To(Ei,o._currentValue),o._currentValue=a,null!==l)if(ar(l.value,a)){if(l.children===i.children&&!Ao.current){t=Ka(e,t,r);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===l.tag){(u=Fi(-1,r&-r)).tag=2;var c=l.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}l.lanes|=r,null!==(u=l.alternate)&&(u.lanes|=r),Ri(l.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===l.tag)a=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(a=l.return))throw Error(n(341));a.lanes|=r,null!==(s=a.alternate)&&(s.lanes|=r),Ri(a,r,t),a=l.sibling}else a=l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}xa(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps.children,Ai(t,r),o=o(i=Li(i)),t.flags|=1,xa(e,t,o,r),t.child;case 14:return i=na(o=t.type,t.pendingProps),Ca(e,t,o,i=na(o.type,i),r);case 15:return Ea(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:na(o,i),Wa(e,t),t.tag=1,Oo(o)?(e=!0,zo(t)):e=!1,Ai(t,r),la(t,o,i),sa(t,o,i,r),Na(null,t,o,!0,e,r);case 19:return ja(e,t,r);case 22:return wa(e,t,r)}throw Error(n(156,t.tag))};var Yu="function"==typeof reportError?reportError:function(e){console.error(e)};function Vu(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function Zu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if("function"==typeof o){var a=o;o=function(){var e=Ku(l);a.call(e)}}Wu(t,l,e,o)}else l=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Ku(l);i.call(e)}}var l=ju(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=l,e[mo]=l.current,jr(8===e.nodeType?e.parentNode:e),cu(),l}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var a=r;r=function(){var e=Ku(s);a.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[mo]=s.current,jr(8===e.nodeType?e.parentNode:e),cu((function(){Wu(t,s,n,r)})),s}(n,t,e,o,r);return Ku(l)}Qu.prototype.render=Vu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Wu(e,t,null,null)},Qu.prototype.unmount=Vu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Wu(null,e,null,null)})),t[mo]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=wt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&zt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Xe()),!(6&Ns)&&(js=Xe()+500,Wo()))}break;case 13:cu((function(){var t=Ii(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Gu(e,1)}},Ct=function(e){if(13===e.tag){var t=Ii(e,134217728);if(null!==t)nu(t,e,134217728,eu());Gu(e,134217728)}},Et=function(e){if(13===e.tag){var t=tu(e),n=Ii(e,t);if(null!==n)nu(n,e,t,eu());Gu(e,t)}},wt=function(){return yt},St=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},Ce=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var i=Co(o);if(!i)throw Error(n(90));V(o),Z(o,i)}}}break;case"textarea":le(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Ne=uu,Re=cu;var ec={usingClientEntryPoint:!1,Events:[xo,_o,Co,ke,Te,uu]},tc={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{ot=rc.inject(nc),it=rc}catch(e){}}return c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,c.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!qu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},c.createRoot=function(e,t){if(!qu(e))throw Error(n(299));var r=!1,o="",i=Yu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Bu(e,1,!1,null,0,r,0,o,i),e[mo]=t.current,jr(8===e.nodeType?e.parentNode:e),new Vu(t)},c.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=Ue(t))?null:e.stateNode},c.flushSync=function(e){return cu(e)},c.hydrate=function(e,t,r){if(!Xu(t))throw Error(n(200));return Zu(null,e,t,!0,r)},c.hydrateRoot=function(e,t,r){if(!qu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,i=!1,l="",a=Yu;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(l=r.identifierPrefix),void 0!==r.onRecoverableError&&(a=r.onRecoverableError)),t=ju(t,null,e,1,null!=r?r:null,i,0,l,a),e[mo]=t.current,jr(e),o)for(e=0;e<o.length;e++)i=(i=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new Qu(t)},c.render=function(e,t,r){if(!Xu(t))throw Error(n(200));return Zu(null,e,t,!1,r)},c.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(n(40));return!!e._reactRootContainer&&(cu((function(){Zu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},c.unstable_batchedUpdates=uu,c.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Xu(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Zu(e,t,r,!1,o)},c.version="18.3.1-next-f1338f8080-20240426",c}function w(){if(b)return u.exports;return b=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),u.exports=E(),u.exports}var S=function(){if(y)return s;y=1;var e=w();return s.createRoot=e.createRoot,s.hydrateRoot=e.hydrateRoot,s}();var k=h(),T=o(k),N=t({__proto__:null,default:T},[k]);const R=k.createContext({layout:void 0,model:void 0,element:void 0,edit:!1,initialData:void 0,emitter:void 0,lang:"en",flags:{isEnabled:()=>!1},theme:null,readyToPrint:[]});var A,L,M,O,P,I,D,z,$,F,B,H,j={},W={},K={},U={};function G(){if(A)return U;A=1;let e={},t={},n={},r={},o={},i={},l={},a={},s={},u={},c={},d={},f={},p={},h={},m={},g={},v={},b={},y={},x={},_={},C={},E={},w={},S={},k={},T={},N={},R={},L={},M={},O={},P={},I={};function D(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let z="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,$=z&&"documentMode"in document?document.documentMode:null,F=z&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),B=z&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),H=!(!z||!("InputEvent"in window)||$)&&"getTargetRanges"in new window.InputEvent("input"),j=z&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),W=z&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,K=z&&/^(?=.*Chrome).*/i.test(navigator.userAgent),G=z&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!K,Y=j||W||G?" ":"",V=B?" ":Y,Q=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,q=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,X={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},J={directionless:1,unmergeable:2},Z={center:2,end:6,justify:4,left:1,right:3,start:5},ee={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},te={normal:0,segmented:2,token:1},ne={0:"normal",2:"segmented",1:"token"},re=!1,oe=0;function ie(e){oe=e.timeStamp}function le(e,t,n){return t.__lexicalLineBreak===e||void 0!==e[`__lexicalKey_${n._key}`]}function ae(e,t,n){re=!0;let r=100<performance.now()-oe;try{kr(e,(()=>{let o=tr()||function(e){return e.getEditorState().read((()=>{let e=tr();return null!==e?e.clone():null}))}(e);var i=new Map,l=e.getRootElement(),a=e._editorState,s=e._blockCursorElement;let u=!1,c="";for(var d=0;d<t.length;d++){var f=t[d],p=f.type,h=f.target,m=Le(h,a);if(!(null===m&&h!==l||Nr(m)))if("characterData"===p){if(f=r&&An(m))e:{p=h;var g=m;if(Fn(f=o)){var v=f.anchor.getNode();if(v.is(g)&&f.format!==v.getFormat()){f=!1;break e}}f=3===p.nodeType&&g.isAttached()}f&&(p=f=null,null!==(g=lt(e._window))&&g.anchorNode===h&&(f=g.anchorOffset,p=g.focusOffset),null!==(h=h.nodeValue)&&He(m,h,f,p,!1))}else if("childList"===p){for(u=!0,p=f.addedNodes,g=0;g<p.length;g++){var b=Ae(v=p[g]),y=v.parentNode;null==y||v===s||null!==b||"BR"===v.nodeName&&le(v,y,e)||(B&&(b=v.innerText||v.nodeValue)&&(c+=b),y.removeChild(v))}if(0<(p=(f=f.removedNodes).length)){for(g=0,v=0;v<p;v++)("BR"===(y=f[v]).nodeName&&le(y,h,e)||s===y)&&(h.appendChild(y),g++);p!==g&&(h===l&&(m=a._nodeMap.get("root")),i.set(h,m))}}}if(0<i.size)for(let[t,n]of i)if(Ar(n))for(i=n.getChildrenKeys(),l=t.firstChild,a=0;a<i.length;a++)null!==(s=e.getElementByKey(i[a]))&&(null==l?(t.appendChild(s),l=s):l!==s&&t.replaceChild(s,l),l=l.nextSibling);else An(n)&&n.markDirty();if(0<(i=n.takeRecords()).length){for(l=0;l<i.length;l++)for(a=(s=i[l]).addedNodes,s=s.target,d=0;d<a.length;d++)null==(h=(m=a[d]).parentNode)||"BR"!==m.nodeName||le(m,s,e)||h.removeChild(m);n.takeRecords()}null!==o&&(u&&(o.dirty=!0,Ie(o)),B&&Ye(e)&&o.insertRawText(c))}))}finally{re=!1}}function se(e){let t=e._observer;if(null!==t){ae(e,t.takeRecords(),t)}}function ue(e){0===oe&&Je(e).addEventListener("textInput",ie,!0),e._observer=new MutationObserver(((t,n)=>{ae(e,t,n)}))}function ce(e,t){let n=e.__mode,r=e.__format;e=e.__style;let o=t.__mode,i=t.__format;return t=t.__style,!(null!==n&&n!==o||null!==r&&r!==i||null!==e&&e!==t)}function de(e,t){let n=e.mergeWithSibling(t),r=vr()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function fe(e){if(""===e.__text&&e.isSimpleText()&&!e.isUnmergeable())e.remove();else{for(var t;null!==(t=e.getPreviousSibling())&&An(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){ce(t,e)&&(e=de(t,e));break}t.remove()}for(var n;null!==(n=e.getNextSibling())&&An(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){ce(e,n)&&de(e,n);break}n.remove()}}}function pe(e){return he(e.anchor),he(e.focus),e}function he(e){for(;"element"===e.type;){var t=e.getNode(),n=e.offset;if(n===t.getChildrenSize()?(t=t.getChildAtIndex(n-1),n=!0):(t=t.getChildAtIndex(n),n=!1),An(t)){e.set(t.__key,n?t.getTextContentSize():0,"text");break}if(!Ar(t))break;e.set(t.__key,n?t.getChildrenSize():0,"element")}}let me=1,ge="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function ve(e){let t=document.activeElement;if(null===t)return!1;let n=t.nodeName;return Nr(Le(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==t.__lexicalEditor)}function be(e,t,n){let r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!ve(t)&&ye(t)===e}catch(e){return!1}}function ye(e){for(;null!=e;){let t=e.__lexicalEditor;if(null!=t)return t;e=qe(e)}return null}function xe(e){return e.isToken()||e.isSegmented()}function _e(e){for(;null!=e;){if(3===e.nodeType)return e;e=e.firstChild}return null}function Ce(e,t,n){return!(e&(t=X[t]))||null!==n&&n&t?null===n||n&t?e|t:e:e^t}function Ee(e){return An(e)||hn(e)||Nr(e)}function we(e,t){if(null!=t)e.__key=t;else{mr(),99<fr&&D(14),t=vr();var n=gr(),r=""+me++;n._nodeMap.set(r,e),Ar(e)?t._dirtyElements.set(r,!0):t._dirtyLeaves.add(r),t._cloneNotNeeded.add(r),t._dirtyType=1,e.__key=r}}function Se(e){var t=e.getParent();if(null!==t){let o=e.getWritable();t=t.getWritable();var n=e.getPreviousSibling();if(e=e.getNextSibling(),null===n)if(null!==e){var r=e.getWritable();t.__first=e.__key,r.__prev=null}else t.__first=null;else{if(r=n.getWritable(),null!==e){let t=e.getWritable();t.__prev=r.__key,r.__next=t.__key}else r.__next=null;o.__prev=null}null===e?null!==n?(e=n.getWritable(),t.__last=n.__key,e.__next=null):t.__last=null:(e=e.getWritable(),null!==n?((n=n.getWritable()).__next=e.__key,e.__prev=n.__key):e.__prev=null,o.__next=null),t.__size--,o.__parent=null}}function ke(e){99<fr&&D(14);var t=e.getLatest(),n=t.__parent,r=gr();let o=vr(),i=r._nodeMap;if(r=o._dirtyElements,null!==n)e:for(;null!==n&&!r.has(n);){let e=i.get(n);if(void 0===e)break;r.set(n,!1),n=e.__parent}t=t.__key,o._dirtyType=1,Ar(e)?r.set(t,!0):o._dirtyLeaves.add(t)}function Te(e){mr();var t=vr();let n=t._compositionKey;e!==n&&(t._compositionKey=e,null!==n&&(null!==(t=Re(n))&&t.getWritable()),null!==e&&(null!==(e=Re(e))&&e.getWritable()))}function Ne(){return hr()?null:vr()._compositionKey}function Re(e,t){return void 0===(e=(t||gr())._nodeMap.get(e))?null:e}function Ae(e,t){return void 0!==(e=e[`__lexicalKey_${vr()._key}`])?Re(e,t):null}function Le(e,t){for(;null!=e;){let n=Ae(e,t);if(null!==n)return n;e=qe(e)}return null}function Me(e){let t=Object.assign({},e._decorators);return e._pendingDecorators=t}function Oe(e){return e.read((()=>Pe().getTextContent()))}function Pe(){return gr()._nodeMap.get("root")}function Ie(e){mr();let t=gr();null!==e&&(e.dirty=!0,e._cachedNodes=null),t._selection=e}function De(e){var t,n=vr();e:{for(t=e;null!=t;){let e=t[`__lexicalKey_${n._key}`];if(void 0!==e){t=e;break e}t=qe(t)}t=null}return null===t?e===(n=n.getRootElement())?Re("root"):null:Re(t)}function ze(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function $e(e){let t=[];for(;null!==e;)t.push(e),e=e._parentEditor;return t}function Fe(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function Be(e,t,n){if(null!==(t=lt(t._window))){var r=t.anchorNode,{anchorOffset:o,focusOffset:i}=t;if(null!==r&&(t=3===r.nodeType?r.nodeValue:null,r=Le(r),null!==t&&An(r))){if(t===Y&&n){t=n,i=o=n.length}null!==t&&He(r,t,o,i,e)}}}function He(e,t,n,r,o){let i=e;if(i.isAttached()&&(o||!i.isDirty())){let u=i.isComposing(),c=t;if((u||o)&&t[t.length-1]===Y&&(c=t.slice(0,-1)),t=i.getTextContent(),o||c!==t)if(""===c)if(Te(null),j||W||G)i.remove();else{let e=vr();setTimeout((()=>{e.update((()=>{i.isAttached()&&i.remove()}))}),20)}else{o=i.getParent(),t=nr();var l=i.getTextContentSize(),a=Ne(),s=i.getKey();i.isToken()||null!==a&&s===a&&!u||Fn(t)&&(null!==o&&!o.canInsertTextBefore()&&0===t.anchor.offset||t.anchor.key===e.__key&&0===t.anchor.offset&&!i.canInsertTextBefore()||t.focus.key===e.__key&&t.focus.offset===l&&!i.canInsertTextAfter())?i.markDirty():(Fn(e=tr())&&null!==n&&null!==r&&(e.setTextNodeRange(i,n,i,r),i.isSegmented()&&(n=Rn(n=i.getTextContent()),i.replace(n),i=n)),i.setTextContent(c))}}}function je(){var e=Pe();Ie(pe(e=e.select(0,e.getChildrenSize())))}function We(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});let n=e.__lexicalClassNameCache,r=n[t];return void 0!==r?r:"string"==typeof(e=e[t])?(e=e.split(" "),n[t]=e):e}function Ke(e,t,n,r,o){0!==n.size&&(n=r.__type,r=r.__key,void 0===(t=t.get(n))&&D(33,n),n=t.klass,void 0===(t=e.get(n))&&(t=new Map,e.set(n,t)),n="destroyed"===(e=t.get(r))&&"created"===o,(void 0===e||n)&&t.set(r,n?"updated":o))}function Ue(e,t,n){let r=e.getParent(),o=n;return null!==r&&(t&&0===n?(o=e.getIndexWithinParent(),e=r):t||n!==e.getChildrenSize()||(o=e.getIndexWithinParent()+1,e=r)),e.getChildAtIndex(t?o-1:o)}function Ge(e,t){var n=e.offset;return"element"===e.type?Ue(e=e.getNode(),t,n):(e=e.getNode(),t&&0===n||!t&&n===e.getTextContentSize()?null===(n=t?e.getPreviousSibling():e.getNextSibling())?Ue(e.getParentOrThrow(),t,e.getIndexWithinParent()+(t?0:1)):n:null)}function Ye(e){return"insertFromPaste"===(e=(e=Je(e).event)&&e.inputType)||"insertFromPasteAsQuotation"===e}function Ve(e){return!Or(e)&&!e.isLastChild()&&!e.isInline()}function Qe(e,t){return void 0===(e=e._keyToDOMMap.get(t))&&D(75,t),e}function qe(e){return null!==(e=e.assignedSlot||e.parentElement)&&11===e.nodeType?e.host:e}function Xe(e,t){for(e=e.getParent();null!==e;){if(e.is(t))return!0;e=e.getParent()}return!1}function Je(e){return null===(e=e._window)&&D(78),e}function Ze(e){for(e=e.getParentOrThrow();null!==e&&!et(e);)e=e.getParentOrThrow();return e}function et(e){return Or(e)||Ar(e)&&e.isShadowRoot()}function tt(e){return we(e=e.constructor.clone(e),null),e}function nt(e){var t=vr();let n=e.constructor.getType();return void 0===(t=t._nodes.get(n))&&D(97),null!==(t=t.replace)?((t=t(e))instanceof e.constructor||D(98),t):e}function rt(e,t){!Or(e=e.getParent())||Ar(t)||Nr(t)||D(99)}function ot(e){return(Nr(e)||Ar(e)&&!e.canBeEmpty())&&!e.isInline()}function it(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null,null!==(t=e.parentElement)&&t.removeChild(e)}function lt(e){return z?(e||window).getSelection():null}function at(e,t){let n=e.getChildAtIndex(t);null==n&&(n=e),et(e)&&D(102);let r=e=>{const t=e.getParentOrThrow(),o=et(t),i=e!==n||o?tt(e):e;if(o)return e.insertAfter(i),[e,i,i];const[l,a,s]=r(t);return e=e.getNextSiblings(),s.append(i,...e),[l,a,i]},[o,i]=r(n);return[o,i]}function st(e,t){for(;e!==Pe()&&null!=e;){if(t(e))return e;e=e.getParent()}return null}function ut(e){let t=[],n=[e];for(;0<n.length;){let r=n.pop();void 0===r&&D(112),Ar(r)&&n.unshift(...r.getChildren()),r!==e&&t.push(r)}return t}function ct(e,t,n,r,o,i){for(e=e.getFirstChild();null!==e;){let l=e.__key;e.__parent===t&&(Ar(e)&&ct(e,l,n,r,o,i),n.has(l)||i.delete(l),o.push(l)),e=e.getNextSibling()}}let dt,ft,pt,ht,mt,gt,vt,bt,yt,xt,_t="",Ct="",Et="",wt=!1,St=!1,kt=null;function Tt(e,t){let n=vt.get(e);if(null!==t){let n=Ht(e);n.parentNode===t&&t.removeChild(n)}bt.has(e)||ft._keyToDOMMap.delete(e),Ar(n)&&Nt(e=zt(n,vt),0,e.length-1,null),void 0!==n&&Ke(xt,pt,ht,n,"destroyed")}function Nt(e,t,n,r){for(;t<=n;++t){let n=e[t];void 0!==n&&Tt(n,r)}}function Rt(e,t){e.setProperty("text-align",t)}function At(e,t){var n=dt.theme.indent;if("string"==typeof n){let r=e.classList.contains(n);0<t&&!r?e.classList.add(n):1>t&&r&&e.classList.remove(n)}n=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||"40px",e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${n})`)}function Lt(e,t){e=e.style,0===t?Rt(e,""):1===t?Rt(e,"left"):2===t?Rt(e,"center"):3===t?Rt(e,"right"):4===t?Rt(e,"justify"):5===t?Rt(e,"start"):6===t&&Rt(e,"end")}function Mt(e,t,n){let r=bt.get(e);void 0===r&&D(60);let o=r.createDOM(dt,ft);var i=ft._keyToDOMMap;if(o["__lexicalKey_"+ft._key]=e,i.set(e,o),An(r)?o.setAttribute("data-lexical-text","true"):Nr(r)&&o.setAttribute("data-lexical-decorator","true"),Ar(r)){if(e=r.__indent,i=r.__size,0!==e&&At(o,e),0!==i){--i,e=zt(r,bt);var l=Ct;Ct="",Ot(e,r,0,i,o,null),Dt(r,o),Ct=l}0!==(e=r.__format)&&Lt(o,e),r.isInline()||It(null,r,o),Ve(r)&&(_t+="\n\n",Et+="\n\n")}else i=r.getTextContent(),Nr(r)?(null!==(l=r.decorate(ft,dt))&&Ft(e,l),o.contentEditable="false"):An(r)&&(r.isDirectionless()||(Ct+=i)),_t+=i,Et+=i;return null!==t&&(null!=n?t.insertBefore(o,n):null!=(n=t.__lexicalLineBreak)?t.insertBefore(o,n):t.appendChild(o)),Ke(xt,pt,ht,r,"created"),o}function Ot(e,t,n,r,o,i){let l=_t;for(_t="";n<=r;++n)Mt(e[n],o,i);Ve(t)&&(_t+="\n\n"),o.__lexicalTextContent=_t,_t=l+_t}function Pt(e,t){return hn(e=t.get(e))||Nr(e)&&e.isInline()}function It(e,t,n){e=null!==e&&(0===e.__size||Pt(e.__last,vt)),t=0===t.__size||Pt(t.__last,bt),e?t||(null!=(t=n.__lexicalLineBreak)&&n.removeChild(t),n.__lexicalLineBreak=null):t&&(t=document.createElement("br"),n.__lexicalLineBreak=t,n.appendChild(t))}function Dt(e,t){var n=t.__lexicalDir;if(t.__lexicalDirTextContent!==Ct||n!==kt){let i=""===Ct;if(i)var r=kt;else r=Ct,r=Q.test(r)?"rtl":q.test(r)?"ltr":null;if(r!==n){let l=t.classList,a=dt.theme;var o=null!==n?a[n]:void 0;let s=null!==r?a[r]:void 0;void 0!==o&&("string"==typeof o&&(o=o.split(" "),o=a[n]=o),l.remove(...o)),null===r||i&&"ltr"===r?t.removeAttribute("dir"):(void 0!==s&&("string"==typeof s&&(n=s.split(" "),s=a[r]=n),void 0!==s&&l.add(...s)),t.dir=r),St||(e.getWritable().__dir=r)}kt=r,t.__lexicalDirTextContent=Ct,t.__lexicalDir=r}}function zt(e,t){let n=[];for(e=e.__first;null!==e;){let r=t.get(e);void 0===r&&D(101),n.push(e),e=r.__next}return n}function $t(e,t){var n=vt.get(e),r=bt.get(e);void 0!==n&&void 0!==r||D(61);var o=wt||gt.has(e)||mt.has(e);let i=Qe(ft,e);if(n===r&&!o)return Ar(n)?(void 0!==(r=i.__lexicalTextContent)&&(_t+=r,Et+=r),void 0!==(r=i.__lexicalDirTextContent)&&(Ct+=r)):(r=n.getTextContent(),An(n)&&!n.isDirectionless()&&(Ct+=r),Et+=r,_t+=r),i;if(n!==r&&o&&Ke(xt,pt,ht,r,"updated"),r.updateDOM(n,i,dt))return r=Mt(e,null,null),null===t&&D(62),t.replaceChild(r,i),Tt(e,null),r;if(Ar(n)&&Ar(r)){if((e=r.__indent)!==n.__indent&&At(i,e),(e=r.__format)!==n.__format&&Lt(i,e),o){e=r,o=Ct,Ct="",t=_t;var l=n.__size,a=e.__size;if(_t="",1===l&&1===a){var s=n.__first,u=e.__first;if(s===u)$t(s,i);else{var c=Ht(s);u=Mt(u,null,null),i.replaceChild(u,c),Tt(s,null)}}else{u=zt(n,vt);var d=zt(e,bt);if(0===l)0!==a&&Ot(d,e,0,a-1,i,null);else if(0===a)0!==l&&(Nt(u,0,l-1,(s=null==i.__lexicalLineBreak)?null:i),s&&(i.textContent=""));else{var f=u;u=d,d=l-1,l=a-1;let t=i.firstChild,n=0;for(a=0;n<=d&&a<=l;){var p=f[n];let e=u[a];if(p===e)t=Bt($t(e,i)),n++,a++;else{void 0===s&&(s=new Set(f)),void 0===c&&(c=new Set(u));let r=c.has(p),o=s.has(e);r?(o?((p=Qe(ft,e))===t?t=Bt($t(e,i)):(null!=t?i.insertBefore(p,t):i.appendChild(p),$t(e,i)),n++):Mt(e,i,t),a++):(t=Bt(Ht(p)),Tt(p,i),n++)}}c=a>l,(s=n>d)&&!c?Ot(u,e,a,l,i,s=void 0===(s=u[l+1])?null:ft.getElementByKey(s)):c&&!s&&Nt(f,n,d,i)}}Ve(e)&&(_t+="\n\n"),i.__lexicalTextContent=_t,_t=t+_t,Dt(e,i),Ct=o,Or(r)||r.isInline()||It(n,r,i)}Ve(r)&&(_t+="\n\n",Et+="\n\n")}else n=r.getTextContent(),Nr(r)?null!==(o=r.decorate(ft,dt))&&Ft(e,o):An(r)&&!r.isDirectionless()&&(Ct+=n),_t+=n,Et+=n;return!St&&Or(r)&&r.__cachedText!==Et&&((r=r.getWritable()).__cachedText=Et),i}function Ft(e,t){let n=ft._pendingDecorators,r=ft._decorators;if(null===n){if(r[e]===t)return;n=Me(ft)}n[e]=t}function Bt(e){return null!==(e=e.nextSibling)&&e===ft._blockCursorElement&&(e=e.nextSibling),e}function Ht(e){let t=yt.get(e);return void 0===t&&D(75,e),t}let jt=Object.freeze({}),Wt=[["keydown",function(e,t){if(Kt=e.timeStamp,Ut=e.keyCode,!t.isComposing()){var{keyCode:o,shiftKey:i,ctrlKey:l,metaKey:a,altKey:k}=e;if(!Er(t,p,e)){if(39!==o||l||a||k)if(39!==o||k||i||!l&&!a)if(37!==o||l||a||k)if(37!==o||k||i||!l&&!a)if(38!==o||l||a)if(40!==o||l||a)if(13===o&&i)Xt=!0,Er(t,x,e);else if(32===o)Er(t,_,e);else if(F&&l&&79===o)e.preventDefault(),Xt=!0,Er(t,r,!0);else if(13!==o||i)if(F?k||a||!(8===o||72===o&&l):l||k||a||8!==o)if(27===o)Er(t,E,e);else if(F?i||k||a||!(46===o||68===o&&l):l||k||a||46!==o)if(8===o&&(F?k:l))e.preventDefault(),Er(t,s,!0);else if(46===o&&(F?k:l))e.preventDefault(),Er(t,s,!1);else if(F&&a&&8===o)e.preventDefault(),Er(t,u,!0);else if(F&&a&&46===o)e.preventDefault(),Er(t,u,!1);else if(66===o&&!k&&(F?a:l))e.preventDefault(),Er(t,c,"bold");else if(85===o&&!k&&(F?a:l))e.preventDefault(),Er(t,c,"underline");else if(73===o&&!k&&(F?a:l))e.preventDefault(),Er(t,c,"italic");else if(9!==o||k||l||a)if(90===o&&!i&&(F?a:l))e.preventDefault(),Er(t,d,void 0);else{var T=F?90===o&&a&&i:89===o&&l||90===o&&l&&i;T?(e.preventDefault(),Er(t,f,void 0)):Wn(t._editorState._selection)?(T=!i&&(67===o&&(F?a:l)))?(e.preventDefault(),Er(t,L,e)):(T=!i&&(88===o&&(F?a:l)))?(e.preventDefault(),Er(t,M,e)):65===o&&(F?a:l)&&(e.preventDefault(),t.update((()=>{je()}))):!B&&65===o&&(F?a:l)&&(e.preventDefault(),t.update((()=>{je()})))}else Er(t,S,e);else 46===o?Er(t,w,e):(e.preventDefault(),Er(t,n,!1));else 8===o?Er(t,C,e):(e.preventDefault(),Er(t,n,!0));else Xt=!1,Er(t,x,e);else Er(t,y,e);else Er(t,b,e);else Er(t,v,e);else Er(t,g,e);else Er(t,m,e);else Er(t,h,e);(l||i||k||a)&&Er(t,I,e)}}}],["pointerdown",function(e,t){let n=e.target;e=e.pointerType,n instanceof Node&&"touch"!==e&&kr(t,(()=>{Nr(Le(n))||(qt=!0)}))}],["compositionstart",function(e,t){kr(t,(()=>{let n=tr();if(Fn(n)&&!t.isComposing()){let r=n.anchor,o=n.anchor.getNode();Te(r.key),(e.timeStamp<Kt+30||"element"===r.type||!n.isCollapsed()||o.getFormat()!==n.format||o.getStyle()!==n.style)&&Er(t,i,V)}}))}],["compositionend",function(e,t){B?Jt=!0:kr(t,(()=>{on(t,e.data)}))}],["input",function(e,t){e.stopPropagation(),kr(t,(()=>{var n=tr(),r=e.data,o=rn(e);if(null!=r&&Fn(n)&&en(n,o,r,e.timeStamp,!1)){Jt&&(on(t,r),Jt=!1);var l=n.anchor,a=l.getNode();if(null===(o=lt(t._window)))return;let s=l.offset;(l=H&&!n.isCollapsed()&&An(a)&&null!==o.anchorNode)&&(l=(a=a.getTextContent().slice(0,s)+r+a.getTextContent().slice(s+n.focus.offset))===(3===(o=o.anchorNode).nodeType?o.nodeValue:null)),l||Er(t,i,r),r=r.length,B&&1<r&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=r),j||W||G||!t.isComposing()||(Kt=0,Te(null))}else Be(!1,t,null!==r?r:void 0),Jt&&(on(t,r||void 0),Jt=!1);mr(),se(n=vr())})),Yt=null}],["click",function(e,n){kr(n,(()=>{let r=tr();var o=lt(n._window);let i=nr();if(o)if(Fn(r)){let t=r.anchor;var l=t.getNode();"element"===t.type&&0===t.offset&&r.isCollapsed()&&!Or(l)&&1===Pe().getChildrenSize()&&l.getTopLevelElementOrThrow().isEmpty()&&null!==i&&r.is(i)?(o.removeAllRanges(),r.dirty=!0):3!==e.detail||r.isCollapsed()||l!==(o=r.focus.getNode())&&(Ar(l)?l.select(0):l.getParentOrThrow().select(0))}else"touch"===e.pointerType&&(null!==(l=o.anchorNode)&&(1===(l=l.nodeType)||3===l))&&Ie(o=er(i,o,n));Er(n,t,e)}))}],["cut",jt],["copy",jt],["dragstart",jt],["dragover",jt],["dragend",jt],["paste",jt],["focus",jt],["blur",jt],["drop",jt]];H&&Wt.push(["beforeinput",(e,t)=>function(e,t){let p=e.inputType,h=rn(e);"deleteCompositionText"===p||B&&Ye(t)||"insertCompositionText"!==p&&kr(t,(()=>{let m=tr();if("deleteContentBackward"===p){if(null===m){var g=nr();if(!Fn(g))return;Ie(g.clone())}if(Fn(m))return void(229===Ut&&e.timeStamp<Kt+30&&t.isComposing()&&m.anchor.key===m.focus.key?(Te(null),Kt=0,setTimeout((()=>{kr(t,(()=>{Te(null)}))}),30),Fn(m)&&(g=m.anchor.getNode(),g.markDirty(),m.format=g.getFormat(),m.style=g.getStyle())):(e.preventDefault(),Er(t,n,!0)))}if(Fn(m)){g=e.data,null!==Yt&&Be(!1,t,Yt),m.dirty&&null===Yt||!m.isCollapsed()||Or(m.anchor.getNode())||null===h||m.applyDOMRange(h),Yt=null;var v=m.focus,b=m.anchor.getNode();if(v=v.getNode(),"insertText"===p||"insertTranspose"===p)"\n"===g?(e.preventDefault(),Er(t,r,!1)):"\n\n"===g?(e.preventDefault(),Er(t,o,void 0)):null==g&&e.dataTransfer?(g=e.dataTransfer.getData("text/plain"),e.preventDefault(),m.insertRawText(g)):null!=g&&en(m,h,g,e.timeStamp,!0)?(e.preventDefault(),Er(t,i,g)):Yt=g,Gt=e.timeStamp;else switch(e.preventDefault(),p){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":Er(t,i,e);break;case"insertFromComposition":Te(null),Er(t,i,e);break;case"insertLineBreak":Te(null),Er(t,r,!1);break;case"insertParagraph":Te(null),Xt&&!W?(Xt=!1,Er(t,r,!1)):Er(t,o,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Er(t,l,e);break;case"deleteByComposition":(function(e,t){return e!==t||Ar(e)||Ar(t)||!e.isToken()||!t.isToken()})(b,v)&&Er(t,a,e);break;case"deleteByDrag":case"deleteByCut":Er(t,a,e);break;case"deleteContent":Er(t,n,!1);break;case"deleteWordBackward":Er(t,s,!0);break;case"deleteWordForward":Er(t,s,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Er(t,u,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Er(t,u,!1);break;case"formatStrikeThrough":Er(t,c,"strikethrough");break;case"formatBold":Er(t,c,"bold");break;case"formatItalic":Er(t,c,"italic");break;case"formatUnderline":Er(t,c,"underline");break;case"historyUndo":Er(t,d,void 0);break;case"historyRedo":Er(t,f,void 0)}}}))}(e,t)]);let Kt=0,Ut=0,Gt=0,Yt=null,Vt=0,Qt=!1,qt=!1,Xt=!1,Jt=!1,Zt=[0,"",0,"root",0];function en(e,t,n,r,o){let i=e.anchor,l=e.focus,a=i.getNode();var s=vr();let u=lt(s._window),c=null!==u?u.anchorNode:null,d=i.key;s=s.getElementByKey(d);let f=n.length;return d!==l.key||!An(a)||(!o&&(!H||Gt<r+50)||a.isDirty()&&2>f||ze(n))&&i.offset!==l.offset&&!a.isComposing()||xe(a)||a.isDirty()&&1<f||(o||!H)&&null!==s&&!a.isComposing()&&c!==_e(s)||null!==u&&null!==t&&(!t.collapsed||t.startContainer!==u.anchorNode||t.startOffset!==u.anchorOffset)||a.getFormat()!==e.format||a.getStyle()!==e.style||function(e,t){if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;e=e.anchor.offset;let n=t.getParentOrThrow(),r=t.isToken();return 0===e?((e=!t.canInsertTextBefore()||!n.canInsertTextBefore()||r)||(e=(An(t=t.getPreviousSibling())||Ar(t)&&t.isInline())&&!t.canInsertTextAfter()),e):e===t.getTextContentSize()&&(!t.canInsertTextAfter()||!n.canInsertTextAfter()||r)}(e,a)}function tn(e,t){return null!==e&&null!==e.nodeValue&&3===e.nodeType&&0!==t&&t!==e.nodeValue.length}function nn(t,n,r){let{anchorNode:o,anchorOffset:i,focusNode:l,focusOffset:a}=t;Qt&&(Qt=!1,tn(o,i)&&tn(l,a))||kr(n,(()=>{if(r){if(be(n,o,l)){var i=tr();if(Fn(i)){var a=i.anchor,s=a.getNode();if(i.isCollapsed()){"Range"===t.type&&t.anchorNode===t.focusNode&&(i.dirty=!0);var u=Je(n).event;u=u?u.timeStamp:performance.now();let[e,r,o,l,c]=Zt;u<c+200&&a.offset===o&&a.key===l?(i.format=e,i.style=r):"text"===a.type?(i.format=s.getFormat(),i.style=s.getStyle()):"element"===a.type&&(i.format=0,i.style="")}else{a=255,s=!1;let e=(u=i.getNodes()).length;for(let t=0;t<e;t++){let e=u[t];if(An(e)&&(s=!0,0===(a&=e.getFormat())))break}i.format=s?a:0}}Er(n,e,void 0)}}else Ie(null)}))}function rn(e){return e.getTargetRanges?0===(e=e.getTargetRanges()).length?null:e[0]:null}function on(e,t){var n=e._compositionKey;if(Te(null),null!==n&&null!=t){if(""===t)return t=Re(n),void(null!==(e=_e(e.getElementByKey(n)))&&null!==e.nodeValue&&An(t)&&He(t,e.nodeValue,null,null,!0));if("\n"===t[t.length-1]&&Fn(n=tr()))return t=n.focus,n.anchor.set(t.key,t.offset,t.type),void Er(e,x,null)}Be(!0,e,t)}function ln(e){let t=e.__lexicalEventHandles;return void 0===t&&(t=[],e.__lexicalEventHandles=t),t}let an=new Map;function sn(e){let t=lt(null==(e=e.target)?null:9===e.nodeType?e.defaultView:e.ownerDocument.defaultView);if(null!==t){var n=ye(t.anchorNode);if(null!==n){qt&&(qt=!1,kr(n,(()=>{var e=nr(),r=t.anchorNode;null!==r&&(1===(r=r.nodeType)||3===r)&&Ie(e=er(e,t,n))})));var r=(e=(e=$e(n))[e.length-1])._key,o=an.get(r),i=o||e;i!==n&&nn(t,i,!1),nn(t,n,!0),n!==e?an.set(r,n):o&&an.delete(r)}}}function un(e,t,n){mr();var r=e.__key;let o=e.getParent();if(null!==o){var i=tr();if(Fn(i)&&Ar(e)){var{anchor:l,focus:a}=i,s=l.getNode(),u=a.getNode();Xe(s,e)&&l.set(e.__key,0,"element"),Xe(u,e)&&a.set(e.__key,0,"element")}if(u=!1,Fn(s=i)&&t){i=s.anchor;let t=s.focus;i.key===r&&(ir(i,e,o,e.getPreviousSibling(),e.getNextSibling()),u=!0),t.key===r&&(ir(t,e,o,e.getPreviousSibling(),e.getNextSibling()),u=!0)}else Wn(s)&&t&&e.isSelected()&&e.selectPrevious();Fn(s)&&t&&!u?(r=e.getIndexWithinParent(),Se(e),rr(s,o,r,-1)):Se(e),n||et(o)||o.canBeEmpty()||!o.isEmpty()||un(o,t),t&&Or(o)&&o.isEmpty()&&o.selectEnd()}}class cn{static getType(){D(64,this.name)}static clone(){D(65,this.name)}constructor(e){this.__type=this.constructor.getType(),this.__next=this.__prev=this.__parent=null,we(this,e)}getType(){return this.__type}isAttached(){for(var e=this.__key;null!==e;){if("root"===e)return!0;if(null===(e=Re(e)))break;e=e.__parent}return!1}isSelected(e){if(null==(e=e||tr()))return!1;let t=e.getNodes().some((e=>e.__key===this.__key));return(An(this)||!Fn(e)||"element"!==e.anchor.type||"element"!==e.focus.type||e.anchor.key!==e.focus.key||e.anchor.offset!==e.focus.offset)&&t}getKey(){return this.__key}getIndexWithinParent(){var e=this.getParent();if(null===e)return-1;e=e.getFirstChild();let t=0;for(;null!==e;){if(this.is(e))return t;t++,e=e.getNextSibling()}return-1}getParent(){let e=this.getLatest().__parent;return null===e?null:Re(e)}getParentOrThrow(){let e=this.getParent();return null===e&&D(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){let t=e.getParent();if(et(t))return e;e=t}return null}getTopLevelElementOrThrow(){let e=this.getTopLevelElement();return null===e&&D(67,this.__key),e}getParents(){let e=[],t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){let e=[],t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){let e=this.getLatest().__prev;return null===e?null:Re(e)}getPreviousSiblings(){let e=[];var t=this.getParent();if(null===t)return e;for(t=t.getFirstChild();null!==t&&!t.is(this);)e.push(t),t=t.getNextSibling();return e}getNextSibling(){let e=this.getLatest().__next;return null===e?null:Re(e)}getNextSiblings(){let e=[],t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){let t=this.getParents();var n=e.getParents();Ar(this)&&t.unshift(this),Ar(e)&&n.unshift(e),e=t.length;var r=n.length;if(0===e||0===r||t[e-1]!==n[r-1])return null;for(n=new Set(n),r=0;r<e;r++){let e=t[r];if(n.has(e))return e}return null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){if(this===e)return!1;if(e.isParentOf(this))return!0;if(this.isParentOf(e))return!1;var t=this.getCommonAncestor(e);let n=this;for(;;){var r=n.getParentOrThrow();if(r===t){r=n.getIndexWithinParent();break}n=r}for(n=e;;){if((e=n.getParentOrThrow())===t){t=n.getIndexWithinParent();break}n=e}return r<t}isParentOf(e){let t=this.__key;if(t===e.__key)return!1;for(;null!==e;){if(e.__key===t)return!0;e=e.getParent()}return!1}getNodesBetween(e){let t=this.isBefore(e),n=[],r=new Set;for(var o=this;;){var i=o.__key;if(r.has(i)||(r.add(i),n.push(o)),o===e)break;if(null!==(i=Ar(o)?t?o.getFirstChild():o.getLastChild():null))o=i;else if(null!==(i=t?o.getNextSibling():o.getPreviousSibling()))o=i;else{if(o=o.getParentOrThrow(),r.has(o.__key)||n.push(o),o===e)break;i=o;do{null===i&&D(68),o=t?i.getNextSibling():i.getPreviousSibling(),null!==(i=i.getParent())&&(null!==o||r.has(i.__key)||n.push(i))}while(null===o)}}return t||n.reverse(),n}isDirty(){let e=vr()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){let e=Re(this.__key);return null===e&&D(113),e}getWritable(){mr();var e=gr(),t=vr();e=e._nodeMap;let n=this.__key,r=this.getLatest(),o=r.__parent;t=t._cloneNotNeeded;var i=tr();return null!==i&&(i._cachedNodes=null),t.has(n)?(ke(r),r):((i=r.constructor.clone(r)).__parent=o,i.__next=r.__next,i.__prev=r.__prev,Ar(r)&&Ar(i)?(i.__first=r.__first,i.__last=r.__last,i.__size=r.__size,i.__indent=r.__indent,i.__format=r.__format,i.__dir=r.__dir):An(r)&&An(i)&&(i.__format=r.__format,i.__style=r.__style,i.__mode=r.__mode,i.__detail=r.__detail),t.add(n),i.__key=n,ke(i),e.set(n,i),i)}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(){D(70)}updateDOM(){D(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){D(72)}static importJSON(){D(18,this.name)}static transform(){return null}remove(e){un(this,!0,e)}replace(e,t){mr();var n=tr();null!==n&&(n=n.clone()),rt(this,e);let r=this.getLatest(),o=this.__key,i=e.__key,l=e.getWritable(),a=(e=this.getParentOrThrow().getWritable()).__size;Se(l);let s=r.getPreviousSibling(),u=r.getNextSibling(),c=r.__prev,d=r.__next,f=r.__parent;return un(r,!1,!0),null===s?e.__first=i:s.getWritable().__next=i,l.__prev=c,null===u?e.__last=i:u.getWritable().__prev=i,l.__next=d,l.__parent=f,e.__size=a,t&&this.getChildren().forEach((e=>{l.append(e)})),Fn(n)&&(Ie(n),t=n.anchor,n=n.focus,t.key===o&&In(t,l),n.key===o&&In(n,l)),Ne()===o&&Te(i),l}insertAfter(e,t=!0){mr(),rt(this,e);var n=this.getWritable();let r=e.getWritable();var o=r.getParent();let i=tr();var l=!1,a=!1;if(null!==o){var s=e.getIndexWithinParent();Se(r),Fn(i)&&(a=o.__key,l=i.anchor,o=i.focus,l="element"===l.type&&l.key===a&&l.offset===s+1,a="element"===o.type&&o.key===a&&o.offset===s+1)}o=this.getNextSibling(),s=this.getParentOrThrow().getWritable();let u=r.__key,c=n.__next;return null===o?s.__last=u:o.getWritable().__prev=u,s.__size++,n.__next=u,r.__next=c,r.__prev=n.__key,r.__parent=n.__parent,t&&Fn(i)&&(rr(i,s,(t=this.getIndexWithinParent())+1),n=s.__key,l&&i.anchor.set(n,t+2,"element"),a&&i.focus.set(n,t+2,"element")),e}insertBefore(e,t=!0){mr(),rt(this,e);var n=this.getWritable();let r=e.getWritable(),o=r.__key;Se(r);let i=this.getPreviousSibling(),l=this.getParentOrThrow().getWritable(),a=n.__prev,s=this.getIndexWithinParent();return null===i?l.__first=o:i.getWritable().__next=o,l.__size++,n.__prev=o,r.__prev=a,r.__next=n.__key,r.__parent=n.__parent,n=tr(),t&&Fn(n)&&rr(n,t=this.getParentOrThrow(),s),e}isParentRequired(){return!1}createParentElementNode(){return Fr()}selectPrevious(e,t){mr();let n=this.getPreviousSibling(),r=this.getParentOrThrow();return null===n?r.select(0,0):Ar(n)?n.select():An(n)?n.select(e,t):(e=n.getIndexWithinParent()+1,r.select(e,e))}selectNext(e,t){mr();let n=this.getNextSibling(),r=this.getParentOrThrow();return null===n?r.select():Ar(n)?n.select(0,0):An(n)?n.select(e,t):(e=n.getIndexWithinParent(),r.select(e,e))}markDirty(){this.getWritable()}}class dn extends cn{static getType(){return"linebreak"}static clone(e){return new dn(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>{let t,n,r=e.parentElement;return null!==r&&((t=r.firstChild)===e||t.nextSibling===e&&3===t.nodeType&&null!==(t.textContent||"").match(/^[\s|\r?\n|\t]+$/))&&((n=r.lastChild)===e||n.previousSibling===e&&3===n.nodeType&&null!==(n.textContent||"").match(/^[\s|\r?\n|\t]+$/))?null:{conversion:fn,priority:0}}}}static importJSON(){return pn()}exportJSON(){return{type:"linebreak",version:1}}}function fn(){return{node:pn()}}function pn(){return nt(new dn)}function hn(e){return e instanceof dn}function mn(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function gn(e,t){return 1&t?"strong":2&t?"em":"span"}function vn(e,t,n,r,o){e=r.classList,void 0!==(r=We(o,"base"))&&e.add(...r);let i=!1,l=8&t&&4&t;var a=8&n&&4&n;void 0!==(r=We(o,"underlineStrikethrough"))&&(a?(i=!0,l||e.add(...r)):l&&e.remove(...r));for(let s in X)a=X[s],void 0!==(r=We(o,s))&&(n&a&&(!i||"underline"!==s&&"strikethrough"!==s)?(!(t&a)||l&&"underline"===s||"strikethrough"===s)&&e.add(...r):t&a&&e.remove(...r))}function bn(e,t,n){let r=t.firstChild;if(e+=(n=n.isComposing())?Y:"",null==r)t.textContent=e;else if((t=r.nodeValue)!==e)if(n||B){n=t.length;let o=e.length,i=0,l=0;for(;i<n&&i<o&&t[i]===e[i];)i++;for(;l+i<n&&l+i<o&&t[n-l-1]===e[o-l-1];)l++;e=[i,n-i-l,e.slice(i,o-l)];let[a,s,u]=e;0!==s&&r.deleteData(a,s),r.insertData(a,u)}else r.nodeValue=e}function yn(e,t){return(t=document.createElement(t)).appendChild(e),t}class xn extends cn{static getType(){return"text"}static clone(e){return new xn(e.__text,e.__key)}constructor(e,t){super(t),this.__text=e,this.__format=0,this.__style="",this.__detail=this.__mode=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){let e=this.getLatest();return ne[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===Ne()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){return e=X[e],!!(this.getFormat()&e)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return Ce(this.getLatest().__format,e,t)}createDOM(e){var t=this.__format,n=mn(0,t);let r=gn(0,t),o=document.createElement(null===n?r:n),i=o;return null!==n&&(i=document.createElement(r),o.appendChild(i)),n=i,bn(this.__text,n,this),void 0!==(e=e.theme.text)&&vn(r,0,t,n,e),""!==(t=this.__style)&&(o.style.cssText=t),o}updateDOM(e,t,n){let r=this.__text;var o=e.__format,i=this.__format,l=mn(0,o);let a=mn(0,i);var s=gn(0,o);let u=gn(0,i);return(null===l?s:l)!==(null===a?u:a)||(l===a&&s!==u?(null==(o=t.firstChild)&&D(48),bn(r,e=l=document.createElement(u),this),void 0!==(n=n.theme.text)&&vn(u,0,i,e,n),t.replaceChild(l,o),!1):(s=t,null!==a&&null!==l&&(null==(s=t.firstChild)&&D(49)),bn(r,s,this),void 0!==(n=n.theme.text)&&o!==i&&vn(u,o,i,s,n),i=this.__style,e.__style!==i&&(t.style.cssText=i),!1))}static importDOM(){return{"#text":()=>({conversion:wn,priority:0}),b:()=>({conversion:Cn,priority:0}),code:()=>({conversion:Nn,priority:0}),em:()=>({conversion:Nn,priority:0}),i:()=>({conversion:Nn,priority:0}),s:()=>({conversion:Nn,priority:0}),span:()=>({conversion:_n,priority:0}),strong:()=>({conversion:Nn,priority:0}),sub:()=>({conversion:Nn,priority:0}),sup:()=>({conversion:Nn,priority:0}),u:()=>({conversion:Nn,priority:0})}}static importJSON(e){let t=Rn(e.text);return t.setFormat(e.format),t.setDetail(e.detail),t.setMode(e.mode),t.setStyle(e.style),t}exportDOM(e){return({element:e}=super.exportDOM(e)),null!==e&&(this.hasFormat("bold")&&(e=yn(e,"b")),this.hasFormat("italic")&&(e=yn(e,"i")),this.hasFormat("strikethrough")&&(e=yn(e,"s")),this.hasFormat("underline")&&(e=yn(e,"u"))),{element:e}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),type:"text",version:1}}selectionTransform(){}setFormat(e){let t=this.getWritable();return t.__format="string"==typeof e?X[e]:e,t}setDetail(e){let t=this.getWritable();return t.__detail="string"==typeof e?J[e]:e,t}setStyle(e){let t=this.getWritable();return t.__style=e,t}toggleFormat(e){return e=X[e],this.setFormat(this.getFormat()^e)}toggleDirectionless(){let e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){let e=this.getWritable();return e.__detail^=2,e}setMode(e){if(e=te[e],this.__mode===e)return this;let t=this.getWritable();return t.__mode=e,t}setTextContent(e){if(this.__text===e)return this;let t=this.getWritable();return t.__text=e,t}select(e,t){mr();let n=tr();var r=this.getTextContent();let o=this.__key;return"string"==typeof r?(r=r.length,void 0===e&&(e=r),void 0===t&&(t=r)):t=e=0,Fn(n)?((r=Ne())!==n.anchor.key&&r!==n.focus.key||Te(o),n.setTextNodeRange(this,e,this,t),n):Jn(o,e,o,t,"text","text")}spliceText(e,t,n,r){let o=this.getWritable(),i=o.__text,l=n.length,a=e;0>a&&(a=l+a,0>a&&(a=0));let s=tr();return r&&Fn(s)&&(e+=l,s.setTextNodeRange(o,e,o,e)),t=i.slice(0,a)+n+i.slice(a+t),o.__text=t,o}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){mr();var t=this.getLatest(),n=t.getTextContent(),r=t.__key,o=Ne(),i=new Set(e);e=[];for(var l=n.length,a="",s=0;s<l;s++)""!==a&&i.has(s)&&(e.push(a),a=""),a+=n[s];if(""!==a&&e.push(a),0===(i=e.length))return[];if(e[0]===n)return[t];var u=e[0];n=t.getParentOrThrow(),s=t.getFormat();let c=t.getStyle(),d=t.__detail;l=!1,t.isSegmented()?((a=Rn(u)).__format=s,a.__style=c,a.__detail=d,l=!0):(a=t.getWritable()).__text=u,t=tr(),a=[a],u=u.length;for(let n=1;n<i;n++){var f=e[n],p=f.length;(f=Rn(f).getWritable()).__format=s,f.__style=c,f.__detail=d;let i=f.__key;if(p=u+p,Fn(t)){let e=t.anchor,n=t.focus;e.key===r&&"text"===e.type&&e.offset>u&&e.offset<=p&&(e.key=i,e.offset-=u,t.dirty=!0),n.key===r&&"text"===n.type&&n.offset>u&&n.offset<=p&&(n.key=i,n.offset-=u,t.dirty=!0)}o===r&&Te(i),u=p,a.push(f)}return r=this.getPreviousSibling(),o=this.getNextSibling(),null!==r&&ke(r),null!==o&&ke(o),r=n.getWritable(),o=this.getIndexWithinParent(),l?(r.splice(o,0,a),this.remove()):r.splice(o,1,a),Fn(t)&&rr(t,n,o,i-1),a}mergeWithSibling(e){var t=e===this.getPreviousSibling();t||e===this.getNextSibling()||D(50);var n=this.__key;let r=e.__key,o=this.__text,i=o.length;Ne()===r&&Te(n);let l=tr();if(Fn(l)){let o=l.anchor,a=l.focus;null!==o&&o.key===r&&(lr(o,t,n,e,i),l.dirty=!0),null!==a&&a.key===r&&(lr(a,t,n,e,i),l.dirty=!0)}return n=e.__text,this.setTextContent(t?n+o:o+n),t=this.getWritable(),e.remove(),t}isTextEntity(){return!1}}function _n(e){let t="700"===e.style.fontWeight,n="line-through"===e.style.textDecoration,r="italic"===e.style.fontStyle,o="underline"===e.style.textDecoration,i=e.style.verticalAlign;return{forChild:e=>An(e)?(t&&e.toggleFormat("bold"),n&&e.toggleFormat("strikethrough"),r&&e.toggleFormat("italic"),o&&e.toggleFormat("underline"),"sub"===i&&e.toggleFormat("subscript"),"super"===i&&e.toggleFormat("superscript"),e):e,node:null}}function Cn(e){let t="normal"===e.style.fontWeight;return{forChild:e=>(An(e)&&!t&&e.toggleFormat("bold"),e),node:null}}let En=new WeakMap;function wn(e){null===e.parentElement&&D(129);for(var t,n=e.textContent||"",r=e.parentNode,o=[e];null!==r&&void 0===(t=En.get(r))&&!("PRE"===r.nodeName||1===r.nodeType&&r.style.whiteSpace.startsWith("pre"));)o.push(r),r=r.parentNode;for(t=void 0===t?r:t,r=0;r<o.length;r++)En.set(o[r],t);if(null!==t){for(e=[],o=(n=n.split(/(\r?\n|\t)/)).length,t=0;t<o;t++)"\n"===(r=n[t])||"\r\n"===r?e.push(pn()):"\t"===r?e.push(Mn()):""!==r&&e.push(Rn(r));return{node:e}}if(""===(n=n.replace(/\r?\n|\t/gm," ").replace("\r","").replace(/\s+/g," ")))return{node:null};if(" "===n[0]){for(o=e,t=!0;null!==o&&null!==(o=kn(o,!1));)if(0<(r=o.textContent||"").length){r.match(/(?:\s|\r?\n|\t)$/)&&(n=n.slice(1)),t=!1;break}t&&(n=n.slice(1))}if(" "===n[n.length-1]){for(o=!0;null!==e&&null!==(e=kn(e,!0));)if(0<(e.textContent||"").replace(/^[\s|\r?\n|\t]+/,"").length){o=!1;break}o&&(n=n.slice(0,n.length-1))}return""===n?{node:null}:{node:Rn(n)}}let Sn=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/,"i");function kn(e,t){for(;;){for(var n=void 0;null===(n=t?e.nextSibling:e.previousSibling);)if(null===(e=e.parentElement))return null;if(1===(e=n).nodeType&&(""===(n=e.style.display)&&null===e.nodeName.match(Sn)||""!==n&&!n.startsWith("inline")))return null;for(;null!==(n=t?e.firstChild:e.lastChild);)e=n;if(3===e.nodeType)return e;if("BR"===e.nodeName)return null}}let Tn={code:"code",em:"italic",i:"italic",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function Nn(e){let t=Tn[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:e=>(An(e)&&!e.hasFormat(t)&&e.toggleFormat(t),e),node:null}}function Rn(e=""){return nt(new xn(e))}function An(e){return e instanceof xn}class Ln extends xn{static getType(){return"tab"}static clone(e){let t=new Ln(e.__key);return t.__text=e.__text,t.__format=e.__format,t.__style=e.__style,t}constructor(e){super("\t",e),this.__detail=2}static importDOM(){return null}static importJSON(e){let t=Mn();return t.setFormat(e.format),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),type:"tab",version:1}}setTextContent(){D(126)}setDetail(){D(127)}setMode(){D(128)}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function Mn(){return nt(new Ln)}class On{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){let t=this.getNode(),n=e.getNode(),r=this.offset;if(e=e.offset,Ar(t)){var o=t.getDescendantByIndex(r);t=null!=o?o:t}return Ar(n)&&(o=n.getDescendantByIndex(e),n=null!=o?o:n),t===n?r<e:t.isBefore(n)}getNode(){let e=Re(this.key);return null===e&&D(20),e}set(e,t,n){let r=this._selection,o=this.key;this.key=e,this.offset=t,this.type=n,hr()||(Ne()===o&&Te(e),null!==r&&(r._cachedNodes=null,r.dirty=!0))}}function Pn(e,t){let n=t.__key,r=e.offset,o="element";if(An(t))o="text",r>(t=t.getTextContentSize())&&(r=t);else if(!Ar(t)){var i=t.getNextSibling();An(i)?(n=i.__key,r=0,o="text"):(i=t.getParent())&&(n=i.__key,r=t.getIndexWithinParent()+1)}e.set(n,r,o)}function In(e,t){if(Ar(t)){let n=t.getLastDescendant();Ar(n)||An(n)?Pn(e,n):Pn(e,t)}else Pn(e,t)}function Dn(e,t,n,r){let o=e.getNode(),i=o.getChildAtIndex(e.offset),l=Rn(),a=Or(o)?Fr().append(l):l;l.setFormat(n),l.setStyle(r),null===i?o.append(a):(i.insertBefore(a),"element"===t.type&&t.key===e.key&&t.offset!==e.offset&&t.set(t.key,t.offset+1,"element")),e.is(t)&&t.set(l.__key,0,"text"),e.set(l.__key,0,"text")}function zn(e,t,n,r){e.key=t,e.offset=n,e.type=r}class $n{constructor(e){this.dirty=!1,this._nodes=e,this._cachedNodes=null}is(e){if(!Wn(e))return!1;let t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every((e=>n.has(e)))}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new $n(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(){}insertText(){}insertNodes(e,t){let n=this.getNodes(),r=n.length;var o=n[r-1];if(An(o))o=o.select();else{let e=o.getIndexWithinParent()+1;o=o.getParentOrThrow().select(e,e)}for(o.insertNodes(e,t),e=0;e<r;e++)n[e].remove();return!0}getNodes(){var e=this._cachedNodes;if(null!==e)return e;var t=this._nodes;e=[];for(let n of t)null!==(t=Re(n))&&e.push(t);return hr()||(this._cachedNodes=e),e}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function Fn(e){return e instanceof jn}class Bn{constructor(e,t,n){this.gridKey=e,this.anchor=t,this.focus=n,this.dirty=!1,this._cachedNodes=null,t._selection=this,n._selection=this}is(e){return!!Hn(e)&&(this.gridKey===e.gridKey&&this.anchor.is(e.anchor)&&this.focus.is(e.focus))}set(e,t,n){this.dirty=!0,this.gridKey=e,this.anchor.key=t,this.focus.key=n,this._cachedNodes=null}clone(){return new Bn(this.gridKey,this.anchor,this.focus)}isCollapsed(){return!1}isBackward(){return this.focus.isBefore(this.anchor)}getCharacterOffsets(){return Un(this)}extract(){return this.getNodes()}insertRawText(){}insertText(){}insertNodes(e,t){let n=this.focus.getNode();return pe(n.select(0,n.getChildrenSize())).insertNodes(e,t)}getShape(){var e=Re(this.anchor.key);null===e&&D(21);var t=e.getIndexWithinParent();e=e.getParentOrThrow().getIndexWithinParent();var n=Re(this.focus.key);null===n&&D(22);var r=n.getIndexWithinParent();let o=n.getParentOrThrow().getIndexWithinParent();return n=Math.min(t,r),t=Math.max(t,r),r=Math.min(e,o),e=Math.max(e,o),{fromX:Math.min(n,t),fromY:Math.min(r,e),toX:Math.max(n,t),toY:Math.max(r,e)}}getNodes(){function e(e){let{cell:t,startColumn:n,startRow:r}=e;a=Math.min(a,n),s=Math.min(s,r),u=Math.max(u,n+t.__colSpan-1),c=Math.max(c,r+t.__rowSpan-1)}var t=this._cachedNodes;if(null!==t)return t;var n=this.anchor.getNode();t=this.focus.getNode(),n=st(n,Wr);var r=st(t,Wr);Wr(n)||D(103),Wr(r)||D(104),Yr(t=n.getParent())||D(105),Ur(t=t.getParent())||D(106);let[o,i,l]=ar(t,n,r),a=Math.min(i.startColumn,l.startColumn),s=Math.min(i.startRow,l.startRow),u=Math.max(i.startColumn+i.cell.__colSpan-1,l.startColumn+l.cell.__colSpan-1),c=Math.max(i.startRow+i.cell.__rowSpan-1,l.startRow+l.cell.__rowSpan-1);n=a,r=s;for(var d=a,f=s;a<n||s<r||u>d||c>f;){if(a<n){var p=f-r;--n;for(var h=0;h<=p;h++)e(o[r+h][n])}if(s<r)for(p=d-n,--r,h=0;h<=p;h++)e(o[r][n+h]);if(u>d)for(p=f-r,d+=1,h=0;h<=p;h++)e(o[r+h][d]);if(c>f)for(p=d-n,f+=1,h=0;h<=p;h++)e(o[f][n+h])}for(t=[t],n=null,r=s;r<=c;r++)for(d=a;d<=u;d++)({cell:f}=o[r][d]),Yr(p=f.getParent())||D(107),p!==n&&t.push(p),t.push(f,...ut(f)),n=p;return hr()||(this._cachedNodes=t),t}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function Hn(e){return e instanceof Bn}class jn{constructor(e,t,n,r){this.anchor=e,this.focus=t,this.dirty=!1,this.format=n,this.style=r,this._cachedNodes=null,e._selection=this,t._selection=this}is(e){return!!Fn(e)&&(this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style)}isBackward(){return this.focus.isBefore(this.anchor)}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){var e=this._cachedNodes;if(null!==e)return e;e=this.anchor;var t=this.focus,n=e.isBefore(t),r=n?e:t;n=n?t:e,e=r.getNode(),t=n.getNode();let o=r.offset;return r=n.offset,Ar(e)&&(n=e.getDescendantByIndex(o),e=null!=n?n:e),Ar(t)&&(null!==(n=t.getDescendantByIndex(r))&&n!==e&&t.getChildAtIndex(r)===n&&(n=n.getPreviousSibling()),t=null!=n?n:t),e=e.is(t)?Ar(e)&&0<e.getChildrenSize()?[]:[e]:e.getNodesBetween(t),hr()||(this._cachedNodes=e),e}setTextNodeRange(e,t,n,r){zn(this.anchor,e.__key,t,"text"),zn(this.focus,n.__key,r,"text"),this._cachedNodes=null,this.dirty=!0}getTextContent(){let e=this.getNodes();if(0===e.length)return"";let t=e[0],n=e[e.length-1],r=this.anchor,o=this.focus,i=r.isBefore(o),[l,a]=Un(this),s="",u=!0;for(let c=0;c<e.length;c++){let d=e[c];if(Ar(d)&&!d.isInline())u||(s+="\n"),u=!d.isEmpty();else if(u=!1,An(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===o.type&&o.offset!==r.offset||(e=l<a?e.slice(l,a):e.slice(a,l)):e=i?e.slice(l):e.slice(a):d===n&&(e=i?e.slice(0,a):e.slice(0,l)),s+=e}else!Nr(d)&&!hn(d)||d===n&&this.isCollapsed()||(s+=d.getTextContent())}return s}applyDOMRange(e){let t=vr(),n=t.getEditorState()._selection;if(null!==(e=qn(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n))){var[r,o]=e;zn(this.anchor,r.key,r.offset,r.type),zn(this.focus,o.key,o.offset,o.type),this._cachedNodes=null}}clone(){let e=this.anchor,t=this.focus;return new jn(new On(e.key,e.offset,e.type),new On(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=Ce(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){return!!(this.format&X[e])}insertRawText(e){let t=[],n=(e=e.split(/(\r?\n|\t)/)).length;for(let r=0;r<n;r++){let n=e[r];"\n"===n||"\r\n"===n?t.push(pn()):"\t"===n?t.push(Mn()):t.push(Rn(n))}this.insertNodes(t)}insertText(e){var t=this.anchor,n=this.focus,r=this.isCollapsed()||t.isBefore(n),o=this.format,i=this.style;r&&"element"===t.type?Dn(t,n,o,i):r||"element"!==n.type||Dn(n,t,o,i);var l=this.getNodes(),a=l.length,s=r?n:t;n=(r?t:n).offset;var u=s.offset;An(t=l[0])||D(26),r=t.getTextContent().length;var c=t.getParentOrThrow(),d=l[a-1];if(this.isCollapsed()&&n===r&&(t.isSegmented()||t.isToken()||!t.canInsertTextAfter()||!c.canInsertTextAfter()&&null===t.getNextSibling())){var f=t.getNextSibling();if(An(f)&&f.canInsertTextBefore()&&!xe(f)||((f=Rn()).setFormat(o),c.canInsertTextAfter()?t.insertAfter(f):c.insertAfter(f)),f.select(0,0),t=f,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===n&&(t.isSegmented()||t.isToken()||!t.canInsertTextBefore()||!c.canInsertTextBefore()&&null===t.getPreviousSibling())){if(An(f=t.getPreviousSibling())&&!xe(f)||((f=Rn()).setFormat(o),c.canInsertTextBefore()?t.insertBefore(f):c.insertBefore(f)),f.select(),t=f,""!==e)return void this.insertText(e)}else if(t.isSegmented()&&n!==r)(c=Rn(t.getTextContent())).setFormat(o),t.replace(c),t=c;else if(!(this.isCollapsed()||""===e||(f=d.getParent(),c.canInsertTextBefore()&&c.canInsertTextAfter()&&(!Ar(f)||f.canInsertTextBefore()&&f.canInsertTextAfter()))))return this.insertText(""),Qn(this.anchor,this.focus,null),void this.insertText(e);if(1===a)if(t.isToken())(e=Rn(e)).select(),t.replace(e);else{if(l=t.getFormat(),a=t.getStyle(),n===u&&(l!==o||a!==i)){if(""!==t.getTextContent())return(l=Rn(e)).setFormat(o),l.setStyle(i),l.select(),0===n?t.insertBefore(l,!1):([a]=t.splitText(n),a.insertAfter(l,!1)),void(l.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length));t.setFormat(o),t.setStyle(i)}""===(t=t.spliceText(n,u-n,e,!0)).getTextContent()?t.remove():"text"===this.anchor.type&&(t.isComposing()?this.anchor.offset-=e.length:(this.format=l,this.style=a))}else{if(o=new Set([...t.getParentKeys(),...d.getParentKeys()]),f=Ar(t)?t:t.getParentOrThrow(),i=Ar(d)?d:d.getParentOrThrow(),c=d,!f.is(i)&&i.isInline())do{c=i,i=i.getParentOrThrow()}while(i.isInline());"text"===s.type&&(0!==u||""===d.getTextContent())||"element"===s.type&&d.getIndexWithinParent()<u?An(d)&&!d.isToken()&&u!==d.getTextContentSize()?(d.isSegmented()&&(s=Rn(d.getTextContent()),d.replace(s),d=s),d=d.spliceText(0,u,""),o.add(d.__key)):(s=d.getParentOrThrow()).canBeEmpty()||1!==s.getChildrenSize()?d.remove():s.remove():o.add(d.__key),s=i.getChildren(),u=new Set(l),d=f.is(i),f=f.isInline()&&null===t.getNextSibling()?f:t;for(let e=s.length-1;0<=e;e--){let n=s[e];if(n.is(t)||Ar(n)&&n.isParentOf(t))break;n.isAttached()&&(!u.has(n)||n.is(c)?d||f.insertAfter(n,!1):n.remove())}if(!d)for(s=i,u=null;null!==s;)(0===(d=(i=s.getChildren()).length)||i[d-1].is(u))&&(o.delete(s.__key),u=s),s=s.getParent();for(t.isToken()?n===r?t.select():((e=Rn(e)).select(),t.replace(e)):""===(t=t.spliceText(n,r-n,e,!0)).getTextContent()?t.remove():t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length),e=1;e<a;e++)t=l[e],o.has(t.__key)||t.remove()}}removeText(){this.insertText("")}formatText(e){if(this.isCollapsed())this.toggleFormat(e),Te(null);else{var t=this.getNodes(),n=[];for(var r of t)An(r)&&n.push(r);var o=n.length;if(0===o)this.toggleFormat(e),Te(null);else{r=this.anchor;var i=this.focus,l=this.isBackward();t=l?i:r,r=l?r:i;var a=0,s=n[0];if(i="element"===t.type?0:t.offset,"text"===t.type&&i===s.getTextContentSize()&&(a=1,s=n[1],i=0),null!=s){l=s.getFormatFlags(e,null);var u=o-1,c=n[u];if(o="text"===r.type?r.offset:c.getTextContentSize(),s.is(c))i!==o&&(0===i&&o===s.getTextContentSize()?s.setFormat(l):(e=s.splitText(i,o),(e=0===i?e[0]:e[1]).setFormat(l),"text"===t.type&&t.set(e.__key,0,"text"),"text"===r.type&&r.set(e.__key,o-i,"text")),this.format=l);else{0!==i&&([,s]=s.splitText(i),i=0),s.setFormat(l);var d=c.getFormatFlags(e,l);for(0<o&&(o!==c.getTextContentSize()&&([c]=c.splitText(o)),c.setFormat(d)),a+=1;a<u;a++){let t=n[a];if(!t.isToken()){let n=t.getFormatFlags(e,d);t.setFormat(n)}}"text"===t.type&&t.set(s.__key,i,"text"),"text"===r.type&&r.set(c.__key,o,"text"),this.format=l|d}}}}}insertNodes(e,t){if(!this.isCollapsed()){var n=this.isBackward()?this.anchor:this.focus,r=n.getNode().getNextSibling();if(r=r?r.getKey():null,n=(n=n.getNode().getPreviousSibling())?n.getKey():null,this.removeText(),this.isCollapsed()&&"element"===this.focus.type){if(this.focus.key===r&&0===this.focus.offset){var o=Rn();this.focus.getNode().insertBefore(o)}else this.focus.key===n&&this.focus.offset===this.focus.getNode().getChildrenSize()&&(o=Rn(),this.focus.getNode().insertAfter(o));o&&(this.focus.set(o.__key,0,"text"),this.anchor.set(o.__key,0,"text"))}}n=(o=this.anchor).offset;var i=o.getNode();r=i,"element"===o.type&&(r=null===(r=(o=o.getNode()).getChildAtIndex(n-1))?o:r),o=[];var l=i.getNextSiblings(),a=et(i)?null:i.getTopLevelElementOrThrow();if(An(i))if(r=i.getTextContent().length,0===n&&0!==r)r=null!==(r=i.getPreviousSibling())?r:i.getParentOrThrow(),o.push(i);else if(n===r)r=i;else{if(i.isToken())return!1;[r,i]=i.splitText(n),o.push(i)}i=r,o.push(...l),l=e[0];var s=!1,u=null;for(let t=0;t<e.length;t++){var c=e[t];if(et(r)||Nr(r)||!Ar(c)||c.isInline())s&&!Ar(c)&&!Nr(c)&&et(r.getParent())&&D(28);else{if(c.is(l)){if(Ar(r)&&r.isEmpty()&&r.canReplaceWith(c)){r.replace(c),r=c,s=!0;continue}if(Ee(s=c.getFirstDescendant())){for(var d=s.getParentOrThrow();d.isInline();)d=d.getParentOrThrow();if(s=(u=d.getChildren()).length,Ar(r)){var f=r.getFirstChild();for(let e=0;e<s;e++){let t=u[e];null===f?r.append(t):f.insertAfter(t),f=t}}else{for(f=s-1;0<=f;f--)r.insertAfter(u[f]);r=r.getParentOrThrow()}if(u=u[s-1],d.remove(),s=!0,d.is(c))continue}}An(r)&&(null===a&&D(27),r=a)}s=!1,Ar(r)&&!r.isInline()?(u=c,Nr(c)&&!c.isInline()?r=r.insertAfter(c,!1):Ar(c)?!c.canBeEmpty()&&c.isEmpty()||(Or(r)?(null!==(d=r.getChildAtIndex(n))?d.insertBefore(c):r.append(c),r=c):c.isInline()?(r.append(c),r=c):r=r.insertAfter(c,!1)):(null!==(d=r.getFirstChild())?d.insertBefore(c):r.append(c),r=c)):!Ar(c)||Ar(c)&&c.isInline()||Nr(r)&&!r.isInline()?(u=c,Fn(this)&&Nr(c)&&(Ar(r)||An(r))&&!c.isInline()?(An(r)?(d=r.getParentOrThrow(),[r]=r.splitText(n),r=r.getIndexWithinParent()+1):(d=r,r=n),[,r]=at(d,r),r=r.insertBefore(c)):r=r.insertAfter(c,!1)):(c=r.getParentOrThrow(),hn(r)&&r.remove(),r=c,t--)}if(t&&(An(i)?i.select():An(e=r.getPreviousSibling())?e.select():(e=r.getIndexWithinParent(),r.getParentOrThrow().select(e,e))),Ar(r)){if(e=An(u)?u:Ar(u)&&u.isInline()?u.getLastDescendant():r.getLastDescendant(),t||(null===e?r.select():An(e)?""===e.getTextContent()?e.selectPrevious():e.select():e.selectNext()),0!==o.length)for(t=r,e=o.length-1;0<=e;e--)a=(n=o[e]).getParentOrThrow(),!Ar(r)||Xn(n)||Nr(n)&&(!n.isInline()||n.isIsolated())?Ar(r)||Xn(n)?Ar(n)&&!n.canInsertAfter(r)?(Ar(i=a.constructor.clone(a))||D(29),i.append(n),r.insertAfter(i)):r.insertAfter(n):(r.insertBefore(n),r=n):(t===r?r.append(n):r.insertBefore(n),r=n),a.isEmpty()&&!a.canBeEmpty()&&a.remove()}else t||(An(r)?r.select():(t=r.getParentOrThrow(),e=r.getIndexWithinParent()+1,t.select(e,e)));return!0}insertParagraph(){this.isCollapsed()||this.removeText();var e=this.anchor,t=e.offset,n=[];if("text"===e.type){var r=e.getNode(),o=r.getNextSiblings().reverse(),i=r.getParentOrThrow(),l=i.isInline(),a=l?i.getTextContentSize():r.getTextContentSize();0===t?o.push(r):(l&&(n=i.getNextSiblings()),t===a||l&&t===r.getTextContentSize()||([,r]=r.splitText(t),o.push(r)))}else{if(et(i=e.getNode()))return o=Fr(),n=i.getChildAtIndex(t),o.select(),void(null!==n?n.insertBefore(o,!1):i.append(o));o=i.getChildren().slice(t).reverse()}if(r=o.length,0===t&&0<r&&i.isInline()){if(Ar(o=(n=i.getParentOrThrow()).insertNewAfter(this,!1)))for(n=n.getChildren(),i=0;i<n.length;i++)o.append(n[i])}else if(null===(l=i.insertNewAfter(this,!1)))this.insertLineBreak();else if(Ar(l))if(a=i.getFirstChild(),0===t&&(i.is(e.getNode())||a&&a.is(e.getNode()))&&0<r)i.insertBefore(l);else{if(i=null,t=n.length,e=l.getParentOrThrow(),0<t)for(a=0;a<t;a++)e.append(n[a]);if(0!==r)for(n=0;n<r;n++)t=o[n],null===i?l.append(t):i.insertBefore(t),i=t;l.canBeEmpty()||0!==l.getChildrenSize()?l.selectStart():(l.selectPrevious(),l.remove())}}insertLineBreak(e){let t=pn();var n=this.anchor;"element"===n.type&&(Or(n=n.getNode())&&this.insertParagraph()),e?this.insertNodes([t],!0):this.insertNodes([t])&&t.selectNext(0,0)}getCharacterOffsets(){return Un(this)}extract(){var e=this.getNodes(),t=e.length,n=t-1,r=this.anchor;let o=this.focus;var i=e[0];let l=e[n],[a,s]=Un(this);return 0===t?[]:1===t?An(i)&&!this.isCollapsed()?(e=a>s?s:a,n=i.splitText(e,a>s?a:s),null!=(e=0===e?n[0]:n[1])?[e]:[]):[i]:(t=r.isBefore(o),An(i)&&((r=t?a:s)===i.getTextContentSize()?e.shift():0!==r&&([,i]=i.splitText(r),e[0]=i)),An(l)&&(i=l.getTextContent().length,0===(t=t?s:a)?e.pop():t!==i&&([l]=l.splitText(t),e[n]=l)),e)}modify(e,t,n){var r=this.focus,o=this.anchor,i="move"===e,l=Ge(r,t);if(Nr(l)&&!l.isIsolated())i&&l.isKeyboardSelectable()?((t=Zn()).add(l.__key),Ie(t)):An(e=t?l.getPreviousSibling():l.getNextSibling())?(l=e.__key,t=t?e.getTextContent().length:0,r.set(l,t,"text"),i&&o.set(l,t,"text")):(n=l.getParentOrThrow(),Ar(e)?(n=e.__key,l=t?e.getChildrenSize():0):(l=l.getIndexWithinParent(),n=n.__key,t||l++),r.set(n,l,"element"),i&&o.set(n,l,"element"));else if(r=lt((o=vr())._window)){var a=o._blockCursorElement,s=o._rootElement;if(null===s||null===a||!Ar(l)||l.isInline()||l.canBeEmpty()||it(a,o,s),r.modify(e,t?"backward":"forward",n),0<r.rangeCount&&(l=r.getRangeAt(0),o=Or(o=this.anchor.getNode())?o:Ze(o),this.applyDOMRange(l),this.dirty=!0,!i)){for(i=this.getNodes(),e=[],n=!1,a=0;a<i.length;a++)Xe(s=i[a],o)?e.push(s):n=!0;n&&0<e.length&&(t?Ar(t=e[0])?t.selectStart():t.getParentOrThrow().selectStart():Ar(t=e[e.length-1])?t.selectEnd():t.getParentOrThrow().selectEnd()),r.anchorNode===l.startContainer&&r.anchorOffset===l.startOffset||(t=this.focus,r=(i=this.anchor).key,l=i.offset,o=i.type,zn(i,t.key,t.offset,t.type),zn(t,r,l,o),this._cachedNodes=null)}}}deleteCharacter(t){let n=this.isCollapsed();if(this.isCollapsed()){var r=this.anchor,o=this.focus,i=r.getNode();if(!t&&("element"===r.type&&Ar(i)&&r.offset===i.getChildrenSize()||"text"===r.type&&r.offset===i.getTextContentSize())){var l=i.getParent();if(Ar(l=i.getNextSibling()||(null===l?null:l.getNextSibling()))&&l.isShadowRoot())return}if(Nr(l=Ge(o,t))&&!l.isIsolated())return void(l.isKeyboardSelectable()&&Ar(i)&&0===i.getChildrenSize()?(i.remove(),t=Zn(),t.add(l.__key),Ie(t)):(l.remove(),vr().dispatchCommand(e,void 0)));if(!t&&Ar(l)&&Ar(i)&&i.isEmpty())return i.remove(),void l.selectStart();if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&0===r.offset&&("element"===r.type?r.getNode():r.getNode().getParentOrThrow()).collapseAtStart(this))return}else{if(l="text"===o.type?o.getNode():null,i="text"===r.type?r.getNode():null,null!==l&&l.isSegmented()){if(r=o.offset,o=l.getTextContentSize(),l.is(i)||t&&r!==o||!t&&0!==r)return void Gn(l,t,r)}else if(null!==i&&i.isSegmented()&&(r=r.offset,o=i.getTextContentSize(),i.is(l)||t&&0!==r||!t&&r!==o))return void Gn(i,t,r);if(i=this.anchor,l=this.focus,(r=i.getNode())===(o=l.getNode())&&"text"===i.type&&"text"===l.type){var a=i.offset,s=l.offset;let e=a<s;(o=e?a:s)!==(a=(s=e?s:a)-1)&&(ze(r=r.getTextContent().slice(o,s))||(t?l.offset=a:i.offset=a))}}}this.removeText(),t&&!n&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset&&((t=this.anchor.getNode()).isEmpty()&&Or(t.getParent())&&0===t.getIndexWithinParent()&&t.collapseAtStart(this))}deleteLine(e){this.isCollapsed()&&("text"===this.anchor.type&&this.modify("extend",e,"lineboundary"),0===(e?this.focus:this.anchor).offset&&this.modify("extend",e,"character")),this.removeText()}deleteWord(e){this.isCollapsed()&&this.modify("extend",e,"word"),this.removeText()}}function Wn(e){return e instanceof $n}function Kn(e){let t=e.offset;return"text"===e.type?t:t===(e=e.getNode()).getChildrenSize()?e.getTextContent().length:0}function Un(e){let t=e.anchor;return e=e.focus,"element"===t.type&&"element"===e.type&&t.key===e.key&&t.offset===e.offset?[0,0]:[Kn(t),Kn(e)]}function Gn(e,t,n){let r=e.getTextContent().split(/(?=\s)/g),o=r.length,i=0,l=0;for(let e=0;e<o;e++){let a=e===o-1;if(l=i,i+=r[e].length,t&&i===n||i>n||a){r.splice(e,1),a&&(l=void 0);break}}""===(t=r.join("").trim())?e.remove():(e.setTextContent(t),e.select(l,l))}function Yn(e,t,n,r){var o=t;if(1===e.nodeType){let a=!1;var i=e.childNodes,l=i.length;o===l&&(a=!0,o=l-1);let s=i[o];if(l=!1,s===r._blockCursorElement?(s=i[o+1],l=!0):null!==r._blockCursorElement&&o--,An(r=De(s)))o=a?r.getTextContentSize():0;else{if(null===(i=De(e)))return null;if(Ar(i)?((t=Ar(e=i.getChildAtIndex(o)))&&(t=e.getParent(),t=null===n||null===t||!t.canBeEmpty()||t!==n.getNode()),t&&(null===(n=a?e.getLastDescendant():e.getFirstDescendant())?(i=e,o=0):i=Ar(e=n)?e:e.getParentOrThrow()),An(e)?(r=e,i=null,o=a?e.getTextContentSize():0):e!==i&&a&&!l&&o++):(o=i.getIndexWithinParent(),o=0===t&&Nr(i)&&De(e)===i?o:o+1,i=i.getParentOrThrow()),Ar(i))return new On(i.__key,o,"element")}}else r=De(e);return An(r)?new On(r.__key,o,"text"):null}function Vn(e,t,n){var r=e.offset,o=e.getNode();0===r?(r=o.getPreviousSibling(),o=o.getParent(),t?(n||!t)&&null===r&&Ar(o)&&o.isInline()&&(An(t=o.getPreviousSibling())&&(e.key=t.__key,e.offset=t.getTextContent().length)):Ar(r)&&!n&&r.isInline()?(e.key=r.__key,e.offset=r.getChildrenSize(),e.type="element"):An(r)&&(e.key=r.__key,e.offset=r.getTextContent().length)):r===o.getTextContent().length&&(r=o.getNextSibling(),o=o.getParent(),t&&Ar(r)&&r.isInline()?(e.key=r.__key,e.offset=0,e.type="element"):(n||t)&&null===r&&Ar(o)&&o.isInline()&&!o.canInsertTextAfter()&&(An(t=o.getNextSibling())&&(e.key=t.__key,e.offset=0)))}function Qn(e,t,n){if("text"===e.type&&"text"===t.type){var r=e.isBefore(t);let o=e.is(t);Vn(e,r,o),Vn(t,!r,o),o&&(t.key=e.key,t.offset=e.offset,t.type=e.type),(r=vr()).isComposing()&&r._compositionKey!==e.key&&Fn(n)&&(r=n.anchor,n=n.focus,zn(e,r.key,r.offset,r.type),zn(t,n.key,n.offset,n.type))}}function qn(e,t,n,r,o,i){return null!==e&&null!==n&&be(o,e,n)?null===(t=Yn(e,t,Fn(i)?i.anchor:null,o))||null===(r=Yn(n,r,Fn(i)?i.focus:null,o))||"element"===t.type&&"element"===r.type&&(e=De(e),n=De(n),Nr(e)&&Nr(n))?null:(Qn(t,r,i),[t,r]):null}function Xn(e){return Ar(e)&&!e.isInline()}function Jn(e,t,n,r,o,i){let l=gr();return(e=new jn(new On(e,t,o),new On(n,r,i),0,"")).dirty=!0,l._selection=e}function Zn(){return new $n(new Set)}function er(e,t,n){var r=n._window;if(null===r)return null;var o=r.event,i=o?o.type:void 0;let l;if(r="selectionchange"===i,o=!re&&(r||"beforeinput"===i||"compositionstart"===i||"compositionend"===i||"click"===i&&o&&3===o.detail||"drop"===i||void 0===i),Fn(e)&&!o)return e.clone();if(null===t)return null;if(o=t.anchorNode,i=t.focusNode,l=t.anchorOffset,t=t.focusOffset,r&&Fn(e)&&!be(n,o,i))return e.clone();if(null===(n=qn(o,l,i,t,n,e)))return null;let[a,s]=n;return new jn(a,s,Fn(e)?e.format:0,Fn(e)?e.style:"")}function tr(){return gr()._selection}function nr(){return vr()._editorState._selection}function rr(e,t,n,r=1){var o=e.anchor,i=e.focus,l=o.getNode(),a=i.getNode();if(t.is(l)||t.is(a)){if(l=t.__key,e.isCollapsed())(n<=(t=o.offset)&&0<r||n<t&&0>r)&&(n=Math.max(0,t+r),o.set(l,n,"element"),i.set(l,n,"element"),or(e));else{let u=e.isBackward();var s=(a=u?i:o).getNode();i=(o=u?o:i).getNode(),t.is(s)&&((n<=(s=a.offset)&&0<r||n<s&&0>r)&&a.set(l,Math.max(0,s+r),"element")),t.is(i)&&((n<=(t=o.offset)&&0<r||n<t&&0>r)&&o.set(l,Math.max(0,t+r),"element"))}or(e)}}function or(e){var t=e.anchor,n=t.offset;let r=e.focus;var o=r.offset,i=t.getNode(),l=r.getNode();if(e.isCollapsed())Ar(i)&&(An(l=(o=n>=(l=i.getChildrenSize()))?i.getChildAtIndex(l-1):i.getChildAtIndex(n))&&(n=0,o&&(n=l.getTextContentSize()),t.set(l.__key,n,"text"),r.set(l.__key,n,"text")));else{if(Ar(i)){let r=i.getChildrenSize();An(n=(e=n>=r)?i.getChildAtIndex(r-1):i.getChildAtIndex(n))&&(i=0,e&&(i=n.getTextContentSize()),t.set(n.__key,i,"text"))}Ar(l)&&(An(o=(t=o>=(n=l.getChildrenSize()))?l.getChildAtIndex(n-1):l.getChildAtIndex(o))&&(l=0,t&&(l=o.getTextContentSize()),r.set(o.__key,l,"text")))}}function ir(e,t,n,r,o){let i=null,l=0,a=null;null!==r?(i=r.__key,An(r)?(l=r.getTextContentSize(),a="text"):Ar(r)&&(l=r.getChildrenSize(),a="element")):null!==o&&(i=o.__key,An(o)?a="text":Ar(o)&&(a="element")),null!==i&&null!==a?e.set(i,l,a):(l=t.getIndexWithinParent(),-1===l&&(l=n.getChildrenSize()),e.set(n.__key,l,"element"))}function lr(e,t,n,r,o){"text"===e.type?(e.key=n,t||(e.offset+=o)):e.offset>r.getIndexWithinParent()&&--e.offset}function ar(e,t,n){let r=[],o=null,i=null;e=e.getChildren();for(let c=0;c<e.length;c++){var l=e[c];Yr(l)||D(108);var a=l.getChildren();l=0;for(let e of a){for(Wr(e)||D(109);void 0!==r[c]&&void 0!==r[c][l];)l++;var s=l,u=e;let d={cell:u,startColumn:s,startRow:a=c},f=u.__rowSpan,p=u.__colSpan;for(let e=0;e<f;e++){void 0===r[a+e]&&(r[a+e]=[]);for(let t=0;t<p;t++)r[a+e][s+t]=d}t.is(u)&&(o=d),n.is(u)&&(i=d),l+=e.__colSpan}}return null===o&&D(110),null===i&&D(111),[r,o,i]}let sr=null,ur=null,cr=!1,dr=!1,fr=0,pr={characterData:!0,childList:!0,subtree:!0};function hr(){return cr||null!==sr&&sr._readOnly}function mr(){cr&&D(13)}function gr(){return null===sr&&D(15),sr}function vr(){return null===ur&&D(16),ur}function br(e,t,n){var r=t.__type;let o=e._nodes.get(r);for(void 0===o&&D(30,r),void 0===(e=n.get(r))&&(e=Array.from(o.transforms),n.set(r,e)),n=e.length,r=0;r<n&&(e[r](t),t.isAttached());r++);}function yr(e,t){var n=e.type,r=t.get(n);if(void 0===r&&D(17,n),n=r.klass,e.type!==n.getType()&&D(18,n.name),n=n.importJSON(e),e=e.children,Ar(n)&&Array.isArray(e))for(r=0;r<e.length;r++){let o=yr(e[r],t);n.append(o)}return n}function xr(e,t){let n=sr,r=cr,o=ur;sr=e,cr=!0,ur=null;try{return t()}finally{sr=n,cr=r,ur=o}}function _r(t,n){let r=t._pendingEditorState,o=t._rootElement,i=t._headless||null===o;if(null!==r){var l=t._editorState,a=l._selection,s=r._selection,u=0!==t._dirtyType,c=sr,d=cr,f=ur,p=t._updating,h=t._observer,m=null;if(t._pendingEditorState=null,t._editorState=r,!i&&u&&null!==h){ur=t,sr=r,cr=!1,t._updating=!0;try{let e=t._dirtyType,n=t._dirtyElements,o=t._dirtyLeaves;h.disconnect();var g=n,v=o;Ct=Et=_t="",wt=2===e,kt=null,ft=t,dt=t._config,pt=t._nodes,ht=ft._listeners.mutation,mt=g,gt=v,vt=l._nodeMap,bt=r._nodeMap,St=r._readOnly,yt=new Map(t._keyToDOMMap);let i=new Map;xt=i,$t("root",null),xt=yt=dt=bt=vt=gt=mt=pt=ft=void 0,m=i}catch(e){if(e instanceof Error&&t._onError(e),dr)throw e;return Br(t,null,o,r),ue(t),t._dirtyType=2,dr=!0,_r(t,l),void(dr=!1)}finally{h.observe(o,pr),t._updating=p,sr=c,cr=d,ur=f}}r._readOnly||(r._readOnly=!0);var b=t._dirtyLeaves,y=t._dirtyElements,x=t._normalizedNodes,_=t._updateTags,C=t._deferred;u&&(t._dirtyType=0,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements=new Map,t._normalizedNodes=new Set,t._updateTags=new Set);var E,w=t._decorators,S=t._pendingDecorators||w,k=r._nodeMap;for(E in S)k.has(E)||(S===w&&(S=Me(t)),delete S[E]);var T=i?null:lt(t._window);if(t._editable&&null!==T&&(u||null===s||s.dirty)){ur=t,sr=r;try{if(null!==h&&h.disconnect(),u||null===s||s.dirty){let e=t._blockCursorElement;null!==e&&it(e,t,o);e:{let e=T.anchorNode,n=T.focusNode,r=T.anchorOffset,i=T.focusOffset,l=document.activeElement;if(!(_.has("collaboration")&&l!==o||null!==l&&ve(l)))if(Fn(s)){var N=s.anchor,R=s.focus,A=N.key,L=R.key,M=Qe(t,A),O=Qe(t,L),P=N.offset,I=R.offset,D=s.format,z=s.style,$=s.isCollapsed(),F=M,B=O,H=!1;if("text"===N.type){F=_e(M);let e=N.getNode();H=e.getFormat()!==D||e.getStyle()!==z}else Fn(a)&&"text"===a.anchor.type&&(H=!0);if("text"===R.type&&(B=_e(O)),null!==F&&null!==B){if($&&(null===a||H||Fn(a)&&(a.format!==D||a.style!==z))){var j=performance.now();Zt=[D,z,P,A,j]}if(r===P&&i===I&&e===F&&n===B&&("Range"!==T.type||!$)&&(null!==l&&o.contains(l)||o.focus({preventScroll:!0}),"element"!==N.type))break e;try{T.setBaseAndExtent(F,P,B,I)}catch(e){}if(!_.has("skip-scroll-into-view")&&s.isCollapsed()&&null!==o&&o===document.activeElement){let e=s instanceof jn&&"element"===s.anchor.type?F.childNodes[P]||null:0<T.rangeCount?T.getRangeAt(0):null;if(null!==e){let n;if(e instanceof Text){let t=document.createRange();t.selectNode(e),n=t.getBoundingClientRect()}else n=e.getBoundingClientRect();let r=o.ownerDocument,i=r.defaultView;if(null!==i)for(var W,K,{top:U,bottom:G}=n,Y=o;null!==Y;){let e=Y===r.body;if(e)W=0,K=Je(t).innerHeight;else{let e=Y.getBoundingClientRect();W=e.top,K=e.bottom}let n=0;if(U<W?n=-(W-U):G>K&&(n=G-K),0!==n)if(e)i.scrollBy(0,n);else{let e=Y.scrollTop;Y.scrollTop+=n;let t=Y.scrollTop-e;U-=t,G-=t}if(e)break;Y=qe(Y)}}}Qt=!0}}else null!==a&&be(t,e,n)&&T.removeAllRanges()}}e:{let e=t._blockCursorElement;if(Fn(s)&&s.isCollapsed()&&"element"===s.anchor.type&&o.contains(document.activeElement)){let n=s.anchor,r=n.getNode(),i=n.offset,l=r.getChildrenSize(),a=!1,u=null;if(i===l){ot(r.getChildAtIndex(i-1))&&(a=!0)}else{let e=r.getChildAtIndex(i);if(ot(e)){let n=e.getPreviousSibling();(null===n||ot(n))&&(a=!0,u=t.getElementByKey(e.__key))}}if(a){let n=t.getElementByKey(r.__key);if(null===e){let n=t._config.theme,r=document.createElement("div");r.contentEditable="false",r.setAttribute("data-lexical-cursor","true");let o=n.blockCursor;if(void 0!==o){if("string"==typeof o){let e=o.split(" ");o=n.blockCursor=e}void 0!==o&&r.classList.add(...o)}t._blockCursorElement=e=r}o.style.caretColor="transparent",null===u?n.appendChild(e):n.insertBefore(e,u);break e}}null!==e&&it(e,t,o)}null!==h&&h.observe(o,pr)}finally{ur=f,sr=c}}if(null!==m){var V=m;let e=Array.from(t._listeners.mutation),n=e.length;for(let t=0;t<n;t++){let[n,r]=e[t],o=V.get(r);void 0!==o&&n(o,{dirtyLeaves:b,updateTags:_})}}Fn(s)||null===s||null!==a&&a.is(s)||t.dispatchCommand(e,void 0);var Q=t._pendingDecorators;null!==Q&&(t._decorators=Q,t._pendingDecorators=null,Cr("decorator",t,!0,Q));var q=Oe(n||l),X=Oe(r);if(q!==X&&Cr("textcontent",t,!0,X),Cr("update",t,!0,{dirtyElements:y,dirtyLeaves:b,editorState:r,normalizedNodes:x,prevEditorState:n||l,tags:_}),t._deferred=[],0!==C.length){let e=t._updating;t._updating=!0;try{for(let e=0;e<C.length;e++)C[e]()}finally{t._updating=e}}var J=t._updates;if(0!==J.length){let e=J.shift();if(e){let[n,r]=e;Sr(t,n,r)}}}}function Cr(e,t,n,...r){let o=t._updating;t._updating=n;try{let n=Array.from(t._listeners[e]);for(e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=o}}function Er(e,t,n){if(!1===e._updating||ur!==e){let r=!1;return e.update((()=>{r=Er(e,t,n)})),r}let r=$e(e);for(let i=4;0<=i;i--)for(let l=0;l<r.length;l++){var o=r[l]._commands.get(t);if(void 0!==o&&void 0!==(o=o[i])){let t=(o=Array.from(o)).length;for(let r=0;r<t;r++)if(!0===o[r](n,e))return!0}}return!1}function wr(e,t){let n=e._updates;for(t=t||!1;0!==n.length;){var r=n.shift();if(r){let n,[o,i]=r;void 0!==i&&(r=i.onUpdate,n=i.tag,i.skipTransforms&&(t=!0),r&&e._deferred.push(r),n&&e._updateTags.add(n)),o()}}return t}function Sr(e,t,n){let r=e._updateTags;var o,i=o=!1;if(void 0!==n){var l=n.onUpdate;null!=(o=n.tag)&&r.add(o),o=n.skipTransforms||!1,i=n.discrete||!1}l&&e._deferred.push(l),n=e._editorState;let a=!1;(null===(l=e._pendingEditorState)||l._readOnly)&&(l=e._pendingEditorState=new Dr(new Map((l||n)._nodeMap)),a=!0),l._flushSync=i,i=sr;let s=cr,u=ur,c=e._updating;sr=l,cr=!1,e._updating=!0,ur=e;try{a&&(e._headless?null!=n._selection&&(l._selection=n._selection.clone()):l._selection=function(e){let t=e.getEditorState()._selection,n=lt(e._window);return Wn(t)||Hn(t)?t.clone():er(t,n,e)}(e));let r=e._compositionKey;t(),o=wr(e,o),function(e,t){if(t=t.getEditorState()._selection,Fn(e=e._selection)){var n=e.anchor;let r,o=e.focus;"text"===n.type&&(r=n.getNode(),r.selectionTransform(t,e)),"text"===o.type&&r!==(n=o.getNode())&&n.selectionTransform(t,e)}}(l,e),0!==e._dirtyType&&(o?function(e,t){t=t._dirtyLeaves,e=e._nodeMap;for(let n of t)An(t=e.get(n))&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&fe(t)}(l,e):function(e,t){let n=t._dirtyLeaves,r=t._dirtyElements;e=e._nodeMap;let o=Ne(),i=new Map;var l=n;let a=l.size;for(var s=r,u=s.size;0<a||0<u;){if(0<a){t._dirtyLeaves=new Set;for(let r of l)An(l=e.get(r))&&l.isAttached()&&l.isSimpleText()&&!l.isUnmergeable()&&fe(l),void 0!==l&&void 0!==l&&l.__key!==o&&l.isAttached()&&br(t,l,i),n.add(r);if(a=(l=t._dirtyLeaves).size,0<a){fr++;continue}}t._dirtyLeaves=new Set,t._dirtyElements=new Map;for(let n of s)s=n[0],u=n[1],("root"===s||u)&&(void 0!==(l=e.get(s))&&void 0!==l&&l.__key!==o&&l.isAttached()&&br(t,l,i),r.set(s,u));a=(l=t._dirtyLeaves).size,u=(s=t._dirtyElements).size,fr++}t._dirtyLeaves=n,t._dirtyElements=r}(l,e),wr(e),function(e,t,n,r){e=e._nodeMap,t=t._nodeMap;let o=[];for(let[n]of r){let i=t.get(n);void 0===i||i.isAttached()||(Ar(i)&&ct(i,n,e,t,o,r),e.has(n)||r.delete(n),o.push(n))}for(let e of o)t.delete(e);for(let o of n)void 0===(r=t.get(o))||r.isAttached()||(e.has(o)||n.delete(o),t.delete(o))}(n,l,e._dirtyLeaves,e._dirtyElements)),r!==e._compositionKey&&(l._flushSync=!0);let i=l._selection;if(Fn(i)){let e=l._nodeMap,t=i.focus.key;void 0!==e.get(i.anchor.key)&&void 0!==e.get(t)||D(19)}else Wn(i)&&0===i._nodes.size&&(l._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=n,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void _r(e)}finally{sr=i,cr=s,ur=u,e._updating=c,fr=0}0!==e._dirtyType||function(e,t){if(t=t.getEditorState()._selection,e=e._selection,null!==e){if(e.dirty||!e.is(t))return!0}else if(null!==t)return!0;return!1}(l,e)?l._flushSync?(l._flushSync=!1,_r(e)):a&&ge((()=>{_r(e)})):(l._flushSync=!1,a&&(r.clear(),e._deferred=[],e._pendingEditorState=null))}function kr(e,t,n){e._updating?e._updates.push([t,n]):Sr(e,t,n)}class Tr extends cn{constructor(e){super(e)}decorate(){D(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function Nr(e){return e instanceof Tr}class Rr extends cn{constructor(e){super(e),this.__last=this.__first=null,this.__indent=this.__format=this.__size=0,this.__dir=null}getFormat(){return this.getLatest().__format}getFormatType(){let e=this.getFormat();return ee[e]||""}getIndent(){return this.getLatest().__indent}getChildren(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){let e=vr()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){let e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){let e=[],t=this.getFirstChild();for(;null!==t;){if(An(t)&&e.push(t),Ar(t)){let n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;null!==e;){if(Ar(e)){let t=e.getFirstChild();if(null!==t){e=t;continue}}break}return e}getLastDescendant(){let e=this.getLastChild();for(;null!==e;){if(Ar(e)){let t=e.getLastChild();if(null!==t){e=t;continue}}break}return e}getDescendantByIndex(e){let t=this.getChildren(),n=t.length;return e>=n?Ar(e=t[n-1])&&e.getLastDescendant()||e||null:Ar(e=t[e])&&e.getFirstDescendant()||e||null}getFirstChild(){let e=this.getLatest().__first;return null===e?null:Re(e)}getFirstChildOrThrow(){let e=this.getFirstChild();return null===e&&D(45,this.__key),e}getLastChild(){let e=this.getLatest().__last;return null===e?null:Re(e)}getLastChildOrThrow(){let e=this.getLastChild();return null===e&&D(96,this.__key),e}getChildAtIndex(e){var t=this.getChildrenSize();let n;if(e<t/2){for(n=this.getFirstChild(),t=0;null!==n&&t<=e;){if(t===e)return n;n=n.getNextSibling(),t++}return null}for(n=this.getLastChild(),--t;null!==n&&t>=e;){if(t===e)return n;n=n.getPreviousSibling(),t--}return null}getTextContent(){let e="",t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let o=t[r];e+=o.getTextContent(),Ar(o)&&r!==n-1&&!o.isInline()&&(e+="\n\n")}return e}getTextContentSize(){let e=0,t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let o=t[r];e+=o.getTextContentSize(),Ar(o)&&r!==n-1&&!o.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){return""!==e&&(e=Z[e],!!(this.getFormat()&e))}select(e,t){mr();let n=tr(),r=e,o=t;var i=this.getChildrenSize();if(!this.canBeEmpty())if(0===e&&0===t){if(An(e=this.getFirstChild())||Ar(e))return e.select(0,0)}else if(!(void 0!==e&&e!==i||void 0!==t&&t!==i)&&(An(e=this.getLastChild())||Ar(e)))return e.select();return void 0===r&&(r=i),void 0===o&&(o=i),i=this.__key,Fn(n)?(n.anchor.set(i,r,"element"),n.focus.set(i,o,"element"),n.dirty=!0,n):Jn(i,r,i,o,"element","element")}selectStart(){let e=this.getFirstDescendant();return Ar(e)||An(e)?e.select(0,0):null!==e?e.selectPrevious():this.select(0,0)}selectEnd(){let e=this.getLastDescendant();return Ar(e)||An(e)?e.select():null!==e?e.selectNext():this.select()}clear(){let e=this.getWritable();return this.getChildren().forEach((e=>e.remove())),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){let t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?Z[e]:0,this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){let r=n.length,o=this.getChildrenSize(),i=this.getWritable(),l=i.__key;var a=[],s=[];let u=this.getChildAtIndex(e+t),c=null,d=o-t+r;if(0!==e)if(e===o)c=this.getLastChild();else{var f=this.getChildAtIndex(e);null!==f&&(c=f.getPreviousSibling())}if(0<t){var p=null===c?this.getFirstChild():c.getNextSibling();for(f=0;f<t;f++){null===p&&D(100);var h=p.getNextSibling(),m=p.__key;Se(p=p.getWritable()),s.push(m),p=h}}for(f=c,h=0;h<r;h++){m=n[h],null!==f&&m.is(f)&&(c=f=f.getPreviousSibling()),(p=m.getWritable()).__parent===l&&d--,Se(p);let e=m.__key;null===f?(i.__first=e,p.__prev=null):((f=f.getWritable()).__next=e,p.__prev=f.__key),m.__key===l&&D(76),p.__parent=l,a.push(e),f=m}if(e+t===o?null!==f&&(f.getWritable().__next=null,i.__last=f.__key):null!==u&&(e=u.getWritable(),null!==f?(t=f.getWritable(),e.__prev=f.__key,t.__next=u.__key):e.__prev=null),i.__size=d,s.length&&Fn(e=tr())){s=new Set(s),a=new Set(a);let{anchor:t,focus:n}=e;Lr(t,s,a)&&ir(t,t.getNode(),this,c,u),Lr(n,s,a)&&ir(n,n.getNode(),this,c,u),0!==d||this.canBeEmpty()||et(this)||this.remove()}return i}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"element",version:1}}insertNewAfter(){return null}canIndent(){return!0}collapseAtStart(){return!1}excludeFromCopy(){return!1}canExtractContents(){return!0}canReplaceWith(){return!0}canInsertAfter(){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(){return!1}extractWithChild(){return!1}}function Ar(e){return e instanceof Rr}function Lr(e,t,n){for(e=e.getNode();e;){let r=e.__key;if(t.has(r)&&!n.has(r))return!0;e=e.getParent()}return!1}class Mr extends Rr{static getType(){return"root"}static clone(){return new Mr}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){D(51)}getTextContent(){let e=this.__cachedText;return!hr()&&0!==vr()._dirtyType||null===e?super.getTextContent():e}remove(){D(52)}replace(){D(53)}insertBefore(){D(54)}insertAfter(){D(55)}updateDOM(){return!1}append(...e){for(let t=0;t<e.length;t++){let n=e[t];Ar(n)||Nr(n)||D(56)}return super.append(...e)}static importJSON(e){let t=Pe();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"root",version:1}}collapseAtStart(){return!0}}function Or(e){return e instanceof Mr}function Pr(){return new Dr(new Map([["root",new Mr]]))}function Ir(e){let t=e.exportJSON();var n=e.constructor;t.type!==n.getType()&&D(130,n.name);let r=t.children;if(Ar(e))for(Array.isArray(r)||D(59,n.name),e=e.getChildren(),n=0;n<e.length;n++){let t=Ir(e[n]);r.push(t)}return t}class Dr{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._readOnly=this._flushSync=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e){return xr(this,e)}clone(e){return(e=new Dr(this._nodeMap,void 0===e?this._selection:e))._readOnly=!0,e}toJSON(){return xr(this,(()=>({root:Ir(Pe())})))}}class zr extends Rr{static getType(){return"paragraph"}static clone(e){return new zr(e.__key)}createDOM(e){let t=document.createElement("p");return void 0!==(e=We(e.theme,"paragraph"))&&t.classList.add(...e),t}updateDOM(){return!1}static importDOM(){return{p:()=>({conversion:$r,priority:0})}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t),0<(t=this.getIndent())&&(e.style.textIndent=20*t+"px")}return{element:e}}static importJSON(e){let t=Fr();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),type:"paragraph",version:1}}insertNewAfter(e,t){e=Fr();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=this.getChildren();if(0===e.length||An(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function $r(e){let t=Fr();return e.style&&(t.setFormat(e.style.textAlign),0<(e=parseInt(e.style.textIndent,10)/20)&&t.setIndent(e)),{node:t}}function Fr(){return nt(new zr)}function Br(e,t,n,r){let o=e._keyToDOMMap;o.clear(),e._editorState=Pr(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null,null!==(r=e._observer)&&(r.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",o.set("root",n))}class Hr{constructor(e,t,n,r,o,i,l){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._compositionKey=this._pendingEditorState=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=Fe(),this._onError=o,this._htmlConversions=i,this._editable=l,this._headless=null!==t&&t._headless,this._blockCursorElement=this._window=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){let t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){let t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){let t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){let t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){let t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&D(35);let r=this._commands;r.has(e)||r.set(e,[new Set,new Set,new Set,new Set,new Set]);let o=r.get(e);void 0===o&&D(36,String(e));let i=o[n];return i.add(t),()=>{i.delete(t),o.every((e=>0===e.size))&&r.delete(e)}}registerMutationListener(e,t){void 0===this._nodes.get(e.getType())&&D(37,e.name);let n=this._listeners.mutation;return n.set(t,e),()=>{n.delete(t)}}registerNodeTransformToKlass(e,t){var n=e.getType();return void 0===(n=this._nodes.get(n))&&D(37,e.name),n.transforms.add(t),n}registerNodeTransform(e,t){var n=this.registerNodeTransformToKlass(e,t);let r=[n];return null!=(n=n.replaceWithKlass)&&(n=this.registerNodeTransformToKlass(n,t),r.push(n)),function(e,t){kr(e,(()=>{var e=gr();if(!e.isEmpty())if("root"===t)Pe().markDirty();else{e=e._nodeMap;for(let[,t]of e)t.markDirty()}}),null===e._pendingEditorState?{tag:"history-merge"}:void 0)}(this,e.getType()),()=>{r.forEach((e=>e.transforms.delete(t)))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return Er(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){let t=this._rootElement;if(e!==t){let i=We(this._config.theme,"root");var n=this._pendingEditorState||this._editorState;if(this._rootElement=e,Br(this,t,e,n),null!==t){if(!this._config.disableEvents){0!==Vt&&(Vt--,0===Vt&&t.ownerDocument.removeEventListener("selectionchange",sn));var r=t.__lexicalEditor;if(null!=r){if(null!==r._parentEditor){var o=$e(r);o=o[o.length-1]._key,an.get(o)===r&&an.delete(o)}else an.delete(r._key);t.__lexicalEditor=null}for(r=ln(t),o=0;o<r.length;o++)r[o]();t.__lexicalEventHandles=[]}null!=i&&t.classList.remove(...i)}null!==e?(n=(n=e.ownerDocument)&&n.defaultView||null,(r=e.style).userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=n,this._dirtyType=2,ue(this),this._updateTags.add("history-merge"),_r(this),this._config.disableEvents||function(e,t){0===Vt&&e.ownerDocument.addEventListener("selectionchange",sn),Vt++,e.__lexicalEditor=t;let n=ln(e);for(let r=0;r<Wt.length;r++){let[o,i]=Wt[r],a="function"==typeof i?e=>{!0!==e._lexicalHandled&&(e._lexicalHandled=!0,t.isEditable()&&i(e,t))}:e=>{if(!0!==e._lexicalHandled&&(e._lexicalHandled=!0,t.isEditable()))switch(o){case"cut":return Er(t,M,e);case"copy":return Er(t,L,e);case"paste":return Er(t,l,e);case"dragstart":return Er(t,T,e);case"dragover":return Er(t,N,e);case"dragend":return Er(t,R,e);case"focus":return Er(t,O,e);case"blur":return Er(t,P,e);case"drop":return Er(t,k,e)}};e.addEventListener(o,a),n.push((()=>{e.removeEventListener(o,a)}))}}(e,this),null!=i&&e.classList.add(...i)):(this._editorState=n,this._window=this._pendingEditorState=null),Cr("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&D(38),se(this);let n=this._pendingEditorState,r=this._updateTags;t=void 0!==t?t.tag:null,null===n||n.isEmpty()||(null!=t&&r.add(t),_r(this)),this._pendingEditorState=e,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=t&&r.add(t),_r(this)}parseEditorState(e,t){e="string"==typeof e?JSON.parse(e):e;let n=Pr(),r=sr,o=cr,i=ur,l=this._dirtyElements,a=this._dirtyLeaves,s=this._cloneNotNeeded,u=this._dirtyType;this._dirtyElements=new Map,this._dirtyLeaves=new Set,this._cloneNotNeeded=new Set,this._dirtyType=0,sr=n,cr=!1,ur=this;try{yr(e.root,this._nodes),t&&t(),n._readOnly=!0}catch(e){e instanceof Error&&this._onError(e)}finally{this._dirtyElements=l,this._dirtyLeaves=a,this._cloneNotNeeded=s,this._dirtyType=u,sr=r,cr=o,ur=i}return n}update(e,t){kr(this,e,t)}focus(e,t={}){let n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),kr(this,(()=>{let e=tr(),n=Pe();null!==e?e.dirty=!0:0!==n.getChildrenSize()&&("rootStart"===t.defaultSelection?n.selectStart():n.selectEnd())}),{onUpdate:()=>{n.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){var e=this._rootElement;null!==e&&e.blur(),null!==(e=lt(this._window))&&e.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,Cr("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}class jr extends Rr{constructor(e,t){super(t),this.__colSpan=e,this.__rowSpan=1}exportJSON(){return{...super.exportJSON(),colSpan:this.__colSpan,rowSpan:this.__rowSpan}}getColSpan(){return this.__colSpan}setColSpan(e){return this.getWritable().__colSpan=e,this}getRowSpan(){return this.__rowSpan}setRowSpan(e){return this.getWritable().__rowSpan=e,this}}function Wr(e){return e instanceof jr}class Kr extends Rr{}function Ur(e){return e instanceof Kr}class Gr extends Rr{}function Yr(e){return e instanceof Gr}return U.$addUpdateTag=function(e){mr(),vr()._updateTags.add(e)},U.$applyNodeReplacement=nt,U.$copyNode=tt,U.$createLineBreakNode=pn,U.$createNodeSelection=Zn,U.$createParagraphNode=Fr,U.$createRangeSelection=function(){let e=new On("root",0,"element"),t=new On("root",0,"element");return new jn(e,t,0,"")},U.$createTabNode=Mn,U.$createTextNode=Rn,U.$getAdjacentNode=Ge,U.$getNearestNodeFromDOMNode=Le,U.$getNearestRootOrShadowRoot=Ze,U.$getNodeByKey=Re,U.$getPreviousSelection=nr,U.$getRoot=Pe,U.$getSelection=tr,U.$getTextContent=function(){let e=tr();return null===e?"":e.getTextContent()},U.$hasAncestor=Xe,U.$hasUpdateTag=function(e){return vr()._updateTags.has(e)},U.$insertNodes=function(e,t){let n=tr()||nr();return null===n&&(n=Pe().selectEnd()),n.insertNodes(e,t)},U.$isBlockElementNode=Xn,U.$isDecoratorNode=Nr,U.$isElementNode=Ar,U.$isInlineElementOrDecoratorNode=function(e){return Ar(e)&&e.isInline()||Nr(e)&&e.isInline()},U.$isLeafNode=Ee,U.$isLineBreakNode=hn,U.$isNodeSelection=Wn,U.$isParagraphNode=function(e){return e instanceof zr},U.$isRangeSelection=Fn,U.$isRootNode=Or,U.$isRootOrShadowRoot=et,U.$isTabNode=function(e){return e instanceof Ln},U.$isTextNode=An,U.$nodesOfType=function(e){var t=gr();let n=t._readOnly,r=e.getType();t=t._nodeMap;let o=[];for(let[,i]of t)i instanceof e&&i.__type===r&&(n||i.isAttached())&&o.push(i);return o},U.$normalizeSelection__EXPERIMENTAL=pe,U.$parseSerializedNode=function(e){return yr(e,vr()._nodes)},U.$setCompositionKey=Te,U.$setSelection=Ie,U.$splitNode=at,U.BLUR_COMMAND=P,U.CAN_REDO_COMMAND={},U.CAN_UNDO_COMMAND={},U.CLEAR_EDITOR_COMMAND={},U.CLEAR_HISTORY_COMMAND={},U.CLICK_COMMAND=t,U.COMMAND_PRIORITY_CRITICAL=4,U.COMMAND_PRIORITY_EDITOR=0,U.COMMAND_PRIORITY_HIGH=3,U.COMMAND_PRIORITY_LOW=1,U.COMMAND_PRIORITY_NORMAL=2,U.CONTROLLED_TEXT_INSERTION_COMMAND=i,U.COPY_COMMAND=L,U.CUT_COMMAND=M,U.DELETE_CHARACTER_COMMAND=n,U.DELETE_LINE_COMMAND=u,U.DELETE_WORD_COMMAND=s,U.DEPRECATED_$computeGridMap=ar,U.DEPRECATED_$createGridSelection=function(){let e=new On("root",0,"element"),t=new On("root",0,"element");return new Bn("root",e,t)},U.DEPRECATED_$getNodeTriplet=function(e){e instanceof jr||(e instanceof cn?Wr(e=st(e,Wr))||D(114):Wr(e=st(e.getNode(),Wr))||D(114));let t=e.getParent();Yr(t)||D(115);let n=t.getParent();return Ur(n)||D(116),[e,t,n]},U.DEPRECATED_$isGridCellNode=Wr,U.DEPRECATED_$isGridNode=Ur,U.DEPRECATED_$isGridRowNode=Yr,U.DEPRECATED_$isGridSelection=Hn,U.DEPRECATED_GridCellNode=jr,U.DEPRECATED_GridNode=Kr,U.DEPRECATED_GridRowNode=Gr,U.DRAGEND_COMMAND=R,U.DRAGOVER_COMMAND=N,U.DRAGSTART_COMMAND=T,U.DROP_COMMAND=k,U.DecoratorNode=Tr,U.ElementNode=Rr,U.FOCUS_COMMAND=O,U.FORMAT_ELEMENT_COMMAND={},U.FORMAT_TEXT_COMMAND=c,U.INDENT_CONTENT_COMMAND={},U.INSERT_LINE_BREAK_COMMAND=r,U.INSERT_PARAGRAPH_COMMAND=o,U.INSERT_TAB_COMMAND={},U.KEY_ARROW_DOWN_COMMAND=y,U.KEY_ARROW_LEFT_COMMAND=g,U.KEY_ARROW_RIGHT_COMMAND=h,U.KEY_ARROW_UP_COMMAND=b,U.KEY_BACKSPACE_COMMAND=C,U.KEY_DELETE_COMMAND=w,U.KEY_DOWN_COMMAND=p,U.KEY_ENTER_COMMAND=x,U.KEY_ESCAPE_COMMAND=E,U.KEY_MODIFIER_COMMAND=I,U.KEY_SPACE_COMMAND=_,U.KEY_TAB_COMMAND=S,U.LineBreakNode=dn,U.MOVE_TO_END=m,U.MOVE_TO_START=v,U.OUTDENT_CONTENT_COMMAND={},U.PASTE_COMMAND=l,U.ParagraphNode=zr,U.REDO_COMMAND=f,U.REMOVE_TEXT_COMMAND=a,U.RootNode=Mr,U.SELECTION_CHANGE_COMMAND=e,U.TabNode=Ln,U.TextNode=xn,U.UNDO_COMMAND=d,U.createCommand=function(){return{}},U.createEditor=function(e){var t=e||{},n=ur,r=t.theme||{};let o=void 0===e?n:t.parentEditor||null,i=t.disableEvents||!1,l=Pr(),a=t.namespace||(null!==o?o._config.namespace:Fe()),s=t.editorState,u=[Mr,xn,dn,Ln,zr,...t.nodes||[]],c=t.onError;if(t=void 0===t.editable||t.editable,void 0===e&&null!==n)e=n._nodes;else for(e=new Map,n=0;n<u.length;n++){let t=u[n],r=null;var d=null;"function"!=typeof t&&(t=(d=t).replace,r=d.with,d=d.withKlass?d.withKlass:null);let o=t.getType(),i=t.transform(),l=new Set;null!==i&&l.add(i),e.set(o,{klass:t,replace:r,replaceWithKlass:d,transforms:l})}return r=new Hr(l,o,e,{disableEvents:i,namespace:a,theme:r},c||console.error,function(e){let t=new Map,n=new Set;return e.forEach((e=>{if(null!=(e=null!=e.klass.importDOM?e.klass.importDOM.bind(e.klass):null)&&!n.has(e)){n.add(e);var r=e();null!==r&&Object.keys(r).forEach((e=>{let n=t.get(e);void 0===n&&(n=[],t.set(e,n)),n.push(r[e])}))}})),t}(e),t),void 0!==s&&(r._pendingEditorState=s,r._dirtyType=2),r},U.getNearestEditorFromDOMNode=ye,U.isSelectionCapturedInDecoratorInput=ve,U.isSelectionWithinEditor=be,U}function Y(){if(M)return L;M=1;const e=G();return L=e}function V(){if(I)return P;I=1;const e=function(){if(O)return K;O=1;var e=Y();let t=new Map;function n(e){for(;null!=e;){if(e.nodeType===Node.TEXT_NODE)return e;e=e.firstChild}return null}function r(e){let t=e.parentNode;if(null==t)throw Error("Should never happen");return[t,Array.from(t.childNodes).indexOf(e)]}function o(e){let t={};e=e.split(";");for(let n of e)if(""!==n){let[e,r]=n.split(/:([^]+)/);t[e.trim()]=r.trim()}return t}function i(e){let n=t.get(e);return void 0===n&&(n=o(e),t.set(e,n)),n}function l(e,n){var r=i("getStyle"in e?e.getStyle():e.style);n=Object.entries(n).reduce(((e,[t,n])=>(null===n?delete e[t]:e[t]=n,e)),{...r}),r=function(e){let t="";for(let n in e)n&&(t+=`${n}: ${e[n]};`);return t}(n),e.setStyle(r),t.set(r,n)}function a(t){for(;null!==t&&!e.$isRootOrShadowRoot(t);){let e=t.getLatest(),n=t.getParent();0===e.getChildrenSize()&&t.remove(!0),t=n}}function s(t,n,r,o,i=null){if(0!==n.length){var l=n[0],s=new Map,u=[];(l=e.$isElementNode(l)?l:l.getParentOrThrow()).isInline()&&(l=l.getParentOrThrow());for(var c=!1;null!==l;){var d=l.getPreviousSibling();if(null!==d){l=d,c=!0;break}if(l=l.getParentOrThrow(),e.$isRootOrShadowRoot(l))break}d=new Set;for(var f=0;f<r;f++){var p=n[f];e.$isElementNode(p)&&0===p.getChildrenSize()&&d.add(p.getKey())}var h=new Set;for(f=0;f<r;f++){var m=(p=n[f]).getParent();if(null!==m&&m.isInline()&&(m=m.getParent()),null!==m&&e.$isLeafNode(p)&&!h.has(p.getKey())){if(p=m.getKey(),void 0===s.get(p)){let t=o();t.setFormat(m.getFormatType()),t.setIndent(m.getIndent()),u.push(t),s.set(p,t),m.getChildren().forEach((n=>{t.append(n),h.add(n.getKey()),e.$isElementNode(n)&&n.getChildrenKeys().forEach((e=>h.add(e)))})),a(m)}}else d.has(p.getKey())&&((m=o()).setFormat(p.getFormatType()),m.setIndent(p.getIndent()),u.push(m),p.remove(!0))}if(null!==i)for(n=0;n<u.length;n++)i.append(u[n]);if(n=null,e.$isRootOrShadowRoot(l))if(c)if(null!==i)l.insertAfter(i);else for(i=u.length-1;0<=i;i--)l.insertAfter(u[i]);else if(c=l.getFirstChild(),e.$isElementNode(c)&&(l=c),null===c)if(i)l.append(i);else for(i=0;i<u.length;i++)c=u[i],l.append(c),n=c;else if(null!==i)c.insertBefore(i);else for(l=0;l<u.length;l++)i=u[l],c.insertBefore(i),n=i;else if(i)l.insertAfter(i);else for(i=u.length-1;0<=i;i--)c=u[i],l.insertAfter(c),n=c;u=e.$getPreviousSelection(),e.$isRangeSelection(u)&&u.anchor.getNode().isAttached()&&u.focus.getNode().isAttached()?e.$setSelection(u.clone()):null!==n?n.selectEnd():t.dirty=!0}}function u(e,t,n,r){e.modify(t?"extend":"move",n,r)}function c(t){return t=t.anchor.getNode(),"rtl"===(e.$isRootNode(t)?t:t.getParentOrThrow()).getDirection()}return K.$addNodeStyle=function(e){let n=o(e=e.getStyle());t.set(e,n)},K.$cloneWithProperties=function(t){let n=(t=t.getLatest()).constructor.clone(t);return n.__parent=t.__parent,n.__next=t.__next,n.__prev=t.__prev,e.$isElementNode(t)&&e.$isElementNode(n)?(n.__first=t.__first,n.__last=t.__last,n.__size=t.__size,n.__format=t.__format,n.__indent=t.__indent,n.__dir=t.__dir,n):(e.$isTextNode(t)&&e.$isTextNode(n)&&(n.__format=t.__format,n.__style=t.__style,n.__mode=t.__mode,n.__detail=t.__detail),n)},K.$getSelectionStyleValueForProperty=function(t,n,r=""){let o=null,l=t.getNodes();var a=t.anchor,s=t.focus,u=t.isBackward();let c=u?s.offset:a.offset;if(a=u?s.getNode():a.getNode(),""!==t.style&&null!==(t=i(t.style))&&n in t)return t[n];for(t=0;t<l.length;t++){var d=l[t];if((0===t||0!==c||!d.is(a))&&e.$isTextNode(d))if(s=n,u=r,s=null!==(d=i(d=d.getStyle()))&&d[s]||u,null===o)o=s;else if(o!==s){o="";break}}return null===o?r:o},K.$isAtNodeEnd=function(e){return"text"===e.type?e.offset===e.getNode().getTextContentSize():e.offset===e.getNode().getChildrenSize()},K.$isParentElementRTL=c,K.$moveCaretSelection=u,K.$moveCharacter=function(e,t,n){let r=c(e);u(e,t,n?!r:r,"character")},K.$patchStyleText=function(t,n){var r=t.getNodes();let o=r.length-1,i=r[0],a=r[o];if(t.isCollapsed())l(t,n);else{var s=t.anchor,u=t.focus,c=i.getTextContent().length,d=u.offset,f=s.offset,p=s.isBefore(u),h=p?f:d;t=p?d:f;var m=p?s.type:u.type,g=p?u.type:s.type;if(s=p?u.key:s.key,e.$isTextNode(i)&&h===c&&(u=i.getNextSibling(),e.$isTextNode(u)&&(h=f=0,i=u)),1===r.length)e.$isTextNode(i)&&(h="element"===m?0:f>d?d:f)!==(t="element"===g?c:f>d?f:d)&&(0===h&&t===c?(l(i,n),i.select(h,t)):(r=i.splitText(h,t),l(r=0===h?r[0]:r[1],n),r.select(0,t-h)));else for(e.$isTextNode(i)&&h<i.getTextContentSize()&&(0!==h&&(i=i.splitText(h)[1]),l(i,n)),e.$isTextNode(a)&&(h=a.getTextContent().length,a.__key!==s&&0!==t&&(t=h),t!==h&&([a]=a.splitText(t)),0!==t&&l(a,n)),t=1;t<o;t++)c=(h=r[t]).getKey(),e.$isTextNode(h)&&c!==i.getKey()&&c!==a.getKey()&&!h.isToken()&&l(h,n)}},K.$selectAll=function(t){let n=t.anchor;t=t.focus;var r=n.getNode().getTopLevelElementOrThrow().getParentOrThrow();let o=r.getFirstDescendant();r=r.getLastDescendant();let i="element",l="element",a=0;e.$isTextNode(o)?i="text":e.$isElementNode(o)||null===o||(o=o.getParentOrThrow()),e.$isTextNode(r)?(l="text",a=r.getTextContentSize()):e.$isElementNode(r)||null===r||(r=r.getParentOrThrow()),o&&r&&(n.set(o.getKey(),0,i),t.set(r.getKey(),a,l))},K.$setBlocksType=function(t,n){if("root"===t.anchor.key){n=n();var r=e.$getRoot();(t=r.getFirstChild())?t.replace(n,!0):r.append(n)}else for(r=t.getNodes(),t=t.anchor.getNode().getParentOrThrow(),-1===r.indexOf(t)&&r.push(t),t.isInline()&&(t=t.getParentOrThrow(),-1===r.indexOf(t)&&r.push(t)),t=0;t<r.length;t++){let l=r[t];var o=l;if(!e.$isElementNode(o)||e.$isRootOrShadowRoot(o))o=!1;else{var i=o.getFirstChild();i=null===i||e.$isTextNode(i)||i.isInline(),o=!o.isInline()&&!1!==o.canBeEmpty()&&i}o&&((o=n()).setFormat(l.getFormatType()),o.setIndent(l.getIndent()),l.replace(o,!0))}},K.$shouldOverrideDefaultCharacterSelection=function(t,n){return t=e.$getAdjacentNode(t.focus,n),e.$isDecoratorNode(t)&&!t.isIsolated()||e.$isElementNode(t)&&!t.isInline()&&!t.canBeEmpty()},K.$sliceSelectedTextNodeContent=function(t,n){if(n.isSelected()&&!n.isSegmented()&&!n.isToken()&&(e.$isRangeSelection(t)||e.DEPRECATED_$isGridSelection(t))){var r=t.anchor.getNode(),o=t.focus.getNode(),i=n.is(r),l=n.is(o);if(i||l){i=t.isBackward();let e,[a,s]=t.getCharacterOffsets();t=r.is(o),l=n.is(i?o:r),o=n.is(i?r:o),r=0,t?(r=a>s?s:a,e=a>s?a:s):l?(r=i?s:a,e=void 0):o&&(r=0,e=i=i?a:s),n.__text=n.__text.slice(r,e)}}return n},K.$wrapNodes=function(t,n,r=null){var o=t.getNodes();let i=o.length;var l=t.anchor;if(0===i||1===i&&"element"===l.type&&0===l.getNode().getChildrenSize()){o=(t="text"===l.type?l.getNode().getParentOrThrow():l.getNode()).getChildren();let e=n();e.setFormat(t.getFormatType()),e.setIndent(t.getIndent()),o.forEach((t=>e.append(t))),r&&(e=r.append(e)),t.replace(e)}else{l=null;var a=[];for(let u=0;u<i;u++){let i=o[u];e.$isRootOrShadowRoot(i)?(s(t,a,a.length,n,r),a=[],l=i):null===l||null!==l&&e.$hasAncestor(i,l)?a.push(i):(s(t,a,a.length,n,r),a=[i])}s(t,a,a.length,n,r)}},K.createDOMRange=function(t,o,i,l,a){let s=o.getKey(),u=l.getKey(),c=document.createRange(),d=t.getElementByKey(s);if(t=t.getElementByKey(u),e.$isTextNode(o)&&(d=n(d)),e.$isTextNode(l)&&(t=n(t)),void 0===o||void 0===l||null===d||null===t)return null;"BR"===d.nodeName&&([d,i]=r(d)),"BR"===t.nodeName&&([t,a]=r(t)),o=d.firstChild,d===t&&null!=o&&"BR"===o.nodeName&&0===i&&0===a&&(a=1);try{c.setStart(d,i),c.setEnd(t,a)}catch(e){return null}return!c.collapsed||i===a&&s===u||(c.setStart(t,a),c.setEnd(d,i)),c},K.createRectsFromDOMRange=function(e,t){var n=e.getRootElement();if(null===n)return[];e=n.getBoundingClientRect(),n=getComputedStyle(n),n=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight);let r,o=(t=Array.from(t.getClientRects())).length;t.sort(((e,t)=>{let n=e.top-t.top;return 3>=Math.abs(n)?e.left-t.left:n}));for(let i=0;i<o;i++){let l=t[i],a=l.width+n===e.width;r&&r.top<=l.top&&r.top+r.height>l.top&&r.left+r.width>l.left||a?(t.splice(i--,1),o--):r=l}return t},K.getStyleObjectFromCSS=i,K.trimTextContentFromAnchor=function(t,n,r){let o=n.getNode();if(e.$isElementNode(o)){var i=o.getDescendantByIndex(n.offset);null!==i&&(o=i)}for(;0<r&&null!==o;){var l=o.getPreviousSibling(),a=0;if(null===l){for(var s=(i=o.getParentOrThrow()).getPreviousSibling();null===s;){if(null===(i=i.getParent())){l=null;break}s=i.getPreviousSibling()}null!==i&&(a=i.isInline()?0:2,l=e.$isElementNode(s)?s.getLastDescendant():s)}if(""===(s=o.getTextContent())&&e.$isElementNode(o)&&!o.isInline()&&(s="\n\n"),i=o.getTextContentSize(),!e.$isTextNode(o)||r>=i)s=o.getParent(),o.remove(),null==s||0!==s.getChildrenSize()||e.$isRootNode(s)||s.remove(),r-=i+a,o=l;else{let u=o.getKey();a=t.getEditorState().read((()=>{const t=e.$getNodeByKey(u);return e.$isTextNode(t)&&t.isSimpleText()?t.getTextContent():null})),l=i-r;let c=s.slice(0,l);null!==a&&a!==s?(r=e.$getPreviousSelection(),i=o,o.isSimpleText()?o.setTextContent(a):(i=e.$createTextNode(a),o.replace(i)),e.$isRangeSelection(r)&&r.isCollapsed()&&(r=r.anchor.offset,i.select(r,r))):o.isSimpleText()?(a=n.key===u,(s=n.offset)<r&&(s=i),r=a?s-r:0,i=a?s:l,a&&0===r?([r]=o.splitText(r,i),r.remove()):([,r]=o.splitText(r,i),r.remove())):(r=e.$createTextNode(c),o.replace(r)),r=0}}},K}();return P=e}function Q(){if(D)return W;D=1;var e=V(),t=Y();function n(e,t){for(let n of t)if(e.type.startsWith(n))return!0;return!1}function r(e,n){for(;e!==t.$getRoot()&&null!=e;){if(n(e))return e;e=e.getParent()}return null}function o(e){return 1===e.nodeType}return W.$splitNode=t.$splitNode,W.$dfs=function(e,n){let r=[];e=(e||t.$getRoot()).getLatest(),n=n||(t.$isElementNode(e)?e.getLastDescendant():e);for(var o=e,i=0;null!==(o=o.getParent());)i++;for(o=i;null!==e&&!e.is(n);)if(r.push({depth:o,node:e}),t.$isElementNode(e)&&0<e.getChildrenSize())e=e.getFirstChild(),o++;else for(i=null;null===i&&null!==e;)null===(i=e.getNextSibling())?(e=e.getParent(),o--):e=i;return null!==e&&e.is(n)&&r.push({depth:o,node:e}),r},W.$findMatchingParent=r,W.$getNearestBlockElementAncestorOrThrow=function(e){let n=r(e,(e=>t.$isElementNode(e)&&!e.isInline()));return t.$isElementNode(n)||function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(4,e.__key),n},W.$getNearestNodeOfType=function(e,t){for(;null!=e;){if(e instanceof t)return e;e=e.getParent()}return null},W.$insertNodeToNearestRoot=function(e){var n=t.$getSelection()||t.$getPreviousSelection();if(t.$isRangeSelection(n)){var{focus:r}=n;if(n=r.getNode(),r=r.offset,t.$isRootOrShadowRoot(n))null==(r=n.getChildAtIndex(r))?n.append(e):r.insertBefore(e),e.selectNext();else{let o,i;t.$isTextNode(n)?(o=n.getParentOrThrow(),i=n.getIndexWithinParent(),0<r&&(i+=1,n.splitText(r))):(o=n,i=r),[,n]=t.$splitNode(o,i),n.insertBefore(e),n.selectStart()}}else t.$isNodeSelection(n)||t.DEPRECATED_$isGridSelection(n)?(n=n.getNodes())[n.length-1].getTopLevelElementOrThrow().insertAfter(e):t.$getRoot().append(e),n=t.$createParagraphNode(),e.insertAfter(n),n.select();return e.getLatest()},W.$restoreEditorState=function(n,r){let o=new Map,i=n._pendingEditorState;for(let[n,i]of r._nodeMap){let r=e.$cloneWithProperties(i);t.$isTextNode(r)&&(r.__text=i.__text),o.set(n,r)}i&&(i._nodeMap=o),n._dirtyType=2,n=r._selection,t.$setSelection(null===n?null:n.clone())},W.$wrapNodeInElement=function(e,t){return t=t(),e.replace(t),t.append(e),t},W.addClassNamesToElement=function(e,...t){t.forEach((t=>{"string"==typeof t&&(t=t.split(" ").filter((e=>""!==e)),e.classList.add(...t))}))},W.isHTMLAnchorElement=function(e){return o(e)&&"A"===e.tagName},W.isHTMLElement=o,W.isMimeType=n,W.mediaFileReader=function(e,t){let r=e[Symbol.iterator]();return new Promise(((e,o)=>{let i=[],l=()=>{const{done:a,value:s}=r.next();if(a)return e(i);const u=new FileReader;u.addEventListener("error",o),u.addEventListener("load",(()=>{const e=u.result;"string"==typeof e&&i.push({file:s,result:e}),l()})),n(s,t)?u.readAsDataURL(s):l()};l()}))},W.mergeRegister=function(...e){return()=>{e.forEach((e=>e()))}},W.objectKlassEquals=function(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name},W.registerNestedElementResolver=function(e,t,n,r){return e.registerNodeTransform(t,(e=>{e:{for(var o=e.getChildren(),i=0;i<o.length;i++)if(o[i]instanceof t){o=null;break e}for(o=e;null!==o;)if(i=o,(o=o.getParent())instanceof t){o={child:i,parent:o};break e}o=null}if(null!==o){const{child:t,parent:l}=o;if(t.is(e)){if(r(l,e),o=(e=t.getNextSiblings()).length,l.insertAfter(t),0!==o){i=n(l),t.insertAfter(i);for(let t=0;t<o;t++)i.append(e[t])}l.canBeEmpty()||0!==l.getChildrenSize()||l.remove()}}}))},W.removeClassNamesFromElement=function(e,...t){t.forEach((t=>{"string"==typeof t&&e.classList.remove(...t.split(" "))}))},W}function q(){if($)return z;$=1;const e=Q();return z=e}function X(){if(H)return B;H=1;const e=function(){if(F)return j;F=1;var e=q(),t=Y();let n=new Set(["http:","https:","mailto:","sms:","tel:"]);class r extends t.ElementNode{static getType(){return"link"}static clone(e){return new r(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e,t={},n){super(n);let{target:r=null,rel:o=null,title:i=null}=t;this.__url=e,this.__target=r,this.__rel=o,this.__title=i}createDOM(t){let n=document.createElement("a");return n.href=this.sanitizeUrl(this.__url),null!==this.__target&&(n.target=this.__target),null!==this.__rel&&(n.rel=this.__rel),null!==this.__title&&(n.title=this.__title),e.addClassNamesToElement(n,t.theme.link),n}updateDOM(e,t){let n=this.__url,r=this.__target,o=this.__rel,i=this.__title;return n!==e.__url&&(t.href=n),r!==e.__target&&(r?t.target=r:t.removeAttribute("target")),o!==e.__rel&&(o?t.rel=o:t.removeAttribute("rel")),i!==e.__title&&(i?t.title=i:t.removeAttribute("title")),!1}static importDOM(){return{a:()=>({conversion:o,priority:1})}}static importJSON(e){let t=i(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}sanitizeUrl(e){try{let t=new URL(e);if(!n.has(t.protocol))return"about:blank"}catch(e){}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),type:"link",url:this.getURL(),version:1}}getURL(){return this.getLatest().__url}setURL(e){this.getWritable().__url=e}getTarget(){return this.getLatest().__target}setTarget(e){this.getWritable().__target=e}getRel(){return this.getLatest().__rel}setRel(e){this.getWritable().__rel=e}getTitle(){return this.getLatest().__title}setTitle(e){this.getWritable().__title=e}insertNewAfter(e,n=!0){return e=this.getParentOrThrow().insertNewAfter(e,n),t.$isElementNode(e)?(n=i(this.__url,{rel:this.__rel,target:this.__target,title:this.__title}),e.append(n),n):null}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,n){if(!t.$isRangeSelection(n))return!1;e=n.anchor.getNode();let r=n.focus.getNode();return this.isParentOf(e)&&this.isParentOf(r)&&0<n.getTextContent().length}}function o(t){let n=null;if(e.isHTMLAnchorElement(t)){let e=t.textContent;null!==e&&""!==e&&(n=i(t.getAttribute("href")||"",{rel:t.getAttribute("rel"),target:t.getAttribute("target"),title:t.getAttribute("title")}))}return{node:n}}function i(e,n){return t.$applyNodeReplacement(new r(e,n))}function l(e){return e instanceof r}class a extends r{static getType(){return"autolink"}static clone(e){return new a(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}static importJSON(e){let t=s(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),type:"autolink",version:1}}insertNewAfter(e,n=!0){return e=this.getParentOrThrow().insertNewAfter(e,n),t.$isElementNode(e)?(n=s(this.__url,{rel:this._rel,target:this.__target,title:this.__title}),e.append(n),n):null}}function s(e,n){return t.$applyNodeReplacement(new a(e,n))}let u=t.createCommand("TOGGLE_LINK_COMMAND");return j.$createAutoLinkNode=s,j.$createLinkNode=i,j.$isAutoLinkNode=function(e){return e instanceof a},j.$isLinkNode=l,j.AutoLinkNode=a,j.LinkNode=r,j.TOGGLE_LINK_COMMAND=u,j.toggleLink=function(e,n={}){let{target:r,title:o}=n,a=void 0===n.rel?"noreferrer":n.rel;if(n=t.$getSelection(),t.$isRangeSelection(n))if(n=n.extract(),null===e)n.forEach((e=>{if(l(e=e.getParent())){let t=e.getChildren();for(let n=0;n<t.length;n++)e.insertBefore(t[n]);e.remove()}}));else{if(1===n.length){var s=n[0];if(s=l(s)?s:function(e,t){for(;null!==e&&null!==(e=e.getParent())&&!t(e););return e}(s,l),null!==s)return s.setURL(e),void 0!==r&&s.setTarget(r),null!==a&&s.setRel(a),void(void 0!==o&&s.setTitle(o))}let u=null,c=null;n.forEach((n=>{var s=n.getParent();if(s!==c&&null!==s&&(!t.$isElementNode(n)||n.isInline()))if(l(s))c=s,s.setURL(e),void 0!==r&&s.setTarget(r),null!==a&&c.setRel(a),void 0!==o&&c.setTitle(o);else if(s.is(u)||(u=s,c=i(e,{rel:a,target:r}),l(s)?null===n.getPreviousSibling()?s.insertBefore(c):s.insertAfter(c):n.insertBefore(c)),l(n)){if(!n.is(c)){if(null!==c){s=n.getChildren();for(let e=0;e<s.length;e++)c.append(s[e])}n.remove()}}else null!==c&&c.append(n)}))}},j}();return B=e}var J,Z,ee,te=X(),ne={};function re(){if(J)return ne;J=1;var e=Y(),t=q();function n(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function r(e){let t=1;for(e=e.getParent();null!=e;){if(y(e)){if(k(e=e.getParent())){t++,e=e.getParent();continue}n(40)}break}return t}function o(e){k(e=e.getParent())||n(40);let t=e;for(;null!==t;)t=t.getParent(),k(t)&&(e=t);return e}function i(e){let t=[];e=e.getChildren().filter(y);for(let n=0;n<e.length;n++){let r=e[n],o=r.getFirstChild();k(o)?t=t.concat(i(o)):t.push(r)}return t}function l(e){return y(e)&&k(e.getFirstChild())}function a(e){return b().append(e)}function s(e,t){return y(e)&&(0===t.length||1===t.length&&e.is(t[0])&&0===e.getChildrenSize())}function u(e,t){e.splice(e.getChildrenSize(),0,t)}function c(e,t){if(k(e))return e;let n=e.getPreviousSibling(),r=e.getNextSibling(),o=b();return o.setFormat(e.getFormatType()),o.setIndent(e.getIndent()),u(o,e.getChildren()),k(n)&&t===n.getListType()?(n.append(o),e.remove(),k(r)&&t===r.getListType()&&(u(n,r.getChildren()),r.remove()),n):k(r)&&t===r.getListType()?(r.getFirstChildOrThrow().insertBefore(o),e.remove(),r):((t=S(t)).append(o),e.replace(t),f(t),t)}function d(e,t){var n=e.getLastChild();let r=t.getFirstChild();n&&r&&l(n)&&l(r)&&(d(n.getFirstChild(),r.getFirstChild()),r.remove()),0<(n=t.getChildren()).length&&(e.append(...n),f(e)),t.remove()}function f(e,t){if(void 0!==(e=t||e.getChildren()))for(t=0;t<e.length;t++){let l=e[t];if(y(l)){let e=l.getValue();var r=l,o=r.getParent(),i=1;for(null!=o&&(k(o)?i=o.getStart():n(44)),r=r.getPreviousSiblings(),o=0;o<r.length;o++){let e=r[o];y(e)&&!k(e.getFirstChild())&&i++}e!==i&&l.setValue(i)}}}function p(e){if(!l(e)){var t=e.getParent(),n=t?t.getParent():void 0,r=n?n.getParent():void 0;if(k(r)&&y(n)&&k(t)){var o=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(e.is(o))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(i))n.insertAfter(e),t.isEmpty()&&n.remove();else{var a=t.getListType();o=b();let r=S(a);o.append(r),e.getPreviousSiblings().forEach((e=>r.append(e))),i=b(),a=S(a),i.append(a),u(a,e.getNextSiblings()),n.insertBefore(o),n.insertAfter(i),n.replace(e)}f(t),f(r)}}}class h extends e.ElementNode{static getType(){return"listitem"}static clone(e){return new h(e.__value,e.__checked,e.__key)}constructor(e,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}createDOM(e){let t=document.createElement("li"),n=this.getParent();return k(n)&&"check"===n.getListType()&&g(t,this,null),t.value=this.__value,m(t,e.theme,this),t}updateDOM(e,t,n){let r=this.getParent();return k(r)&&"check"===r.getListType()&&g(t,this,e),t.value=this.__value,m(t,n.theme,this),!1}static transform(){return e=>{let t=e.getParent();k(t)&&(f(t),"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0))}}static importDOM(){return{li:()=>({conversion:v,priority:0})}}static importJSON(e){let t=b();return t.setChecked(e.checked),t.setValue(e.value),t.setFormat(e.format),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),type:"listitem",value:this.getValue(),version:1}}append(...t){for(let n=0;n<t.length;n++){let r=t[n];if(e.$isElementNode(r)&&this.canMergeWith(r)){let e=r.getChildren();this.append(...e),r.remove()}else super.append(r)}return this}replace(e,t){if(y(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!k(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=S(n.getListType()),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}return t&&this.getChildren().forEach((t=>{e.append(t)})),this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){var r=this.getParentOrThrow();k(r)||n(39);var o=this.getNextSiblings();if(y(e))return t=super.insertAfter(e,t),k(e=e.getParentOrThrow())&&f(e),t;if(k(e)){for(r=e,o=(e=e.getChildren()).length-1;0<=o;o--)r=e[o],this.insertAfter(r,t);return r}if(r.insertAfter(e,t),0!==o.length){let n=S(r.getListType());o.forEach((e=>n.append(e))),e.insertAfter(n,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&l(t)&&l(n)?(d(t.getFirstChild(),n.getFirstChild()),n.remove()):n&&(k(e=n.getParent())&&f(e))}insertNewAfter(e,t=!0){return e=b(null==this.__checked&&void 0),this.insertAfter(e,t),e}collapseAtStart(t){let n=e.$createParagraphNode();this.getChildren().forEach((e=>n.append(e)));var r=this.getParentOrThrow(),o=r.getParentOrThrow();let i=y(o);return 1===r.getChildrenSize()?i?(r.remove(),o.select()):(r.insertBefore(n),r.remove(),r=t.anchor,t=t.focus,o=n.getKey(),"element"===r.type&&r.getNode().is(this)&&r.set(o,r.offset,"element"),"element"===t.type&&t.getNode().is(this)&&t.set(o,t.offset,"element")):(r.insertBefore(n),this.remove()),!0}getValue(){return this.getLatest().__value}setValue(e){this.getWritable().__value=e}getChecked(){return this.getLatest().__checked}setChecked(e){this.getWritable().__checked=e}toggleChecked(){this.setChecked(!this.__checked)}getIndent(){var e=this.getParent();if(null===e)return this.getLatest().__indent;e=e.getParentOrThrow();let t=0;for(;y(e);)e=e.getParentOrThrow().getParentOrThrow(),t++;return t}setIndent(e){"number"==typeof e&&-1<e||n(117);let t=this.getIndent();for(;t!==e;)if(t<e){e:{var r=new Set;if(l(this)||r.has(this.getKey()))break e;let e=this.getParent();var o=this.getNextSibling(),i=this.getPreviousSibling();if(l(o)&&l(i)){if(k(i=i.getFirstChild())){i.append(this);var a=o.getFirstChild();k(a)&&(u(i,a=a.getChildren()),o.remove(),r.add(o.getKey())),f(i)}}else l(o)?k(o=o.getFirstChild())&&(null!==(r=o.getFirstChild())&&r.insertBefore(this),f(o)):l(i)?k(o=i.getFirstChild())&&(o.append(this),f(o)):k(e)&&(r=b(),a=S(e.getListType()),r.append(a),a.append(this),i?i.insertAfter(r):o?o.insertBefore(r):e.append(r),f(a));k(e)&&f(e)}t++}else p(this),t--;return this}insertBefore(e){if(y(e)){let e=this.getParentOrThrow();if(k(e)){f(e,this.getNextSiblings())}}return super.insertBefore(e)}canInsertAfter(e){return y(e)}canReplaceWith(e){return y(e)}canMergeWith(t){return e.$isParagraphNode(t)||y(t)}extractWithChild(t,n){if(!e.$isRangeSelection(n))return!1;t=n.anchor.getNode();let r=n.focus.getNode();return this.isParentOf(t)&&this.isParentOf(r)&&this.getTextContent().length===n.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return S("bullet")}}function m(e,n,r){let o=[],i=[];var l=(n=n.list)?n.listitem:void 0;if(n&&n.nested)var a=n.nested.listitem;if(void 0!==l&&(l=l.split(" "),o.push(...l)),n){l=k(l=r.getParent())&&"check"===l.getListType();let e=r.getChecked();l&&!e||i.push(n.listitemUnchecked),l&&e||i.push(n.listitemChecked),l&&o.push(e?n.listitemChecked:n.listitemUnchecked)}void 0!==a&&(a=a.split(" "),r.getChildren().some((e=>k(e)))?o.push(...a):i.push(...a)),0<i.length&&t.removeClassNamesFromElement(e,...i),0<o.length&&t.addClassNamesToElement(e,...o)}function g(e,t,n){k(t.getFirstChild())?(e.removeAttribute("role"),e.removeAttribute("tabIndex"),e.removeAttribute("aria-checked")):(e.setAttribute("role","checkbox"),e.setAttribute("tabIndex","-1"),n&&t.__checked===n.__checked||e.setAttribute("aria-checked",t.getChecked()?"true":"false"))}function v(e){return{node:b(e=t.isHTMLElement(e)&&"true"===e.getAttribute("aria-checked"))}}function b(t){return e.$applyNodeReplacement(new h(void 0,t))}function y(e){return e instanceof h}class x extends e.ElementNode{static getType(){return"list"}static clone(e){return new x(e.__listType||w[e.__tag],e.__start,e.__key)}constructor(e,t,n){super(n),this.__listType=e=w[e]||e,this.__tag="number"===e?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){let t=this.getWritable();t.__listType=e,t.__tag="number"===e?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e){let t=document.createElement(this.__tag);return 1!==this.__start&&t.setAttribute("start",String(this.__start)),t.__lexicalListType=this.__listType,_(t,e.theme,this),t}updateDOM(e,t,n){return e.__tag!==this.__tag||(_(t,n.theme,this),!1)}static importDOM(){return{ol:()=>({conversion:E,priority:0}),ul:()=>({conversion:E,priority:0})}}static importJSON(e){let t=S(e.listType,e.start);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportDOM(e){return({element:e}=super.exportDOM(e)),e&&(1!==this.__start&&e.setAttribute("start",String(this.__start)),"check"===this.__listType&&e.setAttribute("__lexicalListType","check")),{element:e}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag(),type:"list",version:1}}canBeEmpty(){return!1}canIndent(){return!1}append(...t){for(let r=0;r<t.length;r++){var n=t[r];if(y(n))super.append(n);else{let t=b();k(n)?t.append(n):e.$isElementNode(n)?(n=e.$createTextNode(n.getTextContent()),t.append(n)):t.append(n),super.append(t)}}return f(this),this}extractWithChild(e){return y(e)}}function _(e,n,o){let i=[],l=[];var a=n.list;if(void 0!==a){let e=a[`${o.__tag}Depth`]||[],t=(n=r(o)-1)%e.length;var s=e[t];let u,c=a[o.__tag];if(void 0!==(a=a.nested)&&a.list&&(u=a.list),void 0!==c&&i.push(c),void 0!==s)for(s=s.split(" "),i.push(...s),s=0;s<e.length;s++)s!==t&&l.push(o.__tag+s);void 0!==u&&(o=u.split(" "),1<n?i.push(...o):l.push(...o))}0<l.length&&t.removeClassNamesFromElement(e,...l),0<i.length&&t.addClassNamesToElement(e,...i)}function C(e){let t=[];for(let r=0;r<e.length;r++){var n=e[r];y(n)?(t.push(n),1<(n=n.getChildren()).length&&n.forEach((e=>{k(e)&&t.push(a(e))}))):t.push(a(n))}return t}function E(e){let n=e.nodeName.toLowerCase(),r=null;return"ol"===n?r=S("number",e.start):"ul"===n&&(r=t.isHTMLElement(e)&&"check"===e.getAttribute("__lexicallisttype")?S("check"):S("bullet")),{after:C,node:r}}let w={ol:"number",ul:"bullet"};function S(t,n=1){return e.$applyNodeReplacement(new x(t,n))}function k(e){return e instanceof x}let T=e.createCommand("INSERT_UNORDERED_LIST_COMMAND"),N=e.createCommand("INSERT_ORDERED_LIST_COMMAND"),R=e.createCommand("INSERT_CHECK_LIST_COMMAND"),A=e.createCommand("REMOVE_LIST_COMMAND");return ne.$createListItemNode=b,ne.$createListNode=S,ne.$getListDepth=r,ne.$handleListInsertParagraph=function(){var t=e.$getSelection();if(!e.$isRangeSelection(t)||!t.isCollapsed())return!1;if(!y(t=t.anchor.getNode())||""!==t.getTextContent())return!1;var r=o(t),i=t.getParent();k(i)||n(40);let l,a=i.getParent();if(e.$isRootOrShadowRoot(a))l=e.$createParagraphNode(),r.insertAfter(l);else{if(!y(a))return!1;l=b(),a.insertAfter(l)}if(l.select(),0<(r=t.getNextSiblings()).length){let t=S(i.getListType());e.$isParagraphNode(l)?l.insertAfter(t):((i=b()).append(t),l.insertAfter(i)),r.forEach((e=>{e.remove(),t.append(e)}))}return function(e){for(;null==e.getNextSibling()&&null==e.getPreviousSibling();){let t=e.getParent();if(null==t||!y(e)&&!k(e))break;e=t}e.remove()}(t),!0},ne.$isListItemNode=y,ne.$isListNode=k,ne.INSERT_CHECK_LIST_COMMAND=R,ne.INSERT_ORDERED_LIST_COMMAND=N,ne.INSERT_UNORDERED_LIST_COMMAND=T,ne.ListItemNode=h,ne.ListNode=x,ne.REMOVE_LIST_COMMAND=A,ne.insertList=function(t,n){t.update((()=>{var t=e.$getSelection();if(e.$isRangeSelection(t)||e.DEPRECATED_$isGridSelection(t)){var r=t.getNodes(),o=(t=t.anchor.getNode()).getParent();if(s(t,r))r=S(n),e.$isRootOrShadowRoot(o)?(t.replace(r),o=b(),e.$isElementNode(t)&&(o.setFormat(t.getFormatType()),o.setIndent(t.getIndent())),r.append(o)):y(t)&&(u(r,(t=t.getParentOrThrow()).getChildren()),t.replace(r));else for(t=new Set,o=0;o<r.length;o++){var i=r[o];if(e.$isElementNode(i)&&i.isEmpty()&&!t.has(i.getKey()))c(i,n);else if(e.$isLeafNode(i))for(i=i.getParent();null!=i;){let r=i.getKey();if(k(i)){if(!t.has(r)){var l=S(n);u(l,i.getChildren()),i.replace(l),f(l),t.add(r)}break}if(l=i.getParent(),e.$isRootOrShadowRoot(l)&&!t.has(r)){t.add(r),c(i,n);break}i=l}}}}))},ne.removeList=function(n){n.update((()=>{let n=e.$getSelection();if(e.$isRangeSelection(n)){var r=new Set,l=n.getNodes(),a=n.anchor.getNode();if(s(a,l))r.add(o(a));else for(a=0;a<l.length;a++){var c=l[a];e.$isLeafNode(c)&&(null!=(c=t.$getNearestNodeOfType(c,h))&&r.add(o(c)))}for(let t of r){r=t,l=i(t);for(let t of l)u(l=e.$createParagraphNode(),t.getChildren()),r.insertAfter(l),r=l,t.__key===n.anchor.key&&n.anchor.set(l.getKey(),0,"element"),t.__key===n.focus.key&&n.focus.set(l.getKey(),0,"element"),t.remove();t.remove()}}}))},ne}function oe(){if(ee)return Z;ee=1;const e=re();return Z=e}var ie,le,ae,se,ue,ce,de=oe(),fe={},pe={};function he(){if(ie)return pe;ie=1;var e=h();let t=e.createContext(null);return pe.LexicalComposerContext=t,pe.createLexicalComposerContext=function(e,t){let n=null;return null!=e&&(n=e[1]),{getTheme:function(){return null!=t?t:null!=n?n.getTheme():null}}},pe.useLexicalComposerContext=function(){let n=e.useContext(t);return null==n&&function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),n},pe}function me(){if(ae)return le;ae=1;const e=he();return le=e}function ge(){if(se)return fe;se=1;var e=me(),t=Y(),n=h();let r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;var o=r?n.useLayoutEffect:n.useEffect;let i={tag:"history-merge"};return fe.LexicalComposer=function({initialConfig:l,children:a}){let s=n.useMemo((()=>{const{theme:n,namespace:o,editor__DEPRECATED:a,nodes:s,onError:u,editorState:c}=l,d=e.createLexicalComposerContext(null,n);let f=a||null;if(null===f){const e=t.createEditor({editable:l.editable,namespace:o,nodes:s,onError:t=>u(t,e),theme:n});!function(e,n){if(null!==n)if(void 0===n)e.update((()=>{var n=t.$getRoot();if(n.isEmpty()){let o=t.$createParagraphNode();n.append(o),n=r?document.activeElement:null,(null!==t.$getSelection()||null!==n&&n===e.getRootElement())&&o.select()}}),i);else if(null!==n)switch(typeof n){case"string":let r=e.parseEditorState(n);e.setEditorState(r,i);break;case"object":e.setEditorState(n,i);break;case"function":e.update((()=>{t.$getRoot().isEmpty()&&n(e)}),i)}}(e,c),f=e}return[f,d]}),[]);return o((()=>{let e=l.editable,[t]=s;t.setEditable(void 0===e||e)}),[]),n.createElement(e.LexicalComposerContext.Provider,{value:s},a)},fe}var ve,be,ye,xe,_e,Ce,Ee=function(){if(ce)return ue;ce=1;const e=ge();return ue=e}(),we={},Se={};function ke(){if(ve)return Se;ve=1;var e=q(),t=Y();function n(e,n){let r=Date.now(),o=0;return(i,l,a,s,u,c)=>{let d=Date.now();if(c.has("historic"))return o=0,r=d,2;let f=function(e,n,r,o,i){if(null===e||0===r.size&&0===o.size&&!i)return 0;var l=n._selection,a=e._selection;if(i)return 1;if(!(t.$isRangeSelection(l)&&t.$isRangeSelection(a)&&a.isCollapsed()&&l.isCollapsed()))return 0;i=n._nodeMap;let s=[];for(let e of r)void 0!==(r=i.get(e))&&s.push(r);for(let[e,n]of o)n&&(void 0===(o=i.get(e))||t.$isRootNode(o)||s.push(o));return 0===s.length?0:1<s.length?(n=(o=n._nodeMap).get(l.anchor.key),a=o.get(a.anchor.key),n&&a&&!e._nodeMap.has(n.__key)&&t.$isTextNode(n)&&1===n.__text.length&&1===l.anchor.offset?2:0):(n=s[0],e=e._nodeMap.get(n.__key),t.$isTextNode(e)&&t.$isTextNode(n)&&e.__mode===n.__mode?(e=e.__text)===(n=n.__text)?0:(l=l.anchor,a=a.anchor,l.key!==a.key||"text"!==l.type?0:(l=l.offset,a=a.offset,1==(e=n.length-e.length)&&a===l-1?2:-1===e&&a===l+1?3:-1===e&&a===l?4:0)):0)}(i,l,s,u,e.isComposing()),p=(()=>{var p=null===a||a.editor===e,h=c.has("history-push");if(!h&&p&&c.has("history-merge"))return 0;if(null===i)return 1;var m=l._selection;if(!(0<s.size||0<u.size))return null!==m?0:2;if(!1===h&&0!==f&&f===o&&d<r+n&&p)return 0;if(1===s.size){{h=Array.from(s)[0],p=i._nodeMap.get(h),h=l._nodeMap.get(h),m=i._selection;let e=l._selection,n=!1;t.$isRangeSelection(m)&&t.$isRangeSelection(e)&&(n="element"===m.anchor.type&&"element"===m.focus.type&&"text"===e.anchor.type&&"text"===e.focus.type),p=!(n||!t.$isTextNode(p)||!t.$isTextNode(h))&&(p.__type===h.__type&&p.__text===h.__text&&p.__mode===h.__mode&&p.__detail===h.__detail&&p.__style===h.__style&&p.__format===h.__format&&p.__parent===h.__parent)}if(p)return 0}return 1})();return r=d,o=f,p}}return Se.createEmptyHistoryState=function(){return{current:null,redoStack:[],undoStack:[]}},Se.registerHistory=function(r,o,i){let l=n(r,i);i=({editorState:e,prevEditorState:n,dirtyLeaves:i,dirtyElements:a,tags:s})=>{const u=o.current,c=o.redoStack,d=o.undoStack,f=null===u?null:u.editorState;if(null===u||e!==f){if(1===(n=l(n,e,u,i,a,s)))0!==c.length&&(o.redoStack=[],r.dispatchCommand(t.CAN_REDO_COMMAND,!1)),null!==u&&(d.push({...u}),r.dispatchCommand(t.CAN_UNDO_COMMAND,!0));else if(2===n)return;o.current={editor:r,editorState:e}}};let a=e.mergeRegister(r.registerCommand(t.UNDO_COMMAND,(()=>{let e=o.redoStack,n=o.undoStack;if(0!==n.length){let i=o.current,l=n.pop();null!==i&&(e.push(i),r.dispatchCommand(t.CAN_REDO_COMMAND,!0)),0===n.length&&r.dispatchCommand(t.CAN_UNDO_COMMAND,!1),o.current=l||null,l&&l.editor.setEditorState(l.editorState,{tag:"historic"})}return!0}),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.REDO_COMMAND,(()=>{let e=o.redoStack;var n=o.undoStack;if(0!==e.length){let i=o.current;null!==i&&(n.push(i),r.dispatchCommand(t.CAN_UNDO_COMMAND,!0)),n=e.pop(),0===e.length&&r.dispatchCommand(t.CAN_REDO_COMMAND,!1),o.current=n||null,n&&n.editor.setEditorState(n.editorState,{tag:"historic"})}return!0}),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.CLEAR_EDITOR_COMMAND,(()=>(o.undoStack=[],o.redoStack=[],o.current=null,!1)),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.CLEAR_HISTORY_COMMAND,(()=>(o.undoStack=[],o.redoStack=[],o.current=null,r.dispatchCommand(t.CAN_REDO_COMMAND,!1),r.dispatchCommand(t.CAN_UNDO_COMMAND,!1),!0)),t.COMMAND_PRIORITY_EDITOR),r.registerUpdateListener(i)),s=r.registerUpdateListener(i);return()=>{a(),s()}},Se}function Te(){if(xe)return we;xe=1;var e=me(),t=function(){if(ye)return be;ye=1;const e=ke();return be=e}(),n=h();return we.createEmptyHistoryState=t.createEmptyHistoryState,we.HistoryPlugin=function({externalHistoryState:r}){let[o]=e.useLexicalComposerContext();return function(e,r,o=1e3){let i=n.useMemo((()=>r||t.createEmptyHistoryState()),[r]);n.useEffect((()=>t.registerHistory(e,i,o)),[o,e,i])}(o,r),null},we}var Ne,Re,Ae,Le=function(){if(Ce)return _e;Ce=1;const e=Te();return _e=e}(),Me={};function Oe(){if(Ne)return Me;Ne=1;var e=oe(),t=me(),n=h(),r=q(),o=Y();return Me.ListPlugin=function(){let[i]=t.useLexicalComposerContext();return n.useEffect((()=>{if(!i.hasNodes([e.ListNode,e.ListItemNode]))throw Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")}),[i]),function(t){n.useEffect((()=>r.mergeRegister(t.registerCommand(e.INSERT_ORDERED_LIST_COMMAND,(()=>(e.insertList(t,"number"),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(e.INSERT_UNORDERED_LIST_COMMAND,(()=>(e.insertList(t,"bullet"),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(e.REMOVE_LIST_COMMAND,(()=>(e.removeList(t),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(o.INSERT_PARAGRAPH_COMMAND,(()=>!!e.$handleListInsertParagraph()),o.COMMAND_PRIORITY_LOW))),[t])}(i),null},Me}var Pe,Ie,De,ze=function(){if(Ae)return Re;Ae=1;const e=Oe();return Re=e}(),$e={};function Fe(){if(Pe)return $e;Pe=1;var e=me(),t=q(),n=Y(),r=h();function o(e){return e.registerCommand(n.KEY_TAB_COMMAND,(r=>{let o=n.$getSelection();return!!n.$isRangeSelection(o)&&(r.preventDefault(),r=function(e){var r=e.getNodes();if(0<function(e,t){let n=[];for(let r=0;r<e.length;r++){let o=t(e[r]);null!==o&&n.push(o)}return n}(r,(e=>n.$isBlockElementNode(e)&&e.canIndent()?e:null)).length)return!0;if(r=e.anchor,r=(e=(e=e.focus).isBefore(r)?e:r).getNode(),(r=t.$getNearestBlockElementAncestorOrThrow(r)).canIndent()){r=r.getKey();let t=n.$createRangeSelection();if(t.anchor.set(r,0,"element"),t.focus.set(r,0,"element"),t=n.$normalizeSelection__EXPERIMENTAL(t),t.anchor.is(e))return!0}return!1}(o)?r.shiftKey?n.OUTDENT_CONTENT_COMMAND:n.INDENT_CONTENT_COMMAND:n.INSERT_TAB_COMMAND,e.dispatchCommand(r,void 0))}),n.COMMAND_PRIORITY_EDITOR)}return $e.TabIndentationPlugin=function(){let[t]=e.useLexicalComposerContext();return r.useEffect((()=>o(t))),null},$e.registerTabIndentation=o,$e}var Be,He,je,We,Ke,Ue,Ge,Ye,Ve,Qe=function(){if(De)return Ie;De=1;const e=Fe();return Ie=e}(),qe={},Xe={},Je={};function Ze(){if(je)return He;je=1;const e=function(){if(Be)return Je;Be=1;var e=V(),t=Y();function n(r,o,i,l=null){let a=null==l||o.isSelected(l),s=t.$isElementNode(o)&&o.excludeFromCopy("html");var u=o;null!==l&&(u=e.$cloneWithProperties(o),u=t.$isTextNode(u)&&null!=l?e.$sliceSelectedTextNodeContent(l,u):u);let c=t.$isElementNode(u)?u.getChildren():[],{element:d,after:f}=u.exportDOM(r);if(!d)return!1;let p=document.createDocumentFragment();for(let e=0;e<c.length;e++){let i=c[e],s=n(r,i,p,l);!a&&t.$isElementNode(o)&&s&&o.extractWithChild(i,l,"html")&&(a=!0)}return a&&!s?(d.append(p),i.append(d),f&&(r=f.call(u,d))&&d.replaceWith(r)):i.append(p),a}let r=new Set(["STYLE","SCRIPT"]);function o(e,n,i=new Map,l){let a=[];if(r.has(e.nodeName))return a;let s=null;var u,{nodeName:c}=e,d=n._htmlConversions.get(c.toLowerCase());if(c=null,void 0!==d)for(u of d)null!==(d=u(e))&&(null===c||c.priority<d.priority)&&(c=d);if(c=(u=null!==c?c.conversion:null)?u(e):null,u=null,null!==c){if(u=c.after,d=c.node,s=Array.isArray(d)?d[d.length-1]:d,null!==s){for(var[,f]of i)if(s=f(s,l),!s)break;s&&a.push(...Array.isArray(d)?d:[s])}null!=c.forChild&&i.set(e.nodeName,c.forChild)}for(e=e.childNodes,l=[],f=0;f<e.length;f++)l.push(...o(e[f],n,new Map(i),s));return null!=u&&(l=u(l)),null==s?a=a.concat(l):t.$isElementNode(s)&&s.append(...l),a}return Je.$generateHtmlFromNodes=function(e,r){if("undefined"==typeof document||"undefined"==typeof window)throw Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");let o=document.createElement("div"),i=t.$getRoot().getChildren();for(let t=0;t<i.length;t++)n(e,i[t],o,r);return o.innerHTML},Je.$generateNodesFromDOM=function(e,t){t=t.body?t.body.childNodes:[];let n=[];for(let l=0;l<t.length;l++){var i=t[l];r.has(i.nodeName)||null!==(i=o(i,e))&&(n=n.concat(i))}return n},Je}();return He=e}function et(){if(We)return Xe;We=1;var e=Ze(),t=V(),n=q(),r=Y();function o(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function l(t){let n=r.$getSelection();if(null==n)throw Error("Expected valid LexicalSelection");return r.$isRangeSelection(n)&&n.isCollapsed()||0===n.getNodes().length?"":e.$generateHtmlFromNodes(t,n)}function a(e){let t=r.$getSelection();if(null==t)throw Error("Expected valid LexicalSelection");return r.$isRangeSelection(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(c(e,t))}function s(e,t,i){(r.DEPRECATED_$isGridSelection(i)||null!==n.$findMatchingParent(i.anchor.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e)))&&null!==n.$findMatchingParent(i.focus.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e))))&&1===t.length&&r.DEPRECATED_$isGridNode(t[0])?function(e,t,i,l){1===e.length&&r.DEPRECATED_$isGridNode(e[0])||o(42);var a=e[0];e=a.getChildren(),i=a.getFirstChildOrThrow().getChildrenSize();var s=a.getChildrenSize(),u=n.$findMatchingParent(t.anchor.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e)));t=(a=u&&n.$findMatchingParent(u,(e=>r.DEPRECATED_$isGridRowNode(e))))&&n.$findMatchingParent(a,(e=>r.DEPRECATED_$isGridNode(e))),r.DEPRECATED_$isGridCellNode(u)&&r.DEPRECATED_$isGridRowNode(a)&&r.DEPRECATED_$isGridNode(t)||o(43);var c=a.getIndexWithinParent(),d=Math.min(t.getChildrenSize()-1,c+s-1);let f,p;s=u.getIndexWithinParent(),u=Math.min(a.getChildrenSize()-1,s+i-1),i=Math.min(s,u),a=Math.min(c,d),s=Math.max(s,u),c=Math.max(c,d),d=t.getChildren(),u=0;for(let t=a;t<=c;t++){var h=d[t];r.DEPRECATED_$isGridRowNode(h)||o(24);var m=e[u];r.DEPRECATED_$isGridRowNode(m)||o(24),h=h.getChildren(),m=m.getChildren();let n=0;for(let e=i;e<=s;e++){let l=h[e];r.DEPRECATED_$isGridCellNode(l)||o(25);let u=m[n];r.DEPRECATED_$isGridCellNode(u)||o(25),t===a&&e===i?f=l.getKey():t===c&&e===s&&(p=l.getKey());let d=l.getChildren();u.getChildren().forEach((e=>{r.$isTextNode(e)&&r.$createParagraphNode().append(e),l.append(e)})),d.forEach((e=>e.remove())),n++}u++}f&&p&&(e=r.DEPRECATED_$createGridSelection(),e.set(t.getKey(),f,p),r.$setSelection(e),l.dispatchCommand(r.SELECTION_CHANGE_COMMAND,void 0))}(t,i,!1,e):function(e,t){let n=[],i=null;for(let t=0;t<e.length;t++){let o=e[t],l=r.$isLineBreakNode(o);if(l||r.$isDecoratorNode(o)&&o.isInline()||r.$isElementNode(o)&&o.isInline()||r.$isTextNode(o)||o.isParentRequired()){if(null===i&&(i=o.createParentElementNode(),n.push(i),l))continue;null!==i&&i.append(o)}else n.push(o),i=null}r.$isRangeSelection(t)?t.insertNodes(n):r.DEPRECATED_$isGridSelection(t)&&(e=t.anchor.getNode(),r.DEPRECATED_$isGridCellNode(e)||o(41),e.append(...n))}(t,i)}function u(e,n,i,l=[]){let a=null==n||i.isSelected(n),s=r.$isElementNode(i)&&i.excludeFromCopy("html");var c=i;if(null!==n){var d=t.$cloneWithProperties(i);c=d=r.$isTextNode(d)&&null!=n?t.$sliceSelectedTextNodeContent(n,d):d}let f=r.$isElementNode(c)?c.getChildren():[];var p=c;d=p.exportJSON();var h=p.constructor;d.type!==h.getType()&&o(58,h.name);let m=d.children;for(r.$isElementNode(p)&&(Array.isArray(m)||o(59,h.name)),r.$isTextNode(c)&&(0<(c=c.__text).length?d.text=c:a=!1),c=0;c<f.length;c++)h=u(e,n,p=f[c],d.children),!a&&r.$isElementNode(i)&&h&&i.extractWithChild(p,n,"clone")&&(a=!0);if(a&&!s)l.push(d);else if(Array.isArray(d.children))for(e=0;e<d.children.length;e++)l.push(d.children[e]);return a}function c(e,t){let n=[],o=r.$getRoot().getChildren();for(let r=0;r<o.length;r++)u(e,t,o[r],n);return{namespace:e._config.namespace,nodes:n}}function d(e){let n=[];for(let o=0;o<e.length;o++){let i=r.$parseSerializedNode(e[o]);r.$isTextNode(i)&&t.$addNodeStyle(i),n.push(i)}return n}let f=null;function p(e,t){var n=i?(e._window||window).getSelection():null;if(!n)return!1;var o=n.anchorNode;if(n=n.focusNode,null!==o&&null!==n&&!r.isSelectionWithinEditor(e,o,n))return!1;if(t.preventDefault(),t=t.clipboardData,o=r.$getSelection(),null===t||null===o)return!1;n=l(e),e=a(e);let s="";return null!==o&&(s=o.getTextContent()),null!==n&&t.setData("text/html",n),null!==e&&t.setData("application/x-lexical-editor",e),t.setData("text/plain",s),!0}return Xe.$generateJSONFromSelectedNodes=c,Xe.$generateNodesFromSerializedNodes=d,Xe.$getHtmlContent=l,Xe.$getLexicalContent=a,Xe.$insertDataTransferForPlainText=function(e,t){null!=(e=e.getData("text/plain")||e.getData("text/uri-list"))&&t.insertRawText(e)},Xe.$insertDataTransferForRichText=function(t,n,o){var i=t.getData("application/x-lexical-editor");if(i)try{let e=JSON.parse(i);if(e.namespace===o._config.namespace&&Array.isArray(e.nodes)){return s(o,d(e.nodes),n)}}catch(e){}if(i=t.getData("text/html"))try{var l=(new DOMParser).parseFromString(i,"text/html"),a=e.$generateNodesFromDOM(o,l);return s(o,a,n)}catch(e){}if(null!=(t=t.getData("text/plain")||t.getData("text/uri-list")))if(r.$isRangeSelection(n))for(o=(t=t.split(/(\r?\n|\t)/)).length,l=0;l<o;l++)"\n"===(a=t[l])||"\r\n"===a?n.insertParagraph():"\t"===a?n.insertNodes([r.$createTabNode()]):n.insertText(a);else n.insertRawText(t)},Xe.$insertGeneratedNodes=s,Xe.copyToClipboard=async function(e,t){if(null!==f)return!1;if(null!==t)return new Promise((n=>{e.update((()=>{n(p(e,t))}))}));var o=e.getRootElement();let l=null==e._window?window.document:e._window.document,a=i?(e._window||window).getSelection():null;if(null===o||null===a)return!1;let s=l.createElement("span");return s.style.cssText="position: fixed; top: -1000px;",s.append(l.createTextNode("#")),o.append(s),(o=new Range).setStart(s,0),o.setEnd(s,1),a.removeAllRanges(),a.addRange(o),new Promise((t=>{let o=e.registerCommand(r.COPY_COMMAND,(r=>(n.objectKlassEquals(r,ClipboardEvent)&&(o(),null!==f&&(window.clearTimeout(f),f=null),t(p(e,r))),!0)),r.COMMAND_PRIORITY_CRITICAL);f=window.setTimeout((()=>{o(),f=null,t(!1)}),50),l.execCommand("copy"),s.remove()}))},Xe}function tt(){if(Ge)return qe;Ge=1;var e=function(){if(Ue)return Ke;Ue=1;const e=et();return Ke=e}(),t=V(),n=q(),r=Y();function o(e,t){return void 0!==document.caretRangeFromPoint?null===(e=document.caretRangeFromPoint(e,t))?null:{node:e.startContainer,offset:e.startOffset}:"undefined"!==document.caretPositionFromPoint?null===(e=document.caretPositionFromPoint(e,t))?null:{node:e.offsetNode,offset:e.offset}:null}let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,l=i&&"documentMode"in document?document.documentMode:null,a=!(!i||!("InputEvent"in window)||l)&&"getTargetRanges"in new window.InputEvent("input"),s=i&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),u=i&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,c=i&&/^(?=.*Chrome).*/i.test(navigator.userAgent),d=i&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!c,f=r.createCommand("DRAG_DROP_PASTE_FILE");class p extends r.ElementNode{static getType(){return"quote"}static clone(e){return new p(e.__key)}constructor(e){super(e)}createDOM(e){let t=document.createElement("blockquote");return n.addClassNamesToElement(t,e.theme.quote),t}updateDOM(){return!1}static importDOM(){return{blockquote:()=>({conversion:b,priority:0})}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t)}return{element:e}}static importJSON(e){let t=h();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),type:"quote"}}insertNewAfter(e,t){e=r.$createParagraphNode();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=r.$createParagraphNode();return this.getChildren().forEach((t=>e.append(t))),this.replace(e),!0}}function h(){return r.$applyNodeReplacement(new p)}class m extends r.ElementNode{static getType(){return"heading"}static clone(e){return new m(e.__tag,e.__key)}constructor(e,t){super(t),this.__tag=e}getTag(){return this.__tag}createDOM(e){let t=this.__tag,r=document.createElement(t);return void 0!==(e=e.theme.heading)&&n.addClassNamesToElement(r,e[t]),r}updateDOM(){return!1}static importDOM(){return{h1:()=>({conversion:v,priority:0}),h2:()=>({conversion:v,priority:0}),h3:()=>({conversion:v,priority:0}),h4:()=>({conversion:v,priority:0}),h5:()=>({conversion:v,priority:0}),h6:()=>({conversion:v,priority:0}),p:e=>null!==(e=e.firstChild)&&g(e)?{conversion:()=>({node:null}),priority:3}:null,span:e=>g(e)?{conversion:()=>({node:y("h1")}),priority:3}:null}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t)}return{element:e}}static importJSON(e){let t=y(e.tag);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),type:"heading",version:1}}insertNewAfter(e,t=!0){e=0<(e=e?e.anchor.offset:0)&&e<this.getTextContentSize()?y(this.getTag()):r.$createParagraphNode();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=this.isEmpty()?r.$createParagraphNode():y(this.getTag());return this.getChildren().forEach((t=>e.append(t))),this.replace(e),!0}extractWithChild(){return!0}}function g(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function v(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=y(t),null!==e.style&&n.setFormat(e.style.textAlign)),{node:n}}function b(e){let t=h();return null!==e.style&&t.setFormat(e.style.textAlign),{node:t}}function y(e){return r.$applyNodeReplacement(new m(e))}function x(e){let t=null;if(e instanceof DragEvent?t=e.dataTransfer:e instanceof ClipboardEvent&&(t=e.clipboardData),null===t)return[!1,[],!1];var n=t.types;return e=n.includes("Files"),n=n.includes("text/html")||n.includes("text/plain"),[e,Array.from(t.files),n]}function _(e){var t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;let o=new Set;t=t.getNodes();for(let r=0;r<t.length;r++){var i=t[r],l=i.getKey();o.has(l)||(l=(i=n.$getNearestBlockElementAncestorOrThrow(i)).getKey(),i.canIndent()&&!o.has(l)&&(o.add(l),e(i)))}return 0<o.size}function C(e){return e=r.$getNearestNodeFromDOMNode(e),r.$isDecoratorNode(e)}return qe.$createHeadingNode=y,qe.$createQuoteNode=h,qe.$isHeadingNode=function(e){return e instanceof m},qe.$isQuoteNode=function(e){return e instanceof p},qe.DRAG_DROP_PASTE=f,qe.HeadingNode=m,qe.QuoteNode=p,qe.eventFiles=x,qe.registerRichText=function(i){return n.mergeRegister(i.registerCommand(r.CLICK_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isNodeSelection(e)&&(e.clear(),!0)}),0),i.registerCommand(r.DELETE_CHARACTER_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteCharacter(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DELETE_WORD_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteWord(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DELETE_LINE_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteLine(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.CONTROLLED_TEXT_INSERTION_COMMAND,(t=>{const n=r.$getSelection();if("string"==typeof t)r.$isRangeSelection(n)?n.insertText(t):r.DEPRECATED_$isGridSelection(n);else{if(!r.$isRangeSelection(n)&&!r.DEPRECATED_$isGridSelection(n))return!1;const o=t.dataTransfer;null!=o?e.$insertDataTransferForRichText(o,n,i):r.$isRangeSelection(n)&&(t=t.data)&&n.insertText(t)}return!0}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.REMOVE_TEXT_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(e.removeText(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.FORMAT_TEXT_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.formatText(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.FORMAT_ELEMENT_COMMAND,(e=>{var t=r.$getSelection();if(!r.$isRangeSelection(t)&&!r.$isNodeSelection(t))return!1;t=t.getNodes();for(const o of t)t=n.$findMatchingParent(o,(e=>r.$isElementNode(e)&&!e.isInline())),null!==t&&t.setFormat(e);return!0}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_LINE_BREAK_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.insertLineBreak(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_PARAGRAPH_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(e.insertParagraph(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_TAB_COMMAND,(()=>(r.$insertNodes([r.$createTabNode()]),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INDENT_CONTENT_COMMAND,(()=>_((e=>{const t=e.getIndent();e.setIndent(t+1)}))),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.OUTDENT_CONTENT_COMMAND,(()=>_((e=>{const t=e.getIndent();0<t&&e.setIndent(t-1)}))),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_UP_COMMAND,(e=>{var t=r.$getSelection();if(r.$isNodeSelection(t)&&!C(e.target)){if(0<(e=t.getNodes()).length)return e[0].selectPrevious(),!0}else if(r.$isRangeSelection(t)&&(t=r.$getAdjacentNode(t.focus,!0),!e.shiftKey&&r.$isDecoratorNode(t)&&!t.isIsolated()&&!t.isInline()))return t.selectPrevious(),e.preventDefault(),!0;return!1}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_DOWN_COMMAND,(e=>{var t=r.$getSelection();if(r.$isNodeSelection(t)){if(0<(e=t.getNodes()).length)return e[0].selectNext(0,0),!0}else if(r.$isRangeSelection(t)){let n=t.focus;if("root"===n.key&&n.offset===r.$getRoot().getChildrenSize())return e.preventDefault(),!0;if(t=r.$getAdjacentNode(t.focus,!1),!e.shiftKey&&r.$isDecoratorNode(t)&&!t.isIsolated()&&!t.isInline())return t.selectNext(),e.preventDefault(),!0}return!1}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_LEFT_COMMAND,(e=>{const n=r.$getSelection();if(r.$isNodeSelection(n)){var o=n.getNodes();if(0<o.length)return e.preventDefault(),o[0].selectPrevious(),!0}return!!r.$isRangeSelection(n)&&(!!t.$shouldOverrideDefaultCharacterSelection(n,!0)&&(o=e.shiftKey,e.preventDefault(),t.$moveCharacter(n,o,!0),!0))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_RIGHT_COMMAND,(e=>{const n=r.$getSelection();if(r.$isNodeSelection(n)&&!C(e.target)){var o=n.getNodes();if(0<o.length)return e.preventDefault(),o[0].selectNext(0,0),!0}return!!r.$isRangeSelection(n)&&(o=e.shiftKey,!!t.$shouldOverrideDefaultCharacterSelection(n,!1)&&(e.preventDefault(),t.$moveCharacter(n,o,!1),!0))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_BACKSPACE_COMMAND,(e=>{if(C(e.target))return!1;const t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;e.preventDefault(),({anchor:e}=t);const o=e.getNode();return t.isCollapsed()&&0===e.offset&&!r.$isRootNode(o)&&0<n.$getNearestBlockElementAncestorOrThrow(o).getIndent()?i.dispatchCommand(r.OUTDENT_CONTENT_COMMAND,void 0):i.dispatchCommand(r.DELETE_CHARACTER_COMMAND,!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_DELETE_COMMAND,(e=>{if(C(e.target))return!1;const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(e.preventDefault(),i.dispatchCommand(r.DELETE_CHARACTER_COMMAND,!1))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ENTER_COMMAND,(e=>{const t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;if(null!==e){if((u||s||d)&&a)return!1;if(e.preventDefault(),e.shiftKey)return i.dispatchCommand(r.INSERT_LINE_BREAK_COMMAND,!1)}return i.dispatchCommand(r.INSERT_PARAGRAPH_COMMAND,void 0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ESCAPE_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(i.blur(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DROP_COMMAND,(e=>{const[,t]=x(e);if(0<t.length){var n=o(e.clientX,e.clientY);if(null!==n){const{offset:e,node:o}=n;var l=r.$getNearestNodeFromDOMNode(o);if(null!==l){if(n=r.$createRangeSelection(),r.$isTextNode(l))n.anchor.set(l.getKey(),e,"text"),n.focus.set(l.getKey(),e,"text");else{const e=l.getParentOrThrow().getKey();l=l.getIndexWithinParent()+1,n.anchor.set(e,l,"element"),n.focus.set(e,l,"element")}n=r.$normalizeSelection__EXPERIMENTAL(n),r.$setSelection(n)}i.dispatchCommand(f,t)}return e.preventDefault(),!0}return e=r.$getSelection(),!!r.$isRangeSelection(e)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DRAGSTART_COMMAND,(e=>{[e]=x(e);const t=r.$getSelection();return!(e&&!r.$isRangeSelection(t))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DRAGOVER_COMMAND,(e=>{var[t]=x(e);const n=r.$getSelection();return!(t&&!r.$isRangeSelection(n))&&(null!==(t=o(e.clientX,e.clientY))&&(t=r.$getNearestNodeFromDOMNode(t.node),r.$isDecoratorNode(t)&&e.preventDefault()),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.COPY_COMMAND,(t=>(e.copyToClipboard(i,n.objectKlassEquals(t,ClipboardEvent)?t:null),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.CUT_COMMAND,(t=>(async function(t,o){await e.copyToClipboard(o,n.objectKlassEquals(t,ClipboardEvent)?t:null),o.update((()=>{let e=r.$getSelection();r.$isRangeSelection(e)?e.removeText():r.$isNodeSelection(e)&&e.getNodes().forEach((e=>e.remove()))}))}(t,i),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.PASTE_COMMAND,(t=>{const[,n,o]=x(t);if(0<n.length&&!o)return i.dispatchCommand(f,n),!0;if(r.isSelectionCapturedInDecoratorInput(t.target))return!1;const l=r.$getSelection();return!(!r.$isRangeSelection(l)&&!r.DEPRECATED_$isGridSelection(l))&&(function(t,n){t.preventDefault(),n.update((()=>{let o=r.$getSelection(),i=t instanceof InputEvent||t instanceof KeyboardEvent?null:t.clipboardData;null!=i&&(r.$isRangeSelection(o)||r.DEPRECATED_$isGridSelection(o))&&e.$insertDataTransferForRichText(i,o,n)}),{tag:"paste"})}(t,i),!0)}),r.COMMAND_PRIORITY_EDITOR))},qe}function nt(){if(Ve)return Ye;Ve=1;const e=tt();return Ye=e}var rt,ot,it,lt=nt(),at={};function st(){if(rt)return at;rt=1;var e=X(),t=me(),n=q(),r=Y(),o=h();function i(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}let l=/[.,;\s]/;function a(e){var t;return e=e.getPreviousSibling(),r.$isElementNode(e)&&(e=e.getLastDescendant()),!(t=null===e||r.$isLineBreakNode(e))&&(t=r.$isTextNode(e))&&(e=e.getTextContent(),t=l.test(e[e.length-1])),t}function s(e){return e=e.getNextSibling(),r.$isElementNode(e)&&(e=e.getFirstDescendant()),null===e||r.$isLineBreakNode(e)||r.$isTextNode(e)&&l.test(e.getTextContent()[0])}function u(e,t,n){var o=e.getChildren();let l=o.length;for(let t=0;t<l;t++){let i=o[t];if(!r.$isTextNode(i)||!i.isSimpleText())return c(e),void n(null,e.getURL())}null===(t=i(o=e.getTextContent(),t))||t.text!==o?(c(e),n(null,e.getURL())):a(e)&&s(e)?((o=e.getURL())!==t.url&&(e.setURL(t.url),n(t.url,o)),t.attributes&&((o=e.getRel())!==t.attributes.rel&&(e.setRel(t.attributes.rel||null),n(t.attributes.rel||null,o)),(o=e.getTarget())!==t.attributes.target&&(e.setTarget(t.attributes.target||null),n(t.attributes.target||null,o)))):(c(e),n(null,e.getURL()))}function c(e){let t=e.getChildren();var n=t.length;for(--n;0<=n;n--)e.insertAfter(t[n]);return e.remove(),t.map((e=>e.getLatest()))}function d(t,d,f){o.useEffect((()=>{t.hasNodes([e.AutoLinkNode])||function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(77);let o=(e,t)=>{f&&f(e,t)};return n.mergeRegister(t.registerNodeTransform(r.TextNode,(t=>{var n=t.getParentOrThrow(),p=t.getPreviousSibling();if(e.$isAutoLinkNode(n))u(n,d,o);else if(!e.$isLinkNode(n)){if(t.isSimpleText()&&(l.test(t.getTextContent()[0])||!e.$isAutoLinkNode(p))){p=n=t.getTextContent();let o=0,u=t;for(var h;(h=i(p,d))&&null!==h;){let i=h.index,c=h.length,d=i+c;var m=o+i,g=o+d,v=n,b=t;if((0<m?l.test(v[m-1]):a(b))&&(g<v.length?l.test(v[g]):s(b))){var y=void 0;0===o+i?[y,u]=u.splitText(o+c):[,y,u]=u.splitText(o+i,o+i+c),m=e.$createAutoLinkNode(h.url,h.attributes),(g=r.$createTextNode(h.text)).setFormat(y.getFormat()),g.setDetail(y.getDetail()),m.append(g),y.replace(m),f&&f(h.url,null),o=0}else o+=d;p=p.substring(d)}}n=t.getPreviousSibling(),h=t.getNextSibling(),y=t.getTextContent(),e.$isAutoLinkNode(n)&&!l.test(y[0])&&(n.append(t),u(n,d,o),t=n.getURL(),f&&f(null,t)),e.$isAutoLinkNode(h)&&!l.test(y[y.length-1])&&(c(h),u(h,d,o),t=h.getURL(),f&&f(null,t))}})))}),[t,d,f])}return at.AutoLinkPlugin=function({matchers:e,onChange:n}){let[r]=t.useLexicalComposerContext();return d(r,e,n),null},at.createLinkMatcherWithRegExp=function(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(n)}}},at}var ut,ct,dt,ft,pt=function(){if(it)return ot;it=1;const e=st();return ot=e}(),ht=me();function mt(){if(ct)return ut;ct=1;var e=me(),t=h(),n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function r(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}return ut=function(){return function(r){let[o]=e.useLexicalComposerContext(),i=t.useMemo((()=>r(o)),[o,r]),l=t.useRef(i.initialValueFn()),[a,s]=t.useState(l.current);return n((()=>{let{initialValueFn:e,subscribe:t}=i,n=e();return l.current!==n&&(l.current=n,s(n)),t((e=>{l.current=e,s(e)}))}),[i,r]),a}(r)},ut}function gt(){if(ft)return dt;ft=1;const e=mt();return dt=e}var vt=o(gt()),bt=q(),yt=Y(),xt=V();const _t={black:"#000",white:"#fff"},Ct="#e57373",Et="#ef5350",wt="#f44336",St="#d32f2f",kt="#c62828",Tt="#f3e5f5",Nt="#ce93d8",Rt="#ba68c8",At="#ab47bc",Lt="#9c27b0",Mt="#7b1fa2",Ot="#e3f2fd",Pt="#90caf9",It="#42a5f5",Dt="#1976d2",zt="#1565c0",$t="#4fc3f7",Ft="#29b6f6",Bt="#03a9f4",Ht="#0288d1",jt="#01579b",Wt="#81c784",Kt="#66bb6a",Ut="#4caf50",Gt="#388e3c",Yt="#2e7d32",Vt="#1b5e20",Qt="#ffb74d",qt="#ffa726",Xt="#ff9800",Jt="#f57c00",Zt="#e65100",en={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function tn(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var nn=Object.freeze({__proto__:null,default:tn}),rn="$$material";function on(){return on=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},on.apply(null,arguments)}function ln(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var an=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?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=void 0===e.speedy||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(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),sn="-ms-",un="-moz-",cn="-webkit-",dn="comm",fn="rule",pn="decl",hn="@keyframes",mn=Math.abs,gn=String.fromCharCode,vn=Object.assign;function bn(e){return e.trim()}function yn(e,t,n){return e.replace(t,n)}function xn(e,t){return e.indexOf(t)}function _n(e,t){return 0|e.charCodeAt(t)}function Cn(e,t,n){return e.slice(t,n)}function En(e){return e.length}function wn(e){return e.length}function Sn(e,t){return t.push(e),e}var kn=1,Tn=1,Nn=0,Rn=0,An=0,Ln="";function Mn(e,t,n,r,o,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:kn,column:Tn,length:l,return:""}}function On(e,t){return vn(Mn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pn(){return An=Rn>0?_n(Ln,--Rn):0,Tn--,10===An&&(Tn=1,kn--),An}function In(){return An=Rn<Nn?_n(Ln,Rn++):0,Tn++,10===An&&(Tn=1,kn++),An}function Dn(){return _n(Ln,Rn)}function zn(){return Rn}function $n(e,t){return Cn(Ln,e,t)}function Fn(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 Bn(e){return kn=Tn=1,Nn=En(Ln=e),Rn=0,[]}function Hn(e){return Ln="",e}function jn(e){return bn($n(Rn-1,Un(91===e?e+2:40===e?e+1:e)))}function Wn(e){for(;(An=Dn())&&An<33;)In();return Fn(e)>2||Fn(An)>3?"":" "}function Kn(e,t){for(;--t&&In()&&!(An<48||An>102||An>57&&An<65||An>70&&An<97););return $n(e,zn()+(t<6&&32==Dn()&&32==In()))}function Un(e){for(;In();)switch(An){case e:return Rn;case 34:case 39:34!==e&&39!==e&&Un(An);break;case 40:41===e&&Un(e);break;case 92:In()}return Rn}function Gn(e,t){for(;In()&&e+An!==57&&(e+An!==84||47!==Dn()););return"/*"+$n(t,Rn-1)+"*"+gn(47===e?e:In())}function Yn(e){for(;!Fn(Dn());)In();return $n(e,Rn)}function Vn(e){return Hn(Qn("",null,null,null,[""],e=Bn(e),0,[0],e))}function Qn(e,t,n,r,o,i,l,a,s){for(var u=0,c=0,d=l,f=0,p=0,h=0,m=1,g=1,v=1,b=0,y="",x=o,_=i,C=r,E=y;g;)switch(h=b,b=In()){case 40:if(108!=h&&58==_n(E,d-1)){-1!=xn(E+=yn(jn(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=jn(b);break;case 9:case 10:case 13:case 32:E+=Wn(h);break;case 92:E+=Kn(zn()-1,7);continue;case 47:switch(Dn()){case 42:case 47:Sn(Xn(Gn(In(),zn()),t,n),s);break;default:E+="/"}break;case 123*m:a[u++]=En(E)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==v&&(E=yn(E,/\f/g,"")),p>0&&En(E)-d&&Sn(p>32?Jn(E+";",r,n,d-1):Jn(yn(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(Sn(C=qn(E,t,n,u,c,o,a,y,x=[],_=[],d),i),123===b)if(0===c)Qn(E,t,C,C,x,i,d,a,_);else switch(99===f&&110===_n(E,3)?100:f){case 100:case 108:case 109:case 115:Qn(e,C,C,r&&Sn(qn(e,C,C,0,0,o,a,y,o,x=[],d),_),o,_,d,a,r?x:_);break;default:Qn(E,C,C,C,[""],_,0,a,_)}}u=c=p=0,m=v=1,y=E="",d=l;break;case 58:d=1+En(E),p=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Pn())continue;switch(E+=gn(b),b*m){case 38:v=c>0?1:(E+="\f",-1);break;case 44:a[u++]=(En(E)-1)*v,v=1;break;case 64:45===Dn()&&(E+=jn(In())),f=Dn(),c=d=En(y=E+=Yn(zn())),b++;break;case 45:45===h&&2==En(E)&&(m=0)}}return i}function qn(e,t,n,r,o,i,l,a,s,u,c){for(var d=o-1,f=0===o?i:[""],p=wn(f),h=0,m=0,g=0;h<r;++h)for(var v=0,b=Cn(e,d+1,d=mn(m=l[h])),y=e;v<p;++v)(y=bn(m>0?f[v]+" "+b:yn(b,/&\f/g,f[v])))&&(s[g++]=y);return Mn(e,t,n,0===o?fn:a,s,u,c)}function Xn(e,t,n){return Mn(e,t,n,dn,gn(An),Cn(e,2,-2),0)}function Jn(e,t,n,r){return Mn(e,t,n,pn,Cn(e,0,r),Cn(e,r+1,-1),r)}function Zn(e,t){for(var n="",r=wn(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function er(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pn:return e.return=e.return||e.value;case dn:return"";case hn:return e.return=e.value+"{"+Zn(e.children,r)+"}";case fn:e.value=e.props.join(",")}return En(n=Zn(e.children,r))?e.return=e.value+"{"+n+"}":""}function tr(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nr=function(e,t,n){for(var r=0,o=0;r=o,o=Dn(),38===r&&12===o&&(t[n]=1),!Fn(o);)In();return $n(e,Rn)},rr=function(e,t){return Hn(function(e,t){var n=-1,r=44;do{switch(Fn(r)){case 0:38===r&&12===Dn()&&(t[n]=1),e[n]+=nr(Rn-1,t,n);break;case 2:e[n]+=jn(r);break;case 4:if(44===r){e[++n]=58===Dn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=gn(r)}}while(r=In());return e}(Bn(e),t))},or=new WeakMap,ir=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||or.get(n))&&!r){or.set(e,!0);for(var o=[],i=rr(t,o),l=n.props,a=0,s=0;a<i.length;a++)for(var u=0;u<l.length;u++,s++)e.props[s]=o[a]?i[a].replace(/&\f/g,l[u]):l[u]+" "+i[a]}}},lr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ar(e,t){switch(function(e,t){return 45^_n(e,0)?(((t<<2^_n(e,0))<<2^_n(e,1))<<2^_n(e,2))<<2^_n(e,3):0}(e,t)){case 5103:return cn+"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 cn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return cn+e+un+e+sn+e+e;case 6828:case 4268:return cn+e+sn+e+e;case 6165:return cn+e+sn+"flex-"+e+e;case 5187:return cn+e+yn(e,/(\w+).+(:[^]+)/,cn+"box-$1$2"+sn+"flex-$1$2")+e;case 5443:return cn+e+sn+"flex-item-"+yn(e,/flex-|-self/,"")+e;case 4675:return cn+e+sn+"flex-line-pack"+yn(e,/align-content|flex-|-self/,"")+e;case 5548:return cn+e+sn+yn(e,"shrink","negative")+e;case 5292:return cn+e+sn+yn(e,"basis","preferred-size")+e;case 6060:return cn+"box-"+yn(e,"-grow","")+cn+e+sn+yn(e,"grow","positive")+e;case 4554:return cn+yn(e,/([^-])(transform)/g,"$1"+cn+"$2")+e;case 6187:return yn(yn(yn(e,/(zoom-|grab)/,cn+"$1"),/(image-set)/,cn+"$1"),e,"")+e;case 5495:case 3959:return yn(e,/(image-set\([^]*)/,cn+"$1$`$1");case 4968:return yn(yn(e,/(.+:)(flex-)?(.*)/,cn+"box-pack:$3"+sn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+cn+e+e;case 4095:case 3583:case 4068:case 2532:return yn(e,/(.+)-inline(.+)/,cn+"$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(En(e)-1-t>6)switch(_n(e,t+1)){case 109:if(45!==_n(e,t+4))break;case 102:return yn(e,/(.+:)(.+)-([^]+)/,"$1"+cn+"$2-$3$1"+un+(108==_n(e,t+3)?"$3":"$2-$3"))+e;case 115:return~xn(e,"stretch")?ar(yn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==_n(e,t+1))break;case 6444:switch(_n(e,En(e)-3-(~xn(e,"!important")&&10))){case 107:return yn(e,":",":"+cn)+e;case 101:return yn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+cn+(45===_n(e,14)?"inline-":"")+"box$3$1"+cn+"$2$3$1"+sn+"$2box$3")+e}break;case 5936:switch(_n(e,t+11)){case 114:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return cn+e+sn+e+e}return e}var sr,ur,cr,dr,fr=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pn:e.return=ar(e.value,e.length);break;case hn:return Zn([On(e,{value:yn(e.value,"@","@"+cn)})],r);case fn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zn([On(e,{props:[yn(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Zn([On(e,{props:[yn(t,/:(plac\w+)/,":"+cn+"input-$1")]}),On(e,{props:[yn(t,/:(plac\w+)/,":-moz-$1")]}),On(e,{props:[yn(t,/:(plac\w+)/,sn+"input-$1")]})],r)}return""}))}}],pr=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||fr,l={},a=[];r=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++)l[t[n]]=!0;a.push(e)}));var s,u,c=[er,(u=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=wn(e);return function(n,r,o,i){for(var l="",a=0;a<t;a++)l+=e[a](n,r,o,i)||"";return l}}([ir,lr].concat(i,c));o=function(e,t,n,r){s=n,function(e){Zn(Vn(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new an({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:o};return f.sheet.hydrate(a),f},hr={exports:{}},mr={};function gr(){return ur||(ur=1,hr.exports=function(){if(sr)return mr;sr=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case c:case h:case p:case l:return e;default:return f}}case n:return f}}}function x(e){return y(e)===u}return mr.AsyncMode=s,mr.ConcurrentMode=u,mr.ContextConsumer=a,mr.ContextProvider=l,mr.Element=t,mr.ForwardRef=c,mr.Fragment=r,mr.Lazy=h,mr.Memo=p,mr.Portal=n,mr.Profiler=i,mr.StrictMode=o,mr.Suspense=d,mr.isAsyncMode=function(e){return x(e)||y(e)===s},mr.isConcurrentMode=x,mr.isContextConsumer=function(e){return y(e)===a},mr.isContextProvider=function(e){return y(e)===l},mr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mr.isForwardRef=function(e){return y(e)===c},mr.isFragment=function(e){return y(e)===r},mr.isLazy=function(e){return y(e)===h},mr.isMemo=function(e){return y(e)===p},mr.isPortal=function(e){return y(e)===n},mr.isProfiler=function(e){return y(e)===i},mr.isStrictMode=function(e){return y(e)===o},mr.isSuspense=function(e){return y(e)===d},mr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===i||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===a||e.$$typeof===c||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===m)},mr.typeOf=y,mr}()),hr.exports}!function(){if(dr)return cr;dr=1;var e=gr(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var l=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=Object.prototype;cr=function e(t,r,o){if("string"!=typeof r){if(d){var f=c(r);f&&f!==d&&e(t,f,o)}var p=a(r);s&&(p=p.concat(s(r)));for(var h=i(t),m=i(r),g=0;g<p.length;++g){var v=p[g];if(!(n[v]||o&&o[v]||m&&m[v]||h&&h[v])){var b=u(r,v);try{l(t,v,b)}catch(e){}}}}return t}}();function vr(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var br=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},yr=function(e,t,n){br(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var xr={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},_r=/[A-Z]|^ms/g,Cr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Er=function(e){return 45===e.charCodeAt(1)},wr=function(e){return null!=e&&"boolean"!=typeof e},Sr=tr((function(e){return Er(e)?e:e.replace(_r,"-$&").toLowerCase()})),kr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Cr,(function(e,t,n){return Nr={name:t,styles:n,next:Nr},t}))}return 1===xr[e]||Er(e)||"number"!=typeof t||0===t?t:t+"px"};function Tr(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Nr={name:o.name,styles:o.styles,next:Nr},o.name;var i=n;if(void 0!==i.styles){var l=i.next;if(void 0!==l)for(;void 0!==l;)Nr={name:l.name,styles:l.styles,next:Nr},l=l.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Tr(e,t,n[o])+";";else for(var i in n){var l=n[i];if("object"!=typeof l){var a=l;null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":wr(a)&&(r+=Sr(i)+":"+kr(i,a)+";")}else if(!Array.isArray(l)||"string"!=typeof l[0]||null!=t&&void 0!==t[l[0]]){var s=Tr(e,t,l);switch(i){case"animation":case"animationName":r+=Sr(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<l.length;u++)wr(l[u])&&(r+=Sr(i)+":"+kr(i,l[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=Nr,s=n(e);return Nr=a,Tr(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Nr,Rr=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ar(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Nr=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Tr(n,t,i)):o+=i[0];for(var l=1;l<e.length;l++){if(o+=Tr(n,t,e[l]),r)o+=i[l]}Rr.lastIndex=0;for(var a,s="";null!==(a=Rr.exec(o));)s+="-"+a[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Nr}}var Lr,Mr,Or=!!N.useInsertionEffect&&N.useInsertionEffect,Pr=Or||function(e){return e()},Ir=Or||k.useLayoutEffect,Dr=k.createContext("undefined"!=typeof HTMLElement?pr({key:"css"}):null),zr=Dr.Provider,$r=function(e){return k.forwardRef((function(t,n){var r=k.useContext(Dr);return e(t,r,n)}))},Fr=k.createContext({}),Br={}.hasOwnProperty,Hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return br(t,n,r),Pr((function(){return yr(t,n,r)})),null},Wr=$r((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Hr],i=[r],l="";"string"==typeof e.className?l=vr(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var a=Ar(i,void 0,k.useContext(Fr));l+=t.key+"-"+a.name;var s={};for(var u in e)Br.call(e,u)&&"css"!==u&&u!==Hr&&(s[u]=e[u]);return s.className=l,n&&(s.ref=n),k.createElement(k.Fragment,null,k.createElement(jr,{cache:t,serialized:a,isStringTag:"string"==typeof o}),k.createElement(o,s))})),Kr=Wr,Ur=function(e,t){var n=arguments;if(null==t||!Br.call(t,"css"))return k.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Kr,o[1]=function(e,t){var n={};for(var r in t)Br.call(t,r)&&(n[r]=t[r]);return n[Hr]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return k.createElement.apply(null,o)};Lr=Ur||(Ur={}),Mr||(Mr=Lr.JSX||(Lr.JSX={}));var Gr=$r((function(e,t){var n=Ar([e.styles],void 0,k.useContext(Fr)),r=k.useRef();return Ir((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,l=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==l&&(i=!0,l.setAttribute("data-emotion",e),o.hydrate([l])),r.current=[o,i],function(){o.flush()}}),[t]),Ir((function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&yr(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}}),[t,n.name]),null}));function Yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ar(t)}function Vr(){var e=Yr.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 Qr=/^((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|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)-.*))$/,qr=tr((function(e){return Qr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Xr=function(e){return"theme"!==e},Jr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?qr:Xr},Zr=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},eo=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return br(t,n,r),Pr((function(){return yr(t,n,r)})),null},to=function e(t,n){var r,o,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var a=Zr(t,n,i),s=a||Jr(l),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var f=c[0];d.push(f[0]);for(var p=c.length,h=1;h<p;h++)d.push(c[h],f[h])}var m=$r((function(e,t,n){var r=u&&e.as||l,i="",c=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=k.useContext(Fr)}"string"==typeof e.className?i=vr(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Ar(d.concat(c),t.registered,f);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===a?Jr(r):s,g={};for(var v in e)u&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=i,n&&(g.ref=n),k.createElement(k.Fragment,null,k.createElement(eo,{cache:t,serialized:h,isStringTag:"string"==typeof r}),k.createElement(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=l,m.__emotion_styles=d,m.__emotion_forwardProp=a,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,on({},n,r,{shouldForwardProp:Zr(m,r,!0)})).apply(void 0,d)},m}}.bind(null);["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"].forEach((function(e){to[e]=to(e)}));var no,ro,oo={exports:{}},io={};var lo=(ro||(ro=1,oo.exports=function(){if(no)return io;no=1;var e=h(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,l){var a,s={},u=null,c=null;for(a in void 0!==l&&(u=""+l),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,a)&&!i.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps)for(a in n=e.defaultProps)void 0===s[a]&&(s[a]=n[a]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return io.Fragment=n,io.jsx=l,io.jsxs=l,io}()),oo.exports);let ao;function so(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return lo.jsx(Gr,{styles:r})}
|
|
16
|
+
*/function C(){if(v)return c;v=1;var e=h(),t=S();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function i(e,t){a(e,t),a(e+"Capture",t)}function a(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},f={};function p(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new p(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new p(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new p(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new p(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new p(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new p(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!s.call(f,e)||!s.call(d,e)&&(u.test(e)?f[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);m[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),C=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),T=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),I=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var $,z=Object.assign;function F(e){if(void 0===$)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||""}return"\n"+$+e}var B=!1;function H(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function j(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case C:return"Portal";case k:return"Profiler";case w:return"StrictMode";case N:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case R:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===w?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,n):t.hasOwnProperty("defaultValue")&&te(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function te(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(ne(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:Y(r)}}function ae(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,Ce=null,Ee=null;function we(e){if(e=xo(e)){if("function"!=typeof Se)throw Error(n(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function ke(e){Ce?Ee?Ee.push(e):Ee=[e]:Ce=e}function Re(){if(Ce){var e=Ce,t=Ee;if(Ee=Ce=null,we(e),t)for(e=0;e<t.length;e++)we(t[e])}}function Te(e,t){return e(t)}function Ae(){}var Ne=!1;function Le(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Te(e,t,n)}finally{Ne=!1,(null!==Ce||null!==Ee)&&(Ae(),Re())}}function Me(e,t){var r=e.stateNode;if(null===r)return null;var o=So(r);if(null===o)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Oe=!1;if(l)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(e){Oe=!1}function Ie(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var De=!1,$e=null,ze=!1,Fe=null,Be={onError:function(e){De=!0,$e=e}};function He(e,t,n,r,o,i,a,l,s){De=!1,$e=null,Ie.apply(Be,arguments)}function je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ge(e){if(je(e)!==e)throw Error(n(188))}function Ye(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=je(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(o=i.return)){r=o;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return Ge(i),e;if(a===o)return Ge(i),t;a=a.sibling}throw Error(n(188))}if(r.return!==o.return)r=i,o=a;else{for(var l=!1,s=i.child;s;){if(s===r){l=!0,r=i,o=a;break}if(s===o){l=!0,o=i,r=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===r){l=!0,r=a,o=i;break}if(s===o){l=!0,o=a,r=i;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e),null!==e?Ue(e):null}function Ue(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ue(e);if(null!==t)return t;e=e.sibling}return null}var Ke=t.unstable_scheduleCallback,Ve=t.unstable_cancelCallback,qe=t.unstable_shouldYield,Qe=t.unstable_requestPaint,Xe=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Ze=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,nt=t.unstable_LowPriority,rt=t.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var _t,St,Ct,Et,wt,kt=!1,Rt=[],Tt=null,At=null,Nt=null,Lt=new Map,Mt=new Map,Ot=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function $t(e){var t=yo(e.target);if(null!==t){var n=je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void wt(e.priority,(function(){Ct(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){zt(e)&&n.delete(t)}function Bt(){kt=!1,null!==Tt&&zt(Tt)&&(Tt=null),null!==At&&zt(At)&&(At=null),null!==Nt&&zt(Nt)&&(Nt=null),Lt.forEach(Ft),Mt.forEach(Ft)}function Ht(e,n){e.blockedOn===n&&(e.blockedOn=null,kt||(kt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Bt)))}function jt(e){function t(t){return Ht(t,e)}if(0<Rt.length){Ht(Rt[0],e);for(var n=1;n<Rt.length;n++){var r=Rt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ht(Tt,e),null!==At&&Ht(At,e),null!==Nt&&Ht(Nt,e),Lt.forEach(t),Mt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)$t(n),null===n.blockedOn&&Ot.shift()}var Wt=x.ReactCurrentBatchConfig,Gt=!0;function Yt(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=1,Kt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Ut(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=4,Kt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Kt(e,t,n,r){if(Gt){var o=qt(e,t,n,r);if(null===o)Gr(e,t,r,Vt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Dt(Tt,e,t,n,r,o),!0;case"dragenter":return At=Dt(At,e,t,n,r,o),!0;case"mouseover":return Nt=Dt(Nt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lt.set(i,Dt(Lt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,Dt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&_t(i),null===(i=qt(e,t,n,r))&&Gr(e,t,r,Vt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Gr(e,t,r,null,n)}}var Vt=null;function qt(e,t,n,r){if(Vt=null,null!==(e=yo(e=_e(r))))if(null===(t=je(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=z({},un,{view:0,detail:0}),fn=on(dn),pn=z({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(z({},pn,{dataTransfer:0})),gn=on(z({},dn,{relatedTarget:0})),vn=on(z({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=z({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(bn),xn=on(z({},un,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function wn(){return En}var kn=z({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Rn=on(kn),Tn=on(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(z({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wn})),Nn=on(z({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Ln),On=[9,13,27,32],Pn=l&&"CompositionEvent"in window,In=null;l&&"documentMode"in document&&(In=document.documentMode);var Dn=l&&"TextEvent"in window&&!In,$n=l&&(!Pn||In&&8<In&&11>=In),zn=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var jn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Yn(e,t,n,r){ke(r),0<(t=Ur(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Un=null,Kn=null;function Vn(e){zr(e,0)}function qn(e){if(V(_o(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(l){var Jn;if(l){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Xn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Un&&(Un.detachEvent("onpropertychange",nr),Kn=Un=null)}function nr(e){if("value"===e.propertyName&&qn(Kn)){var t=[];Yn(t,Kn,e,_e(e)),Le(Vn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(Un=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Kn)}function ir(e,t){if("click"===e)return qn(t)}function ar(e,t){if("input"===e||"change"===e)return qn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!s.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=l&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,br=null,yr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==q(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Ur(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Cr={},Er={};function wr(e){if(Cr[e])return Cr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Cr[e]=n[t];return e}l&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var kr=wr("animationend"),Rr=wr("animationiteration"),Tr=wr("animationstart"),Ar=wr("transitionend"),Nr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Nr.set(e,t),i(t,[e])}for(var Or=0;Or<Lr.length;Or++){var Pr=Lr[Or];Mr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Mr(kr,"onAnimationEnd"),Mr(Rr,"onAnimationIteration"),Mr(Tr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Ar,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function $r(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,i,a,l,s,u){if(He.apply(this,arguments),De){if(!De)throw Error(n(198));var c=$e;De=!1,$e=null,ze||(ze=!0,Fe=c)}}(o,t,void 0,e),e.currentTarget=null}function zr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;$r(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;$r(o,l,u),i=s}}}if(ze)throw e=Fe,ze=!1,Fe=null,e}function Fr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function jr(e){if(!e[Hr]){e[Hr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Br("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Qt(t)){case 1:var o=Yt;break;case 4:o=Ut;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Gr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=yo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=i,o=_e(n),a=[];e:{var l=Nr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Rn;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=An;break;case kr:case Rr:case Tr:s=vn;break;case Ar:s=Nn;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&c.push(Yr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=je(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:_o(s),p=null==u?l:_o(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Kr(p))h++;for(p=0,m=f;m;m=Kr(m))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Kr(c),f=Kr(f)}c=null}else c=null;null!==s&&Vr(a,l,s,c,!1),null!==u&&null!==d&&Vr(a,d,u,c,!0)}if("select"===(s=(l=r?_o(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Qn;else if(Gn(l))if(Xn)g=ar;else{g=or;var v=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ir);switch(g&&(g=g(e,r))?Yn(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&te(l,"number",l.value)),v=r?_o(r):window,e){case"focusin":(Gn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,br=null);break;case"focusout":br=vr=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var b;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else jn?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&($n&&"ko"!==n.locale&&(jn||"onCompositionStart"!==y?"onCompositionEnd"===y&&jn&&(b=en()):(Jt="value"in(Xt=o)?Xt.value:Xt.textContent,jn=!0)),0<(v=Ur(r,y)).length&&(y=new xn(y,e,null,n,o),a.push({event:y,listeners:v}),b?y.data=b:null!==(b=Hn(n))&&(y.data=b))),(b=Dn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Fn=!0,zn);case"textInput":return(e=t.data)===zn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(jn)return"compositionend"===e||!Pn&&Bn(e,t)?(e=en(),Zt=Jt=Xt=null,jn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ur(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b))}zr(a,t)}))}function Yr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ur(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Yr(e,i,o)),null!=(i=Me(e,t))&&r.push(Yr(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Me(n,i))&&a.unshift(Yr(n,s,l)):o||null!=(s=Me(n,i))&&a.push(Yr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var qr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(qr,"\n").replace(Qr,"")}function Jr(e,t,r){if(t=Xr(t),Xr(e)!==t&&r)throw Error(n(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void jt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);jt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,vo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _o(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function So(e){return e[ho]||null}var Co=[],Eo=-1;function wo(e){return{current:e}}function ko(e){0>Eo||(e.current=Co[Eo],Co[Eo]=null,Eo--)}function Ro(e,t){Eo++,Co[Eo]=e.current,e.current=t}var To={},Ao=wo(To),No=wo(!1),Lo=To;function Mo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Oo(e){return null!=(e=e.childContextTypes)}function Po(){ko(No),ko(Ao)}function Io(e,t,r){if(Ao.current!==To)throw Error(n(168));Ro(Ao,t),Ro(No,r)}function Do(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var i in o=o.getChildContext())if(!(i in t))throw Error(n(108,G(e)||"Unknown",i));return z({},r,o)}function $o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Lo=Ao.current,Ro(Ao,e),Ro(No,No.current),!0}function zo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=Do(e,t,Lo),o.__reactInternalMemoizedMergedChildContext=e,ko(No),ko(Ao),Ro(Ao,e)):ko(No),Ro(No,r)}var Fo=null,Bo=!1,Ho=!1;function jo(e){null===Fo?Fo=[e]:Fo.push(e)}function Wo(){if(!Ho&&null!==Fo){Ho=!0;var e=0,t=yt;try{var n=Fo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Bo=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ke(Ze,Wo),t}finally{yt=t,Ho=!1}}return null}var Go=[],Yo=0,Uo=null,Ko=0,Vo=[],qo=0,Qo=null,Xo=1,Jo="";function Zo(e,t){Go[Yo++]=Ko,Go[Yo++]=Uo,Uo=e,Ko=t}function ei(e,t,n){Vo[qo++]=Xo,Vo[qo++]=Jo,Vo[qo++]=Qo,Qo=e;var r=Xo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Xo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===Uo;)Uo=Go[--Yo],Go[Yo]=null,Ko=Go[--Yo],Go[Yo]=null;for(;e===Qo;)Qo=Vo[--qo],Vo[qo]=null,Jo=Vo[--qo],Vo[qo]=null,Xo=Vo[--qo],Vo[qo]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qo?{id:Xo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var r=t;if(!si(e,t)){if(ui(e))throw Error(n(418));t=uo(r.nextSibling);var o=ri;t&&si(e,t)?li(o,r):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(n(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(n(418));for(;t;)li(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=x.ReactCurrentBatchConfig;function vi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var i=o,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function bi(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=$u(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===E?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===O&&yi(o)===t.type)?((r=i(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Pu(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=$u(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Pu(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case C:return(t=zu(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(ne(t)||D(t))return(t=Iu(t,e.mode,n,null)).return=e,t;bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===o?u(e,t,n,r):null;case C:return n.key===o?c(e,t,n,r):null;case O:return p(e,t,(o=n._init)(n._payload),r)}if(ne(n)||D(n))return null!==o?null:d(e,t,n,r,null);bi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case O:return h(e,t,n,(0,r._init)(r._payload),o)}if(ne(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);bi(t,r)}return null}function m(n,i,l,s){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(n,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(n,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return r(n,d),ii&&Zo(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Zo(n,m),u}for(d=o(n,d);m<l.length;m++)null!==(g=h(d,n,m,l[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(n,e)})),ii&&Zo(n,m),u}function g(i,l,s,u){var c=D(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,g=l=0,v=null,b=s.next();null!==m&&!b.done;g++,b=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(i,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(i,m),l=a(y,l,g),null===d?c=y:d.sibling=y,d=y,m=v}if(b.done)return r(i,m),ii&&Zo(i,g),c;if(null===m){for(;!b.done;g++,b=s.next())null!==(b=f(i,b.value,u))&&(l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return ii&&Zo(i,g),c}for(m=o(i,m);!b.done;g++,b=s.next())null!==(b=h(m,i,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(i,e)})),ii&&Zo(i,g),c}return function e(n,o,a,s){if("object"==typeof a&&null!==a&&a.type===E&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case _:e:{for(var u=a.key,c=o;null!==c;){if(c.key===u){if((u=a.type)===E){if(7===c.tag){r(n,c.sibling),(o=i(c,a.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===O&&yi(u)===c.type){r(n,c.sibling),(o=i(c,a.props)).ref=vi(n,c,a),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}a.type===E?((o=Iu(a.props.children,n.mode,s,a.key)).return=n,n=o):((s=Pu(a.type,a.key,a.props,null,n.mode,s)).ref=vi(n,o,a),s.return=n,n=s)}return l(n);case C:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){r(n,o.sibling),(o=i(o,a.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=zu(a,n.mode,s)).return=n,n=o}return l(n);case O:return e(n,o,(c=a._init)(a._payload),s)}if(ne(a))return m(n,o,a,s);if(D(a))return g(n,o,a,s);bi(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(r(n,o.sibling),(o=i(o,a)).return=n,n=o):(r(n,o),(o=$u(a,n.mode,s)).return=n,n=o),l(n)):r(n,o)}}var _i=xi(!0),Si=xi(!1),Ci=wo(null),Ei=null,wi=null,ki=null;function Ri(){ki=wi=Ei=null}function Ti(e){var t=Ci.current;ko(Ci),e._currentValue=t}function Ai(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ni(e,t){Ei=e,ki=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Li(e){var t=e._currentValue;if(ki!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===Ei)throw Error(n(308));wi=e,Ei.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Mi=null;function Oi(e){null===Mi?Mi=[e]:Mi.push(e)}function Pi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Oi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Di=!1;function $i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ts){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ii(e,n)}return null===(o=r.interleaved)?(t.next=t,Oi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ii(e,n)}function Hi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function ji(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wi(e,t,n,r){var o=e.updateQueue;Di=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=z({},d,f);break e;case 2:Di=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ds|=a,e.lanes=a,e.memoizedState=d}}function Gi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;if(null!==i){if(o.callback=null,o=r,"function"!=typeof i)throw Error(n(191,i));i.call(o)}}}var Yi={},Ui=wo(Yi),Ki=wo(Yi),Vi=wo(Yi);function qi(e){if(e===Yi)throw Error(n(174));return e}function Qi(e,t){switch(Ro(Vi,t),Ro(Ki,e),Ro(Ui,Yi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(Ui),Ro(Ui,t)}function Xi(){ko(Ui),ko(Ki),ko(Vi)}function Ji(e){qi(Vi.current);var t=qi(Ui.current),n=ue(t,e.type);t!==n&&(Ro(Ki,e),Ro(Ui,n))}function Zi(e){Ki.current===e&&(ko(Ui),ko(Ki))}var ea=wo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=x.ReactCurrentDispatcher,ia=x.ReactCurrentBatchConfig,aa=0,la=null,sa=null,ua=null,ca=!1,da=!1,fa=0,pa=0;function ha(){throw Error(n(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ga(e,t,r,o,i,a){if(aa=a,la=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Za:el,e=r(o,i),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(n(301));a+=1,ua=sa=null,t.updateQueue=null,oa.current=tl,e=r(o,i)}while(da)}if(oa.current=Ja,t=null!==sa&&null!==sa.next,aa=0,ua=sa=la=null,ca=!1,t)throw Error(n(300));return e}function va(){var e=0!==fa;return fa=0,e}function ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ua?la.memoizedState=ua=e:ua=ua.next=e,ua}function ya(){if(null===sa){var e=la.alternate;e=null!==e?e.memoizedState:null}else e=sa.next;var t=null===ua?la.memoizedState:ua.next;if(null!==t)ua=t,sa=e;else{if(null===e)throw Error(n(310));e={memoizedState:(sa=e).memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===ua?la.memoizedState=ua=e:ua=ua.next=e}return ua}function xa(e,t){return"function"==typeof t?t(e):t}function _a(e){var t=ya(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=sa,i=o.baseQueue,a=r.pending;if(null!==a){if(null!==i){var l=i.next;i.next=a.next,a.next=l}o.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,o=o.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((aa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=o):u=u.next=f,la.lanes|=d,Ds|=d}c=c.next}while(null!==c&&c!==a);null===u?l=o:u.next=s,lr(o,t.memoizedState)||(yl=!0),t.memoizedState=o,t.baseState=l,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){i=e;do{a=i.lane,la.lanes|=a,Ds|=a,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Sa(e){var t=ya(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var l=i=i.next;do{a=e(a,l.action),l=l.next}while(l!==i);lr(a,t.memoizedState)||(yl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function Ca(){}function Ea(e,t){var r=la,o=ya(),i=t(),a=!lr(o.memoizedState,i);if(a&&(o.memoizedState=i,yl=!0),o=o.queue,Da(Ra.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||null!==ua&&1&ua.memoizedState.tag){if(r.flags|=2048,La(9,ka.bind(null,r,o,i,t),void 0,null),null===As)throw Error(n(349));30&aa||wa(r,t,i)}return i}function wa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=la.updateQueue)?(t={lastEffect:null,stores:null},la.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ka(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Aa(e)}function Ra(e,t,n){return n((function(){Ta(t)&&Aa(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Aa(e){var t=Ii(e,1);null!==t&&nu(t,e,1,-1)}function Na(e){var t=ba();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=Va.bind(null,la,e),[t.memoizedState,e]}function La(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=la.updateQueue)?(t={lastEffect:null,stores:null},la.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return ya().memoizedState}function Oa(e,t,n,r){var o=ba();la.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===r?null:r)}function Pa(e,t,n,r){var o=ya();r=void 0===r?null:r;var i=void 0;if(null!==sa){var a=sa.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=La(t,n,i,r))}la.flags|=e,o.memoizedState=La(1|t,n,i,r)}function Ia(e,t){return Oa(8390656,8,e,t)}function Da(e,t){return Pa(2048,8,e,t)}function $a(e,t){return Pa(4,2,e,t)}function za(e,t){return Pa(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!=n?n.concat([e]):null,Pa(4,4,Fa.bind(null,t,e),n)}function Ha(){}function ja(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wa(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ga(e,t,n){return 21&aa?(lr(n,t)||(n=mt(),la.lanes|=n,Ds|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=n)}function Ya(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{yt=n,ia.transition=r}}function Ua(){return ya().memoizedState}function Ka(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qa(e))Qa(t,n);else if(null!==(n=Pi(e,t,n,r))){nu(n,e,r,eu()),Xa(n,t,r)}}function Va(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qa(e))Qa(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Oi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Pi(e,t,o,r))&&(nu(n,e,r,o=eu()),Xa(n,t,r))}}function qa(e){var t=e.alternate;return e===la||null!==t&&t===la}function Qa(e,t){da=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Ja={readContext:Li,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Za={readContext:Li,useCallback:function(e,t){return ba().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Oa(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oa(4,2,e,t)},useMemo:function(e,t){var n=ba();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ba();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ka.bind(null,la,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ba().memoizedState=e},useState:Na,useDebugValue:Ha,useDeferredValue:function(e){return ba().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Ya.bind(null,e[1]),ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=la,i=ba();if(ii){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===As)throw Error(n(349));30&aa||wa(o,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,Ia(Ra.bind(null,o,a,e),[e]),o.flags|=2048,La(9,ka.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=ba(),t=As.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},el={readContext:Li,useCallback:ja,useContext:Li,useEffect:Da,useImperativeHandle:Ba,useInsertionEffect:$a,useLayoutEffect:za,useMemo:Wa,useReducer:_a,useRef:Ma,useState:function(){return _a(xa)},useDebugValue:Ha,useDeferredValue:function(e){return Ga(ya(),sa.memoizedState,e)},useTransition:function(){return[_a(xa)[0],ya().memoizedState]},useMutableSource:Ca,useSyncExternalStore:Ea,useId:Ua,unstable_isNewReconciler:!1},tl={readContext:Li,useCallback:ja,useContext:Li,useEffect:Da,useImperativeHandle:Ba,useInsertionEffect:$a,useLayoutEffect:za,useMemo:Wa,useReducer:Sa,useRef:Ma,useState:function(){return Sa(xa)},useDebugValue:Ha,useDeferredValue:function(e){var t=ya();return null===sa?t.memoizedState=e:Ga(t,sa.memoizedState,e)},useTransition:function(){return[Sa(xa)[0],ya().memoizedState]},useMutableSource:Ca,useSyncExternalStore:Ea,useId:Ua,unstable_isNewReconciler:!1};function nl(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=Fi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Bi(e,o,r))&&(nu(t,e,r,n),Hi(t,e,r))}};function il(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function al(e,t,n){var r=!1,o=To,i=t.contextType;return"object"==typeof i&&null!==i?i=Li(i):(o=Oo(t)?Lo:Ao.current,i=(r=null!=(r=t.contextTypes))?Mo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ll(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ol.enqueueReplaceState(t,t.state,null)}function sl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},$i(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Li(i):(i=Oo(t)?Lo:Ao.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rl(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ol.enqueueReplaceState(o,o.state,null),Wi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ul(e,t){try{var n="",r=t;do{n+=j(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=Fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ys=r),dl(0,t)},n}function hl(e,t,n){(n=Fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===Us?Us=new Set([this]):Us.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=wu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vl(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fi(-1,1)).tag=2,Bi(n,t,1))),n.lanes|=1),e)}var bl=x.ReactCurrentOwner,yl=!1;function xl(e,t,n,r){t.child=null===e?Si(t,null,n,r):_i(t,e.child,n,r)}function _l(e,t,n,r,o){n=n.render;var i=t.ref;return Ni(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||yl?(ii&&n&&ti(t),t.flags|=1,xl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Mu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Cl(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Gl(e,t,o)}return t.flags|=1,(e=Ou(i,r)).ref=t.ref,e.return=t,t.child=e}function Cl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(yl=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Gl(e,t,o);131072&e.flags&&(yl=!0)}}return kl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ro(Os,Ms),Ms|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ro(Os,Ms),Ms|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ro(Os,Ms),Ms|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ro(Os,Ms),Ms|=r;return xl(e,t,o,n),t.child}function wl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function kl(e,t,n,r,o){var i=Oo(n)?Lo:Ao.current;return i=Mo(t,i),Ni(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||yl?(ii&&r&&ti(t),t.flags|=1,xl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gl(e,t,o))}function Rl(e,t,n,r,o){if(Oo(n)){var i=!0;$o(t)}else i=!1;if(Ni(t,o),null===t.stateNode)Wl(e,t),al(t,n,r),sl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Li(u):u=Mo(t,u=Oo(n)?Lo:Ao.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&ll(t,a,r,u),Di=!1;var f=t.memoizedState;a.state=f,Wi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||No.current||Di?("function"==typeof c&&(rl(t,n,c,r),s=t.memoizedState),(l=Di||il(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,zi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=Li(s):s=Mo(t,s=Oo(n)?Lo:Ao.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&ll(t,a,r,s),Di=!1,f=t.memoizedState,a.state=f,Wi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||No.current||Di?("function"==typeof p&&(rl(t,n,p,r),h=t.memoizedState),(u=Di||il(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,i,o)}function Tl(e,t,n,r,o,i){wl(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Gl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=_i(t,e.child,null,i),t.child=_i(t,null,l,i)):xl(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function Al(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),Qi(e,t.containerInfo)}function Nl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,xl(e,t,n,r),t.child}var Ll,Ml,Ol,Pl,Il={dehydrated:null,treeContext:null,retryLane:0};function Dl(e){return{baseLanes:e,cachePool:null,transitions:null}}function $l(e,t,r){var o,i=t.pendingProps,a=ea.current,l=!1,s=!!(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&!!(2&a)),o?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ro(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=i.children,e=i.fallback,l?(i=t.mode,l=t.child,s={mode:"hidden",children:s},1&i||null===l?l=Du(s,i,0,null):(l.childLanes=0,l.pendingProps=s),e=Iu(e,i,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Dl(r),t.memoizedState=Il,e):zl(t,s));if(null!==(a=e.memoizedState)&&null!==(o=a.dehydrated))return function(e,t,r,o,i,a,l){if(r)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,o=cl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,i=t.mode,o=Du({mode:"visible",children:o.children},i,0,null),(a=Iu(a,i,l,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,1&t.mode&&_i(t,e.child,null,l),t.child.memoizedState=Dl(l),t.memoizedState=Il,a);if(!(1&t.mode))return Fl(e,t,l,null);if("$!"===i.data){if(o=i.nextSibling&&i.nextSibling.dataset)var s=o.dgst;return o=s,Fl(e,t,l,o=cl(a=Error(n(419)),o,void 0))}if(s=!!(l&e.childLanes),yl||s){if(null!==(o=As)){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(o.suspendedLanes|l)?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ii(e,i),nu(o,e,i,-1))}return mu(),Fl(e,t,l,o=cl(Error(n(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Ru.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,oi=uo(i.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Vo[qo++]=Xo,Vo[qo++]=Jo,Vo[qo++]=Qo,Xo=e.id,Jo=e.overflow,Qo=t),t=zl(t,o.children),t.flags|=4096,t)}(e,t,s,i,o,a,r);if(l){l=i.fallback,s=t.mode,o=(a=e.child).sibling;var u={mode:"hidden",children:i.children};return 1&s||t.child===a?(i=Ou(a,u)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null),null!==o?l=Ou(o,l):(l=Iu(l,s,r,null)).flags|=2,l.return=t,i.return=t,i.sibling=l,t.child=i,i=l,l=t.child,s=null===(s=e.child.memoizedState)?Dl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Il,i}return e=(l=e.child).sibling,i=Ou(l,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function zl(e,t){return(t=Du({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&mi(r),_i(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ai(e.return,t,n)}function Hl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function jl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xl(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ro(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hl(t,!0,n,null,i);break;case"together":Hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Wl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ds|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Ou(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ou(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Yl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ul(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kl(e,t,r){var i=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ul(t),null;case 1:case 17:return Oo(t.type)&&Po(),Ul(t),null;case 3:return i=t.stateNode,Xi(),ko(No),ko(Ao),ra(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Ml(e,t),Ul(t),null;case 5:Zi(t);var a=qi(Vi.current);if(r=t.type,null!==e&&null!=t.stateNode)Ol(e,t,r,i,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return Ul(t),null}if(e=qi(Ui.current),fi(t)){i=t.stateNode,r=t.type;var l=t.memoizedProps;switch(i[po]=t,i[ho]=l,e=!!(1&t.mode),r){case"dialog":Fr("cancel",i),Fr("close",i);break;case"iframe":case"object":case"embed":Fr("load",i);break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],i);break;case"source":Fr("error",i);break;case"img":case"image":case"link":Fr("error",i),Fr("load",i);break;case"details":Fr("toggle",i);break;case"input":X(i,l),Fr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",i);break;case"textarea":ie(i,l),Fr("invalid",i)}for(var s in be(r,l),a=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?i.textContent!==u&&(!0!==l.suppressHydrationWarning&&Jr(i.textContent,u,e),a=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Jr(i.textContent,u,e),a=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",i)}switch(r){case"input":K(i),ee(i,l,!0);break;case"textarea":K(i),le(i);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(i.onclick=Zr)}i=a,t.updateQueue=i,null!==i&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=s.createElement(r,{is:i.is}):(e=s.createElement(r),"select"===r&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,r),e[po]=t,e[ho]=i,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(r,i),r){case"dialog":Fr("cancel",e),Fr("close",e),a=i;break;case"iframe":case"object":case"embed":Fr("load",e),a=i;break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],e);a=i;break;case"source":Fr("error",e),a=i;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),a=i;break;case"details":Fr("toggle",e),a=i;break;case"input":X(e,i),a=Q(e,i),Fr("invalid",e);break;case"option":default:a=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},a=z({},i,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,i),a=oe(e,i),Fr("invalid",e)}for(l in be(r,a),u=a)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?ge(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&y(e,l,c,s))}switch(r){case"input":K(e),ee(e,i,!1);break;case"textarea":K(e),le(e);break;case"option":null!=i.value&&e.setAttribute("value",""+Y(i.value));break;case"select":e.multiple=!!i.multiple,null!=(l=i.value)?re(e,!!i.multiple,l,!1):null!=i.defaultValue&&re(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Zr)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ul(t),null;case 6:if(e&&null!=t.stateNode)Pl(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=qi(Vi.current),qi(Ui.current),fi(t)){if(i=t.stateNode,r=t.memoizedProps,i[po]=t,(l=i.nodeValue!==r)&&null!==(e=ri))switch(e.tag){case 3:Jr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(i.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[po]=t,t.stateNode=i}return Ul(t),null;case 13:if(ko(ea),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))pi(),hi(),t.flags|=98560,l=!1;else if(l=fi(t),null!==i&&null!==i.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[po]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ul(t),l=!1}else null!==ai&&(au(ai),ai=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Ps&&(Ps=3):mu())),null!==t.updateQueue&&(t.flags|=4),Ul(t),null);case 4:return Xi(),Ml(e,t),null===e&&jr(t.stateNode.containerInfo),Ul(t),null;case 10:return Ti(t.type._context),Ul(t),null;case 19:if(ko(ea),null===(l=t.memoizedState))return Ul(t),null;if(i=!!(128&t.flags),null===(s=l.rendering))if(i)Yl(l,!1);else{if(0!==Ps||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ta(e))){for(t.flags|=128,Yl(l,!1),null!==(i=s.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ro(ea,1&ea.current|2),t.child}e=e.sibling}null!==l.tail&&Xe()>js&&(t.flags|=128,i=!0,Yl(l,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=ta(s))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Yl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!ii)return Ul(t),null}else 2*Xe()-l.renderingStartTime>js&&1073741824!==r&&(t.flags|=128,i=!0,Yl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Xe(),t.sibling=null,r=ea.current,Ro(ea,i?1&r|2:1&r),t):(Ul(t),null);case 22:case 23:return du(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?!!(1073741824&Ms)&&(Ul(t),6&t.subtreeFlags&&(t.flags|=8192)):Ul(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Vl(e,t){switch(ni(t),t.tag){case 1:return Oo(t.type)&&Po(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xi(),ko(No),ko(Ao),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(ko(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(ea),null;case 4:return Xi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ml=function(){},Ol=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,qi(Ui.current);var a,l=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),l=[];break;case"select":i=z({},i,{value:void 0}),r=z({},r,{value:void 0}),l=[];break;case"textarea":i=oe(e,i),r=oe(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in be(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Pl=function(e,t,n,r){n!==r&&(t.flags|=4)};var ql=!1,Ql=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function Zl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Eu(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[vo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function as(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||as(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ql||Zl(n,t);case 6:var r=cs,o=ds;cs=null,fs(e,t,n),ds=o,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),jt(e)):so(cs,n.stateNode));break;case 4:r=cs,o=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!Ql&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&es(n,t,a),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Ql&&(Zl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,fs(e,t,n),Ql=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(n(160));ps(a,l,i),cs=null,ds=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(e){Eu(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),vs(e),4&o){try{ns(3,e,e.return),rs(3,e)}catch(t){Eu(e,e.return,t)}try{ns(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:ms(t,e),vs(e),512&o&&null!==r&&Zl(r,r.return);break;case 5:if(ms(t,e),vs(e),512&o&&null!==r&&Zl(r,r.return),32&e.flags){var i=e.stateNode;try{fe(i,"")}catch(t){Eu(e,e.return,t)}}if(4&o&&null!=(i=e.stateNode)){var a=e.memoizedProps,l=null!==r?r.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&J(i,a),ye(s,l);var c=ye(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ge(i,f):"dangerouslySetInnerHTML"===d?de(i,f):"children"===d?fe(i,f):y(i,d,f,c)}switch(s){case"input":Z(i,a);break;case"textarea":ae(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?re(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?re(i,!!a.multiple,a.defaultValue,!0):re(i,!!a.multiple,a.multiple?[]:"",!1))}i[ho]=a}catch(t){Eu(e,e.return,t)}}break;case 6:if(ms(t,e),vs(e),4&o){if(null===e.stateNode)throw Error(n(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Eu(e,e.return,t)}}break;case 3:if(ms(t,e),vs(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{jt(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:ms(t,e),vs(e);break;case 13:ms(t,e),vs(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Hs=Xe())),4&o&&hs(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ql=(c=Ql)||d,ms(t,e),Ql=c):ms(t,e),vs(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Zl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){o=p,r=p.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Eu(o,r,e)}}break;case 5:Zl(p,p.return);break;case 22:if(null!==p.memoizedState){_s(f);continue}}null!==h?(h.return=p,Jl=h):_s(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,c?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),vs(e),4&o&&hs(e);case 21:}}function vs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(as(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var i=o.stateNode;32&o.flags&&(fe(i,""),o.flags&=-33),us(e,ls(e),i);break;case 3:case 4:var a=o.stateNode.containerInfo;ss(e,ls(e),a);break;default:throw Error(n(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,ys(e)}function ys(e,t,n){for(var r=!!(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||ql;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=ql;var u=Ql;if(ql=a,(Ql=s)&&!u)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?Ss(o):null!==s?(s.return=a,Jl=s):Ss(o);for(;null!==i;)Jl=i,ys(i),i=i.sibling;Jl=o,ql=l,Ql=u}xs(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Jl=i):xs(e)}}function xs(e){for(;null!==Jl;){var t=Jl;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ql||rs(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Ql)if(null===r)o.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:nl(t.type,r.memoizedProps);o.componentDidUpdate(i,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Gi(t,a,o);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Gi(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&jt(f)}}}break;default:throw Error(n(163))}Ql||512&t.flags&&os(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Jl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Jl=r;break}Jl=t.return}}function _s(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Eu(t,o,e)}}var i=t.return;try{os(t)}catch(e){Eu(t,i,e)}break;case 5:var a=t.return;try{os(t)}catch(e){Eu(t,a,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Cs,Es=Math.ceil,ws=x.ReactCurrentDispatcher,ks=x.ReactCurrentOwner,Rs=x.ReactCurrentBatchConfig,Ts=0,As=null,Ns=null,Ls=0,Ms=0,Os=wo(0),Ps=0,Is=null,Ds=0,$s=0,zs=0,Fs=null,Bs=null,Hs=0,js=1/0,Ws=null,Gs=!1,Ys=null,Us=null,Ks=!1,Vs=null,qs=0,Qs=0,Xs=null,Js=-1,Zs=0;function eu(){return 6&Ts?Xe():-1!==Js?Js:Js=Xe()}function tu(e){return 1&e.mode?2&Ts&&0!==Ls?Ls&-Ls:null!==gi.transition?(0===Zs&&(Zs=mt()),Zs):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nu(e,t,r,o){if(50<Qs)throw Qs=0,Xs=null,Error(n(185));vt(e,r,o),2&Ts&&e===As||(e===As&&(!(2&Ts)&&($s|=r),4===Ps&&lu(e,Ls)),ru(e,o),1===r&&0===Ts&&!(1&t.mode)&&(js=Xe()+500,Bo&&Wo()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?l&n&&!(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===As?Ls:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Bo=!0,jo(e)}(su.bind(null,e)):jo(su.bind(null,e)),ao((function(){!(6&Ts)&&Wo()})),n=null;else{switch(xt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Au(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Js=-1,Zs=0,6&Ts)throw Error(n(327));var r=e.callbackNode;if(Su()&&e.callbackNode!==r)return null;var o=ft(e,e===As?Ls:0);if(0===o)return null;if(30&o||o&e.expiredLanes||t)t=gu(e,o);else{t=o;var i=Ts;Ts|=2;var a=hu();for(As===e&&Ls===t||(Ws=null,js=Xe()+500,fu(e,t));;)try{bu();break}catch(t){pu(e,t)}Ri(),ws.current=a,Ts=i,null!==Ns?t=0:(As=null,Ls=0,t=Ps)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(o=i,t=iu(e,i))),1===t)throw r=Is,fu(e,0),lu(e,o),ru(e,Xe()),r;if(6===t)lu(e,o);else{if(i=e.current.alternate,!(30&o||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gu(e,o),2===t&&(a=ht(e),0!==a&&(o=a,t=iu(e,a))),1!==t)))throw r=Is,fu(e,0),lu(e,o),ru(e,Xe()),r;switch(e.finishedWork=i,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:_u(e,Bs,Ws);break;case 3:if(lu(e,o),(130023424&o)===o&&10<(t=Hs+500-Xe())){if(0!==ft(e,0))break;if(((i=e.suspendedLanes)&o)!==o){eu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ro(_u.bind(null,e,Bs,Ws),t);break}_u(e,Bs,Ws);break;case 4:if(lu(e,o),(4194240&o)===o)break;for(t=e.eventTimes,i=-1;0<o;){var l=31-at(o);a=1<<l,(l=t[l])>i&&(i=l),o&=~a}if(o=i,10<(o=(120>(o=Xe()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Es(o/1960))-o)){e.timeoutHandle=ro(_u.bind(null,e,Bs,Ws),o);break}_u(e,Bs,Ws);break;default:throw Error(n(329))}}}return ru(e,Xe()),e.callbackNode===r?ou.bind(null,e):null}function iu(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&au(t)),e}function au(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function lu(e,t){for(t&=~zs,t&=~$s,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(6&Ts)throw Error(n(327));Su();var t=ft(e,0);if(!(1&t))return ru(e,Xe()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var o=ht(e);0!==o&&(t=o,r=iu(e,o))}if(1===r)throw r=Is,fu(e,0),lu(e,t),ru(e,Xe()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_u(e,Bs,Ws),ru(e,Xe()),null}function uu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(js=Xe()+500,Bo&&Wo())}}function cu(e){null!==Vs&&0===Vs.tag&&!(6&Ts)&&Su();var t=Ts;Ts|=1;var n=Rs.transition,r=yt;try{if(Rs.transition=null,yt=1,e)return e()}finally{yt=r,Rs.transition=n,!(6&(Ts=t))&&Wo()}}function du(){Ms=Os.current,ko(Os)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ns)for(n=Ns.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Po();break;case 3:Xi(),ko(No),ko(Ao),ra();break;case 5:Zi(r);break;case 4:Xi();break;case 13:case 19:ko(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:du()}n=n.return}if(As=e,Ns=e=Ou(e.current,null),Ls=Ms=t,Ps=0,Is=null,zs=$s=Ds=0,Bs=Fs=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Mi=null}return e}function pu(e,t){for(;;){var r=Ns;try{if(Ri(),oa.current=Ja,ca){for(var o=la.memoizedState;null!==o;){var i=o.queue;null!==i&&(i.pending=null),o=o.next}ca=!1}if(aa=0,ua=sa=la=null,da=!1,fa=0,ks.current=null,null===r||null===r.return){Ps=1,Is=t,Ns=null;break}e:{var a=e,l=r.return,s=r,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,vl(h,l,s,0,t),1&h.mode&&ml(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(!(1&t)){ml(a,c,t),mu();break e}u=Error(n(426))}else if(ii&&1&s.mode){var v=gl(l);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vl(v,l,s,0,t),mi(ul(u,s));break e}}a=u=ul(u,s),4!==Ps&&(Ps=2),null===Fs?Fs=[a]:Fs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,ji(a,pl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Us&&Us.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,ji(a,hl(a,s,t));break e}}a=a.return}while(null!==a)}xu(r)}catch(e){t=e,Ns===r&&null!==r&&(Ns=r=r.return);continue}break}}function hu(){var e=ws.current;return ws.current=Ja,null===e?Ja:e}function mu(){0!==Ps&&3!==Ps&&2!==Ps||(Ps=4),null===As||!(268435455&Ds)&&!(268435455&$s)||lu(As,Ls)}function gu(e,t){var r=Ts;Ts|=2;var o=hu();for(As===e&&Ls===t||(Ws=null,fu(e,t));;)try{vu();break}catch(t){pu(e,t)}if(Ri(),Ts=r,ws.current=o,null!==Ns)throw Error(n(261));return As=null,Ls=0,Ps}function vu(){for(;null!==Ns;)yu(Ns)}function bu(){for(;null!==Ns&&!qe();)yu(Ns)}function yu(e){var t=Cs(e.alternate,e,Ms);e.memoizedProps=e.pendingProps,null===t?xu(e):Ns=t,ks.current=null}function xu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Vl(n,t)))return n.flags&=32767,void(Ns=n);if(null===e)return Ps=6,void(Ns=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Kl(n,t,Ms)))return void(Ns=n);if(null!==(t=t.sibling))return void(Ns=t);Ns=t=e}while(null!==t);0===Ps&&(Ps=5)}function _u(e,t,r){var o=yt,i=Rs.transition;try{Rs.transition=null,yt=1,function(e,t,r,o){do{Su()}while(null!==Vs);if(6&Ts)throw Error(n(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===As&&(Ns=As=null,Ls=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Ks||(Ks=!0,Au(tt,(function(){return Su(),null}))),a=!!(15990&r.flags),!!(15990&r.subtreeFlags)||a){a=Rs.transition,Rs.transition=null;var l=yt;yt=1;var s=Ts;Ts|=4,ks.current=null,function(e,t){if(eo=Gt,pr(e=fr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==i&&3!==f.nodeType||(s=l+i),f!==a||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===i&&(s=l),p===a&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Gt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:nl(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(n(163))}}catch(e){Eu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ts,ts=!1}(e,r),gs(r,e),hr(to),Gt=!!eo,to=eo=null,e.current=r,bs(r),Qe(),Ts=s,yt=l,Rs.transition=a}else e.current=r;if(Ks&&(Ks=!1,Vs=e,qs=i),a=e.pendingLanes,0===a&&(Us=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),ru(e,Xe()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],o(i.value,{componentStack:i.stack,digest:i.digest});if(Gs)throw Gs=!1,e=Ys,Ys=null,e;!!(1&qs)&&0!==e.tag&&Su(),a=e.pendingLanes,1&a?e===Xs?Qs++:(Qs=0,Xs=e):Qs=0,Wo()}(e,t,r,o)}finally{Rs.transition=i,yt=o}return null}function Su(){if(null!==Vs){var e=xt(qs),t=Rs.transition,r=yt;try{if(Rs.transition=null,yt=16>e?16:e,null===Vs)var o=!1;else{if(e=Vs,Vs=null,qs=0,6&Ts)throw Error(n(331));var i=Ts;for(Ts|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(16&Jl.flags){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:ns(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(is(d),d===c){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Jl=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(2048&(a=Jl).flags)switch(a.tag){case 0:case 11:case 15:ns(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Jl=b;break e}Jl=a.return}}var y=e.current;for(Jl=y;null!==Jl;){var x=(l=Jl).child;if(2064&l.subtreeFlags&&null!==x)x.return=l,Jl=x;else e:for(l=y;null!==Jl;){if(2048&(s=Jl).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Jl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Jl=_;break e}Jl=s.return}}if(Ts=i,Wo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}o=!0}return o}finally{yt=r,Rs.transition=t}}return!1}function Cu(e,t,n){e=Bi(e,t=pl(0,t=ul(n,t),1),1),t=eu(),null!==e&&(vt(e,1,t),ru(e,t))}function Eu(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Us||!Us.has(r))){t=Bi(t,e=hl(t,e=ul(n,e),1),1),e=eu(),null!==t&&(vt(t,1,e),ru(t,e));break}}t=t.return}}function wu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,As===e&&(Ls&n)===n&&(4===Ps||3===Ps&&(130023424&Ls)===Ls&&500>Xe()-Hs?fu(e,0):zs|=n),ru(e,t)}function ku(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Ii(e,t))&&(vt(e,t,n),ru(e,n))}function Ru(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ku(e,n)}function Tu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),ku(e,r)}function Au(e,t){return Ke(e,t)}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Nu(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pu(e,t,r,o,i,a){var l=2;if(o=e,"function"==typeof e)Mu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case E:return Iu(r.children,i,a,t);case w:l=8,i|=8;break;case k:return(e=Lu(12,r,t,2|i)).elementType=k,e.lanes=a,e;case N:return(e=Lu(13,r,t,i)).elementType=N,e.lanes=a,e;case L:return(e=Lu(19,r,t,i)).elementType=L,e.lanes=a,e;case P:return Du(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case R:l=10;break e;case T:l=9;break e;case A:l=11;break e;case M:l=14;break e;case O:l=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Lu(l,r,t,i)).elementType=e,t.type=o,t.lanes=a,t}function Iu(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Du(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function $u(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,o,i,a,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$i(i),e}function Hu(e){if(!e)return To;e:{if(je(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Oo(r))return Do(e,r,t)}return t}function ju(e,t,n,r,o,i,a,l,s){return(e=Bu(n,r,!0,e,0,i,0,l,s)).context=Hu(null),n=e.current,(i=Fi(r=eu(),o=tu(n))).callback=null!=t?t:null,Bi(n,i,o),e.current.lanes=o,vt(e,o,r),ru(e,r),e}function Wu(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bi(o,t,a))&&(nu(e,o,a,i),Hi(e,o,a)),a}function Gu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Yu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uu(e,t){Yu(e,t),(e=e.alternate)&&Yu(e,t)}Cs=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||No.current)yl=!0;else{if(!(e.lanes&r||128&t.flags))return yl=!1,function(e,t,n){switch(t.tag){case 3:Al(t),hi();break;case 5:Ji(t);break;case 1:Oo(t.type)&&$o(t);break;case 4:Qi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ro(Ci,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ro(ea,1&ea.current),t.flags|=128,null):n&t.child.childLanes?$l(e,t,n):(Ro(ea,1&ea.current),null!==(e=Gl(e,t,n))?e.sibling:null);Ro(ea,1&ea.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return jl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ro(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Gl(e,t,n)}(e,t,r);yl=!!(131072&e.flags)}else yl=!1,ii&&1048576&t.flags&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Wl(e,t),e=t.pendingProps;var i=Mo(t,Ao.current);Ni(t,r),i=ga(null,t,o,e,i,r);var a=va();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oo(o)?(a=!0,$o(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,$i(t),i.updater=ol,t.stateNode=i,i._reactInternals=t,sl(t,o,e,r),t=Tl(null,t,o,!0,a,r)):(t.tag=0,ii&&a&&ti(t),xl(null,t,i,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===M)return 14}return 2}(o),e=nl(o,e),i){case 0:t=kl(null,t,o,e,r);break e;case 1:t=Rl(null,t,o,e,r);break e;case 11:t=_l(null,t,o,e,r);break e;case 14:t=Sl(null,t,o,nl(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,i=t.pendingProps,kl(e,t,o,i=t.elementType===o?i:nl(o,i),r);case 1:return o=t.type,i=t.pendingProps,Rl(e,t,o,i=t.elementType===o?i:nl(o,i),r);case 3:e:{if(Al(t),null===e)throw Error(n(387));o=t.pendingProps,i=(a=t.memoizedState).element,zi(e,t),Wi(t,o,null,r);var l=t.memoizedState;if(o=l.element,a.isDehydrated){if(a={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Nl(e,t,o,r,i=ul(Error(n(423)),t));break e}if(o!==i){t=Nl(e,t,o,r,i=ul(Error(n(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,r=Si(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(hi(),o===i){t=Gl(e,t,r);break e}xl(e,t,o,r)}t=t.child}return t;case 5:return Ji(t),null===e&&ci(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,no(o,i)?l=null:null!==a&&no(o,a)&&(t.flags|=32),wl(e,t),xl(e,t,l,r),t.child;case 6:return null===e&&ci(t),null;case 13:return $l(e,t,r);case 4:return Qi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=_i(t,null,o,r):xl(e,t,o,r),t.child;case 11:return o=t.type,i=t.pendingProps,_l(e,t,o,i=t.elementType===o?i:nl(o,i),r);case 7:return xl(e,t,t.pendingProps,r),t.child;case 8:case 12:return xl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,a=t.memoizedProps,l=i.value,Ro(Ci,o._currentValue),o._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===i.children&&!No.current){t=Gl(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===a.tag){(u=Fi(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),Ai(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ai(l,r,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}xl(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps.children,Ni(t,r),o=o(i=Li(i)),t.flags|=1,xl(e,t,o,r),t.child;case 14:return i=nl(o=t.type,t.pendingProps),Sl(e,t,o,i=nl(o.type,i),r);case 15:return Cl(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:nl(o,i),Wl(e,t),t.tag=1,Oo(o)?(e=!0,$o(t)):e=!1,Ni(t,r),al(t,o,i),sl(t,o,i,r),Tl(null,t,o,!0,e,r);case 19:return jl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var Ku="function"==typeof reportError?reportError:function(e){console.error(e)};function Vu(e){this._internalRoot=e}function qu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function Zu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=Gu(a);l.call(e)}}Wu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Gu(a);i.call(e)}}var a=ju(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[mo]=a.current,jr(8===e.nodeType?e.parentNode:e),cu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Gu(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[mo]=s.current,jr(8===e.nodeType?e.parentNode:e),cu((function(){Wu(t,s,n,r)})),s}(n,t,e,o,r);return Gu(a)}qu.prototype.render=Vu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Wu(e,t,null,null)},qu.prototype.unmount=Vu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Wu(null,e,null,null)})),t[mo]=null}},qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&$t(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Xe()),!(6&Ts)&&(js=Xe()+500,Wo()))}break;case 13:cu((function(){var t=Ii(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Uu(e,1)}},St=function(e){if(13===e.tag){var t=Ii(e,134217728);if(null!==t)nu(t,e,134217728,eu());Uu(e,134217728)}},Ct=function(e){if(13===e.tag){var t=tu(e),n=Ii(e,t);if(null!==n)nu(n,e,t,eu());Uu(e,t)}},Et=function(){return yt},wt=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},Se=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var i=So(o);if(!i)throw Error(n(90));V(o),Z(o,i)}}}break;case"textarea":ae(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Te=uu,Ae=cu;var ec={usingClientEntryPoint:!1,Events:[xo,_o,So,ke,Re,uu]},tc={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ye(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{ot=rc.inject(nc),it=rc}catch(e){}}return c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,c.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},c.createRoot=function(e,t){if(!Qu(e))throw Error(n(299));var r=!1,o="",i=Ku;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Bu(e,1,!1,null,0,r,0,o,i),e[mo]=t.current,jr(8===e.nodeType?e.parentNode:e),new Vu(t)},c.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=Ye(t))?null:e.stateNode},c.flushSync=function(e){return cu(e)},c.hydrate=function(e,t,r){if(!Xu(t))throw Error(n(200));return Zu(null,e,t,!0,r)},c.hydrateRoot=function(e,t,r){if(!Qu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,i=!1,a="",l=Ku;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=ju(t,null,e,1,null!=r?r:null,i,0,a,l),e[mo]=t.current,jr(e),o)for(e=0;e<o.length;e++)i=(i=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new qu(t)},c.render=function(e,t,r){if(!Xu(t))throw Error(n(200));return Zu(null,e,t,!1,r)},c.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(n(40));return!!e._reactRootContainer&&(cu((function(){Zu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},c.unstable_batchedUpdates=uu,c.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Xu(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Zu(e,t,r,!1,o)},c.version="18.3.1-next-f1338f8080-20240426",c}function E(){if(b)return u.exports;return b=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),u.exports=C(),u.exports}var w=function(){if(y)return s;y=1;var e=E();return s.createRoot=e.createRoot,s.hydrateRoot=e.hydrateRoot,s}();var k=h(),R=o(k),T=t({__proto__:null,default:R},[k]);const A=k.createContext({layout:void 0,model:void 0,element:void 0,edit:!1,initialData:void 0,emitter:void 0,lang:"en",flags:{isEnabled:()=>!1},theme:null,readyToPrint:[]});var N,L,M,O,P,I,D,$,z,F,B,H,j={},W={},G={},Y={};function U(){if(N)return Y;N=1;let e={},t={},n={},r={},o={},i={},a={},l={},s={},u={},c={},d={},f={},p={},h={},m={},g={},v={},b={},y={},x={},_={},S={},C={},E={},w={},k={},R={},T={},A={},L={},M={},O={},P={},I={};function D(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let $="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,z=$&&"documentMode"in document?document.documentMode:null,F=$&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),B=$&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),H=!(!$||!("InputEvent"in window)||z)&&"getTargetRanges"in new window.InputEvent("input"),j=$&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),W=$&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,G=$&&/^(?=.*Chrome).*/i.test(navigator.userAgent),U=$&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!G,K=j||W||U?" ":"",V=B?" ":K,q=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,Q=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,X={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},J={directionless:1,unmergeable:2},Z={center:2,end:6,justify:4,left:1,right:3,start:5},ee={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},te={normal:0,segmented:2,token:1},ne={0:"normal",2:"segmented",1:"token"},re=!1,oe=0;function ie(e){oe=e.timeStamp}function ae(e,t,n){return t.__lexicalLineBreak===e||void 0!==e[`__lexicalKey_${n._key}`]}function le(e,t,n){re=!0;let r=100<performance.now()-oe;try{kr(e,(()=>{let o=tr()||function(e){return e.getEditorState().read((()=>{let e=tr();return null!==e?e.clone():null}))}(e);var i=new Map,a=e.getRootElement(),l=e._editorState,s=e._blockCursorElement;let u=!1,c="";for(var d=0;d<t.length;d++){var f=t[d],p=f.type,h=f.target,m=Le(h,l);if(!(null===m&&h!==a||Tr(m)))if("characterData"===p){if(f=r&&Nn(m))e:{p=h;var g=m;if(Fn(f=o)){var v=f.anchor.getNode();if(v.is(g)&&f.format!==v.getFormat()){f=!1;break e}}f=3===p.nodeType&&g.isAttached()}f&&(p=f=null,null!==(g=at(e._window))&&g.anchorNode===h&&(f=g.anchorOffset,p=g.focusOffset),null!==(h=h.nodeValue)&&He(m,h,f,p,!1))}else if("childList"===p){for(u=!0,p=f.addedNodes,g=0;g<p.length;g++){var b=Ne(v=p[g]),y=v.parentNode;null==y||v===s||null!==b||"BR"===v.nodeName&&ae(v,y,e)||(B&&(b=v.innerText||v.nodeValue)&&(c+=b),y.removeChild(v))}if(0<(p=(f=f.removedNodes).length)){for(g=0,v=0;v<p;v++)("BR"===(y=f[v]).nodeName&&ae(y,h,e)||s===y)&&(h.appendChild(y),g++);p!==g&&(h===a&&(m=l._nodeMap.get("root")),i.set(h,m))}}}if(0<i.size)for(let[t,n]of i)if(Nr(n))for(i=n.getChildrenKeys(),a=t.firstChild,l=0;l<i.length;l++)null!==(s=e.getElementByKey(i[l]))&&(null==a?(t.appendChild(s),a=s):a!==s&&t.replaceChild(s,a),a=a.nextSibling);else Nn(n)&&n.markDirty();if(0<(i=n.takeRecords()).length){for(a=0;a<i.length;a++)for(l=(s=i[a]).addedNodes,s=s.target,d=0;d<l.length;d++)null==(h=(m=l[d]).parentNode)||"BR"!==m.nodeName||ae(m,s,e)||h.removeChild(m);n.takeRecords()}null!==o&&(u&&(o.dirty=!0,Ie(o)),B&&Ke(e)&&o.insertRawText(c))}))}finally{re=!1}}function se(e){let t=e._observer;if(null!==t){le(e,t.takeRecords(),t)}}function ue(e){0===oe&&Je(e).addEventListener("textInput",ie,!0),e._observer=new MutationObserver(((t,n)=>{le(e,t,n)}))}function ce(e,t){let n=e.__mode,r=e.__format;e=e.__style;let o=t.__mode,i=t.__format;return t=t.__style,!(null!==n&&n!==o||null!==r&&r!==i||null!==e&&e!==t)}function de(e,t){let n=e.mergeWithSibling(t),r=vr()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function fe(e){if(""===e.__text&&e.isSimpleText()&&!e.isUnmergeable())e.remove();else{for(var t;null!==(t=e.getPreviousSibling())&&Nn(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){ce(t,e)&&(e=de(t,e));break}t.remove()}for(var n;null!==(n=e.getNextSibling())&&Nn(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){ce(e,n)&&de(e,n);break}n.remove()}}}function pe(e){return he(e.anchor),he(e.focus),e}function he(e){for(;"element"===e.type;){var t=e.getNode(),n=e.offset;if(n===t.getChildrenSize()?(t=t.getChildAtIndex(n-1),n=!0):(t=t.getChildAtIndex(n),n=!1),Nn(t)){e.set(t.__key,n?t.getTextContentSize():0,"text");break}if(!Nr(t))break;e.set(t.__key,n?t.getChildrenSize():0,"element")}}let me=1,ge="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function ve(e){let t=document.activeElement;if(null===t)return!1;let n=t.nodeName;return Tr(Le(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==t.__lexicalEditor)}function be(e,t,n){let r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!ve(t)&&ye(t)===e}catch(e){return!1}}function ye(e){for(;null!=e;){let t=e.__lexicalEditor;if(null!=t)return t;e=Qe(e)}return null}function xe(e){return e.isToken()||e.isSegmented()}function _e(e){for(;null!=e;){if(3===e.nodeType)return e;e=e.firstChild}return null}function Se(e,t,n){return!(e&(t=X[t]))||null!==n&&n&t?null===n||n&t?e|t:e:e^t}function Ce(e){return Nn(e)||hn(e)||Tr(e)}function Ee(e,t){if(null!=t)e.__key=t;else{mr(),99<fr&&D(14),t=vr();var n=gr(),r=""+me++;n._nodeMap.set(r,e),Nr(e)?t._dirtyElements.set(r,!0):t._dirtyLeaves.add(r),t._cloneNotNeeded.add(r),t._dirtyType=1,e.__key=r}}function we(e){var t=e.getParent();if(null!==t){let o=e.getWritable();t=t.getWritable();var n=e.getPreviousSibling();if(e=e.getNextSibling(),null===n)if(null!==e){var r=e.getWritable();t.__first=e.__key,r.__prev=null}else t.__first=null;else{if(r=n.getWritable(),null!==e){let t=e.getWritable();t.__prev=r.__key,r.__next=t.__key}else r.__next=null;o.__prev=null}null===e?null!==n?(e=n.getWritable(),t.__last=n.__key,e.__next=null):t.__last=null:(e=e.getWritable(),null!==n?((n=n.getWritable()).__next=e.__key,e.__prev=n.__key):e.__prev=null,o.__next=null),t.__size--,o.__parent=null}}function ke(e){99<fr&&D(14);var t=e.getLatest(),n=t.__parent,r=gr();let o=vr(),i=r._nodeMap;if(r=o._dirtyElements,null!==n)e:for(;null!==n&&!r.has(n);){let e=i.get(n);if(void 0===e)break;r.set(n,!1),n=e.__parent}t=t.__key,o._dirtyType=1,Nr(e)?r.set(t,!0):o._dirtyLeaves.add(t)}function Re(e){mr();var t=vr();let n=t._compositionKey;e!==n&&(t._compositionKey=e,null!==n&&(null!==(t=Ae(n))&&t.getWritable()),null!==e&&(null!==(e=Ae(e))&&e.getWritable()))}function Te(){return hr()?null:vr()._compositionKey}function Ae(e,t){return void 0===(e=(t||gr())._nodeMap.get(e))?null:e}function Ne(e,t){return void 0!==(e=e[`__lexicalKey_${vr()._key}`])?Ae(e,t):null}function Le(e,t){for(;null!=e;){let n=Ne(e,t);if(null!==n)return n;e=Qe(e)}return null}function Me(e){let t=Object.assign({},e._decorators);return e._pendingDecorators=t}function Oe(e){return e.read((()=>Pe().getTextContent()))}function Pe(){return gr()._nodeMap.get("root")}function Ie(e){mr();let t=gr();null!==e&&(e.dirty=!0,e._cachedNodes=null),t._selection=e}function De(e){var t,n=vr();e:{for(t=e;null!=t;){let e=t[`__lexicalKey_${n._key}`];if(void 0!==e){t=e;break e}t=Qe(t)}t=null}return null===t?e===(n=n.getRootElement())?Ae("root"):null:Ae(t)}function $e(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function ze(e){let t=[];for(;null!==e;)t.push(e),e=e._parentEditor;return t}function Fe(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function Be(e,t,n){if(null!==(t=at(t._window))){var r=t.anchorNode,{anchorOffset:o,focusOffset:i}=t;if(null!==r&&(t=3===r.nodeType?r.nodeValue:null,r=Le(r),null!==t&&Nn(r))){if(t===K&&n){t=n,i=o=n.length}null!==t&&He(r,t,o,i,e)}}}function He(e,t,n,r,o){let i=e;if(i.isAttached()&&(o||!i.isDirty())){let u=i.isComposing(),c=t;if((u||o)&&t[t.length-1]===K&&(c=t.slice(0,-1)),t=i.getTextContent(),o||c!==t)if(""===c)if(Re(null),j||W||U)i.remove();else{let e=vr();setTimeout((()=>{e.update((()=>{i.isAttached()&&i.remove()}))}),20)}else{o=i.getParent(),t=nr();var a=i.getTextContentSize(),l=Te(),s=i.getKey();i.isToken()||null!==l&&s===l&&!u||Fn(t)&&(null!==o&&!o.canInsertTextBefore()&&0===t.anchor.offset||t.anchor.key===e.__key&&0===t.anchor.offset&&!i.canInsertTextBefore()||t.focus.key===e.__key&&t.focus.offset===a&&!i.canInsertTextAfter())?i.markDirty():(Fn(e=tr())&&null!==n&&null!==r&&(e.setTextNodeRange(i,n,i,r),i.isSegmented()&&(n=An(n=i.getTextContent()),i.replace(n),i=n)),i.setTextContent(c))}}}function je(){var e=Pe();Ie(pe(e=e.select(0,e.getChildrenSize())))}function We(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});let n=e.__lexicalClassNameCache,r=n[t];return void 0!==r?r:"string"==typeof(e=e[t])?(e=e.split(" "),n[t]=e):e}function Ge(e,t,n,r,o){0!==n.size&&(n=r.__type,r=r.__key,void 0===(t=t.get(n))&&D(33,n),n=t.klass,void 0===(t=e.get(n))&&(t=new Map,e.set(n,t)),n="destroyed"===(e=t.get(r))&&"created"===o,(void 0===e||n)&&t.set(r,n?"updated":o))}function Ye(e,t,n){let r=e.getParent(),o=n;return null!==r&&(t&&0===n?(o=e.getIndexWithinParent(),e=r):t||n!==e.getChildrenSize()||(o=e.getIndexWithinParent()+1,e=r)),e.getChildAtIndex(t?o-1:o)}function Ue(e,t){var n=e.offset;return"element"===e.type?Ye(e=e.getNode(),t,n):(e=e.getNode(),t&&0===n||!t&&n===e.getTextContentSize()?null===(n=t?e.getPreviousSibling():e.getNextSibling())?Ye(e.getParentOrThrow(),t,e.getIndexWithinParent()+(t?0:1)):n:null)}function Ke(e){return"insertFromPaste"===(e=(e=Je(e).event)&&e.inputType)||"insertFromPasteAsQuotation"===e}function Ve(e){return!Or(e)&&!e.isLastChild()&&!e.isInline()}function qe(e,t){return void 0===(e=e._keyToDOMMap.get(t))&&D(75,t),e}function Qe(e){return null!==(e=e.assignedSlot||e.parentElement)&&11===e.nodeType?e.host:e}function Xe(e,t){for(e=e.getParent();null!==e;){if(e.is(t))return!0;e=e.getParent()}return!1}function Je(e){return null===(e=e._window)&&D(78),e}function Ze(e){for(e=e.getParentOrThrow();null!==e&&!et(e);)e=e.getParentOrThrow();return e}function et(e){return Or(e)||Nr(e)&&e.isShadowRoot()}function tt(e){return Ee(e=e.constructor.clone(e),null),e}function nt(e){var t=vr();let n=e.constructor.getType();return void 0===(t=t._nodes.get(n))&&D(97),null!==(t=t.replace)?((t=t(e))instanceof e.constructor||D(98),t):e}function rt(e,t){!Or(e=e.getParent())||Nr(t)||Tr(t)||D(99)}function ot(e){return(Tr(e)||Nr(e)&&!e.canBeEmpty())&&!e.isInline()}function it(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null,null!==(t=e.parentElement)&&t.removeChild(e)}function at(e){return $?(e||window).getSelection():null}function lt(e,t){let n=e.getChildAtIndex(t);null==n&&(n=e),et(e)&&D(102);let r=e=>{const t=e.getParentOrThrow(),o=et(t),i=e!==n||o?tt(e):e;if(o)return e.insertAfter(i),[e,i,i];const[a,l,s]=r(t);return e=e.getNextSiblings(),s.append(i,...e),[a,l,i]},[o,i]=r(n);return[o,i]}function st(e,t){for(;e!==Pe()&&null!=e;){if(t(e))return e;e=e.getParent()}return null}function ut(e){let t=[],n=[e];for(;0<n.length;){let r=n.pop();void 0===r&&D(112),Nr(r)&&n.unshift(...r.getChildren()),r!==e&&t.push(r)}return t}function ct(e,t,n,r,o,i){for(e=e.getFirstChild();null!==e;){let a=e.__key;e.__parent===t&&(Nr(e)&&ct(e,a,n,r,o,i),n.has(a)||i.delete(a),o.push(a)),e=e.getNextSibling()}}let dt,ft,pt,ht,mt,gt,vt,bt,yt,xt,_t="",St="",Ct="",Et=!1,wt=!1,kt=null;function Rt(e,t){let n=vt.get(e);if(null!==t){let n=Ht(e);n.parentNode===t&&t.removeChild(n)}bt.has(e)||ft._keyToDOMMap.delete(e),Nr(n)&&Tt(e=$t(n,vt),0,e.length-1,null),void 0!==n&&Ge(xt,pt,ht,n,"destroyed")}function Tt(e,t,n,r){for(;t<=n;++t){let n=e[t];void 0!==n&&Rt(n,r)}}function At(e,t){e.setProperty("text-align",t)}function Nt(e,t){var n=dt.theme.indent;if("string"==typeof n){let r=e.classList.contains(n);0<t&&!r?e.classList.add(n):1>t&&r&&e.classList.remove(n)}n=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||"40px",e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${n})`)}function Lt(e,t){e=e.style,0===t?At(e,""):1===t?At(e,"left"):2===t?At(e,"center"):3===t?At(e,"right"):4===t?At(e,"justify"):5===t?At(e,"start"):6===t&&At(e,"end")}function Mt(e,t,n){let r=bt.get(e);void 0===r&&D(60);let o=r.createDOM(dt,ft);var i=ft._keyToDOMMap;if(o["__lexicalKey_"+ft._key]=e,i.set(e,o),Nn(r)?o.setAttribute("data-lexical-text","true"):Tr(r)&&o.setAttribute("data-lexical-decorator","true"),Nr(r)){if(e=r.__indent,i=r.__size,0!==e&&Nt(o,e),0!==i){--i,e=$t(r,bt);var a=St;St="",Ot(e,r,0,i,o,null),Dt(r,o),St=a}0!==(e=r.__format)&&Lt(o,e),r.isInline()||It(null,r,o),Ve(r)&&(_t+="\n\n",Ct+="\n\n")}else i=r.getTextContent(),Tr(r)?(null!==(a=r.decorate(ft,dt))&&Ft(e,a),o.contentEditable="false"):Nn(r)&&(r.isDirectionless()||(St+=i)),_t+=i,Ct+=i;return null!==t&&(null!=n?t.insertBefore(o,n):null!=(n=t.__lexicalLineBreak)?t.insertBefore(o,n):t.appendChild(o)),Ge(xt,pt,ht,r,"created"),o}function Ot(e,t,n,r,o,i){let a=_t;for(_t="";n<=r;++n)Mt(e[n],o,i);Ve(t)&&(_t+="\n\n"),o.__lexicalTextContent=_t,_t=a+_t}function Pt(e,t){return hn(e=t.get(e))||Tr(e)&&e.isInline()}function It(e,t,n){e=null!==e&&(0===e.__size||Pt(e.__last,vt)),t=0===t.__size||Pt(t.__last,bt),e?t||(null!=(t=n.__lexicalLineBreak)&&n.removeChild(t),n.__lexicalLineBreak=null):t&&(t=document.createElement("br"),n.__lexicalLineBreak=t,n.appendChild(t))}function Dt(e,t){var n=t.__lexicalDir;if(t.__lexicalDirTextContent!==St||n!==kt){let i=""===St;if(i)var r=kt;else r=St,r=q.test(r)?"rtl":Q.test(r)?"ltr":null;if(r!==n){let a=t.classList,l=dt.theme;var o=null!==n?l[n]:void 0;let s=null!==r?l[r]:void 0;void 0!==o&&("string"==typeof o&&(o=o.split(" "),o=l[n]=o),a.remove(...o)),null===r||i&&"ltr"===r?t.removeAttribute("dir"):(void 0!==s&&("string"==typeof s&&(n=s.split(" "),s=l[r]=n),void 0!==s&&a.add(...s)),t.dir=r),wt||(e.getWritable().__dir=r)}kt=r,t.__lexicalDirTextContent=St,t.__lexicalDir=r}}function $t(e,t){let n=[];for(e=e.__first;null!==e;){let r=t.get(e);void 0===r&&D(101),n.push(e),e=r.__next}return n}function zt(e,t){var n=vt.get(e),r=bt.get(e);void 0!==n&&void 0!==r||D(61);var o=Et||gt.has(e)||mt.has(e);let i=qe(ft,e);if(n===r&&!o)return Nr(n)?(void 0!==(r=i.__lexicalTextContent)&&(_t+=r,Ct+=r),void 0!==(r=i.__lexicalDirTextContent)&&(St+=r)):(r=n.getTextContent(),Nn(n)&&!n.isDirectionless()&&(St+=r),Ct+=r,_t+=r),i;if(n!==r&&o&&Ge(xt,pt,ht,r,"updated"),r.updateDOM(n,i,dt))return r=Mt(e,null,null),null===t&&D(62),t.replaceChild(r,i),Rt(e,null),r;if(Nr(n)&&Nr(r)){if((e=r.__indent)!==n.__indent&&Nt(i,e),(e=r.__format)!==n.__format&&Lt(i,e),o){e=r,o=St,St="",t=_t;var a=n.__size,l=e.__size;if(_t="",1===a&&1===l){var s=n.__first,u=e.__first;if(s===u)zt(s,i);else{var c=Ht(s);u=Mt(u,null,null),i.replaceChild(u,c),Rt(s,null)}}else{u=$t(n,vt);var d=$t(e,bt);if(0===a)0!==l&&Ot(d,e,0,l-1,i,null);else if(0===l)0!==a&&(Tt(u,0,a-1,(s=null==i.__lexicalLineBreak)?null:i),s&&(i.textContent=""));else{var f=u;u=d,d=a-1,a=l-1;let t=i.firstChild,n=0;for(l=0;n<=d&&l<=a;){var p=f[n];let e=u[l];if(p===e)t=Bt(zt(e,i)),n++,l++;else{void 0===s&&(s=new Set(f)),void 0===c&&(c=new Set(u));let r=c.has(p),o=s.has(e);r?(o?((p=qe(ft,e))===t?t=Bt(zt(e,i)):(null!=t?i.insertBefore(p,t):i.appendChild(p),zt(e,i)),n++):Mt(e,i,t),l++):(t=Bt(Ht(p)),Rt(p,i),n++)}}c=l>a,(s=n>d)&&!c?Ot(u,e,l,a,i,s=void 0===(s=u[a+1])?null:ft.getElementByKey(s)):c&&!s&&Tt(f,n,d,i)}}Ve(e)&&(_t+="\n\n"),i.__lexicalTextContent=_t,_t=t+_t,Dt(e,i),St=o,Or(r)||r.isInline()||It(n,r,i)}Ve(r)&&(_t+="\n\n",Ct+="\n\n")}else n=r.getTextContent(),Tr(r)?null!==(o=r.decorate(ft,dt))&&Ft(e,o):Nn(r)&&!r.isDirectionless()&&(St+=n),_t+=n,Ct+=n;return!wt&&Or(r)&&r.__cachedText!==Ct&&((r=r.getWritable()).__cachedText=Ct),i}function Ft(e,t){let n=ft._pendingDecorators,r=ft._decorators;if(null===n){if(r[e]===t)return;n=Me(ft)}n[e]=t}function Bt(e){return null!==(e=e.nextSibling)&&e===ft._blockCursorElement&&(e=e.nextSibling),e}function Ht(e){let t=yt.get(e);return void 0===t&&D(75,e),t}let jt=Object.freeze({}),Wt=[["keydown",function(e,t){if(Gt=e.timeStamp,Yt=e.keyCode,!t.isComposing()){var{keyCode:o,shiftKey:i,ctrlKey:a,metaKey:l,altKey:k}=e;if(!Cr(t,p,e)){if(39!==o||a||l||k)if(39!==o||k||i||!a&&!l)if(37!==o||a||l||k)if(37!==o||k||i||!a&&!l)if(38!==o||a||l)if(40!==o||a||l)if(13===o&&i)Xt=!0,Cr(t,x,e);else if(32===o)Cr(t,_,e);else if(F&&a&&79===o)e.preventDefault(),Xt=!0,Cr(t,r,!0);else if(13!==o||i)if(F?k||l||!(8===o||72===o&&a):a||k||l||8!==o)if(27===o)Cr(t,C,e);else if(F?i||k||l||!(46===o||68===o&&a):a||k||l||46!==o)if(8===o&&(F?k:a))e.preventDefault(),Cr(t,s,!0);else if(46===o&&(F?k:a))e.preventDefault(),Cr(t,s,!1);else if(F&&l&&8===o)e.preventDefault(),Cr(t,u,!0);else if(F&&l&&46===o)e.preventDefault(),Cr(t,u,!1);else if(66===o&&!k&&(F?l:a))e.preventDefault(),Cr(t,c,"bold");else if(85===o&&!k&&(F?l:a))e.preventDefault(),Cr(t,c,"underline");else if(73===o&&!k&&(F?l:a))e.preventDefault(),Cr(t,c,"italic");else if(9!==o||k||a||l)if(90===o&&!i&&(F?l:a))e.preventDefault(),Cr(t,d,void 0);else{var R=F?90===o&&l&&i:89===o&&a||90===o&&a&&i;R?(e.preventDefault(),Cr(t,f,void 0)):Wn(t._editorState._selection)?(R=!i&&(67===o&&(F?l:a)))?(e.preventDefault(),Cr(t,L,e)):(R=!i&&(88===o&&(F?l:a)))?(e.preventDefault(),Cr(t,M,e)):65===o&&(F?l:a)&&(e.preventDefault(),t.update((()=>{je()}))):!B&&65===o&&(F?l:a)&&(e.preventDefault(),t.update((()=>{je()})))}else Cr(t,w,e);else 46===o?Cr(t,E,e):(e.preventDefault(),Cr(t,n,!1));else 8===o?Cr(t,S,e):(e.preventDefault(),Cr(t,n,!0));else Xt=!1,Cr(t,x,e);else Cr(t,y,e);else Cr(t,b,e);else Cr(t,v,e);else Cr(t,g,e);else Cr(t,m,e);else Cr(t,h,e);(a||i||k||l)&&Cr(t,I,e)}}}],["pointerdown",function(e,t){let n=e.target;e=e.pointerType,n instanceof Node&&"touch"!==e&&kr(t,(()=>{Tr(Le(n))||(Qt=!0)}))}],["compositionstart",function(e,t){kr(t,(()=>{let n=tr();if(Fn(n)&&!t.isComposing()){let r=n.anchor,o=n.anchor.getNode();Re(r.key),(e.timeStamp<Gt+30||"element"===r.type||!n.isCollapsed()||o.getFormat()!==n.format||o.getStyle()!==n.style)&&Cr(t,i,V)}}))}],["compositionend",function(e,t){B?Jt=!0:kr(t,(()=>{on(t,e.data)}))}],["input",function(e,t){e.stopPropagation(),kr(t,(()=>{var n=tr(),r=e.data,o=rn(e);if(null!=r&&Fn(n)&&en(n,o,r,e.timeStamp,!1)){Jt&&(on(t,r),Jt=!1);var a=n.anchor,l=a.getNode();if(null===(o=at(t._window)))return;let s=a.offset;(a=H&&!n.isCollapsed()&&Nn(l)&&null!==o.anchorNode)&&(a=(l=l.getTextContent().slice(0,s)+r+l.getTextContent().slice(s+n.focus.offset))===(3===(o=o.anchorNode).nodeType?o.nodeValue:null)),a||Cr(t,i,r),r=r.length,B&&1<r&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=r),j||W||U||!t.isComposing()||(Gt=0,Re(null))}else Be(!1,t,null!==r?r:void 0),Jt&&(on(t,r||void 0),Jt=!1);mr(),se(n=vr())})),Kt=null}],["click",function(e,n){kr(n,(()=>{let r=tr();var o=at(n._window);let i=nr();if(o)if(Fn(r)){let t=r.anchor;var a=t.getNode();"element"===t.type&&0===t.offset&&r.isCollapsed()&&!Or(a)&&1===Pe().getChildrenSize()&&a.getTopLevelElementOrThrow().isEmpty()&&null!==i&&r.is(i)?(o.removeAllRanges(),r.dirty=!0):3!==e.detail||r.isCollapsed()||a!==(o=r.focus.getNode())&&(Nr(a)?a.select(0):a.getParentOrThrow().select(0))}else"touch"===e.pointerType&&(null!==(a=o.anchorNode)&&(1===(a=a.nodeType)||3===a))&&Ie(o=er(i,o,n));Cr(n,t,e)}))}],["cut",jt],["copy",jt],["dragstart",jt],["dragover",jt],["dragend",jt],["paste",jt],["focus",jt],["blur",jt],["drop",jt]];H&&Wt.push(["beforeinput",(e,t)=>function(e,t){let p=e.inputType,h=rn(e);"deleteCompositionText"===p||B&&Ke(t)||"insertCompositionText"!==p&&kr(t,(()=>{let m=tr();if("deleteContentBackward"===p){if(null===m){var g=nr();if(!Fn(g))return;Ie(g.clone())}if(Fn(m))return void(229===Yt&&e.timeStamp<Gt+30&&t.isComposing()&&m.anchor.key===m.focus.key?(Re(null),Gt=0,setTimeout((()=>{kr(t,(()=>{Re(null)}))}),30),Fn(m)&&(g=m.anchor.getNode(),g.markDirty(),m.format=g.getFormat(),m.style=g.getStyle())):(e.preventDefault(),Cr(t,n,!0)))}if(Fn(m)){g=e.data,null!==Kt&&Be(!1,t,Kt),m.dirty&&null===Kt||!m.isCollapsed()||Or(m.anchor.getNode())||null===h||m.applyDOMRange(h),Kt=null;var v=m.focus,b=m.anchor.getNode();if(v=v.getNode(),"insertText"===p||"insertTranspose"===p)"\n"===g?(e.preventDefault(),Cr(t,r,!1)):"\n\n"===g?(e.preventDefault(),Cr(t,o,void 0)):null==g&&e.dataTransfer?(g=e.dataTransfer.getData("text/plain"),e.preventDefault(),m.insertRawText(g)):null!=g&&en(m,h,g,e.timeStamp,!0)?(e.preventDefault(),Cr(t,i,g)):Kt=g,Ut=e.timeStamp;else switch(e.preventDefault(),p){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":Cr(t,i,e);break;case"insertFromComposition":Re(null),Cr(t,i,e);break;case"insertLineBreak":Re(null),Cr(t,r,!1);break;case"insertParagraph":Re(null),Xt&&!W?(Xt=!1,Cr(t,r,!1)):Cr(t,o,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":Cr(t,a,e);break;case"deleteByComposition":(function(e,t){return e!==t||Nr(e)||Nr(t)||!e.isToken()||!t.isToken()})(b,v)&&Cr(t,l,e);break;case"deleteByDrag":case"deleteByCut":Cr(t,l,e);break;case"deleteContent":Cr(t,n,!1);break;case"deleteWordBackward":Cr(t,s,!0);break;case"deleteWordForward":Cr(t,s,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":Cr(t,u,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":Cr(t,u,!1);break;case"formatStrikeThrough":Cr(t,c,"strikethrough");break;case"formatBold":Cr(t,c,"bold");break;case"formatItalic":Cr(t,c,"italic");break;case"formatUnderline":Cr(t,c,"underline");break;case"historyUndo":Cr(t,d,void 0);break;case"historyRedo":Cr(t,f,void 0)}}}))}(e,t)]);let Gt=0,Yt=0,Ut=0,Kt=null,Vt=0,qt=!1,Qt=!1,Xt=!1,Jt=!1,Zt=[0,"",0,"root",0];function en(e,t,n,r,o){let i=e.anchor,a=e.focus,l=i.getNode();var s=vr();let u=at(s._window),c=null!==u?u.anchorNode:null,d=i.key;s=s.getElementByKey(d);let f=n.length;return d!==a.key||!Nn(l)||(!o&&(!H||Ut<r+50)||l.isDirty()&&2>f||$e(n))&&i.offset!==a.offset&&!l.isComposing()||xe(l)||l.isDirty()&&1<f||(o||!H)&&null!==s&&!l.isComposing()&&c!==_e(s)||null!==u&&null!==t&&(!t.collapsed||t.startContainer!==u.anchorNode||t.startOffset!==u.anchorOffset)||l.getFormat()!==e.format||l.getStyle()!==e.style||function(e,t){if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;e=e.anchor.offset;let n=t.getParentOrThrow(),r=t.isToken();return 0===e?((e=!t.canInsertTextBefore()||!n.canInsertTextBefore()||r)||(e=(Nn(t=t.getPreviousSibling())||Nr(t)&&t.isInline())&&!t.canInsertTextAfter()),e):e===t.getTextContentSize()&&(!t.canInsertTextAfter()||!n.canInsertTextAfter()||r)}(e,l)}function tn(e,t){return null!==e&&null!==e.nodeValue&&3===e.nodeType&&0!==t&&t!==e.nodeValue.length}function nn(t,n,r){let{anchorNode:o,anchorOffset:i,focusNode:a,focusOffset:l}=t;qt&&(qt=!1,tn(o,i)&&tn(a,l))||kr(n,(()=>{if(r){if(be(n,o,a)){var i=tr();if(Fn(i)){var l=i.anchor,s=l.getNode();if(i.isCollapsed()){"Range"===t.type&&t.anchorNode===t.focusNode&&(i.dirty=!0);var u=Je(n).event;u=u?u.timeStamp:performance.now();let[e,r,o,a,c]=Zt;u<c+200&&l.offset===o&&l.key===a?(i.format=e,i.style=r):"text"===l.type?(i.format=s.getFormat(),i.style=s.getStyle()):"element"===l.type&&(i.format=0,i.style="")}else{l=255,s=!1;let e=(u=i.getNodes()).length;for(let t=0;t<e;t++){let e=u[t];if(Nn(e)&&(s=!0,0===(l&=e.getFormat())))break}i.format=s?l:0}}Cr(n,e,void 0)}}else Ie(null)}))}function rn(e){return e.getTargetRanges?0===(e=e.getTargetRanges()).length?null:e[0]:null}function on(e,t){var n=e._compositionKey;if(Re(null),null!==n&&null!=t){if(""===t)return t=Ae(n),void(null!==(e=_e(e.getElementByKey(n)))&&null!==e.nodeValue&&Nn(t)&&He(t,e.nodeValue,null,null,!0));if("\n"===t[t.length-1]&&Fn(n=tr()))return t=n.focus,n.anchor.set(t.key,t.offset,t.type),void Cr(e,x,null)}Be(!0,e,t)}function an(e){let t=e.__lexicalEventHandles;return void 0===t&&(t=[],e.__lexicalEventHandles=t),t}let ln=new Map;function sn(e){let t=at(null==(e=e.target)?null:9===e.nodeType?e.defaultView:e.ownerDocument.defaultView);if(null!==t){var n=ye(t.anchorNode);if(null!==n){Qt&&(Qt=!1,kr(n,(()=>{var e=nr(),r=t.anchorNode;null!==r&&(1===(r=r.nodeType)||3===r)&&Ie(e=er(e,t,n))})));var r=(e=(e=ze(n))[e.length-1])._key,o=ln.get(r),i=o||e;i!==n&&nn(t,i,!1),nn(t,n,!0),n!==e?ln.set(r,n):o&&ln.delete(r)}}}function un(e,t,n){mr();var r=e.__key;let o=e.getParent();if(null!==o){var i=tr();if(Fn(i)&&Nr(e)){var{anchor:a,focus:l}=i,s=a.getNode(),u=l.getNode();Xe(s,e)&&a.set(e.__key,0,"element"),Xe(u,e)&&l.set(e.__key,0,"element")}if(u=!1,Fn(s=i)&&t){i=s.anchor;let t=s.focus;i.key===r&&(ir(i,e,o,e.getPreviousSibling(),e.getNextSibling()),u=!0),t.key===r&&(ir(t,e,o,e.getPreviousSibling(),e.getNextSibling()),u=!0)}else Wn(s)&&t&&e.isSelected()&&e.selectPrevious();Fn(s)&&t&&!u?(r=e.getIndexWithinParent(),we(e),rr(s,o,r,-1)):we(e),n||et(o)||o.canBeEmpty()||!o.isEmpty()||un(o,t),t&&Or(o)&&o.isEmpty()&&o.selectEnd()}}class cn{static getType(){D(64,this.name)}static clone(){D(65,this.name)}constructor(e){this.__type=this.constructor.getType(),this.__next=this.__prev=this.__parent=null,Ee(this,e)}getType(){return this.__type}isAttached(){for(var e=this.__key;null!==e;){if("root"===e)return!0;if(null===(e=Ae(e)))break;e=e.__parent}return!1}isSelected(e){if(null==(e=e||tr()))return!1;let t=e.getNodes().some((e=>e.__key===this.__key));return(Nn(this)||!Fn(e)||"element"!==e.anchor.type||"element"!==e.focus.type||e.anchor.key!==e.focus.key||e.anchor.offset!==e.focus.offset)&&t}getKey(){return this.__key}getIndexWithinParent(){var e=this.getParent();if(null===e)return-1;e=e.getFirstChild();let t=0;for(;null!==e;){if(this.is(e))return t;t++,e=e.getNextSibling()}return-1}getParent(){let e=this.getLatest().__parent;return null===e?null:Ae(e)}getParentOrThrow(){let e=this.getParent();return null===e&&D(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){let t=e.getParent();if(et(t))return e;e=t}return null}getTopLevelElementOrThrow(){let e=this.getTopLevelElement();return null===e&&D(67,this.__key),e}getParents(){let e=[],t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){let e=[],t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){let e=this.getLatest().__prev;return null===e?null:Ae(e)}getPreviousSiblings(){let e=[];var t=this.getParent();if(null===t)return e;for(t=t.getFirstChild();null!==t&&!t.is(this);)e.push(t),t=t.getNextSibling();return e}getNextSibling(){let e=this.getLatest().__next;return null===e?null:Ae(e)}getNextSiblings(){let e=[],t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){let t=this.getParents();var n=e.getParents();Nr(this)&&t.unshift(this),Nr(e)&&n.unshift(e),e=t.length;var r=n.length;if(0===e||0===r||t[e-1]!==n[r-1])return null;for(n=new Set(n),r=0;r<e;r++){let e=t[r];if(n.has(e))return e}return null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){if(this===e)return!1;if(e.isParentOf(this))return!0;if(this.isParentOf(e))return!1;var t=this.getCommonAncestor(e);let n=this;for(;;){var r=n.getParentOrThrow();if(r===t){r=n.getIndexWithinParent();break}n=r}for(n=e;;){if((e=n.getParentOrThrow())===t){t=n.getIndexWithinParent();break}n=e}return r<t}isParentOf(e){let t=this.__key;if(t===e.__key)return!1;for(;null!==e;){if(e.__key===t)return!0;e=e.getParent()}return!1}getNodesBetween(e){let t=this.isBefore(e),n=[],r=new Set;for(var o=this;;){var i=o.__key;if(r.has(i)||(r.add(i),n.push(o)),o===e)break;if(null!==(i=Nr(o)?t?o.getFirstChild():o.getLastChild():null))o=i;else if(null!==(i=t?o.getNextSibling():o.getPreviousSibling()))o=i;else{if(o=o.getParentOrThrow(),r.has(o.__key)||n.push(o),o===e)break;i=o;do{null===i&&D(68),o=t?i.getNextSibling():i.getPreviousSibling(),null!==(i=i.getParent())&&(null!==o||r.has(i.__key)||n.push(i))}while(null===o)}}return t||n.reverse(),n}isDirty(){let e=vr()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){let e=Ae(this.__key);return null===e&&D(113),e}getWritable(){mr();var e=gr(),t=vr();e=e._nodeMap;let n=this.__key,r=this.getLatest(),o=r.__parent;t=t._cloneNotNeeded;var i=tr();return null!==i&&(i._cachedNodes=null),t.has(n)?(ke(r),r):((i=r.constructor.clone(r)).__parent=o,i.__next=r.__next,i.__prev=r.__prev,Nr(r)&&Nr(i)?(i.__first=r.__first,i.__last=r.__last,i.__size=r.__size,i.__indent=r.__indent,i.__format=r.__format,i.__dir=r.__dir):Nn(r)&&Nn(i)&&(i.__format=r.__format,i.__style=r.__style,i.__mode=r.__mode,i.__detail=r.__detail),t.add(n),i.__key=n,ke(i),e.set(n,i),i)}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(){D(70)}updateDOM(){D(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){D(72)}static importJSON(){D(18,this.name)}static transform(){return null}remove(e){un(this,!0,e)}replace(e,t){mr();var n=tr();null!==n&&(n=n.clone()),rt(this,e);let r=this.getLatest(),o=this.__key,i=e.__key,a=e.getWritable(),l=(e=this.getParentOrThrow().getWritable()).__size;we(a);let s=r.getPreviousSibling(),u=r.getNextSibling(),c=r.__prev,d=r.__next,f=r.__parent;return un(r,!1,!0),null===s?e.__first=i:s.getWritable().__next=i,a.__prev=c,null===u?e.__last=i:u.getWritable().__prev=i,a.__next=d,a.__parent=f,e.__size=l,t&&this.getChildren().forEach((e=>{a.append(e)})),Fn(n)&&(Ie(n),t=n.anchor,n=n.focus,t.key===o&&In(t,a),n.key===o&&In(n,a)),Te()===o&&Re(i),a}insertAfter(e,t=!0){mr(),rt(this,e);var n=this.getWritable();let r=e.getWritable();var o=r.getParent();let i=tr();var a=!1,l=!1;if(null!==o){var s=e.getIndexWithinParent();we(r),Fn(i)&&(l=o.__key,a=i.anchor,o=i.focus,a="element"===a.type&&a.key===l&&a.offset===s+1,l="element"===o.type&&o.key===l&&o.offset===s+1)}o=this.getNextSibling(),s=this.getParentOrThrow().getWritable();let u=r.__key,c=n.__next;return null===o?s.__last=u:o.getWritable().__prev=u,s.__size++,n.__next=u,r.__next=c,r.__prev=n.__key,r.__parent=n.__parent,t&&Fn(i)&&(rr(i,s,(t=this.getIndexWithinParent())+1),n=s.__key,a&&i.anchor.set(n,t+2,"element"),l&&i.focus.set(n,t+2,"element")),e}insertBefore(e,t=!0){mr(),rt(this,e);var n=this.getWritable();let r=e.getWritable(),o=r.__key;we(r);let i=this.getPreviousSibling(),a=this.getParentOrThrow().getWritable(),l=n.__prev,s=this.getIndexWithinParent();return null===i?a.__first=o:i.getWritable().__next=o,a.__size++,n.__prev=o,r.__prev=l,r.__next=n.__key,r.__parent=n.__parent,n=tr(),t&&Fn(n)&&rr(n,t=this.getParentOrThrow(),s),e}isParentRequired(){return!1}createParentElementNode(){return Fr()}selectPrevious(e,t){mr();let n=this.getPreviousSibling(),r=this.getParentOrThrow();return null===n?r.select(0,0):Nr(n)?n.select():Nn(n)?n.select(e,t):(e=n.getIndexWithinParent()+1,r.select(e,e))}selectNext(e,t){mr();let n=this.getNextSibling(),r=this.getParentOrThrow();return null===n?r.select():Nr(n)?n.select(0,0):Nn(n)?n.select(e,t):(e=n.getIndexWithinParent(),r.select(e,e))}markDirty(){this.getWritable()}}class dn extends cn{static getType(){return"linebreak"}static clone(e){return new dn(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>{let t,n,r=e.parentElement;return null!==r&&((t=r.firstChild)===e||t.nextSibling===e&&3===t.nodeType&&null!==(t.textContent||"").match(/^[\s|\r?\n|\t]+$/))&&((n=r.lastChild)===e||n.previousSibling===e&&3===n.nodeType&&null!==(n.textContent||"").match(/^[\s|\r?\n|\t]+$/))?null:{conversion:fn,priority:0}}}}static importJSON(){return pn()}exportJSON(){return{type:"linebreak",version:1}}}function fn(){return{node:pn()}}function pn(){return nt(new dn)}function hn(e){return e instanceof dn}function mn(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function gn(e,t){return 1&t?"strong":2&t?"em":"span"}function vn(e,t,n,r,o){e=r.classList,void 0!==(r=We(o,"base"))&&e.add(...r);let i=!1,a=8&t&&4&t;var l=8&n&&4&n;void 0!==(r=We(o,"underlineStrikethrough"))&&(l?(i=!0,a||e.add(...r)):a&&e.remove(...r));for(let s in X)l=X[s],void 0!==(r=We(o,s))&&(n&l&&(!i||"underline"!==s&&"strikethrough"!==s)?(!(t&l)||a&&"underline"===s||"strikethrough"===s)&&e.add(...r):t&l&&e.remove(...r))}function bn(e,t,n){let r=t.firstChild;if(e+=(n=n.isComposing())?K:"",null==r)t.textContent=e;else if((t=r.nodeValue)!==e)if(n||B){n=t.length;let o=e.length,i=0,a=0;for(;i<n&&i<o&&t[i]===e[i];)i++;for(;a+i<n&&a+i<o&&t[n-a-1]===e[o-a-1];)a++;e=[i,n-i-a,e.slice(i,o-a)];let[l,s,u]=e;0!==s&&r.deleteData(l,s),r.insertData(l,u)}else r.nodeValue=e}function yn(e,t){return(t=document.createElement(t)).appendChild(e),t}class xn extends cn{static getType(){return"text"}static clone(e){return new xn(e.__text,e.__key)}constructor(e,t){super(t),this.__text=e,this.__format=0,this.__style="",this.__detail=this.__mode=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){let e=this.getLatest();return ne[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===Te()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){return e=X[e],!!(this.getFormat()&e)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return Se(this.getLatest().__format,e,t)}createDOM(e){var t=this.__format,n=mn(0,t);let r=gn(0,t),o=document.createElement(null===n?r:n),i=o;return null!==n&&(i=document.createElement(r),o.appendChild(i)),n=i,bn(this.__text,n,this),void 0!==(e=e.theme.text)&&vn(r,0,t,n,e),""!==(t=this.__style)&&(o.style.cssText=t),o}updateDOM(e,t,n){let r=this.__text;var o=e.__format,i=this.__format,a=mn(0,o);let l=mn(0,i);var s=gn(0,o);let u=gn(0,i);return(null===a?s:a)!==(null===l?u:l)||(a===l&&s!==u?(null==(o=t.firstChild)&&D(48),bn(r,e=a=document.createElement(u),this),void 0!==(n=n.theme.text)&&vn(u,0,i,e,n),t.replaceChild(a,o),!1):(s=t,null!==l&&null!==a&&(null==(s=t.firstChild)&&D(49)),bn(r,s,this),void 0!==(n=n.theme.text)&&o!==i&&vn(u,o,i,s,n),i=this.__style,e.__style!==i&&(t.style.cssText=i),!1))}static importDOM(){return{"#text":()=>({conversion:En,priority:0}),b:()=>({conversion:Sn,priority:0}),code:()=>({conversion:Tn,priority:0}),em:()=>({conversion:Tn,priority:0}),i:()=>({conversion:Tn,priority:0}),s:()=>({conversion:Tn,priority:0}),span:()=>({conversion:_n,priority:0}),strong:()=>({conversion:Tn,priority:0}),sub:()=>({conversion:Tn,priority:0}),sup:()=>({conversion:Tn,priority:0}),u:()=>({conversion:Tn,priority:0})}}static importJSON(e){let t=An(e.text);return t.setFormat(e.format),t.setDetail(e.detail),t.setMode(e.mode),t.setStyle(e.style),t}exportDOM(e){return({element:e}=super.exportDOM(e)),null!==e&&(this.hasFormat("bold")&&(e=yn(e,"b")),this.hasFormat("italic")&&(e=yn(e,"i")),this.hasFormat("strikethrough")&&(e=yn(e,"s")),this.hasFormat("underline")&&(e=yn(e,"u"))),{element:e}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),type:"text",version:1}}selectionTransform(){}setFormat(e){let t=this.getWritable();return t.__format="string"==typeof e?X[e]:e,t}setDetail(e){let t=this.getWritable();return t.__detail="string"==typeof e?J[e]:e,t}setStyle(e){let t=this.getWritable();return t.__style=e,t}toggleFormat(e){return e=X[e],this.setFormat(this.getFormat()^e)}toggleDirectionless(){let e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){let e=this.getWritable();return e.__detail^=2,e}setMode(e){if(e=te[e],this.__mode===e)return this;let t=this.getWritable();return t.__mode=e,t}setTextContent(e){if(this.__text===e)return this;let t=this.getWritable();return t.__text=e,t}select(e,t){mr();let n=tr();var r=this.getTextContent();let o=this.__key;return"string"==typeof r?(r=r.length,void 0===e&&(e=r),void 0===t&&(t=r)):t=e=0,Fn(n)?((r=Te())!==n.anchor.key&&r!==n.focus.key||Re(o),n.setTextNodeRange(this,e,this,t),n):Jn(o,e,o,t,"text","text")}spliceText(e,t,n,r){let o=this.getWritable(),i=o.__text,a=n.length,l=e;0>l&&(l=a+l,0>l&&(l=0));let s=tr();return r&&Fn(s)&&(e+=a,s.setTextNodeRange(o,e,o,e)),t=i.slice(0,l)+n+i.slice(l+t),o.__text=t,o}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){mr();var t=this.getLatest(),n=t.getTextContent(),r=t.__key,o=Te(),i=new Set(e);e=[];for(var a=n.length,l="",s=0;s<a;s++)""!==l&&i.has(s)&&(e.push(l),l=""),l+=n[s];if(""!==l&&e.push(l),0===(i=e.length))return[];if(e[0]===n)return[t];var u=e[0];n=t.getParentOrThrow(),s=t.getFormat();let c=t.getStyle(),d=t.__detail;a=!1,t.isSegmented()?((l=An(u)).__format=s,l.__style=c,l.__detail=d,a=!0):(l=t.getWritable()).__text=u,t=tr(),l=[l],u=u.length;for(let n=1;n<i;n++){var f=e[n],p=f.length;(f=An(f).getWritable()).__format=s,f.__style=c,f.__detail=d;let i=f.__key;if(p=u+p,Fn(t)){let e=t.anchor,n=t.focus;e.key===r&&"text"===e.type&&e.offset>u&&e.offset<=p&&(e.key=i,e.offset-=u,t.dirty=!0),n.key===r&&"text"===n.type&&n.offset>u&&n.offset<=p&&(n.key=i,n.offset-=u,t.dirty=!0)}o===r&&Re(i),u=p,l.push(f)}return r=this.getPreviousSibling(),o=this.getNextSibling(),null!==r&&ke(r),null!==o&&ke(o),r=n.getWritable(),o=this.getIndexWithinParent(),a?(r.splice(o,0,l),this.remove()):r.splice(o,1,l),Fn(t)&&rr(t,n,o,i-1),l}mergeWithSibling(e){var t=e===this.getPreviousSibling();t||e===this.getNextSibling()||D(50);var n=this.__key;let r=e.__key,o=this.__text,i=o.length;Te()===r&&Re(n);let a=tr();if(Fn(a)){let o=a.anchor,l=a.focus;null!==o&&o.key===r&&(ar(o,t,n,e,i),a.dirty=!0),null!==l&&l.key===r&&(ar(l,t,n,e,i),a.dirty=!0)}return n=e.__text,this.setTextContent(t?n+o:o+n),t=this.getWritable(),e.remove(),t}isTextEntity(){return!1}}function _n(e){let t="700"===e.style.fontWeight,n="line-through"===e.style.textDecoration,r="italic"===e.style.fontStyle,o="underline"===e.style.textDecoration,i=e.style.verticalAlign;return{forChild:e=>Nn(e)?(t&&e.toggleFormat("bold"),n&&e.toggleFormat("strikethrough"),r&&e.toggleFormat("italic"),o&&e.toggleFormat("underline"),"sub"===i&&e.toggleFormat("subscript"),"super"===i&&e.toggleFormat("superscript"),e):e,node:null}}function Sn(e){let t="normal"===e.style.fontWeight;return{forChild:e=>(Nn(e)&&!t&&e.toggleFormat("bold"),e),node:null}}let Cn=new WeakMap;function En(e){null===e.parentElement&&D(129);for(var t,n=e.textContent||"",r=e.parentNode,o=[e];null!==r&&void 0===(t=Cn.get(r))&&!("PRE"===r.nodeName||1===r.nodeType&&r.style.whiteSpace.startsWith("pre"));)o.push(r),r=r.parentNode;for(t=void 0===t?r:t,r=0;r<o.length;r++)Cn.set(o[r],t);if(null!==t){for(e=[],o=(n=n.split(/(\r?\n|\t)/)).length,t=0;t<o;t++)"\n"===(r=n[t])||"\r\n"===r?e.push(pn()):"\t"===r?e.push(Mn()):""!==r&&e.push(An(r));return{node:e}}if(""===(n=n.replace(/\r?\n|\t/gm," ").replace("\r","").replace(/\s+/g," ")))return{node:null};if(" "===n[0]){for(o=e,t=!0;null!==o&&null!==(o=kn(o,!1));)if(0<(r=o.textContent||"").length){r.match(/(?:\s|\r?\n|\t)$/)&&(n=n.slice(1)),t=!1;break}t&&(n=n.slice(1))}if(" "===n[n.length-1]){for(o=!0;null!==e&&null!==(e=kn(e,!0));)if(0<(e.textContent||"").replace(/^[\s|\r?\n|\t]+/,"").length){o=!1;break}o&&(n=n.slice(0,n.length-1))}return""===n?{node:null}:{node:An(n)}}let wn=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/,"i");function kn(e,t){for(;;){for(var n=void 0;null===(n=t?e.nextSibling:e.previousSibling);)if(null===(e=e.parentElement))return null;if(1===(e=n).nodeType&&(""===(n=e.style.display)&&null===e.nodeName.match(wn)||""!==n&&!n.startsWith("inline")))return null;for(;null!==(n=t?e.firstChild:e.lastChild);)e=n;if(3===e.nodeType)return e;if("BR"===e.nodeName)return null}}let Rn={code:"code",em:"italic",i:"italic",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function Tn(e){let t=Rn[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:e=>(Nn(e)&&!e.hasFormat(t)&&e.toggleFormat(t),e),node:null}}function An(e=""){return nt(new xn(e))}function Nn(e){return e instanceof xn}class Ln extends xn{static getType(){return"tab"}static clone(e){let t=new Ln(e.__key);return t.__text=e.__text,t.__format=e.__format,t.__style=e.__style,t}constructor(e){super("\t",e),this.__detail=2}static importDOM(){return null}static importJSON(e){let t=Mn();return t.setFormat(e.format),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),type:"tab",version:1}}setTextContent(){D(126)}setDetail(){D(127)}setMode(){D(128)}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function Mn(){return nt(new Ln)}class On{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){let t=this.getNode(),n=e.getNode(),r=this.offset;if(e=e.offset,Nr(t)){var o=t.getDescendantByIndex(r);t=null!=o?o:t}return Nr(n)&&(o=n.getDescendantByIndex(e),n=null!=o?o:n),t===n?r<e:t.isBefore(n)}getNode(){let e=Ae(this.key);return null===e&&D(20),e}set(e,t,n){let r=this._selection,o=this.key;this.key=e,this.offset=t,this.type=n,hr()||(Te()===o&&Re(e),null!==r&&(r._cachedNodes=null,r.dirty=!0))}}function Pn(e,t){let n=t.__key,r=e.offset,o="element";if(Nn(t))o="text",r>(t=t.getTextContentSize())&&(r=t);else if(!Nr(t)){var i=t.getNextSibling();Nn(i)?(n=i.__key,r=0,o="text"):(i=t.getParent())&&(n=i.__key,r=t.getIndexWithinParent()+1)}e.set(n,r,o)}function In(e,t){if(Nr(t)){let n=t.getLastDescendant();Nr(n)||Nn(n)?Pn(e,n):Pn(e,t)}else Pn(e,t)}function Dn(e,t,n,r){let o=e.getNode(),i=o.getChildAtIndex(e.offset),a=An(),l=Or(o)?Fr().append(a):a;a.setFormat(n),a.setStyle(r),null===i?o.append(l):(i.insertBefore(l),"element"===t.type&&t.key===e.key&&t.offset!==e.offset&&t.set(t.key,t.offset+1,"element")),e.is(t)&&t.set(a.__key,0,"text"),e.set(a.__key,0,"text")}function $n(e,t,n,r){e.key=t,e.offset=n,e.type=r}class zn{constructor(e){this.dirty=!1,this._nodes=e,this._cachedNodes=null}is(e){if(!Wn(e))return!1;let t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every((e=>n.has(e)))}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new zn(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(){}insertText(){}insertNodes(e,t){let n=this.getNodes(),r=n.length;var o=n[r-1];if(Nn(o))o=o.select();else{let e=o.getIndexWithinParent()+1;o=o.getParentOrThrow().select(e,e)}for(o.insertNodes(e,t),e=0;e<r;e++)n[e].remove();return!0}getNodes(){var e=this._cachedNodes;if(null!==e)return e;var t=this._nodes;e=[];for(let n of t)null!==(t=Ae(n))&&e.push(t);return hr()||(this._cachedNodes=e),e}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function Fn(e){return e instanceof jn}class Bn{constructor(e,t,n){this.gridKey=e,this.anchor=t,this.focus=n,this.dirty=!1,this._cachedNodes=null,t._selection=this,n._selection=this}is(e){return!!Hn(e)&&(this.gridKey===e.gridKey&&this.anchor.is(e.anchor)&&this.focus.is(e.focus))}set(e,t,n){this.dirty=!0,this.gridKey=e,this.anchor.key=t,this.focus.key=n,this._cachedNodes=null}clone(){return new Bn(this.gridKey,this.anchor,this.focus)}isCollapsed(){return!1}isBackward(){return this.focus.isBefore(this.anchor)}getCharacterOffsets(){return Yn(this)}extract(){return this.getNodes()}insertRawText(){}insertText(){}insertNodes(e,t){let n=this.focus.getNode();return pe(n.select(0,n.getChildrenSize())).insertNodes(e,t)}getShape(){var e=Ae(this.anchor.key);null===e&&D(21);var t=e.getIndexWithinParent();e=e.getParentOrThrow().getIndexWithinParent();var n=Ae(this.focus.key);null===n&&D(22);var r=n.getIndexWithinParent();let o=n.getParentOrThrow().getIndexWithinParent();return n=Math.min(t,r),t=Math.max(t,r),r=Math.min(e,o),e=Math.max(e,o),{fromX:Math.min(n,t),fromY:Math.min(r,e),toX:Math.max(n,t),toY:Math.max(r,e)}}getNodes(){function e(e){let{cell:t,startColumn:n,startRow:r}=e;l=Math.min(l,n),s=Math.min(s,r),u=Math.max(u,n+t.__colSpan-1),c=Math.max(c,r+t.__rowSpan-1)}var t=this._cachedNodes;if(null!==t)return t;var n=this.anchor.getNode();t=this.focus.getNode(),n=st(n,Wr);var r=st(t,Wr);Wr(n)||D(103),Wr(r)||D(104),Kr(t=n.getParent())||D(105),Yr(t=t.getParent())||D(106);let[o,i,a]=lr(t,n,r),l=Math.min(i.startColumn,a.startColumn),s=Math.min(i.startRow,a.startRow),u=Math.max(i.startColumn+i.cell.__colSpan-1,a.startColumn+a.cell.__colSpan-1),c=Math.max(i.startRow+i.cell.__rowSpan-1,a.startRow+a.cell.__rowSpan-1);n=l,r=s;for(var d=l,f=s;l<n||s<r||u>d||c>f;){if(l<n){var p=f-r;--n;for(var h=0;h<=p;h++)e(o[r+h][n])}if(s<r)for(p=d-n,--r,h=0;h<=p;h++)e(o[r][n+h]);if(u>d)for(p=f-r,d+=1,h=0;h<=p;h++)e(o[r+h][d]);if(c>f)for(p=d-n,f+=1,h=0;h<=p;h++)e(o[f][n+h])}for(t=[t],n=null,r=s;r<=c;r++)for(d=l;d<=u;d++)({cell:f}=o[r][d]),Kr(p=f.getParent())||D(107),p!==n&&t.push(p),t.push(f,...ut(f)),n=p;return hr()||(this._cachedNodes=t),t}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function Hn(e){return e instanceof Bn}class jn{constructor(e,t,n,r){this.anchor=e,this.focus=t,this.dirty=!1,this.format=n,this.style=r,this._cachedNodes=null,e._selection=this,t._selection=this}is(e){return!!Fn(e)&&(this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style)}isBackward(){return this.focus.isBefore(this.anchor)}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){var e=this._cachedNodes;if(null!==e)return e;e=this.anchor;var t=this.focus,n=e.isBefore(t),r=n?e:t;n=n?t:e,e=r.getNode(),t=n.getNode();let o=r.offset;return r=n.offset,Nr(e)&&(n=e.getDescendantByIndex(o),e=null!=n?n:e),Nr(t)&&(null!==(n=t.getDescendantByIndex(r))&&n!==e&&t.getChildAtIndex(r)===n&&(n=n.getPreviousSibling()),t=null!=n?n:t),e=e.is(t)?Nr(e)&&0<e.getChildrenSize()?[]:[e]:e.getNodesBetween(t),hr()||(this._cachedNodes=e),e}setTextNodeRange(e,t,n,r){$n(this.anchor,e.__key,t,"text"),$n(this.focus,n.__key,r,"text"),this._cachedNodes=null,this.dirty=!0}getTextContent(){let e=this.getNodes();if(0===e.length)return"";let t=e[0],n=e[e.length-1],r=this.anchor,o=this.focus,i=r.isBefore(o),[a,l]=Yn(this),s="",u=!0;for(let c=0;c<e.length;c++){let d=e[c];if(Nr(d)&&!d.isInline())u||(s+="\n"),u=!d.isEmpty();else if(u=!1,Nn(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===o.type&&o.offset!==r.offset||(e=a<l?e.slice(a,l):e.slice(l,a)):e=i?e.slice(a):e.slice(l):d===n&&(e=i?e.slice(0,l):e.slice(0,a)),s+=e}else!Tr(d)&&!hn(d)||d===n&&this.isCollapsed()||(s+=d.getTextContent())}return s}applyDOMRange(e){let t=vr(),n=t.getEditorState()._selection;if(null!==(e=Qn(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n))){var[r,o]=e;$n(this.anchor,r.key,r.offset,r.type),$n(this.focus,o.key,o.offset,o.type),this._cachedNodes=null}}clone(){let e=this.anchor,t=this.focus;return new jn(new On(e.key,e.offset,e.type),new On(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=Se(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){return!!(this.format&X[e])}insertRawText(e){let t=[],n=(e=e.split(/(\r?\n|\t)/)).length;for(let r=0;r<n;r++){let n=e[r];"\n"===n||"\r\n"===n?t.push(pn()):"\t"===n?t.push(Mn()):t.push(An(n))}this.insertNodes(t)}insertText(e){var t=this.anchor,n=this.focus,r=this.isCollapsed()||t.isBefore(n),o=this.format,i=this.style;r&&"element"===t.type?Dn(t,n,o,i):r||"element"!==n.type||Dn(n,t,o,i);var a=this.getNodes(),l=a.length,s=r?n:t;n=(r?t:n).offset;var u=s.offset;Nn(t=a[0])||D(26),r=t.getTextContent().length;var c=t.getParentOrThrow(),d=a[l-1];if(this.isCollapsed()&&n===r&&(t.isSegmented()||t.isToken()||!t.canInsertTextAfter()||!c.canInsertTextAfter()&&null===t.getNextSibling())){var f=t.getNextSibling();if(Nn(f)&&f.canInsertTextBefore()&&!xe(f)||((f=An()).setFormat(o),c.canInsertTextAfter()?t.insertAfter(f):c.insertAfter(f)),f.select(0,0),t=f,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===n&&(t.isSegmented()||t.isToken()||!t.canInsertTextBefore()||!c.canInsertTextBefore()&&null===t.getPreviousSibling())){if(Nn(f=t.getPreviousSibling())&&!xe(f)||((f=An()).setFormat(o),c.canInsertTextBefore()?t.insertBefore(f):c.insertBefore(f)),f.select(),t=f,""!==e)return void this.insertText(e)}else if(t.isSegmented()&&n!==r)(c=An(t.getTextContent())).setFormat(o),t.replace(c),t=c;else if(!(this.isCollapsed()||""===e||(f=d.getParent(),c.canInsertTextBefore()&&c.canInsertTextAfter()&&(!Nr(f)||f.canInsertTextBefore()&&f.canInsertTextAfter()))))return this.insertText(""),qn(this.anchor,this.focus,null),void this.insertText(e);if(1===l)if(t.isToken())(e=An(e)).select(),t.replace(e);else{if(a=t.getFormat(),l=t.getStyle(),n===u&&(a!==o||l!==i)){if(""!==t.getTextContent())return(a=An(e)).setFormat(o),a.setStyle(i),a.select(),0===n?t.insertBefore(a,!1):([l]=t.splitText(n),l.insertAfter(a,!1)),void(a.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length));t.setFormat(o),t.setStyle(i)}""===(t=t.spliceText(n,u-n,e,!0)).getTextContent()?t.remove():"text"===this.anchor.type&&(t.isComposing()?this.anchor.offset-=e.length:(this.format=a,this.style=l))}else{if(o=new Set([...t.getParentKeys(),...d.getParentKeys()]),f=Nr(t)?t:t.getParentOrThrow(),i=Nr(d)?d:d.getParentOrThrow(),c=d,!f.is(i)&&i.isInline())do{c=i,i=i.getParentOrThrow()}while(i.isInline());"text"===s.type&&(0!==u||""===d.getTextContent())||"element"===s.type&&d.getIndexWithinParent()<u?Nn(d)&&!d.isToken()&&u!==d.getTextContentSize()?(d.isSegmented()&&(s=An(d.getTextContent()),d.replace(s),d=s),d=d.spliceText(0,u,""),o.add(d.__key)):(s=d.getParentOrThrow()).canBeEmpty()||1!==s.getChildrenSize()?d.remove():s.remove():o.add(d.__key),s=i.getChildren(),u=new Set(a),d=f.is(i),f=f.isInline()&&null===t.getNextSibling()?f:t;for(let e=s.length-1;0<=e;e--){let n=s[e];if(n.is(t)||Nr(n)&&n.isParentOf(t))break;n.isAttached()&&(!u.has(n)||n.is(c)?d||f.insertAfter(n,!1):n.remove())}if(!d)for(s=i,u=null;null!==s;)(0===(d=(i=s.getChildren()).length)||i[d-1].is(u))&&(o.delete(s.__key),u=s),s=s.getParent();for(t.isToken()?n===r?t.select():((e=An(e)).select(),t.replace(e)):""===(t=t.spliceText(n,r-n,e,!0)).getTextContent()?t.remove():t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length),e=1;e<l;e++)t=a[e],o.has(t.__key)||t.remove()}}removeText(){this.insertText("")}formatText(e){if(this.isCollapsed())this.toggleFormat(e),Re(null);else{var t=this.getNodes(),n=[];for(var r of t)Nn(r)&&n.push(r);var o=n.length;if(0===o)this.toggleFormat(e),Re(null);else{r=this.anchor;var i=this.focus,a=this.isBackward();t=a?i:r,r=a?r:i;var l=0,s=n[0];if(i="element"===t.type?0:t.offset,"text"===t.type&&i===s.getTextContentSize()&&(l=1,s=n[1],i=0),null!=s){a=s.getFormatFlags(e,null);var u=o-1,c=n[u];if(o="text"===r.type?r.offset:c.getTextContentSize(),s.is(c))i!==o&&(0===i&&o===s.getTextContentSize()?s.setFormat(a):(e=s.splitText(i,o),(e=0===i?e[0]:e[1]).setFormat(a),"text"===t.type&&t.set(e.__key,0,"text"),"text"===r.type&&r.set(e.__key,o-i,"text")),this.format=a);else{0!==i&&([,s]=s.splitText(i),i=0),s.setFormat(a);var d=c.getFormatFlags(e,a);for(0<o&&(o!==c.getTextContentSize()&&([c]=c.splitText(o)),c.setFormat(d)),l+=1;l<u;l++){let t=n[l];if(!t.isToken()){let n=t.getFormatFlags(e,d);t.setFormat(n)}}"text"===t.type&&t.set(s.__key,i,"text"),"text"===r.type&&r.set(c.__key,o,"text"),this.format=a|d}}}}}insertNodes(e,t){if(!this.isCollapsed()){var n=this.isBackward()?this.anchor:this.focus,r=n.getNode().getNextSibling();if(r=r?r.getKey():null,n=(n=n.getNode().getPreviousSibling())?n.getKey():null,this.removeText(),this.isCollapsed()&&"element"===this.focus.type){if(this.focus.key===r&&0===this.focus.offset){var o=An();this.focus.getNode().insertBefore(o)}else this.focus.key===n&&this.focus.offset===this.focus.getNode().getChildrenSize()&&(o=An(),this.focus.getNode().insertAfter(o));o&&(this.focus.set(o.__key,0,"text"),this.anchor.set(o.__key,0,"text"))}}n=(o=this.anchor).offset;var i=o.getNode();r=i,"element"===o.type&&(r=null===(r=(o=o.getNode()).getChildAtIndex(n-1))?o:r),o=[];var a=i.getNextSiblings(),l=et(i)?null:i.getTopLevelElementOrThrow();if(Nn(i))if(r=i.getTextContent().length,0===n&&0!==r)r=null!==(r=i.getPreviousSibling())?r:i.getParentOrThrow(),o.push(i);else if(n===r)r=i;else{if(i.isToken())return!1;[r,i]=i.splitText(n),o.push(i)}i=r,o.push(...a),a=e[0];var s=!1,u=null;for(let t=0;t<e.length;t++){var c=e[t];if(et(r)||Tr(r)||!Nr(c)||c.isInline())s&&!Nr(c)&&!Tr(c)&&et(r.getParent())&&D(28);else{if(c.is(a)){if(Nr(r)&&r.isEmpty()&&r.canReplaceWith(c)){r.replace(c),r=c,s=!0;continue}if(Ce(s=c.getFirstDescendant())){for(var d=s.getParentOrThrow();d.isInline();)d=d.getParentOrThrow();if(s=(u=d.getChildren()).length,Nr(r)){var f=r.getFirstChild();for(let e=0;e<s;e++){let t=u[e];null===f?r.append(t):f.insertAfter(t),f=t}}else{for(f=s-1;0<=f;f--)r.insertAfter(u[f]);r=r.getParentOrThrow()}if(u=u[s-1],d.remove(),s=!0,d.is(c))continue}}Nn(r)&&(null===l&&D(27),r=l)}s=!1,Nr(r)&&!r.isInline()?(u=c,Tr(c)&&!c.isInline()?r=r.insertAfter(c,!1):Nr(c)?!c.canBeEmpty()&&c.isEmpty()||(Or(r)?(null!==(d=r.getChildAtIndex(n))?d.insertBefore(c):r.append(c),r=c):c.isInline()?(r.append(c),r=c):r=r.insertAfter(c,!1)):(null!==(d=r.getFirstChild())?d.insertBefore(c):r.append(c),r=c)):!Nr(c)||Nr(c)&&c.isInline()||Tr(r)&&!r.isInline()?(u=c,Fn(this)&&Tr(c)&&(Nr(r)||Nn(r))&&!c.isInline()?(Nn(r)?(d=r.getParentOrThrow(),[r]=r.splitText(n),r=r.getIndexWithinParent()+1):(d=r,r=n),[,r]=lt(d,r),r=r.insertBefore(c)):r=r.insertAfter(c,!1)):(c=r.getParentOrThrow(),hn(r)&&r.remove(),r=c,t--)}if(t&&(Nn(i)?i.select():Nn(e=r.getPreviousSibling())?e.select():(e=r.getIndexWithinParent(),r.getParentOrThrow().select(e,e))),Nr(r)){if(e=Nn(u)?u:Nr(u)&&u.isInline()?u.getLastDescendant():r.getLastDescendant(),t||(null===e?r.select():Nn(e)?""===e.getTextContent()?e.selectPrevious():e.select():e.selectNext()),0!==o.length)for(t=r,e=o.length-1;0<=e;e--)l=(n=o[e]).getParentOrThrow(),!Nr(r)||Xn(n)||Tr(n)&&(!n.isInline()||n.isIsolated())?Nr(r)||Xn(n)?Nr(n)&&!n.canInsertAfter(r)?(Nr(i=l.constructor.clone(l))||D(29),i.append(n),r.insertAfter(i)):r.insertAfter(n):(r.insertBefore(n),r=n):(t===r?r.append(n):r.insertBefore(n),r=n),l.isEmpty()&&!l.canBeEmpty()&&l.remove()}else t||(Nn(r)?r.select():(t=r.getParentOrThrow(),e=r.getIndexWithinParent()+1,t.select(e,e)));return!0}insertParagraph(){this.isCollapsed()||this.removeText();var e=this.anchor,t=e.offset,n=[];if("text"===e.type){var r=e.getNode(),o=r.getNextSiblings().reverse(),i=r.getParentOrThrow(),a=i.isInline(),l=a?i.getTextContentSize():r.getTextContentSize();0===t?o.push(r):(a&&(n=i.getNextSiblings()),t===l||a&&t===r.getTextContentSize()||([,r]=r.splitText(t),o.push(r)))}else{if(et(i=e.getNode()))return o=Fr(),n=i.getChildAtIndex(t),o.select(),void(null!==n?n.insertBefore(o,!1):i.append(o));o=i.getChildren().slice(t).reverse()}if(r=o.length,0===t&&0<r&&i.isInline()){if(Nr(o=(n=i.getParentOrThrow()).insertNewAfter(this,!1)))for(n=n.getChildren(),i=0;i<n.length;i++)o.append(n[i])}else if(null===(a=i.insertNewAfter(this,!1)))this.insertLineBreak();else if(Nr(a))if(l=i.getFirstChild(),0===t&&(i.is(e.getNode())||l&&l.is(e.getNode()))&&0<r)i.insertBefore(a);else{if(i=null,t=n.length,e=a.getParentOrThrow(),0<t)for(l=0;l<t;l++)e.append(n[l]);if(0!==r)for(n=0;n<r;n++)t=o[n],null===i?a.append(t):i.insertBefore(t),i=t;a.canBeEmpty()||0!==a.getChildrenSize()?a.selectStart():(a.selectPrevious(),a.remove())}}insertLineBreak(e){let t=pn();var n=this.anchor;"element"===n.type&&(Or(n=n.getNode())&&this.insertParagraph()),e?this.insertNodes([t],!0):this.insertNodes([t])&&t.selectNext(0,0)}getCharacterOffsets(){return Yn(this)}extract(){var e=this.getNodes(),t=e.length,n=t-1,r=this.anchor;let o=this.focus;var i=e[0];let a=e[n],[l,s]=Yn(this);return 0===t?[]:1===t?Nn(i)&&!this.isCollapsed()?(e=l>s?s:l,n=i.splitText(e,l>s?l:s),null!=(e=0===e?n[0]:n[1])?[e]:[]):[i]:(t=r.isBefore(o),Nn(i)&&((r=t?l:s)===i.getTextContentSize()?e.shift():0!==r&&([,i]=i.splitText(r),e[0]=i)),Nn(a)&&(i=a.getTextContent().length,0===(t=t?s:l)?e.pop():t!==i&&([a]=a.splitText(t),e[n]=a)),e)}modify(e,t,n){var r=this.focus,o=this.anchor,i="move"===e,a=Ue(r,t);if(Tr(a)&&!a.isIsolated())i&&a.isKeyboardSelectable()?((t=Zn()).add(a.__key),Ie(t)):Nn(e=t?a.getPreviousSibling():a.getNextSibling())?(a=e.__key,t=t?e.getTextContent().length:0,r.set(a,t,"text"),i&&o.set(a,t,"text")):(n=a.getParentOrThrow(),Nr(e)?(n=e.__key,a=t?e.getChildrenSize():0):(a=a.getIndexWithinParent(),n=n.__key,t||a++),r.set(n,a,"element"),i&&o.set(n,a,"element"));else if(r=at((o=vr())._window)){var l=o._blockCursorElement,s=o._rootElement;if(null===s||null===l||!Nr(a)||a.isInline()||a.canBeEmpty()||it(l,o,s),r.modify(e,t?"backward":"forward",n),0<r.rangeCount&&(a=r.getRangeAt(0),o=Or(o=this.anchor.getNode())?o:Ze(o),this.applyDOMRange(a),this.dirty=!0,!i)){for(i=this.getNodes(),e=[],n=!1,l=0;l<i.length;l++)Xe(s=i[l],o)?e.push(s):n=!0;n&&0<e.length&&(t?Nr(t=e[0])?t.selectStart():t.getParentOrThrow().selectStart():Nr(t=e[e.length-1])?t.selectEnd():t.getParentOrThrow().selectEnd()),r.anchorNode===a.startContainer&&r.anchorOffset===a.startOffset||(t=this.focus,r=(i=this.anchor).key,a=i.offset,o=i.type,$n(i,t.key,t.offset,t.type),$n(t,r,a,o),this._cachedNodes=null)}}}deleteCharacter(t){let n=this.isCollapsed();if(this.isCollapsed()){var r=this.anchor,o=this.focus,i=r.getNode();if(!t&&("element"===r.type&&Nr(i)&&r.offset===i.getChildrenSize()||"text"===r.type&&r.offset===i.getTextContentSize())){var a=i.getParent();if(Nr(a=i.getNextSibling()||(null===a?null:a.getNextSibling()))&&a.isShadowRoot())return}if(Tr(a=Ue(o,t))&&!a.isIsolated())return void(a.isKeyboardSelectable()&&Nr(i)&&0===i.getChildrenSize()?(i.remove(),t=Zn(),t.add(a.__key),Ie(t)):(a.remove(),vr().dispatchCommand(e,void 0)));if(!t&&Nr(a)&&Nr(i)&&i.isEmpty())return i.remove(),void a.selectStart();if(this.modify("extend",t,"character"),this.isCollapsed()){if(t&&0===r.offset&&("element"===r.type?r.getNode():r.getNode().getParentOrThrow()).collapseAtStart(this))return}else{if(a="text"===o.type?o.getNode():null,i="text"===r.type?r.getNode():null,null!==a&&a.isSegmented()){if(r=o.offset,o=a.getTextContentSize(),a.is(i)||t&&r!==o||!t&&0!==r)return void Un(a,t,r)}else if(null!==i&&i.isSegmented()&&(r=r.offset,o=i.getTextContentSize(),i.is(a)||t&&0!==r||!t&&r!==o))return void Un(i,t,r);if(i=this.anchor,a=this.focus,(r=i.getNode())===(o=a.getNode())&&"text"===i.type&&"text"===a.type){var l=i.offset,s=a.offset;let e=l<s;(o=e?l:s)!==(l=(s=e?s:l)-1)&&($e(r=r.getTextContent().slice(o,s))||(t?a.offset=l:i.offset=l))}}}this.removeText(),t&&!n&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset&&((t=this.anchor.getNode()).isEmpty()&&Or(t.getParent())&&0===t.getIndexWithinParent()&&t.collapseAtStart(this))}deleteLine(e){this.isCollapsed()&&("text"===this.anchor.type&&this.modify("extend",e,"lineboundary"),0===(e?this.focus:this.anchor).offset&&this.modify("extend",e,"character")),this.removeText()}deleteWord(e){this.isCollapsed()&&this.modify("extend",e,"word"),this.removeText()}}function Wn(e){return e instanceof zn}function Gn(e){let t=e.offset;return"text"===e.type?t:t===(e=e.getNode()).getChildrenSize()?e.getTextContent().length:0}function Yn(e){let t=e.anchor;return e=e.focus,"element"===t.type&&"element"===e.type&&t.key===e.key&&t.offset===e.offset?[0,0]:[Gn(t),Gn(e)]}function Un(e,t,n){let r=e.getTextContent().split(/(?=\s)/g),o=r.length,i=0,a=0;for(let e=0;e<o;e++){let l=e===o-1;if(a=i,i+=r[e].length,t&&i===n||i>n||l){r.splice(e,1),l&&(a=void 0);break}}""===(t=r.join("").trim())?e.remove():(e.setTextContent(t),e.select(a,a))}function Kn(e,t,n,r){var o=t;if(1===e.nodeType){let l=!1;var i=e.childNodes,a=i.length;o===a&&(l=!0,o=a-1);let s=i[o];if(a=!1,s===r._blockCursorElement?(s=i[o+1],a=!0):null!==r._blockCursorElement&&o--,Nn(r=De(s)))o=l?r.getTextContentSize():0;else{if(null===(i=De(e)))return null;if(Nr(i)?((t=Nr(e=i.getChildAtIndex(o)))&&(t=e.getParent(),t=null===n||null===t||!t.canBeEmpty()||t!==n.getNode()),t&&(null===(n=l?e.getLastDescendant():e.getFirstDescendant())?(i=e,o=0):i=Nr(e=n)?e:e.getParentOrThrow()),Nn(e)?(r=e,i=null,o=l?e.getTextContentSize():0):e!==i&&l&&!a&&o++):(o=i.getIndexWithinParent(),o=0===t&&Tr(i)&&De(e)===i?o:o+1,i=i.getParentOrThrow()),Nr(i))return new On(i.__key,o,"element")}}else r=De(e);return Nn(r)?new On(r.__key,o,"text"):null}function Vn(e,t,n){var r=e.offset,o=e.getNode();0===r?(r=o.getPreviousSibling(),o=o.getParent(),t?(n||!t)&&null===r&&Nr(o)&&o.isInline()&&(Nn(t=o.getPreviousSibling())&&(e.key=t.__key,e.offset=t.getTextContent().length)):Nr(r)&&!n&&r.isInline()?(e.key=r.__key,e.offset=r.getChildrenSize(),e.type="element"):Nn(r)&&(e.key=r.__key,e.offset=r.getTextContent().length)):r===o.getTextContent().length&&(r=o.getNextSibling(),o=o.getParent(),t&&Nr(r)&&r.isInline()?(e.key=r.__key,e.offset=0,e.type="element"):(n||t)&&null===r&&Nr(o)&&o.isInline()&&!o.canInsertTextAfter()&&(Nn(t=o.getNextSibling())&&(e.key=t.__key,e.offset=0)))}function qn(e,t,n){if("text"===e.type&&"text"===t.type){var r=e.isBefore(t);let o=e.is(t);Vn(e,r,o),Vn(t,!r,o),o&&(t.key=e.key,t.offset=e.offset,t.type=e.type),(r=vr()).isComposing()&&r._compositionKey!==e.key&&Fn(n)&&(r=n.anchor,n=n.focus,$n(e,r.key,r.offset,r.type),$n(t,n.key,n.offset,n.type))}}function Qn(e,t,n,r,o,i){return null!==e&&null!==n&&be(o,e,n)?null===(t=Kn(e,t,Fn(i)?i.anchor:null,o))||null===(r=Kn(n,r,Fn(i)?i.focus:null,o))||"element"===t.type&&"element"===r.type&&(e=De(e),n=De(n),Tr(e)&&Tr(n))?null:(qn(t,r,i),[t,r]):null}function Xn(e){return Nr(e)&&!e.isInline()}function Jn(e,t,n,r,o,i){let a=gr();return(e=new jn(new On(e,t,o),new On(n,r,i),0,"")).dirty=!0,a._selection=e}function Zn(){return new zn(new Set)}function er(e,t,n){var r=n._window;if(null===r)return null;var o=r.event,i=o?o.type:void 0;let a;if(r="selectionchange"===i,o=!re&&(r||"beforeinput"===i||"compositionstart"===i||"compositionend"===i||"click"===i&&o&&3===o.detail||"drop"===i||void 0===i),Fn(e)&&!o)return e.clone();if(null===t)return null;if(o=t.anchorNode,i=t.focusNode,a=t.anchorOffset,t=t.focusOffset,r&&Fn(e)&&!be(n,o,i))return e.clone();if(null===(n=Qn(o,a,i,t,n,e)))return null;let[l,s]=n;return new jn(l,s,Fn(e)?e.format:0,Fn(e)?e.style:"")}function tr(){return gr()._selection}function nr(){return vr()._editorState._selection}function rr(e,t,n,r=1){var o=e.anchor,i=e.focus,a=o.getNode(),l=i.getNode();if(t.is(a)||t.is(l)){if(a=t.__key,e.isCollapsed())(n<=(t=o.offset)&&0<r||n<t&&0>r)&&(n=Math.max(0,t+r),o.set(a,n,"element"),i.set(a,n,"element"),or(e));else{let u=e.isBackward();var s=(l=u?i:o).getNode();i=(o=u?o:i).getNode(),t.is(s)&&((n<=(s=l.offset)&&0<r||n<s&&0>r)&&l.set(a,Math.max(0,s+r),"element")),t.is(i)&&((n<=(t=o.offset)&&0<r||n<t&&0>r)&&o.set(a,Math.max(0,t+r),"element"))}or(e)}}function or(e){var t=e.anchor,n=t.offset;let r=e.focus;var o=r.offset,i=t.getNode(),a=r.getNode();if(e.isCollapsed())Nr(i)&&(Nn(a=(o=n>=(a=i.getChildrenSize()))?i.getChildAtIndex(a-1):i.getChildAtIndex(n))&&(n=0,o&&(n=a.getTextContentSize()),t.set(a.__key,n,"text"),r.set(a.__key,n,"text")));else{if(Nr(i)){let r=i.getChildrenSize();Nn(n=(e=n>=r)?i.getChildAtIndex(r-1):i.getChildAtIndex(n))&&(i=0,e&&(i=n.getTextContentSize()),t.set(n.__key,i,"text"))}Nr(a)&&(Nn(o=(t=o>=(n=a.getChildrenSize()))?a.getChildAtIndex(n-1):a.getChildAtIndex(o))&&(a=0,t&&(a=o.getTextContentSize()),r.set(o.__key,a,"text")))}}function ir(e,t,n,r,o){let i=null,a=0,l=null;null!==r?(i=r.__key,Nn(r)?(a=r.getTextContentSize(),l="text"):Nr(r)&&(a=r.getChildrenSize(),l="element")):null!==o&&(i=o.__key,Nn(o)?l="text":Nr(o)&&(l="element")),null!==i&&null!==l?e.set(i,a,l):(a=t.getIndexWithinParent(),-1===a&&(a=n.getChildrenSize()),e.set(n.__key,a,"element"))}function ar(e,t,n,r,o){"text"===e.type?(e.key=n,t||(e.offset+=o)):e.offset>r.getIndexWithinParent()&&--e.offset}function lr(e,t,n){let r=[],o=null,i=null;e=e.getChildren();for(let c=0;c<e.length;c++){var a=e[c];Kr(a)||D(108);var l=a.getChildren();a=0;for(let e of l){for(Wr(e)||D(109);void 0!==r[c]&&void 0!==r[c][a];)a++;var s=a,u=e;let d={cell:u,startColumn:s,startRow:l=c},f=u.__rowSpan,p=u.__colSpan;for(let e=0;e<f;e++){void 0===r[l+e]&&(r[l+e]=[]);for(let t=0;t<p;t++)r[l+e][s+t]=d}t.is(u)&&(o=d),n.is(u)&&(i=d),a+=e.__colSpan}}return null===o&&D(110),null===i&&D(111),[r,o,i]}let sr=null,ur=null,cr=!1,dr=!1,fr=0,pr={characterData:!0,childList:!0,subtree:!0};function hr(){return cr||null!==sr&&sr._readOnly}function mr(){cr&&D(13)}function gr(){return null===sr&&D(15),sr}function vr(){return null===ur&&D(16),ur}function br(e,t,n){var r=t.__type;let o=e._nodes.get(r);for(void 0===o&&D(30,r),void 0===(e=n.get(r))&&(e=Array.from(o.transforms),n.set(r,e)),n=e.length,r=0;r<n&&(e[r](t),t.isAttached());r++);}function yr(e,t){var n=e.type,r=t.get(n);if(void 0===r&&D(17,n),n=r.klass,e.type!==n.getType()&&D(18,n.name),n=n.importJSON(e),e=e.children,Nr(n)&&Array.isArray(e))for(r=0;r<e.length;r++){let o=yr(e[r],t);n.append(o)}return n}function xr(e,t){let n=sr,r=cr,o=ur;sr=e,cr=!0,ur=null;try{return t()}finally{sr=n,cr=r,ur=o}}function _r(t,n){let r=t._pendingEditorState,o=t._rootElement,i=t._headless||null===o;if(null!==r){var a=t._editorState,l=a._selection,s=r._selection,u=0!==t._dirtyType,c=sr,d=cr,f=ur,p=t._updating,h=t._observer,m=null;if(t._pendingEditorState=null,t._editorState=r,!i&&u&&null!==h){ur=t,sr=r,cr=!1,t._updating=!0;try{let e=t._dirtyType,n=t._dirtyElements,o=t._dirtyLeaves;h.disconnect();var g=n,v=o;St=Ct=_t="",Et=2===e,kt=null,ft=t,dt=t._config,pt=t._nodes,ht=ft._listeners.mutation,mt=g,gt=v,vt=a._nodeMap,bt=r._nodeMap,wt=r._readOnly,yt=new Map(t._keyToDOMMap);let i=new Map;xt=i,zt("root",null),xt=yt=dt=bt=vt=gt=mt=pt=ft=void 0,m=i}catch(e){if(e instanceof Error&&t._onError(e),dr)throw e;return Br(t,null,o,r),ue(t),t._dirtyType=2,dr=!0,_r(t,a),void(dr=!1)}finally{h.observe(o,pr),t._updating=p,sr=c,cr=d,ur=f}}r._readOnly||(r._readOnly=!0);var b=t._dirtyLeaves,y=t._dirtyElements,x=t._normalizedNodes,_=t._updateTags,S=t._deferred;u&&(t._dirtyType=0,t._cloneNotNeeded.clear(),t._dirtyLeaves=new Set,t._dirtyElements=new Map,t._normalizedNodes=new Set,t._updateTags=new Set);var C,E=t._decorators,w=t._pendingDecorators||E,k=r._nodeMap;for(C in w)k.has(C)||(w===E&&(w=Me(t)),delete w[C]);var R=i?null:at(t._window);if(t._editable&&null!==R&&(u||null===s||s.dirty)){ur=t,sr=r;try{if(null!==h&&h.disconnect(),u||null===s||s.dirty){let e=t._blockCursorElement;null!==e&&it(e,t,o);e:{let e=R.anchorNode,n=R.focusNode,r=R.anchorOffset,i=R.focusOffset,a=document.activeElement;if(!(_.has("collaboration")&&a!==o||null!==a&&ve(a)))if(Fn(s)){var T=s.anchor,A=s.focus,N=T.key,L=A.key,M=qe(t,N),O=qe(t,L),P=T.offset,I=A.offset,D=s.format,$=s.style,z=s.isCollapsed(),F=M,B=O,H=!1;if("text"===T.type){F=_e(M);let e=T.getNode();H=e.getFormat()!==D||e.getStyle()!==$}else Fn(l)&&"text"===l.anchor.type&&(H=!0);if("text"===A.type&&(B=_e(O)),null!==F&&null!==B){if(z&&(null===l||H||Fn(l)&&(l.format!==D||l.style!==$))){var j=performance.now();Zt=[D,$,P,N,j]}if(r===P&&i===I&&e===F&&n===B&&("Range"!==R.type||!z)&&(null!==a&&o.contains(a)||o.focus({preventScroll:!0}),"element"!==T.type))break e;try{R.setBaseAndExtent(F,P,B,I)}catch(e){}if(!_.has("skip-scroll-into-view")&&s.isCollapsed()&&null!==o&&o===document.activeElement){let e=s instanceof jn&&"element"===s.anchor.type?F.childNodes[P]||null:0<R.rangeCount?R.getRangeAt(0):null;if(null!==e){let n;if(e instanceof Text){let t=document.createRange();t.selectNode(e),n=t.getBoundingClientRect()}else n=e.getBoundingClientRect();let r=o.ownerDocument,i=r.defaultView;if(null!==i)for(var W,G,{top:Y,bottom:U}=n,K=o;null!==K;){let e=K===r.body;if(e)W=0,G=Je(t).innerHeight;else{let e=K.getBoundingClientRect();W=e.top,G=e.bottom}let n=0;if(Y<W?n=-(W-Y):U>G&&(n=U-G),0!==n)if(e)i.scrollBy(0,n);else{let e=K.scrollTop;K.scrollTop+=n;let t=K.scrollTop-e;Y-=t,U-=t}if(e)break;K=Qe(K)}}}qt=!0}}else null!==l&&be(t,e,n)&&R.removeAllRanges()}}e:{let e=t._blockCursorElement;if(Fn(s)&&s.isCollapsed()&&"element"===s.anchor.type&&o.contains(document.activeElement)){let n=s.anchor,r=n.getNode(),i=n.offset,a=r.getChildrenSize(),l=!1,u=null;if(i===a){ot(r.getChildAtIndex(i-1))&&(l=!0)}else{let e=r.getChildAtIndex(i);if(ot(e)){let n=e.getPreviousSibling();(null===n||ot(n))&&(l=!0,u=t.getElementByKey(e.__key))}}if(l){let n=t.getElementByKey(r.__key);if(null===e){let n=t._config.theme,r=document.createElement("div");r.contentEditable="false",r.setAttribute("data-lexical-cursor","true");let o=n.blockCursor;if(void 0!==o){if("string"==typeof o){let e=o.split(" ");o=n.blockCursor=e}void 0!==o&&r.classList.add(...o)}t._blockCursorElement=e=r}o.style.caretColor="transparent",null===u?n.appendChild(e):n.insertBefore(e,u);break e}}null!==e&&it(e,t,o)}null!==h&&h.observe(o,pr)}finally{ur=f,sr=c}}if(null!==m){var V=m;let e=Array.from(t._listeners.mutation),n=e.length;for(let t=0;t<n;t++){let[n,r]=e[t],o=V.get(r);void 0!==o&&n(o,{dirtyLeaves:b,updateTags:_})}}Fn(s)||null===s||null!==l&&l.is(s)||t.dispatchCommand(e,void 0);var q=t._pendingDecorators;null!==q&&(t._decorators=q,t._pendingDecorators=null,Sr("decorator",t,!0,q));var Q=Oe(n||a),X=Oe(r);if(Q!==X&&Sr("textcontent",t,!0,X),Sr("update",t,!0,{dirtyElements:y,dirtyLeaves:b,editorState:r,normalizedNodes:x,prevEditorState:n||a,tags:_}),t._deferred=[],0!==S.length){let e=t._updating;t._updating=!0;try{for(let e=0;e<S.length;e++)S[e]()}finally{t._updating=e}}var J=t._updates;if(0!==J.length){let e=J.shift();if(e){let[n,r]=e;wr(t,n,r)}}}}function Sr(e,t,n,...r){let o=t._updating;t._updating=n;try{let n=Array.from(t._listeners[e]);for(e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=o}}function Cr(e,t,n){if(!1===e._updating||ur!==e){let r=!1;return e.update((()=>{r=Cr(e,t,n)})),r}let r=ze(e);for(let i=4;0<=i;i--)for(let a=0;a<r.length;a++){var o=r[a]._commands.get(t);if(void 0!==o&&void 0!==(o=o[i])){let t=(o=Array.from(o)).length;for(let r=0;r<t;r++)if(!0===o[r](n,e))return!0}}return!1}function Er(e,t){let n=e._updates;for(t=t||!1;0!==n.length;){var r=n.shift();if(r){let n,[o,i]=r;void 0!==i&&(r=i.onUpdate,n=i.tag,i.skipTransforms&&(t=!0),r&&e._deferred.push(r),n&&e._updateTags.add(n)),o()}}return t}function wr(e,t,n){let r=e._updateTags;var o,i=o=!1;if(void 0!==n){var a=n.onUpdate;null!=(o=n.tag)&&r.add(o),o=n.skipTransforms||!1,i=n.discrete||!1}a&&e._deferred.push(a),n=e._editorState;let l=!1;(null===(a=e._pendingEditorState)||a._readOnly)&&(a=e._pendingEditorState=new Dr(new Map((a||n)._nodeMap)),l=!0),a._flushSync=i,i=sr;let s=cr,u=ur,c=e._updating;sr=a,cr=!1,e._updating=!0,ur=e;try{l&&(e._headless?null!=n._selection&&(a._selection=n._selection.clone()):a._selection=function(e){let t=e.getEditorState()._selection,n=at(e._window);return Wn(t)||Hn(t)?t.clone():er(t,n,e)}(e));let r=e._compositionKey;t(),o=Er(e,o),function(e,t){if(t=t.getEditorState()._selection,Fn(e=e._selection)){var n=e.anchor;let r,o=e.focus;"text"===n.type&&(r=n.getNode(),r.selectionTransform(t,e)),"text"===o.type&&r!==(n=o.getNode())&&n.selectionTransform(t,e)}}(a,e),0!==e._dirtyType&&(o?function(e,t){t=t._dirtyLeaves,e=e._nodeMap;for(let n of t)Nn(t=e.get(n))&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&fe(t)}(a,e):function(e,t){let n=t._dirtyLeaves,r=t._dirtyElements;e=e._nodeMap;let o=Te(),i=new Map;var a=n;let l=a.size;for(var s=r,u=s.size;0<l||0<u;){if(0<l){t._dirtyLeaves=new Set;for(let r of a)Nn(a=e.get(r))&&a.isAttached()&&a.isSimpleText()&&!a.isUnmergeable()&&fe(a),void 0!==a&&void 0!==a&&a.__key!==o&&a.isAttached()&&br(t,a,i),n.add(r);if(l=(a=t._dirtyLeaves).size,0<l){fr++;continue}}t._dirtyLeaves=new Set,t._dirtyElements=new Map;for(let n of s)s=n[0],u=n[1],("root"===s||u)&&(void 0!==(a=e.get(s))&&void 0!==a&&a.__key!==o&&a.isAttached()&&br(t,a,i),r.set(s,u));l=(a=t._dirtyLeaves).size,u=(s=t._dirtyElements).size,fr++}t._dirtyLeaves=n,t._dirtyElements=r}(a,e),Er(e),function(e,t,n,r){e=e._nodeMap,t=t._nodeMap;let o=[];for(let[n]of r){let i=t.get(n);void 0===i||i.isAttached()||(Nr(i)&&ct(i,n,e,t,o,r),e.has(n)||r.delete(n),o.push(n))}for(let e of o)t.delete(e);for(let o of n)void 0===(r=t.get(o))||r.isAttached()||(e.has(o)||n.delete(o),t.delete(o))}(n,a,e._dirtyLeaves,e._dirtyElements)),r!==e._compositionKey&&(a._flushSync=!0);let i=a._selection;if(Fn(i)){let e=a._nodeMap,t=i.focus.key;void 0!==e.get(i.anchor.key)&&void 0!==e.get(t)||D(19)}else Wn(i)&&0===i._nodes.size&&(a._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=n,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void _r(e)}finally{sr=i,cr=s,ur=u,e._updating=c,fr=0}0!==e._dirtyType||function(e,t){if(t=t.getEditorState()._selection,e=e._selection,null!==e){if(e.dirty||!e.is(t))return!0}else if(null!==t)return!0;return!1}(a,e)?a._flushSync?(a._flushSync=!1,_r(e)):l&&ge((()=>{_r(e)})):(a._flushSync=!1,l&&(r.clear(),e._deferred=[],e._pendingEditorState=null))}function kr(e,t,n){e._updating?e._updates.push([t,n]):wr(e,t,n)}class Rr extends cn{constructor(e){super(e)}decorate(){D(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function Tr(e){return e instanceof Rr}class Ar extends cn{constructor(e){super(e),this.__last=this.__first=null,this.__indent=this.__format=this.__size=0,this.__dir=null}getFormat(){return this.getLatest().__format}getFormatType(){let e=this.getFormat();return ee[e]||""}getIndent(){return this.getLatest().__indent}getChildren(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){let e=vr()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){let e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){let e=[],t=this.getFirstChild();for(;null!==t;){if(Nn(t)&&e.push(t),Nr(t)){let n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;null!==e;){if(Nr(e)){let t=e.getFirstChild();if(null!==t){e=t;continue}}break}return e}getLastDescendant(){let e=this.getLastChild();for(;null!==e;){if(Nr(e)){let t=e.getLastChild();if(null!==t){e=t;continue}}break}return e}getDescendantByIndex(e){let t=this.getChildren(),n=t.length;return e>=n?Nr(e=t[n-1])&&e.getLastDescendant()||e||null:Nr(e=t[e])&&e.getFirstDescendant()||e||null}getFirstChild(){let e=this.getLatest().__first;return null===e?null:Ae(e)}getFirstChildOrThrow(){let e=this.getFirstChild();return null===e&&D(45,this.__key),e}getLastChild(){let e=this.getLatest().__last;return null===e?null:Ae(e)}getLastChildOrThrow(){let e=this.getLastChild();return null===e&&D(96,this.__key),e}getChildAtIndex(e){var t=this.getChildrenSize();let n;if(e<t/2){for(n=this.getFirstChild(),t=0;null!==n&&t<=e;){if(t===e)return n;n=n.getNextSibling(),t++}return null}for(n=this.getLastChild(),--t;null!==n&&t>=e;){if(t===e)return n;n=n.getPreviousSibling(),t--}return null}getTextContent(){let e="",t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let o=t[r];e+=o.getTextContent(),Nr(o)&&r!==n-1&&!o.isInline()&&(e+="\n\n")}return e}getTextContentSize(){let e=0,t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let o=t[r];e+=o.getTextContentSize(),Nr(o)&&r!==n-1&&!o.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){return""!==e&&(e=Z[e],!!(this.getFormat()&e))}select(e,t){mr();let n=tr(),r=e,o=t;var i=this.getChildrenSize();if(!this.canBeEmpty())if(0===e&&0===t){if(Nn(e=this.getFirstChild())||Nr(e))return e.select(0,0)}else if(!(void 0!==e&&e!==i||void 0!==t&&t!==i)&&(Nn(e=this.getLastChild())||Nr(e)))return e.select();return void 0===r&&(r=i),void 0===o&&(o=i),i=this.__key,Fn(n)?(n.anchor.set(i,r,"element"),n.focus.set(i,o,"element"),n.dirty=!0,n):Jn(i,r,i,o,"element","element")}selectStart(){let e=this.getFirstDescendant();return Nr(e)||Nn(e)?e.select(0,0):null!==e?e.selectPrevious():this.select(0,0)}selectEnd(){let e=this.getLastDescendant();return Nr(e)||Nn(e)?e.select():null!==e?e.selectNext():this.select()}clear(){let e=this.getWritable();return this.getChildren().forEach((e=>e.remove())),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){let t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?Z[e]:0,this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){let r=n.length,o=this.getChildrenSize(),i=this.getWritable(),a=i.__key;var l=[],s=[];let u=this.getChildAtIndex(e+t),c=null,d=o-t+r;if(0!==e)if(e===o)c=this.getLastChild();else{var f=this.getChildAtIndex(e);null!==f&&(c=f.getPreviousSibling())}if(0<t){var p=null===c?this.getFirstChild():c.getNextSibling();for(f=0;f<t;f++){null===p&&D(100);var h=p.getNextSibling(),m=p.__key;we(p=p.getWritable()),s.push(m),p=h}}for(f=c,h=0;h<r;h++){m=n[h],null!==f&&m.is(f)&&(c=f=f.getPreviousSibling()),(p=m.getWritable()).__parent===a&&d--,we(p);let e=m.__key;null===f?(i.__first=e,p.__prev=null):((f=f.getWritable()).__next=e,p.__prev=f.__key),m.__key===a&&D(76),p.__parent=a,l.push(e),f=m}if(e+t===o?null!==f&&(f.getWritable().__next=null,i.__last=f.__key):null!==u&&(e=u.getWritable(),null!==f?(t=f.getWritable(),e.__prev=f.__key,t.__next=u.__key):e.__prev=null),i.__size=d,s.length&&Fn(e=tr())){s=new Set(s),l=new Set(l);let{anchor:t,focus:n}=e;Lr(t,s,l)&&ir(t,t.getNode(),this,c,u),Lr(n,s,l)&&ir(n,n.getNode(),this,c,u),0!==d||this.canBeEmpty()||et(this)||this.remove()}return i}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"element",version:1}}insertNewAfter(){return null}canIndent(){return!0}collapseAtStart(){return!1}excludeFromCopy(){return!1}canExtractContents(){return!0}canReplaceWith(){return!0}canInsertAfter(){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(){return!1}extractWithChild(){return!1}}function Nr(e){return e instanceof Ar}function Lr(e,t,n){for(e=e.getNode();e;){let r=e.__key;if(t.has(r)&&!n.has(r))return!0;e=e.getParent()}return!1}class Mr extends Ar{static getType(){return"root"}static clone(){return new Mr}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){D(51)}getTextContent(){let e=this.__cachedText;return!hr()&&0!==vr()._dirtyType||null===e?super.getTextContent():e}remove(){D(52)}replace(){D(53)}insertBefore(){D(54)}insertAfter(){D(55)}updateDOM(){return!1}append(...e){for(let t=0;t<e.length;t++){let n=e[t];Nr(n)||Tr(n)||D(56)}return super.append(...e)}static importJSON(e){let t=Pe();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"root",version:1}}collapseAtStart(){return!0}}function Or(e){return e instanceof Mr}function Pr(){return new Dr(new Map([["root",new Mr]]))}function Ir(e){let t=e.exportJSON();var n=e.constructor;t.type!==n.getType()&&D(130,n.name);let r=t.children;if(Nr(e))for(Array.isArray(r)||D(59,n.name),e=e.getChildren(),n=0;n<e.length;n++){let t=Ir(e[n]);r.push(t)}return t}class Dr{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._readOnly=this._flushSync=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e){return xr(this,e)}clone(e){return(e=new Dr(this._nodeMap,void 0===e?this._selection:e))._readOnly=!0,e}toJSON(){return xr(this,(()=>({root:Ir(Pe())})))}}class $r extends Ar{static getType(){return"paragraph"}static clone(e){return new $r(e.__key)}createDOM(e){let t=document.createElement("p");return void 0!==(e=We(e.theme,"paragraph"))&&t.classList.add(...e),t}updateDOM(){return!1}static importDOM(){return{p:()=>({conversion:zr,priority:0})}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t),0<(t=this.getIndent())&&(e.style.textIndent=20*t+"px")}return{element:e}}static importJSON(e){let t=Fr();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),type:"paragraph",version:1}}insertNewAfter(e,t){e=Fr();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=this.getChildren();if(0===e.length||Nn(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function zr(e){let t=Fr();return e.style&&(t.setFormat(e.style.textAlign),0<(e=parseInt(e.style.textIndent,10)/20)&&t.setIndent(e)),{node:t}}function Fr(){return nt(new $r)}function Br(e,t,n,r){let o=e._keyToDOMMap;o.clear(),e._editorState=Pr(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null,null!==(r=e._observer)&&(r.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",o.set("root",n))}class Hr{constructor(e,t,n,r,o,i,a){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._compositionKey=this._pendingEditorState=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=Fe(),this._onError=o,this._htmlConversions=i,this._editable=a,this._headless=null!==t&&t._headless,this._blockCursorElement=this._window=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){let t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){let t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){let t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){let t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){let t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&D(35);let r=this._commands;r.has(e)||r.set(e,[new Set,new Set,new Set,new Set,new Set]);let o=r.get(e);void 0===o&&D(36,String(e));let i=o[n];return i.add(t),()=>{i.delete(t),o.every((e=>0===e.size))&&r.delete(e)}}registerMutationListener(e,t){void 0===this._nodes.get(e.getType())&&D(37,e.name);let n=this._listeners.mutation;return n.set(t,e),()=>{n.delete(t)}}registerNodeTransformToKlass(e,t){var n=e.getType();return void 0===(n=this._nodes.get(n))&&D(37,e.name),n.transforms.add(t),n}registerNodeTransform(e,t){var n=this.registerNodeTransformToKlass(e,t);let r=[n];return null!=(n=n.replaceWithKlass)&&(n=this.registerNodeTransformToKlass(n,t),r.push(n)),function(e,t){kr(e,(()=>{var e=gr();if(!e.isEmpty())if("root"===t)Pe().markDirty();else{e=e._nodeMap;for(let[,t]of e)t.markDirty()}}),null===e._pendingEditorState?{tag:"history-merge"}:void 0)}(this,e.getType()),()=>{r.forEach((e=>e.transforms.delete(t)))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return Cr(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){let t=this._rootElement;if(e!==t){let i=We(this._config.theme,"root");var n=this._pendingEditorState||this._editorState;if(this._rootElement=e,Br(this,t,e,n),null!==t){if(!this._config.disableEvents){0!==Vt&&(Vt--,0===Vt&&t.ownerDocument.removeEventListener("selectionchange",sn));var r=t.__lexicalEditor;if(null!=r){if(null!==r._parentEditor){var o=ze(r);o=o[o.length-1]._key,ln.get(o)===r&&ln.delete(o)}else ln.delete(r._key);t.__lexicalEditor=null}for(r=an(t),o=0;o<r.length;o++)r[o]();t.__lexicalEventHandles=[]}null!=i&&t.classList.remove(...i)}null!==e?(n=(n=e.ownerDocument)&&n.defaultView||null,(r=e.style).userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=n,this._dirtyType=2,ue(this),this._updateTags.add("history-merge"),_r(this),this._config.disableEvents||function(e,t){0===Vt&&e.ownerDocument.addEventListener("selectionchange",sn),Vt++,e.__lexicalEditor=t;let n=an(e);for(let r=0;r<Wt.length;r++){let[o,i]=Wt[r],l="function"==typeof i?e=>{!0!==e._lexicalHandled&&(e._lexicalHandled=!0,t.isEditable()&&i(e,t))}:e=>{if(!0!==e._lexicalHandled&&(e._lexicalHandled=!0,t.isEditable()))switch(o){case"cut":return Cr(t,M,e);case"copy":return Cr(t,L,e);case"paste":return Cr(t,a,e);case"dragstart":return Cr(t,R,e);case"dragover":return Cr(t,T,e);case"dragend":return Cr(t,A,e);case"focus":return Cr(t,O,e);case"blur":return Cr(t,P,e);case"drop":return Cr(t,k,e)}};e.addEventListener(o,l),n.push((()=>{e.removeEventListener(o,l)}))}}(e,this),null!=i&&e.classList.add(...i)):(this._editorState=n,this._window=this._pendingEditorState=null),Sr("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&D(38),se(this);let n=this._pendingEditorState,r=this._updateTags;t=void 0!==t?t.tag:null,null===n||n.isEmpty()||(null!=t&&r.add(t),_r(this)),this._pendingEditorState=e,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=t&&r.add(t),_r(this)}parseEditorState(e,t){e="string"==typeof e?JSON.parse(e):e;let n=Pr(),r=sr,o=cr,i=ur,a=this._dirtyElements,l=this._dirtyLeaves,s=this._cloneNotNeeded,u=this._dirtyType;this._dirtyElements=new Map,this._dirtyLeaves=new Set,this._cloneNotNeeded=new Set,this._dirtyType=0,sr=n,cr=!1,ur=this;try{yr(e.root,this._nodes),t&&t(),n._readOnly=!0}catch(e){e instanceof Error&&this._onError(e)}finally{this._dirtyElements=a,this._dirtyLeaves=l,this._cloneNotNeeded=s,this._dirtyType=u,sr=r,cr=o,ur=i}return n}update(e,t){kr(this,e,t)}focus(e,t={}){let n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),kr(this,(()=>{let e=tr(),n=Pe();null!==e?e.dirty=!0:0!==n.getChildrenSize()&&("rootStart"===t.defaultSelection?n.selectStart():n.selectEnd())}),{onUpdate:()=>{n.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){var e=this._rootElement;null!==e&&e.blur(),null!==(e=at(this._window))&&e.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,Sr("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}class jr extends Ar{constructor(e,t){super(t),this.__colSpan=e,this.__rowSpan=1}exportJSON(){return{...super.exportJSON(),colSpan:this.__colSpan,rowSpan:this.__rowSpan}}getColSpan(){return this.__colSpan}setColSpan(e){return this.getWritable().__colSpan=e,this}getRowSpan(){return this.__rowSpan}setRowSpan(e){return this.getWritable().__rowSpan=e,this}}function Wr(e){return e instanceof jr}class Gr extends Ar{}function Yr(e){return e instanceof Gr}class Ur extends Ar{}function Kr(e){return e instanceof Ur}return Y.$addUpdateTag=function(e){mr(),vr()._updateTags.add(e)},Y.$applyNodeReplacement=nt,Y.$copyNode=tt,Y.$createLineBreakNode=pn,Y.$createNodeSelection=Zn,Y.$createParagraphNode=Fr,Y.$createRangeSelection=function(){let e=new On("root",0,"element"),t=new On("root",0,"element");return new jn(e,t,0,"")},Y.$createTabNode=Mn,Y.$createTextNode=An,Y.$getAdjacentNode=Ue,Y.$getNearestNodeFromDOMNode=Le,Y.$getNearestRootOrShadowRoot=Ze,Y.$getNodeByKey=Ae,Y.$getPreviousSelection=nr,Y.$getRoot=Pe,Y.$getSelection=tr,Y.$getTextContent=function(){let e=tr();return null===e?"":e.getTextContent()},Y.$hasAncestor=Xe,Y.$hasUpdateTag=function(e){return vr()._updateTags.has(e)},Y.$insertNodes=function(e,t){let n=tr()||nr();return null===n&&(n=Pe().selectEnd()),n.insertNodes(e,t)},Y.$isBlockElementNode=Xn,Y.$isDecoratorNode=Tr,Y.$isElementNode=Nr,Y.$isInlineElementOrDecoratorNode=function(e){return Nr(e)&&e.isInline()||Tr(e)&&e.isInline()},Y.$isLeafNode=Ce,Y.$isLineBreakNode=hn,Y.$isNodeSelection=Wn,Y.$isParagraphNode=function(e){return e instanceof $r},Y.$isRangeSelection=Fn,Y.$isRootNode=Or,Y.$isRootOrShadowRoot=et,Y.$isTabNode=function(e){return e instanceof Ln},Y.$isTextNode=Nn,Y.$nodesOfType=function(e){var t=gr();let n=t._readOnly,r=e.getType();t=t._nodeMap;let o=[];for(let[,i]of t)i instanceof e&&i.__type===r&&(n||i.isAttached())&&o.push(i);return o},Y.$normalizeSelection__EXPERIMENTAL=pe,Y.$parseSerializedNode=function(e){return yr(e,vr()._nodes)},Y.$setCompositionKey=Re,Y.$setSelection=Ie,Y.$splitNode=lt,Y.BLUR_COMMAND=P,Y.CAN_REDO_COMMAND={},Y.CAN_UNDO_COMMAND={},Y.CLEAR_EDITOR_COMMAND={},Y.CLEAR_HISTORY_COMMAND={},Y.CLICK_COMMAND=t,Y.COMMAND_PRIORITY_CRITICAL=4,Y.COMMAND_PRIORITY_EDITOR=0,Y.COMMAND_PRIORITY_HIGH=3,Y.COMMAND_PRIORITY_LOW=1,Y.COMMAND_PRIORITY_NORMAL=2,Y.CONTROLLED_TEXT_INSERTION_COMMAND=i,Y.COPY_COMMAND=L,Y.CUT_COMMAND=M,Y.DELETE_CHARACTER_COMMAND=n,Y.DELETE_LINE_COMMAND=u,Y.DELETE_WORD_COMMAND=s,Y.DEPRECATED_$computeGridMap=lr,Y.DEPRECATED_$createGridSelection=function(){let e=new On("root",0,"element"),t=new On("root",0,"element");return new Bn("root",e,t)},Y.DEPRECATED_$getNodeTriplet=function(e){e instanceof jr||(e instanceof cn?Wr(e=st(e,Wr))||D(114):Wr(e=st(e.getNode(),Wr))||D(114));let t=e.getParent();Kr(t)||D(115);let n=t.getParent();return Yr(n)||D(116),[e,t,n]},Y.DEPRECATED_$isGridCellNode=Wr,Y.DEPRECATED_$isGridNode=Yr,Y.DEPRECATED_$isGridRowNode=Kr,Y.DEPRECATED_$isGridSelection=Hn,Y.DEPRECATED_GridCellNode=jr,Y.DEPRECATED_GridNode=Gr,Y.DEPRECATED_GridRowNode=Ur,Y.DRAGEND_COMMAND=A,Y.DRAGOVER_COMMAND=T,Y.DRAGSTART_COMMAND=R,Y.DROP_COMMAND=k,Y.DecoratorNode=Rr,Y.ElementNode=Ar,Y.FOCUS_COMMAND=O,Y.FORMAT_ELEMENT_COMMAND={},Y.FORMAT_TEXT_COMMAND=c,Y.INDENT_CONTENT_COMMAND={},Y.INSERT_LINE_BREAK_COMMAND=r,Y.INSERT_PARAGRAPH_COMMAND=o,Y.INSERT_TAB_COMMAND={},Y.KEY_ARROW_DOWN_COMMAND=y,Y.KEY_ARROW_LEFT_COMMAND=g,Y.KEY_ARROW_RIGHT_COMMAND=h,Y.KEY_ARROW_UP_COMMAND=b,Y.KEY_BACKSPACE_COMMAND=S,Y.KEY_DELETE_COMMAND=E,Y.KEY_DOWN_COMMAND=p,Y.KEY_ENTER_COMMAND=x,Y.KEY_ESCAPE_COMMAND=C,Y.KEY_MODIFIER_COMMAND=I,Y.KEY_SPACE_COMMAND=_,Y.KEY_TAB_COMMAND=w,Y.LineBreakNode=dn,Y.MOVE_TO_END=m,Y.MOVE_TO_START=v,Y.OUTDENT_CONTENT_COMMAND={},Y.PASTE_COMMAND=a,Y.ParagraphNode=$r,Y.REDO_COMMAND=f,Y.REMOVE_TEXT_COMMAND=l,Y.RootNode=Mr,Y.SELECTION_CHANGE_COMMAND=e,Y.TabNode=Ln,Y.TextNode=xn,Y.UNDO_COMMAND=d,Y.createCommand=function(){return{}},Y.createEditor=function(e){var t=e||{},n=ur,r=t.theme||{};let o=void 0===e?n:t.parentEditor||null,i=t.disableEvents||!1,a=Pr(),l=t.namespace||(null!==o?o._config.namespace:Fe()),s=t.editorState,u=[Mr,xn,dn,Ln,$r,...t.nodes||[]],c=t.onError;if(t=void 0===t.editable||t.editable,void 0===e&&null!==n)e=n._nodes;else for(e=new Map,n=0;n<u.length;n++){let t=u[n],r=null;var d=null;"function"!=typeof t&&(t=(d=t).replace,r=d.with,d=d.withKlass?d.withKlass:null);let o=t.getType(),i=t.transform(),a=new Set;null!==i&&a.add(i),e.set(o,{klass:t,replace:r,replaceWithKlass:d,transforms:a})}return r=new Hr(a,o,e,{disableEvents:i,namespace:l,theme:r},c||console.error,function(e){let t=new Map,n=new Set;return e.forEach((e=>{if(null!=(e=null!=e.klass.importDOM?e.klass.importDOM.bind(e.klass):null)&&!n.has(e)){n.add(e);var r=e();null!==r&&Object.keys(r).forEach((e=>{let n=t.get(e);void 0===n&&(n=[],t.set(e,n)),n.push(r[e])}))}})),t}(e),t),void 0!==s&&(r._pendingEditorState=s,r._dirtyType=2),r},Y.getNearestEditorFromDOMNode=ye,Y.isSelectionCapturedInDecoratorInput=ve,Y.isSelectionWithinEditor=be,Y}function K(){if(M)return L;M=1;const e=U();return L=e}function V(){if(I)return P;I=1;const e=function(){if(O)return G;O=1;var e=K();let t=new Map;function n(e){for(;null!=e;){if(e.nodeType===Node.TEXT_NODE)return e;e=e.firstChild}return null}function r(e){let t=e.parentNode;if(null==t)throw Error("Should never happen");return[t,Array.from(t.childNodes).indexOf(e)]}function o(e){let t={};e=e.split(";");for(let n of e)if(""!==n){let[e,r]=n.split(/:([^]+)/);t[e.trim()]=r.trim()}return t}function i(e){let n=t.get(e);return void 0===n&&(n=o(e),t.set(e,n)),n}function a(e,n){var r=i("getStyle"in e?e.getStyle():e.style);n=Object.entries(n).reduce(((e,[t,n])=>(null===n?delete e[t]:e[t]=n,e)),{...r}),r=function(e){let t="";for(let n in e)n&&(t+=`${n}: ${e[n]};`);return t}(n),e.setStyle(r),t.set(r,n)}function l(t){for(;null!==t&&!e.$isRootOrShadowRoot(t);){let e=t.getLatest(),n=t.getParent();0===e.getChildrenSize()&&t.remove(!0),t=n}}function s(t,n,r,o,i=null){if(0!==n.length){var a=n[0],s=new Map,u=[];(a=e.$isElementNode(a)?a:a.getParentOrThrow()).isInline()&&(a=a.getParentOrThrow());for(var c=!1;null!==a;){var d=a.getPreviousSibling();if(null!==d){a=d,c=!0;break}if(a=a.getParentOrThrow(),e.$isRootOrShadowRoot(a))break}d=new Set;for(var f=0;f<r;f++){var p=n[f];e.$isElementNode(p)&&0===p.getChildrenSize()&&d.add(p.getKey())}var h=new Set;for(f=0;f<r;f++){var m=(p=n[f]).getParent();if(null!==m&&m.isInline()&&(m=m.getParent()),null!==m&&e.$isLeafNode(p)&&!h.has(p.getKey())){if(p=m.getKey(),void 0===s.get(p)){let t=o();t.setFormat(m.getFormatType()),t.setIndent(m.getIndent()),u.push(t),s.set(p,t),m.getChildren().forEach((n=>{t.append(n),h.add(n.getKey()),e.$isElementNode(n)&&n.getChildrenKeys().forEach((e=>h.add(e)))})),l(m)}}else d.has(p.getKey())&&((m=o()).setFormat(p.getFormatType()),m.setIndent(p.getIndent()),u.push(m),p.remove(!0))}if(null!==i)for(n=0;n<u.length;n++)i.append(u[n]);if(n=null,e.$isRootOrShadowRoot(a))if(c)if(null!==i)a.insertAfter(i);else for(i=u.length-1;0<=i;i--)a.insertAfter(u[i]);else if(c=a.getFirstChild(),e.$isElementNode(c)&&(a=c),null===c)if(i)a.append(i);else for(i=0;i<u.length;i++)c=u[i],a.append(c),n=c;else if(null!==i)c.insertBefore(i);else for(a=0;a<u.length;a++)i=u[a],c.insertBefore(i),n=i;else if(i)a.insertAfter(i);else for(i=u.length-1;0<=i;i--)c=u[i],a.insertAfter(c),n=c;u=e.$getPreviousSelection(),e.$isRangeSelection(u)&&u.anchor.getNode().isAttached()&&u.focus.getNode().isAttached()?e.$setSelection(u.clone()):null!==n?n.selectEnd():t.dirty=!0}}function u(e,t,n,r){e.modify(t?"extend":"move",n,r)}function c(t){return t=t.anchor.getNode(),"rtl"===(e.$isRootNode(t)?t:t.getParentOrThrow()).getDirection()}return G.$addNodeStyle=function(e){let n=o(e=e.getStyle());t.set(e,n)},G.$cloneWithProperties=function(t){let n=(t=t.getLatest()).constructor.clone(t);return n.__parent=t.__parent,n.__next=t.__next,n.__prev=t.__prev,e.$isElementNode(t)&&e.$isElementNode(n)?(n.__first=t.__first,n.__last=t.__last,n.__size=t.__size,n.__format=t.__format,n.__indent=t.__indent,n.__dir=t.__dir,n):(e.$isTextNode(t)&&e.$isTextNode(n)&&(n.__format=t.__format,n.__style=t.__style,n.__mode=t.__mode,n.__detail=t.__detail),n)},G.$getSelectionStyleValueForProperty=function(t,n,r=""){let o=null,a=t.getNodes();var l=t.anchor,s=t.focus,u=t.isBackward();let c=u?s.offset:l.offset;if(l=u?s.getNode():l.getNode(),""!==t.style&&null!==(t=i(t.style))&&n in t)return t[n];for(t=0;t<a.length;t++){var d=a[t];if((0===t||0!==c||!d.is(l))&&e.$isTextNode(d))if(s=n,u=r,s=null!==(d=i(d=d.getStyle()))&&d[s]||u,null===o)o=s;else if(o!==s){o="";break}}return null===o?r:o},G.$isAtNodeEnd=function(e){return"text"===e.type?e.offset===e.getNode().getTextContentSize():e.offset===e.getNode().getChildrenSize()},G.$isParentElementRTL=c,G.$moveCaretSelection=u,G.$moveCharacter=function(e,t,n){let r=c(e);u(e,t,n?!r:r,"character")},G.$patchStyleText=function(t,n){var r=t.getNodes();let o=r.length-1,i=r[0],l=r[o];if(t.isCollapsed())a(t,n);else{var s=t.anchor,u=t.focus,c=i.getTextContent().length,d=u.offset,f=s.offset,p=s.isBefore(u),h=p?f:d;t=p?d:f;var m=p?s.type:u.type,g=p?u.type:s.type;if(s=p?u.key:s.key,e.$isTextNode(i)&&h===c&&(u=i.getNextSibling(),e.$isTextNode(u)&&(h=f=0,i=u)),1===r.length)e.$isTextNode(i)&&(h="element"===m?0:f>d?d:f)!==(t="element"===g?c:f>d?f:d)&&(0===h&&t===c?(a(i,n),i.select(h,t)):(r=i.splitText(h,t),a(r=0===h?r[0]:r[1],n),r.select(0,t-h)));else for(e.$isTextNode(i)&&h<i.getTextContentSize()&&(0!==h&&(i=i.splitText(h)[1]),a(i,n)),e.$isTextNode(l)&&(h=l.getTextContent().length,l.__key!==s&&0!==t&&(t=h),t!==h&&([l]=l.splitText(t)),0!==t&&a(l,n)),t=1;t<o;t++)c=(h=r[t]).getKey(),e.$isTextNode(h)&&c!==i.getKey()&&c!==l.getKey()&&!h.isToken()&&a(h,n)}},G.$selectAll=function(t){let n=t.anchor;t=t.focus;var r=n.getNode().getTopLevelElementOrThrow().getParentOrThrow();let o=r.getFirstDescendant();r=r.getLastDescendant();let i="element",a="element",l=0;e.$isTextNode(o)?i="text":e.$isElementNode(o)||null===o||(o=o.getParentOrThrow()),e.$isTextNode(r)?(a="text",l=r.getTextContentSize()):e.$isElementNode(r)||null===r||(r=r.getParentOrThrow()),o&&r&&(n.set(o.getKey(),0,i),t.set(r.getKey(),l,a))},G.$setBlocksType=function(t,n){if("root"===t.anchor.key){n=n();var r=e.$getRoot();(t=r.getFirstChild())?t.replace(n,!0):r.append(n)}else for(r=t.getNodes(),t=t.anchor.getNode().getParentOrThrow(),-1===r.indexOf(t)&&r.push(t),t.isInline()&&(t=t.getParentOrThrow(),-1===r.indexOf(t)&&r.push(t)),t=0;t<r.length;t++){let a=r[t];var o=a;if(!e.$isElementNode(o)||e.$isRootOrShadowRoot(o))o=!1;else{var i=o.getFirstChild();i=null===i||e.$isTextNode(i)||i.isInline(),o=!o.isInline()&&!1!==o.canBeEmpty()&&i}o&&((o=n()).setFormat(a.getFormatType()),o.setIndent(a.getIndent()),a.replace(o,!0))}},G.$shouldOverrideDefaultCharacterSelection=function(t,n){return t=e.$getAdjacentNode(t.focus,n),e.$isDecoratorNode(t)&&!t.isIsolated()||e.$isElementNode(t)&&!t.isInline()&&!t.canBeEmpty()},G.$sliceSelectedTextNodeContent=function(t,n){if(n.isSelected()&&!n.isSegmented()&&!n.isToken()&&(e.$isRangeSelection(t)||e.DEPRECATED_$isGridSelection(t))){var r=t.anchor.getNode(),o=t.focus.getNode(),i=n.is(r),a=n.is(o);if(i||a){i=t.isBackward();let e,[l,s]=t.getCharacterOffsets();t=r.is(o),a=n.is(i?o:r),o=n.is(i?r:o),r=0,t?(r=l>s?s:l,e=l>s?l:s):a?(r=i?s:l,e=void 0):o&&(r=0,e=i=i?l:s),n.__text=n.__text.slice(r,e)}}return n},G.$wrapNodes=function(t,n,r=null){var o=t.getNodes();let i=o.length;var a=t.anchor;if(0===i||1===i&&"element"===a.type&&0===a.getNode().getChildrenSize()){o=(t="text"===a.type?a.getNode().getParentOrThrow():a.getNode()).getChildren();let e=n();e.setFormat(t.getFormatType()),e.setIndent(t.getIndent()),o.forEach((t=>e.append(t))),r&&(e=r.append(e)),t.replace(e)}else{a=null;var l=[];for(let u=0;u<i;u++){let i=o[u];e.$isRootOrShadowRoot(i)?(s(t,l,l.length,n,r),l=[],a=i):null===a||null!==a&&e.$hasAncestor(i,a)?l.push(i):(s(t,l,l.length,n,r),l=[i])}s(t,l,l.length,n,r)}},G.createDOMRange=function(t,o,i,a,l){let s=o.getKey(),u=a.getKey(),c=document.createRange(),d=t.getElementByKey(s);if(t=t.getElementByKey(u),e.$isTextNode(o)&&(d=n(d)),e.$isTextNode(a)&&(t=n(t)),void 0===o||void 0===a||null===d||null===t)return null;"BR"===d.nodeName&&([d,i]=r(d)),"BR"===t.nodeName&&([t,l]=r(t)),o=d.firstChild,d===t&&null!=o&&"BR"===o.nodeName&&0===i&&0===l&&(l=1);try{c.setStart(d,i),c.setEnd(t,l)}catch(e){return null}return!c.collapsed||i===l&&s===u||(c.setStart(t,l),c.setEnd(d,i)),c},G.createRectsFromDOMRange=function(e,t){var n=e.getRootElement();if(null===n)return[];e=n.getBoundingClientRect(),n=getComputedStyle(n),n=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight);let r,o=(t=Array.from(t.getClientRects())).length;t.sort(((e,t)=>{let n=e.top-t.top;return 3>=Math.abs(n)?e.left-t.left:n}));for(let i=0;i<o;i++){let a=t[i],l=a.width+n===e.width;r&&r.top<=a.top&&r.top+r.height>a.top&&r.left+r.width>a.left||l?(t.splice(i--,1),o--):r=a}return t},G.getStyleObjectFromCSS=i,G.trimTextContentFromAnchor=function(t,n,r){let o=n.getNode();if(e.$isElementNode(o)){var i=o.getDescendantByIndex(n.offset);null!==i&&(o=i)}for(;0<r&&null!==o;){var a=o.getPreviousSibling(),l=0;if(null===a){for(var s=(i=o.getParentOrThrow()).getPreviousSibling();null===s;){if(null===(i=i.getParent())){a=null;break}s=i.getPreviousSibling()}null!==i&&(l=i.isInline()?0:2,a=e.$isElementNode(s)?s.getLastDescendant():s)}if(""===(s=o.getTextContent())&&e.$isElementNode(o)&&!o.isInline()&&(s="\n\n"),i=o.getTextContentSize(),!e.$isTextNode(o)||r>=i)s=o.getParent(),o.remove(),null==s||0!==s.getChildrenSize()||e.$isRootNode(s)||s.remove(),r-=i+l,o=a;else{let u=o.getKey();l=t.getEditorState().read((()=>{const t=e.$getNodeByKey(u);return e.$isTextNode(t)&&t.isSimpleText()?t.getTextContent():null})),a=i-r;let c=s.slice(0,a);null!==l&&l!==s?(r=e.$getPreviousSelection(),i=o,o.isSimpleText()?o.setTextContent(l):(i=e.$createTextNode(l),o.replace(i)),e.$isRangeSelection(r)&&r.isCollapsed()&&(r=r.anchor.offset,i.select(r,r))):o.isSimpleText()?(l=n.key===u,(s=n.offset)<r&&(s=i),r=l?s-r:0,i=l?s:a,l&&0===r?([r]=o.splitText(r,i),r.remove()):([,r]=o.splitText(r,i),r.remove())):(r=e.$createTextNode(c),o.replace(r)),r=0}}},G}();return P=e}function q(){if(D)return W;D=1;var e=V(),t=K();function n(e,t){for(let n of t)if(e.type.startsWith(n))return!0;return!1}function r(e,n){for(;e!==t.$getRoot()&&null!=e;){if(n(e))return e;e=e.getParent()}return null}function o(e){return 1===e.nodeType}return W.$splitNode=t.$splitNode,W.$dfs=function(e,n){let r=[];e=(e||t.$getRoot()).getLatest(),n=n||(t.$isElementNode(e)?e.getLastDescendant():e);for(var o=e,i=0;null!==(o=o.getParent());)i++;for(o=i;null!==e&&!e.is(n);)if(r.push({depth:o,node:e}),t.$isElementNode(e)&&0<e.getChildrenSize())e=e.getFirstChild(),o++;else for(i=null;null===i&&null!==e;)null===(i=e.getNextSibling())?(e=e.getParent(),o--):e=i;return null!==e&&e.is(n)&&r.push({depth:o,node:e}),r},W.$findMatchingParent=r,W.$getNearestBlockElementAncestorOrThrow=function(e){let n=r(e,(e=>t.$isElementNode(e)&&!e.isInline()));return t.$isElementNode(n)||function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(4,e.__key),n},W.$getNearestNodeOfType=function(e,t){for(;null!=e;){if(e instanceof t)return e;e=e.getParent()}return null},W.$insertNodeToNearestRoot=function(e){var n=t.$getSelection()||t.$getPreviousSelection();if(t.$isRangeSelection(n)){var{focus:r}=n;if(n=r.getNode(),r=r.offset,t.$isRootOrShadowRoot(n))null==(r=n.getChildAtIndex(r))?n.append(e):r.insertBefore(e),e.selectNext();else{let o,i;t.$isTextNode(n)?(o=n.getParentOrThrow(),i=n.getIndexWithinParent(),0<r&&(i+=1,n.splitText(r))):(o=n,i=r),[,n]=t.$splitNode(o,i),n.insertBefore(e),n.selectStart()}}else t.$isNodeSelection(n)||t.DEPRECATED_$isGridSelection(n)?(n=n.getNodes())[n.length-1].getTopLevelElementOrThrow().insertAfter(e):t.$getRoot().append(e),n=t.$createParagraphNode(),e.insertAfter(n),n.select();return e.getLatest()},W.$restoreEditorState=function(n,r){let o=new Map,i=n._pendingEditorState;for(let[n,i]of r._nodeMap){let r=e.$cloneWithProperties(i);t.$isTextNode(r)&&(r.__text=i.__text),o.set(n,r)}i&&(i._nodeMap=o),n._dirtyType=2,n=r._selection,t.$setSelection(null===n?null:n.clone())},W.$wrapNodeInElement=function(e,t){return t=t(),e.replace(t),t.append(e),t},W.addClassNamesToElement=function(e,...t){t.forEach((t=>{"string"==typeof t&&(t=t.split(" ").filter((e=>""!==e)),e.classList.add(...t))}))},W.isHTMLAnchorElement=function(e){return o(e)&&"A"===e.tagName},W.isHTMLElement=o,W.isMimeType=n,W.mediaFileReader=function(e,t){let r=e[Symbol.iterator]();return new Promise(((e,o)=>{let i=[],a=()=>{const{done:l,value:s}=r.next();if(l)return e(i);const u=new FileReader;u.addEventListener("error",o),u.addEventListener("load",(()=>{const e=u.result;"string"==typeof e&&i.push({file:s,result:e}),a()})),n(s,t)?u.readAsDataURL(s):a()};a()}))},W.mergeRegister=function(...e){return()=>{e.forEach((e=>e()))}},W.objectKlassEquals=function(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name},W.registerNestedElementResolver=function(e,t,n,r){return e.registerNodeTransform(t,(e=>{e:{for(var o=e.getChildren(),i=0;i<o.length;i++)if(o[i]instanceof t){o=null;break e}for(o=e;null!==o;)if(i=o,(o=o.getParent())instanceof t){o={child:i,parent:o};break e}o=null}if(null!==o){const{child:t,parent:a}=o;if(t.is(e)){if(r(a,e),o=(e=t.getNextSiblings()).length,a.insertAfter(t),0!==o){i=n(a),t.insertAfter(i);for(let t=0;t<o;t++)i.append(e[t])}a.canBeEmpty()||0!==a.getChildrenSize()||a.remove()}}}))},W.removeClassNamesFromElement=function(e,...t){t.forEach((t=>{"string"==typeof t&&e.classList.remove(...t.split(" "))}))},W}function Q(){if(z)return $;z=1;const e=q();return $=e}function X(){if(H)return B;H=1;const e=function(){if(F)return j;F=1;var e=Q(),t=K();let n=new Set(["http:","https:","mailto:","sms:","tel:"]);class r extends t.ElementNode{static getType(){return"link"}static clone(e){return new r(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e,t={},n){super(n);let{target:r=null,rel:o=null,title:i=null}=t;this.__url=e,this.__target=r,this.__rel=o,this.__title=i}createDOM(t){let n=document.createElement("a");return n.href=this.sanitizeUrl(this.__url),null!==this.__target&&(n.target=this.__target),null!==this.__rel&&(n.rel=this.__rel),null!==this.__title&&(n.title=this.__title),e.addClassNamesToElement(n,t.theme.link),n}updateDOM(e,t){let n=this.__url,r=this.__target,o=this.__rel,i=this.__title;return n!==e.__url&&(t.href=n),r!==e.__target&&(r?t.target=r:t.removeAttribute("target")),o!==e.__rel&&(o?t.rel=o:t.removeAttribute("rel")),i!==e.__title&&(i?t.title=i:t.removeAttribute("title")),!1}static importDOM(){return{a:()=>({conversion:o,priority:1})}}static importJSON(e){let t=i(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}sanitizeUrl(e){try{let t=new URL(e);if(!n.has(t.protocol))return"about:blank"}catch(e){}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),type:"link",url:this.getURL(),version:1}}getURL(){return this.getLatest().__url}setURL(e){this.getWritable().__url=e}getTarget(){return this.getLatest().__target}setTarget(e){this.getWritable().__target=e}getRel(){return this.getLatest().__rel}setRel(e){this.getWritable().__rel=e}getTitle(){return this.getLatest().__title}setTitle(e){this.getWritable().__title=e}insertNewAfter(e,n=!0){return e=this.getParentOrThrow().insertNewAfter(e,n),t.$isElementNode(e)?(n=i(this.__url,{rel:this.__rel,target:this.__target,title:this.__title}),e.append(n),n):null}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,n){if(!t.$isRangeSelection(n))return!1;e=n.anchor.getNode();let r=n.focus.getNode();return this.isParentOf(e)&&this.isParentOf(r)&&0<n.getTextContent().length}}function o(t){let n=null;if(e.isHTMLAnchorElement(t)){let e=t.textContent;null!==e&&""!==e&&(n=i(t.getAttribute("href")||"",{rel:t.getAttribute("rel"),target:t.getAttribute("target"),title:t.getAttribute("title")}))}return{node:n}}function i(e,n){return t.$applyNodeReplacement(new r(e,n))}function a(e){return e instanceof r}class l extends r{static getType(){return"autolink"}static clone(e){return new l(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}static importJSON(e){let t=s(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),type:"autolink",version:1}}insertNewAfter(e,n=!0){return e=this.getParentOrThrow().insertNewAfter(e,n),t.$isElementNode(e)?(n=s(this.__url,{rel:this._rel,target:this.__target,title:this.__title}),e.append(n),n):null}}function s(e,n){return t.$applyNodeReplacement(new l(e,n))}let u=t.createCommand("TOGGLE_LINK_COMMAND");return j.$createAutoLinkNode=s,j.$createLinkNode=i,j.$isAutoLinkNode=function(e){return e instanceof l},j.$isLinkNode=a,j.AutoLinkNode=l,j.LinkNode=r,j.TOGGLE_LINK_COMMAND=u,j.toggleLink=function(e,n={}){let{target:r,title:o}=n,l=void 0===n.rel?"noreferrer":n.rel;if(n=t.$getSelection(),t.$isRangeSelection(n))if(n=n.extract(),null===e)n.forEach((e=>{if(a(e=e.getParent())){let t=e.getChildren();for(let n=0;n<t.length;n++)e.insertBefore(t[n]);e.remove()}}));else{if(1===n.length){var s=n[0];if(s=a(s)?s:function(e,t){for(;null!==e&&null!==(e=e.getParent())&&!t(e););return e}(s,a),null!==s)return s.setURL(e),void 0!==r&&s.setTarget(r),null!==l&&s.setRel(l),void(void 0!==o&&s.setTitle(o))}let u=null,c=null;n.forEach((n=>{var s=n.getParent();if(s!==c&&null!==s&&(!t.$isElementNode(n)||n.isInline()))if(a(s))c=s,s.setURL(e),void 0!==r&&s.setTarget(r),null!==l&&c.setRel(l),void 0!==o&&c.setTitle(o);else if(s.is(u)||(u=s,c=i(e,{rel:l,target:r}),a(s)?null===n.getPreviousSibling()?s.insertBefore(c):s.insertAfter(c):n.insertBefore(c)),a(n)){if(!n.is(c)){if(null!==c){s=n.getChildren();for(let e=0;e<s.length;e++)c.append(s[e])}n.remove()}}else null!==c&&c.append(n)}))}},j}();return B=e}var J,Z,ee,te=X(),ne={};function re(){if(J)return ne;J=1;var e=K(),t=Q();function n(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function r(e){let t=1;for(e=e.getParent();null!=e;){if(y(e)){if(k(e=e.getParent())){t++,e=e.getParent();continue}n(40)}break}return t}function o(e){k(e=e.getParent())||n(40);let t=e;for(;null!==t;)t=t.getParent(),k(t)&&(e=t);return e}function i(e){let t=[];e=e.getChildren().filter(y);for(let n=0;n<e.length;n++){let r=e[n],o=r.getFirstChild();k(o)?t=t.concat(i(o)):t.push(r)}return t}function a(e){return y(e)&&k(e.getFirstChild())}function l(e){return b().append(e)}function s(e,t){return y(e)&&(0===t.length||1===t.length&&e.is(t[0])&&0===e.getChildrenSize())}function u(e,t){e.splice(e.getChildrenSize(),0,t)}function c(e,t){if(k(e))return e;let n=e.getPreviousSibling(),r=e.getNextSibling(),o=b();return o.setFormat(e.getFormatType()),o.setIndent(e.getIndent()),u(o,e.getChildren()),k(n)&&t===n.getListType()?(n.append(o),e.remove(),k(r)&&t===r.getListType()&&(u(n,r.getChildren()),r.remove()),n):k(r)&&t===r.getListType()?(r.getFirstChildOrThrow().insertBefore(o),e.remove(),r):((t=w(t)).append(o),e.replace(t),f(t),t)}function d(e,t){var n=e.getLastChild();let r=t.getFirstChild();n&&r&&a(n)&&a(r)&&(d(n.getFirstChild(),r.getFirstChild()),r.remove()),0<(n=t.getChildren()).length&&(e.append(...n),f(e)),t.remove()}function f(e,t){if(void 0!==(e=t||e.getChildren()))for(t=0;t<e.length;t++){let a=e[t];if(y(a)){let e=a.getValue();var r=a,o=r.getParent(),i=1;for(null!=o&&(k(o)?i=o.getStart():n(44)),r=r.getPreviousSiblings(),o=0;o<r.length;o++){let e=r[o];y(e)&&!k(e.getFirstChild())&&i++}e!==i&&a.setValue(i)}}}function p(e){if(!a(e)){var t=e.getParent(),n=t?t.getParent():void 0,r=n?n.getParent():void 0;if(k(r)&&y(n)&&k(t)){var o=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(e.is(o))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(i))n.insertAfter(e),t.isEmpty()&&n.remove();else{var l=t.getListType();o=b();let r=w(l);o.append(r),e.getPreviousSiblings().forEach((e=>r.append(e))),i=b(),l=w(l),i.append(l),u(l,e.getNextSiblings()),n.insertBefore(o),n.insertAfter(i),n.replace(e)}f(t),f(r)}}}class h extends e.ElementNode{static getType(){return"listitem"}static clone(e){return new h(e.__value,e.__checked,e.__key)}constructor(e,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}createDOM(e){let t=document.createElement("li"),n=this.getParent();return k(n)&&"check"===n.getListType()&&g(t,this,null),t.value=this.__value,m(t,e.theme,this),t}updateDOM(e,t,n){let r=this.getParent();return k(r)&&"check"===r.getListType()&&g(t,this,e),t.value=this.__value,m(t,n.theme,this),!1}static transform(){return e=>{let t=e.getParent();k(t)&&(f(t),"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0))}}static importDOM(){return{li:()=>({conversion:v,priority:0})}}static importJSON(e){let t=b();return t.setChecked(e.checked),t.setValue(e.value),t.setFormat(e.format),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),type:"listitem",value:this.getValue(),version:1}}append(...t){for(let n=0;n<t.length;n++){let r=t[n];if(e.$isElementNode(r)&&this.canMergeWith(r)){let e=r.getChildren();this.append(...e),r.remove()}else super.append(r)}return this}replace(e,t){if(y(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!k(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=w(n.getListType()),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}return t&&this.getChildren().forEach((t=>{e.append(t)})),this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){var r=this.getParentOrThrow();k(r)||n(39);var o=this.getNextSiblings();if(y(e))return t=super.insertAfter(e,t),k(e=e.getParentOrThrow())&&f(e),t;if(k(e)){for(r=e,o=(e=e.getChildren()).length-1;0<=o;o--)r=e[o],this.insertAfter(r,t);return r}if(r.insertAfter(e,t),0!==o.length){let n=w(r.getListType());o.forEach((e=>n.append(e))),e.insertAfter(n,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&a(t)&&a(n)?(d(t.getFirstChild(),n.getFirstChild()),n.remove()):n&&(k(e=n.getParent())&&f(e))}insertNewAfter(e,t=!0){return e=b(null==this.__checked&&void 0),this.insertAfter(e,t),e}collapseAtStart(t){let n=e.$createParagraphNode();this.getChildren().forEach((e=>n.append(e)));var r=this.getParentOrThrow(),o=r.getParentOrThrow();let i=y(o);return 1===r.getChildrenSize()?i?(r.remove(),o.select()):(r.insertBefore(n),r.remove(),r=t.anchor,t=t.focus,o=n.getKey(),"element"===r.type&&r.getNode().is(this)&&r.set(o,r.offset,"element"),"element"===t.type&&t.getNode().is(this)&&t.set(o,t.offset,"element")):(r.insertBefore(n),this.remove()),!0}getValue(){return this.getLatest().__value}setValue(e){this.getWritable().__value=e}getChecked(){return this.getLatest().__checked}setChecked(e){this.getWritable().__checked=e}toggleChecked(){this.setChecked(!this.__checked)}getIndent(){var e=this.getParent();if(null===e)return this.getLatest().__indent;e=e.getParentOrThrow();let t=0;for(;y(e);)e=e.getParentOrThrow().getParentOrThrow(),t++;return t}setIndent(e){"number"==typeof e&&-1<e||n(117);let t=this.getIndent();for(;t!==e;)if(t<e){e:{var r=new Set;if(a(this)||r.has(this.getKey()))break e;let e=this.getParent();var o=this.getNextSibling(),i=this.getPreviousSibling();if(a(o)&&a(i)){if(k(i=i.getFirstChild())){i.append(this);var l=o.getFirstChild();k(l)&&(u(i,l=l.getChildren()),o.remove(),r.add(o.getKey())),f(i)}}else a(o)?k(o=o.getFirstChild())&&(null!==(r=o.getFirstChild())&&r.insertBefore(this),f(o)):a(i)?k(o=i.getFirstChild())&&(o.append(this),f(o)):k(e)&&(r=b(),l=w(e.getListType()),r.append(l),l.append(this),i?i.insertAfter(r):o?o.insertBefore(r):e.append(r),f(l));k(e)&&f(e)}t++}else p(this),t--;return this}insertBefore(e){if(y(e)){let e=this.getParentOrThrow();if(k(e)){f(e,this.getNextSiblings())}}return super.insertBefore(e)}canInsertAfter(e){return y(e)}canReplaceWith(e){return y(e)}canMergeWith(t){return e.$isParagraphNode(t)||y(t)}extractWithChild(t,n){if(!e.$isRangeSelection(n))return!1;t=n.anchor.getNode();let r=n.focus.getNode();return this.isParentOf(t)&&this.isParentOf(r)&&this.getTextContent().length===n.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return w("bullet")}}function m(e,n,r){let o=[],i=[];var a=(n=n.list)?n.listitem:void 0;if(n&&n.nested)var l=n.nested.listitem;if(void 0!==a&&(a=a.split(" "),o.push(...a)),n){a=k(a=r.getParent())&&"check"===a.getListType();let e=r.getChecked();a&&!e||i.push(n.listitemUnchecked),a&&e||i.push(n.listitemChecked),a&&o.push(e?n.listitemChecked:n.listitemUnchecked)}void 0!==l&&(l=l.split(" "),r.getChildren().some((e=>k(e)))?o.push(...l):i.push(...l)),0<i.length&&t.removeClassNamesFromElement(e,...i),0<o.length&&t.addClassNamesToElement(e,...o)}function g(e,t,n){k(t.getFirstChild())?(e.removeAttribute("role"),e.removeAttribute("tabIndex"),e.removeAttribute("aria-checked")):(e.setAttribute("role","checkbox"),e.setAttribute("tabIndex","-1"),n&&t.__checked===n.__checked||e.setAttribute("aria-checked",t.getChecked()?"true":"false"))}function v(e){return{node:b(e=t.isHTMLElement(e)&&"true"===e.getAttribute("aria-checked"))}}function b(t){return e.$applyNodeReplacement(new h(void 0,t))}function y(e){return e instanceof h}class x extends e.ElementNode{static getType(){return"list"}static clone(e){return new x(e.__listType||E[e.__tag],e.__start,e.__key)}constructor(e,t,n){super(n),this.__listType=e=E[e]||e,this.__tag="number"===e?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){let t=this.getWritable();t.__listType=e,t.__tag="number"===e?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e){let t=document.createElement(this.__tag);return 1!==this.__start&&t.setAttribute("start",String(this.__start)),t.__lexicalListType=this.__listType,_(t,e.theme,this),t}updateDOM(e,t,n){return e.__tag!==this.__tag||(_(t,n.theme,this),!1)}static importDOM(){return{ol:()=>({conversion:C,priority:0}),ul:()=>({conversion:C,priority:0})}}static importJSON(e){let t=w(e.listType,e.start);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportDOM(e){return({element:e}=super.exportDOM(e)),e&&(1!==this.__start&&e.setAttribute("start",String(this.__start)),"check"===this.__listType&&e.setAttribute("__lexicalListType","check")),{element:e}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag(),type:"list",version:1}}canBeEmpty(){return!1}canIndent(){return!1}append(...t){for(let r=0;r<t.length;r++){var n=t[r];if(y(n))super.append(n);else{let t=b();k(n)?t.append(n):e.$isElementNode(n)?(n=e.$createTextNode(n.getTextContent()),t.append(n)):t.append(n),super.append(t)}}return f(this),this}extractWithChild(e){return y(e)}}function _(e,n,o){let i=[],a=[];var l=n.list;if(void 0!==l){let e=l[`${o.__tag}Depth`]||[],t=(n=r(o)-1)%e.length;var s=e[t];let u,c=l[o.__tag];if(void 0!==(l=l.nested)&&l.list&&(u=l.list),void 0!==c&&i.push(c),void 0!==s)for(s=s.split(" "),i.push(...s),s=0;s<e.length;s++)s!==t&&a.push(o.__tag+s);void 0!==u&&(o=u.split(" "),1<n?i.push(...o):a.push(...o))}0<a.length&&t.removeClassNamesFromElement(e,...a),0<i.length&&t.addClassNamesToElement(e,...i)}function S(e){let t=[];for(let r=0;r<e.length;r++){var n=e[r];y(n)?(t.push(n),1<(n=n.getChildren()).length&&n.forEach((e=>{k(e)&&t.push(l(e))}))):t.push(l(n))}return t}function C(e){let n=e.nodeName.toLowerCase(),r=null;return"ol"===n?r=w("number",e.start):"ul"===n&&(r=t.isHTMLElement(e)&&"check"===e.getAttribute("__lexicallisttype")?w("check"):w("bullet")),{after:S,node:r}}let E={ol:"number",ul:"bullet"};function w(t,n=1){return e.$applyNodeReplacement(new x(t,n))}function k(e){return e instanceof x}let R=e.createCommand("INSERT_UNORDERED_LIST_COMMAND"),T=e.createCommand("INSERT_ORDERED_LIST_COMMAND"),A=e.createCommand("INSERT_CHECK_LIST_COMMAND"),N=e.createCommand("REMOVE_LIST_COMMAND");return ne.$createListItemNode=b,ne.$createListNode=w,ne.$getListDepth=r,ne.$handleListInsertParagraph=function(){var t=e.$getSelection();if(!e.$isRangeSelection(t)||!t.isCollapsed())return!1;if(!y(t=t.anchor.getNode())||""!==t.getTextContent())return!1;var r=o(t),i=t.getParent();k(i)||n(40);let a,l=i.getParent();if(e.$isRootOrShadowRoot(l))a=e.$createParagraphNode(),r.insertAfter(a);else{if(!y(l))return!1;a=b(),l.insertAfter(a)}if(a.select(),0<(r=t.getNextSiblings()).length){let t=w(i.getListType());e.$isParagraphNode(a)?a.insertAfter(t):((i=b()).append(t),a.insertAfter(i)),r.forEach((e=>{e.remove(),t.append(e)}))}return function(e){for(;null==e.getNextSibling()&&null==e.getPreviousSibling();){let t=e.getParent();if(null==t||!y(e)&&!k(e))break;e=t}e.remove()}(t),!0},ne.$isListItemNode=y,ne.$isListNode=k,ne.INSERT_CHECK_LIST_COMMAND=A,ne.INSERT_ORDERED_LIST_COMMAND=T,ne.INSERT_UNORDERED_LIST_COMMAND=R,ne.ListItemNode=h,ne.ListNode=x,ne.REMOVE_LIST_COMMAND=N,ne.insertList=function(t,n){t.update((()=>{var t=e.$getSelection();if(e.$isRangeSelection(t)||e.DEPRECATED_$isGridSelection(t)){var r=t.getNodes(),o=(t=t.anchor.getNode()).getParent();if(s(t,r))r=w(n),e.$isRootOrShadowRoot(o)?(t.replace(r),o=b(),e.$isElementNode(t)&&(o.setFormat(t.getFormatType()),o.setIndent(t.getIndent())),r.append(o)):y(t)&&(u(r,(t=t.getParentOrThrow()).getChildren()),t.replace(r));else for(t=new Set,o=0;o<r.length;o++){var i=r[o];if(e.$isElementNode(i)&&i.isEmpty()&&!t.has(i.getKey()))c(i,n);else if(e.$isLeafNode(i))for(i=i.getParent();null!=i;){let r=i.getKey();if(k(i)){if(!t.has(r)){var a=w(n);u(a,i.getChildren()),i.replace(a),f(a),t.add(r)}break}if(a=i.getParent(),e.$isRootOrShadowRoot(a)&&!t.has(r)){t.add(r),c(i,n);break}i=a}}}}))},ne.removeList=function(n){n.update((()=>{let n=e.$getSelection();if(e.$isRangeSelection(n)){var r=new Set,a=n.getNodes(),l=n.anchor.getNode();if(s(l,a))r.add(o(l));else for(l=0;l<a.length;l++){var c=a[l];e.$isLeafNode(c)&&(null!=(c=t.$getNearestNodeOfType(c,h))&&r.add(o(c)))}for(let t of r){r=t,a=i(t);for(let t of a)u(a=e.$createParagraphNode(),t.getChildren()),r.insertAfter(a),r=a,t.__key===n.anchor.key&&n.anchor.set(a.getKey(),0,"element"),t.__key===n.focus.key&&n.focus.set(a.getKey(),0,"element"),t.remove();t.remove()}}}))},ne}function oe(){if(ee)return Z;ee=1;const e=re();return Z=e}var ie,ae,le,se,ue,ce,de=oe(),fe={},pe={};function he(){if(ie)return pe;ie=1;var e=h();let t=e.createContext(null);return pe.LexicalComposerContext=t,pe.createLexicalComposerContext=function(e,t){let n=null;return null!=e&&(n=e[1]),{getTheme:function(){return null!=t?t:null!=n?n.getTheme():null}}},pe.useLexicalComposerContext=function(){let n=e.useContext(t);return null==n&&function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),n},pe}function me(){if(le)return ae;le=1;const e=he();return ae=e}function ge(){if(se)return fe;se=1;var e=me(),t=K(),n=h();let r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;var o=r?n.useLayoutEffect:n.useEffect;let i={tag:"history-merge"};return fe.LexicalComposer=function({initialConfig:a,children:l}){let s=n.useMemo((()=>{const{theme:n,namespace:o,editor__DEPRECATED:l,nodes:s,onError:u,editorState:c}=a,d=e.createLexicalComposerContext(null,n);let f=l||null;if(null===f){const e=t.createEditor({editable:a.editable,namespace:o,nodes:s,onError:t=>u(t,e),theme:n});!function(e,n){if(null!==n)if(void 0===n)e.update((()=>{var n=t.$getRoot();if(n.isEmpty()){let o=t.$createParagraphNode();n.append(o),n=r?document.activeElement:null,(null!==t.$getSelection()||null!==n&&n===e.getRootElement())&&o.select()}}),i);else if(null!==n)switch(typeof n){case"string":let r=e.parseEditorState(n);e.setEditorState(r,i);break;case"object":e.setEditorState(n,i);break;case"function":e.update((()=>{t.$getRoot().isEmpty()&&n(e)}),i)}}(e,c),f=e}return[f,d]}),[]);return o((()=>{let e=a.editable,[t]=s;t.setEditable(void 0===e||e)}),[]),n.createElement(e.LexicalComposerContext.Provider,{value:s},l)},fe}var ve,be,ye,xe,_e,Se,Ce=function(){if(ce)return ue;ce=1;const e=ge();return ue=e}(),Ee={},we={};function ke(){if(ve)return we;ve=1;var e=Q(),t=K();function n(e,n){let r=Date.now(),o=0;return(i,a,l,s,u,c)=>{let d=Date.now();if(c.has("historic"))return o=0,r=d,2;let f=function(e,n,r,o,i){if(null===e||0===r.size&&0===o.size&&!i)return 0;var a=n._selection,l=e._selection;if(i)return 1;if(!(t.$isRangeSelection(a)&&t.$isRangeSelection(l)&&l.isCollapsed()&&a.isCollapsed()))return 0;i=n._nodeMap;let s=[];for(let e of r)void 0!==(r=i.get(e))&&s.push(r);for(let[e,n]of o)n&&(void 0===(o=i.get(e))||t.$isRootNode(o)||s.push(o));return 0===s.length?0:1<s.length?(n=(o=n._nodeMap).get(a.anchor.key),l=o.get(l.anchor.key),n&&l&&!e._nodeMap.has(n.__key)&&t.$isTextNode(n)&&1===n.__text.length&&1===a.anchor.offset?2:0):(n=s[0],e=e._nodeMap.get(n.__key),t.$isTextNode(e)&&t.$isTextNode(n)&&e.__mode===n.__mode?(e=e.__text)===(n=n.__text)?0:(a=a.anchor,l=l.anchor,a.key!==l.key||"text"!==a.type?0:(a=a.offset,l=l.offset,1==(e=n.length-e.length)&&l===a-1?2:-1===e&&l===a+1?3:-1===e&&l===a?4:0)):0)}(i,a,s,u,e.isComposing()),p=(()=>{var p=null===l||l.editor===e,h=c.has("history-push");if(!h&&p&&c.has("history-merge"))return 0;if(null===i)return 1;var m=a._selection;if(!(0<s.size||0<u.size))return null!==m?0:2;if(!1===h&&0!==f&&f===o&&d<r+n&&p)return 0;if(1===s.size){{h=Array.from(s)[0],p=i._nodeMap.get(h),h=a._nodeMap.get(h),m=i._selection;let e=a._selection,n=!1;t.$isRangeSelection(m)&&t.$isRangeSelection(e)&&(n="element"===m.anchor.type&&"element"===m.focus.type&&"text"===e.anchor.type&&"text"===e.focus.type),p=!(n||!t.$isTextNode(p)||!t.$isTextNode(h))&&(p.__type===h.__type&&p.__text===h.__text&&p.__mode===h.__mode&&p.__detail===h.__detail&&p.__style===h.__style&&p.__format===h.__format&&p.__parent===h.__parent)}if(p)return 0}return 1})();return r=d,o=f,p}}return we.createEmptyHistoryState=function(){return{current:null,redoStack:[],undoStack:[]}},we.registerHistory=function(r,o,i){let a=n(r,i);i=({editorState:e,prevEditorState:n,dirtyLeaves:i,dirtyElements:l,tags:s})=>{const u=o.current,c=o.redoStack,d=o.undoStack,f=null===u?null:u.editorState;if(null===u||e!==f){if(1===(n=a(n,e,u,i,l,s)))0!==c.length&&(o.redoStack=[],r.dispatchCommand(t.CAN_REDO_COMMAND,!1)),null!==u&&(d.push({...u}),r.dispatchCommand(t.CAN_UNDO_COMMAND,!0));else if(2===n)return;o.current={editor:r,editorState:e}}};let l=e.mergeRegister(r.registerCommand(t.UNDO_COMMAND,(()=>{let e=o.redoStack,n=o.undoStack;if(0!==n.length){let i=o.current,a=n.pop();null!==i&&(e.push(i),r.dispatchCommand(t.CAN_REDO_COMMAND,!0)),0===n.length&&r.dispatchCommand(t.CAN_UNDO_COMMAND,!1),o.current=a||null,a&&a.editor.setEditorState(a.editorState,{tag:"historic"})}return!0}),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.REDO_COMMAND,(()=>{let e=o.redoStack;var n=o.undoStack;if(0!==e.length){let i=o.current;null!==i&&(n.push(i),r.dispatchCommand(t.CAN_UNDO_COMMAND,!0)),n=e.pop(),0===e.length&&r.dispatchCommand(t.CAN_REDO_COMMAND,!1),o.current=n||null,n&&n.editor.setEditorState(n.editorState,{tag:"historic"})}return!0}),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.CLEAR_EDITOR_COMMAND,(()=>(o.undoStack=[],o.redoStack=[],o.current=null,!1)),t.COMMAND_PRIORITY_EDITOR),r.registerCommand(t.CLEAR_HISTORY_COMMAND,(()=>(o.undoStack=[],o.redoStack=[],o.current=null,r.dispatchCommand(t.CAN_REDO_COMMAND,!1),r.dispatchCommand(t.CAN_UNDO_COMMAND,!1),!0)),t.COMMAND_PRIORITY_EDITOR),r.registerUpdateListener(i)),s=r.registerUpdateListener(i);return()=>{l(),s()}},we}function Re(){if(xe)return Ee;xe=1;var e=me(),t=function(){if(ye)return be;ye=1;const e=ke();return be=e}(),n=h();return Ee.createEmptyHistoryState=t.createEmptyHistoryState,Ee.HistoryPlugin=function({externalHistoryState:r}){let[o]=e.useLexicalComposerContext();return function(e,r,o=1e3){let i=n.useMemo((()=>r||t.createEmptyHistoryState()),[r]);n.useEffect((()=>t.registerHistory(e,i,o)),[o,e,i])}(o,r),null},Ee}var Te,Ae,Ne,Le=function(){if(Se)return _e;Se=1;const e=Re();return _e=e}(),Me={};function Oe(){if(Te)return Me;Te=1;var e=oe(),t=me(),n=h(),r=Q(),o=K();return Me.ListPlugin=function(){let[i]=t.useLexicalComposerContext();return n.useEffect((()=>{if(!i.hasNodes([e.ListNode,e.ListItemNode]))throw Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")}),[i]),function(t){n.useEffect((()=>r.mergeRegister(t.registerCommand(e.INSERT_ORDERED_LIST_COMMAND,(()=>(e.insertList(t,"number"),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(e.INSERT_UNORDERED_LIST_COMMAND,(()=>(e.insertList(t,"bullet"),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(e.REMOVE_LIST_COMMAND,(()=>(e.removeList(t),!0)),o.COMMAND_PRIORITY_LOW),t.registerCommand(o.INSERT_PARAGRAPH_COMMAND,(()=>!!e.$handleListInsertParagraph()),o.COMMAND_PRIORITY_LOW))),[t])}(i),null},Me}var Pe,Ie,De,$e=function(){if(Ne)return Ae;Ne=1;const e=Oe();return Ae=e}(),ze={};function Fe(){if(Pe)return ze;Pe=1;var e=me(),t=Q(),n=K(),r=h();function o(e){return e.registerCommand(n.KEY_TAB_COMMAND,(r=>{let o=n.$getSelection();return!!n.$isRangeSelection(o)&&(r.preventDefault(),r=function(e){var r=e.getNodes();if(0<function(e,t){let n=[];for(let r=0;r<e.length;r++){let o=t(e[r]);null!==o&&n.push(o)}return n}(r,(e=>n.$isBlockElementNode(e)&&e.canIndent()?e:null)).length)return!0;if(r=e.anchor,r=(e=(e=e.focus).isBefore(r)?e:r).getNode(),(r=t.$getNearestBlockElementAncestorOrThrow(r)).canIndent()){r=r.getKey();let t=n.$createRangeSelection();if(t.anchor.set(r,0,"element"),t.focus.set(r,0,"element"),t=n.$normalizeSelection__EXPERIMENTAL(t),t.anchor.is(e))return!0}return!1}(o)?r.shiftKey?n.OUTDENT_CONTENT_COMMAND:n.INDENT_CONTENT_COMMAND:n.INSERT_TAB_COMMAND,e.dispatchCommand(r,void 0))}),n.COMMAND_PRIORITY_EDITOR)}return ze.TabIndentationPlugin=function(){let[t]=e.useLexicalComposerContext();return r.useEffect((()=>o(t))),null},ze.registerTabIndentation=o,ze}var Be,He,je,We,Ge,Ye,Ue,Ke,Ve,qe=function(){if(De)return Ie;De=1;const e=Fe();return Ie=e}(),Qe={},Xe={},Je={};function Ze(){if(je)return He;je=1;const e=function(){if(Be)return Je;Be=1;var e=V(),t=K();function n(r,o,i,a=null){let l=null==a||o.isSelected(a),s=t.$isElementNode(o)&&o.excludeFromCopy("html");var u=o;null!==a&&(u=e.$cloneWithProperties(o),u=t.$isTextNode(u)&&null!=a?e.$sliceSelectedTextNodeContent(a,u):u);let c=t.$isElementNode(u)?u.getChildren():[],{element:d,after:f}=u.exportDOM(r);if(!d)return!1;let p=document.createDocumentFragment();for(let e=0;e<c.length;e++){let i=c[e],s=n(r,i,p,a);!l&&t.$isElementNode(o)&&s&&o.extractWithChild(i,a,"html")&&(l=!0)}return l&&!s?(d.append(p),i.append(d),f&&(r=f.call(u,d))&&d.replaceWith(r)):i.append(p),l}let r=new Set(["STYLE","SCRIPT"]);function o(e,n,i=new Map,a){let l=[];if(r.has(e.nodeName))return l;let s=null;var u,{nodeName:c}=e,d=n._htmlConversions.get(c.toLowerCase());if(c=null,void 0!==d)for(u of d)null!==(d=u(e))&&(null===c||c.priority<d.priority)&&(c=d);if(c=(u=null!==c?c.conversion:null)?u(e):null,u=null,null!==c){if(u=c.after,d=c.node,s=Array.isArray(d)?d[d.length-1]:d,null!==s){for(var[,f]of i)if(s=f(s,a),!s)break;s&&l.push(...Array.isArray(d)?d:[s])}null!=c.forChild&&i.set(e.nodeName,c.forChild)}for(e=e.childNodes,a=[],f=0;f<e.length;f++)a.push(...o(e[f],n,new Map(i),s));return null!=u&&(a=u(a)),null==s?l=l.concat(a):t.$isElementNode(s)&&s.append(...a),l}return Je.$generateHtmlFromNodes=function(e,r){if("undefined"==typeof document||"undefined"==typeof window)throw Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");let o=document.createElement("div"),i=t.$getRoot().getChildren();for(let t=0;t<i.length;t++)n(e,i[t],o,r);return o.innerHTML},Je.$generateNodesFromDOM=function(e,t){t=t.body?t.body.childNodes:[];let n=[];for(let a=0;a<t.length;a++){var i=t[a];r.has(i.nodeName)||null!==(i=o(i,e))&&(n=n.concat(i))}return n},Je}();return He=e}function et(){if(We)return Xe;We=1;var e=Ze(),t=V(),n=Q(),r=K();function o(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(t){let n=r.$getSelection();if(null==n)throw Error("Expected valid LexicalSelection");return r.$isRangeSelection(n)&&n.isCollapsed()||0===n.getNodes().length?"":e.$generateHtmlFromNodes(t,n)}function l(e){let t=r.$getSelection();if(null==t)throw Error("Expected valid LexicalSelection");return r.$isRangeSelection(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(c(e,t))}function s(e,t,i){(r.DEPRECATED_$isGridSelection(i)||null!==n.$findMatchingParent(i.anchor.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e)))&&null!==n.$findMatchingParent(i.focus.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e))))&&1===t.length&&r.DEPRECATED_$isGridNode(t[0])?function(e,t,i,a){1===e.length&&r.DEPRECATED_$isGridNode(e[0])||o(42);var l=e[0];e=l.getChildren(),i=l.getFirstChildOrThrow().getChildrenSize();var s=l.getChildrenSize(),u=n.$findMatchingParent(t.anchor.getNode(),(e=>r.DEPRECATED_$isGridCellNode(e)));t=(l=u&&n.$findMatchingParent(u,(e=>r.DEPRECATED_$isGridRowNode(e))))&&n.$findMatchingParent(l,(e=>r.DEPRECATED_$isGridNode(e))),r.DEPRECATED_$isGridCellNode(u)&&r.DEPRECATED_$isGridRowNode(l)&&r.DEPRECATED_$isGridNode(t)||o(43);var c=l.getIndexWithinParent(),d=Math.min(t.getChildrenSize()-1,c+s-1);let f,p;s=u.getIndexWithinParent(),u=Math.min(l.getChildrenSize()-1,s+i-1),i=Math.min(s,u),l=Math.min(c,d),s=Math.max(s,u),c=Math.max(c,d),d=t.getChildren(),u=0;for(let t=l;t<=c;t++){var h=d[t];r.DEPRECATED_$isGridRowNode(h)||o(24);var m=e[u];r.DEPRECATED_$isGridRowNode(m)||o(24),h=h.getChildren(),m=m.getChildren();let n=0;for(let e=i;e<=s;e++){let a=h[e];r.DEPRECATED_$isGridCellNode(a)||o(25);let u=m[n];r.DEPRECATED_$isGridCellNode(u)||o(25),t===l&&e===i?f=a.getKey():t===c&&e===s&&(p=a.getKey());let d=a.getChildren();u.getChildren().forEach((e=>{r.$isTextNode(e)&&r.$createParagraphNode().append(e),a.append(e)})),d.forEach((e=>e.remove())),n++}u++}f&&p&&(e=r.DEPRECATED_$createGridSelection(),e.set(t.getKey(),f,p),r.$setSelection(e),a.dispatchCommand(r.SELECTION_CHANGE_COMMAND,void 0))}(t,i,!1,e):function(e,t){let n=[],i=null;for(let t=0;t<e.length;t++){let o=e[t],a=r.$isLineBreakNode(o);if(a||r.$isDecoratorNode(o)&&o.isInline()||r.$isElementNode(o)&&o.isInline()||r.$isTextNode(o)||o.isParentRequired()){if(null===i&&(i=o.createParentElementNode(),n.push(i),a))continue;null!==i&&i.append(o)}else n.push(o),i=null}r.$isRangeSelection(t)?t.insertNodes(n):r.DEPRECATED_$isGridSelection(t)&&(e=t.anchor.getNode(),r.DEPRECATED_$isGridCellNode(e)||o(41),e.append(...n))}(t,i)}function u(e,n,i,a=[]){let l=null==n||i.isSelected(n),s=r.$isElementNode(i)&&i.excludeFromCopy("html");var c=i;if(null!==n){var d=t.$cloneWithProperties(i);c=d=r.$isTextNode(d)&&null!=n?t.$sliceSelectedTextNodeContent(n,d):d}let f=r.$isElementNode(c)?c.getChildren():[];var p=c;d=p.exportJSON();var h=p.constructor;d.type!==h.getType()&&o(58,h.name);let m=d.children;for(r.$isElementNode(p)&&(Array.isArray(m)||o(59,h.name)),r.$isTextNode(c)&&(0<(c=c.__text).length?d.text=c:l=!1),c=0;c<f.length;c++)h=u(e,n,p=f[c],d.children),!l&&r.$isElementNode(i)&&h&&i.extractWithChild(p,n,"clone")&&(l=!0);if(l&&!s)a.push(d);else if(Array.isArray(d.children))for(e=0;e<d.children.length;e++)a.push(d.children[e]);return l}function c(e,t){let n=[],o=r.$getRoot().getChildren();for(let r=0;r<o.length;r++)u(e,t,o[r],n);return{namespace:e._config.namespace,nodes:n}}function d(e){let n=[];for(let o=0;o<e.length;o++){let i=r.$parseSerializedNode(e[o]);r.$isTextNode(i)&&t.$addNodeStyle(i),n.push(i)}return n}let f=null;function p(e,t){var n=i?(e._window||window).getSelection():null;if(!n)return!1;var o=n.anchorNode;if(n=n.focusNode,null!==o&&null!==n&&!r.isSelectionWithinEditor(e,o,n))return!1;if(t.preventDefault(),t=t.clipboardData,o=r.$getSelection(),null===t||null===o)return!1;n=a(e),e=l(e);let s="";return null!==o&&(s=o.getTextContent()),null!==n&&t.setData("text/html",n),null!==e&&t.setData("application/x-lexical-editor",e),t.setData("text/plain",s),!0}return Xe.$generateJSONFromSelectedNodes=c,Xe.$generateNodesFromSerializedNodes=d,Xe.$getHtmlContent=a,Xe.$getLexicalContent=l,Xe.$insertDataTransferForPlainText=function(e,t){null!=(e=e.getData("text/plain")||e.getData("text/uri-list"))&&t.insertRawText(e)},Xe.$insertDataTransferForRichText=function(t,n,o){var i=t.getData("application/x-lexical-editor");if(i)try{let e=JSON.parse(i);if(e.namespace===o._config.namespace&&Array.isArray(e.nodes)){return s(o,d(e.nodes),n)}}catch(e){}if(i=t.getData("text/html"))try{var a=(new DOMParser).parseFromString(i,"text/html"),l=e.$generateNodesFromDOM(o,a);return s(o,l,n)}catch(e){}if(null!=(t=t.getData("text/plain")||t.getData("text/uri-list")))if(r.$isRangeSelection(n))for(o=(t=t.split(/(\r?\n|\t)/)).length,a=0;a<o;a++)"\n"===(l=t[a])||"\r\n"===l?n.insertParagraph():"\t"===l?n.insertNodes([r.$createTabNode()]):n.insertText(l);else n.insertRawText(t)},Xe.$insertGeneratedNodes=s,Xe.copyToClipboard=async function(e,t){if(null!==f)return!1;if(null!==t)return new Promise((n=>{e.update((()=>{n(p(e,t))}))}));var o=e.getRootElement();let a=null==e._window?window.document:e._window.document,l=i?(e._window||window).getSelection():null;if(null===o||null===l)return!1;let s=a.createElement("span");return s.style.cssText="position: fixed; top: -1000px;",s.append(a.createTextNode("#")),o.append(s),(o=new Range).setStart(s,0),o.setEnd(s,1),l.removeAllRanges(),l.addRange(o),new Promise((t=>{let o=e.registerCommand(r.COPY_COMMAND,(r=>(n.objectKlassEquals(r,ClipboardEvent)&&(o(),null!==f&&(window.clearTimeout(f),f=null),t(p(e,r))),!0)),r.COMMAND_PRIORITY_CRITICAL);f=window.setTimeout((()=>{o(),f=null,t(!1)}),50),a.execCommand("copy"),s.remove()}))},Xe}function tt(){if(Ue)return Qe;Ue=1;var e=function(){if(Ye)return Ge;Ye=1;const e=et();return Ge=e}(),t=V(),n=Q(),r=K();function o(e,t){return void 0!==document.caretRangeFromPoint?null===(e=document.caretRangeFromPoint(e,t))?null:{node:e.startContainer,offset:e.startOffset}:"undefined"!==document.caretPositionFromPoint?null===(e=document.caretPositionFromPoint(e,t))?null:{node:e.offsetNode,offset:e.offset}:null}let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,a=i&&"documentMode"in document?document.documentMode:null,l=!(!i||!("InputEvent"in window)||a)&&"getTargetRanges"in new window.InputEvent("input"),s=i&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),u=i&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,c=i&&/^(?=.*Chrome).*/i.test(navigator.userAgent),d=i&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!c,f=r.createCommand("DRAG_DROP_PASTE_FILE");class p extends r.ElementNode{static getType(){return"quote"}static clone(e){return new p(e.__key)}constructor(e){super(e)}createDOM(e){let t=document.createElement("blockquote");return n.addClassNamesToElement(t,e.theme.quote),t}updateDOM(){return!1}static importDOM(){return{blockquote:()=>({conversion:b,priority:0})}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t)}return{element:e}}static importJSON(e){let t=h();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),type:"quote"}}insertNewAfter(e,t){e=r.$createParagraphNode();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=r.$createParagraphNode();return this.getChildren().forEach((t=>e.append(t))),this.replace(e),!0}}function h(){return r.$applyNodeReplacement(new p)}class m extends r.ElementNode{static getType(){return"heading"}static clone(e){return new m(e.__tag,e.__key)}constructor(e,t){super(t),this.__tag=e}getTag(){return this.__tag}createDOM(e){let t=this.__tag,r=document.createElement(t);return void 0!==(e=e.theme.heading)&&n.addClassNamesToElement(r,e[t]),r}updateDOM(){return!1}static importDOM(){return{h1:()=>({conversion:v,priority:0}),h2:()=>({conversion:v,priority:0}),h3:()=>({conversion:v,priority:0}),h4:()=>({conversion:v,priority:0}),h5:()=>({conversion:v,priority:0}),h6:()=>({conversion:v,priority:0}),p:e=>null!==(e=e.firstChild)&&g(e)?{conversion:()=>({node:null}),priority:3}:null,span:e=>g(e)?{conversion:()=>({node:y("h1")}),priority:3}:null}}exportDOM(e){if(({element:e}=super.exportDOM(e)),e&&this.isEmpty()&&e.append(document.createElement("br")),e){var t=this.getFormatType();e.style.textAlign=t,(t=this.getDirection())&&(e.dir=t)}return{element:e}}static importJSON(e){let t=y(e.tag);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),type:"heading",version:1}}insertNewAfter(e,t=!0){e=0<(e=e?e.anchor.offset:0)&&e<this.getTextContentSize()?y(this.getTag()):r.$createParagraphNode();let n=this.getDirection();return e.setDirection(n),this.insertAfter(e,t),e}collapseAtStart(){let e=this.isEmpty()?r.$createParagraphNode():y(this.getTag());return this.getChildren().forEach((t=>e.append(t))),this.replace(e),!0}extractWithChild(){return!0}}function g(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function v(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=y(t),null!==e.style&&n.setFormat(e.style.textAlign)),{node:n}}function b(e){let t=h();return null!==e.style&&t.setFormat(e.style.textAlign),{node:t}}function y(e){return r.$applyNodeReplacement(new m(e))}function x(e){let t=null;if(e instanceof DragEvent?t=e.dataTransfer:e instanceof ClipboardEvent&&(t=e.clipboardData),null===t)return[!1,[],!1];var n=t.types;return e=n.includes("Files"),n=n.includes("text/html")||n.includes("text/plain"),[e,Array.from(t.files),n]}function _(e){var t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;let o=new Set;t=t.getNodes();for(let r=0;r<t.length;r++){var i=t[r],a=i.getKey();o.has(a)||(a=(i=n.$getNearestBlockElementAncestorOrThrow(i)).getKey(),i.canIndent()&&!o.has(a)&&(o.add(a),e(i)))}return 0<o.size}function S(e){return e=r.$getNearestNodeFromDOMNode(e),r.$isDecoratorNode(e)}return Qe.$createHeadingNode=y,Qe.$createQuoteNode=h,Qe.$isHeadingNode=function(e){return e instanceof m},Qe.$isQuoteNode=function(e){return e instanceof p},Qe.DRAG_DROP_PASTE=f,Qe.HeadingNode=m,Qe.QuoteNode=p,Qe.eventFiles=x,Qe.registerRichText=function(i){return n.mergeRegister(i.registerCommand(r.CLICK_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isNodeSelection(e)&&(e.clear(),!0)}),0),i.registerCommand(r.DELETE_CHARACTER_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteCharacter(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DELETE_WORD_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteWord(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DELETE_LINE_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.deleteLine(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.CONTROLLED_TEXT_INSERTION_COMMAND,(t=>{const n=r.$getSelection();if("string"==typeof t)r.$isRangeSelection(n)?n.insertText(t):r.DEPRECATED_$isGridSelection(n);else{if(!r.$isRangeSelection(n)&&!r.DEPRECATED_$isGridSelection(n))return!1;const o=t.dataTransfer;null!=o?e.$insertDataTransferForRichText(o,n,i):r.$isRangeSelection(n)&&(t=t.data)&&n.insertText(t)}return!0}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.REMOVE_TEXT_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(e.removeText(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.FORMAT_TEXT_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.formatText(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.FORMAT_ELEMENT_COMMAND,(e=>{var t=r.$getSelection();if(!r.$isRangeSelection(t)&&!r.$isNodeSelection(t))return!1;t=t.getNodes();for(const o of t)t=n.$findMatchingParent(o,(e=>r.$isElementNode(e)&&!e.isInline())),null!==t&&t.setFormat(e);return!0}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_LINE_BREAK_COMMAND,(e=>{const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(t.insertLineBreak(e),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_PARAGRAPH_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(e.insertParagraph(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INSERT_TAB_COMMAND,(()=>(r.$insertNodes([r.$createTabNode()]),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.INDENT_CONTENT_COMMAND,(()=>_((e=>{const t=e.getIndent();e.setIndent(t+1)}))),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.OUTDENT_CONTENT_COMMAND,(()=>_((e=>{const t=e.getIndent();0<t&&e.setIndent(t-1)}))),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_UP_COMMAND,(e=>{var t=r.$getSelection();if(r.$isNodeSelection(t)&&!S(e.target)){if(0<(e=t.getNodes()).length)return e[0].selectPrevious(),!0}else if(r.$isRangeSelection(t)&&(t=r.$getAdjacentNode(t.focus,!0),!e.shiftKey&&r.$isDecoratorNode(t)&&!t.isIsolated()&&!t.isInline()))return t.selectPrevious(),e.preventDefault(),!0;return!1}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_DOWN_COMMAND,(e=>{var t=r.$getSelection();if(r.$isNodeSelection(t)){if(0<(e=t.getNodes()).length)return e[0].selectNext(0,0),!0}else if(r.$isRangeSelection(t)){let n=t.focus;if("root"===n.key&&n.offset===r.$getRoot().getChildrenSize())return e.preventDefault(),!0;if(t=r.$getAdjacentNode(t.focus,!1),!e.shiftKey&&r.$isDecoratorNode(t)&&!t.isIsolated()&&!t.isInline())return t.selectNext(),e.preventDefault(),!0}return!1}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_LEFT_COMMAND,(e=>{const n=r.$getSelection();if(r.$isNodeSelection(n)){var o=n.getNodes();if(0<o.length)return e.preventDefault(),o[0].selectPrevious(),!0}return!!r.$isRangeSelection(n)&&(!!t.$shouldOverrideDefaultCharacterSelection(n,!0)&&(o=e.shiftKey,e.preventDefault(),t.$moveCharacter(n,o,!0),!0))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ARROW_RIGHT_COMMAND,(e=>{const n=r.$getSelection();if(r.$isNodeSelection(n)&&!S(e.target)){var o=n.getNodes();if(0<o.length)return e.preventDefault(),o[0].selectNext(0,0),!0}return!!r.$isRangeSelection(n)&&(o=e.shiftKey,!!t.$shouldOverrideDefaultCharacterSelection(n,!1)&&(e.preventDefault(),t.$moveCharacter(n,o,!1),!0))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_BACKSPACE_COMMAND,(e=>{if(S(e.target))return!1;const t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;e.preventDefault(),({anchor:e}=t);const o=e.getNode();return t.isCollapsed()&&0===e.offset&&!r.$isRootNode(o)&&0<n.$getNearestBlockElementAncestorOrThrow(o).getIndent()?i.dispatchCommand(r.OUTDENT_CONTENT_COMMAND,void 0):i.dispatchCommand(r.DELETE_CHARACTER_COMMAND,!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_DELETE_COMMAND,(e=>{if(S(e.target))return!1;const t=r.$getSelection();return!!r.$isRangeSelection(t)&&(e.preventDefault(),i.dispatchCommand(r.DELETE_CHARACTER_COMMAND,!1))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ENTER_COMMAND,(e=>{const t=r.$getSelection();if(!r.$isRangeSelection(t))return!1;if(null!==e){if((u||s||d)&&l)return!1;if(e.preventDefault(),e.shiftKey)return i.dispatchCommand(r.INSERT_LINE_BREAK_COMMAND,!1)}return i.dispatchCommand(r.INSERT_PARAGRAPH_COMMAND,void 0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.KEY_ESCAPE_COMMAND,(()=>{const e=r.$getSelection();return!!r.$isRangeSelection(e)&&(i.blur(),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DROP_COMMAND,(e=>{const[,t]=x(e);if(0<t.length){var n=o(e.clientX,e.clientY);if(null!==n){const{offset:e,node:o}=n;var a=r.$getNearestNodeFromDOMNode(o);if(null!==a){if(n=r.$createRangeSelection(),r.$isTextNode(a))n.anchor.set(a.getKey(),e,"text"),n.focus.set(a.getKey(),e,"text");else{const e=a.getParentOrThrow().getKey();a=a.getIndexWithinParent()+1,n.anchor.set(e,a,"element"),n.focus.set(e,a,"element")}n=r.$normalizeSelection__EXPERIMENTAL(n),r.$setSelection(n)}i.dispatchCommand(f,t)}return e.preventDefault(),!0}return e=r.$getSelection(),!!r.$isRangeSelection(e)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DRAGSTART_COMMAND,(e=>{[e]=x(e);const t=r.$getSelection();return!(e&&!r.$isRangeSelection(t))}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.DRAGOVER_COMMAND,(e=>{var[t]=x(e);const n=r.$getSelection();return!(t&&!r.$isRangeSelection(n))&&(null!==(t=o(e.clientX,e.clientY))&&(t=r.$getNearestNodeFromDOMNode(t.node),r.$isDecoratorNode(t)&&e.preventDefault()),!0)}),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.COPY_COMMAND,(t=>(e.copyToClipboard(i,n.objectKlassEquals(t,ClipboardEvent)?t:null),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.CUT_COMMAND,(t=>(async function(t,o){await e.copyToClipboard(o,n.objectKlassEquals(t,ClipboardEvent)?t:null),o.update((()=>{let e=r.$getSelection();r.$isRangeSelection(e)?e.removeText():r.$isNodeSelection(e)&&e.getNodes().forEach((e=>e.remove()))}))}(t,i),!0)),r.COMMAND_PRIORITY_EDITOR),i.registerCommand(r.PASTE_COMMAND,(t=>{const[,n,o]=x(t);if(0<n.length&&!o)return i.dispatchCommand(f,n),!0;if(r.isSelectionCapturedInDecoratorInput(t.target))return!1;const a=r.$getSelection();return!(!r.$isRangeSelection(a)&&!r.DEPRECATED_$isGridSelection(a))&&(function(t,n){t.preventDefault(),n.update((()=>{let o=r.$getSelection(),i=t instanceof InputEvent||t instanceof KeyboardEvent?null:t.clipboardData;null!=i&&(r.$isRangeSelection(o)||r.DEPRECATED_$isGridSelection(o))&&e.$insertDataTransferForRichText(i,o,n)}),{tag:"paste"})}(t,i),!0)}),r.COMMAND_PRIORITY_EDITOR))},Qe}function nt(){if(Ve)return Ke;Ve=1;const e=tt();return Ke=e}var rt,ot,it,at=nt(),lt={};function st(){if(rt)return lt;rt=1;var e=X(),t=me(),n=Q(),r=K(),o=h();function i(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}let a=/[.,;\s]/;function l(e){var t;return e=e.getPreviousSibling(),r.$isElementNode(e)&&(e=e.getLastDescendant()),!(t=null===e||r.$isLineBreakNode(e))&&(t=r.$isTextNode(e))&&(e=e.getTextContent(),t=a.test(e[e.length-1])),t}function s(e){return e=e.getNextSibling(),r.$isElementNode(e)&&(e=e.getFirstDescendant()),null===e||r.$isLineBreakNode(e)||r.$isTextNode(e)&&a.test(e.getTextContent()[0])}function u(e,t,n){var o=e.getChildren();let a=o.length;for(let t=0;t<a;t++){let i=o[t];if(!r.$isTextNode(i)||!i.isSimpleText())return c(e),void n(null,e.getURL())}null===(t=i(o=e.getTextContent(),t))||t.text!==o?(c(e),n(null,e.getURL())):l(e)&&s(e)?((o=e.getURL())!==t.url&&(e.setURL(t.url),n(t.url,o)),t.attributes&&((o=e.getRel())!==t.attributes.rel&&(e.setRel(t.attributes.rel||null),n(t.attributes.rel||null,o)),(o=e.getTarget())!==t.attributes.target&&(e.setTarget(t.attributes.target||null),n(t.attributes.target||null,o)))):(c(e),n(null,e.getURL()))}function c(e){let t=e.getChildren();var n=t.length;for(--n;0<=n;n--)e.insertAfter(t[n]);return e.remove(),t.map((e=>e.getLatest()))}function d(t,d,f){o.useEffect((()=>{t.hasNodes([e.AutoLinkNode])||function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(77);let o=(e,t)=>{f&&f(e,t)};return n.mergeRegister(t.registerNodeTransform(r.TextNode,(t=>{var n=t.getParentOrThrow(),p=t.getPreviousSibling();if(e.$isAutoLinkNode(n))u(n,d,o);else if(!e.$isLinkNode(n)){if(t.isSimpleText()&&(a.test(t.getTextContent()[0])||!e.$isAutoLinkNode(p))){p=n=t.getTextContent();let o=0,u=t;for(var h;(h=i(p,d))&&null!==h;){let i=h.index,c=h.length,d=i+c;var m=o+i,g=o+d,v=n,b=t;if((0<m?a.test(v[m-1]):l(b))&&(g<v.length?a.test(v[g]):s(b))){var y=void 0;0===o+i?[y,u]=u.splitText(o+c):[,y,u]=u.splitText(o+i,o+i+c),m=e.$createAutoLinkNode(h.url,h.attributes),(g=r.$createTextNode(h.text)).setFormat(y.getFormat()),g.setDetail(y.getDetail()),m.append(g),y.replace(m),f&&f(h.url,null),o=0}else o+=d;p=p.substring(d)}}n=t.getPreviousSibling(),h=t.getNextSibling(),y=t.getTextContent(),e.$isAutoLinkNode(n)&&!a.test(y[0])&&(n.append(t),u(n,d,o),t=n.getURL(),f&&f(null,t)),e.$isAutoLinkNode(h)&&!a.test(y[y.length-1])&&(c(h),u(h,d,o),t=h.getURL(),f&&f(null,t))}})))}),[t,d,f])}return lt.AutoLinkPlugin=function({matchers:e,onChange:n}){let[r]=t.useLexicalComposerContext();return d(r,e,n),null},lt.createLinkMatcherWithRegExp=function(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(n)}}},lt}var ut,ct,dt,ft,pt=function(){if(it)return ot;it=1;const e=st();return ot=e}(),ht=me();function mt(){if(ct)return ut;ct=1;var e=me(),t=h(),n="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function r(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}return ut=function(){return function(r){let[o]=e.useLexicalComposerContext(),i=t.useMemo((()=>r(o)),[o,r]),a=t.useRef(i.initialValueFn()),[l,s]=t.useState(a.current);return n((()=>{let{initialValueFn:e,subscribe:t}=i,n=e();return a.current!==n&&(a.current=n,s(n)),t((e=>{a.current=e,s(e)}))}),[i,r]),l}(r)},ut}function gt(){if(ft)return dt;ft=1;const e=mt();return dt=e}var vt=o(gt()),bt=Q(),yt=K(),xt=V();const _t={black:"#000",white:"#fff"},St="#e57373",Ct="#ef5350",Et="#f44336",wt="#d32f2f",kt="#c62828",Rt="#f3e5f5",Tt="#ce93d8",At="#ba68c8",Nt="#ab47bc",Lt="#9c27b0",Mt="#7b1fa2",Ot="#e3f2fd",Pt="#90caf9",It="#42a5f5",Dt="#1976d2",$t="#1565c0",zt="#4fc3f7",Ft="#29b6f6",Bt="#03a9f4",Ht="#0288d1",jt="#01579b",Wt="#81c784",Gt="#66bb6a",Yt="#4caf50",Ut="#388e3c",Kt="#2e7d32",Vt="#1b5e20",qt="#ffb74d",Qt="#ffa726",Xt="#ff9800",Jt="#f57c00",Zt="#e65100",en={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function tn(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var nn=Object.freeze({__proto__:null,default:tn}),rn="$$material";function on(){return on=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},on.apply(null,arguments)}function an(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var ln=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?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=void 0===e.speedy||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(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),sn="-ms-",un="-moz-",cn="-webkit-",dn="comm",fn="rule",pn="decl",hn="@keyframes",mn=Math.abs,gn=String.fromCharCode,vn=Object.assign;function bn(e){return e.trim()}function yn(e,t,n){return e.replace(t,n)}function xn(e,t){return e.indexOf(t)}function _n(e,t){return 0|e.charCodeAt(t)}function Sn(e,t,n){return e.slice(t,n)}function Cn(e){return e.length}function En(e){return e.length}function wn(e,t){return t.push(e),e}var kn=1,Rn=1,Tn=0,An=0,Nn=0,Ln="";function Mn(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:kn,column:Rn,length:a,return:""}}function On(e,t){return vn(Mn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pn(){return Nn=An>0?_n(Ln,--An):0,Rn--,10===Nn&&(Rn=1,kn--),Nn}function In(){return Nn=An<Tn?_n(Ln,An++):0,Rn++,10===Nn&&(Rn=1,kn++),Nn}function Dn(){return _n(Ln,An)}function $n(){return An}function zn(e,t){return Sn(Ln,e,t)}function Fn(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 Bn(e){return kn=Rn=1,Tn=Cn(Ln=e),An=0,[]}function Hn(e){return Ln="",e}function jn(e){return bn(zn(An-1,Yn(91===e?e+2:40===e?e+1:e)))}function Wn(e){for(;(Nn=Dn())&&Nn<33;)In();return Fn(e)>2||Fn(Nn)>3?"":" "}function Gn(e,t){for(;--t&&In()&&!(Nn<48||Nn>102||Nn>57&&Nn<65||Nn>70&&Nn<97););return zn(e,$n()+(t<6&&32==Dn()&&32==In()))}function Yn(e){for(;In();)switch(Nn){case e:return An;case 34:case 39:34!==e&&39!==e&&Yn(Nn);break;case 40:41===e&&Yn(e);break;case 92:In()}return An}function Un(e,t){for(;In()&&e+Nn!==57&&(e+Nn!==84||47!==Dn()););return"/*"+zn(t,An-1)+"*"+gn(47===e?e:In())}function Kn(e){for(;!Fn(Dn());)In();return zn(e,An)}function Vn(e){return Hn(qn("",null,null,null,[""],e=Bn(e),0,[0],e))}function qn(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,v=1,b=0,y="",x=o,_=i,S=r,C=y;g;)switch(h=b,b=In()){case 40:if(108!=h&&58==_n(C,d-1)){-1!=xn(C+=yn(jn(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=jn(b);break;case 9:case 10:case 13:case 32:C+=Wn(h);break;case 92:C+=Gn($n()-1,7);continue;case 47:switch(Dn()){case 42:case 47:wn(Xn(Un(In(),$n()),t,n),s);break;default:C+="/"}break;case 123*m:l[u++]=Cn(C)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==v&&(C=yn(C,/\f/g,"")),p>0&&Cn(C)-d&&wn(p>32?Jn(C+";",r,n,d-1):Jn(yn(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(wn(S=Qn(C,t,n,u,c,o,l,y,x=[],_=[],d),i),123===b)if(0===c)qn(C,t,S,S,x,i,d,l,_);else switch(99===f&&110===_n(C,3)?100:f){case 100:case 108:case 109:case 115:qn(e,S,S,r&&wn(Qn(e,S,S,0,0,o,l,y,o,x=[],d),_),o,_,d,l,r?x:_);break;default:qn(C,S,S,S,[""],_,0,l,_)}}u=c=p=0,m=v=1,y=C="",d=a;break;case 58:d=1+Cn(C),p=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Pn())continue;switch(C+=gn(b),b*m){case 38:v=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(Cn(C)-1)*v,v=1;break;case 64:45===Dn()&&(C+=jn(In())),f=Dn(),c=d=Cn(y=C+=Kn($n())),b++;break;case 45:45===h&&2==Cn(C)&&(m=0)}}return i}function Qn(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,f=0===o?i:[""],p=En(f),h=0,m=0,g=0;h<r;++h)for(var v=0,b=Sn(e,d+1,d=mn(m=a[h])),y=e;v<p;++v)(y=bn(m>0?f[v]+" "+b:yn(b,/&\f/g,f[v])))&&(s[g++]=y);return Mn(e,t,n,0===o?fn:l,s,u,c)}function Xn(e,t,n){return Mn(e,t,n,dn,gn(Nn),Sn(e,2,-2),0)}function Jn(e,t,n,r){return Mn(e,t,n,pn,Sn(e,0,r),Sn(e,r+1,-1),r)}function Zn(e,t){for(var n="",r=En(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function er(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pn:return e.return=e.return||e.value;case dn:return"";case hn:return e.return=e.value+"{"+Zn(e.children,r)+"}";case fn:e.value=e.props.join(",")}return Cn(n=Zn(e.children,r))?e.return=e.value+"{"+n+"}":""}function tr(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nr=function(e,t,n){for(var r=0,o=0;r=o,o=Dn(),38===r&&12===o&&(t[n]=1),!Fn(o);)In();return zn(e,An)},rr=function(e,t){return Hn(function(e,t){var n=-1,r=44;do{switch(Fn(r)){case 0:38===r&&12===Dn()&&(t[n]=1),e[n]+=nr(An-1,t,n);break;case 2:e[n]+=jn(r);break;case 4:if(44===r){e[++n]=58===Dn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=gn(r)}}while(r=In());return e}(Bn(e),t))},or=new WeakMap,ir=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||or.get(n))&&!r){or.set(e,!0);for(var o=[],i=rr(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},ar=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function lr(e,t){switch(function(e,t){return 45^_n(e,0)?(((t<<2^_n(e,0))<<2^_n(e,1))<<2^_n(e,2))<<2^_n(e,3):0}(e,t)){case 5103:return cn+"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 cn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return cn+e+un+e+sn+e+e;case 6828:case 4268:return cn+e+sn+e+e;case 6165:return cn+e+sn+"flex-"+e+e;case 5187:return cn+e+yn(e,/(\w+).+(:[^]+)/,cn+"box-$1$2"+sn+"flex-$1$2")+e;case 5443:return cn+e+sn+"flex-item-"+yn(e,/flex-|-self/,"")+e;case 4675:return cn+e+sn+"flex-line-pack"+yn(e,/align-content|flex-|-self/,"")+e;case 5548:return cn+e+sn+yn(e,"shrink","negative")+e;case 5292:return cn+e+sn+yn(e,"basis","preferred-size")+e;case 6060:return cn+"box-"+yn(e,"-grow","")+cn+e+sn+yn(e,"grow","positive")+e;case 4554:return cn+yn(e,/([^-])(transform)/g,"$1"+cn+"$2")+e;case 6187:return yn(yn(yn(e,/(zoom-|grab)/,cn+"$1"),/(image-set)/,cn+"$1"),e,"")+e;case 5495:case 3959:return yn(e,/(image-set\([^]*)/,cn+"$1$`$1");case 4968:return yn(yn(e,/(.+:)(flex-)?(.*)/,cn+"box-pack:$3"+sn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+cn+e+e;case 4095:case 3583:case 4068:case 2532:return yn(e,/(.+)-inline(.+)/,cn+"$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(Cn(e)-1-t>6)switch(_n(e,t+1)){case 109:if(45!==_n(e,t+4))break;case 102:return yn(e,/(.+:)(.+)-([^]+)/,"$1"+cn+"$2-$3$1"+un+(108==_n(e,t+3)?"$3":"$2-$3"))+e;case 115:return~xn(e,"stretch")?lr(yn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==_n(e,t+1))break;case 6444:switch(_n(e,Cn(e)-3-(~xn(e,"!important")&&10))){case 107:return yn(e,":",":"+cn)+e;case 101:return yn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+cn+(45===_n(e,14)?"inline-":"")+"box$3$1"+cn+"$2$3$1"+sn+"$2box$3")+e}break;case 5936:switch(_n(e,t+11)){case 114:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return cn+e+sn+yn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return cn+e+sn+e+e}return e}var sr,ur,cr,dr,fr=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pn:e.return=lr(e.value,e.length);break;case hn:return Zn([On(e,{value:yn(e.value,"@","@"+cn)})],r);case fn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zn([On(e,{props:[yn(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Zn([On(e,{props:[yn(t,/:(plac\w+)/,":"+cn+"input-$1")]}),On(e,{props:[yn(t,/:(plac\w+)/,":-moz-$1")]}),On(e,{props:[yn(t,/:(plac\w+)/,sn+"input-$1")]})],r)}return""}))}}],pr=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||fr,a={},l=[];r=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++)a[t[n]]=!0;l.push(e)}));var s,u,c=[er,(u=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=En(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ir,ar].concat(i,c));o=function(e,t,n,r){s=n,function(e){Zn(Vn(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new ln({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return f.sheet.hydrate(l),f},hr={exports:{}},mr={};function gr(){return ur||(ur=1,hr.exports=function(){if(sr)return mr;sr=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case u:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case a:return e;default:return f}}case n:return f}}}function x(e){return y(e)===u}return mr.AsyncMode=s,mr.ConcurrentMode=u,mr.ContextConsumer=l,mr.ContextProvider=a,mr.Element=t,mr.ForwardRef=c,mr.Fragment=r,mr.Lazy=h,mr.Memo=p,mr.Portal=n,mr.Profiler=i,mr.StrictMode=o,mr.Suspense=d,mr.isAsyncMode=function(e){return x(e)||y(e)===s},mr.isConcurrentMode=x,mr.isContextConsumer=function(e){return y(e)===l},mr.isContextProvider=function(e){return y(e)===a},mr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mr.isForwardRef=function(e){return y(e)===c},mr.isFragment=function(e){return y(e)===r},mr.isLazy=function(e){return y(e)===h},mr.isMemo=function(e){return y(e)===p},mr.isPortal=function(e){return y(e)===n},mr.isProfiler=function(e){return y(e)===i},mr.isStrictMode=function(e){return y(e)===o},mr.isSuspense=function(e){return y(e)===d},mr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===i||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===m)},mr.typeOf=y,mr}()),hr.exports}var vr=function(){if(dr)return cr;dr=1;var e=gr(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=Object.prototype;return cr=function e(t,r,o){if("string"!=typeof r){if(d){var f=c(r);f&&f!==d&&e(t,f,o)}var p=l(r);s&&(p=p.concat(s(r)));for(var h=i(t),m=i(r),g=0;g<p.length;++g){var v=p[g];if(!(n[v]||o&&o[v]||m&&m[v]||h&&h[v])){var b=u(r,v);try{a(t,v,b)}catch(e){}}}}return t},cr}(),br=o(vr);function yr(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var xr=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},_r=function(e,t,n){xr(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Sr={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},Cr=/[A-Z]|^ms/g,Er=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wr=function(e){return 45===e.charCodeAt(1)},kr=function(e){return null!=e&&"boolean"!=typeof e},Rr=tr((function(e){return wr(e)?e:e.replace(Cr,"-$&").toLowerCase()})),Tr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Er,(function(e,t,n){return Nr={name:t,styles:n,next:Nr},t}))}return 1===Sr[e]||wr(e)||"number"!=typeof t||0===t?t:t+"px"};function Ar(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Nr={name:o.name,styles:o.styles,next:Nr},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Nr={name:a.name,styles:a.styles,next:Nr},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ar(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":kr(l)&&(r+=Rr(i)+":"+Tr(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ar(e,t,a);switch(i){case"animation":case"animationName":r+=Rr(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)kr(a[u])&&(r+=Rr(i)+":"+Tr(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=Nr,s=n(e);return Nr=l,Ar(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Nr,Lr=/label:\s*([^\s;{]+)\s*(;|$)/g;function Mr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Nr=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ar(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Ar(n,t,e[a]),r)o+=i[a]}Lr.lastIndex=0;for(var l,s="";null!==(l=Lr.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Nr}}var Or,Pr,Ir=!!T.useInsertionEffect&&T.useInsertionEffect,Dr=Ir||function(e){return e()},$r=Ir||k.useLayoutEffect,zr=k.createContext("undefined"!=typeof HTMLElement?pr({key:"css"}):null),Fr=zr.Provider,Br=function(e){return k.forwardRef((function(t,n){var r=k.useContext(zr);return e(t,r,n)}))},Hr=k.createContext({}),jr={}.hasOwnProperty,Wr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return xr(t,n,r),Dr((function(){return _r(t,n,r)})),null},Yr=Br((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Wr],i=[r],a="";"string"==typeof e.className?a=yr(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Mr(i,void 0,k.useContext(Hr));a+=t.key+"-"+l.name;var s={};for(var u in e)jr.call(e,u)&&"css"!==u&&u!==Wr&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),k.createElement(k.Fragment,null,k.createElement(Gr,{cache:t,serialized:l,isStringTag:"string"==typeof o}),k.createElement(o,s))})),Ur=Yr,Kr=function(e,t){var n=arguments;if(null==t||!jr.call(t,"css"))return k.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ur,o[1]=function(e,t){var n={};for(var r in t)jr.call(t,r)&&(n[r]=t[r]);return n[Wr]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return k.createElement.apply(null,o)};Or=Kr||(Kr={}),Pr||(Pr=Or.JSX||(Or.JSX={}));var Vr=Br((function(e,t){var n=Mr([e.styles],void 0,k.useContext(Hr)),r=k.useRef();return $r((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}}),[t]),$r((function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&_r(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}}),[t,n.name]),null}));function qr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mr(t)}function Qr(){var e=qr.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 Xr=/^((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|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)-.*))$/,Jr=tr((function(e){return Xr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Zr=function(e){return"theme"!==e},eo=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jr:Zr},to=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},no=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return xr(t,n,r),Dr((function(){return _r(t,n,r)})),null},ro=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=to(t,n,i),s=l||eo(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var f=c[0];d.push(f[0]);for(var p=c.length,h=1;h<p;h++)d.push(c[h],f[h])}var m=Br((function(e,t,n){var r=u&&e.as||a,i="",c=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=k.useContext(Hr)}"string"==typeof e.className?i=yr(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Mr(d.concat(c),t.registered,f);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===l?eo(r):s,g={};for(var v in e)u&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=i,n&&(g.ref=n),k.createElement(k.Fragment,null,k.createElement(no,{cache:t,serialized:h,isStringTag:"string"==typeof r}),k.createElement(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,on({},n,r,{shouldForwardProp:to(m,r,!0)})).apply(void 0,d)},m}}.bind(null);["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"].forEach((function(e){ro[e]=ro(e)}));var oo,io,ao,lo,so,uo={exports:{}};function co(){if(io)return oo;io=1;return oo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function fo(){if(lo)return ao;lo=1;var e=co();function t(){}function n(){}return n.resetWarningCache=t,ao=function(){function r(t,n,r,o,i,a){if(a!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function po(){return so||(so=1,uo.exports=fo()()),uo.exports}var ho,mo,go=o(po()),vo={exports:{}},bo={};var yo=(mo||(mo=1,vo.exports=function(){if(ho)return bo;ho=1;var e=h(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var l,s={},u=null,c=null;for(l in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!i.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return bo.Fragment=n,bo.jsx=a,bo.jsxs=a,bo}()),vo.exports);const xo=new Map;function _o(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return yo.jsx(Vr,{styles:r})}
|
|
17
17
|
/**
|
|
18
|
-
* @mui/styled-engine v5.
|
|
18
|
+
* @mui/styled-engine v5.18.0
|
|
19
19
|
*
|
|
20
20
|
* @license MIT
|
|
21
21
|
* This source code is licensed under the MIT license found in the
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/function uo(e,t){return to(e,t)}"object"==typeof document&&(ao=pr({key:"css",prepend:!0}));const co=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var fo=Object.freeze({__proto__:null,GlobalStyles:so,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&ao?lo.jsx(zr,{value:ao,children:n}):n},ThemeContext:Fr,css:Yr,default:uo,internal_processStyles:co,keyframes:Vr});function po(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function ho(e){if(k.isValidElement(e)||!po(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=ho(e[n])})),t}function mo(e,t,n={clone:!0}){const r=n.clone?on({},e):e;return po(e)&&po(t)&&Object.keys(t).forEach((o=>{k.isValidElement(t[o])?r[o]=t[o]:po(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&po(e[o])?r[o]=mo(e[o],t[o],n):n.clone?r[o]=po(t[o])?ho(t[o]):t[o]:r[o]=t[o]})),r}var go=Object.freeze({__proto__:null,default:mo,isPlainObject:po});const vo=["values","unit","step"];function bo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ln(e,vo),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>on({},e,{[t.key]:t.val})),{})})(t),l=Object.keys(i);function a(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=l.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[l[i]]?t[l[i]]:o)-r/100}${n})`}return on({keys:l,values:i,up:a,down:s,between:u,only:function(e){return l.indexOf(e)+1<l.length?u(e,l[l.indexOf(e)+1]):a(e)},not:function(e){const t=l.indexOf(e);return 0===t?a(l[1]):t===l.length-1?s(l[t]):u(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const yo={borderRadius:4};function xo(e,t){return t?mo(e,t,{clone:!1}):e}const _o={xs:0,sm:600,md:900,lg:1200,xl:1536},Co={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_o[e]}px)`};function Eo(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Co;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Co;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||_o).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function wo(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function So(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function ko({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}function To(e){if("string"!=typeof e)throw new Error(tn(7));return e.charAt(0).toUpperCase()+e.slice(1)}var No=Object.freeze({__proto__:null,default:To});function Ro(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Ao(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Ro(e,n)||r,t&&(o=t(o,r,e)),o}function Lo(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],l=Ro(e.theme,r)||{};return Eo(e,i,(e=>{let r=Ao(l,o,e);return e===r&&"string"==typeof e&&(r=Ao(l,o,`${t}${"default"===e?"":To(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Mo={m:"margin",p:"padding"},Oo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Po={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Io=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Po[e])return[e];e=Po[e]}const[t,n]=e.split(""),r=Mo[t],o=Oo[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Do=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function $o(e,t,n,r){var o;const i=null!=(o=Ro(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Fo(e){return $o(e,"spacing",8)}function Bo(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Ho(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Bo(t,n),e)),{})}(Io(n),r);return Eo(e,e[n],o)}function jo(e,t){const n=Fo(e.theme);return Object.keys(e).map((r=>Ho(e,t,r,n))).reduce(xo,{})}function Wo(e){return jo(e,Do)}function Ko(e){return jo(e,zo)}function Uo(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?xo(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Go(e){return"number"!=typeof e?e:`${e}px solid`}function Yo(e,t){return Lo({prop:e,themeKey:"borders",transform:t})}Wo.propTypes={},Wo.filterProps=Do,Ko.propTypes={},Ko.filterProps=zo;const Vo=Yo("border",Go),Qo=Yo("borderTop",Go),qo=Yo("borderRight",Go),Xo=Yo("borderBottom",Go),Jo=Yo("borderLeft",Go),Zo=Yo("borderColor"),ei=Yo("borderTopColor"),ti=Yo("borderRightColor"),ni=Yo("borderBottomColor"),ri=Yo("borderLeftColor"),oi=Yo("outline",Go),ii=Yo("outlineColor"),li=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=$o(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Bo(t,e)});return Eo(e,e.borderRadius,n)}return null};li.propTypes={},li.filterProps=["borderRadius"],Uo(Vo,Qo,qo,Xo,Jo,Zo,ei,ti,ni,ri,li,oi,ii);const ai=e=>{if(void 0!==e.gap&&null!==e.gap){const t=$o(e.theme,"spacing",8),n=e=>({gap:Bo(t,e)});return Eo(e,e.gap,n)}return null};ai.propTypes={},ai.filterProps=["gap"];const si=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=$o(e.theme,"spacing",8),n=e=>({columnGap:Bo(t,e)});return Eo(e,e.columnGap,n)}return null};si.propTypes={},si.filterProps=["columnGap"];const ui=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=$o(e.theme,"spacing",8),n=e=>({rowGap:Bo(t,e)});return Eo(e,e.rowGap,n)}return null};ui.propTypes={},ui.filterProps=["rowGap"];function ci(e,t){return"grey"===t?t:e}Uo(ai,si,ui,Lo({prop:"gridColumn"}),Lo({prop:"gridRow"}),Lo({prop:"gridAutoFlow"}),Lo({prop:"gridAutoColumns"}),Lo({prop:"gridAutoRows"}),Lo({prop:"gridTemplateColumns"}),Lo({prop:"gridTemplateRows"}),Lo({prop:"gridTemplateAreas"}),Lo({prop:"gridArea"}));function di(e){return e<=1&&0!==e?100*e+"%":e}Uo(Lo({prop:"color",themeKey:"palette",transform:ci}),Lo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ci}),Lo({prop:"backgroundColor",themeKey:"palette",transform:ci}));const fi=Lo({prop:"width",transform:di}),pi=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||_o[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:di(t)}};return Eo(e,e.maxWidth,t)}return null};pi.filterProps=["maxWidth"];const hi=Lo({prop:"minWidth",transform:di}),mi=Lo({prop:"height",transform:di}),gi=Lo({prop:"maxHeight",transform:di}),vi=Lo({prop:"minHeight",transform:di});Lo({prop:"size",cssProperty:"width",transform:di}),Lo({prop:"size",cssProperty:"height",transform:di});Uo(fi,pi,hi,mi,gi,vi,Lo({prop:"boxSizing"}));const bi={border:{themeKey:"borders",transform:Go},borderTop:{themeKey:"borders",transform:Go},borderRight:{themeKey:"borders",transform:Go},borderBottom:{themeKey:"borders",transform:Go},borderLeft:{themeKey:"borders",transform:Go},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Go},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:li},color:{themeKey:"palette",transform:ci},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ci},backgroundColor:{themeKey:"palette",transform:ci},p:{style:Ko},pt:{style:Ko},pr:{style:Ko},pb:{style:Ko},pl:{style:Ko},px:{style:Ko},py:{style:Ko},padding:{style:Ko},paddingTop:{style:Ko},paddingRight:{style:Ko},paddingBottom:{style:Ko},paddingLeft:{style:Ko},paddingX:{style:Ko},paddingY:{style:Ko},paddingInline:{style:Ko},paddingInlineStart:{style:Ko},paddingInlineEnd:{style:Ko},paddingBlock:{style:Ko},paddingBlockStart:{style:Ko},paddingBlockEnd:{style:Ko},m:{style:Wo},mt:{style:Wo},mr:{style:Wo},mb:{style:Wo},ml:{style:Wo},mx:{style:Wo},my:{style:Wo},margin:{style:Wo},marginTop:{style:Wo},marginRight:{style:Wo},marginBottom:{style:Wo},marginLeft:{style:Wo},marginX:{style:Wo},marginY:{style:Wo},marginInline:{style:Wo},marginInlineStart:{style:Wo},marginInlineEnd:{style:Wo},marginBlock:{style:Wo},marginBlockStart:{style:Wo},marginBlockEnd:{style:Wo},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:ai},rowGap:{style:ui},columnGap:{style:si},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:di},maxWidth:{style:pi},minWidth:{transform:di},height:{transform:di},maxHeight:{transform:di},minHeight:{transform:di},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function yi(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:l=e,themeKey:a,transform:s,style:u}=i;if(null==t)return null;if("typography"===a&&"inherit"===t)return{[e]:t};const c=Ro(n,a)||{};if(u)return u(o);return Eo(o,t,(t=>{let n=Ao(c,s,t);return t===n&&"string"==typeof t&&(n=Ao(c,s,`${e}${"default"===t?"":To(t)}`,t)),!1===l?n:{[l]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=null!=(r=i.unstable_sxConfig)?r:bi;function a(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=wo(i.breakpoints),a=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(a=r[n],u=i,"function"==typeof a?a(u):a);var a,u;if(null!=o)if("object"==typeof o)if(l[n])s=xo(s,e(n,o,i,l));else{const e=Eo({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=xo(s,e):s[n]=t({sx:o,theme:i})}else s=xo(s,e(n,o,i,l))})),So(a,s)}return Array.isArray(o)?o.map(a):a(o)}}const xi=yi();function _i(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}xi.filterProps=["sx"];const Ci=["breakpoints","palette","spacing","shape"];function Ei(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ln(e,Ci),a=bo(n),s=function(e=8){if(e.mui)return e;const t=Fo({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let u=mo({breakpoints:a,direction:"ltr",components:{},palette:on({mode:"light"},r),spacing:s,shape:on({},yo,i)},l);return u.applyStyles=_i,u=t.reduce(((e,t)=>mo(e,t)),u),u.unstable_sxConfig=on({},bi,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return xi({sx:e,theme:this})},u}var wi=Object.freeze({__proto__:null,default:Ei,private_createBreakpoints:bo,unstable_applyStyles:_i});function Si(e=null){const t=k.useContext(Fr);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const ki=Ei();function Ti(e=ki){return Si(e)}function Ni({styles:e,themeId:t,defaultTheme:n={}}){const r=Ti(n),o="function"==typeof e?e(t&&r[t]||r):e;return lo.jsx(so,{styles:o})}const Ri=["sx"];function Ai(e){const{sx:t}=e,n=ln(e,Ri),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:bi;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return po(n)?on({},r,n):r}:on({},r,t),on({},o,{sx:i})}var Li=Object.freeze({__proto__:null,default:xi,extendSxProp:Ai,unstable_createStyleFunctionSx:yi,unstable_defaultSxConfig:bi});const Mi=e=>e,Oi=(()=>{let e=Mi;return{configure(t){e=t},generate:t=>e(t),reset(){e=Mi}}})();function Pi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Pi(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ii(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Pi(e))&&(r&&(r+=" "),r+=t);return r}const Di=["className","component"];const zi={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 $i(e,t,n="Mui"){const r=zi[t];return r?`${n}-${r}`:`${Oi.generate(e)}-${t}`}function Fi(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=$i(e,t,n)})),r}var Bi,Hi,ji={exports:{}},Wi={};function Ki(){if(Bi)return Wi;Bi=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function h(p){if("object"==typeof p&&null!==p){var h=p.$$typeof;switch(h){case e:switch(p=p.type){case n:case o:case r:case s:case u:case f:return p;default:switch(p=p&&p.$$typeof){case l:case a:case d:case c:case i:return p;default:return h}}case t:return h}}}return Wi.ContextConsumer=i,Wi.ContextProvider=l,Wi.Element=e,Wi.ForwardRef=a,Wi.Fragment=n,Wi.Lazy=d,Wi.Memo=c,Wi.Portal=t,Wi.Profiler=o,Wi.StrictMode=r,Wi.Suspense=s,Wi.SuspenseList=u,Wi.isContextConsumer=function(e){return h(e)===i},Wi.isContextProvider=function(e){return h(e)===l},Wi.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Wi.isForwardRef=function(e){return h(e)===a},Wi.isFragment=function(e){return h(e)===n},Wi.isLazy=function(e){return h(e)===d},Wi.isMemo=function(e){return h(e)===c},Wi.isPortal=function(e){return h(e)===t},Wi.isProfiler=function(e){return h(e)===o},Wi.isStrictMode=function(e){return h(e)===r},Wi.isSuspense=function(e){return h(e)===s},Wi.isSuspenseList=function(e){return h(e)===u},Wi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===s||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===l||e.$$typeof===i||e.$$typeof===a||e.$$typeof===p||void 0!==e.getModuleId)},Wi.typeOf=h,Wi}function Ui(){return Hi||(Hi=1,ji.exports=Ki()),ji.exports}var Gi=Ui();const Yi=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Vi(e){const t=`${e}`.match(Yi);return t&&t[1]||""}function Qi(e,t=""){return e.displayName||e.name||Vi(e)||t}function qi(e,t,n){const r=Qi(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Xi=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Qi(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Gi.ForwardRef:return qi(e,e.render,"ForwardRef");case Gi.Memo:return qi(e,e.type,"memo");default:return}}},getFunctionName:Vi});const Ji=["ownerState"],Zi=["variants"],el=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tl(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const nl=Ei(),rl=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function ol({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function il(e){return e?(t,n)=>n[e]:null}function ll(e,t){let{ownerState:n}=t,r=ln(t,Ji);const o="function"==typeof e?e(on({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>ll(e,on({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=ln(o,Zi);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(on({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(on({ownerState:n},r,n)):e.style))})),t}return o}const al=function(e={}){const{themeId:t,defaultTheme:n=nl,rootShouldForwardProp:r=tl,slotShouldForwardProp:o=tl}=e,i=e=>xi(on({},e,{theme:ol(on({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,l={})=>{co(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:a,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=il(rl(s))}=l,f=ln(l,el),p=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,h=c||!1;let m=tl;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=uo(e,on({shouldForwardProp:m,label:undefined},f)),v=e=>"function"==typeof e&&e.__emotion_real!==e||po(e)?r=>ll(e,on({},r,{theme:ol({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=(r,...o)=>{let l=v(r);const s=o?o.map(v):[];a&&d&&s.push((e=>{const r=ol(on({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[a]||!r.components[a].styleOverrides)return null;const o=r.components[a].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=ll(n,on({},e,{theme:r}))})),d(e,i)})),a&&!p&&s.push((e=>{var r;const o=ol(on({},e,{defaultTheme:n,themeId:t}));return ll({variants:null==o||null==(r=o.components)||null==(r=r[a])?void 0:r.variants},on({},e,{theme:o}))})),h||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");l=[...r,...e],l.raw=[...r.raw,...e]}const c=g(l,...s);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(b.withConfig=g.withConfig),b}}();function sl(e,t){const n=on({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=on({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=on({},i),Object.keys(o).forEach((e=>{n[r][e]=sl(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function ul({props:e,name:t,defaultTheme:n,themeId:r}){let o=Ti(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?sl(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}const cl="undefined"!=typeof window?k.useLayoutEffect:k.useEffect;function dl(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var fl=Object.freeze({__proto__:null,default:dl});function pl(e){if(e.type)return e;if("#"===e.charAt(0))return pl(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(tn(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(tn(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function hl(e,t){return e=pl(e),t=function(e,t=0,n=1){return dl(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function ml(e){return e&&e.ownerDocument||document}function gl(e){return ml(e).defaultView||window}function vl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let bl=0;const yl=N["useId".toString()];function xl(e){if(void 0!==yl){const t=yl();return null!=e?e:t}return function(e){const[t,n]=k.useState(e),r=e||t;return k.useEffect((()=>{null==t&&(bl+=1,n(`mui-${bl}`))}),[t]),r}(e)}function _l(e){const t=k.useRef(e);return cl((()=>{t.current=e})),k.useRef(((...e)=>(0,t.current)(...e))).current}function Cl(...e){return k.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{vl(e,t)}))}),e)}const El={};const wl=[];class Sl{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Sl}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function kl(){const e=function(e,t){const n=k.useRef(El);return n.current===El&&(n.current=e(t)),n}(Sl.create).current;return function(e){k.useEffect(e,wl)}(e.disposeEffect),e}let Tl=!0,Nl=!1;const Rl=new Sl,Al={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ll(e){e.metaKey||e.altKey||e.ctrlKey||(Tl=!0)}function Ml(){Tl=!1}function Ol(){"hidden"===this.visibilityState&&Nl&&(Tl=!0)}function Pl(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Tl||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Al[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Il(){const e=k.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ll,!0),t.addEventListener("mousedown",Ml,!0),t.addEventListener("pointerdown",Ml,!0),t.addEventListener("touchstart",Ml,!0),t.addEventListener("visibilitychange",Ol,!0))}),[]),t=k.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Pl(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Nl=!0,Rl.start(100,(()=>{Nl=!1})),t.current=!1,!0)},ref:e}}function Dl(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}function zl(e){return"string"==typeof e}function $l(e,t,n){return void 0===e||zl(e)?t:on({},t,{ownerState:on({},t.ownerState,n)})}function Fl(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Bl(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Ii(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=on({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),l=on({},n,o,r);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}const l=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(on({},o,r)),a=Fl(r),s=Fl(o),u=t(l),c=Ii(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=on({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=on({},u,n,s,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const Hl=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function jl(e){var t;return parseInt(k.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Wl=k.createContext(null);function Kl(){return k.useContext(Wl)}var Ul="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Gl(e){const{children:t,theme:n}=e,r=Kl(),o=k.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return on({},e,t)}(r,n);return null!=e&&(e[Ul]=null!==r),e}),[n,r]);return lo.jsx(Wl.Provider,{value:o,children:t})}const Yl=["value"],Vl=k.createContext();function Ql(e){let{value:t}=e,n=ln(e,Yl);return lo.jsx(Vl.Provider,on({value:null==t||t},n))}const ql=k.createContext(void 0);function Xl({value:e,children:t}){return lo.jsx(ql.Provider,{value:e,children:t})}function Jl({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?sl(o.defaultProps,r):o.styleOverrides||o.variants?r:sl(o,r)}({props:e,name:t,theme:{components:k.useContext(ql)}})}const Zl={};function ea(e,t,n,r=!1){return k.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),l=e?on({},t,{[e]:i}):i;return r?()=>l:l}return on({},t,e?{[e]:n}:n)}),[e,t,n,r])}function ta(e){const{children:t,theme:n,themeId:r}=e,o=Si(Zl),i=Kl()||Zl,l=ea(r,o,n),a=ea(r,i,n,!0),s="rtl"===l.direction;return lo.jsx(Gl,{theme:a,children:lo.jsx(Fr.Provider,{value:l,children:lo.jsx(Ql,{value:s,children:lo.jsx(Xl,{value:null==l?void 0:l.components,children:t})})})})}const na=["component","direction","spacing","divider","children","className","useFlexGap"],ra=Ei(),oa=al("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ia(e){return ul({props:e,name:"MuiStack",defaultTheme:ra})}function la(e,t){const n=k.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(k.cloneElement(t,{key:`separator-${o}`})),e)),[])}const aa=({ownerState:e,theme:t})=>{let n=on({display:"flex",flexDirection:"column"},Eo({theme:t},ko({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Fo(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=ko({values:e.direction,base:o}),l=ko({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));n=mo(n,Eo({theme:t},l,((t,n)=>{return e.useFlexGap?{gap:Bo(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Bo(r,t)}};var o})))}return n=function(e,...t){const n=wo(e),r=[n,...t].reduce(((e,t)=>mo(e,t)),{});return So(Object.keys(n),r)}(t.breakpoints,n),n};var sa,ua={},ca={exports:{}};function da(){return sa||(sa=1,function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(ca)),ca.exports}var fa,pa=i(nn),ha=i(fl);function ma(){if(fa)return ua;fa=1;var e=da();Object.defineProperty(ua,"__esModule",{value:!0}),ua.alpha=c,ua.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),l=i(e),s=i(t),u=[o(l.values[0],s.values[0]),o(l.values[1],s.values[1]),o(l.values[2],s.values[2])];return a({type:"rgb",values:u})},ua.colorChannel=void 0,ua.darken=d,ua.decomposeColor=i,ua.emphasize=p,ua.getContrastRatio=function(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},ua.getLuminance=u,ua.hexToRgb=o,ua.hslToRgb=s,ua.lighten=f,ua.private_safeAlpha=function(e,t,n){try{return c(e,t)}catch(t){return e}},ua.private_safeColorChannel=void 0,ua.private_safeDarken=function(e,t,n){try{return d(e,t)}catch(t){return e}},ua.private_safeEmphasize=function(e,t,n){try{return p(e,t)}catch(t){return e}},ua.private_safeLighten=function(e,t,n){try{return f(e,t)}catch(t){return e}},ua.recomposeColor=a,ua.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var t=e(pa),n=e(ha);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let l,a=e.substring(n+1,e.length-1);if("color"===r){if(a=a.split(" "),l=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(l))throw new Error((0,t.default)(10,l))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:l}}const l=e=>{const t=i(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};ua.colorChannel=l;function a(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-l*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(s(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(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 c(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function d(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function f(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}function p(e,t=.15){return u(e)>.5?d(e,t):f(e,t)}return ua.private_safeColorChannel=(e,t)=>{try{return l(e)}catch(t){return e}},ua}var ga=ma();const va=["mode","contrastThreshold","tonalOffset"],ba={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:_t.white,default:_t.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ya={text:{primary:_t.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:_t.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function xa(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ga.lighten(e.main,o):"dark"===t&&(e.dark=ga.darken(e.main,i)))}function _a(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ln(e,va),i=e.primary||function(e="light"){return"dark"===e?{main:Pt,light:Ot,dark:It}:{main:Dt,light:It,dark:zt}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:Nt,light:Tt,dark:At}:{main:Lt,light:Rt,dark:Mt}}(t),a=e.error||function(e="light"){return"dark"===e?{main:wt,light:Ct,dark:St}:{main:St,light:Et,dark:kt}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Ft,light:$t,dark:Ht}:{main:Ht,light:Bt,dark:jt}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Kt,light:Wt,dark:Gt}:{main:Yt,light:Ut,dark:Vt}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:qt,light:Qt,dark:Jt}:{main:"#ed6c02",light:Xt,dark:Zt}}(t);function d(e){return ga.getContrastRatio(e,ya.text.primary)>=n?ya.text.primary:ba.text.primary}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=on({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(tn(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(tn(12,t?` (${t})`:"",JSON.stringify(e.main)));return xa(e,"light",o,r),xa(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:ya,light:ba};return mo(on({common:on({},_t),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:s,name:"info"}),success:f({color:u,name:"success"}),grey:en,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Ca=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ea={textTransform:"uppercase"},wa='"Roboto", "Helvetica", "Arial", sans-serif';function Sa(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=wa,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=ln(n,Ca),p=o/14,h=d||(e=>e/u*p+"rem"),m=(e,t,n,o,i)=>{return on({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===wa?{letterSpacing:(l=o/t,Math.round(1e5*l)/1e5)+"em"}:{},i,c);var l},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(l,48,1.167,0),h4:m(l,34,1.235,.25),h5:m(l,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(l,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(l,16,1.5,.15),body2:m(l,14,1.43,.15),button:m(a,14,1.75,.4,Ea),caption:m(l,12,1.66,.4),overline:m(l,12,2.66,1,Ea),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return mo(on({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:a,fontWeightBold:s},g),f,{clone:!1})}function ka(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ta=["none",ka(0,2,1,-1,0,1,1,0,0,1,3,0),ka(0,3,1,-2,0,2,2,0,0,1,5,0),ka(0,3,3,-2,0,3,4,0,0,1,8,0),ka(0,2,4,-1,0,4,5,0,0,1,10,0),ka(0,3,5,-1,0,5,8,0,0,1,14,0),ka(0,3,5,-1,0,6,10,0,0,1,18,0),ka(0,4,5,-2,0,7,10,1,0,2,16,1),ka(0,5,5,-3,0,8,10,1,0,3,14,2),ka(0,5,6,-3,0,9,12,1,0,3,16,2),ka(0,6,6,-3,0,10,14,1,0,4,18,3),ka(0,6,7,-4,0,11,15,1,0,4,20,3),ka(0,7,8,-4,0,12,17,2,0,5,22,4),ka(0,7,8,-4,0,13,19,2,0,5,24,4),ka(0,7,9,-4,0,14,21,2,0,5,26,4),ka(0,8,9,-5,0,15,22,2,0,6,28,5),ka(0,8,10,-5,0,16,24,2,0,6,30,5),ka(0,8,11,-5,0,17,26,2,0,6,32,5),ka(0,9,11,-5,0,18,28,2,0,7,34,6),ka(0,9,12,-6,0,19,29,2,0,7,36,6),ka(0,10,13,-6,0,20,31,3,0,8,38,7),ka(0,10,13,-6,0,21,33,3,0,8,40,7),ka(0,10,14,-6,0,22,35,3,0,8,42,7),ka(0,11,14,-7,0,23,36,3,0,9,44,8),ka(0,11,15,-7,0,24,38,3,0,9,46,8)],Na=["duration","easing","delay"],Ra={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Aa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function La(e){return`${Math.round(e)}ms`}function Ma(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Oa(e){const t=on({},Ra,e.easing),n=on({},Aa,e.duration);return on({getAutoHeightDuration:Ma,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:l=0}=r;return ln(r,Na),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:La(o)} ${i} ${"string"==typeof l?l:La(l)}`)).join(",")}},e,{easing:t,duration:n})}const Pa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ia=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Da(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ln(e,Ia);if(e.vars&&void 0===e.generateCssVars)throw new Error(tn(18));const a=_a(r),s=Ei(e);let u=mo(s,{mixins:(c=s.breakpoints,d=n,on({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:a,shadows:Ta.slice(),typography:Sa(a,i),transitions:Oa(o),zIndex:on({},Pa)});var c,d;return u=mo(u,l),u=t.reduce(((e,t)=>mo(e,t)),u),u.unstable_sxConfig=on({},bi,null==l?void 0:l.unstable_sxConfig),u.unstable_sx=function(e){return xi({sx:e,theme:this})},u}const za=Da();function $a(){const e=Ti(za);return e[rn]||e}var Fa,Ba={},Ha={exports:{}};var ja,Wa={exports:{}};var Ka,Ua=i(fo),Ga=i(go),Ya=i(No),Va=i(Xi),Qa=i(wi),qa=i(Li);function Xa(){if(Ka)return Ba;Ka=1;var e=da();Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.default=function(e={}){const{themeId:i,defaultTheme:a=f,rootShouldForwardProp:s=d,slotShouldForwardProp:c=d}=e,v=e=>(0,l.default)((0,t.default)({},e,{theme:h((0,t.default)({},e,{defaultTheme:a,themeId:i}))}));return v.__mui_systemSx=!0,(e,l={})=>{(0,r.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:f,slot:b,skipVariantsResolver:y,skipSx:x,overridesResolver:_=m(p(b))}=l,C=(0,n.default)(l,u),E=void 0!==y?y:b&&"Root"!==b&&"root"!==b||!1,w=x||!1;let S=d;"Root"===b||"root"===b?S=s:b?S=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);const k=(0,r.default)(e,(0,t.default)({shouldForwardProp:S,label:undefined},C)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>g(e,(0,t.default)({},n,{theme:h({theme:n.theme,defaultTheme:a,themeId:i})})):e,N=(n,...r)=>{let o=T(n);const l=r?r.map(T):[];f&&_&&l.push((e=>{const n=h((0,t.default)({},e,{defaultTheme:a,themeId:i}));if(!n.components||!n.components[f]||!n.components[f].styleOverrides)return null;const r=n.components[f].styleOverrides,o={};return Object.entries(r).forEach((([r,i])=>{o[r]=g(i,(0,t.default)({},e,{theme:n}))})),_(e,o)})),f&&!E&&l.push((e=>{var n;const r=h((0,t.default)({},e,{defaultTheme:a,themeId:i}));return g({variants:null==r||null==(n=r.components)||null==(n=n[f])?void 0:n.variants},(0,t.default)({},e,{theme:r}))})),w||l.push(v);const s=l.length-r.length;if(Array.isArray(n)&&s>0){const e=new Array(s).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const u=k(o,...l);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(N.withConfig=k.withConfig),N}},Ba.shouldForwardProp=d,Ba.systemDefaultTheme=void 0;var t=e((Fa||(Fa=1,function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ha)),Ha.exports)),n=e((ja||(ja=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Wa)),Wa.exports)),r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ua),o=Ga;e(Ya),e(Va);var i=e(Qa),l=e(qa);const a=["ownerState"],s=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const f=Ba.systemDefaultTheme=(0,i.default)(),p=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function h({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function m(e){return e?(t,n)=>n[e]:null}function g(e,r){let{ownerState:o}=r,i=(0,n.default)(r,a);const l="function"==typeof e?e((0,t.default)({ownerState:o},i)):e;if(Array.isArray(l))return l.flatMap((e=>g(e,(0,t.default)({ownerState:o},i))));if(l&&"object"==typeof l&&Array.isArray(l.variants)){const{variants:e=[]}=l;let r=(0,n.default)(l,s);return e.forEach((e=>{let n=!0;"function"==typeof e.props?n=e.props((0,t.default)({ownerState:o},i,o)):Object.keys(e.props).forEach((t=>{(null==o?void 0:o[t])!==e.props[t]&&i[t]!==e.props[t]&&(n=!1)})),n&&(Array.isArray(r)||(r=[r]),r.push("function"==typeof e.style?e.style((0,t.default)({ownerState:o},i,o)):e.style))})),r}return l}return Ba}const Ja=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,Za=o(Xa())({themeId:rn,defaultTheme:za,rootShouldForwardProp:Ja}),es=["theme"];function ts(e){let{theme:t}=e,n=ln(e,es);const r=t[rn];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=on({},r,{vars:null}):t&&!t.vars&&(o=on({},t,{vars:null}))),lo.jsx(ta,on({},n,{themeId:r?rn:void 0,theme:o}))}const ns=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function rs(e){return Jl(e)}function os(e,t){return os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},os(e,t)}function is(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,os(e,t)}var ls=w(),as=o(ls),ss=!1,us=T.createContext(null),cs="unmounted",ds="exited",fs="entering",ps="entered",hs="exiting",ms=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=ds,r.appearStatus=fs):o=ps:o=t.unmountOnExit||t.mountOnEnter?cs:ds,r.state={status:o},r.nextCallback=null,r}is(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===cs?{status:ds}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==fs&&n!==ps&&(t=fs):n!==fs&&n!==ps||(t=hs)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===fs){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:as.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ds&&this.setState({status:cs})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[as.findDOMNode(this),r],i=o[0],l=o[1],a=this.getTimeouts(),s=r?a.appear:a.enter;!e&&!n||ss?this.safeSetState({status:ps},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:fs},(function(){t.props.onEntering(i,l),t.onTransitionEnd(s,(function(){t.safeSetState({status:ps},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:as.findDOMNode(this);t&&!ss?(this.props.onExit(r),this.safeSetState({status:hs},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ds},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:ds},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:as.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],l=o[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===cs)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=ln(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(us.Provider,{value:null},"function"==typeof n?n(e,r):T.cloneElement(T.Children.only(n),r))},t}(T.Component);function gs(){}function vs(e,t){var n=Object.create(null);return e&&k.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&k.isValidElement(e)?t(e):e}(e)})),n}function bs(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ys(e,t,n){var r=vs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var l in e)l in t?i.length&&(o[l]=i,i=[]):i.push(l);var a={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];a[o[s][r]]=n(u)}a[s]=n(s)}for(r=0;r<i.length;r++)a[i[r]]=n(i[r]);return a}(t,r);return Object.keys(o).forEach((function(i){var l=o[i];if(k.isValidElement(l)){var a=i in t,s=i in r,u=t[i],c=k.isValidElement(u)&&!u.props.in;!s||a&&!c?s||!a||c?s&&a&&k.isValidElement(u)&&(o[i]=k.cloneElement(l,{onExited:n.bind(null,l),in:u.props.in,exit:bs(l,"exit",e),enter:bs(l,"enter",e)})):o[i]=k.cloneElement(l,{in:!1}):o[i]=k.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:bs(l,"exit",e),enter:bs(l,"enter",e)})}})),o}ms.contextType=us,ms.propTypes={},ms.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:gs,onEntering:gs,onEntered:gs,onExit:gs,onExiting:gs,onExited:gs},ms.UNMOUNTED=cs,ms.EXITED=ds,ms.ENTERING=fs,ms.ENTERED=ps,ms.EXITING=hs;var xs=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},_s=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}is(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,vs(n.children,(function(e){return k.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:bs(e,"appear",n),enter:bs(e,"enter",n),exit:bs(e,"exit",n)})}))):ys(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=vs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=on({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ln(e,["component","childFactory"]),o=this.state.contextValue,i=xs(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?T.createElement(us.Provider,{value:o},i):T.createElement(us.Provider,{value:o},T.createElement(t,r,i))},t}(T.Component);_s.propTypes={},_s.defaultProps={component:"div",childFactory:function(e){return e}};function Cs(e,t){var n,r;const{timeout:o,easing:i,style:l={}}=e;return{duration:null!=(n=l.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=l.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:l.transitionDelay}}function Es(e){return $i("MuiPaper",e)}Fi("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ws=["className","component","elevation","square","variant"],Ss=Za("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return on({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&on({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${ga.alpha("#fff",ns(t.elevation))}, ${ga.alpha("#fff",ns(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),ks=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:l=!1,variant:a="elevation"}=n,s=ln(n,ws),u=on({},n,{component:o,elevation:i,square:l,variant:a}),c=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Dl({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Es,o)})(u);return lo.jsx(Ss,on({as:o,ownerState:u,className:Ii(c.root,r),ref:t},s))}));const Ts=Fi("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ns=["center","classes","className"];let Rs,As,Ls,Ms,Os=e=>e;const Ps=Vr(Rs||(Rs=Os`
|
|
23
|
+
*/function So(e,t){return ro(e,t)}const Co=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Eo=[];function wo(e){return Eo[0]=e,Mr(Eo)}var ko=Object.freeze({__proto__:null,GlobalStyles:_o,StyledEngineProvider:function(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=k.useMemo((()=>{const e=`${t}-${n}`;if("object"==typeof document&&xo.has(e))return xo.get(e);const r=function(e,t){const n=pr({key:"css",prepend:e});if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}(t,n);return xo.set(e,r),r}),[t,n]);return t||n?yo.jsx(Fr,{value:o,children:r}):r},ThemeContext:Hr,css:qr,default:So,internal_processStyles:Co,internal_serializeStyles:wo,keyframes:Qr});function Ro(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function To(e){if(k.isValidElement(e)||!Ro(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=To(e[n])})),t}function Ao(e,t,n={clone:!0}){const r=n.clone?on({},e):e;return Ro(e)&&Ro(t)&&Object.keys(t).forEach((o=>{k.isValidElement(t[o])?r[o]=t[o]:Ro(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ro(e[o])?r[o]=Ao(e[o],t[o],n):n.clone?r[o]=Ro(t[o])?To(t[o]):t[o]:r[o]=t[o]})),r}var No=Object.freeze({__proto__:null,default:Ao,isPlainObject:Ro});const Lo=["values","unit","step"];function Mo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=an(e,Lo),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>on({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return on({keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Oo={borderRadius:4};function Po(e,t){return t?Ao(e,t,{clone:!1}):e}const Io={xs:0,sm:600,md:900,lg:1200,xl:1536},Do={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Io[e]}px)`};function $o(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Do;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Do;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Io).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function zo(e={}){var t;const n=null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return n||{}}function Fo(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Bo({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}function Ho(e){if("string"!=typeof e)throw new Error(tn(7));return e.charAt(0).toUpperCase()+e.slice(1)}var jo=Object.freeze({__proto__:null,default:Ho});function Wo(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Go(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Wo(e,n)||r,t&&(o=t(o,r,e)),o}function Yo(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Wo(e.theme,r)||{};return $o(e,i,(e=>{let r=Go(a,o,e);return e===r&&"string"==typeof e&&(r=Go(a,o,`${t}${"default"===e?"":Ho(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Uo={m:"margin",p:"padding"},Ko={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Vo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qo=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Vo[e])return[e];e=Vo[e]}const[t,n]=e.split(""),r=Uo[t],o=Ko[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Qo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Xo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Jo(e,t,n,r){var o;const i=null!=(o=Wo(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Zo(e){return Jo(e,"spacing",8)}function ei(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function ti(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=ei(t,n),e)),{})}(qo(n),r);return $o(e,e[n],o)}function ni(e,t){const n=Zo(e.theme);return Object.keys(e).map((r=>ti(e,t,r,n))).reduce(Po,{})}function ri(e){return ni(e,Qo)}function oi(e){return ni(e,Xo)}function ii(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Po(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function ai(e){return"number"!=typeof e?e:`${e}px solid`}function li(e,t){return Yo({prop:e,themeKey:"borders",transform:t})}ri.propTypes={},ri.filterProps=Qo,oi.propTypes={},oi.filterProps=Xo;const si=li("border",ai),ui=li("borderTop",ai),ci=li("borderRight",ai),di=li("borderBottom",ai),fi=li("borderLeft",ai),pi=li("borderColor"),hi=li("borderTopColor"),mi=li("borderRightColor"),gi=li("borderBottomColor"),vi=li("borderLeftColor"),bi=li("outline",ai),yi=li("outlineColor"),xi=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Jo(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:ei(t,e)});return $o(e,e.borderRadius,n)}return null};xi.propTypes={},xi.filterProps=["borderRadius"],ii(si,ui,ci,di,fi,pi,hi,mi,gi,vi,xi,bi,yi);const _i=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Jo(e.theme,"spacing",8),n=e=>({gap:ei(t,e)});return $o(e,e.gap,n)}return null};_i.propTypes={},_i.filterProps=["gap"];const Si=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Jo(e.theme,"spacing",8),n=e=>({columnGap:ei(t,e)});return $o(e,e.columnGap,n)}return null};Si.propTypes={},Si.filterProps=["columnGap"];const Ci=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Jo(e.theme,"spacing",8),n=e=>({rowGap:ei(t,e)});return $o(e,e.rowGap,n)}return null};Ci.propTypes={},Ci.filterProps=["rowGap"];function Ei(e,t){return"grey"===t?t:e}ii(_i,Si,Ci,Yo({prop:"gridColumn"}),Yo({prop:"gridRow"}),Yo({prop:"gridAutoFlow"}),Yo({prop:"gridAutoColumns"}),Yo({prop:"gridAutoRows"}),Yo({prop:"gridTemplateColumns"}),Yo({prop:"gridTemplateRows"}),Yo({prop:"gridTemplateAreas"}),Yo({prop:"gridArea"}));function wi(e){return e<=1&&0!==e?100*e+"%":e}ii(Yo({prop:"color",themeKey:"palette",transform:Ei}),Yo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ei}),Yo({prop:"backgroundColor",themeKey:"palette",transform:Ei}));const ki=Yo({prop:"width",transform:wi}),Ri=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Io[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:wi(t)}};return $o(e,e.maxWidth,t)}return null};Ri.filterProps=["maxWidth"];const Ti=Yo({prop:"minWidth",transform:wi}),Ai=Yo({prop:"height",transform:wi}),Ni=Yo({prop:"maxHeight",transform:wi}),Li=Yo({prop:"minHeight",transform:wi});Yo({prop:"size",cssProperty:"width",transform:wi}),Yo({prop:"size",cssProperty:"height",transform:wi});ii(ki,Ri,Ti,Ai,Ni,Li,Yo({prop:"boxSizing"}));const Mi={border:{themeKey:"borders",transform:ai},borderTop:{themeKey:"borders",transform:ai},borderRight:{themeKey:"borders",transform:ai},borderBottom:{themeKey:"borders",transform:ai},borderLeft:{themeKey:"borders",transform:ai},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ai},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:xi},color:{themeKey:"palette",transform:Ei},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ei},backgroundColor:{themeKey:"palette",transform:Ei},p:{style:oi},pt:{style:oi},pr:{style:oi},pb:{style:oi},pl:{style:oi},px:{style:oi},py:{style:oi},padding:{style:oi},paddingTop:{style:oi},paddingRight:{style:oi},paddingBottom:{style:oi},paddingLeft:{style:oi},paddingX:{style:oi},paddingY:{style:oi},paddingInline:{style:oi},paddingInlineStart:{style:oi},paddingInlineEnd:{style:oi},paddingBlock:{style:oi},paddingBlockStart:{style:oi},paddingBlockEnd:{style:oi},m:{style:ri},mt:{style:ri},mr:{style:ri},mb:{style:ri},ml:{style:ri},mx:{style:ri},my:{style:ri},margin:{style:ri},marginTop:{style:ri},marginRight:{style:ri},marginBottom:{style:ri},marginLeft:{style:ri},marginX:{style:ri},marginY:{style:ri},marginInline:{style:ri},marginInlineStart:{style:ri},marginInlineEnd:{style:ri},marginBlock:{style:ri},marginBlockStart:{style:ri},marginBlockEnd:{style:ri},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:_i},rowGap:{style:Ci},columnGap:{style:Si},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:wi},maxWidth:{style:Ri},minWidth:{transform:wi},height:{transform:wi},maxHeight:{transform:wi},minHeight:{transform:wi},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Oi(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Wo(n,l)||{};if(u)return u(o);return $o(o,t,(t=>{let n=Go(c,s,t);return t===n&&"string"==typeof t&&(n=Go(c,s,`${e}${"default"===t?"":Ho(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const l=null!=(r=i.unstable_sxConfig)?r:Mi;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=zo(i.breakpoints),s=Object.keys(o);let u=o;return Object.keys(r).forEach((n=>{const o=(a=r[n],s=i,"function"==typeof a?a(s):a);var a,s;if(null!=o)if("object"==typeof o)if(l[n])u=Po(u,e(n,o,i,l));else{const e=$o({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?u=Po(u,e):u[n]=t({sx:o,theme:i,nested:!0})}else u=Po(u,e(n,o,i,l))})),!a&&i.modularCssLayers?{"@layer sx":Fo(s,u)}:Fo(s,u)}return Array.isArray(o)?o.map(s):s(o)}}const Pi=Oi();function Ii(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Pi.filterProps=["sx"];const Di=["breakpoints","palette","spacing","shape"];function $i(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=an(e,Di),l=Mo(n),s=function(e=8){if(e.mui)return e;const t=Zo({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let u=Ao({breakpoints:l,direction:"ltr",components:{},palette:on({mode:"light"},r),spacing:s,shape:on({},Oo,i)},a);return u.applyStyles=Ii,u=t.reduce(((e,t)=>Ao(e,t)),u),u.unstable_sxConfig=on({},Mi,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return Pi({sx:e,theme:this})},u}var zi=Object.freeze({__proto__:null,default:$i,private_createBreakpoints:Mo,unstable_applyStyles:Ii});function Fi(e=null){const t=k.useContext(Hr);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Bi=$i();function Hi(e=Bi){return Fi(e)}function ji(e){const t=wo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Wi({styles:e,themeId:t,defaultTheme:n={}}){const r=Hi(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map((e=>ji("function"==typeof e?e(o):e))):ji(i)),yo.jsx(_o,{styles:i})}const Gi=["sx"];function Yi(e){const{sx:t}=e,n=an(e,Gi),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Mi;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Ro(n)?on({},r,n):r}:on({},r,t),on({},o,{sx:i})}var Ui=Object.freeze({__proto__:null,default:Pi,extendSxProp:Yi,unstable_createStyleFunctionSx:Oi,unstable_defaultSxConfig:Mi});const Ki=e=>e,Vi=(()=>{let e=Ki;return{configure(t){e=t},generate:t=>e(t),reset(){e=Ki}}})();function qi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qi(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qi(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qi(e))&&(r&&(r+=" "),r+=t);return r}const Xi=["className","component"];const Ji={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 Zi(e,t,n="Mui"){const r=Ji[t];return r?`${n}-${r}`:`${Vi.generate(e)}-${t}`}function ea(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Zi(e,t,n)})),r}var ta,na,ra={exports:{}},oa={};function ia(){if(ta)return oa;ta=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function h(p){if("object"==typeof p&&null!==p){var h=p.$$typeof;switch(h){case e:switch(p=p.type){case n:case o:case r:case s:case u:case f:return p;default:switch(p=p&&p.$$typeof){case a:case l:case d:case c:case i:return p;default:return h}}case t:return h}}}return oa.ContextConsumer=i,oa.ContextProvider=a,oa.Element=e,oa.ForwardRef=l,oa.Fragment=n,oa.Lazy=d,oa.Memo=c,oa.Portal=t,oa.Profiler=o,oa.StrictMode=r,oa.Suspense=s,oa.SuspenseList=u,oa.isContextConsumer=function(e){return h(e)===i},oa.isContextProvider=function(e){return h(e)===a},oa.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},oa.isForwardRef=function(e){return h(e)===l},oa.isFragment=function(e){return h(e)===n},oa.isLazy=function(e){return h(e)===d},oa.isMemo=function(e){return h(e)===c},oa.isPortal=function(e){return h(e)===t},oa.isProfiler=function(e){return h(e)===o},oa.isStrictMode=function(e){return h(e)===r},oa.isSuspense=function(e){return h(e)===s},oa.isSuspenseList=function(e){return h(e)===u},oa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===s||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===l||e.$$typeof===p||void 0!==e.getModuleId)},oa.typeOf=h,oa}function aa(){return na||(na=1,ra.exports=ia()),ra.exports}var la=aa();const sa=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ua(e){const t=`${e}`.match(sa);return t&&t[1]||""}function ca(e,t=""){return e.displayName||e.name||ua(e)||t}function da(e,t,n){const r=ca(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var fa=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ca(e,"Component");if("object"==typeof e)switch(e.$$typeof){case la.ForwardRef:return da(e,e.render,"ForwardRef");case la.Memo:return da(e,e.type,"memo");default:return}}},getFunctionName:ua});const pa=["ownerState"],ha=["variants"],ma=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ga(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function va(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const ba=$i(),ya=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function xa({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function _a(e){return e?(t,n)=>n[e]:null}function Sa(e,t,n){let{ownerState:r}=t,o=an(t,pa);const i="function"==typeof e?e(on({ownerState:r},o)):e;if(Array.isArray(i))return i.flatMap((e=>Sa(e,on({ownerState:r},o),n)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=an(i,ha);return e.forEach((e=>{let i=!0;if("function"==typeof e.props?i=e.props(on({ownerState:r},o,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style(on({ownerState:r},o,r)):e.style;t.push(n?va(wo(i),n):i)}})),t}return n?va(wo(i),n):i}const Ca=function(e={}){const{themeId:t,defaultTheme:n=ba,rootShouldForwardProp:r=ga,slotShouldForwardProp:o=ga}=e,i=e=>Pi(on({},e,{theme:xa(on({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{Co(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=_a(ya(s))}=a,f=an(a,ma),p=l&&l.startsWith("Mui")||s?"components":"custom",h=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,m=c||!1;let g=ga;"Root"===s||"root"===s?g=r:s?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const v=So(e,on({shouldForwardProp:g,label:undefined},f)),b=e=>"function"==typeof e&&e.__emotion_real!==e||Ro(e)?r=>{const o=xa({theme:r.theme,defaultTheme:n,themeId:t});return Sa(e,on({},r,{theme:o}),o.modularCssLayers?p:void 0)}:e,y=(r,...o)=>{let a=b(r);const s=o?o.map(b):[];l&&d&&s.push((e=>{const r=xa(on({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=Sa(n,on({},e,{theme:r}),r.modularCssLayers?"theme":void 0)})),d(e,i)})),l&&!h&&s.push((e=>{var r;const o=xa(on({},e,{defaultTheme:n,themeId:t}));return Sa({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},on({},e,{theme:o}),o.modularCssLayers?"theme":void 0)})),m||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=v(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return v.withConfig&&(y.withConfig=v.withConfig),y}}();function Ea(e,t){const n=on({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=on({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=on({},i),Object.keys(o).forEach((e=>{n[r][e]=Ea(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function wa({props:e,name:t,defaultTheme:n,themeId:r}){let o=Hi(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Ea(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}const ka="undefined"!=typeof window?k.useLayoutEffect:k.useEffect;function Ra(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var Ta=Object.freeze({__proto__:null,default:Ra});function Aa(e){if(e.type)return e;if("#"===e.charAt(0))return Aa(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(tn(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(tn(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function Na(e,t){return e=Aa(e),t=function(e,t=0,n=1){return Ra(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function La(e){return e&&e.ownerDocument||document}function Ma(e){return La(e).defaultView||window}function Oa(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Pa=0;const Ia=T["useId".toString()];function Da(e){if(void 0!==Ia){const t=Ia();return null!=e?e:t}return function(e){const[t,n]=k.useState(e),r=e||t;return k.useEffect((()=>{null==t&&(Pa+=1,n(`mui-${Pa}`))}),[t]),r}(e)}function $a(e){const t=k.useRef(e);return ka((()=>{t.current=e})),k.useRef(((...e)=>(0,t.current)(...e))).current}function za(...e){return k.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Oa(e,t)}))}),e)}const Fa={};const Ba=[];class Ha{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ha}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function ja(){const e=function(e,t){const n=k.useRef(Fa);return n.current===Fa&&(n.current=e(t)),n}(Ha.create).current;return function(e){k.useEffect(e,Ba)}(e.disposeEffect),e}let Wa=!0,Ga=!1;const Ya=new Ha,Ua={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ka(e){e.metaKey||e.altKey||e.ctrlKey||(Wa=!0)}function Va(){Wa=!1}function qa(){"hidden"===this.visibilityState&&Ga&&(Wa=!0)}function Qa(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Wa||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ua[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Xa(){const e=k.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ka,!0),t.addEventListener("mousedown",Va,!0),t.addEventListener("pointerdown",Va,!0),t.addEventListener("touchstart",Va,!0),t.addEventListener("visibilitychange",qa,!0))}),[]),t=k.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Qa(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Ga=!0,Ya.start(100,(()=>{Ga=!1})),t.current=!1,!0)},ref:e}}function Ja(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}function Za(e){return"string"==typeof e}function el(e,t,n){return void 0===e||Za(e)?t:on({},t,{ownerState:on({},t.ownerState,n)})}function tl(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function nl(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Qi(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=on({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=on({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(on({},o,r)),l=tl(r),s=tl(o),u=t(a),c=Qi(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=on({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=on({},u,n,s,l);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const rl=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ol(e){var t;return parseInt(k.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const il=k.createContext(null);function al(){return k.useContext(il)}var ll="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function sl(e){const{children:t,theme:n}=e,r=al(),o=k.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return on({},e,t)}(r,n);return null!=e&&(e[ll]=null!==r),e}),[n,r]);return yo.jsx(il.Provider,{value:o,children:t})}const ul=["value"],cl=k.createContext();function dl(e){let{value:t}=e,n=an(e,ul);return yo.jsx(cl.Provider,on({value:null==t||t},n))}const fl=k.createContext(void 0);function pl({value:e,children:t}){return yo.jsx(fl.Provider,{value:e,children:t})}function hl({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ea(o.defaultProps,r):o.styleOverrides||o.variants?r:Ea(o,r)}({props:e,name:t,theme:{components:k.useContext(fl)}})}const ml={};function gl(e,t,n,r=!1){return k.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?on({},t,{[e]:i}):i;return r?()=>a:a}return on({},t,e?{[e]:n}:n)}),[e,t,n,r])}function vl(e){const{children:t,theme:n,themeId:r}=e,o=Fi(ml),i=al()||ml,a=gl(r,o,n),l=gl(r,i,n,!0),s="rtl"===a.direction,u=function(e){const t=Fi(),n=Da()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",ka((()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var r;if(t&&null!=(r=t.hasAttribute)&&r.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",n),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${n}"]`))||i.remove()}}),[o,n]),o?yo.jsx(Wi,{styles:o}):null}(a);return yo.jsx(sl,{theme:l,children:yo.jsx(Hr.Provider,{value:a,children:yo.jsx(dl,{value:s,children:yo.jsxs(pl,{value:null==a?void 0:a.components,children:[u,t]})})})})}function bl(e){return bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bl(e)}function yl(e){var t=function(e,t){if("object"!=bl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=bl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bl(t)?t:t+""}const xl=["component","direction","spacing","divider","children","className","useFlexGap"],_l=$i(),Sl=Ca("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Cl(e){return wa({props:e,name:"MuiStack",defaultTheme:_l})}function El(e,t){const n=k.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(k.cloneElement(t,{key:`separator-${o}`})),e)),[])}const wl=({ownerState:e,theme:t})=>{let n=on({display:"flex",flexDirection:"column"},$o({theme:t},Bo({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Zo(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=Bo({values:e.direction,base:o}),a=Bo({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));n=Ao(n,$o({theme:t},a,((t,n)=>{return e.useFlexGap?{gap:ei(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:ei(r,t)}};var o})))}return n=function(e,...t){const n=zo(e),r=[n,...t].reduce(((e,t)=>Ao(e,t)),{});return Fo(Object.keys(n),r)}(t.breakpoints,n),n};function kl(e,t){return on({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Rl,Tl={},Al={exports:{}};function Nl(){return Rl||(Rl=1,function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Al)),Al.exports}var Ll,Ml=i(nn),Ol=i(Ta);function Pl(){if(Ll)return Tl;Ll=1;var e=Nl();Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.alpha=c,Tl.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=i(e),s=i(t),u=[o(a.values[0],s.values[0]),o(a.values[1],s.values[1]),o(a.values[2],s.values[2])];return l({type:"rgb",values:u})},Tl.colorChannel=void 0,Tl.darken=d,Tl.decomposeColor=i,Tl.emphasize=p,Tl.getContrastRatio=function(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},Tl.getLuminance=u,Tl.hexToRgb=o,Tl.hslToRgb=s,Tl.lighten=f,Tl.private_safeAlpha=function(e,t,n){try{return c(e,t)}catch(t){return e}},Tl.private_safeColorChannel=void 0,Tl.private_safeDarken=function(e,t,n){try{return d(e,t)}catch(t){return e}},Tl.private_safeEmphasize=function(e,t,n){try{return p(e,t)}catch(t){return e}},Tl.private_safeLighten=function(e,t,n){try{return f(e,t)}catch(t){return e}},Tl.recomposeColor=l,Tl.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var t=e(Ml),n=e(Ol);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let a,l=e.substring(n+1,e.length-1);if("color"===r){if(l=l.split(" "),a=l.shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else l=l.split(",");return l=l.map((e=>parseFloat(e))),{type:r,values:l,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Tl.colorChannel=a;function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(s(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(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 c(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function f(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function p(e,t=.15){return u(e)>.5?d(e,t):f(e,t)}return Tl.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},Tl}var Il=Pl();const Dl=["mode","contrastThreshold","tonalOffset"],$l={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:_t.white,default:_t.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},zl={text:{primary:_t.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:_t.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Fl(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Il.lighten(e.main,o):"dark"===t&&(e.dark=Il.darken(e.main,i)))}function Bl(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=an(e,Dl),i=e.primary||function(e="light"){return"dark"===e?{main:Pt,light:Ot,dark:It}:{main:Dt,light:It,dark:$t}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Tt,light:Rt,dark:Nt}:{main:Lt,light:At,dark:Mt}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Et,light:St,dark:wt}:{main:wt,light:Ct,dark:kt}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Ft,light:zt,dark:Ht}:{main:Ht,light:Bt,dark:jt}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Gt,light:Wt,dark:Ut}:{main:Kt,light:Yt,dark:Vt}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:Qt,light:qt,dark:Jt}:{main:"#ed6c02",light:Xt,dark:Zt}}(t);function d(e){return Il.getContrastRatio(e,zl.text.primary)>=n?zl.text.primary:$l.text.primary}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=on({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(tn(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(tn(12,t?` (${t})`:"",JSON.stringify(e.main)));return Fl(e,"light",o,r),Fl(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:zl,light:$l};return Ao(on({common:on({},_t),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:s,name:"info"}),success:f({color:u,name:"success"}),grey:en,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),o)}const Hl=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const jl={textTransform:"uppercase"},Wl='"Roboto", "Helvetica", "Arial", sans-serif';function Gl(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Wl,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=an(n,Hl),p=o/14,h=d||(e=>e/u*p+"rem"),m=(e,t,n,o,i)=>{return on({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Wl?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,jl),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,jl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ao(on({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),f,{clone:!1})}function Yl(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ul=["none",Yl(0,2,1,-1,0,1,1,0,0,1,3,0),Yl(0,3,1,-2,0,2,2,0,0,1,5,0),Yl(0,3,3,-2,0,3,4,0,0,1,8,0),Yl(0,2,4,-1,0,4,5,0,0,1,10,0),Yl(0,3,5,-1,0,5,8,0,0,1,14,0),Yl(0,3,5,-1,0,6,10,0,0,1,18,0),Yl(0,4,5,-2,0,7,10,1,0,2,16,1),Yl(0,5,5,-3,0,8,10,1,0,3,14,2),Yl(0,5,6,-3,0,9,12,1,0,3,16,2),Yl(0,6,6,-3,0,10,14,1,0,4,18,3),Yl(0,6,7,-4,0,11,15,1,0,4,20,3),Yl(0,7,8,-4,0,12,17,2,0,5,22,4),Yl(0,7,8,-4,0,13,19,2,0,5,24,4),Yl(0,7,9,-4,0,14,21,2,0,5,26,4),Yl(0,8,9,-5,0,15,22,2,0,6,28,5),Yl(0,8,10,-5,0,16,24,2,0,6,30,5),Yl(0,8,11,-5,0,17,26,2,0,6,32,5),Yl(0,9,11,-5,0,18,28,2,0,7,34,6),Yl(0,9,12,-6,0,19,29,2,0,7,36,6),Yl(0,10,13,-6,0,20,31,3,0,8,38,7),Yl(0,10,13,-6,0,21,33,3,0,8,40,7),Yl(0,10,14,-6,0,22,35,3,0,8,42,7),Yl(0,11,14,-7,0,23,36,3,0,9,44,8),Yl(0,11,15,-7,0,24,38,3,0,9,46,8)],Kl=["duration","easing","delay"],Vl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ql={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ql(e){return`${Math.round(e)}ms`}function Xl(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Jl(e){const t=on({},Vl,e.easing),n=on({},ql,e.duration);return on({getAutoHeightDuration:Xl,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return an(r,Kl),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Ql(o)} ${i} ${"string"==typeof a?a:Ql(a)}`)).join(",")}},e,{easing:t,duration:n})}const Zl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},es=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ts(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=an(e,es);if(e.vars&&void 0===e.generateCssVars)throw new Error(tn(18));const l=Bl(r),s=$i(e);let u=Ao(s,{mixins:kl(s.breakpoints,n),palette:l,shadows:Ul.slice(),typography:Gl(l,i),transitions:Jl(o),zIndex:on({},Zl)});return u=Ao(u,a),u=t.reduce(((e,t)=>Ao(e,t)),u),u.unstable_sxConfig=on({},Mi,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return Pi({sx:e,theme:this})},u}const ns=ts();function rs(){const e=Hi(ns);return e[rn]||e}var os,is={},as={exports:{}};function ls(){return os||(os=1,function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(as)),as.exports}var ss,us={exports:{}};function cs(){return ss||(ss=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(us)),us.exports}var ds,fs=i(ko),ps=i(No),hs=i(jo),ms=i(fa),gs=i(zi),vs=i(Ui);function bs(){if(ds)return is;ds=1;var e=Nl();Object.defineProperty(is,"__esModule",{value:!0}),is.default=function(e={}){const{themeId:i,defaultTheme:l=p,rootShouldForwardProp:s=d,slotShouldForwardProp:c=d}=e,f=e=>(0,a.default)((0,t.default)({},e,{theme:m((0,t.default)({},e,{defaultTheme:l,themeId:i}))}));return f.__mui_systemSx=!0,(e,a={})=>{(0,r.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:b,skipVariantsResolver:y,skipSx:x,overridesResolver:_=g(h(b))}=a,S=(0,n.default)(a,u),C=p&&p.startsWith("Mui")||b?"components":"custom",E=void 0!==y?y:b&&"Root"!==b&&"root"!==b||!1,w=x||!1;let k=d;"Root"===b||"root"===b?k=s:b?k=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);const R=(0,r.default)(e,(0,t.default)({shouldForwardProp:k,label:undefined},S)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>{const r=m({theme:n.theme,defaultTheme:l,themeId:i});return v(e,(0,t.default)({},n,{theme:r}),r.modularCssLayers?C:void 0)}:e,A=(n,...r)=>{let o=T(n);const a=r?r.map(T):[];p&&_&&a.push((e=>{const n=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;const r=n.components[p].styleOverrides,o={};return Object.entries(r).forEach((([r,i])=>{o[r]=v(i,(0,t.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)})),_(e,o)})),p&&!E&&a.push((e=>{var n;const r=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));return v({variants:null==r||null==(n=r.components)||null==(n=n[p])?void 0:n.variants},(0,t.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)})),w||a.push(f);const s=a.length-r.length;if(Array.isArray(n)&&s>0){const e=new Array(s).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const u=R(o,...a);return e.muiName&&(u.muiName=e.muiName),u};return R.withConfig&&(A.withConfig=R.withConfig),A}},is.shouldForwardProp=d,is.systemDefaultTheme=void 0;var t=e(ls()),n=e(cs()),r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(fs),o=ps;e(hs),e(ms);var i=e(gs),a=e(vs);const l=["ownerState"],s=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function f(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const p=is.systemDefaultTheme=(0,i.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,o,i){let{ownerState:a}=o,u=(0,n.default)(o,l);const c="function"==typeof e?e((0,t.default)({ownerState:a},u)):e;if(Array.isArray(c))return c.flatMap((e=>v(e,(0,t.default)({ownerState:a},u),i)));if(c&&"object"==typeof c&&Array.isArray(c.variants)){const{variants:e=[]}=c;let o=(0,n.default)(c,s);return e.forEach((e=>{let n=!0;if("function"==typeof e.props?n=e.props((0,t.default)({ownerState:a},u,a)):Object.keys(e.props).forEach((t=>{(null==a?void 0:a[t])!==e.props[t]&&u[t]!==e.props[t]&&(n=!1)})),n){Array.isArray(o)||(o=[o]);const n="function"==typeof e.style?e.style((0,t.default)({ownerState:a},u,a)):e.style;o.push(i?f((0,r.internal_serializeStyles)(n),i):n)}})),o}return i?f((0,r.internal_serializeStyles)(c),i):c}return is}const ys=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,xs=o(bs())({themeId:rn,defaultTheme:ns,rootShouldForwardProp:ys}),_s=["theme"];function Ss(e){let{theme:t}=e,n=an(e,_s);const r=t[rn];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=on({},r,{vars:null}):t&&!t.vars&&(o=on({},t,{vars:null}))),yo.jsx(vl,on({},n,{themeId:r?rn:void 0,theme:o}))}const Cs=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Es(e){return hl(e)}function ws(e,t){return ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ws(e,t)}function ks(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ws(e,t)}var Rs=E(),Ts=o(Rs),As=!1,Ns=R.createContext(null),Ls="unmounted",Ms="exited",Os="entering",Ps="entered",Is="exiting",Ds=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Ms,r.appearStatus=Os):o=Ps:o=t.unmountOnExit||t.mountOnEnter?Ls:Ms,r.state={status:o},r.nextCallback=null,r}ks(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ls?{status:Ms}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Os&&n!==Ps&&(t=Os):n!==Os&&n!==Ps||(t=Is)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Os){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Ts.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ms&&this.setState({status:Ls})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Ts.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||As?this.safeSetState({status:Ps},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Os},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Ps},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Ts.findDOMNode(this);t&&!As?(this.props.onExit(r),this.safeSetState({status:Is},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ms},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ms},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Ts.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Ls)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=an(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return R.createElement(Ns.Provider,{value:null},"function"==typeof n?n(e,r):R.cloneElement(R.Children.only(n),r))},t}(R.Component);function $s(){}function zs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fs(e,t){var n=Object.create(null);return e&&k.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&k.isValidElement(e)?t(e):e}(e)})),n}function Bs(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Hs(e,t,n){var r=Fs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(k.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=k.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&k.isValidElement(u)&&(o[i]=k.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Bs(a,"exit",e),enter:Bs(a,"enter",e)})):o[i]=k.cloneElement(a,{in:!1}):o[i]=k.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Bs(a,"exit",e),enter:Bs(a,"enter",e)})}})),o}Ds.contextType=Ns,Ds.propTypes={},Ds.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$s,onEntering:$s,onEntered:$s,onExit:$s,onExiting:$s,onExited:$s},Ds.UNMOUNTED=Ls,Ds.EXITED=Ms,Ds.ENTERING=Os,Ds.ENTERED=Ps,Ds.EXITING=Is;var js=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ws=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(zs(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}ks(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Fs(n.children,(function(e){return k.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Bs(e,"appear",n),enter:Bs(e,"enter",n),exit:Bs(e,"exit",n)})}))):Hs(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Fs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=on({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=an(e,["component","childFactory"]),o=this.state.contextValue,i=js(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?R.createElement(Ns.Provider,{value:o},i):R.createElement(Ns.Provider,{value:o},R.createElement(t,r,i))},t}(R.Component);Ws.propTypes={},Ws.defaultProps={component:"div",childFactory:function(e){return e}};function Gs(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Ys(e){return Zi("MuiPaper",e)}ea("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Us=["className","component","elevation","square","variant"],Ks=xs("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return on({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&on({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Il.alpha("#fff",Cs(t.elevation))}, ${Il.alpha("#fff",Cs(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Vs=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=an(n,Us),u=on({},n,{component:o,elevation:i,square:a,variant:l}),c=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Ja({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ys,o)})(u);return yo.jsx(Ks,on({as:o,ownerState:u,className:Qi(c.root,r),ref:t},s))}));const qs=ea("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Qs=["center","classes","className"];let Xs,Js,Zs,eu,tu=e=>e;const nu=Qr(Xs||(Xs=tu`
|
|
24
24
|
0% {
|
|
25
25
|
transform: scale(0);
|
|
26
26
|
opacity: 0.1;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
transform: scale(1);
|
|
31
31
|
opacity: 0.3;
|
|
32
32
|
}
|
|
33
|
-
`)),
|
|
33
|
+
`)),ru=Qr(Js||(Js=tu`
|
|
34
34
|
0% {
|
|
35
35
|
opacity: 1;
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
100% {
|
|
39
39
|
opacity: 0;
|
|
40
40
|
}
|
|
41
|
-
`)),
|
|
41
|
+
`)),ou=Qr(Zs||(Zs=tu`
|
|
42
42
|
0% {
|
|
43
43
|
transform: scale(1);
|
|
44
44
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
100% {
|
|
51
51
|
transform: scale(1);
|
|
52
52
|
}
|
|
53
|
-
`)),
|
|
53
|
+
`)),iu=xs("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),au=xs((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,d]=k.useState(!1),f=Qi(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Qi(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),k.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),yo.jsx("span",{className:f,style:p,children:yo.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(eu||(eu=tu`
|
|
54
54
|
opacity: 0;
|
|
55
55
|
position: absolute;
|
|
56
56
|
|
|
@@ -93,6 +93,18 @@
|
|
|
93
93
|
animation-iteration-count: infinite;
|
|
94
94
|
animation-delay: 200ms;
|
|
95
95
|
}
|
|
96
|
-
`),Ts.rippleVisible,Ps,550,(({theme:e})=>e.transitions.easing.easeInOut),Ts.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Ts.child,Ts.childLeaving,Is,550,(({theme:e})=>e.transitions.easing.easeInOut),Ts.childPulsate,Ds,(({theme:e})=>e.transitions.easing.easeInOut)),Fs=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,l=ln(n,Ns),[a,s]=k.useState([]),u=k.useRef(0),c=k.useRef(null);k.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[a]);const d=k.useRef(!1),f=kl(),p=k.useRef(null),h=k.useRef(null),m=k.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:l}=e;s((e=>[...e,lo.jsx($s,{classes:{ripple:Ii(o.ripple,Ts.ripple),rippleVisible:Ii(o.rippleVisible,Ts.rippleVisible),ripplePulsate:Ii(o.ripplePulsate,Ts.ripplePulsate),child:Ii(o.child,Ts.child),childLeaving:Ii(o.childLeaving,Ts.childLeaving),childPulsate:Ii(o.childPulsate,Ts.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=l}),[o]),g=k.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:l=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const a=l?null:h.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m,f]),v=k.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=k.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{b(e,t)}));p.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[f]);return k.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),lo.jsx(zs,on({className:Ii(Ts.root,o.root,i),ref:h},l,{children:lo.jsx(_s,{component:null,exit:!0,children:a})}))}));function Bs(e){return $i("MuiButtonBase",e)}const Hs=Fi("MuiButtonBase",["root","disabled","focusVisible"]),js=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Ws=Za("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Hs.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ks=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:l,component:a="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:_,onMouseLeave:C,onMouseUp:E,onTouchEnd:w,onTouchMove:S,onTouchStart:T,tabIndex:N=0,TouchRippleProps:R,touchRippleRef:A,type:L}=n,M=ln(n,js),O=k.useRef(null),P=k.useRef(null),I=Cl(P,A),{isFocusVisibleRef:D,onFocus:z,onBlur:$,ref:F}=Il(),[B,H]=k.useState(!1);s&&B&&H(!1),k.useImperativeHandle(r,(()=>({focusVisible:()=>{H(!0),O.current.focus()}})),[]);const[j,W]=k.useState(!1);k.useEffect((()=>{W(!0)}),[]);const K=j&&!u&&!s;function U(e,t,n=c){return _l((r=>{t&&t(r);return!n&&P.current&&P.current[e](r),!0}))}k.useEffect((()=>{B&&d&&!u&&j&&P.current.pulsate()}),[u,d,B,j]);const G=U("start",_),Y=U("stop",m),V=U("stop",g),Q=U("stop",E),q=U("stop",(e=>{B&&e.preventDefault(),C&&C(e)})),X=U("start",T),J=U("stop",w),Z=U("stop",S),ee=U("stop",(e=>{$(e),!1===D.current&&H(!1),p&&p(e)}),!1),te=_l((e=>{O.current||(O.current=e.currentTarget),z(e),!0===D.current&&(H(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=O.current;return a&&"button"!==a&&!("A"===e.tagName&&e.href)},re=k.useRef(!1),oe=_l((e=>{d&&!re.current&&B&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=_l((e=>{d&&" "===e.key&&P.current&&B&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let le=a;"button"===le&&(M.href||M.to)&&(le=f);const ae={};"button"===le?(ae.type=void 0===L?"button":L,ae.disabled=s):(M.href||M.to||(ae.role="button"),s&&(ae["aria-disabled"]=s));const se=Cl(t,F,O),ue=on({},n,{centerRipple:o,component:a,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:N,focusVisible:B}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Dl({root:["root",t&&"disabled",n&&"focusVisible"]},Bs,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return lo.jsxs(Ws,on({as:le,className:Ii(ce.root,l),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:G,onMouseLeave:q,onMouseUp:Q,onDragLeave:V,onTouchEnd:J,onTouchMove:Z,onTouchStart:X,ref:se,tabIndex:s?-1:N,type:L},ae,M,{children:[i,K?lo.jsx(Fs,on({ref:I,center:o},R)):null]}))}));function Us(e){return $i("MuiIconButton",e)}const Gs=Fi("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ys=["edge","children","className","color","disabled","disableFocusRipple","size"],Vs=Za(Ks,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${To(n.color)}`],n.edge&&t[`edge${To(n.edge)}`],t[`size${To(n.size)}`]]}})((({theme:e,ownerState:t})=>on({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ga.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return on({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&on({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":on({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ga.alpha(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Gs.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Qs=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:l="default",disabled:a=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=ln(n,Ys),d=on({},n,{edge:r,color:l,disabled:a,disableFocusRipple:s,size:u}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return Dl({root:["root",n&&"disabled","default"!==r&&`color${To(r)}`,o&&`edge${To(o)}`,`size${To(i)}`]},Us,t)})(d);return lo.jsx(Vs,on({className:Ii(f.root,i),centerRipple:!0,focusRipple:!s,disabled:a,ref:t},c,{ownerState:d,children:o}))}));function qs(e){return $i("MuiTypography",e)}Fi("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Xs=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Js=Za("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${To(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>on({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Zs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},eu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tu=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiTypography"}),r=(e=>eu[e]||e)(n.color),o=Ai(on({},n,{color:r})),{align:i="inherit",className:l,component:a,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:f=Zs}=o,p=ln(o,Xs),h=on({},o,{align:i,color:r,className:l,component:a,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:f}),m=a||(c?"p":f[d]||Zs[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e;return Dl({root:["root",i,"inherit"!==e.align&&`align${To(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},qs,l)})(h);return lo.jsx(Js,on({as:m,ref:t,ownerState:h,className:Ii(g.root,l)},p))}));var nu,ru={};function ou(){if(nu)return ru;nu=1,Object.defineProperty(ru,"__esModule",{value:!0}),ru.default=void 0;var e=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=i?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,r&&r.set(e,o),o}(h()),t=Ua;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}return ru.default=function(n=null){const r=e.useContext(t.ThemeContext);return r&&(o=r,0!==Object.keys(o).length)?r:n;var o},ru}var iu=o(ou()),lu="top",au="bottom",su="right",uu="left",cu="auto",du=[lu,au,su,uu],fu="start",pu="end",hu="viewport",mu="popper",gu=du.reduce((function(e,t){return e.concat([t+"-"+fu,t+"-"+pu])}),[]),vu=[].concat(du,[cu]).reduce((function(e,t){return e.concat([t,t+"-"+fu,t+"-"+pu])}),[]),bu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yu(e){return e?(e.nodeName||"").toLowerCase():null}function xu(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _u(e){return e instanceof xu(e).Element||e instanceof Element}function Cu(e){return e instanceof xu(e).HTMLElement||e instanceof HTMLElement}function Eu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof xu(e).ShadowRoot||e instanceof ShadowRoot)}var wu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Cu(o)&&yu(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Cu(r)&&yu(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Su(e){return e.split("-")[0]}var ku=Math.max,Tu=Math.min,Nu=Math.round;function Ru(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Au(){return!/^((?!chrome|android).)*safari/i.test(Ru())}function Lu(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Cu(e)&&(o=e.offsetWidth>0&&Nu(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Nu(r.height)/e.offsetHeight||1);var l=(_u(e)?xu(e):window).visualViewport,a=!Au()&&n,s=(r.left+(a&&l?l.offsetLeft:0))/o,u=(r.top+(a&&l?l.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Mu(e){var t=Lu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ou(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Eu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pu(e){return xu(e).getComputedStyle(e)}function Iu(e){return["table","td","th"].indexOf(yu(e))>=0}function Du(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function zu(e){return"html"===yu(e)?e:e.assignedSlot||e.parentNode||(Eu(e)?e.host:null)||Du(e)}function $u(e){return Cu(e)&&"fixed"!==Pu(e).position?e.offsetParent:null}function Fu(e){for(var t=xu(e),n=$u(e);n&&Iu(n)&&"static"===Pu(n).position;)n=$u(n);return n&&("html"===yu(n)||"body"===yu(n)&&"static"===Pu(n).position)?t:n||function(e){var t=/firefox/i.test(Ru());if(/Trident/i.test(Ru())&&Cu(e)&&"fixed"===Pu(e).position)return null;var n=zu(e);for(Eu(n)&&(n=n.host);Cu(n)&&["html","body"].indexOf(yu(n))<0;){var r=Pu(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Bu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Hu(e,t,n){return ku(e,Tu(t,n))}function ju(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Wu(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Ku={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,a=Su(n.placement),s=Bu(a),u=[uu,su].indexOf(a)>=0?"height":"width";if(i&&l){var c=function(e,t){return ju("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Wu(e,du))}(o.padding,n),d=Mu(i),f="y"===s?lu:uu,p="y"===s?au:su,h=n.rects.reference[u]+n.rects.reference[s]-l[s]-n.rects.popper[u],m=l[s]-n.rects.reference[s],g=Fu(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=c[f],x=v-d[u]-c[p],_=v/2-d[u]/2+b,C=Hu(y,_,x),E=s;n.modifiersData[r]=((t={})[E]=C,t.centerOffset=C-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ou(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Uu(e){return e.split("-")[1]}var Gu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yu(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,a=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=l.x,p=void 0===f?0:f,h=l.y,m=void 0===h?0:h,g="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=l.hasOwnProperty("x"),b=l.hasOwnProperty("y"),y=uu,x=lu,_=window;if(u){var C=Fu(n),E="clientHeight",w="clientWidth";if(C===xu(n)&&"static"!==Pu(C=Du(n)).position&&"absolute"===a&&(E="scrollHeight",w="scrollWidth"),o===lu||(o===uu||o===su)&&i===pu)x=au,m-=(d&&C===_&&_.visualViewport?_.visualViewport.height:C[E])-r.height,m*=s?1:-1;if(o===uu||(o===lu||o===au)&&i===pu)y=su,p-=(d&&C===_&&_.visualViewport?_.visualViewport.width:C[w])-r.width,p*=s?1:-1}var S,k=Object.assign({position:a},u&&Gu),T=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Nu(n*o)/o||0,y:Nu(r*o)/o||0}}({x:p,y:m},xu(n)):{x:p,y:m};return p=T.x,m=T.y,s?Object.assign({},k,((S={})[x]=b?"0":"",S[y]=v?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",S)):Object.assign({},k,((t={})[x]=b?m+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var Vu={passive:!0};var Qu={left:"right",right:"left",bottom:"top",top:"bottom"};function qu(e){return e.replace(/left|right|bottom|top/g,(function(e){return Qu[e]}))}var Xu={start:"end",end:"start"};function Ju(e){return e.replace(/start|end/g,(function(e){return Xu[e]}))}function Zu(e){var t=xu(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ec(e){return Lu(Du(e)).left+Zu(e).scrollLeft}function tc(e){var t=Pu(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function nc(e){return["html","body","#document"].indexOf(yu(e))>=0?e.ownerDocument.body:Cu(e)&&tc(e)?e:nc(zu(e))}function rc(e,t){var n;void 0===t&&(t=[]);var r=nc(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=xu(r),l=o?[i].concat(i.visualViewport||[],tc(r)?r:[]):r,a=t.concat(l);return o?a:a.concat(rc(zu(l)))}function oc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ic(e,t,n){return t===hu?oc(function(e,t){var n=xu(e),r=Du(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;var u=Au();(u||!u&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a+ec(e),y:s}}(e,n)):_u(t)?function(e,t){var n=Lu(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):oc(function(e){var t,n=Du(e),r=Zu(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ku(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ku(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+ec(e),s=-r.scrollTop;return"rtl"===Pu(o||n).direction&&(a+=ku(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}(Du(e)))}function lc(e,t,n,r){var o="clippingParents"===t?function(e){var t=rc(zu(e)),n=["absolute","fixed"].indexOf(Pu(e).position)>=0&&Cu(e)?Fu(e):e;return _u(n)?t.filter((function(e){return _u(e)&&Ou(e,n)&&"body"!==yu(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),l=i[0],a=i.reduce((function(t,n){var o=ic(e,n,r);return t.top=ku(o.top,t.top),t.right=Tu(o.right,t.right),t.bottom=Tu(o.bottom,t.bottom),t.left=ku(o.left,t.left),t}),ic(e,l,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ac(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Su(o):null,l=o?Uu(o):null,a=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case lu:t={x:a,y:n.y-r.height};break;case au:t={x:a,y:n.y+n.height};break;case su:t={x:n.x+n.width,y:s};break;case uu:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Bu(i):null;if(null!=u){var c="y"===u?"height":"width";switch(l){case fu:t[u]=t[u]-(n[c]/2-r[c]/2);break;case pu:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function sc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,l=void 0===i?e.strategy:i,a=n.boundary,s=void 0===a?"clippingParents":a,u=n.rootBoundary,c=void 0===u?hu:u,d=n.elementContext,f=void 0===d?mu:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,v=ju("number"!=typeof g?g:Wu(g,du)),b=f===mu?"reference":mu,y=e.rects.popper,x=e.elements[h?b:f],_=lc(_u(x)?x:x.contextElement||Du(e.elements.popper),s,c,l),C=Lu(e.elements.reference),E=ac({reference:C,element:y,placement:o}),w=oc(Object.assign({},y,E)),S=f===mu?w:C,k={top:_.top-S.top+v.top,bottom:S.bottom-_.bottom+v.bottom,left:_.left-S.left+v.left,right:S.right-_.right+v.right},T=e.modifiersData.offset;if(f===mu&&T){var N=T[o];Object.keys(k).forEach((function(e){var t=[su,au].indexOf(e)>=0?1:-1,n=[lu,au].indexOf(e)>=0?"y":"x";k[e]+=N[n]*t}))}return k}function uc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,l=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?vu:s,c=Uu(r),d=c?a?gu:gu.filter((function(e){return Uu(e)===c})):du,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=sc(e,{placement:n,boundary:o,rootBoundary:i,padding:l})[Su(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var cc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,l=n.altAxis,a=void 0===l||l,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=Su(g),b=s||(v===g||!h?[qu(g)]:function(e){if(Su(e)===cu)return[];var t=qu(e);return[Ju(e),t,Ju(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Su(n)===cu?uc(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,_=t.rects.popper,C=new Map,E=!0,w=y[0],S=0;S<y.length;S++){var k=y[S],T=Su(k),N=Uu(k)===fu,R=[lu,au].indexOf(T)>=0,A=R?"width":"height",L=sc(t,{placement:k,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),M=R?N?su:uu:N?au:lu;x[A]>_[A]&&(M=qu(M));var O=qu(M),P=[];if(i&&P.push(L[T]<=0),a&&P.push(L[M]<=0,L[O]<=0),P.every((function(e){return e}))){w=k,E=!1;break}C.set(k,P)}if(E)for(var I=function(e){var t=y.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return w=t,"break"},D=h?3:1;D>0;D--){if("break"===I(D))break}t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function dc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fc(e){return[lu,su,au,uu].some((function(t){return e[t]>=0}))}var pc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,l=vu.reduce((function(e,n){return e[n]=function(e,t,n){var r=Su(e),o=[uu,lu].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=i[0],a=i[1];return l=l||0,a=(a||0)*o,[uu,su].indexOf(r)>=0?{x:a,y:l}:{x:l,y:a}}(n,t.rects,i),e}),{}),a=l[t.placement],s=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=l}};var hc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,l=n.altAxis,a=void 0!==l&&l,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,g=sc(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=Su(t.placement),b=Uu(t.placement),y=!b,x=Bu(v),_="x"===x?"y":"x",C=t.modifiersData.popperOffsets,E=t.rects.reference,w=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(C){if(i){var R,A="y"===x?lu:uu,L="y"===x?au:su,M="y"===x?"height":"width",O=C[x],P=O+g[A],I=O-g[L],D=p?-w[M]/2:0,z=b===fu?E[M]:w[M],$=b===fu?-w[M]:-E[M],F=t.elements.arrow,B=p&&F?Mu(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=H[A],W=H[L],K=Hu(0,E[M],B[M]),U=y?E[M]/2-D-K-j-k.mainAxis:z-K-j-k.mainAxis,G=y?-E[M]/2+D+K+W+k.mainAxis:$+K+W+k.mainAxis,Y=t.elements.arrow&&Fu(t.elements.arrow),V=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,Q=null!=(R=null==T?void 0:T[x])?R:0,q=O+G-Q,X=Hu(p?Tu(P,O+U-Q-V):P,O,p?ku(I,q):I);C[x]=X,N[x]=X-O}if(a){var J,Z="x"===x?lu:uu,ee="x"===x?au:su,te=C[_],ne="y"===_?"height":"width",re=te+g[Z],oe=te-g[ee],ie=-1!==[lu,uu].indexOf(v),le=null!=(J=null==T?void 0:T[_])?J:0,ae=ie?re:te-E[ne]-w[ne]-le+k.altAxis,se=ie?te+E[ne]+w[ne]-le-k.altAxis:oe,ue=p&&ie?function(e,t,n){var r=Hu(e,t,n);return r>n?n:r}(ae,te,se):Hu(p?ae:re,te,p?se:oe);C[_]=ue,N[_]=ue-te}t.modifiersData[r]=N}},requiresIfExists:["offset"]};function mc(e,t,n){void 0===n&&(n=!1);var r=Cu(t),o=Cu(t)&&function(e){var t=e.getBoundingClientRect(),n=Nu(t.width)/e.offsetWidth||1,r=Nu(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Du(t),l=Lu(e,o,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==yu(t)||tc(i))&&(a=function(e){return e!==xu(e)&&Cu(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Zu(e);var t}(t)),Cu(t)?((s=Lu(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=ec(i))),{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function gc(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function vc(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var bc={placement:"bottom",modifiers:[],strategy:"absolute"};function yc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function xc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?bc:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},bc,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],a=!1,s={state:o,setOptions:function(n){var a="function"==typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,a),o.scrollParents={reference:_u(e)?rc(e):e.contextElement?rc(e.contextElement):[],popper:rc(t)};var c,d,f=function(e){var t=gc(e);return bu.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((c=[].concat(r,o.options.modifiers),d=c.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return o.orderedModifiers=f.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var a=i({state:o,name:t,instance:s,options:r}),u=function(){};l.push(a||u)}})),s.update()},forceUpdate:function(){if(!a){var e=o.elements,t=e.reference,n=e.popper;if(yc(t,n)){o.rects={reference:mc(t,Fu(n),"fixed"===o.options.strategy),popper:Mu(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],l=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"==typeof l&&(o=l({state:o,options:c,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:vc((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){u(),a=!0}};if(!yc(e,t))return s;function u(){l.forEach((function(e){return e()})),l=[]}return s.setOptions(n).then((function(e){!a&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var _c=xc({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,l=r.resize,a=void 0===l||l,s=xu(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Vu)})),a&&s.addEventListener("resize",n.update,Vu),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Vu)})),a&&s.removeEventListener("resize",n.update,Vu)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ac({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,l=void 0===i||i,a=n.roundOffsets,s=void 0===a||a,u={placement:Su(t.placement),variation:Uu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Yu(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yu(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},wu,pc,cc,hc,Ku,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,l=sc(t,{elementContext:"reference"}),a=sc(t,{altBoundary:!0}),s=dc(l,r),u=dc(a,o,i),c=fc(s),d=fc(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const Cc=k.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,l]=k.useState(null),a=Cl(k.isValidElement(n)?jl(n):null,t);if(cl((()=>{o||l(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),cl((()=>{if(i&&!o)return vl(t,i),()=>{vl(t,null)}}),[t,i,o]),o){if(k.isValidElement(n)){const e={ref:a};return k.cloneElement(n,e)}return lo.jsx(k.Fragment,{children:n})}return lo.jsx(k.Fragment,{children:i?ls.createPortal(n,i):i})}));function Ec(e){return $i("MuiPopper",e)}Fi("MuiPopper",["root"]);const wc=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Sc=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function kc(e){return"function"==typeof e?e():e}const Tc={},Nc=k.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:l,modifiers:a,open:s,placement:u,popperOptions:c,popperRef:d,slotProps:f={},slots:p={},TransitionProps:h}=e,m=ln(e,wc),g=k.useRef(null),v=Cl(g,t),b=k.useRef(null),y=Cl(b,d),x=k.useRef(y);cl((()=>{x.current=y}),[y]),k.useImperativeHandle(d,(()=>b.current),[]);const _=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[C,E]=k.useState(_),[w,S]=k.useState(kc(r));k.useEffect((()=>{b.current&&b.current.forceUpdate()})),k.useEffect((()=>{r&&S(kc(r))}),[r]),cl((()=>{if(!w||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{(e=>{E(e.placement)})(e)}}];null!=a&&(e=e.concat(a)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=_c(w,g.current,on({placement:_},c,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[w,l,a,s,c,_]);const T={placement:C};null!==h&&(T.TransitionProps=h);const N=(e=>{const{classes:t}=e;return Dl({root:["root"]},Ec,t)})(e),R=null!=(n=p.root)?n:"div",A=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=ln(e,Hl),a=i?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(r,o),{props:s,internalRef:u}=Bl(on({},l,{externalSlotProps:a}));return $l(n,on({},s,{ref:Cl(u,null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:R,externalSlotProps:f.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:N.root});return lo.jsx(R,on({},A,{children:"function"==typeof o?o(T):o}))})),Rc=k.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:l=!1,keepMounted:a=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=Tc,popperRef:f,style:p,transition:h=!1,slotProps:m={},slots:g={}}=e,v=ln(e,Sc),[b,y]=k.useState(!0);if(!a&&!u&&(!h||b))return null;let x;if(o)x=o;else if(n){const e=kc(n);x=e&&void 0!==e.nodeType?ml(e).body:ml(null).body}const _=u||!a||h&&!b?void 0:"none",C=h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return lo.jsx(Cc,{disablePortal:l,container:x,children:lo.jsx(Nc,on({anchorEl:n,direction:i,disablePortal:l,modifiers:s,ref:t,open:h?!b:u,placement:c,popperOptions:d,popperRef:f,slotProps:m,slots:g},v,{style:on({position:"fixed",top:0,left:0,display:_},p),TransitionProps:C,children:r}))})})),Ac=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Lc=Za(Rc,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mc=k.forwardRef((function(e,t){var n;const r=iu(),o=rs({props:e,name:"MuiPopper"}),{anchorEl:i,component:l,components:a,componentsProps:s,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:v,slots:b,slotProps:y}=o,x=ln(o,Ac),_=null!=(n=null==b?void 0:b.root)?n:null==a?void 0:a.Root,C=on({anchorEl:i,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:v},x);return lo.jsx(Lc,on({as:l,direction:null==r?void 0:r.direction,slots:{root:_},slotProps:null!=y?y:s},C,{ref:t}))})),Oc=["onChange","maxRows","minRows","style","value"];function Pc(e){return parseInt(e,10)||0}const Ic={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Dc(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const zc=k.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:l}=e,a=ln(e,Oc),{current:s}=k.useRef(null!=l),u=k.useRef(null),c=Cl(t,u),d=k.useRef(null),f=k.useRef(null),p=k.useCallback((()=>{const t=u.current,n=f.current;if(!t||!n)return;const i=gl(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const l=i.boxSizing,a=Pc(i.paddingBottom)+Pc(i.paddingTop),s=Pc(i.borderBottomWidth)+Pc(i.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;o&&(p=Math.max(Number(o)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===l?a+s:0),overflowing:Math.abs(p-c)<=1}}),[r,o,e.placeholder]),h=_l((()=>{const e=u.current,t=p();if(!e||!t||Dc(t))return!1;const n=t.outerHeightStyle;return null!=d.current&&d.current!==n})),m=k.useCallback((()=>{const e=u.current,t=p();if(!e||!t||Dc(t))return;const n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[p]),g=k.useRef(-1);cl((()=>{const e=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}(m),t=null==u?void 0:u.current;if(!t)return;const n=gl(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{h()&&(r.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[p,m,h]),cl((()=>{m()}));return lo.jsxs(k.Fragment,{children:[lo.jsx("textarea",on({value:l,onChange:e=>{s||m(),n&&n(e)},ref:c,rows:o,style:i},a)),lo.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:on({},Ic,i,{paddingTop:0,paddingBottom:0})})]})}));const $c=k.createContext(void 0);function Fc(e){return lo.jsx(Ni,on({},e,{defaultTheme:za,themeId:rn}))}function Bc(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Hc(e){return $i("MuiInputBase",e)}const jc=Fi("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Wc=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Kc=Za("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${To(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>on({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${jc.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&on({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Uc=Za("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=on({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return on({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${jc.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${jc.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Gc=lo.jsx(Fc,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Yc=k.forwardRef((function(e,t){var n;const r=rs({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:l,className:a,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:_=!1,name:C,onBlur:E,onChange:w,onClick:S,onFocus:T,onKeyDown:N,onKeyUp:R,placeholder:A,readOnly:L,renderSuffix:M,rows:O,slotProps:P={},slots:I={},startAdornment:D,type:z="text",value:$}=r,F=ln(r,Wc),B=null!=v.value?v.value:$,{current:H}=k.useRef(null!=B),j=k.useRef(),W=k.useCallback((e=>{}),[]),K=Cl(j,b,v.ref,W),[U,G]=k.useState(!1),Y=k.useContext($c),V=function({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=Y?Y.focused:U,k.useEffect((()=>{!Y&&d&&U&&(G(!1),E&&E())}),[Y,d,U,E]);const Q=Y&&Y.onFilled,q=Y&&Y.onEmpty,X=k.useCallback((e=>{!function(e,t=!1){return e&&(Bc(e.value)&&""!==e.value||t&&Bc(e.defaultValue)&&""!==e.defaultValue)}(e)?q&&q():Q&&Q()}),[Q,q]);cl((()=>{H&&X({value:B})}),[B,X,H]);k.useEffect((()=>{X(j.current)}),[]);let J=g,Z=v;_&&"input"===J&&(Z=on(O?{type:void 0,minRows:O,maxRows:O}:{type:void 0,maxRows:y,minRows:x},Z),J=zc);k.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(D))}),[Y,D]);const ee=on({},r,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:Y,fullWidth:h,hiddenLabel:V.hiddenLabel,multiline:_,size:V.size,startAdornment:D,type:z}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:l,formControl:a,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return Dl({root:["root",`color${To(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",l&&"focused",a&&"formControl",f&&"medium"!==f&&`size${To(f)}`,c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Hc,t)})(ee),ne=I.root||s.Root||Kc,re=P.root||u.root||{},oe=I.input||s.Input||Uc;return Z=on({},Z,null!=(n=P.input)?n:u.input),lo.jsxs(k.Fragment,{children:[!f&&Gc,lo.jsxs(ne,on({},re,!zl(ne)&&{ownerState:on({},ee,re.ownerState)},{ref:t,onClick:e=>{j.current&&e.currentTarget===e.target&&j.current.focus(),S&&S(e)}},F,{className:Ii(te.root,re.className,a,L&&"MuiInputBase-readOnly"),children:[D,lo.jsx($c.Provider,{value:null,children:lo.jsx(oe,on({ownerState:ee,"aria-invalid":V.error,"aria-describedby":o,autoComplete:i,autoFocus:l,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?j.current:{value:"x"})},name:C,placeholder:A,readOnly:L,required:V.required,rows:O,value:B,onKeyDown:N,onKeyUp:R,type:z},Z,!zl(oe)&&{as:J,ownerState:on({},ee,Z.ownerState)},{ref:K,className:Ii(te.input,Z.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{E&&E(e),v.onBlur&&v.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!H){const t=e.target||j.current;if(null==t)throw new Error(tn(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),w&&w(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(T&&T(e),v.onFocus&&v.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):G(!0))}}))}),p,M?M(on({},V,{startAdornment:D})):null]}))]})})),Vc=Fi("MuiBox",["root"]),Qc=Da(),qc=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=uo("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(xi);return k.forwardRef((function(e,l){const a=Ti(n),s=Ai(e),{className:u,component:c="div"}=s,d=ln(s,Di);return lo.jsx(i,on({as:c,ref:l,className:Ii(u,o?o(r):r),theme:t&&a[t]||a},d))}))}({themeId:rn,defaultTheme:Qc,defaultClassName:Vc.root,generateClassName:Oi.generate});function Xc(e){return $i("MuiButton",e)}const Jc=Fi("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Zc=k.createContext({}),ed=k.createContext(void 0),td=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],nd=e=>on({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),rd=Za(Ks,{shouldForwardProp:e=>Ja(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${To(n.color)}`],t[`size${To(n.size)}`],t[`${n.variant}Size${To(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return on({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":on({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ga.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ga.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ga.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":on({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Jc.focusVisible}`]:on({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Jc.disabled}`]:on({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ga.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Jc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Jc.disabled}`]:{boxShadow:"none"}})),od=Za("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${To(n.size)}`]]}})((({ownerState:e})=>on({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},nd(e)))),id=Za("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${To(n.size)}`]]}})((({ownerState:e})=>on({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},nd(e)))),ld=k.forwardRef((function(e,t){const n=k.useContext(Zc),r=k.useContext(ed),o=rs({props:sl(n,e),name:"MuiButton"}),{children:i,color:l="primary",component:a="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:h=!1,size:m="medium",startIcon:g,type:v,variant:b="text"}=o,y=ln(o,td),x=on({},o,{color:l,component:a,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:v,variant:b}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e;return on({},l,Dl({root:["root",i,`${i}${To(t)}`,`size${To(o)}`,`${i}Size${To(o)}`,`color${To(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${To(o)}`],endIcon:["icon","endIcon",`iconSize${To(o)}`]},Xc,l))})(x),C=g&&lo.jsx(od,{className:_.startIcon,ownerState:x,children:g}),E=f&&lo.jsx(id,{className:_.endIcon,ownerState:x,children:f}),w=r||"";return lo.jsxs(rd,on({ownerState:x,className:Ii(n.className,_.root,s,w),component:a,disabled:u,focusRipple:!d,focusVisibleClassName:Ii(_.focusVisible,p),ref:t,type:v},y,{classes:_,children:[C,i,E]}))}));function ad(e){return e.substring(2).toLowerCase()}function sd(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,l=k.useRef(!1),a=k.useRef(null),s=k.useRef(!1),u=k.useRef(!1);k.useEffect((()=>(setTimeout((()=>{s.current=!0}),0),()=>{s.current=!1})),[]);const c=Cl(jl(t),a),d=_l((e=>{const t=u.current;u.current=!1;const r=ml(a.current);if(!s.current||!a.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(l.current)return void(l.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(a.current)>-1:!r.documentElement.contains(e.target)||a.current.contains(e.target),i||!n&&t||o(e)})),f=e=>n=>{u.current=!0;const r=t.props[e];r&&r(n)},p={ref:c};return!1!==i&&(p[i]=f(i)),k.useEffect((()=>{if(!1!==i){const e=ad(i),t=ml(a.current),n=()=>{l.current=!0};return t.addEventListener(e,d),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,d),t.removeEventListener("touchmove",n)}}}),[d,i]),!1!==r&&(p[r]=f(r)),k.useEffect((()=>{if(!1!==r){const e=ad(r),t=ml(a.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}}),[d,r]),lo.jsx(k.Fragment,{children:k.cloneElement(t,p)})}function ud(e){return $i("MuiDivider",e)}const cd=Fi("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),dd=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],fd=Za("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>on({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:ga.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>on({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>on({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>on({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>on({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),pd=Za("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>on({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),hd=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:l=(o?"div":"hr"),flexItem:a=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==l?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=ln(n,dd),h=on({},n,{absolute:r,component:l,flexItem:a,light:s,orientation:u,role:c,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:l,textAlign:a,variant:s}=e;return Dl({root:["root",t&&"absolute",s,i&&"light","vertical"===l&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===l&&"withChildrenVertical","right"===a&&"vertical"!==l&&"textAlignRight","left"===a&&"vertical"!==l&&"textAlignLeft"],wrapper:["wrapper","vertical"===l&&"wrapperVertical"]},ud,r)})(h);return lo.jsx(fd,on({as:l,className:Ii(m.root,i),role:c,ref:t,ownerState:h},p,{children:o?lo.jsx(pd,{className:m.wrapper,ownerState:h,children:o}):null}))}));hd.muiSkipListHighlight=!0;const md=function(e={}){const{createStyledComponent:t=oa,useThemeProps:n=ia,componentName:r="MuiStack"}=e,o=t(aa);return k.forwardRef((function(e,t){const i=Ai(n(e)),{component:l="div",direction:a="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=i,p=ln(i,na),h={direction:a,spacing:s,useFlexGap:f},m=Dl({root:["root"]},(e=>$i(r,e)),{});return lo.jsx(o,on({as:l,ownerState:h,ref:t,className:Ii(m.root,d)},p,{children:u?la(c,u):c}))}))}({createStyledComponent:Za("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>rs({props:e,name:"MuiStack"})}),gd=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function vd(e){return`scale(${e}, ${e**2})`}const bd={entering:{opacity:1,transform:vd(1)},entered:{opacity:1,transform:"none"}},yd="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xd=k.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:l,onEnter:a,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=ms}=e,g=ln(e,gd),v=kl(),b=k.useRef(),y=$a(),x=k.useRef(null),_=Cl(x,jl(o),t),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=C(u),w=C(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=Cs({style:p,timeout:h,easing:i},{mode:"enter"});let l;"auto"===h?(l=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=l):l=n,e.style.transition=[y.transitions.create("opacity",{duration:l,delay:r}),y.transitions.create("transform",{duration:yd?l:.666*l,delay:r,easing:o})].join(","),a&&a(e,t)})),S=C(s),T=C(f),N=C((e=>{const{duration:t,delay:n,easing:r}=Cs({style:p,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:yd?o:.666*o,delay:yd?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=vd(.75),c&&c(e)})),R=C(d);return lo.jsx(m,on({appear:r,in:l,nodeRef:x,onEnter:w,onEntered:S,onEntering:E,onExit:N,onExited:R,onExiting:T,addEndListener:e=>{"auto"===h&&v.start(b.current||0,e),n&&n(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>k.cloneElement(o,on({style:on({opacity:0,transform:vd(.75),visibility:"exited"!==e||l?void 0:"hidden"},bd[e],p,o.props.style),ref:_},t))}))}));xd.muiSupportAuto=!0;const _d=k.createContext({});function Cd(e){return $i("MuiList",e)}Fi("MuiList",["root","padding","dense","subheader"]);const Ed=["children","className","component","dense","disablePadding","subheader"],wd=Za("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>on({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Sd=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:l=!1,disablePadding:a=!1,subheader:s}=n,u=ln(n,Ed),c=k.useMemo((()=>({dense:l})),[l]),d=on({},n,{component:i,dense:l,disablePadding:a}),f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Dl({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Cd,t)})(d);return lo.jsx(_d.Provider,{value:c,children:lo.jsxs(wd,on({as:i,className:Ii(f.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function kd(e){return $i("MuiListItemIcon",e)}const Td=Fi("MuiListItemIcon",["root","alignItemsFlexStart"]),Nd=["className"],Rd=Za("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>on({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Ad=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=ln(n,Nd),i=on({},n,{alignItems:k.useContext(_d).alignItems}),l=(e=>{const{alignItems:t,classes:n}=e;return Dl({root:["root","flex-start"===t&&"alignItemsFlexStart"]},kd,n)})(i);return lo.jsx(Rd,on({className:Ii(l.root,r),ownerState:i,ref:t},o))})),Ld=Fi("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Md=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Od(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Pd(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Id(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Dd(e,t,n,r,o,i){let l=!1,a=o(e,t,!!t&&n);for(;a;){if(a===e.firstChild){if(l)return!1;l=!0}const t=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Id(a,i)&&!t)return a.focus(),!0;a=o(e,a,n)}return!1}const zd=k.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:l,disabledItemsFocusable:a=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=ln(e,Md),f=k.useRef(null),p=k.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});cl((()=>{r&&f.current.focus()}),[r]),k.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(ml(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const h=Cl(f,t);let m=-1;k.Children.forEach(i,((e,t)=>{k.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=k.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),k.cloneElement(e,t)}return e}));return lo.jsx(Sd,on({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=f.current,n=e.key,r=ml(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Dd(t,r,s,a,Od);else if("ArrowUp"===n)e.preventDefault(),Dd(t,r,s,a,Pd);else if("Home"===n)e.preventDefault(),Dd(t,null,s,a,Od);else if("End"===n)e.preventDefault(),Dd(t,null,s,a,Pd);else if(1===n.length){const o=p.current,i=n.toLowerCase(),l=performance.now();o.keys.length>0&&(l-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=l,o.keys.push(i);const s=r&&!o.repeating&&Id(r,o);o.previousKeyMatched&&(s||Dd(t,r,!1,a,Od,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function $d(e){return $i("MuiMenuItem",e)}const Fd=Fi("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Bd=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Hd=Za(Ks,{shouldForwardProp:e=>Ja(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>on({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Fd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ga.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Fd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ga.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Fd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ga.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ga.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Fd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Fd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${cd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${cd.inset}`]:{marginLeft:52},[`& .${Ld.root}`]:{marginTop:0,marginBottom:0},[`& .${Ld.inset}`]:{paddingLeft:36},[`& .${Td.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&on({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Td.root} svg`]:{fontSize:"1.25rem"}})))),jd=k.forwardRef((function(e,t){const n=rs({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:l=!1,disableGutters:a=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,f=ln(n,Bd),p=k.useContext(_d),h=k.useMemo((()=>({dense:i||p.dense||!1,disableGutters:a})),[p.dense,i,a]),m=k.useRef(null);cl((()=>{r&&m.current&&m.current.focus()}),[r]);const g=on({},n,{dense:h.dense,divider:l,disableGutters:a}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:l}=e;return on({},l,Dl({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},$d,l))})(n),b=Cl(m,t);let y;return n.disabled||(y=void 0!==c?c:-1),lo.jsx(_d.Provider,{value:h,children:lo.jsx(Hd,on({ref:b,role:u,tabIndex:y,component:o,focusVisibleClassName:Ii(v.focusVisible,s),className:Ii(v.root,d)},f,{ownerState:g,classes:v}))})}));function Wd(e){return $i("MuiTooltip",e)}const Kd=Fi("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ud=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const Gd=Za(Mc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>on({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Kd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Kd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Kd.arrow}`]:on({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Kd.arrow}`]:on({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Yd=Za("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${To(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return on({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ga.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${Kd.popper}[data-popper-placement*="left"] &`]:on({transformOrigin:"right center"},t.isRtl?on({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):on({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Kd.popper}[data-popper-placement*="right"] &`]:on({transformOrigin:"left center"},t.isRtl?on({marginRight:"14px"},t.touch&&{marginRight:"24px"}):on({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Kd.popper}[data-popper-placement*="top"] &`]:on({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Kd.popper}[data-popper-placement*="bottom"] &`]:on({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),Vd=Za("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ga.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Qd=!1;const qd=new Sl;let Xd={x:0,y:0};function Jd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Zd=k.forwardRef((function(e,t){var n,r,o,i,l,a,s,u,c,d,f,p,h,m,g,v,b,y,x;const _=rs({props:e,name:"MuiTooltip"}),{arrow:C=!1,children:E,components:w={},componentsProps:S={},describeChild:T=!1,disableFocusListener:N=!1,disableHoverListener:R=!1,disableInteractive:A=!1,disableTouchListener:L=!1,enterDelay:M=100,enterNextDelay:O=0,enterTouchDelay:P=700,followCursor:I=!1,id:D,leaveDelay:z=0,leaveTouchDelay:$=1500,onClose:F,onOpen:B,open:H,placement:j="bottom",PopperComponent:W,PopperProps:K={},slotProps:U={},slots:G={},title:Y,TransitionComponent:V=xd,TransitionProps:Q}=_,q=ln(_,Ud),X=k.isValidElement(E)?E:lo.jsx("span",{children:E}),J=$a(),Z=(()=>{const e=k.useContext(Vl);return null!=e&&e})(),[ee,te]=k.useState(),[ne,re]=k.useState(null),oe=k.useRef(!1),ie=A||I,le=kl(),ae=kl(),se=kl(),ue=kl(),[ce,de]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=k.useRef(void 0!==e),[i,l]=k.useState(t);return[o?e:i,k.useCallback((e=>{o||l(e)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"});let fe=ce;const pe=xl(D),he=k.useRef(),me=_l((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),ue.clear()}));k.useEffect((()=>me),[me]);const ge=e=>{qd.clear(),Qd=!0,de(!0),B&&!fe&&B(e)},ve=_l((e=>{qd.start(800+z,(()=>{Qd=!1})),de(!1),F&&fe&&F(e),le.start(J.transitions.duration.shortest,(()=>{oe.current=!1}))})),be=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),ae.clear(),se.clear(),M||Qd&&O?ae.start(Qd?O:M,(()=>{ge(e)})):ge(e))},ye=e=>{ae.clear(),se.start(z,(()=>{ve(e)}))},{isFocusVisibleRef:xe,onBlur:_e,onFocus:Ce,ref:Ee}=Il(),[,we]=k.useState(!1),Se=e=>{_e(e),!1===xe.current&&(we(!1),ye(e))},ke=e=>{ee||te(e.currentTarget),Ce(e),!0===xe.current&&(we(!0),be(e))},Te=e=>{oe.current=!0;const t=X.props;t.onTouchStart&&t.onTouchStart(e)},Ne=e=>{Te(e),se.clear(),le.clear(),me(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ue.start(P,(()=>{document.body.style.WebkitUserSelect=he.current,be(e)}))},Re=e=>{X.props.onTouchEnd&&X.props.onTouchEnd(e),me(),se.start($,(()=>{ve(e)}))};k.useEffect((()=>{if(fe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ve(e)}}),[ve,fe]);const Ae=Cl(jl(X),Ee,te,t);Y||0===Y||(fe=!1);const Le=k.useRef(),Me={},Oe="string"==typeof Y;T?(Me.title=fe||!Oe||R?null:Y,Me["aria-describedby"]=fe?pe:null):(Me["aria-label"]=Oe?Y:null,Me["aria-labelledby"]=fe&&!Oe?pe:null);const Pe=on({},Me,q,X.props,{className:Ii(q.className,X.props.className),onTouchStart:Te,ref:Ae},I?{onMouseMove:e=>{const t=X.props;t.onMouseMove&&t.onMouseMove(e),Xd={x:e.clientX,y:e.clientY},Le.current&&Le.current.update()}}:{}),Ie={};L||(Pe.onTouchStart=Ne,Pe.onTouchEnd=Re),R||(Pe.onMouseOver=Jd(be,Pe.onMouseOver),Pe.onMouseLeave=Jd(ye,Pe.onMouseLeave),ie||(Ie.onMouseOver=be,Ie.onMouseLeave=ye)),N||(Pe.onFocus=Jd(ke,Pe.onFocus),Pe.onBlur=Jd(Se,Pe.onBlur),ie||(Ie.onFocus=ke,Ie.onBlur=Se));const De=k.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=K.popperOptions)&&e.modifiers&&(t=t.concat(K.popperOptions.modifiers)),on({},K.popperOptions,{modifiers:t})}),[ne,K]),ze=on({},_,{isRtl:Z,arrow:C,disableInteractive:ie,placement:j,PopperComponentProp:W,touch:oe.current}),$e=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return Dl({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${To(i.split("-")[0])}`],arrow:["arrow"]},Wd,t)})(ze),Fe=null!=(n=null!=(r=G.popper)?r:w.Popper)?n:Gd,Be=null!=(o=null!=(i=null!=(l=G.transition)?l:w.Transition)?i:V)?o:xd,He=null!=(a=null!=(s=G.tooltip)?s:w.Tooltip)?a:Yd,je=null!=(u=null!=(c=G.arrow)?c:w.Arrow)?u:Vd,We=$l(Fe,on({},K,null!=(d=U.popper)?d:S.popper,{className:Ii($e.popper,null==K?void 0:K.className,null==(f=null!=(p=U.popper)?p:S.popper)?void 0:f.className)}),ze),Ke=$l(Be,on({},Q,null!=(h=U.transition)?h:S.transition),ze),Ue=$l(He,on({},null!=(m=U.tooltip)?m:S.tooltip,{className:Ii($e.tooltip,null==(g=null!=(v=U.tooltip)?v:S.tooltip)?void 0:g.className)}),ze),Ge=$l(je,on({},null!=(b=U.arrow)?b:S.arrow,{className:Ii($e.arrow,null==(y=null!=(x=U.arrow)?x:S.arrow)?void 0:y.className)}),ze);return lo.jsxs(k.Fragment,{children:[k.cloneElement(X,Pe),lo.jsx(Fe,on({as:null!=W?W:Mc,placement:j,anchorEl:I?{getBoundingClientRect:()=>({top:Xd.y,left:Xd.x,right:Xd.x,bottom:Xd.y,width:0,height:0})}:ee,popperRef:Le,open:!!ee&&fe,id:pe,transition:!0},Ie,We,{popperOptions:De,children:({TransitionProps:e})=>lo.jsx(Be,on({timeout:J.transitions.duration.shorter},e,Ke,{children:lo.jsxs(He,on({},Ue,{children:[Y,C?lo.jsx(je,on({},Ge,{ref:re})):null]}))}))}))]})})),ef=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M9 1v1H2v12h12V7h1v7a1 1 0 0 1-.883.993L14 15H2a1 1 0 0 1-.993-.883L1 14V2a1 1 0 0 1 .883-.993L2 1zm7-1v5h-1V1.706l-4.5 4.501-.707-.707L14.292 1H11V0z"})}),tf=k.forwardRef(ef),nf=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}),rf=k.forwardRef(nf);var of,lf,af,sf={};var uf=function(){if(af)return lf;af=1;const e=function(){if(of)return sf;of=1;var e=X(),t=me(),n=q(),r=Y(),o=h();return sf.LinkPlugin=function({validateUrl:i}){let[l]=t.useLexicalComposerContext();return o.useEffect((()=>{if(!l.hasNodes([e.LinkNode]))throw Error("LinkPlugin: LinkNode not registered on editor");return n.mergeRegister(l.registerCommand(e.TOGGLE_LINK_COMMAND,(t=>{if(null===t)return e.toggleLink(t),!0;if("string"==typeof t)return!(void 0!==i&&!i(t)||(e.toggleLink(t),0));let{url:n,target:r,rel:o,title:l}=t;return e.toggleLink(n,{rel:o,target:r,title:l}),!0}),r.COMMAND_PRIORITY_LOW),void 0!==i?l.registerCommand(r.PASTE_COMMAND,(t=>{let n=r.$getSelection();if(!r.$isRangeSelection(n)||n.isCollapsed()||!(t instanceof ClipboardEvent)||null==t.clipboardData)return!1;let o=t.clipboardData.getData("text");return!!i(o)&&!n.getNodes().some((e=>r.$isElementNode(e)))&&(l.dispatchCommand(e.TOGGLE_LINK_COMMAND,o),t.preventDefault(),!0)}),r.COMMAND_PRIORITY_LOW):()=>{})}),[l,i]),null},sf}();return lf=e}();function cf(e){if(e.type)return e;if("#"===e.charAt(0))return cf(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function df(e,t){return e=cf(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}(e)}const ff={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},pf=12,hf=14,mf=16,gf=24,vf=3,bf=300,yf=400,xf=600,_f=700,Cf={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};df(ff.GREYSCALE_0,.05),df(ff.GREEN_PALE,.5),df(ff.BLUE_PALE,.5),df(ff.GREEN_PALE,.5),df(ff.BLUE_PALE,.5),df(ff.GREEN_PALE,.5),df(ff.BLUE_PALE,.5);var Ef;function wf(){return wf=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},wf.apply(null,arguments)}df(ff.GREEN_PALE,.5),df(ff.BLUE_PALE,.5),df(ff.GREEN_PALE,.5),df(ff.BLUE_PALE,.5);var Sf,kf=function(e){return k.createElement("svg",wf({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Ef||(Ef=k.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Tf(){return Tf=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},Tf.apply(null,arguments)}var Nf=function(e){return k.createElement("svg",Tf({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Sf||(Sf=k.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function Rf({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return lo.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function Af(e={}){return lo.jsx(Rf,{...e,children:lo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[lo.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),lo.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Lf(e={}){return lo.jsx(Rf,{...e,children:lo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:lo.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[lo.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),lo.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Mf(e={}){return lo.jsx(Rf,{fontSize:"medium",...e,children:lo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:lo.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:lo.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Of(e={}){return lo.jsx(Rf,{fontSize:"medium",...e,children:lo.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[lo.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),lo.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Pf({className:e}){return lo.jsx(Rf,{fontSize:"small",className:e,children:lo.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:lo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:lo.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:lo.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[lo.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),lo.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function If(e={}){return lo.jsx(Rf,{...e,children:lo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:lo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:lo.jsx("rect",{stroke:ff.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}lo.jsx(Nf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),lo.jsx(kf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),lo.jsx(Mf,{}),lo.jsx(Of,{}),lo.jsx((function(e={}){return lo.jsx(Rf,{...e,children:lo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:lo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:lo.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),lo.jsx(Af,{}),lo.jsx(Lf,{}),lo.jsx(kf,{style:{color:ff.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Df={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:vf,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var zf=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:ff.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:ff.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:lo.jsx(kf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${ff.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:ff.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${ff.MISC_FOCUS_BORDER}`,borderRadius:vf,backgroundColor:ff.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${ff.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:ff.WHITE,color:ff.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:vf},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ff.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:ff.GREYSCALE_0_15,backgroundColor:ff.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:ff.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ff.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:ff.GREEN_PALE},"&:active":{backgroundColor:ff.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ff.GREEN_PALE,boxShadow:`0 0 0 3px ${hl(ff.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:ff.BLUE_PALE},"&:active":{backgroundColor:ff.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ff.BLUE_PALE,boxShadow:`0 0 0 3px ${hl(ff.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:vf,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:ff.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ff.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:ff.GREYSCALE_0_15,backgroundColor:ff.GREYSCALE_100_60,"&:active":{backgroundColor:ff.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:ff.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ff.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:ff.PURPLE,"&.Mui-focusVisible":{borderColor:ff.PURPLE,boxShadow:`0 0 0 3px ${hl(ff.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:ff.GREEN,"&.Mui-focusVisible":{borderColor:ff.GREEN,boxShadow:`0 0 0 3px ${hl(ff.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:ff.BLUE,"&.Mui-focusVisible":{borderColor:ff.BLUE,boxShadow:`0 0 0 3px ${hl(ff.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:ff.ORANGE,"&.Mui-focusVisible":{borderColor:ff.ORANGE,boxShadow:`0 0 0 3px ${hl(ff.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:ff.RED,"&.Mui-focusVisible":{borderColor:ff.RED,boxShadow:`0 0 0 3px ${hl(ff.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:ff.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:ff.PURPLE_PALE},"&:active":{backgroundColor:ff.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:ff.PURPLE_PALE,boxShadow:`0 0 0 3px ${hl(ff.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:ff.GREEN_PALE},"&:active":{backgroundColor:ff.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ff.GREEN_PALE,boxShadow:`0 0 0 3px ${hl(ff.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:ff.BLUE_PALE},"&:active":{backgroundColor:ff.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ff.BLUE_PALE,boxShadow:`0 0 0 3px ${hl(ff.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:ff.ORANGE_PALE},"&:active":{backgroundColor:ff.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:ff.ORANGE_PALE,boxShadow:`0 0 0 3px ${hl(ff.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:ff.RED_PALE},"&:active":{backgroundColor:ff.RED_DARK},"&.Mui-focusVisible":{borderColor:ff.RED_PALE,boxShadow:`0 0 0 3px ${hl(ff.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:ff.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:ff.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:vf,boxShadow:`inset 0 0 0 2px ${ff.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:lo.jsx(Nf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:pf,borderRadius:vf,color:ff.TEXT_PRIMARY,backgroundColor:ff.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:ff.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${ff.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:ff.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:ff.GREYSCALE_0_05,color:ff.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:ff.GREEN,borderColor:ff.GREEN},"&.MuiChip-outlinedInfo":{color:ff.BLUE,borderColor:ff.BLUE},"&.MuiChip-outlinedWarning":{color:ff.ORANGE,borderColor:ff.ORANGE},"&.MuiChip-outlinedError":{color:ff.RED,borderColor:ff.RED}},outlined:{border:`solid 1px ${ff.GREYSCALE_0_15}`,backgroundColor:ff.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:vf,boxShadow:"none",backgroundColor:ff.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:ff.GREEN,borderColor:ff.GREEN},outlinedSecondary:{color:ff.BLUE,borderColor:ff.BLUE},label:{fontFamily:Cf.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:lo.jsx(Nf,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:lo.jsx(kf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:vf},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:vf,fontSize:hf,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:ff.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${ff.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:ff.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:ff.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:ff.GREYSCALE_0_05}}},popupIndicator:{borderRadius:vf,border:`solid 1px ${ff.GREYSCALE_0_15}`,color:ff.GREYSCALE_0_60,marginRight:0,width:gf,height:gf},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${ff.GREYSCALE_0_15}`},clearIndicator:{borderRadius:vf,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:ff.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:hf}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:pf,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:ff.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:ff.GREYSCALE_25,fontSize:pf,fontFamily:Cf.FONT_FAMILY,fontWeight:xf,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:ff.TEXT_PRIMARY},"&.Mui-error":{color:ff.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:ff.TEXT_SECONDARY,content:"'(optional)'",fontWeight:yf,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:ff.TEXT_SECONDARY,content:"'(required)'",fontWeight:yf,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:hf,lineHeight:"16px",backgroundColor:ff.WHITE,borderRadius:vf,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ff.GREYSCALE_0_05}`,borderColor:ff.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ff.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${ff.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${ff.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ff.RED}`,boxShadow:`0px 0px 0px 1px ${ff.RED}, inset 0 2px 0 0 ${ff.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ff.GREYSCALE_0_10}`,borderColor:ff.GREYSCALE_0_10,backgroundColor:ff.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:ff.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:ff.GREYSCALE_0_15,borderRadius:vf,boxShadow:`inset 0 2px 0 0 ${ff.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>lo.jsx(kf,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:ff.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:ff.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:ff.GREYSCALE_0_03},"&:active":{backgroundColor:ff.GREYSCALE_0_10},"&:focus":{backgroundColor:ff.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${ff.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${ff.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:ff.GREYSCALE_0_30,"&:hover":{backgroundColor:ff.GREYSCALE_0_0,borderColor:ff.GREYSCALE_0_15},"& ~svg":{color:ff.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${ff.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:vf}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:ff.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${ff.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:ff.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:hf,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:pf,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:pf,fontWeight:xf,color:ff.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:xf}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${ff.GREYSCALE_0_15}, 0px 0px 0px 1px ${ff.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:lo.jsx(Mf,{}),checkedIcon:lo.jsx(Of,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:ff.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${ff.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:ff.GREEN_PALE,boxShadow:`0 0 0 3px ${hl(ff.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:ff.BLUE_PALE,boxShadow:`0 0 0 3px ${hl(ff.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:ff.GREYSCALE_0_20}},"&.Mui-disabled":{fill:ff.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:lo.jsx(If,{}),checkedIcon:lo.jsx(Af,{}),indeterminateIcon:lo.jsx(Lf,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:vf,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:ff.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:ff.GREYSCALE_0_55,color:ff.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:ff.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:ff.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:ff.GREYSCALE_0_55,"&:hover":{color:ff.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:ff.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:ff.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:hf,color:ff.TEXT_PRIMARY,lineHeight:"16px",fontWeight:xf},secondary:{fontSize:pf,color:ff.GREYSCALE_45,fontWeight:yf,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:hf,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:hf,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:ff.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:pf,borderBottom:`solid 1px ${ff.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:hf,color:ff.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:ff.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:ff.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:ff.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:ff.RED}}},"&.Mui-focusVisible":{backgroundColor:ff.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:ff.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:ff.GREEN,height:"24px","&.Mui-disabled":{color:ff.GREYSCALE_0_15}},rail:{backgroundColor:ff.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${ff.GREYSCALE_0_05}`,borderRadius:vf,boxShadow:`inset 0px 0px 0px 1px ${ff.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${ff.GREYSCALE_0_05}`,borderRadius:vf},thumb:{height:"16px",width:"16px",borderRadius:vf,backgroundColor:ff.WHITE,boxShadow:`0px 1px 2px 0px ${ff.GREYSCALE_0_15}, 0px 0px 0px 1px ${ff.GREYSCALE_0_05}`,"&:hover":{borderRadius:vf,boxShadow:`0 2px 4px 0 ${ff.GREYSCALE_0_30}, 0 0 0 1px ${ff.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${ff.GREYSCALE_0_15}, 0 0 0 1px ${ff.GREYSCALE_0_06}, 0 0 0 2px ${ff.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${ff.GREYSCALE_0_15}, 0 0 0 1px ${ff.GREYSCALE_0_06}, 0 0 0 2px ${ff.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:ff.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:ff.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:ff.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:ff.GREYSCALE_0_15},markLabel:{color:ff.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:ff.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:ff.WHITE,color:ff.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:ff.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ff.GREEN_PALE,boxShadow:`0 0 0 3px ${hl(ff.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ff.BLUE_PALE,boxShadow:`0 0 0 3px ${hl(ff.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:ff.GREYSCALE_0_15,borderRadius:vf},thumb:{height:"16px",width:"16px",borderRadius:vf,backgroundColor:ff.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:hf,fontWeight:xf,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${ff.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${ff.MISC_FOCUS_BORDER}`,backgroundColor:ff.GREYSCALE_0_03,borderRadius:vf},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:ff.GREYSCALE_25,"&.Mui-selected":{color:ff.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:hf,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:vf,"&:hover":{backgroundColor:ff.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ff.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ff.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:vf,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:ff.GREYSCALE_0_05},"&:hover":{backgroundColor:ff.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${ff.GREYSCALE_85}`,borderRight:`1px solid ${ff.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:xf,backgroundColor:ff.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:ff.GREYSCALE_98,borderBottom:`1px solid ${ff.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${ff.GREYSCALE_85}`,borderTop:`1px solid ${ff.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:ff.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:ff.GREYSCALE_0_05,"&:hover":{backgroundColor:ff.GREYSCALE_0_03}},"&&:hover":{backgroundColor:ff.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>lo.jsx(Pf,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${ff.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:hf,borderRadius:vf,padding:"7px 16px",border:`1px solid ${ff.GREYSCALE_0_15}`,backgroundColor:ff.GREYSCALE_100_60,color:ff.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:ff.GREYSCALE_0_10,border:`1px solid ${ff.GREYSCALE_0_30}`},"&:hover":{backgroundColor:ff.GREYSCALE_0_03,border:`1px solid ${ff.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:ff.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${ff.MISC_FOCUS_BORDER}`,border:`1px solid ${ff.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:ff.GREYSCALE_25,backgroundColor:ff.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:ff.GREYSCALE_0_10,border:`1px solid ${ff.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:pf,height:24,width:24,padding:7},sizeLarge:{fontSize:mf,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:hf,borderRadius:vf}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:ff.GREYSCALE_20},tooltip:{backgroundColor:ff.GREYSCALE_20,fontSize:pf,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Df}:{}}))(t);const $f=e=>({mode:"light",primary:{ultraLight:ff.GREEN_ULTRA_LIGHT,light:ff.GREEN_PALE,main:ff.GREEN,dark:ff.GREEN_DARK,extraDark:ff.GREEN_EXTRA_DARK,contrastText:ff.WHITE},secondary:{ultraLight:ff.BLUE_ULTRA_LIGHT,light:ff.BLUE_PALE,main:ff.BLUE,dark:ff.BLUE_DARK,extraDark:ff.BLUE_EXTRA_DARK,contrastText:ff.WHITE},error:{ultraLight:ff.RED_ULTRA_LIGHT,light:ff.RED_PALE,main:ff.RED,dark:ff.RED_DARK,extraDark:ff.RED_EXTRA_DARK,contrastText:ff.WHITE},warning:{ultraLight:ff.ORANGE_ULTRA_LIGHT,light:ff.ORANGE_PALE,main:ff.ORANGE,dark:ff.ORANGE_DARK,extraDark:ff.ORANGE_EXTRA_DARK,contrastText:ff.WHITE},success:{ultraLight:ff.GREEN_ULTRA_LIGHT,light:ff.GREEN_PALE,main:ff.GREEN,dark:ff.GREEN_DARK,extraDark:ff.GREEN_EXTRA_DARK,contrastText:ff.WHITE},info:{ultraLight:ff.BLUE_ULTRA_LIGHT,light:ff.BLUE_PALE,main:ff.BLUE,dark:ff.BLUE_DARK,extraDark:ff.BLUE_EXTRA_DARK,contrastText:ff.WHITE},text:{primary:ff.TEXT_PRIMARY,secondary:ff.TEXT_SECONDARY,disabled:ff.GREYSCALE_0_30},action:{hover:ff.GREYSCALE_0_03,hoverOpacity:.03,selected:ff.GREYSCALE_0_05,selectedOpacity:.05,focus:ff.MISC_FOCUS_BORDER},amethyst:{ultraLight:ff.WHITE,main:ff.PURPLE,light:ff.PURPLE_PALE,dark:ff.PURPLE_DARK,extraDark:ff.GREYSCALE_0_0,contrastText:ff.WHITE},background:{paper:ff.WHITE,default:ff.GREYSCALE_95},divider:ff.GREYSCALE_0_15}),Ff=(e="light",t=!1)=>Da(((e,t=!1)=>({components:zf(0,t),palette:$f(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:hf,fontWeightLight:bf,fontWeightRegular:yf,fontWeightMedium:xf,fontWeightBold:_f,htmlFontSize:hf,fontFamily:Cf.FONT_FAMILY,button:{fontWeight:xf,fontSize:hf,textTransform:"none"},body1:{fontSize:mf,lineHeight:"24px"},body2:{fontSize:hf,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:gf,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:mf,fontWeight:xf,lineHeight:"16px"},h6:{fontSize:hf,fontWeight:xf,lineHeight:"16px"},caption:{color:ff.TEXT_SECONDARY},subtitle1:{fontSize:hf,color:ff.TEXT_SECONDARY},subtitle2:{fontSize:pf,color:ff.TEXT_SECONDARY}},shape:{borderRadius:vf}}))(0,t)),Bf=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m7.999 9.001-2.858-2.86a.2.2 0 0 0-.282 0l-.718.719a.2.2 0 0 0 0 .282L7 10.001l.859.858a.2.2 0 0 0 .282 0L9 10l2.859-2.859a.2.2 0 0 0 0-.282l-.718-.718a.2.2 0 0 0-.283 0L8 9Z"})}),Hf=k.forwardRef(Bf);var jf=Object.defineProperty,Wf=Object.getOwnPropertySymbols,Kf=Object.prototype.hasOwnProperty,Uf=Object.prototype.propertyIsEnumerable,Gf=(e,t,n)=>t in e?jf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yf=(e,t)=>{for(var n in t)jf(e,n,{get:t[n],enumerable:!0})},Vf=(e,t,n)=>(Gf(e,"symbol"!=typeof t?t+"":t,n),n);Yf({},{DEFAULT_LANGUAGE:()=>qf,DEFAULT_LANGUAGE_SHORT:()=>Xf,flattenParams:()=>lp,flattenTranslationsJSON:()=>ep,format:()=>ap,formatWithKeys:()=>sp,getLongLanguageDesc:()=>ip,getShortLanguageDesc:()=>op,parseLangFromUrl:()=>tp,resolveLocale:()=>rp,updateLangAttribute:()=>up});var Qf=[{short:"es",long:"es-ES",label:"Spanish",translatedLabel:"Common.Spanish"},{short:"sv",long:"sv-SE",label:"Swedish",translatedLabel:"Common.Swedish"},{short:"ja",long:"ja-JP",label:"Japanese",translatedLabel:"Common.Japanese"},{short:"en",long:"en-US",label:"English",translatedLabel:"Common.English"},{short:"de",long:"de-DE",label:"German",translatedLabel:"Common.German"},{short:"fr",long:"fr-FR",label:"French",translatedLabel:"Common.French"},{short:"it",long:"it-IT",label:"Italian",translatedLabel:"Common.Italian"},{short:"nl",long:"nl-NL",label:"Dutch",translatedLabel:"Common.Dutch"},{short:"pt",long:"pt-BR",label:"Brazilian Portuguese",translatedLabel:"Common.BrazilianPortuguese"},{short:"ru",long:"ru-RU",label:"Russian",translatedLabel:"Common.Russian"},{short:"zh-CN",long:"zh-CN",label:"Simplified Chinese",translatedLabel:"Common.SimplifiedChinese"},{short:"zh-TW",long:"zh-TW",label:"Traditional Chinese",translatedLabel:"Common.TraditionalChinese"},{short:"pl",long:"pl-PL",label:"Polish",translatedLabel:"Common.Polish"},{short:"tr",long:"tr-TR",label:"Turkish",translatedLabel:"Common.Turkish"},{short:"ko",long:"ko-KR",label:"Korean",translatedLabel:"Common.Korean"},{short:"qps-ploc",long:"qps-ploc",label:'qps-ploc (f.k.a. "pseudo")'},{short:"zz",long:"zz",label:"zz"}],qf="en-US",Xf="en",Jf=["zh-cn","zh-tw","qps-ploc"],Zf=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),ep=e=>(console.warn("Deprecated, use `buildUtils.flattenTranslationsJSON` instead"),Zf(e)?Object.keys(e).reduce(((t,n)=>{const r=e[n],o=Zf(r)&&r.value;return o&&(t[n]=o),t}),{}):{}),tp=()=>{var e;return null!=(e=new URLSearchParams(window.location.search).get("lang"))?e:void 0},np=e=>{if(!e)return;"zh-hk"!==e.toLocaleLowerCase()&&"zh-mo"!==e.toLocaleLowerCase()||(e="zh-TW");const t=e.toLowerCase();if(Jf.includes(e.toLocaleLowerCase()))return Qf.find((({long:e})=>e.toLowerCase()===t));const[n]=t.split("-");return Qf.find((({short:e})=>e.toLowerCase()===n||e.toLowerCase()===t))},rp=(...e)=>{for(const t of e){const e=np(t);if(e)return e.short}},op=e=>{const t=np(e);return t?t.short:(console.warn(`Language '${e}' not supported, falling back to '${Xf}'`),Xf)},ip=e=>{const t=np(e);return t?t.long:(console.warn(`Language '${e}' not supported, falling back to '${qf}'`),qf)},lp=e=>Array.isArray(e[0])?e[0]:e,ap=(e,...t)=>{var n;return null==(n=e.match(/\{(\d+)\}/g))?void 0:n.length,e.replace(/\{(\d+)\}/g,((e,n)=>void 0!==t[n]?String(t[n]):e))},sp=(e,t)=>e.replace(/(\{)(\w+)(\})/g,((e,n,r)=>{var o;return t[r],null!=(o=t[r])?o:e})),up=e=>{const t=op(e);document.documentElement.setAttribute("lang",t)},cp={},dp=Array.prototype.slice,fp=function(e){return("0"+e.toString()).substr(-2)},pp=function(e){var t=typeof e;return"function"===t||"object"===t},hp=function(e){return"function"===typeof e},mp=function(e){return null!=e},gp=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},vp=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},bp=function(e){return!0===e||!1===e},yp=function(e){return null===e},xp=function(e,t,n){return void 0===n||0==+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!=0?NaN:(t=t.toString().split("e"),+((t=(t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]+n:n))))},_p=function(e,t){return hp(e)?e(t):e},Cp=function(e,t){var n,r,o;for(n in t)t.hasOwnProperty(n)&&(r=t[n],"string"==typeof(o=r)||"[object String]"===Object.prototype.toString.call(o)||vp(r)||bp(r)||gp(r)||yp(r)?e[n]=r:(null==e[n]&&(e[n]={}),Cp(e[n],r)));return e},Ep={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},wp={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},Sp={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},kp={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},Tp=[null,"kb","mb","gb","tb"],Np={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};cp.reset=function(){var e;for(e in Np)this[e]=Np[e]},cp.initializeOptions=function(){var e;for(e in Np)mp(this[e])||(this[e]=Np[e])},cp.initializeOptions(),cp.locales={},cp.locales.get=function(e){var t=this[e]||this[cp.locale]||this.default;return hp(t)&&(t=t(e)),!1===gp(t)&&(t=[t]),t},cp.locales.default=function(e){var t=[],n=[];return e&&t.push(e),!e&&cp.locale&&t.push(cp.locale),cp.fallbacks&&cp.defaultLocale&&t.push(cp.defaultLocale),t.forEach((function(e){var t=e.split("-"),r=null,o=null;3===t.length?(r=[t[0],t[1]].join("-"),o=t[0]):2===t.length&&(r=t[0]),-1===n.indexOf(e)&&n.push(e),cp.fallbacks&&[r,o].forEach((function(t){null!=t&&t!==e&&-1===n.indexOf(t)&&n.push(t)}))})),t.length||t.push("en"),n},cp.pluralization={},cp.pluralization.get=function(e){return this[e]||this[cp.locale]||this.default},cp.pluralization.default=function(e){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},cp.currentLocale=function(){return this.locale||this.defaultLocale},cp.isSet=mp,cp.lookup=function(e,t){t=t||{};var n,r,o,i,l=this.locales.get(t.locale).slice();for(o=this.getFullScope(e,t);l.length;)if(n=l.shift(),r=o.split(t.separator||this.defaultSeparator),i=this.translations[n]){for(;r.length&&null!=(i=i[r.shift()]););if(null!=i)return i}if(mp(t.defaultValue))return _p(t.defaultValue,e)},cp.pluralizationLookupWithoutFallback=function(e,t,n){var r,o,i=this.pluralization.get(t)(e);if(n&&pp(n))for(;i.length;)if(r=i.shift(),mp(n[r])){o=n[r];break}return o},cp.pluralizationLookup=function(e,t,n){n=n||{};var r,o,i,l,a=this.locales.get(n.locale).slice();for(t=this.getFullScope(t,n);a.length;)if(r=a.shift(),o=t.split(n.separator||this.defaultSeparator),i=this.translations[r]){for(;o.length&&(i=i[o.shift()],pp(i));)0===o.length&&(l=this.pluralizationLookupWithoutFallback(e,r,i));if(null!=l)break}return null==l&&mp(n.defaultValue)&&(l=pp(n.defaultValue)?this.pluralizationLookupWithoutFallback(e,n.locale,n.defaultValue):n.defaultValue,i=n.defaultValue),{message:l,translations:i}},cp.meridian=function(){var e=this.lookup("time"),t=this.lookup("date");return e&&e.am&&e.pm?[e.am,e.pm]:t&&t.meridian?t.meridian:Ep.meridian},cp.prepareOptions=function(){for(var e,t=dp.call(arguments),n={};t.length;)if("object"==typeof(e=t.shift()))for(var r in e)e.hasOwnProperty(r)&&(mp(n[r])||(n[r]=e[r]));return n},cp.createTranslationOptions=function(e,t){var n=[{scope:e}];return mp(t.defaults)&&(n=n.concat(t.defaults)),mp(t.defaultValue)&&n.push({message:t.defaultValue}),n},cp.translate=function(e,t){t=t||{};var n,r=this.createTranslationOptions(e,t),o=e,i=this.prepareOptions(t);return delete i.defaultValue,r.some((function(t){if(mp(t.scope)?(o=t.scope,n=this.lookup(o,i)):mp(t.message)&&(n=_p(t.message,e)),null!=n)return!0}),this)?("string"==typeof n?n=this.interpolate(n,t):gp(n)?n=n.map((function(e){return"string"==typeof e?this.interpolate(e,t):e}),this):pp(n)&&mp(t.count)&&(n=this.pluralize(t.count,o,t)),n):this.missingTranslation(e,t)},cp.interpolate=function(e,t){if(null==e)return e;t=t||{};var n,r,o,i,l=e.match(this.placeholder);if(!l)return e;for(;l.length;)o=(n=l.shift()).replace(this.placeholder,"$1"),r=mp(t[o])?t[o].toString().replace(/\$/gm,"_#$#_"):o in t?this.nullPlaceholder(n,e,t):this.missingPlaceholder(n,e,t),i=new RegExp(n.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),e=e.replace(i,r);return e.replace(/_#\$#_/g,"$")},cp.pluralize=function(e,t,n){var r,o;return n=this.prepareOptions({count:String(e)},n),void 0===(o=this.pluralizationLookup(e,t,n)).translations||null==o.translations?this.missingTranslation(t,n):void 0!==o.message&&null!=o.message?this.interpolate(o.message,n):(r=this.pluralization.get(n.locale),this.missingTranslation(t+"."+r(e)[0],n))},cp.missingTranslation=function(e,t){if("guess"===this.missingBehaviour){var n=e.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+n.replace(/_/g," ").replace(/([a-z])([A-Z])/g,(function(e,t,n){return t+" "+n.toLowerCase()}))}return'[missing "'+[null!=t&&null!=t.locale?t.locale:this.currentLocale(),this.getFullScope(e,t)].join(t.separator||this.defaultSeparator)+'" translation]'},cp.missingPlaceholder=function(e,t,n){return"[missing "+e+" value]"},cp.nullPlaceholder=function(){return cp.missingPlaceholder.apply(cp,arguments)},cp.toNumber=function(e,t){t=this.prepareOptions(t,this.lookup("number.format"),wp);var n,r,o=e<0,i=function(e,t){return xp("round",e,-t).toFixed(t)}(Math.abs(e),t.precision).toString(),l=i.split("."),a=[],s=t.format||"%n",u=o?"-":"";for(e=l[0],n=l[1];e.length>0;)a.unshift(e.substr(Math.max(0,e.length-3),3)),e=e.substr(0,e.length-3);return r=a.join(t.delimiter),t.strip_insignificant_zeros&&n&&(n=n.replace(/0+$/,"")),t.precision>0&&n&&(r+=t.separator+n),r=(s=t.sign_first?"%s"+s:s.replace("%n","%s%n")).replace("%u",t.unit).replace("%n",r).replace("%s",u)},cp.toCurrency=function(e,t){return t=this.prepareOptions(t,this.lookup("number.currency.format",t),this.lookup("number.format",t),Sp),this.toNumber(e,t)},cp.localize=function(e,t,n){switch(n||(n={}),e){case"currency":return this.toCurrency(t,n);case"number":return e=this.lookup("number.format",n),this.toNumber(t,e);case"percentage":return this.toPercentage(t,n);default:var r;return r=e.match(/^(date|time)/)?this.toTime(e,t,n):t.toString(),this.interpolate(r,n)}},cp.parseDate=function(e){var t,n,r;if(null==e)return e;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/)){for(var o=1;o<=6;o++)t[o]=parseInt(t[o],10)||0;t[2]-=1,r=t[7]?1e3*("0"+t[7]):null,n=t[8]?new Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6],r)):new Date(t[1],t[2],t[3],t[4],t[5],t[6],r)}else"number"==typeof e?(n=new Date).setTime(e):e.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(n=new Date).setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" "))):(e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),(n=new Date).setTime(Date.parse(e)));return n},cp.strftime=function(e,t,n){n=this.lookup("date",n);var r=cp.meridian();if(n||(n={}),n=this.prepareOptions(n,Ep),isNaN(e.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invalid date.");var o=e.getDay(),i=e.getDate(),l=e.getFullYear(),a=e.getMonth()+1,s=e.getHours(),u=s,c=s>11?1:0,d=e.getSeconds(),f=e.getMinutes(),p=e.getTimezoneOffset(),h=Math.floor(Math.abs(p/60)),m=Math.abs(p)-60*h,g=(p>0?"-":"+")+(h.toString().length<2?"0"+h:h)+(m.toString().length<2?"0"+m:m);return u>12?u-=12:0===u&&(u=12),t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%a",n.abbr_day_names[o])).replace("%A",n.day_names[o])).replace("%b",n.abbr_month_names[a])).replace("%B",n.month_names[a])).replace("%d",fp(i))).replace("%e",i)).replace("%-d",i)).replace("%H",fp(s))).replace("%-H",s)).replace("%k",s)).replace("%I",fp(u))).replace("%-I",u)).replace("%l",u)).replace("%m",fp(a))).replace("%-m",a)).replace("%M",fp(f))).replace("%-M",f)).replace("%p",r[c])).replace("%P",r[c].toLowerCase())).replace("%S",fp(d))).replace("%-S",d)).replace("%w",o)).replace("%y",fp(l))).replace("%-y",fp(l).replace(/^0+/,""))).replace("%Y",l)).replace("%z",g)).replace("%Z",g)},cp.toTime=function(e,t,n){var r=this.parseDate(t),o=this.lookup(e,n);if(null==r)return r;var i=r.toString();return i.match(/invalid/i)?i:o?this.strftime(r,o,n):i},cp.toPercentage=function(e,t){return t=this.prepareOptions(t,this.lookup("number.percentage.format",t),this.lookup("number.format",t),kp),this.toNumber(e,t)},cp.toHumanSize=function(e,t){for(var n,r,o,i=e,l=0;i>=1024&&l<4;)i/=1024,l+=1;return 0===l?(o=this.getFullScope("number.human.storage_units.units.byte",t),n=this.t(o,{count:i}),r=0):(o=this.getFullScope("number.human.storage_units.units."+Tp[l],t),n=this.t(o),r=i-Math.floor(i)==0?0:1),t=this.prepareOptions(t,{unit:n,precision:r,format:"%n%u",delimiter:""}),this.toNumber(i,t)},cp.getFullScope=function(e,t){return t=t||{},gp(e)&&(e=e.join(t.separator||this.defaultSeparator)),t.scope&&(e=[t.scope,e].join(t.separator||this.defaultSeparator)),e},cp.extend=function(e,t){return void 0===e&&void 0===t?{}:Cp(e,t)},cp.t=cp.translate.bind(cp),cp.l=cp.localize.bind(cp),cp.p=cp.pluralize.bind(cp);var Rp={};Yf(Rp,{af:()=>Dp,ak:()=>zp,am:()=>$p,an:()=>Fp,ar:()=>Bp,ars:()=>Hp,as:()=>jp,asa:()=>Wp,ast:()=>Kp,az:()=>Up,bal:()=>Gp,be:()=>Yp,bem:()=>Vp,bez:()=>Qp,bg:()=>qp,bho:()=>Xp,bm:()=>Jp,bn:()=>Zp,bo:()=>eh,br:()=>th,brx:()=>nh,bs:()=>rh,ca:()=>oh,ce:()=>ih,ceb:()=>lh,cgg:()=>ah,chr:()=>sh,ckb:()=>uh,cs:()=>ch,cy:()=>dh,da:()=>fh,de:()=>ph,doi:()=>hh,dsb:()=>mh,dv:()=>gh,dz:()=>vh,ee:()=>bh,el:()=>yh,en:()=>xh,eo:()=>_h,es:()=>Ch,et:()=>Eh,eu:()=>wh,fa:()=>Sh,ff:()=>kh,fi:()=>Th,fil:()=>Nh,fo:()=>Rh,fr:()=>Ah,fur:()=>Lh,fy:()=>Mh,ga:()=>Oh,gd:()=>Ph,gl:()=>Ih,gsw:()=>Dh,gu:()=>zh,guw:()=>$h,gv:()=>Fh,ha:()=>Bh,haw:()=>Hh,he:()=>jh,hi:()=>Wh,hnj:()=>Kh,hr:()=>Uh,hsb:()=>Gh,hu:()=>Yh,hy:()=>Vh,ia:()=>Qh,id:()=>qh,ig:()=>Xh,ii:()=>Jh,io:()=>Zh,is:()=>em,it:()=>tm,iu:()=>nm,ja:()=>rm,jbo:()=>om,jgo:()=>im,jmc:()=>lm,jv:()=>am,jw:()=>sm,ka:()=>um,kab:()=>cm,kaj:()=>dm,kcg:()=>fm,kde:()=>pm,kea:()=>hm,kk:()=>mm,kkj:()=>gm,kl:()=>vm,km:()=>bm,kn:()=>ym,ko:()=>xm,ks:()=>_m,ksb:()=>Cm,ksh:()=>Em,ku:()=>wm,kw:()=>Sm,ky:()=>km,lag:()=>Tm,lb:()=>Nm,lg:()=>Rm,lij:()=>Am,lkt:()=>Lm,ln:()=>Mm,lo:()=>Om,lt:()=>Pm,lv:()=>Im,mas:()=>Dm,mg:()=>zm,mgo:()=>$m,mk:()=>Fm,ml:()=>Bm,mn:()=>Hm,mo:()=>jm,mr:()=>Wm,ms:()=>Km,mt:()=>Um,my:()=>Gm,nah:()=>Ym,naq:()=>Vm,nb:()=>Qm,nd:()=>qm,ne:()=>Xm,nl:()=>Jm,nn:()=>Zm,nnh:()=>eg,no:()=>tg,nqo:()=>ng,nr:()=>rg,nso:()=>og,ny:()=>ig,nyn:()=>lg,om:()=>ag,or:()=>sg,os:()=>ug,osa:()=>cg,pa:()=>dg,pap:()=>fg,pcm:()=>pg,pl:()=>hg,prg:()=>mg,ps:()=>gg,pt:()=>vg,pt_PT:()=>bg,rm:()=>yg,ro:()=>xg,rof:()=>_g,ru:()=>Cg,rwk:()=>Eg,sah:()=>wg,saq:()=>Sg,sat:()=>kg,sc:()=>Tg,scn:()=>Ng,sd:()=>Rg,sdh:()=>Ag,se:()=>Lg,seh:()=>Mg,ses:()=>Og,sg:()=>Pg,sh:()=>Ig,shi:()=>Dg,si:()=>zg,sk:()=>$g,sl:()=>Fg,sma:()=>Bg,smi:()=>Hg,smj:()=>jg,smn:()=>Wg,sms:()=>Kg,sn:()=>Ug,so:()=>Gg,sq:()=>Yg,sr:()=>Vg,ss:()=>Qg,ssy:()=>qg,st:()=>Xg,su:()=>Jg,sv:()=>Zg,sw:()=>ev,syr:()=>tv,ta:()=>nv,te:()=>rv,teo:()=>ov,th:()=>iv,ti:()=>lv,tig:()=>av,tk:()=>sv,tl:()=>uv,tn:()=>cv,to:()=>dv,tpi:()=>fv,tr:()=>pv,ts:()=>hv,tzm:()=>mv,ug:()=>gv,uk:()=>vv,und:()=>bv,ur:()=>yv,uz:()=>xv,ve:()=>_v,vec:()=>Cv,vi:()=>Ev,vo:()=>wv,vun:()=>Sv,wa:()=>kv,wae:()=>Tv,wo:()=>Nv,xh:()=>Rv,xog:()=>Av,yi:()=>Lv,yo:()=>Mv,yue:()=>Ov,zh:()=>Pv,zu:()=>Iv});var Ap=(e,t)=>t?"other":1==e?"one":"other",Lp=(e,t)=>t?"other":0==e||1==e?"one":"other",Mp=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",Op=(e,t)=>{const n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"},Pp=(e,t)=>"other",Ip=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",Dp=Ap,zp=Lp,$p=Mp,Fp=Ap,Bp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},Hp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},jp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",Wp=Ap,Kp=Op,Up=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==e?"one":"other"},Gp=(e,t)=>1==e?"one":"other",Yp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},Vp=Ap,Qp=Ap,qp=Ap,Xp=Lp,Jp=Pp,Zp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",eh=Pp,th=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),l=r&&n[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==l?"many":"other"},nh=Ap,rh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},oh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},ih=Ap,lh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},ah=Ap,sh=Ap,uh=Ap,ch=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},dh=(e,t)=>t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",fh=(e,t)=>{const n=String(e).split("."),r=n[0],o=Number(n[0])==e;return t||1!=e&&(o||0!=r&&1!=r)?"other":"one"},ph=Op,hh=Mp,mh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},gh=Ap,vh=Pp,bh=Ap,yh=Ap,xh=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1==i&&11!=l?"one":2==i&&12!=l?"two":3==i&&13!=l?"few":"other":1==e&&r?"one":"other"},_h=Ap,Ch=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e?"one":0!=r&&0==i&&o?"many":"other"},Eh=Op,wh=Ap,Sh=Mp,kh=(e,t)=>t?"other":e>=0&&e<2?"one":"other",Th=Op,Nh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Rh=Ap,Ah=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=r&&0==i&&o?"many":"other"},Lh=Ap,Mh=Op,Oh=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},Ph=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},Ih=Op,Dh=Ap,zh=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",$h=Lp,Fh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=l&&20!=l&&40!=l&&60!=l&&80!=l?o?"other":"many":"few"},Bh=Ap,Hh=Ap,jh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},Wh=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",Kh=Pp,Uh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Gh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},Yh=(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",Vh=(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",Qh=Op,qh=Pp,Xh=Pp,Jh=Pp,Zh=Op,em=(e,t)=>{const n=String(e).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==e,l=r.slice(-1),a=r.slice(-2);return t?"other":i&&1==l&&11!=a||o%10==1&&o%100!=11?"one":"other"},tm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},nm=Ip,rm=Pp,om=Pp,im=Ap,lm=Ap,am=Pp,sm=Pp,um=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-2);return t?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==e?"one":"other"},cm=(e,t)=>t?"other":e>=0&&e<2?"one":"other",dm=Ap,fm=Ap,pm=Pp,hm=Pp,mm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1);return t?6==o||9==o||r&&0==o&&0!=e?"many":"other":1==e?"one":"other"},gm=Ap,vm=Ap,bm=Pp,ym=Mp,xm=Pp,_m=Ap,Cm=Ap,Em=(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",wm=Ap,Sm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),l=r&&n[0].slice(-5),a=r&&n[0].slice(-6);return t?r&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(l>=1e3&&l<=2e4||4e4==l||6e4==l||8e4==l)||0!=e&&1e5==a?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},km=Ap,Tm=(e,t)=>{const n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},Nm=Ap,Rm=Ap,Am=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e;return t?11==e||8==e||o&&e>=80&&e<=89||o&&e>=800&&e<=899?"many":"other":1==e&&r?"one":"other"},Lm=Pp,Mm=Lp,Om=(e,t)=>t&&1==e?"one":"other",Pm=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?"other":1==i&&(l<11||l>19)?"one":i>=2&&i<=9&&(l<11||l>19)?"few":0!=r?"many":"other"},Im=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},Dm=Ap,zm=Lp,$m=Ap,Fm=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?1==l&&11!=a?"one":2==l&&12!=a?"two":7!=l&&8!=l||17==a||18==a?"other":"many":i&&1==l&&11!=a||1==s&&11!=u?"one":"other"},Bm=Ap,Hm=Ap,jm=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},Wm=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",Km=(e,t)=>t&&1==e?"one":"other",Um=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},Gm=Pp,Ym=Ap,Vm=Ip,Qm=Ap,qm=Ap,Xm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?r&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},Jm=Op,Zm=Ap,eg=Ap,tg=Ap,ng=Pp,rg=Ap,og=Lp,ig=Ap,lg=Ap,ag=Ap,sg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||5==e||r&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},ug=Ap,cg=Pp,dg=Lp,fg=Ap,pg=Mp,hg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&l>=12&&l<=14?"many":"other"},mg=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},gg=Ap,vg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},bg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},yg=Ap,xg=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},_g=Ap,Cg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i&&11!=l?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&l>=11&&l<=14?"many":"other"},Eg=Ap,wg=Pp,Sg=Ap,kg=Ip,Tg=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Ng=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Rg=Ap,Ag=Ap,Lg=Ip,Mg=Ap,Og=Pp,Pg=Pp,Ig=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Dg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},zg=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"";return t?"other":0==e||1==e||0==r&&1==o?"one":"other"},$g=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},Fg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},Bg=Ip,Hg=Ip,jg=Ip,Wg=Ip,Kg=Ip,Ug=Ap,Gg=Ap,Yg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},Vg=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Qg=Ap,qg=Ap,Xg=Ap,Jg=Pp,Zg=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1!=i&&2!=i||11==l||12==l?"other":"one":1==e&&r?"one":"other"},ev=Op,tv=Ap,nv=Ap,rv=Ap,ov=Ap,iv=Pp,lv=Lp,av=Ap,sv=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-1);return t?6==r||9==r||10==e?"few":"other":1==e?"one":"other"},uv=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cv=Ap,dv=Pp,fv=Pp,pv=Ap,hv=Ap,mv=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":0==e||1==e||r&&e>=11&&e<=99?"one":"other"},gv=Ap,vv=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-1),u=r.slice(-2);return t?3==l&&13!=a?"few":"other":o&&1==s&&11!=u?"one":o&&s>=2&&s<=4&&(u<12||u>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&u>=11&&u<=14?"many":"other"},bv=Pp,yv=Op,xv=Ap,_v=Ap,Cv=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},Ev=(e,t)=>t&&1==e?"one":"other",wv=Ap,Sv=Ap,kv=Lp,Tv=Ap,Nv=Pp,Rv=Ap,Av=Ap,Lv=Op,Mv=Pp,Ov=Pp,Pv=Pp,Iv=Mp,Dv=class e{static configure(t,n=qf){e.translations=t,e.language=ip(n),e.languageShort=op(n),up(e.language),e.onTranslationsChangeListeners.forEach((e=>e())),e.i18nProvider=cp,cp.missingTranslation=e=>e,cp.defaultSeparator=null,cp.locale=e.language,cp.translations={[e.language]:e.translationsPlurals};const r=e.languageShort.split("-")[0];cp.pluralization[e.language]=e=>{try{const t=Rp[r](e),n=[t];return"few"!==t&&"many"!==t||n.push("other"),n}catch(t){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}}}}static getWithKeys(t,n){var r;let o=null!=(r=e.translations[t])?r:t;return n&&Object.keys(n).length>0&&(o=sp(o,n)),o}static getPlural(t,n,r){return e.i18nProvider.t(t,((e,t)=>{for(var n in t||(t={}))Kf.call(t,n)&&Gf(e,n,t[n]);if(Wf)for(var n of Wf(t))Uf.call(t,n)&&Gf(e,n,t[n]);return e})({count:n},r))}static append(t){Object.assign(e.translations,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static appendPlurals(t){Object.assign(e.translationsPlurals,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static onTranslationsChange(t){return e.onTranslationsChangeListeners.push(t),()=>{e.onTranslationsChangeListeners.splice(e.onTranslationsChangeListeners.indexOf(t))}}};Vf(Dv,"translations",{}),Vf(Dv,"translationsPlurals",{}),Vf(Dv,"language"),Vf(Dv,"languageShort"),Vf(Dv,"onTranslationsChangeListeners",[]),Vf(Dv,"i18nProvider"),Vf(Dv,"get",((e,...t)=>{var n;const r=lp(t);let o=null!=(n=Dv.translations[e])?n:e;return r.length>0&&(o=ap(o,...r)),o}));var zv=Dv;var $v,Fv,Bv,Hv=function(){const[e,t]=k.useState(0);return k.useEffect((()=>{const n=zv.onTranslationsChange((()=>{t(e+1)}));return()=>{n()}}),[]),zv.get},jv=zv,Wv={};var Kv,Uv,Gv,Yv=function(){if(Bv)return Fv;Bv=1;const e=function(){if($v)return Wv;$v=1;var e=me(),t=h();return Wv.AutoFocusPlugin=function({defaultSelection:n}){let[r]=e.useLexicalComposerContext();return t.useEffect((()=>{r.focus((()=>{let e=document.activeElement,t=r.getRootElement();null===t||null!==e&&t.contains(e)||t.focus({preventScroll:!0})}),{defaultSelection:n})}),[n,r]),null},Wv}();return Fv=e}(),Vv={};var Qv,qv,Xv,Jv,Zv=function(){if(Gv)return Uv;Gv=1;const e=function(){if(Kv)return Vv;Kv=1;var e=me(),t=h();function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;return Vv.ContentEditable=function({ariaActiveDescendant:o,ariaAutoComplete:i,ariaControls:l,ariaDescribedBy:a,ariaExpanded:s,ariaLabel:u,ariaLabelledBy:c,ariaMultiline:d,ariaOwns:f,ariaRequired:p,autoCapitalize:h,className:m,id:g,role:v="textbox",spellCheck:b=!0,style:y,tabIndex:x,"data-testid":_,...C}){let[E]=e.useLexicalComposerContext(),[w,S]=t.useState(!1),k=t.useCallback((e=>{E.setRootElement(e)}),[E]);return r((()=>(S(E.isEditable()),E.registerEditableListener((e=>{S(e)})))),[E]),t.createElement("div",n({},C,{"aria-activedescendant":w?o:void 0,"aria-autocomplete":w?i:"none","aria-controls":w?l:void 0,"aria-describedby":a,"aria-expanded":w&&"combobox"===v?!!s:void 0,"aria-label":u,"aria-labelledby":c,"aria-multiline":d,"aria-owns":w?f:void 0,"aria-readonly":!w||void 0,"aria-required":p,autoCapitalize:h,className:m,contentEditable:w,"data-testid":_,id:g,ref:k,role:v,spellCheck:b,style:y,tabIndex:x}))},Vv}();return Uv=e}();function eb(){if(qv)return Qv;qv=1;var e=h();function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}var n={error:null},r=function(r){function o(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=r.call.apply(r,[this].concat(o))||this).state=n,e.resetErrorBoundary=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==e.props.onReset||(t=e.props).onReset.apply(t,r),e.reset()},e}!function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}(o,r),o.getDerivedStateFromError=function(e){return{error:e}};var i=o.prototype;return i.reset=function(){this.setState(n)},i.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},i.componentDidUpdate=function(e,t){var n,r,o=this.props.resetKeys;null!==this.state.error&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,o)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,o),this.reset())},i.render=function(){var t=this.state.error,n=this.props,r=n.fallbackRender,o=n.FallbackComponent;if(n=n.fallback,null!==t){if(t={error:t,resetErrorBoundary:this.resetErrorBoundary},e.isValidElement(n))return n;if("function"==typeof r)return r(t);if(o)return e.createElement(o,t);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(e.Component);return Qv=function({children:t,onError:n}){return e.createElement(r,{fallback:e.createElement("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"}},"An error was thrown."),onError:n},t)},Qv}var tb,nb,rb,ob=o(function(){if(Jv)return Xv;Jv=1;const e=eb();return Xv=e}()),ib={},lb={};function ab(){if(rb)return nb;rb=1;const e=function(){if(tb)return lb;tb=1;var e=Y();function t(e,t=!0){return!e&&(e=n(),t&&(e=e.trim()),""===e)}function n(){return e.$getRoot().getTextContent()}function r(n){if(!t(n,!1))return!1;let r=(n=e.$getRoot().getChildren()).length;if(1<r)return!1;for(let t=0;t<r;t++){var o=n[t];if(e.$isDecoratorNode(o))return!1;if(e.$isElementNode(o)){if(!e.$isParagraphNode(o)||0!==o.__indent)return!1;let n=(o=o.getChildren()).length;for(let r=0;r<n;r++)if(!e.$isTextNode(o[t]))return!1}}return!0}return lb.$canShowPlaceholder=r,lb.$canShowPlaceholderCurry=function(e){return()=>r(e)},lb.$findTextIntersectionFromCharacters=function(t,n){var r=t.getFirstChild();t=0;e:for(;null!==r;){if(e.$isElementNode(r)){var o=r.getFirstChild();if(null!==o){r=o;continue}}else if(e.$isTextNode(r)){if(t+(o=r.getTextContentSize())>n)return{node:r,offset:n-t};t+=o}if(null===(o=r.getNextSibling())){for(r=r.getParent();null!==r;){if(null!==(o=r.getNextSibling())){r=o;continue e}r=r.getParent()}break}r=o}return null},lb.$isRootTextContentEmpty=t,lb.$isRootTextContentEmptyCurry=function(e,n){return()=>t(e,n)},lb.$rootTextContent=n,lb.registerLexicalTextEntity=function(t,n,r,o){let i=t=>{const n=e.$createTextNode(t.getTextContent());n.setFormat(t.getFormat()),t.replace(n)},l=t.registerNodeTransform(e.TextNode,(t=>{if(t.isSimpleText()){var l=t.getPreviousSibling(),a=t.getTextContent(),s=t;if(e.$isTextNode(l)){var u=l.getTextContent(),c=n(u+a);if(l instanceof r){if(null===c||0!==l.getLatest().__mode)return void i(l);if(0<(c=c.end-u.length))return s=u+(s=a.slice(0,c)),l.select(),l.setTextContent(s),void(c===a.length?t.remove():(l=a.slice(c),t.setTextContent(l)))}else if(null===c||c.start<u.length)return}for(;;){if(a=c=null===(t=n(a))?"":a.slice(t.end),""===c){if(u=s.getNextSibling(),e.$isTextNode(u)){if(c=s.getTextContent()+u.getTextContent(),null===(c=n(c))){u instanceof r?i(u):u.markDirty();break}if(0!==c.start)break}}else if(null!==(u=n(c))&&0===u.start)break;if(null===t)break;if(0===t.start&&e.$isTextNode(l)&&l.isTextEntity())continue;let d;if(0===t.start?[d,s]=s.splitText(t.end):[,d,s]=s.splitText(t.start,t.end),(t=o(d)).setFormat(d.getFormat()),d.replace(t),null==s)break}}}));return t=t.registerNodeTransform(r,(t=>{var o=t.getTextContent();const l=n(o);null===l||0!==l.start?i(t):o.length>l.end?t.splitText(l.end):(o=t.getPreviousSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),i(t)),o=t.getNextSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),t instanceof r&&i(t)))})),[l,t]},lb}();return nb=e}var sb,ub,cb,db,fb,pb,hb={};function mb(){if(cb)return ub;cb=1;const e=function(){if(sb)return hb;sb=1;var e=Y();return hb.registerDragonSupport=function(t){let n=window.location.origin,r=r=>{if(r.origin===n){var o=t.getRootElement();if(document.activeElement===o&&"string"==typeof(o=r.data)){try{var i=JSON.parse(o)}catch(e){return}if(i&&"nuanria_messaging"===i.protocol&&"request"===i.type&&(i=i.payload)&&"makeChanges"===i.functionId&&(i=i.args)){const[n,o,l,a,s]=i;t.update((()=>{const t=e.$getSelection();if(e.$isRangeSelection(t)){var i=t.anchor;let u=i.getNode(),c=0,d=0;e.$isTextNode(u)&&0<=n&&0<=o&&(c=n,d=n+o,t.setTextNodeRange(u,c,u,d)),c===d&&""===l||(t.insertRawText(l),u=i.getNode()),e.$isTextNode(u)&&(c=a,d=a+s,c=c>(i=u.getTextContentSize())?i:c,d=d>i?i:d,t.setTextNodeRange(u,c,u,d)),r.stopImmediatePropagation()}}))}}}};return window.addEventListener("message",r,!0),()=>{window.removeEventListener("message",r,!0)}},hb}();return ub=e}function gb(){if(db)return ib;db=1;var e=me(),t=gt(),n=h(),r=ab(),o=q(),i=w(),l=mb(),a=nt(),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function u(e){return e.getEditorState().read(r.$canShowPlaceholderCurry(e.isComposing()))}function c({content:r}){var[i]=e.useLexicalComposerContext();i=function(e){let[t,r]=n.useState((()=>u(e)));return s((()=>{function t(){let t=u(e);r(t)}return t(),o.mergeRegister(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(i);let l=t();return i?"function"==typeof r?r(l):r:null}return ib.RichTextPlugin=function({contentEditable:t,placeholder:r,ErrorBoundary:u}){let[d]=e.useLexicalComposerContext();return u=function(e,t){let[r,o]=n.useState((()=>e.getDecorators()));return s((()=>e.registerDecoratorListener((e=>{i.flushSync((()=>{o(e)}))}))),[e]),n.useEffect((()=>{o(e.getDecorators())}),[e]),n.useMemo((()=>{let o=[],l=Object.keys(r);for(let a=0;a<l.length;a++){let s=l[a],u=n.createElement(t,{onError:t=>e._onError(t)},n.createElement(n.Suspense,{fallback:null},r[s])),c=e.getElementByKey(s);null!==c&&o.push(i.createPortal(u,c,s))}return o}),[t,r,e])}(d,u),function(e){s((()=>o.mergeRegister(a.registerRichText(e),l.registerDragonSupport(e))),[e])}(d),n.createElement(n.Fragment,null,t,n.createElement(c,{content:r}),u)},ib}var vb=function(){if(pb)return fb;pb=1;const e=gb();return fb=e}();const bb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m2.604 7.672-.276.96h2.004l-.276-.96a42 42 0 0 1-.372-1.284L3.348 5.08H3.3q-.156.66-.336 1.32-.168.648-.36 1.272m-2.628 4.176L2.532 4h1.632l2.556 7.848H5.256l-.612-2.124h-2.64l-.612 2.124zm9.23.144q-.768 0-1.26-.48-.48-.48-.48-1.248 0-.948.828-1.464.828-.528 2.64-.72a1.4 1.4 0 0 0-.252-.804q-.228-.348-.828-.348-.432 0-.852.168-.408.168-.804.408l-.504-.924a6 6 0 0 1 1.104-.54 3.8 3.8 0 0 1 1.32-.228q1.104 0 1.644.66.552.648.552 1.884v3.492h-1.14l-.096-.648h-.048a4.3 4.3 0 0 1-.852.564q-.444.228-.972.228m.444-1.08q.36 0 .648-.168.3-.18.636-.48v-1.32q-1.2.156-1.668.468-.468.3-.468.744 0 .396.24.576t.612.18M14 1h1v14h-1zm-1 0h3v1h-3zm0 13h3v1h-3z"})}),yb=k.forwardRef(bb),xb=(e,t)=>lo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[lo.jsx("path",{d:"M0 1h16v2H0zm15 4v2H1V5zM0 11V9h16v2zm3 4v-2h10v2z"}),lo.jsx("use",{transform:"matrix(-1 0 0 1 16 0)"})]}),_b=k.forwardRef(xb),Cb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M0 1h15v2H0zm13 4v2H0V5zM0 11V9h16v2zm0 4v-2h10v2z"})}),Eb=k.forwardRef(Cb),wb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M16 1v2H1V1zM3 5h13v2H3zm13 6H0V9h16zm0 4H6v-2h10z"})}),Sb=k.forwardRef(wb),kb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})}),Tb=k.forwardRef(kb),Nb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M1.5 10a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 1 1 0-1.5zM1.5 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z"})}),Rb=k.forwardRef(Nb),Ab=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M5 13v1.382L7.764 13H14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1zm-1 3v-2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8zM4 6v1h8V6zm0 3v1h7V9z"})}),Lb=k.forwardRef(Ab),Mb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M2.05 9q.371 0 .72.09.349.088.623.275.273.185.436.467t.163.66a1.38 1.38 0 0 1-.284.86q-.133.179-.304.334l-.173.154-.18.152-1.245 1.004H4V14H.114v-.963l2.095-1.72.123-.115q.114-.116.196-.235a.7.7 0 0 0 .121-.399.54.54 0 0 0-.182-.423q-.183-.162-.486-.162a.7.7 0 0 0-.52.203.83.83 0 0 0-.217.406l-.022.127L0 10.57l.031-.181q.06-.264.193-.48.179-.29.452-.492a2 2 0 0 1 .626-.31q.352-.105.747-.106m13.2 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5zM3 2v5H1.698V3.328l-1.024.72L0 3.208 1.806 2zm12.25 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5z"})}),Ob=k.forwardRef(Mb),Pb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M5.52 11.938 4.5 15H1L6.425 1h3.238L15 15h-3.5l-1.02-3.062zm.73-2.188h3.5L8 4.5z"})}),Ib=k.forwardRef(Pb),Db=(e,t)=>lo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[lo.jsx("path",{d:"M9.034 14.99V15H3V1h6.034v.034Q9.246 1 9.466 1c1.666 0 3.017 1.522 3.017 3.4 0 1.376-.726 2.562-1.77 3.097C12.056 8.083 13 9.475 13 11.1c0 2.154-1.66 3.9-3.707 3.9q-.13 0-.259-.01M5.586 3.5v3.2h2.71a1.6 1.6 0 1 0 0-3.2zm0 5.5v3.8H8.86a1.9 1.9 0 0 0 0-3.8z"}),lo.jsx("use",{fillRule:"evenodd"})]}),zb=k.forwardRef(Db),$b=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M4.145 0h1.71l2.391 6.833-.785.784L7.245 7h-4.49l-1.283 3.665-.944-.33zm-1.04 6h3.79l-1.75-5h-.29zm9.066-.321a1 1 0 0 0-1.414 0l-6.364 6.364a1 1 0 0 0 0 1.414l2.25 2.25A1 1 0 0 0 7.35 16h6.471v-1h-3.114l4.686-4.686a1 1 0 0 0 0-1.414zm-2.2 8.643L9.293 15H7.35L5.1 12.75l1.65-1.65zm.707-.708-3.22-3.221 4.006-4.007 3.222 3.221z"})}),Fb=k.forwardRef($b),Bb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M8.5 0a7.99 7.99 0 0 1 6.34 3.12c1.167 1.514 1.714 3.535 1.268 5.395-.444 1.85-1.776 2.609-3.192 2.897a7 7 0 0 1-1.24.113l-.683.012c-.681.018-1.276.086-1.653.484-.577.511-.487.996-.255 1.464l.106.2.281.49c.259.484.383.957-.253 1.43-.435.324-1 .408-1.54.353A8.001 8.001 0 0 1 8.5 0m0 1a7 7 0 0 0-.315 13.993.54.54 0 0 0 .235-.063c.166-.09.182-.272.088-.437-.084-.146-.175-.29-.254-.438a3 3 0 0 1-.297-.758 1.94 1.94 0 0 1 .05-1.06c.124-.365.35-.674.64-.937.519-.525 1.201-.68 1.765-.733l.294-.02.344-.012.389-.007c.466-.006.862-.011 1.278-.096.855-.174 1.538-.52 1.971-1.128q.091-.126.173-.28c1-1.887.164-4.339-1.317-5.878A6.98 6.98 0 0 0 8.5 1m-4 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4M13 6.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-1-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2M8 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"})}),Hb=k.forwardRef(Bb),jb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M14 5H2V3h12zm-9 8H2V6h3zm1 0V6h4v7zm5 0V6h3v7zM0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm1 0v12h14V2z"})}),Wb=k.forwardRef(jb),Kb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m10.927 1.255-3.886 13.6A.2.2 0 0 1 6.85 15H5.265a.2.2 0 0 1-.192-.255l3.886-13.6A.2.2 0 0 1 9.15 1h1.584a.2.2 0 0 1 .192.255"})}),Ub=k.forwardRef(Kb),Gb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"m9.354 7.146-.708.708a2.33 2.33 0 0 0-3.292 0l-2.75 2.75a1.975 1.975 0 0 0 2.792 2.793l2.75-2.75.708.707-2.75 2.75a2.975 2.975 0 0 1-4.208-4.208l2.75-2.75a3.33 3.33 0 0 1 4.708 0m4.75-5.25a2.975 2.975 0 0 1 0 4.208l-2.75 2.75a3.33 3.33 0 0 1-4.708 0l.708-.708c.909.91 2.383.91 3.292 0l2.75-2.75a1.975 1.975 0 1 0-2.793-2.792l-2.75 2.75-.707-.708 2.75-2.75a2.975 2.975 0 0 1 4.207 0Z"})}),Yb=k.forwardRef(Gb),Vb=(e,t)=>lo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:lo.jsx("path",{d:"M13 1v7.059c0 1.714-.364 2.924-1.273 3.73C10.91 12.598 9.455 13 8 13c-1.545 0-3-.403-3.818-1.21C3.455 10.983 3 9.773 3 8.059V1h2.455v7.059c0 .302 0 .706.09 1.008.091.303.182.605.364.807s.364.504.727.605c.273.1.91.202 1.455.202.909 0 1.727-.202 2-.706.364-.404.454-1.11.454-2.017V1zM3 14h10v1H3z"})}),Qb=k.forwardRef(Vb),qb=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,Xb=[e=>{const t=qb.exec(e);if(null===t)return null;const n=t[0];return{index:t.index,length:n.length,text:n,url:n.startsWith("http")?n:`https://${n}`,attributes:{target:"_blank"}}},pt.createLinkMatcherWithRegExp(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,(e=>`mailto:${e}`))];function Jb(){return k.createElement(pt.AutoLinkPlugin,{matchers:Xb})}const Zb=()=>{const[e]=ht.useLexicalComposerContext(),t=vt(),n=k.useCallback((n=>{for(const[r,o]of n)"updated"!==o&&"created"!==o||e.getEditorState().read((()=>{const n=t?"pointer":"",o=e.getElementByKey(r);o&&(o.style.cursor=n)}))}),[t,e]);return k.useEffect((()=>bt.mergeRegister(e.registerMutationListener(te.LinkNode,(e=>{n(e)})),e.registerMutationListener(te.AutoLinkNode,(e=>{n(e)})),e.registerCommand(yt.CLICK_COMMAND,(t=>(t.metaKey&&t.target&&e.getEditorState().read((()=>{const e=yt.$getSelection();let t;if(yt.$isRangeSelection(e)&&(t=e.focus.getNode().getParent()),yt.$isNodeSelection(e)&&(t=e.getNodes()[0]),te.$isAutoLinkNode(t)||te.$isLinkNode(t)){const e=t.getURL();setTimeout((()=>{const t=window.open(e,"_blank");null==t||t.focus()}),0)}})),!1)),yt.COMMAND_PRIORITY_EDITOR))),[e,n]),null};function ey(e){const{anchor:t,focus:n}=e,r=t.getNode(),o=n.getNode();return r===o?r:e.isBackward()?xt.$isAtNodeEnd(n)?r:o:xt.$isAtNodeEnd(t)?r:o}const ty=new Set(["http:","https:","mailto:","sms:","tel:"]),ny=e=>{const t=e;return t.password="",t.username="",t};function ry(e){try{const t=new URL(e);return ty.has(t.protocol)?{url:ny(t).toString(),target:"_blank"}:{url:"about:blank"}}catch(t){return{url:e,target:"_blank"}}}const oy=/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/;function iy(e){return"https://"===e||oy.test(e)}const ly=Za(md)((({theme:e})=>({background:e.palette.common.white,display:"flex",alignItems:"center",padding:e.spacing(1)}))),ay=({anchorEl:e,link:t,onChanged:n,onOpened:r})=>{const o=Boolean(e),i=k.useRef(null),[l,a]=k.useState(t);k.useEffect((()=>{a(t)}),[t]);const s=k.useCallback((()=>{n(l),window.open(ry(l).url,"_blank"),r()}),[l,r,n]),u=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(l)}),[l,n]),c=k.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),n(l))}),[l,n]),d=k.useCallback((e=>{e.preventDefault(),a(e.currentTarget.value)}),[]);return T.createElement(Mc,{open:o,anchorEl:e,placement:"bottom-start",sx:{zIndex:1},transition:!0},(({TransitionProps:e})=>T.createElement(xd,{...e},T.createElement(ks,{className:"tekPopperMenu"},T.createElement(ly,{direction:"row"},T.createElement(Yc,{ref:i,placeholder:t,margin:"dense",size:"small",value:l,onChange:d,onKeyDown:c}),T.createElement(Qs,{onClick:s},T.createElement(tf,null)),T.createElement(Qs,{onClick:u},T.createElement(rf,null)))))))},sy=()=>{const[e]=ht.useLexicalComposerContext(),t=vt(),[n,r]=k.useState(null),[o,i]=k.useState(""),l=k.useRef(!1),a=k.useCallback((()=>{if(l.current)return l.current=!1,!1;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=ey(t),o=n.getParent();if(te.$isAutoLinkNode(o)||te.$isAutoLinkNode(n))return r(null),i(""),!1;let l;if(te.$isLinkNode(o)&&(l=o),te.$isLinkNode(n)&&(l=n),te.$isLinkNode(l)){const t=e.getElementByKey(null==l?void 0:l.getKey());return i(l.getURL()),r(t),!0}r(null),i("")}return!1}),[e]),s=k.useCallback((t=>{l.current=!0,e.update((()=>{e.dispatchCommand(te.TOGGLE_LINK_COMMAND,ry(t))}),{onUpdate:()=>{r(null)}})}),[e]),u=k.useCallback((()=>{r(null)}),[]);return k.useEffect((()=>bt.mergeRegister(e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>a()),yt.COMMAND_PRIORITY_LOW),e.registerCommand(yt.CLICK_COMMAND,(()=>a()),yt.COMMAND_PRIORITY_LOW))),[e,a]),t?T.createElement(ay,{anchorEl:n,link:o,onChanged:s,onOpened:u}):null};function uy(){return k.createElement(uf.LinkPlugin,{validateUrl:iy})}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('.tek__editor__container {\n color: #000;\n position: relative;\n line-height: 1.25;\n font-weight: 400;\n text-align: left;\n resize: none;\n height: 100%;\n overflow-y: auto;\n}\n.tek__editor__container {\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n}\n.tek__editor__container::-webkit-scrollbar {\n display: none;\n}\n\n.tek__editor__container__scrollbar:hover {\n -ms-overflow-style: auto;\n scrollbar-width: thin;\n scrollbar-color: lightgray transparent;\n}\n.tek__editor__container__scrollbar:hover::-webkit-scrollbar {\n display: block;\n}\n\n.tek__editor__Wrapper {\n position: relative;\n background-color: transparent;\n flex: 1;\n height: 100%;\n}\n\n.tek__editor__input {\n font-size: 16px;\n caret-color: rgb(5, 5, 5);\n position: relative;\n tab-size: 1;\n outline: 0;\n caret-color: #444;\n min-height: 0px;\n color: #404040;\n display: block;\n background-color: transparent;\n}\n\n.tek__editor__placeholder {\n color: #999;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n top: 0px;\n left: 0px;\n font-size: 16px;\n user-select: none;\n display: inline-block;\n pointer-events: none;\n}\n\n.tek__editor__logo {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n color: #999;\n overflow: hidden;\n}\n\n.tek__editor__paragraph {\n margin: 0 0 0 0;\n position: relative;\n cursor: auto;\n}\n\n.tek__ltr {\n text-align: left;\n}\n\n.tek__rtl {\n text-align: right;\n}\n\n.tek__h1 {\n font-size: 28px;\n color: rgb(5, 5, 5);\n font-weight: bold;\n margin: 0px 0px 0.5em;\n}\n.tek__h2 {\n font-size: 16px;\n color: rgb(101, 103, 107);\n font-weight: 700;\n margin: 0px 0px 0.25em;\n text-transform: uppercase;\n}\n.tek__h3 {\n font-size: 12px;\n text-transform: uppercase;\n margin: 0px 0px 0.25em;\n}\n\n.tek__textBase {\n -webkit-user-select: text;\n user-select: text;\n}\n\n.tek__textBold {\n font-weight: bold;\n}\n\n.tek__textItalic {\n font-style: italic;\n}\n\n.tek__textUnderline {\n text-decoration: underline;\n}\n\n.tek__ol1 {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__ol2 {\n padding: 0;\n margin: 0;\n list-style-type: upper-alpha;\n list-style-position: inside;\n}\n.tek__ol3 {\n padding: 0;\n margin: 0;\n list-style-type: lower-alpha;\n list-style-position: inside;\n}\n.tek__ol4 {\n padding: 0;\n margin: 0;\n list-style-type: upper-roman;\n list-style-position: inside;\n}\n.tek__ol5 {\n padding: 0;\n margin: 0;\n list-style-type: lower-roman;\n list-style-position: inside;\n}\n.tek__ul {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__listItem {\n margin: 0 12px;\n}\n.tek__nestedListItem {\n list-style-type: none;\n}\n.tek__nestedListItem:before,\n.tek__nestedListItem:after {\n display: none;\n}\n\n.tek__quote {\n margin: 0;\n margin-left: 12px;\n margin-bottom: 10px;\n font-size: 15px;\n color: rgb(101, 103, 107);\n border-left-color: rgb(206, 208, 212);\n border-left-width: 4px;\n border-left-style: solid;\n padding-left: 16px;\n}\n\n.tek__table {\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n position: relative;\n margin-top: 8px;\n margin-bottom: 8px;\n padding: 0;\n overflow: hidden;\n}\n\n.tek__tableCell {\n border: 1px solid rgb(206, 208, 212);\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n line-height: 1.25;\n}\n\n.tek__tableCellNoBorder {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__tableCellNoBorderEditMode {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__resizer {\n position: absolute;\n width: 6px;\n right: 0;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n background-color: #009845;\n pointer-events: all;\n z-index: 2;\n opacity: 0;\n transition: opacity 0.3s ease; /* Transition effect */\n transform: translate(-3px, 0);\n}\n.tek__resizer:hover {\n opacity: 0.2;\n}\n\n.tek__resizeContainer {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n z-index: 1;\n user-select: none;\n pointer-events: none;\n margin: 0;\n padding: 0;\n}\n\n.tek__tableActionButton {\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: "white";\n user-select: none;\n}\n\n.tek__tekCellHighlight {\n background-color: rgba(100, 149, 237, 0.1);\n}\n\n.tek__resizeIndicatorDisplay {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n background-color: #54565a;\n color: white;\n text-align: center;\n font-size: 12px;\n padding: 2px;\n overflow: hidden;\n border-radius: 4px;\n width: 48px;\n height: 16px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.tek__leftResizerIndicator {\n left: -54px;\n}\n\n.tek__rightResizerIndicator {\n right: -54px;\n}\n');const cy=({children:e})=>T.createElement(ts,{theme:Ff()},e),dy={namespace:"text-editor-kit",theme:{ltr:"tek__ltr",rtl:"tek__rtl",paragraph:"tek__editor__paragraph",placeholder:"text_editor__placeholder",quote:"tek__quote",table:"tek__table",tableCell:"tek__tableCell",heading:{h1:"tek__h1",h2:"tek__h2",h3:"tek__h3"},text:{base:"tek__textBase",bold:"tek__textBold",italic:"tek__textItalic",underline:"tek__textUnderline"},list:{listitem:"tek__listItem",nested:{listitem:"tek__nestedListItem"},olDepth:["tek__ol1","tek__ol2","tek__ol3","tek__ol4","tek__ol5"],ul:"tek__ul"}},nodes:[lt.HeadingNode,lt.QuoteNode,de.ListNode,de.ListItemNode,te.LinkNode,te.AutoLinkNode],onError:e=>{console.log(e)}},fy=({children:e,initialConfig:t,flags:n})=>T.createElement(cy,null,T.createElement("div",{className:"tek__editor__Wrapper"},T.createElement(Ee.LexicalComposer,{initialConfig:t||dy},T.createElement("div",{className:"tek__editor__container"+((null==n?void 0:n.isEnabled("QB_26358_SN_TEXT_SCROLLBAR"))?" tek__editor__container__scrollbar":"")},e,T.createElement(ze.ListPlugin,null),T.createElement(Qe.TabIndentationPlugin,null),T.createElement(uy,null),T.createElement(Jb,null),T.createElement(sy,null),T.createElement(Zb,null),T.createElement(Le.HistoryPlugin,null)))));class py extends yt.ElementNode{static getType(){return"TekCellNode"}static clone(e){return new py(e.__hasBorders,e.__key)}static importJSON(e){return new py(void 0===e.hasBorders||e.hasBorders)}constructor(e,t){super(t),this.__hasBorders=e}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,type:"TekCellNode",version:1}}createDOM(e,t){const n=document.createElement("td");return n.classList.add(e.theme.tableCell||""),this.__hasBorders||(t.isEditable()?n.classList.add("tek__tableCellNoBorderEditMode"):n.classList.add("tek__tableCellNoBorder")),n}updateDOM(e,t){return this.__hasBorders?t.classList.remove("tek__tableCellNoBorder"):t.classList.add("tek__tableCellNoBorder"),this.__hasBorders!==e.__hasBorders}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}}const hy=e=>new py(e),my=e=>e instanceof py;class gy extends yt.ElementNode{static getType(){return"TekTableNode"}static clone(e){return new gy(e.__hasBorders,e.__width,e.__key)}static importJSON(e){const t=void 0===e.hasBorders||e.hasBorders,n=void 0===e.width?"100%":e.width;return new gy(t,n)}constructor(e,t,n){super(n),this.__needsUpdate=!1,this.__hasBorders=e,this.__width=t}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,width:this.__width,type:"TekTableNode",version:1}}createDOM(e){const t=document.createElement("table");return t.classList.add(e.theme.table||""),t.style.width=this.__width,t}updateDOM(e){const t=this.__needsUpdate;try{!0===e.__needsUpdate&&(this.getWritable().__needsUpdate=!1)}catch(e){}return t||this.__width!==e.__width}markNeedsUpdate(){this.getWritable().__needsUpdate=!0}canBeEmpty(){return!1}canExtractContents(){return!1}isShadowRoot(){return!0}canSelectBefore(){return!0}canIndent(){return!1}getResizeNode(){return this.getChildAtIndex(1)}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}setWidth(e){this.getWritable().__width=e}isValid(){const e=this.getChildren();return!(e.length<3)&&"TekColGroupNode"===e[0].getType()&&"TEK_TABLE_RESIZE_NODE"===e[1].getType()&&"TekRowNode"===e[2].getType()}}function vy(e){return e instanceof gy}class by extends yt.ElementNode{static getType(){return"TekRowNode"}static clone(e){return new by(e.__key)}static importJSON(){return new by}exportJSON(){return{...super.exportJSON(),type:"TekRowNode",version:1}}createDOM(){return document.createElement("tr")}updateDOM(){return!1}isShadowRoot(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function yy(e){return e instanceof by}const xy=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),my(t))return t;return null},_y=e=>{let t=e;for(;null!==t;){if(vy(t))return t;t=null==t?void 0:t.getParent()}return null},Cy=(e,t)=>{const n=_y(e);if(n){const e=t.getElementByKey(n.getKey());if(e)return e}return null},Ey=e=>null==e?void 0:e.getChildAtIndex(2),wy=e=>{const t=e.getParent();if(yy(t)){const n=t.getChildren();for(let t=0;t<n.length;t++)if(n[t]===e)return t}return-1},Sy=(e,t)=>e?.01*parseFloat(e.getAttribute("width")||"0")*t.offsetWidth:0,ky=(e,t)=>{const n=e/t.offsetWidth;return`${Math.min(100*n,100).toFixed(2)}%`},Ty=e=>{if(!e)return[];return e.getChildren().filter((e=>yy(e)))},Ny=e=>{let t=!1;return Ty(e).forEach((e=>{e.getChildren().forEach((e=>{const n=e;n.clear(),n.append(yt.$createParagraphNode()),t=!0}))})),t},Ry=e=>{var t;const n=yt.$getSelection();if(yt.$isRangeSelection(n)||yt.$isNodeSelection(n)){const r=n.getNodes().filter((e=>my(e)));if(r.length>0){e.preventDefault(),e.stopPropagation();const o=n.getNodes().some((e=>vy(e))),i=_y(r[0]),l=Ty(i);if((null===(t=l[0])||void 0===t?void 0:t.getChildren()).length*l.length===r.length&&o)return null==i||i.selectPrevious(),null==i||i.remove(),!1;if(yt.$isRangeSelection(n)){const e=n.focus.getNode();if(vy(e))return Ny(e)}return r.forEach((e=>{e.clear(),e.append(yt.$createParagraphNode())})),(()=>{const e=yt.$getSelection();let t=!1;if(yt.$isRangeSelection(e)){const n=e.anchor.getNode(),r=e.focus.getNode();let o=_y(n);!o&&vy(r)&&(o=r),vy(o)&&(t=Ny(o))}return t})()}if(yt.$isRangeSelection(n)){const e=n.focus.getNode();if(vy(e))return Ny(e)}}return!1},Ay=e=>{if(e){const t=_y(e);if(vy(t)){const n=e.getParent(),r=Ty(t).findIndex((e=>e===n));return{i:r,j:null==n?void 0:n.getChildren().findIndex((t=>t===e)),tableNode:t,row:n}}}return{i:0,j:0,tableNode:null,row:null}},Ly=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),my(t))return t;return null},My=e=>{const t=[];return Ty(e).forEach((e=>{const n=e.getChildren();t.push(...n)})),t},Oy=(e,t)=>{My(e).forEach((e=>{const n=t.getElementByKey(e.getKey());null==n||n.classList.add("tek__tekCellHighlight")}))},Py=yt.createCommand("UPDATE_COL_WIDTHS_COMMAND"),Iy=yt.createCommand("BEGIN_COL_RESIZE"),Dy=yt.createCommand("END_COL_RESIZE"),zy=yt.createCommand("INSERT_TEK_TABLE_COMMAND"),$y=({colKey:e,startX:t,onMouseDown:n})=>{const r=k.useCallback((t=>{n(t,e)}),[e,n]);return T.createElement("div",{role:"button","aria-label":"resize",tabIndex:-1,className:"tek__resizer",style:{left:`${t}%`},onMouseDown:r})},Fy=(e,t)=>{const n=document.createElement("div");return n.classList.add("tek__resizeIndicatorDisplay"),n.classList.add(e),n.id=t,n},By=e=>`${parseFloat(e.getAttribute("width")||"0").toFixed(2)}%`,Hy=({nodeKey:e,colWidths:t})=>{const[n]=ht.useLexicalComposerContext(),r=vt(),[o,i]=k.useState(null),l=k.useRef(null),a=k.useRef(null),s=k.useRef(null),u=k.useRef(null),c=k.useCallback((t=>{const n=yt.$getNodeByKey(e);if(n){const e=n.getParent();if(vy(e)){const n=Ey(e);if("TekRowNode"===(null==n?void 0:n.getType())){const e=n.getChildren(),r=[];let o=0;e.forEach(((e,n)=>{const i=parseFloat(t[n]);o+=i,r.push({key:e.getKey(),startX:o})})),i(r)}}}}),[e]),d=k.useCallback((e=>{if(l.current){const{clientX:t,col:n,tableElement:r,curColWidth:o,resizer:i,left:a,nxt:c,parentDomNode:d,currentTableWidth:f}=l.current,p=e.clientX-t,h=ky(a+p,r);if(c){const e=o+p;if(e<60)return;const t=ky(e,r),a=l.current.nxtColWidth-p,d=ky(a,r);if(a<60)return;n.setAttribute("width",t),c.setAttribute("width",d),i.style.left=h,s.current&&(s.current.innerText=t),u.current&&(u.current.innerText=d)}else if(d){i.style.left="100%";const e=f+p,{clampedWidths:t,fullyClamped:n,clampedTableWidth:o}=((e,t)=>{const n=[],r=e.rows[0];let o=0,i=0;for(let e=0;e<r.cells.length;e++){const l=Math.max(r.cells[e].offsetWidth,60);60===l&&o++,i+=l;const a=l/t,s=Math.min(100*a,100);n.push(`${s.toFixed(2)}%`)}return{clampedWidths:n,fullyClamped:o===r.cells.length,clampedTableWidth:i}})(r,e),l=ky(e,d),a=ky(o,d);r.style.width=!n||p>0?l:a,r.querySelectorAll(":scope > colgroup col").forEach(((e,n)=>{e.setAttribute("width",t[n])})),n||s.current&&(s.current.innerText=l)}}}),[]),f=k.useCallback((()=>{if(document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",f),l.current){l.current.resizer.style.opacity="",s.current=null,u.current=null;const e=(e=>{const t=e.rows[0],n=[];for(let r=0;r<t.cells.length;r++){const o=Math.max(t.cells[r].offsetWidth,60);n.push(ky(o,e))}return n})(l.current.tableElement);l.current.tableElement.querySelectorAll(":scope > colgroup col").forEach(((t,n)=>{t.setAttribute("width",e[n])})),(e=>{const t=document.getElementById("leftGripper"),n=document.getElementById("rightGripper");t&&e.removeChild(t),n&&e.removeChild(n)})(l.current.resizer),n.dispatchCommand(Dy,void 0)}l.current=null,a.current=null,n.update((()=>{const t=yt.$getNodeByKey(e),r=Cy(t,n),l=null==t?void 0:t.getParent();if(r&&l){const t=r.querySelectorAll(":scope > colgroup col"),a=[];t.forEach((e=>{a.push(e.getAttribute("width")||"0")})),l.setWidth(r.style.width);let s=0;if(o){const e=o.map(((e,t)=>{const n={...e};return s+=parseFloat(a[t]),n.startX=s,n}));i(e)}n.dispatchCommand(Py,{colWidths:a,nodeKey:e})}}))}),[d,n,e,o]),p=k.useCallback(((e,t)=>{e.preventDefault(),e.stopPropagation(),document.addEventListener("mousemove",d,{passive:!0}),document.addEventListener("mouseup",f),n.getEditorState().read((()=>{const r=yt.$getNodeByKey(t),o=Cy(r,n);if(my(r)){const t=wy(r);if(-1!==t&&o){const r=null==o?void 0:o.querySelectorAll(":scope > colgroup col"),i=r[t],a=r.length>t+1?r[t+1]:null,c=Sy(i,o),d=e.target,f=.01*parseFloat(d.style.left),p=o.offsetWidth*f,h=Sy(a,o),m=o.parentElement,g=.01*parseFloat(o.style.width),v=((null==m?void 0:m.offsetWidth)||0)*g,b=((e,t,n)=>{const r=Fy("tek__leftResizerIndicator","leftGripper");r.innerText=By(e);let o=null;return t?(o=Fy("tek__rightResizerIndicator","rightGripper"),o.innerText=By(t)):r.innerText=n.style.width,{left:r,right:o}})(i,a,o);s.current=b.left,u.current=b.right,d.appendChild(b.left),b.right&&d.appendChild(b.right),d.style.opacity="1",l.current={resizer:d,curColWidth:c,col:i,tableElement:o,clientX:e.clientX,left:p,nxt:a,nxtColWidth:h,parentDomNode:m,currentTableWidth:v},n.dispatchCommand(Iy,void 0)}}}))}),[n,d,f]);return k.useEffect((()=>{n.getEditorState().read((()=>{c(t)}))}),[c,n,t]),T.createElement(T.Fragment,null,o&&r?o.map((e=>T.createElement($y,{key:`${e.key}`,colKey:e.key,startX:e.startX,onMouseDown:p}))):null)},jy="TEK_TABLE_RESIZE_NODE";class Wy extends yt.DecoratorNode{static getType(){return jy}static clone(e){return new Wy(e.__colWidths,e.__key)}static importJSON(e){return new Wy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:jy,version:1}}createDOM(){const e=document.createElement("div");return e.classList.add("tek__resizeContainer"),e}updateDOM(){return!1}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}decorate(){return T.createElement(Hy,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}const Ky=e=>e instanceof Wy,Uy=({nodeKey:e,colWidths:t})=>{const[n]=ht.useLexicalComposerContext(),[r,o]=k.useState(t);return k.useEffect((()=>{n.getEditorState().read((()=>{const t=yt.$getNodeByKey(e),n=null==t?void 0:t.getParent();if(vy(n)){const e=n.getResizeNode();if(Ky(e)){const t=e.__colWidths.map((e=>e));o(t)}}}))}),[n,e]),T.createElement(T.Fragment,null,r.map(((t,n)=>T.createElement("col",{span:1,width:t,key:`${e}.${n}`}))))};class Gy extends yt.DecoratorNode{static getType(){return"TekColGroupNode"}static clone(e){return new Gy(e.__colWidths,e.__key)}static importJSON(e){return new Gy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:"TekColGroupNode",version:1}}createDOM(){return document.createElement("colgroup")}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}updateDOM(){return!1}decorate(){return T.createElement(Uy,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}class Yy extends yt.DecoratorNode{constructor(e,t){super(t),this.__formatStyle=e}setFormatStyle(e){this.getWritable().__formatStyle=e}hasStyle(e){return void 0!==this.__formatStyle[e]&&""!==this.__formatStyle[e]}getTextFormatStyle(e,t){return this.hasStyle(e)?this.__formatStyle[e]:t}}const Vy=[gy,py,by,Gy,Wy],Qy=(e,t)=>{const n=100/e,r=Array(e).fill(`${n}%`),o=null==t?void 0:t.getChildAtIndex(0),i=null==t?void 0:t.getChildAtIndex(1);o.setColWidths(r),i.setColWidths(r),null==t||t.markNeedsUpdate()},qy=()=>{var e;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=xy(n);if(r){const t=wy(r),n=_y(r),o=Ty(n),i=((null===(e=o[0])||void 0===e?void 0:e.getChildren().length)||1)-1;if(0===i)return null==n||n.selectPrevious(),void(null==n||n.remove());o.forEach((e=>{var n;null===(n=e.getChildAtIndex(t))||void 0===n||n.remove()})),Qy(i,n)}}},Xy=()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=xy(t),r=_y(n);if(r&&3===r.getChildren().length)return yt.$setSelection(null),void r.remove();if(n){const{row:e}=Ay(n);yt.$setSelection(null),null==e||e.remove()}}},Jy=()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=_y(t),r=Ey(n);if(yy(r)&&n){const e=r.getChildren().length,t=new by;for(let r=0;r<e;r++){const e=hy(null==n?void 0:n.__hasBorders);e.append(yt.$createParagraphNode()),t.append(e)}null==n||n.append(t)}}},Zy=()=>{var e;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=_y(n);if(vy(r)){const t=Ty(r);let n=null;const o=((null===(e=t[0])||void 0===e?void 0:e.getChildren().length)||-1)+1;for(let e=0;e<t.length;e++){const o=hy(r.__hasBorders);o.append(yt.$createParagraphNode()),t[e].append(o),n=o}return Qy(o,r),n}}return null},ex=Za(Qs)({backgroundColor:"white",boxShadow:"0 2px 4px rgba(0,0,0,0.15)"}),tx=({onDeleteAction:e,onAction:t,onClick:n})=>{const[r]=ht.useLexicalComposerContext(),[o,i]=k.useState(null),l=Hv(),a=Boolean(o),s=k.useCallback(((e,t,n)=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{t()}),{onUpdate:()=>{i(null),n()}})}),[r]),u=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(),i(e.currentTarget)}),[n]),c=k.useCallback((()=>{i(null)}),[]),d=k.useCallback((e=>{s(e,Jy,t)}),[s,t]),f=k.useCallback((e=>{s(e,Zy,t)}),[s,t]),p=k.useCallback((t=>{s(t,Xy,e)}),[s,e]),h=k.useCallback((t=>{s(t,qy,e)}),[s,e]),m=k.useCallback((()=>{r.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=_y(t);vy(n)&&(n.selectPrevious(),n.remove())}})()}),{onUpdate:()=>{i(null),e()}})}),[r,e]),g=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=_y(t);n&&(n.toggleBorders(),My(n).forEach((e=>{e.toggleBorders()})))}})()}))}),[r]);return k.useEffect((()=>bt.mergeRegister(r.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(i(null),!1)),yt.COMMAND_PRIORITY_CRITICAL))),[r]),T.createElement(sd,{onClickAway:c,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(ex,{size:"small",onClick:u},T.createElement(Hf,{height:12})),T.createElement(Mc,{sx:{zIndex:1},open:a,anchorEl:o,placement:"auto-end"},T.createElement(ks,{id:"tekTableMenu",className:"tekPopperMenu"},T.createElement(zd,{dense:!0},T.createElement(jd,{onClick:g},l("ToggleBorders")),T.createElement(hd,null),T.createElement(jd,{onClick:d},l("AddNewRow")),T.createElement(jd,{onClick:f},l("AddNewColumn")),T.createElement(hd,null),T.createElement(jd,{onClick:p},l("DeleteRow")),T.createElement(jd,{onClick:h},l("DeleteCol")),T.createElement(hd,null),T.createElement(jd,{onClick:m},l("DeleteTable")))))))},nx=()=>{var e,t,n,r;const[o]=ht.useLexicalComposerContext(),i=vt(),[l,a]=k.useState(null),[s,u]=k.useState(!1),c=Boolean(l),d=k.useContext(Fr),f=k.useRef(null),p=k.useCallback((()=>{s||o.update((()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=xy(e.anchor.getNode());if(my(t)){const e=o.getElementByKey(t.getKey());a(e)}else a(null)}}))}),[o,s]);k.useEffect((()=>{const e=e=>{0!==e.buttons?null===f.current&&(f.current=setTimeout((()=>{u(!0),a(null)}),300)):(u(!1),clearTimeout(f.current),f.current=null)};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}}),[]),k.useEffect((()=>bt.mergeRegister(o.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(p(),!1)),yt.COMMAND_PRIORITY_EDITOR),o.registerCommand(Iy,(()=>(a(null),!0)),yt.COMMAND_PRIORITY_CRITICAL),o.registerCommand(Dy,(()=>(p(),!0)),yt.COMMAND_PRIORITY_CRITICAL))),[o,p]),k.useEffect((()=>{a(null)}),[i]);const h=k.useCallback((()=>{a(null)}),[]),m=k.useCallback((()=>{a(null),setTimeout((()=>{p()}),0)}),[p]),g=k.useCallback((()=>{clearTimeout(f.current)}),[]);return T.createElement(Mc,{open:c&&i,anchorEl:l,placement:"top-end",sx:{zIndex:1},disablePortal:!0,modifiers:[{name:"offset",options:{offset:[-6,-parseInt((null===(r=null===(n=null===(t=null===(e=d.components)||void 0===e?void 0:e.MuiButton)||void 0===t?void 0:t.styleOverrides)||void 0===n?void 0:n.sizeSmall)||void 0===r?void 0:r.height)||"24",10)]}}]},T.createElement(tx,{onDeleteAction:h,onAction:m,onClick:g}))},rx=e=>{const t=[];for(const[n,r]of e)if("created"===r){const e=yt.$getNodeByKey(n),r=null==e?void 0:e.getParent();yt.$isRootNode(r)&&null!==e&&t.push(e)}if(t.length>0){const e=yt.$createParagraphNode();t[0].insertBefore(e),e.select(),t.forEach((e=>e.remove()))}},ox=()=>{const[e]=ht.useLexicalComposerContext(),t=vt();return k.useEffect((()=>bt.mergeRegister(e.registerMutationListener(py,(t=>{e.update((()=>{rx(t)}))})),e.registerMutationListener(by,(t=>{e.update((()=>{rx(t)}))})),e.registerMutationListener(gy,(t=>{e.update((()=>{for(const[e,n]of t)if("created"===n||"updated"===n){const t=yt.$getNodeByKey(e);if(vy(t)&&!t.isValid()){const e=yt.$createParagraphNode();t.insertBefore(e),e.select(),t.remove()}}}))})),e.registerCommand(zy,(()=>(e.update((()=>{const e=(()=>{const e=["50%","50%"],t=new gy(!0,"100%"),n=new Gy(e),r=new Wy(e),o=[];for(let t=0;t<2;t++){const t=new by;for(let n=0;n<e.length;n++){const e=hy(!0),n=yt.$createParagraphNode();e.append(n),t.append(e)}o.push(t)}return t.append(n,r,...o),t})();bt.$insertNodeToNearestRoot(e)})),!0)),yt.COMMAND_PRIORITY_EDITOR),e.registerCommand(Py,(({colWidths:e,nodeKey:t})=>{const n=yt.$getNodeByKey(t);if(Ky(n)){n.setColWidths(e);const t=n.getParent(),r=null==t?void 0:t.getChildAtIndex(0);(function(e){return e instanceof Gy})(r)&&r.setColWidths(e)}return!0}),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_ENTER_COMMAND,(t=>(null==t?void 0:t.shiftKey)?(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.focus.getNode(),n=_y(t),r=Ly(t);if(vy(n)){const e=yt.$createParagraphNode();e.append(yt.$createTextNode("")),n.insertBefore(e,!1),e.select()}}})()})),!0):!!(null==t?void 0:t.ctrlKey)&&(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.focus.getNode(),n=_y(t);if(vy(n)){const e=yt.$createParagraphNode();e.append(yt.$createTextNode("")),n.insertBefore(e),n.insertAfter(e),n.selectNext()}}})()})),!0)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_BACKSPACE_COMMAND,(e=>Ry(e)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_DELETE_COMMAND,(e=>Ry(e)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_TAB_COMMAND,(e=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.focus.getNode(),{depth:r,tekCell:o}=(e=>{let t=e,n=0;for(;null!==t;){if(t=t.getParent(),my(t))return{depth:n,tekCell:t};n++}return{depth:Number.MAX_SAFE_INTEGER,tekCell:null}})(n);if(r<=1)return e.preventDefault(),((e,t)=>{const{i:n,j:r,tableNode:o,row:i}=e,l=t?1:-1;if(i&&o){const e=i.getChildAtIndex(r+l);if(e)e.getChildAtIndex(0).selectEnd();else{let e=0;t||0!==r||(e=i.getChildren().length-1);const a=o.getChildAtIndex(n+2+l);if(yy(a)){const t=null==a?void 0:a.getChildAtIndex(e);(null==t?void 0:t.getChildAtIndex(0)).selectEnd()}}}})(Ay(o),!e.shiftKey),!0}return!1}),yt.COMMAND_PRIORITY_EDITOR),e.registerCommand(yt.CUT_COMMAND,(e=>{const t=e.target,n=yt.$getSelection();if(t.classList.contains("tek__table")&&yt.$isRangeSelection(n)&&vy(n.anchor.getNode()))return e.preventDefault(),e.stopPropagation(),!0;if(yt.$isRangeSelection(n)){const t=n.getNodes().some((e=>my(e))),r=n.getNodes().some((e=>vy(e)));if(t&&!r)return e.preventDefault(),e.stopPropagation(),!0}return!1}),yt.COMMAND_PRIORITY_CRITICAL))),[e]),k.useEffect((()=>e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(t&&e.update((()=>{(e=>{const t=yt.$getSelection(),n=[];if(yt.$nodesOfType(gy).forEach((e=>{const t=My(e);n.push(...t)})),yt.$isRangeSelection(t)){t.getNodes().filter((e=>vy(e))).forEach((t=>{Oy(t,e)}));const n=t.focus.getNode();if(vy(n))return void Oy(n,e)}if(yt.$isRangeSelection(t)||yt.$isNodeSelection(t)){const r=new Set(t.getNodes().map((e=>Ly(e))));for(let t=0;t<n.length;t++){const o=e.getElementByKey(n[t].getKey());r.has(n[t])?null==o||o.classList.add("tek__tekCellHighlight"):null==o||o.classList.remove("tek__tekCellHighlight")}}})(e)}),{tag:"history-merge"}),!1)),yt.COMMAND_PRIORITY_CRITICAL)),[e,t]),k.useEffect((()=>{e.update((()=>{t||(e=>{const t=[];yt.$nodesOfType(gy).forEach((e=>{const n=My(e);t.push(...n)})),t.forEach((t=>{const n=e.getElementByKey(t.getKey());null==n||n.classList.remove("tek__tekCellHighlight")}))})(e)}))}),[t,e]),null},ix=()=>T.createElement(T.Fragment,null,T.createElement(ox,null),T.createElement(nx,null)),lx=()=>{const e=vt(),t=Hv();return e?T.createElement("div",{className:"tek__editor__placeholder"},t("EnterText")):T.createElement("div",{className:"tek__editor__logo"},T.createElement(yb,{height:32}))},ax=({showPlaceholder:e})=>T.createElement("div",{style:{position:"relative"}},T.createElement(Yv.AutoFocusPlugin,null),T.createElement(vb.RichTextPlugin,{contentEditable:T.createElement(Zv.ContentEditable,{className:"tek__editor__input"}),placeholder:!1!==e?T.createElement(lx,null):null,ErrorBoundary:ob})),sx=Za(md)((({theme:e})=>({background:e.palette.common.white,height:e.spacing(4),display:"flex",alignItems:"center",paddingInline:e.spacing(.5),overflow:"auto",scrollbarWidth:"thin",width:"fit-content","&::-webkit-scrollbar":{height:"0.2em"},"&::-webkit-scrollbar-track":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#AAA"},"&::-webkit-scrollbar-thumb:hover":{background:"#AAA"}}))),ux=["Source Sans Pro, sans-serif","American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],cx="#404040",dx="16px",fx=k.createContext({textFormat:{bold:!1,italic:!1,underline:!1},blockFormat:{blockType:"normal",fontName:ux[0],fontSize:"16px",fontColor:"#404040",align:"left",isLink:!1}}),px=({children:e})=>{const t=(()=>{const[e]=ht.useLexicalComposerContext(),[t,n]=k.useState(!1),[r,o]=k.useState(!1),[i,l]=k.useState(!1),[a,s]=k.useState("paragraph"),[u,c]=k.useState(ux[0]),[d,f]=k.useState(dx),[p,h]=k.useState(cx),[m,g]=k.useState("left"),[v,b]=k.useState(!1),y=k.useCallback((()=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const r=t.anchor.getNode();let i="root"===r.getKey()?r:bt.$findMatchingParent(r,(e=>{const t=e.getParent();return null!==t&&yt.$isRootOrShadowRoot(t)}));null===i&&(i=r.getTopLevelElementOrThrow());const a=i.getKey();let u=i;if(null!==e.getElementByKey(a))if(de.$isListNode(i)){const e=bt.$getNearestNodeOfType(r,de.ListNode),t=e?e.getListType():i.getListType();s(t)}else{const e=lt.$isHeadingNode(i)?i.getTag():i.getType();s(e)}if(de.$isListNode(i)||lt.$isHeadingNode(i)){const e=bt.$getNearestNodeOfType(i,yt.ParagraphNode);e&&(u=e)}const d=ey(t),p=d.getParent();if(te.$isLinkNode(p)||te.$isLinkNode(d)?b(!0):b(!1),yt.$isParagraphNode(u)){const e=u.getFormatType();g(""===e?"left":e)}n(t.hasFormat("bold")),o(t.hasFormat("italic")),l(t.hasFormat("underline"));const m=xt.$getSelectionStyleValueForProperty(t,"font-family",ux[0]),v=xt.$getSelectionStyleValueForProperty(t,"font-size",dx);c(""===m?ux[0]:m),f(""!==v&&v?v:dx),h(xt.$getSelectionStyleValueForProperty(t,"color",cx))}else yt.$isNodeSelection(t)&&t.getNodes().forEach((e=>{if(function(e){return e instanceof Yy}(e)){const t=e;n(t.hasStyle("fontWeight")),o(t.hasStyle("fontStyle")),l(t.hasStyle("textDecoration")),h(t.getTextFormatStyle("color",cx));const r=t.getTextFormatStyle("fontSize",dx),i=t.getTextFormatStyle("fontFamily",ux[0]);f(r),c(i);const a=t.getParent();if(null!==a){const e=(e=>{if(de.$isListItemNode(e)){const t=bt.$getNearestNodeOfType(e,de.ListNode);return t?t.getListType():e.getListType()}return lt.$isHeadingNode(e)?e.getTag():e.getType()})(a);s(e)}}}))}),[e]);return k.useEffect((()=>bt.mergeRegister(e.registerUpdateListener((({editorState:e})=>{e.read((()=>y()))})),e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(e.getEditorState().read((()=>y())),!1)),yt.COMMAND_PRIORITY_EDITOR))),[e,y]),{textFormat:{bold:t,italic:r,underline:i},blockFormat:{blockType:a,fontName:u,fontSize:d,fontColor:p,align:m,isLink:v}}})();return T.createElement(fx.Provider,{value:t},e)},hx=({children:e})=>T.createElement(px,null,T.createElement(sx,{sx:{display:{xs:"none",sm:"flex",md:"flex",lg:"flex"}},direction:"row"},e)),mx=({anchorEl:e,children:t})=>{const n=Boolean(e);return T.createElement(Mc,{open:n,anchorEl:e,placement:"bottom-start",transition:!0,sx:{zIndex:1}},(({TransitionProps:e})=>T.createElement(xd,{...e},T.createElement(ks,{className:"tekPopperMenu"},t))))},gx=Za(tu)({fontSize:12,textOverflow:"ellipsis"}),vx=({startIcon:e,value:t,onClick:n,compact:r})=>T.createElement(Zd,{title:t,PopperProps:{disablePortal:!0}},T.createElement(ld,{style:{textTransform:"none",textOverflow:"ellipsis",flexShrink:0},size:"small",variant:"text",onClick:n,startIcon:r?void 0:e,endIcon:T.createElement(Tb,{height:12})},r?e:T.createElement(gx,null,t))),bx=Za(jd,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({background:t?e.palette.grey[200]:void 0}))),yx=[{text:"AlignLeft",align:"left",icon:()=>T.createElement(Eb,{height:12})},{text:"AlignCenter",align:"center",icon:()=>T.createElement(_b,{height:12})},{text:"AlignRight",align:"right",icon:()=>T.createElement(Sb,{height:12})}],xx=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(fx),i=Hv(),l=k.useMemo((()=>yx.find((e=>e.align===o.align))||yx[0]),[o.align]),a=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),s=k.useCallback((()=>{r(null)}),[]),u=k.useCallback((e=>{r(null),t.dispatchCommand(yt.FORMAT_ELEMENT_COMMAND,e),t.focus()}),[t]);return T.createElement(sd,{onClickAway:s,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(vx,{value:i(l.text),startIcon:l.icon(),onClick:a,compact:e}),T.createElement(mx,{anchorEl:n},T.createElement(zd,{dense:!0},yx.map((e=>T.createElement(bx,{value:e.text,dense:!0,key:e.align,active:e.align===o.align,onClick:()=>u(e.align)},T.createElement(Ad,null,e.icon()),T.createElement(gx,null,i(e.text)))))))))},_x=({text:e,icon:t})=>T.createElement(T.Fragment,null,T.createElement(Ad,null,t),T.createElement(gx,null,e)),Cx=({text:e,icon:t})=>T.createElement(T.Fragment,null,T.createElement(Ad,null,T.createElement(gx,{fontWeight:"bold"},t)),T.createElement(gx,null,e)),Ex=[{text:"Heading1",icon:"H1",tag:"h1"},{text:"Heading2",icon:"H2",tag:"h2"},{text:"Heading3",icon:"H3",tag:"h3"}],wx=(e,t,n)=>({icon:T.createElement("span",{style:{fontSize:12,fontWeight:"bold"}},t),text:n(e)}),Sx=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),{blockFormat:n}=k.useContext(fx),[r,o]=k.useState(null),i=Hv(),l=k.useMemo((()=>{let e={icon:T.createElement(Ib,{height:12}),text:i("Paragraph")};return"h1"===n.blockType&&(e=wx("Heading1","H1",i)),"h2"===n.blockType&&(e=wx("Heading2","H2",i)),"h3"===n.blockType&&(e=wx("Heading3","H3",i)),"quote"===n.blockType&&(e.icon=T.createElement(Lb,{height:12}),e.text=i("Quote")),"bullet"===n.blockType&&(e.icon=T.createElement(Rb,{height:12}),e.text=i("UnorderedList")),"number"===n.blockType&&(e.icon=T.createElement(Ob,{height:12}),e.text=i("OrderedList")),e}),[n,i]),a=k.useCallback((()=>{o(null)}),[]),s=k.useCallback((e=>{t.update((()=>{const n=yt.$getSelection();yt.$isRangeSelection(n)?(xt.$patchStyleText(n,{"font-size":null}),xt.$setBlocksType(n,e)):yt.$isNodeSelection(n)&&n.getNodes().forEach((t=>{const n=t.getParent();null==n||n.replace(e(),!0)})),t.focus()}))}),[t]),u=k.useCallback(((e,n)=>{o(null),t.update((()=>{const r=yt.$getSelection();yt.$isRangeSelection(r)&&r.getNodes().forEach((r=>{const o=r.getParent();o&&o.getType()!==e&&t.dispatchCommand(n,void 0)}))})),t.focus()}),[t]),c=k.useCallback((e=>{o(null),s((()=>lt.$createHeadingNode(e)))}),[s]),d=k.useCallback((()=>{o(null),s((()=>yt.$createParagraphNode()))}),[s]),f=k.useCallback((()=>{o(null),s((()=>lt.$createQuoteNode()))}),[s]);return T.createElement(sd,{onClickAway:a,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(vx,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:l.text,startIcon:l.icon,compact:e}),T.createElement(mx,{anchorEl:r},T.createElement(zd,{dense:!0},T.createElement(jd,{dense:!0,onClick:d},T.createElement(_x,{text:i("Paragraph"),icon:T.createElement(Ib,{height:12})})),T.createElement(jd,{dense:!0,onClick:f},T.createElement(_x,{text:i("Quote"),icon:T.createElement(Lb,{height:12})})),Ex.map((e=>T.createElement(jd,{dense:!0,onClick:()=>c(e.tag),key:e.text},T.createElement(Cx,{text:i(e.text),icon:e.icon})))),T.createElement(hd,null),T.createElement(jd,{dense:!0,onClick:()=>u("bullet",de.INSERT_UNORDERED_LIST_COMMAND)},T.createElement(_x,{text:i("UnorderedList"),icon:T.createElement(Rb,{height:12})})),T.createElement(jd,{dense:!0,onClick:()=>u("number",de.INSERT_ORDERED_LIST_COMMAND)},T.createElement(_x,{text:i("OrderedList"),icon:T.createElement(Ob,{height:12})}))))))},kx=Za(ld,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({width:e.spacing(3),height:e.spacing(3),padding:0,background:t?e.palette.grey[300]:void 0}))),Tx=(e,t)=>n=>{const r=Hv();return T.createElement(Zd,{title:r(t),PopperProps:{disablePortal:!0}},T.createElement("div",null,T.createElement(e,{...n,"aria-label":r(t)})))},Nx=({format:e,icon:t,...n})=>{const r=k.useContext(fx),[o]=ht.useLexicalComposerContext(),i=k.useCallback((()=>{o.dispatchCommand(yt.FORMAT_TEXT_COMMAND,e)}),[o,e]);return T.createElement(kx,{...n,active:r.textFormat[e],onClick:i,size:"small",variant:"text"},t)},Rx=Tx(Nx,"Bold"),Ax=()=>T.createElement(Rx,{format:"bold",icon:T.createElement(zb,{height:12})}),Lx=yt.createCommand("APPLY_TEXT_FORMAT"),Mx=yt.createCommand("CLEAR_TEXT_FORMAT"),Ox=Tx(kx,"ClearFormat"),Px=()=>{const[e]=ht.useLexicalComposerContext(),t=k.useCallback((()=>{e.update((()=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const{anchor:e,focus:n}=t,r=t.getNodes();if(e.key===n.key&&e.offset===n.offset)return;r.forEach(((t,o)=>{try{if(yt.$isTextNode(t)){0===o&&0!==e.offset&&(t=t.splitText(e.offset)[1]||t),o===r.length-1&&(t=t.splitText(n.offset)[0]||t),""!==t.__style&&t.setStyle(""),0!==t.__format&&(t.setFormat(0),bt.$getNearestBlockElementAncestorOrThrow(t).setFormat(""));const i=t.getParent();(lt.$isHeadingNode(i)||lt.$isQuoteNode(i))&&i.replace(yt.$createParagraphNode(),!0)}else(lt.$isHeadingNode(t)||lt.$isQuoteNode(t))&&t.replace(yt.$createParagraphNode(),!0)}catch(e){}}))}e.dispatchCommand(Mx,void 0)}))}),[e]);return T.createElement(Ox,{onClick:t},T.createElement(Fb,{height:12}))};function Ix(e){return Ix="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ix(e)}var Dx,zx={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},$x=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,Fx=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,Bx=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,Hx=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,jx=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,Wx=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,Kx=Math.floor,Ux=Math.round,Gx=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t,n,r,o,i,l,a,s,u,c,d,f,p=0,h=0,m=0,g=1;if(this._invalid=!1,arguments[0]instanceof e)p=arguments[0]._r,h=arguments[0]._g,m=arguments[0]._b,g=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f=arguments[0]))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))g=parseFloat(Ux(d[1]/2.55)/100),p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),g=parseFloat(d[4]);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),g=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),g=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ux(255*p),h=Ux(255*h),m=Ux(255*m),g=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),g=parseFloat(d[7]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ux(255*p),h=Ux(255*h),m=Ux(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),i=parseFloat(d[5]),a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(i=(i/=100)<0?0:i>1?1:i)*(n=(n/=100)<0?0:n>1?1:n))*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=i-l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ux(255*p),h=Ux(255*h),m=Ux(255*m),g=1}else zx[f.toLowerCase()]?(r=f.toLowerCase(),p=zx[r].r,h=zx[r].g,m=zx[r].b,g="number"==typeof zx[r].a?zx[r].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(g=(4278190080&arguments[0])>>>24,g/=255,p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(p=arguments[0],h=arguments[1],m=arguments[2],g=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+g)&&(this._invalid=!0),this._r=Kx(p),this._g=Kx(h),this._b=Kx(m),this._a=g,this._spaces={}}var t,n;return t=e,(n=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=e.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=e.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(t){return this._spaces.hsl||(this._spaces.hsl=e.toHSL(this,t)),this._spaces.hsl}},{key:"toHSLA",value:function(t){return this._spaces.hsla||(this._spaces.hsla=e.toHSLA(this,t)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=e.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=e.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(t){return t instanceof e||(t=new e(t)),this._r===t._r&&this._g===t._g&&this._b===t._b}},{key:"blend",value:function(e,t){var n=Kx(this._r+(e._r-this._r)*t),r=Kx(this._g+(e._g-this._g)*t),o=Kx(this._b+(e._b-this._b)*t),i=Kx(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(t){(void 0===t||Number.isNaN(+t))&&(t=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new e(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*t))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==Ix(o=function(e){if("object"!=Ix(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ix(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Gx.toRGB=function(e){if(e instanceof Gx)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=Gx.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},Gx.toRGBA=function(e,t){if(e instanceof Gx)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=Gx.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},Gx.toHex=function(e){var t,n,r;return e instanceof Gx?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=Gx.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},Gx.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new Gx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=Math.max(l,a,s),c=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(u+c)/2,u===c)n=0,i=0;else{switch(o=u-c,n=r>.5?o/(2-u-c):o/(u+c),u){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},Gx.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new Gx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=e._a,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(u,")")},Gx.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new Gx(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),u=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/u,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}},Gx.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof Gx)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},Gx.blend=function(e,t,n){var r=(16711680&(e=Gx.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=Gx.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},Gx.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new Gx(r,o,i,l)},Gx.isCSSColor=function(e){return!(arguments.length>1||"string"!=typeof e)&&($x.test(e)||Fx.test(e)||Bx.test(e)||Hx.test(e)||jx.test(e)||Wx.test(e)||zx[e.toLowerCase()])},Gx.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},Gx.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},Gx.isDark=function(){var e={getLuminance:Gx.prototype.getLuminance,isInvalid:Gx.prototype.isInvalid};return Gx.prototype.init.apply(e,[].slice.call(arguments)),Gx.prototype.isDark.call(e)},Gx.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},Dx=Gx;const Yx=Za(md)((({theme:e})=>({display:"flex",flex:4,flexDirection:"row",flexWrap:"wrap",backgroundColor:e.palette.background.default,borderRadius:"4px",padding:e.spacing(.5),alignItems:"center",justifyContent:"space-around"}))),Vx=Za(qc)((({theme:e})=>({display:"flex",width:e.spacing(3.8),height:e.spacing(3.8),borderRadius:"4px",margin:e.spacing(.1),borderWidth:"1px",borderColor:e.palette.grey[500],borderStyle:"solid",justifyContent:"center",alignItems:"center"}))),Qx=({palette:e,color:t,onColorChange:n})=>{const[r,o]=k.useState(t),i=$a(),l=k.useCallback((e=>{o(e),n(e)}),[n]);return T.createElement(Yx,null,e.map((e=>T.createElement(Vx,{style:{backgroundColor:e},key:e,onClick:t=>{t.preventDefault(),t.stopPropagation(),l(e)}},e===r?T.createElement(rf,{height:12,color:i.palette.getContrastText(e)}):null))))};function qx(e,t,n){return Math.max(t,Math.min(n,e))}const Xx=(e,t)=>{const n=new Dx(e).toHSVComponents(),r=window.getComputedStyle(t),o=parseInt(r.width,10),i=parseInt(r.height,10);return{left:o*(n.s/100)+"px",top:i*((100-n.v)/100)+"px"}},Jx=(e,t)=>{const{left:n,top:r,width:o,height:i}=e.currentTarget.getBoundingClientRect(),l=qx(e.clientX-n,0,o)/o*100,a=100-qx(e.clientY-r,0,i)/i*100,s=new Dx(t).toHSVComponents();return s.s=l,s.v=a,s},Zx=Za(md)((({theme:e})=>({width:e.spacing(32),height:e.spacing(24),padding:e.spacing(1),display:"flex",flexDirection:"column"}))),e_=Za(qc)({flex:4,backgroundImage:"linear-gradient(transparent, black), linear-gradient(to right, white, transparent)",position:"relative",cursor:"crosshair",borderRadius:"4px"}),t_=Za(qc)((({theme:e})=>({flex:.5,marginTop:e.spacing(.5),marginBottom:e.spacing(.5),borderRadius:"4px",cursor:"crosshair",position:"relative",backgroundImage:"linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000 );"}))),n_=Za(qc)({width:"16px",height:"16px",borderRadius:"2px"}),r_=Za(md)({flexDirection:"row",alignItems:"center"}),o_=Za(qc)({position:"absolute",width:"8px",height:"8px",backgroundColor:"black",left:0,top:0,borderRadius:"16px",border:"1px solid white",cursor:"pointer",transform:"translate(-50%, -50%)"}),i_=({onClick:e,onClose:t,startColor:n,palette:r})=>{const[o,i]=k.useState(n),l=k.useRef(n),[a,s]=k.useState(!0),[u,c]=k.useState(o),d=k.useRef(null),f=k.useRef(null),p=k.useRef({left:0,top:0,on:!1,clientX:0,clientY:0}),[h,m]=k.useState({left:"0",top:"0"});k.useEffect((()=>{r.some((e=>e===n))||s(!1)}),[n,r]);const g=k.useCallback((e=>{if(!d.current&&(d.current=e,e)){const t=Xx(o,e);m(t)}}),[o]),v=k.useMemo((()=>`hsl(${new Dx(o).toHSVComponents().h}, 100%, 50%)`),[o]),b=k.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=Jx(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new Dx(r);if(l.current=o.toHex(),f.current&&d.current){const e=d.current.getBoundingClientRect(),n=t.clientX-e.left,r=t.clientY-e.top;f.current.style.left=`${n}px`,f.current.style.top=`${r}px`}e(l.current),c(l.current),i(l.current)}),[e]),y=k.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=((e,t)=>{const{width:n,left:r}=e.target.getBoundingClientRect(),o=qx(e.clientX-r,0,n),i=Math.round(o/n*360),l=o/n*100,a=new Dx(t).toHSVComponents();return a.h=i,a.s=l,a})(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new Dx(r);l.current=o.toHex(),e(l.current),c(l.current),i(l.current)}),[e]),x=k.useCallback((t=>{l.current=t,e(l.current),i(l.current),c(t)}),[e]),_=k.useCallback((t=>{if(c(t.target.value),!new Dx(t.target.value).isInvalid()&&(l.current=t.target.value,i(t.target.value),t.target.value.startsWith("#")&&7===t.target.value.length?e(l.current,{tag:"collaboration"}):t.target.value.startsWith("#")||e(l.current,{tag:"collaboration"}),d.current)){const e=Xx(l.current,d.current);m(e)}}),[e]);return T.createElement(Zx,null,a?T.createElement(Qx,{palette:r,color:o,onColorChange:x}):T.createElement(T.Fragment,null,T.createElement(e_,{style:{backgroundColor:v},ref:g,onMouseDown:e=>{if(e.preventDefault(),e.stopPropagation(),f.current&&e.target===f.current){const{left:t,top:n}=f.current.style,r=parseInt(t||"0",10),o=parseInt(n||"0",10);f.current.style.cursor="pointer",d.current&&(d.current.style.cursor="pointer"),p.current={left:r,top:o,on:!0,clientX:e.clientX,clientY:e.clientY}}},onMouseMove:e=>{if(e.preventDefault(),e.stopPropagation(),p.current.on&&f.current&&d.current){const t=e.clientX-p.current.clientX,n=e.clientY-p.current.clientY,r=p.current.left+t,o=p.current.top+n,a=Jx(e,l.current),s=`hsv(${a.h},${a.s},${a.v})`,u=new Dx(s).toHex();f.current.style.left=`${r}px`,f.current.style.top=`${o}px`,f.current.style.backgroundColor=u,l.current=u,c(l.current),i(u)}},onMouseUp:t=>{t.preventDefault(),t.stopPropagation(),p.current.on?e(l.current):b(t),d.current&&(d.current.style.cursor="crosshair"),f.current&&(f.current.style.cursor="pointer"),p.current.on=!1}},T.createElement(o_,{ref:f,style:{...h,backgroundColor:o}})),T.createElement(t_,{onClick:y})),T.createElement(r_,null,T.createElement(n_,{style:{backgroundColor:o}}),T.createElement(Yc,{style:{flex:1},value:u,onChange:_}),T.createElement(Qs,{onClick:()=>s(!a)},T.createElement(Hb,{height:12})),T.createElement(Qs,{onClick:t},T.createElement(rf,{height:12}))))},l_=["#404040","#ffffff","#99CFCD","#83AF9B","#C4CFDA","#10CFC9","#006580","#87205D","#8A85C6","#A16090","#AC4D58","#E0BD8D","#E1DAD5","#b0afae","#7b7a78","#000000","#C8C7A9"],a_=Tx(ld,"Color"),s_=({colorPalette:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(fx),i=k.useCallback(((e,n)=>{t.update((()=>{const t=yt.$getSelection();yt.$isRangeSelection(t)&&xt.$patchStyleText(t,{color:e})}),n),t.dispatchCommand(Lx,{styleKey:"color",styleValue:e})}),[t]),l=()=>{r(null)};return T.createElement(sd,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(a_,{variant:"text",size:"small",endIcon:T.createElement(Tb,{height:12}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}},T.createElement(qc,{sx:{backgroundColor:o.fontColor,width:12,height:12}})),T.createElement(mx,{anchorEl:n},T.createElement(i_,{onClick:i,onClose:l,startColor:o.fontColor,palette:e||l_}))))},u_=({compact:e,fonts:t})=>{const[n]=ht.useLexicalComposerContext(),[r,o]=k.useState(null),{blockFormat:i}=k.useContext(fx),l=k.useMemo((()=>t||ux),[t]),a=k.useCallback((e=>{o(null);const{fontName:t}=e.currentTarget.dataset;n.update((()=>{const e=yt.$getSelection();yt.$isRangeSelection(e)&&xt.$patchStyleText(e,{"font-family":t||ux[0]}),n.dispatchCommand(Lx,{styleKey:"fontFamily",styleValue:t||ux[0]}),n.focus()}))}),[n]);return T.createElement(sd,{onClickAway:()=>{o(null)},mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(vx,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:i.fontName,startIcon:T.createElement("span",{style:{fontFamily:"Times New Roman, serif",fontSize:16,fontWeight:"lighter"}},"T"),compact:e}),T.createElement(mx,{anchorEl:r},T.createElement(zd,{dense:!0,style:{maxHeight:200,overflow:"auto"}},l.map((e=>T.createElement(bx,{"data-font-name":e,key:e,onClick:a,active:e===i.fontName},T.createElement(gx,null,e))))))))},c_=e=>parseInt(e,10),d_=({fontSize:e,onSelected:t})=>{const[n,r]=k.useState(""),o=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(e.target.value)}),[]),i=k.useCallback((()=>{const e=c_(n);e&&t(`${e}px`)}),[t,n]),l=k.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),i())}),[i]);return T.createElement(md,{direction:"row"},T.createElement(Yc,{value:n,sx:{ml:1,flex:1},placeholder:e,onChange:o,onKeyDown:l}),T.createElement(Qs,{disabled:!c_(n),onClick:i},T.createElement(rf,{height:12})))},f_=["8px","9px","10px","11px","12px","14px","16px","20px","24px","32px"],p_=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(fx),i=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),l=k.useCallback((()=>{r(null)}),[]),a=k.useCallback((e=>{r(null),e.length>0&&t.update((()=>{const n=yt.$getSelection();yt.$isRangeSelection(n)&&xt.$patchStyleText(n,{"font-size":e}),t.dispatchCommand(Lx,{styleKey:"fontSize",styleValue:`${e}`})}))}),[t]),s=k.useCallback((e=>{const{fontSize:t}=e.currentTarget.dataset;a(t||"16px")}),[a]),u=k.useCallback((e=>{a(e)}),[a]);return T.createElement(sd,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},T.createElement("div",null,T.createElement(vx,{startIcon:e?T.createElement(gx,null,o.fontSize):void 0,value:o.fontSize,onClick:i,compact:e}),T.createElement(mx,{anchorEl:n},T.createElement(d_,{fontSize:o.fontSize,onSelected:u}),T.createElement(hd,null),T.createElement(zd,{dense:!0,style:{maxHeight:200,overflow:"auto"}},f_.map((e=>T.createElement(jd,{"data-font-size":e,key:e,onClick:s},T.createElement(gx,null,e))))))))},h_=Tx(kx,"InsertTable"),m_=()=>{const[e]=ht.useLexicalComposerContext(),t=k.useCallback((()=>{e.dispatchCommand(zy,void 0)}),[e]);return T.createElement(h_,{onClick:t},T.createElement(Wb,{height:12}))},g_=Tx(Nx,"Italic"),v_=()=>T.createElement(g_,{format:"italic",icon:T.createElement(Ub,{height:12})}),b_=Tx(kx,"InsertHyperlink"),y_=()=>{const[e]=ht.useLexicalComposerContext(),{blockFormat:t}=k.useContext(fx),n=k.useCallback((()=>{t.isLink?e.dispatchCommand(te.TOGGLE_LINK_COMMAND,null):e.dispatchCommand(te.TOGGLE_LINK_COMMAND,ry("https://"))}),[e,t.isLink]);return T.createElement(b_,{onClick:n},T.createElement(Yb,{height:12}))},x_=Tx(Nx,"Underline"),__=()=>T.createElement(x_,{format:"underline",icon:T.createElement(Qb,{height:12})}),C_=()=>T.createElement(hd,{flexItem:!0,orientation:"vertical",sx:{mx:.5,my:1}});var E_={AddNewColumn:{value:"Spalte hinzufügen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Zeile hinzufügen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Zentrieren",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Linksbündig",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechtsbündig",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fett",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textausrichtung",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Schriftgröße",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Format löschen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Schriftfarbe",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Spalte löschen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Zeile löschen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabelle löschen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geben Sie Text ein...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Überschrift 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Überschrift 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Überschrift 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Link einfügen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Großer Text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link zu",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Mittlerer Text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sortierte Liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Absatz",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Listenstil",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Kleiner Text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Rahmen wechseln",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-Link",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Unterstreichen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Unsortierte Liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},w_={AlignLeft:{value:"Align left",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)"},AlignCenter:{value:"Align center",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)"},AlignRight:{value:"Align right",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)"},SmallText:{value:"Small text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)"},MediumText:{value:"Medium text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)"},LargeText:{value:"Large text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)"},UnorderedList:{value:"Unordered list",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)"},OrderedList:{value:"Ordered list",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)"},ChangeTextSize:{value:"Text size",comment:"Change text size in toolbar menu label. (dfk 221011)"},BoldText:{value:"Bold",comment:"Bold text label in toolbar menu label. (dfk 221011)"},ItalicizeText:{value:"Italic",comment:"Italicize text label in toolbar menu label. (dfk 221011)"},UnderlineText:{value:"Underline",comment:"Underline text label in toolbar menu label. (dfk 221011)"},ChangeTextAlignment:{value:"Text alignment",comment:"Change text alignment label in toolbar menu label. (dfk 221011)"},SetTextListStyle:{value:"List style",comment:"Set text list style label in toolbar menu label. (dfk 221011)"},InsertHyperlink:{value:"Insert link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)"},LinkTo:{value:"Link to",comment:"Generic link label. (dfk 221011)"},URLLink:{value:"URL link",comment:"URL link label. (dfk 221011)"},Paragraph:{value:"Paragraph",comment:"Paragraph format for the text"},Heading1:{value:"Heading 1",comment:"HTML Header 1 format for the text"},Heading2:{value:"Heading 2",comment:"HTML Header 2 format for the text"},Heading3:{value:"Heading 3",comment:"HTML Header 2 format for the text"},Color:{value:"Font color",comment:"Button label for color picker"},ToggleBorders:{value:"Toggle borders",comment:"Menu option to toggle table borders"},AddNewRow:{value:"Add row",comment:"Menu option to add row to table"},AddNewColumn:{value:"Add column",comment:"Menu option to add column to table"},DeleteRow:{value:"Delete row",comment:"Menu option to delete row to table"},DeleteCol:{value:"Delete column",comment:"Menu option to delete column to table"},DeleteTable:{value:"Delete table",comment:"Menu option to delete table"},ClearFormat:{value:"Clear format",comment:"Clear the selected text format"},EnterText:{value:"Enter some text...",comment:"Prompt to user when the text object is empty"}},S_={AddNewColumn:{value:"Añadir columna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Añadir fila",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinear centrado",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinear a la izquierda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinear a la derecha",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrita",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alineación de texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamaño de texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Borrar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Color de fuente",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Eliminar columna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Eliminar fila",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Eliminar tabla",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Escriba algún texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabecera 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabecera 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabecera 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insertar enlace",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursiva",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Enlazar a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto mediano",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Párrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo de lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeño",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Ajustar bordes",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Enlace URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Subrayado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista no ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},k_={AddNewColumn:{value:"Ajouter une colonne",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Ajouter une ligne",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrer",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Aligner à gauche",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Aligner à droite",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Gras",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alignement du texte",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Taille du texte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Effacer le format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Couleur de police",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Supprimer une colonne",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Supprimer une ligne",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Supprimer la table",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Saisissez un texte...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"En-tête 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"En-tête 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"En-tête 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insérer un lien",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Italique",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texte de grande taille",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Lien vers",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texte de taille moyenne",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Liste triée",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraphe",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Style de liste",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texte de petite taille",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Basculer les bords",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Lien URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Souligner",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Liste non triée",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},T_={AddNewColumn:{value:"Aggiungi colonna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Aggiungi riga",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Allinea al centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Allinea a sinistra",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Allinea a destra",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Grassetto",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Allineamento testo",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Dimensione testo",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Cancella formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Colore carattere",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Elimina colonna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Elimina riga",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Elimina tabella",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Inserisci del testo...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Intestazione 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Intestazione 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Intestazione 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserisci collegamento",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Corsivo",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Testo grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Collega a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Testo medio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Elenco ordinato",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Stile elenco",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Testo piccolo",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Attiva/Disattiva bordi",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Collegamento URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sottolineato",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Elenco non ordinato",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},N_={AddNewColumn:{value:"列を追加",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"行を追加",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"中央揃え",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"左揃え",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"右揃え",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"太字",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"テキストの配置",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"テキスト サイズ",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"書式をクリア",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"フォントの色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"列を削除",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"行を削除",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"テーブルを削除",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"テキストを入力してください...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"見出し 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"見出し 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"見出し 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"リンクを挿入",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"テキスト大",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"リンク先",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"テキスト中",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"順序付きリスト",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"リスト スタイル",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"テキスト小",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"境界線の切り替え",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL リンク",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"順序なしリスト",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},R_={AddNewColumn:{value:"열 추가",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"행 추가",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"중앙 맞춤",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"왼쪽 맞춤",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"오른쪽 맞춤",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"굵게",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"텍스트 맞춤",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"텍스트 크기",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"형식 지우기",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"글꼴 색",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"열 삭제",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"행 삭제",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"테이블 삭제",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"텍스트 입력...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"머리글 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"머리글 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"머리글 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"링크 삽입",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"기울임꼴",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"큰 텍스트",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"연결 대상",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"중간 텍스트",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"순서가 지정된 목록",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"단락",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"목록 스타일",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"작은 텍스트",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"테두리 설정/해제",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 링크",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"밑줄",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"순서가 지정되지 않은 목록",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},A_={AddNewColumn:{value:"Kolom toevoegen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Rij toevoegen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Op midden uitlijnen",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Links uitlijnen",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechts uitlijnen",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Vet",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Tekstuitlijning",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tekstgrootte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Opmaak wissen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Tekstkleur",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Kolom verwijderen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Rij verwijderen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabel verwijderen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geef tekst op...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Koptekst 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Koptekst 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Koptekst 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Koppeling invoegen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursief",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Tekst groot",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Koppelen met",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Tekst medium",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Geordende lijst",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Alinea",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Lijststijl",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Tekst klein",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Randen in-/uitschakelen",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-koppeling",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Onderstrepen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Ongeordende lijst",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},L_={AddNewColumn:{value:"Dodaj kolumnę",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Dodaj wiersz",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Wyrównaj do środka",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Wyrównaj do lewej",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Wyrównaj do prawej",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Pogrubienie",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Wyrównanie tekstu",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Wielkość tekstu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Wyczyść format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Kolor czcionki",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Usuń kolumnę",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Usuń wiersz",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Usuń tabelę",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Wprowadź tekst...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Nagłówek 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Nagłówek 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Nagłówek 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Wstaw łącze",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursywa",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Duży tekst",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Łącze do:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Średni tekst",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista uporządkowana",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Akapit",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Styl listy",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Mały tekst",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Przełącz obramowania",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Łącze URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Podkreślenie",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista nieuporządkowana",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},M_={AddNewColumn:{value:"Adicionar coluna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Adicionar linha",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinhar centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinhar à esquerda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinhar à direita",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrito",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alinhamento do texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamanho do texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Limpar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Cor da fonte",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Excluir coluna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Excluir linha",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Excluir tabela",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Digite algum texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabeçalho 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabeçallho 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabeçalho 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserir link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Itálico",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link para",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto médio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Parágrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo em lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeno",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Alternar bordas",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Link da URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sublinhado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista não ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},O_={AddNewColumn:{value:"Добавить столбец",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Добавить строку",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Выровнять по центру",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Выровнять по левой стороне",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Выровнять по правой стороне",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Полужирный",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Выравнивание текста",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Размер текста",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Очистить формат",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Цвет шрифта",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Удалить столбец",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Удалить строку",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Удалить таблицу",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Введите текст...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Заголовок 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Заголовок 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Заголовок 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Вставить ссылку",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Курсив",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Крупный текст",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Ссылка на",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Средний текст",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Упорядоченный список",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Абзац",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Стиль списка",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Мелкий текст",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Переключить границы",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-ссылка",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Подчеркивание",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Неупорядоченный список",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},P_={AddNewColumn:{value:"Lägg till kolumn",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Lägg till rad",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrera",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Vänsterjustera",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Högerjustera",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fetstil",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textjustering",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Textstorlek",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Rensa format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Teckenfärg",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Ta bort kolumn",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Ta bort rad",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Ta bort tabell",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Skriv in text...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Rubrik 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Rubrik 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Rubrik 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Infoga länk",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Stor text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Länka till",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Medelstor text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sorterad lista",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Stycke",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Som lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Liten text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kantlinjer på/av",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-länk",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Understrykning",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Osorterad lista",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},I_={AddNewColumn:{value:"Sütun ekle",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Satır ekle",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Ortaya hizala",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Sola hizala",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Sağa hizala",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Kalın",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Metin hizalaması",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Metin boyutu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Biçimi temizle",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Yazı tipi rengi",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Sütun sil",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Satır sil",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabloyu sil",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Metin girin...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Başlık 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Başlık 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Başlık 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Bağlantı ekle",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"İtalik",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Büyük metin",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Bağlantı:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Orta boy metin",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sıralı liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraf",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Liste stili",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Küçük metin",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kenarlıkları değiştir",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL bağlantısı",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Altını çiz",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Sırasız liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}};const D_={de:E_,es:S_,en:w_,fr:k_,it:T_,ja:N_,ko:R_,nl:A_,pl:L_,pt:M_,ru:O_,sv:P_,tr:I_,"de-de":E_,"es-es":S_,"en-us":w_,"fr-fr":k_,"it-it":T_,"ja-jp":N_,"ko-kr":R_,"nl-nl":A_,"pl-pl":L_,"pt-br":M_,"ru-ru":O_,"sv-se":P_,"tr-tr":I_,"zh-cn":{AddNewColumn:{value:"添加列",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"添加行",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"居中对齐",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左对齐",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右对齐",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"加粗",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文本对齐",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文本大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字体颜色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"删除列",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"删除行",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"删除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"输入一些文本...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"标题 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"标题 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"标题 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入链接",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文本",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"链接到",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文本",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"有序列表",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"列表样式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文本",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切换边框",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 链接",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下划线",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"无序列表",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},"zh-tw":{AddNewColumn:{value:"新增欄",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"新增列",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"置中對齊",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左對齊",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右對齊",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"粗體",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文字對齊方式",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文字大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字型色彩",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"刪除欄",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"刪除列",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"刪除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"輸入一些文字...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"標頭 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"標頭 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"標頭 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入連結",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜體字",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文字",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"連結至",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文字",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"排序清單",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"清單樣式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文字",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切換框線",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 連結",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"底線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"未排序清單",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}}};function z_(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $_,F_,B_,H_={};var j_,W_=function(){if(B_)return F_;B_=1;const e=function(){if($_)return H_;$_=1;var e=me(),t=Y(),n=h();function r(e,n){return e.getEditorState().read((()=>{let e=t.$getNodeByKey(n);return null!==e&&e.isSelected()}))}return H_.useLexicalNodeSelection=function(o){let[i]=e.useLexicalComposerContext(),[l,a]=n.useState((()=>r(i,o)));n.useEffect((()=>{let e=!0,t=i.registerUpdateListener((()=>{e&&a(r(i,o))}));return()=>{e=!1,t()}}),[i,o]);let s=n.useCallback((e=>{i.update((()=>{let n=t.$getSelection();t.$isNodeSelection(n)||(n=t.$createNodeSelection(),t.$setSelection(n)),e?n.add(o):n.delete(o)}))}),[i,o]),u=n.useCallback((()=>{i.update((()=>{const e=t.$getSelection();t.$isNodeSelection(e)&&e.clear()}))}),[i]);return[l,s,u]},H_}();return F_=e}(),K_={};var U_=function(){if(j_)return K_;j_=1;var e={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,n=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,r=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,o=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,i=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,l=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,a=Math.floor,s=Math.round,u=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r,o,i,l,u,c,d,f,p,h,m,g=0,v=0,b=0,y=1;if(this._invalid=!1,arguments[0]instanceof t)g=arguments[0]._r,v=arguments[0]._g,b=arguments[0]._b,y=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(h=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m=arguments[0]))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10);else if(h=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m))y=parseFloat(s(h[1]/2.55)/100),g=parseInt(h[2],10),v=parseInt(h[3],10),b=parseInt(h[4],10);else if(h=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(m))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10),y=parseFloat(h[4]);else if(h=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(m))g=parseInt(h[1],16),v=parseInt(h[2],16),b=parseInt(h[3],16),y=1;else if(h=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(m))g=parseInt(h[1]+h[1],16),v=parseInt(h[2]+h[2],16),b=parseInt(h[3]+h[3],16),y=1;else if(h=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else if(h=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),y=parseFloat(h[7]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b)}else if(h=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),l=parseFloat(h[5]),c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(l=(l/=100)<0?0:l>1?1:l)*(r=(r/=100)<0?0:r>1?1:r))*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=l-u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else e[m.toLowerCase()]?(o=m.toLowerCase(),g=e[o].r,v=e[o].g,b=e[o].b,y="number"==typeof e[o].a?e[o].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(y=(4278190080&arguments[0])>>>24,y/=255,g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(g=arguments[0],v=arguments[1],b=arguments[2],y=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+g+v+b+y)&&(this._invalid=!0),this._r=a(g),this._g=a(v),this._b=a(b),this._a=y,this._spaces={}}var n,r;return n=t,(r=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=t.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=t.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(e){return this._spaces.hsl||(this._spaces.hsl=t.toHSL(this,e)),this._spaces.hsl}},{key:"toHSLA",value:function(e){return this._spaces.hsla||(this._spaces.hsla=t.toHSLA(this,e)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=t.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=t.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(e){return e instanceof t||(e=new t(e)),this._r===e._r&&this._g===e._g&&this._b===e._b}},{key:"blend",value:function(e,t){var n=a(this._r+(e._r-this._r)*t),r=a(this._g+(e._g-this._g)*t),o=a(this._b+(e._b-this._b)*t),i=a(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(e){(void 0===e||Number.isNaN(+e))&&(e=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new t(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key,"string"))?o:String(o),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return u.toRGB=function(e){if(e instanceof u)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},u.toRGBA=function(e,t){if(e instanceof u)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},u.toHex=function(e){var t,n,r;return e instanceof u?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=u.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},u.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},u.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=e._a,d=Math.max(l,a,s),f=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(d+f)/2,d===f)n=0,i=0;else{switch(o=d-f,n=r>.5?o/(2-d-f):o/(d+f),d){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(c,")")},u.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new u(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),c=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/c,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}},u.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof u)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},u.blend=function(e,t,n){var r=(16711680&(e=u.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=u.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},u.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new u(r,o,i,l)},u.isCSSColor=function(a){return!(arguments.length>1||"string"!=typeof a)&&(t.test(a)||n.test(a)||r.test(a)||o.test(a)||i.test(a)||l.test(a)||e[a.toLowerCase()])},u.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},u.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},u.isDark=function(){var e={getLuminance:u.prototype.getLuminance,isInvalid:u.prototype.isInvalid};return u.prototype.init.apply(e,[].slice.call(arguments)),u.prototype.isDark.call(e)},u.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},K_.Color=u,K_}();async function G_(e,t){!async function(e,t){try{if(e&&t){const n=t(await e.getProperties());await e.setProperties(n)}}catch(e){console.error(e)}}(e,(e=>{const{qHyperCubeDef:n}=e;if(n){var r;const e=null===(r=n.qMeasures)||void 0===r?void 0:r.filter((e=>!(null==t?void 0:t.find((t=>{var n;return t===(null==e||null===(n=e.qDef)||void 0===n?void 0:n.cId)})))));n.qMeasures=e,n.qInterColumnSortOrder=[]}return{...e,qHyperCubeDef:n}}))}function Y_(e){return{fontWeight:e.fontWeight,fontStyle:e.fontStyle,textDecoration:e.textDecoration,color:e.color,fontSize:e.fontSize,fontFamily:e.fontFamily}}function V_(e,t){return null==t?void 0:t.getNodes().some((t=>t.getKey()===e))}var Q_,q_;var X_=function(){if(q_)return Q_;q_=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},Q_=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,l,a;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];for(o=(a=r.slice()).length,l=0;l<o;l++)a[l].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,l;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(l=i;l-- >0;)if(r[l]===n||r[l].listener&&r[l].listener===n){o=l;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},Q_}();let J_=[];const Z_=new X_.EventEmitter;Z_.isSelected=e=>{var t;const n=null==e||null===(t=e.qDef)||void 0===t?void 0:t.cId;return-1!==J_.indexOf(n)},Z_.setSelected=e=>{J_!==e&&(J_=e,Z_.emit("change"))};function eC({cId:e,initStyle:t,nodeKey:n}){const{layout:r,theme:o,flags:i}=k.useContext(R),[l]=ht.useLexicalComposerContext(),a=vt(),[s,u,c]=W_.useLexicalNodeSelection(n),d=k.useRef(null),[f,p]=k.useState(t);k.useEffect((()=>{p(t)}),[t]);const h=k.useMemo((()=>{let e;return s?e="rgba(0, 152, 69, 0.25)":a&&(e="rgba(0, 0, 0, 0.075)"),{backgroundColor:e}}),[s,a]),m=k.useMemo((()=>r&&o?function(e,t){const{qHyperCube:n}=t;if(n){var r;const t=null===(r=n.qMeasureInfo)||void 0===r?void 0:r.findIndex((t=>t.cId===e));if(void 0!==t&&-1!==t){var o,i;const e=null==n||null===(o=n.qDataPages)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.qMatrix)||void 0===o?void 0:o[0][t];if(1===(null==e||null===(i=e.qAttrExps)||void 0===i||null===(i=i.qValues)||void 0===i?void 0:i.length)){var l;const t=null===(l=e.qAttrExps.qValues[0])||void 0===l?void 0:l.qText;if(t){const n=new U_.Color(t);return{value:(null==e?void 0:e.qText)||"",expressionColor:n.toHex()}}}return{value:(null==e?void 0:e.qText)||""}}}return{value:""}}(e,r):{value:""}),[r]);k.useEffect((()=>bt.mergeRegister(l.registerCommand(yt.FORMAT_TEXT_COMMAND,(e=>(l.update((()=>{const t=e,r=yt.$getSelection();if(yt.$isRangeSelection(r)&&s){if(V_(n,r)){const e=((e,t)=>{const n={};switch(e){case"bold":n.fontWeight=t;break;case"italic":n.fontStyle=t;break;case"underline":n.textDecoration=t}return n})(t,r.hasFormat(t)?t:"");p((t=>({...t,...e})))}}else if(s&&yt.$isNodeSelection(r)&&V_(n,r)&&d.current){const e=Y_(d.current.style);p(((e,t)=>{const n={};switch(e){case"bold":t.fontWeight?"bold"===t.fontWeight&&(n.fontWeight=""):n.fontWeight="bold";break;case"italic":n.fontStyle="italic"===t.fontStyle?"":"italic";break;case"underline":n.textDecoration="underline"===t.textDecoration?"":"underline"}return{...t,...n}})(t,e))}})),!1)),yt.COMMAND_PRIORITY_HIGH),l.registerCommand(Lx,(e=>(l.getEditorState().read((()=>{if("color"===e.styleKey&&m.expressionColor)return!1;if(d.current&&s){const r=yt.$getSelection();if(V_(n,r)){var t;const n=Y_(null===(t=d.current)||void 0===t?void 0:t.style);n[e.styleKey]=e.styleValue,p(n)}}})),!1)),yt.COMMAND_PRIORITY_EDITOR),l.registerCommand(Mx,(()=>(l.getEditorState().read((()=>{if(d.current&&s){const e=yt.$getSelection();if(V_(n,e)){const e={};m.expressionColor&&(e.color=m.expressionColor),p(e)}}})),!1)),yt.COMMAND_PRIORITY_EDITOR),l.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&l.update((()=>{const e=[],t=yt.$getSelection(),n=null==t?void 0:t.getNodes();null==n||n.forEach((t=>{null!=t&&t.getExpressionId&&e.push(null==t?void 0:t.getExpressionId())})),Z_.setSelected(e)})),!1)),yt.COMMAND_PRIORITY_LOW))),[l,u,c,s,n,m]),k.useEffect((()=>{a||(c(),null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&Z_.setSelected([]))}),[a,c]),k.useEffect((()=>{l.update((()=>{!function(e,t){const n=yt.$getNodeByKey(e);var r;n&&(null===(r=n.setFormatStyle)||void 0===r||r.call(n,t))}(n,f)}))}),[f,l]);const g=k.useCallback((e=>{if(a){const t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left;r>3?(e.preventDefault(),e.stopPropagation(),c(),u(!0)):r<t.width&&l.update((()=>{const e=yt.$getSelection();if(yt.$isNodeSelection(e)){const t=yt.$getNodeByKey(n);null==t||t.selectPrevious(),e.delete(n)}}))}}),[c,a,l]);return T.createElement("span",{style:{...h,...f,color:m.expressionColor?m.expressionColor:f.color},onClick:g,ref:d,id:e},m.value)}const tC="qlik.expression.node";class nC extends Yy{static getType(){return tC}static clone(e){return new nC(e.__expressionId,e.__formatStyle,e.__key)}static importJSON(e){const t=function(e,t){return new nC(e,t)}(e.expressionId,e.formatStyle);return t}getExpressionId(){return this.__expressionId}exportJSON(){return{expressionId:this.getExpressionId(),formatStyle:this.__formatStyle,type:tC,version:1}}setExported(){this.getWritable().__exported=!0}constructor(e,t,n){super(t,n),z_(this,"__expressionId",void 0),this.__expressionId=e}createDOM(){return document.createElement("span")}exportDOM(e){return super.exportDOM(e)}updateDOM(){return!1}decorate(){return T.createElement(eC,{cId:this.__expressionId,initStyle:this.__formatStyle,nodeKey:this.__key})}isInline(){return!0}isKeyboardSelectable(){return!0}}function rC(e){return e instanceof nC}function oC(){const[e]=ht.useLexicalComposerContext(),t=vt(),{edit:n,model:r,emitter:o}=k.useContext(R);return k.useEffect((()=>{const t=()=>{r&&async function(e,t){try{const n=await t.getProperties();n.text=JSON.stringify(e),await t.setProperties(n)}catch(e){console.error(e)}}(e.getEditorState().toJSON(),r)},n=t=>{const n=e.parseEditorState(t);t!==JSON.stringify(e.getEditorState().toJSON())&&e.setEditorState(n)};return null==o||o.on("saveDocument",t),null==o||o.on("reloadData",n),()=>{null==o||o.removeListener("saveDocument",t),null==o||o.removeListener("reloadData",n)}}),[o,r]),k.useEffect((()=>{e.setEditable(n)}),[n]),k.useEffect((()=>{t&&e.focus()}),[t,e]),null}class iC{constructor(){z_(this,"nodeStore",void 0),z_(this,"pendingDeletes",void 0),this.nodeStore=new Map,this.pendingDeletes=[]}update(e,t){if("updated"===t||"created"===t){const n=yt.$getNodeByKey(e);if(rC(n)&&(this.nodeStore.set(e,n),"created"===t)){const e=this.pendingDeletes.findIndex((e=>n.getExpressionId()===e));-1!==e&&this.pendingDeletes.splice(e,1)}}else if("destroyed"===t){const t=this.nodeStore.get(e);t&&(this.pendingDeletes.push(t.getExpressionId()),this.nodeStore.delete(e))}}sync(){const e=this.pendingDeletes;return this.pendingDeletes=[],e}}function lC(){let e;const{layout:t,readyToPrint:n}=k.useContext(R),[r]=ht.useLexicalComposerContext();k.useEffect((()=>(e=r.registerUpdateListener((({dirtyElements:r,dirtyLeaves:o,prevEditorState:i})=>{0===r.size&&0===o.size||i.isEmpty()||(()=>{const r=null==n?void 0:n.findIndex((e=>e.id===t.qInfo.qId));r>-1&&(n[r].resolve(),n.splice(r,1),e())})()})),()=>{e()})),[])}function aC(){const{layout:e,emitter:t}=k.useContext(R),[n]=ht.useLexicalComposerContext(),r=k.useRef(new iC),o=vt();return lC(),k.useEffect((()=>{const e=n.registerMutationListener(nC,(e=>{n.getEditorState().read((()=>{for(const[t,n]of e)r.current.update(t,n)}))}));return()=>{e()}}),[n]),k.useEffect((()=>{e&&n.update((()=>{var t;const n=null===(t=e.qHyperCube)||void 0===t?void 0:t.qMeasureInfo;if(n){const e=yt.$nodesOfType(nC),t=((e,t)=>e.reduce(((e,n)=>(t.find((e=>e.cId===n.getExpressionId()))||e.push(n),e)),[]))(e,n);if(t.forEach((e=>{e.remove()})),n.length>e.length){const e=yt.$getSelection(),{cId:t}=n[n.length-1],r=new nC(t,{}),o=yt.$createTextNode(" "),i=yt.$createTextNode("");yt.$isRangeSelection(e)?e.insertNodes([i,r,o]):bt.$insertNodeToNearestRoot(r)}}}))}),[e,n]),k.useEffect((()=>n.registerCommand(yt.KEY_DOWN_COMMAND,(e=>("Backspace"===e.key&&n.update((()=>{const e=yt.$getSelection();yt.$isNodeSelection(e)&&e.getNodes().forEach((e=>{rC(e)&&(e.selectPrevious(),e.remove())}))})),!1)),yt.COMMAND_PRIORITY_LOW)),[n]),k.useEffect((()=>{if(!o){const e=r.current.sync();e.length>0&&(null==t||t.emit("onNodeDestroyed",e))}}),[o,t]),null}const sC=/"/g;function uC(){const{model:e,emitter:t}=k.useContext(R),[n]=ht.useLexicalComposerContext(),r=k.useRef(new Map);return k.useEffect((()=>{const o=n.registerMutationListener(yt.TextNode,(e=>{e.forEach(((e,t)=>{if("destroyed"===e)r.current.delete(t);else{var o;const e=null===(o=n.getElementByKey(t))||void 0===o?void 0:o.style.fontFamily;e&&r.current.set(t,e)}}))}));async function i(){if(e){!async function(e,t){try{const n=await t.getProperties();n.fontsUsed=e,await t.setProperties(n)}catch(e){console.error(e)}}(Array.from(new Set(r.current.values())).map((e=>e.replace(sC,""))),e)}}return null==t||t.on("saveDocument",i),()=>{null==t||t.removeListener("saveDocument",i),o()}}),[n]),null}var cC,dC,fC=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],pC=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var hC=function(){if(dC)return cC;dC=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},l=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},a=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return cC=function e(){var t,n,r,s,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=a(d,n),d!==(s=a(t,n))&&(h&&s&&(i(s)||(u=o(s)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},l(d,{name:n,newValue:e(h,c,s)})):void 0!==s&&l(d,{name:n,newValue:s}));return d},cC}();function mC(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function gC(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vC(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(hC);var bC=1/.7,yC="\\s*([+-]?\\d+)\\s*",xC="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_C="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",CC=/^#([0-9a-f]{3,8})$/,EC=new RegExp(`^rgb\\(${yC},${yC},${yC}\\)$`),wC=new RegExp(`^rgb\\(${_C},${_C},${_C}\\)$`),SC=new RegExp(`^rgba\\(${yC},${yC},${yC},${xC}\\)$`),kC=new RegExp(`^rgba\\(${_C},${_C},${_C},${xC}\\)$`),TC=new RegExp(`^hsl\\(${xC},${_C},${_C}\\)$`),NC=new RegExp(`^hsla\\(${xC},${_C},${_C},${xC}\\)$`),RC={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function AC(){return this.rgb().formatHex()}function LC(){return this.rgb().formatRgb()}function MC(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=CC.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?OC(t):3===n?new zC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?PC(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?PC(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=EC.exec(e))?new zC(t[1],t[2],t[3],1):(t=wC.exec(e))?new zC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=SC.exec(e))?PC(t[1],t[2],t[3],t[4]):(t=kC.exec(e))?PC(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=TC.exec(e))?WC(t[1],t[2]/100,t[3]/100,1):(t=NC.exec(e))?WC(t[1],t[2]/100,t[3]/100,t[4]):RC.hasOwnProperty(e)?OC(RC[e]):"transparent"===e?new zC(NaN,NaN,NaN,0):null}function OC(e){return new zC(e>>16&255,e>>8&255,255&e,1)}function PC(e,t,n,r){return r<=0&&(e=t=n=NaN),new zC(e,t,n,r)}function IC(e){return e instanceof vC||(e=MC(e)),e?new zC((e=e.rgb()).r,e.g,e.b,e.opacity):new zC}function DC(e,t,n,r){return 1===arguments.length?IC(e):new zC(e,t,n,null==r?1:r)}function zC(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $C(){return`#${jC(this.r)}${jC(this.g)}${jC(this.b)}`}function FC(){const e=BC(this.opacity);return`${1===e?"rgb(":"rgba("}${HC(this.r)}, ${HC(this.g)}, ${HC(this.b)}${1===e?")":`, ${e})`}`}function BC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function HC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function jC(e){return((e=HC(e))<16?"0":"")+e.toString(16)}function WC(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new UC(e,t,n,r)}function KC(e){if(e instanceof UC)return new UC(e.h,e.s,e.l,e.opacity);if(e instanceof vC||(e=MC(e)),!e)return new UC;if(e instanceof UC)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),l=NaN,a=i-o,s=(i+o)/2;return a?(l=t===i?(n-r)/a+6*(n<r):n===i?(r-t)/a+2:(t-n)/a+4,a/=s<.5?i+o:2-i-o,l*=60):a=s>0&&s<1?0:l,new UC(l,a,s,e.opacity)}function UC(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function GC(e){return(e=(e||0)%360)<0?e+360:e}function YC(e){return Math.max(0,Math.min(1,e||0))}function VC(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}mC(vC,MC,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:AC,formatHex:AC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return KC(this).formatHsl()},formatRgb:LC,toString:LC}),mC(zC,DC,gC(vC,{brighter(e){return e=null==e?bC:Math.pow(bC,e),new zC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new zC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new zC(HC(this.r),HC(this.g),HC(this.b),BC(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$C,formatHex:$C,formatHex8:function(){return`#${jC(this.r)}${jC(this.g)}${jC(this.b)}${jC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:FC,toString:FC})),mC(UC,(function(e,t,n,r){return 1===arguments.length?KC(e):new UC(e,t,n,null==r?1:r)}),gC(vC,{brighter(e){return e=null==e?bC:Math.pow(bC,e),new UC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new UC(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new zC(VC(e>=240?e-240:e+120,o,r),VC(e,o,r),VC(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new UC(GC(this.h),YC(this.s),YC(this.l),BC(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=BC(this.opacity);return`${1===e?"hsl(":"hsla("}${GC(this.h)}, ${100*YC(this.s)}%, ${100*YC(this.l)}%${1===e?")":`, ${e})`}`}}));const QC=Math.PI/180,qC=180/Math.PI,XC=4/29,JC=6/29,ZC=3*JC*JC;function eE(e){if(e instanceof tE)return new tE(e.l,e.a,e.b,e.opacity);if(e instanceof lE)return aE(e);e instanceof zC||(e=IC(e));var t,n,r=iE(e.r),o=iE(e.g),i=iE(e.b),l=nE((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=l:(t=nE((.4360747*r+.3850649*o+.1430804*i)/.96422),n=nE((.0139322*r+.0971045*o+.7141733*i)/.82521)),new tE(116*l-16,500*(t-l),200*(l-n),e.opacity)}function tE(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function nE(e){return e>.008856451679035631?Math.pow(e,1/3):e/ZC+XC}function rE(e){return e>JC?e*e*e:ZC*(e-XC)}function oE(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function iE(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function lE(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function aE(e){if(isNaN(e.h))return new tE(e.l,0,0,e.opacity);var t=e.h*QC;return new tE(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}mC(tE,(function(e,t,n,r){return 1===arguments.length?eE(e):new tE(e,t,n,null==r?1:r)}),gC(vC,{brighter(e){return new tE(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new tE(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new zC(oE(3.1338561*(t=.96422*rE(t))-1.6168667*(e=1*rE(e))-.4906146*(n=.82521*rE(n))),oE(-.9787684*t+1.9161415*e+.033454*n),oE(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),mC(lE,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof lE)return new lE(e.h,e.c,e.l,e.opacity);if(e instanceof tE||(e=eE(e)),0===e.a&&0===e.b)return new lE(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*qC;return new lE(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new lE(e,t,n,null==r?1:r)}),gC(vC,{brighter(e){return new lE(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new lE(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return aE(this).rgb()}}));var sE=e=>()=>e;function uE(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):sE(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?uE:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):sE(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=DC(e)).r,(t=DC(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),l=uE(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=l(t),e+""}}return r.gamma=e,r}(1);var cE,dE="center",fE="bottom";function pE(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function hE(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=gE)):void 0===t&&(t=mE);for(var n,r,o,i,l,a=new yE(e),s=[a];n=s.pop();)if((o=t(n.data))&&(l=(o=Array.from(o)).length))for(n.children=o,i=l-1;i>=0;--i)s.push(r=o[i]=new yE(o[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(bE)}function mE(e){return e.children}function gE(e){return Array.isArray(e)?e[1]:null}function vE(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function bE(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function yE(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:dE,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:dE,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:dE,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:dE},{key:"DataRangeIncludingZero",alignment:fE},{key:"LimitedData",alignment:fE},{key:"NegativeOrZeroValues",alignment:fE}].reduce((function(e,t){return e[t.key]=t,e}),{}),yE.prototype=hE.prototype={constructor:yE,count:function(){return this.eachAfter(pE)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,l=[i],a=[],s=-1;i=l.pop();)if(a.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)l.push(n[r]);for(;i=a.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],l=-1;o=i.pop();)if(e.call(t,o,++l,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return hE(this).eachBefore(vE)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},cE=function(e){
|
|
96
|
+
`),qs.rippleVisible,nu,550,(({theme:e})=>e.transitions.easing.easeInOut),qs.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),qs.child,qs.childLeaving,ru,550,(({theme:e})=>e.transitions.easing.easeInOut),qs.childPulsate,ou,(({theme:e})=>e.transitions.easing.easeInOut)),lu=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=an(n,Qs),[l,s]=k.useState([]),u=k.useRef(0),c=k.useRef(null);k.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=k.useRef(!1),f=ja(),p=k.useRef(null),h=k.useRef(null),m=k.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,yo.jsx(au,{classes:{ripple:Qi(o.ripple,qs.ripple),rippleVisible:Qi(o.rippleVisible,qs.rippleVisible),ripplePulsate:Qi(o.ripplePulsate,qs.ripplePulsate),child:Qi(o.child,qs.child),childLeaving:Qi(o.childLeaving,qs.childLeaving),childPulsate:Qi(o.childPulsate,qs.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=k.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=a?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},f.start(80,(()=>{p.current&&(p.current(),p.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m,f]),v=k.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=k.useCallback(((e,t)=>{if(f.clear(),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void f.start(0,(()=>{b(e,t)}));p.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[f]);return k.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),yo.jsx(iu,on({className:Qi(qs.root,o.root,i),ref:h},a,{children:yo.jsx(Ws,{component:null,exit:!0,children:l})}))}));function su(e){return Zi("MuiButtonBase",e)}const uu=ea("MuiButtonBase",["root","disabled","focusVisible"]),cu=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],du=xs("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${uu.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fu=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:_,onMouseLeave:S,onMouseUp:C,onTouchEnd:E,onTouchMove:w,onTouchStart:R,tabIndex:T=0,TouchRippleProps:A,touchRippleRef:N,type:L}=n,M=an(n,cu),O=k.useRef(null),P=k.useRef(null),I=za(P,N),{isFocusVisibleRef:D,onFocus:$,onBlur:z,ref:F}=Xa(),[B,H]=k.useState(!1);s&&B&&H(!1),k.useImperativeHandle(r,(()=>({focusVisible:()=>{H(!0),O.current.focus()}})),[]);const[j,W]=k.useState(!1);k.useEffect((()=>{W(!0)}),[]);const G=j&&!u&&!s;function Y(e,t,n=c){return $a((r=>{t&&t(r);return!n&&P.current&&P.current[e](r),!0}))}k.useEffect((()=>{B&&d&&!u&&j&&P.current.pulsate()}),[u,d,B,j]);const U=Y("start",_),K=Y("stop",m),V=Y("stop",g),q=Y("stop",C),Q=Y("stop",(e=>{B&&e.preventDefault(),S&&S(e)})),X=Y("start",R),J=Y("stop",E),Z=Y("stop",w),ee=Y("stop",(e=>{z(e),!1===D.current&&H(!1),p&&p(e)}),!1),te=$a((e=>{O.current||(O.current=e.currentTarget),$(e),!0===D.current&&(H(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=k.useRef(!1),oe=$a((e=>{d&&!re.current&&B&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=$a((e=>{d&&" "===e.key&&P.current&&B&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(M.href||M.to)&&(ae=f);const le={};"button"===ae?(le.type=void 0===L?"button":L,le.disabled=s):(M.href||M.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=za(t,F,O),ue=on({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:T,focusVisible:B}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Ja({root:["root",t&&"disabled",n&&"focusVisible"]},su,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return yo.jsxs(du,on({as:ae,className:Qi(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:K,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:U,onMouseLeave:Q,onMouseUp:q,onDragLeave:V,onTouchEnd:J,onTouchMove:Z,onTouchStart:X,ref:se,tabIndex:s?-1:T,type:L},le,M,{children:[i,G?yo.jsx(lu,on({ref:I,center:o},A)):null]}))}));function pu(e){return Zi("MuiIconButton",e)}const hu=ea("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),mu=["edge","children","className","color","disabled","disableFocusRipple","size"],gu=xs(fu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Ho(n.color)}`],n.edge&&t[`edge${Ho(n.edge)}`],t[`size${Ho(n.size)}`]]}})((({theme:e,ownerState:t})=>on({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Il.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return on({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&on({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":on({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Il.alpha(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${hu.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),vu=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=an(n,mu),d=on({},n,{edge:r,color:a,disabled:l,disableFocusRipple:s,size:u}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return Ja({root:["root",n&&"disabled","default"!==r&&`color${Ho(r)}`,o&&`edge${Ho(o)}`,`size${Ho(i)}`]},pu,t)})(d);return yo.jsx(gu,on({className:Qi(f.root,i),centerRipple:!0,focusRipple:!s,disabled:l,ref:t},c,{ownerState:d,children:o}))}));function bu(e){return Zi("MuiTypography",e)}ea("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const yu=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],xu=xs("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Ho(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>on({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),_u={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Su={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Cu=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiTypography"}),r=(e=>Su[e]||e)(n.color),o=Yi(on({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:f=_u}=o,p=an(o,yu),h=on({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:f}),m=l||(c?"p":f[d]||_u[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Ja({root:["root",i,"inherit"!==e.align&&`align${Ho(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},bu,a)})(h);return yo.jsx(xu,on({as:m,ref:t,ownerState:h,className:Qi(g.root,a)},p))}));var Eu,wu={};function ku(){if(Eu)return wu;Eu=1,Object.defineProperty(wu,"__esModule",{value:!0}),wu.default=void 0;var e=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(h()),t=fs;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}return wu.default=function(n=null){const r=e.useContext(t.ThemeContext);return r&&(o=r,0!==Object.keys(o).length)?r:n;var o},wu}var Ru=o(ku()),Tu="top",Au="bottom",Nu="right",Lu="left",Mu="auto",Ou=[Tu,Au,Nu,Lu],Pu="start",Iu="end",Du="viewport",$u="popper",zu=Ou.reduce((function(e,t){return e.concat([t+"-"+Pu,t+"-"+Iu])}),[]),Fu=[].concat(Ou,[Mu]).reduce((function(e,t){return e.concat([t,t+"-"+Pu,t+"-"+Iu])}),[]),Bu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Hu(e){return e?(e.nodeName||"").toLowerCase():null}function ju(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Wu(e){return e instanceof ju(e).Element||e instanceof Element}function Gu(e){return e instanceof ju(e).HTMLElement||e instanceof HTMLElement}function Yu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ju(e).ShadowRoot||e instanceof ShadowRoot)}var Uu={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Gu(o)&&Hu(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Gu(r)&&Hu(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ku(e){return e.split("-")[0]}var Vu=Math.max,qu=Math.min,Qu=Math.round;function Xu(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ju(){return!/^((?!chrome|android).)*safari/i.test(Xu())}function Zu(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Gu(e)&&(o=e.offsetWidth>0&&Qu(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Qu(r.height)/e.offsetHeight||1);var a=(Wu(e)?ju(e):window).visualViewport,l=!Ju()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function ec(e){var t=Zu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function tc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Yu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function nc(e){return ju(e).getComputedStyle(e)}function rc(e){return["table","td","th"].indexOf(Hu(e))>=0}function oc(e){return((Wu(e)?e.ownerDocument:e.document)||window.document).documentElement}function ic(e){return"html"===Hu(e)?e:e.assignedSlot||e.parentNode||(Yu(e)?e.host:null)||oc(e)}function ac(e){return Gu(e)&&"fixed"!==nc(e).position?e.offsetParent:null}function lc(e){for(var t=ju(e),n=ac(e);n&&rc(n)&&"static"===nc(n).position;)n=ac(n);return n&&("html"===Hu(n)||"body"===Hu(n)&&"static"===nc(n).position)?t:n||function(e){var t=/firefox/i.test(Xu());if(/Trident/i.test(Xu())&&Gu(e)&&"fixed"===nc(e).position)return null;var n=ic(e);for(Yu(n)&&(n=n.host);Gu(n)&&["html","body"].indexOf(Hu(n))<0;){var r=nc(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function sc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uc(e,t,n){return Vu(e,qu(t,n))}function cc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function dc(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var fc={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Ku(n.placement),s=sc(l),u=[Lu,Nu].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return cc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:dc(e,Ou))}(o.padding,n),d=ec(i),f="y"===s?Tu:Lu,p="y"===s?Au:Nu,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],g=lc(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=c[f],x=v-d[u]-c[p],_=v/2-d[u]/2+b,S=uc(y,_,x),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&tc(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pc(e){return e.split("-")[1]}var hc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,g="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Lu,x=Tu,_=window;if(u){var S=lc(n),C="clientHeight",E="clientWidth";if(S===ju(n)&&"static"!==nc(S=oc(n)).position&&"absolute"===l&&(C="scrollHeight",E="scrollWidth"),o===Tu||(o===Lu||o===Nu)&&i===Iu)x=Au,m-=(d&&S===_&&_.visualViewport?_.visualViewport.height:S[C])-r.height,m*=s?1:-1;if(o===Lu||(o===Tu||o===Au)&&i===Iu)y=Nu,p-=(d&&S===_&&_.visualViewport?_.visualViewport.width:S[E])-r.width,p*=s?1:-1}var w,k=Object.assign({position:l},u&&hc),R=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Qu(n*o)/o||0,y:Qu(r*o)/o||0}}({x:p,y:m},ju(n)):{x:p,y:m};return p=R.x,m=R.y,s?Object.assign({},k,((w={})[x]=b?"0":"",w[y]=v?"0":"",w.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",w)):Object.assign({},k,((t={})[x]=b?m+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var gc={passive:!0};var vc={left:"right",right:"left",bottom:"top",top:"bottom"};function bc(e){return e.replace(/left|right|bottom|top/g,(function(e){return vc[e]}))}var yc={start:"end",end:"start"};function xc(e){return e.replace(/start|end/g,(function(e){return yc[e]}))}function _c(e){var t=ju(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Sc(e){return Zu(oc(e)).left+_c(e).scrollLeft}function Cc(e){var t=nc(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ec(e){return["html","body","#document"].indexOf(Hu(e))>=0?e.ownerDocument.body:Gu(e)&&Cc(e)?e:Ec(ic(e))}function wc(e,t){var n;void 0===t&&(t=[]);var r=Ec(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ju(r),a=o?[i].concat(i.visualViewport||[],Cc(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(wc(ic(a)))}function kc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Rc(e,t,n){return t===Du?kc(function(e,t){var n=ju(e),r=oc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=Ju();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Sc(e),y:s}}(e,n)):Wu(t)?function(e,t){var n=Zu(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):kc(function(e){var t,n=oc(e),r=_c(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Vu(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Vu(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Sc(e),s=-r.scrollTop;return"rtl"===nc(o||n).direction&&(l+=Vu(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(oc(e)))}function Tc(e,t,n,r){var o="clippingParents"===t?function(e){var t=wc(ic(e)),n=["absolute","fixed"].indexOf(nc(e).position)>=0&&Gu(e)?lc(e):e;return Wu(n)?t.filter((function(e){return Wu(e)&&tc(e,n)&&"body"!==Hu(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=Rc(e,n,r);return t.top=Vu(o.top,t.top),t.right=qu(o.right,t.right),t.bottom=qu(o.bottom,t.bottom),t.left=Vu(o.left,t.left),t}),Rc(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ac(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Ku(o):null,a=o?pc(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Tu:t={x:l,y:n.y-r.height};break;case Au:t={x:l,y:n.y+n.height};break;case Nu:t={x:n.x+n.width,y:s};break;case Lu:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?sc(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case Pu:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Iu:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function Nc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?"clippingParents":l,u=n.rootBoundary,c=void 0===u?Du:u,d=n.elementContext,f=void 0===d?$u:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,v=cc("number"!=typeof g?g:dc(g,Ou)),b=f===$u?"reference":$u,y=e.rects.popper,x=e.elements[h?b:f],_=Tc(Wu(x)?x:x.contextElement||oc(e.elements.popper),s,c,a),S=Zu(e.elements.reference),C=Ac({reference:S,element:y,placement:o}),E=kc(Object.assign({},y,C)),w=f===$u?E:S,k={top:_.top-w.top+v.top,bottom:w.bottom-_.bottom+v.bottom,left:_.left-w.left+v.left,right:w.right-_.right+v.right},R=e.modifiersData.offset;if(f===$u&&R){var T=R[o];Object.keys(k).forEach((function(e){var t=[Nu,Au].indexOf(e)>=0?1:-1,n=[Tu,Au].indexOf(e)>=0?"y":"x";k[e]+=T[n]*t}))}return k}function Lc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Fu:s,c=pc(r),d=c?l?zu:zu.filter((function(e){return pc(e)===c})):Ou,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Nc(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Ku(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Mc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=Ku(g),b=s||(v===g||!h?[bc(g)]:function(e){if(Ku(e)===Mu)return[];var t=bc(e);return[xc(e),t,xc(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Ku(n)===Mu?Lc(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,_=t.rects.popper,S=new Map,C=!0,E=y[0],w=0;w<y.length;w++){var k=y[w],R=Ku(k),T=pc(k)===Pu,A=[Tu,Au].indexOf(R)>=0,N=A?"width":"height",L=Nc(t,{placement:k,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),M=A?T?Nu:Lu:T?Au:Tu;x[N]>_[N]&&(M=bc(M));var O=bc(M),P=[];if(i&&P.push(L[R]<=0),l&&P.push(L[M]<=0,L[O]<=0),P.every((function(e){return e}))){E=k,C=!1;break}S.set(k,P)}if(C)for(var I=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},D=h?3:1;D>0;D--){if("break"===I(D))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Oc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pc(e){return[Tu,Nu,Au,Lu].some((function(t){return e[t]>=0}))}var Ic={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Fu.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ku(e),o=[Lu,Tu].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[Lu,Nu].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var Dc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,g=Nc(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=Ku(t.placement),b=pc(t.placement),y=!b,x=sc(v),_="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,w="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof w?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(i){var A,N="y"===x?Tu:Lu,L="y"===x?Au:Nu,M="y"===x?"height":"width",O=S[x],P=O+g[N],I=O-g[L],D=p?-E[M]/2:0,$=b===Pu?C[M]:E[M],z=b===Pu?-E[M]:-C[M],F=t.elements.arrow,B=p&&F?ec(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=H[N],W=H[L],G=uc(0,C[M],B[M]),Y=y?C[M]/2-D-G-j-k.mainAxis:$-G-j-k.mainAxis,U=y?-C[M]/2+D+G+W+k.mainAxis:z+G+W+k.mainAxis,K=t.elements.arrow&&lc(t.elements.arrow),V=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,q=null!=(A=null==R?void 0:R[x])?A:0,Q=O+U-q,X=uc(p?qu(P,O+Y-q-V):P,O,p?Vu(I,Q):I);S[x]=X,T[x]=X-O}if(l){var J,Z="x"===x?Tu:Lu,ee="x"===x?Au:Nu,te=S[_],ne="y"===_?"height":"width",re=te+g[Z],oe=te-g[ee],ie=-1!==[Tu,Lu].indexOf(v),ae=null!=(J=null==R?void 0:R[_])?J:0,le=ie?re:te-C[ne]-E[ne]-ae+k.altAxis,se=ie?te+C[ne]+E[ne]-ae-k.altAxis:oe,ue=p&&ie?function(e,t,n){var r=uc(e,t,n);return r>n?n:r}(le,te,se):uc(p?le:re,te,p?se:oe);S[_]=ue,T[_]=ue-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]};function $c(e,t,n){void 0===n&&(n=!1);var r=Gu(t),o=Gu(t)&&function(e){var t=e.getBoundingClientRect(),n=Qu(t.width)/e.offsetWidth||1,r=Qu(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=oc(t),a=Zu(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Hu(t)||Cc(i))&&(l=function(e){return e!==ju(e)&&Gu(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:_c(e);var t}(t)),Gu(t)?((s=Zu(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Sc(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function zc(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Fc(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Bc={placement:"bottom",modifiers:[],strategy:"absolute"};function Hc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function jc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Bc:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bc,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Wu(e)?wc(e):e.contextElement?wc(e.contextElement):[],popper:wc(t)};var c,d,f=function(e){var t=zc(e);return Bu.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((c=[].concat(r,o.options.modifiers),d=c.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return o.orderedModifiers=f.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:o,name:t,instance:s,options:r}),u=function(){};a.push(l||u)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(Hc(t,n)){o.rects={reference:$c(t,lc(n),"fixed"===o.options.strategy),popper:ec(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"==typeof a&&(o=a({state:o,options:c,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Fc((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!Hc(e,t))return s;function u(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Wc=jc({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=ju(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,gc)})),l&&s.addEventListener("resize",n.update,gc),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,gc)})),l&&s.removeEventListener("resize",n.update,gc)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ac({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:Ku(t.placement),variation:pc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mc(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mc(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Uu,Ic,Mc,Dc,fc,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Nc(t,{elementContext:"reference"}),l=Nc(t,{altBoundary:!0}),s=Oc(a,r),u=Oc(l,o,i),c=Pc(s),d=Pc(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});const Gc=k.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=k.useState(null),l=za(k.isValidElement(n)?ol(n):null,t);if(ka((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),ka((()=>{if(i&&!o)return Oa(t,i),()=>{Oa(t,null)}}),[t,i,o]),o){if(k.isValidElement(n)){const e={ref:l};return k.cloneElement(n,e)}return yo.jsx(k.Fragment,{children:n})}return yo.jsx(k.Fragment,{children:i?Rs.createPortal(n,i):i})}));function Yc(e){return Zi("MuiPopper",e)}ea("MuiPopper",["root"]);const Uc=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Kc=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Vc(e){return"function"==typeof e?e():e}const qc={},Qc=k.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:l,open:s,placement:u,popperOptions:c,popperRef:d,slotProps:f={},slots:p={},TransitionProps:h}=e,m=an(e,Uc),g=k.useRef(null),v=za(g,t),b=k.useRef(null),y=za(b,d),x=k.useRef(y);ka((()=>{x.current=y}),[y]),k.useImperativeHandle(d,(()=>b.current),[]);const _=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[S,C]=k.useState(_),[E,w]=k.useState(Vc(r));k.useEffect((()=>{b.current&&b.current.forceUpdate()})),k.useEffect((()=>{r&&w(Vc(r))}),[r]),ka((()=>{if(!E||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{(e=>{C(e.placement)})(e)}}];null!=l&&(e=e.concat(l)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=Wc(E,g.current,on({placement:_},c,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[E,a,l,s,c,_]);const R={placement:S};null!==h&&(R.TransitionProps=h);const T=(e=>{const{classes:t}=e;return Ja({root:["root"]},Yc,t)})(e),A=null!=(n=p.root)?n:"div",N=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=an(e,rl),l=i?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(r,o),{props:s,internalRef:u}=nl(on({},a,{externalSlotProps:l}));return el(n,on({},s,{ref:za(u,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:A,externalSlotProps:f.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:T.root});return yo.jsx(A,on({},N,{children:"function"==typeof o?o(R):o}))})),Xc=k.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=qc,popperRef:f,style:p,transition:h=!1,slotProps:m={},slots:g={}}=e,v=an(e,Kc),[b,y]=k.useState(!0);if(!l&&!u&&(!h||b))return null;let x;if(o)x=o;else if(n){const e=Vc(n);x=e&&void 0!==e.nodeType?La(e).body:La(null).body}const _=u||!l||h&&!b?void 0:"none",S=h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return yo.jsx(Gc,{disablePortal:a,container:x,children:yo.jsx(Qc,on({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:h?!b:u,placement:c,popperOptions:d,popperRef:f,slotProps:m,slots:g},v,{style:on({position:"fixed",top:0,left:0,display:_},p),TransitionProps:S,children:r}))})})),Jc=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Zc=xs(Xc,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ed=k.forwardRef((function(e,t){var n;const r=Ru(),o=Es({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:l,componentsProps:s,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:v,slots:b,slotProps:y}=o,x=an(o,Jc),_=null!=(n=null==b?void 0:b.root)?n:null==l?void 0:l.Root,S=on({anchorEl:i,container:u,disablePortal:c,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:g,transition:v},x);return yo.jsx(Zc,on({as:a,direction:null==r?void 0:r.direction,slots:{root:_},slotProps:null!=y?y:s},S,{ref:t}))})),td=["onChange","maxRows","minRows","style","value"];function nd(e){return parseInt(e,10)||0}const rd={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function od(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const id=k.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=an(e,td),{current:s}=k.useRef(null!=a),u=k.useRef(null),c=za(t,u),d=k.useRef(null),f=k.useRef(null),p=k.useCallback((()=>{const t=u.current,n=f.current;if(!t||!n)return;const i=Ma(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=nd(i.paddingBottom)+nd(i.paddingTop),s=nd(i.borderBottomWidth)+nd(i.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;o&&(p=Math.max(Number(o)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===a?l+s:0),overflowing:Math.abs(p-c)<=1}}),[r,o,e.placeholder]),h=$a((()=>{const e=u.current,t=p();if(!e||!t||od(t))return!1;const n=t.outerHeightStyle;return null!=d.current&&d.current!==n})),m=k.useCallback((()=>{const e=u.current,t=p();if(!e||!t||od(t))return;const n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[p]),g=k.useRef(-1);ka((()=>{const e=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}(m),t=null==u?void 0:u.current;if(!t)return;const n=Ma(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{h()&&(r.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[p,m,h]),ka((()=>{m()}));return yo.jsxs(k.Fragment,{children:[yo.jsx("textarea",on({value:a,onChange:e=>{s||m(),n&&n(e)},ref:c,rows:o,style:i},l)),yo.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:on({},rd,i,{paddingTop:0,paddingBottom:0})})]})}));const ad=k.createContext(void 0);function ld(e){return yo.jsx(Wi,on({},e,{defaultTheme:ns,themeId:rn}))}function sd(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ud(e){return Zi("MuiInputBase",e)}const cd=ea("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),dd=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],fd=xs("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Ho(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>on({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${cd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&on({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),pd=xs("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=on({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return on({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${cd.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${cd.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),hd=yo.jsx(ld,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),md=k.forwardRef((function(e,t){var n;const r=Es({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:_=!1,name:S,onBlur:C,onChange:E,onClick:w,onFocus:R,onKeyDown:T,onKeyUp:A,placeholder:N,readOnly:L,renderSuffix:M,rows:O,slotProps:P={},slots:I={},startAdornment:D,type:$="text",value:z}=r,F=an(r,dd),B=null!=v.value?v.value:z,{current:H}=k.useRef(null!=B),j=k.useRef(),W=k.useCallback((e=>{}),[]),G=za(j,b,v.ref,W),[Y,U]=k.useState(!1),K=k.useContext(ad),V=function({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}({props:r,muiFormControl:K,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=K?K.focused:Y,k.useEffect((()=>{!K&&d&&Y&&(U(!1),C&&C())}),[K,d,Y,C]);const q=K&&K.onFilled,Q=K&&K.onEmpty,X=k.useCallback((e=>{!function(e,t=!1){return e&&(sd(e.value)&&""!==e.value||t&&sd(e.defaultValue)&&""!==e.defaultValue)}(e)?Q&&Q():q&&q()}),[q,Q]);ka((()=>{H&&X({value:B})}),[B,X,H]);k.useEffect((()=>{X(j.current)}),[]);let J=g,Z=v;_&&"input"===J&&(Z=on(O?{type:void 0,minRows:O,maxRows:O}:{type:void 0,maxRows:y,minRows:x},Z),J=id);k.useEffect((()=>{K&&K.setAdornedStart(Boolean(D))}),[K,D]);const ee=on({},r,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:K,fullWidth:h,hiddenLabel:V.hiddenLabel,multiline:_,size:V.size,startAdornment:D,type:$}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return Ja({root:["root",`color${Ho(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&`size${Ho(f)}`,c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},ud,t)})(ee),ne=I.root||s.Root||fd,re=P.root||u.root||{},oe=I.input||s.Input||pd;return Z=on({},Z,null!=(n=P.input)?n:u.input),yo.jsxs(k.Fragment,{children:[!f&&hd,yo.jsxs(ne,on({},re,!Za(ne)&&{ownerState:on({},ee,re.ownerState)},{ref:t,onClick:e=>{j.current&&e.currentTarget===e.target&&j.current.focus(),w&&w(e)}},F,{className:Qi(te.root,re.className,l,L&&"MuiInputBase-readOnly"),children:[D,yo.jsx(ad.Provider,{value:null,children:yo.jsx(oe,on({ownerState:ee,"aria-invalid":V.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?j.current:{value:"x"})},name:S,placeholder:N,readOnly:L,required:V.required,rows:O,value:B,onKeyDown:T,onKeyUp:A,type:$},Z,!Za(oe)&&{as:J,ownerState:on({},ee,Z.ownerState)},{ref:G,className:Qi(te.input,Z.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{C&&C(e),v.onBlur&&v.onBlur(e),K&&K.onBlur?K.onBlur(e):U(!1)},onChange:(e,...t)=>{if(!H){const t=e.target||j.current;if(null==t)throw new Error(tn(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),E&&E(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(R&&R(e),v.onFocus&&v.onFocus(e),K&&K.onFocus?K.onFocus(e):U(!0))}}))}),p,M?M(on({},V,{startAdornment:D})):null]}))]})})),gd=ea("MuiBox",["root"]),vd=ts(),bd=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=So("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Pi);return k.forwardRef((function(e,a){const l=Hi(n),s=Yi(e),{className:u,component:c="div"}=s,d=an(s,Xi);return yo.jsx(i,on({as:c,ref:a,className:Qi(u,o?o(r):r),theme:t&&l[t]||l},d))}))}({themeId:rn,defaultTheme:vd,defaultClassName:gd.root,generateClassName:Vi.generate});function yd(e){return Zi("MuiButton",e)}const xd=ea("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),_d=k.createContext({}),Sd=k.createContext(void 0),Cd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ed=e=>on({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),wd=xs(fu,{shouldForwardProp:e=>ys(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ho(n.color)}`],t[`size${Ho(n.size)}`],t[`${n.variant}Size${Ho(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return on({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":on({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Il.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Il.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Il.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":on({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${xd.focusVisible}`]:on({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${xd.disabled}`]:on({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Il.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${xd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${xd.disabled}`]:{boxShadow:"none"}})),kd=xs("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ho(n.size)}`]]}})((({ownerState:e})=>on({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ed(e)))),Rd=xs("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ho(n.size)}`]]}})((({ownerState:e})=>on({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ed(e)))),Td=k.forwardRef((function(e,t){const n=k.useContext(_d),r=k.useContext(Sd),o=Es({props:Ea(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:h=!1,size:m="medium",startIcon:g,type:v,variant:b="text"}=o,y=an(o,Cd),x=on({},o,{color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:v,variant:b}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return on({},a,Ja({root:["root",i,`${i}${Ho(t)}`,`size${Ho(o)}`,`${i}Size${Ho(o)}`,`color${Ho(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Ho(o)}`],endIcon:["icon","endIcon",`iconSize${Ho(o)}`]},yd,a))})(x),S=g&&yo.jsx(kd,{className:_.startIcon,ownerState:x,children:g}),C=f&&yo.jsx(Rd,{className:_.endIcon,ownerState:x,children:f}),E=r||"";return yo.jsxs(wd,on({ownerState:x,className:Qi(n.className,_.root,s,E),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:Qi(_.focusVisible,p),ref:t,type:v},y,{classes:_,children:[S,i,C]}))}));function Ad(e){return e.substring(2).toLowerCase()}function Nd(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,a=k.useRef(!1),l=k.useRef(null),s=k.useRef(!1),u=k.useRef(!1);k.useEffect((()=>(setTimeout((()=>{s.current=!0}),0),()=>{s.current=!1})),[]);const c=za(ol(t),l),d=$a((e=>{const t=u.current;u.current=!1;const r=La(l.current);if(!s.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(a.current)return void(a.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(l.current)>-1:!r.documentElement.contains(e.target)||l.current.contains(e.target),i||!n&&t||o(e)})),f=e=>n=>{u.current=!0;const r=t.props[e];r&&r(n)},p={ref:c};return!1!==i&&(p[i]=f(i)),k.useEffect((()=>{if(!1!==i){const e=Ad(i),t=La(l.current),n=()=>{a.current=!0};return t.addEventListener(e,d),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,d),t.removeEventListener("touchmove",n)}}}),[d,i]),!1!==r&&(p[r]=f(r)),k.useEffect((()=>{if(!1!==r){const e=Ad(r),t=La(l.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}}),[d,r]),yo.jsx(k.Fragment,{children:k.cloneElement(t,p)})}function Ld(e){return Zi("MuiDivider",e)}const Md=ea("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Od=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Pd=xs("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>on({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Il.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>on({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>on({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>on({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>on({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Id=xs("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>on({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Dd=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=an(n,Od),h=on({},n,{absolute:r,component:a,flexItem:l,light:s,orientation:u,role:c,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return Ja({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Ld,r)})(h);return yo.jsx(Pd,on({as:a,className:Qi(m.root,i),role:c,ref:t,ownerState:h},p,{children:o?yo.jsx(Id,{className:m.wrapper,ownerState:h,children:o}):null}))}));Dd.muiSkipListHighlight=!0;const $d=function(e={}){const{createStyledComponent:t=Sl,useThemeProps:n=Cl,componentName:r="MuiStack"}=e,o=t(wl),i=k.forwardRef((function(e,t){const i=Yi(n(e)),{component:a="div",direction:l="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=i,p=an(i,xl),h={direction:l,spacing:s,useFlexGap:f},m=Ja({root:["root"]},(e=>Zi(r,e)),{});return yo.jsx(o,on({as:a,ownerState:h,ref:t,className:Qi(m.root,d)},p,{children:u?El(c,u):c}))}));return i}({createStyledComponent:xs("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Es({props:e,name:"MuiStack"})}),zd=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Fd(e){return`scale(${e}, ${e**2})`}const Bd={entering:{opacity:1,transform:Fd(1)},entered:{opacity:1,transform:"none"}},Hd="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),jd=k.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=Ds}=e,g=an(e,zd),v=ja(),b=k.useRef(),y=rs(),x=k.useRef(null),_=za(x,ol(o),t),S=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=S(u),E=S(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=Gs({style:p,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[y.transitions.create("opacity",{duration:a,delay:r}),y.transitions.create("transform",{duration:Hd?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),w=S(s),R=S(f),T=S((e=>{const{duration:t,delay:n,easing:r}=Gs({style:p,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:Hd?o:.666*o,delay:Hd?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Fd(.75),c&&c(e)})),A=S(d);return yo.jsx(m,on({appear:r,in:a,nodeRef:x,onEnter:E,onEntered:w,onEntering:C,onExit:T,onExited:A,onExiting:R,addEndListener:e=>{"auto"===h&&v.start(b.current||0,e),n&&n(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>k.cloneElement(o,on({style:on({opacity:0,transform:Fd(.75),visibility:"exited"!==e||a?void 0:"hidden"},Bd[e],p,o.props.style),ref:_},t))}))}));jd.muiSupportAuto=!0;const Wd=k.createContext({});function Gd(e){return Zi("MuiList",e)}ea("MuiList",["root","padding","dense","subheader"]);const Yd=["children","className","component","dense","disablePadding","subheader"],Ud=xs("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>on({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Kd=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=an(n,Yd),c=k.useMemo((()=>({dense:a})),[a]),d=on({},n,{component:i,dense:a,disablePadding:l}),f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ja({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Gd,t)})(d);return yo.jsx(Wd.Provider,{value:c,children:yo.jsxs(Ud,on({as:i,className:Qi(f.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function Vd(e){return Zi("MuiListItemIcon",e)}const qd=ea("MuiListItemIcon",["root","alignItemsFlexStart"]),Qd=["className"],Xd=xs("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>on({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Jd=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=an(n,Qd),i=on({},n,{alignItems:k.useContext(Wd).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Ja({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Vd,n)})(i);return yo.jsx(Xd,on({className:Qi(a.root,r),ownerState:i,ref:t},o))})),Zd=ea("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ef=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function tf(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function nf(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function rf(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function of(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&rf(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const af=k.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=an(e,ef),f=k.useRef(null),p=k.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ka((()=>{r&&f.current.focus()}),[r]),k.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(La(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const h=za(f,t);let m=-1;k.Children.forEach(i,((e,t)=>{k.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=k.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),k.cloneElement(e,t)}return e}));return yo.jsx(Kd,on({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=f.current,n=e.key,r=La(t).activeElement;if("ArrowDown"===n)e.preventDefault(),of(t,r,s,l,tf);else if("ArrowUp"===n)e.preventDefault(),of(t,r,s,l,nf);else if("Home"===n)e.preventDefault(),of(t,null,s,l,tf);else if("End"===n)e.preventDefault(),of(t,null,s,l,nf);else if(1===n.length){const o=p.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&rf(r,o);o.previousKeyMatched&&(s||of(t,r,!1,l,tf,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function lf(e){return Zi("MuiMenuItem",e)}const sf=ea("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),uf=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],cf=xs(fu,{shouldForwardProp:e=>ys(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>on({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${sf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Il.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Il.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Il.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Il.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sf.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Md.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Md.inset}`]:{marginLeft:52},[`& .${Zd.root}`]:{marginTop:0,marginBottom:0},[`& .${Zd.inset}`]:{paddingLeft:36},[`& .${qd.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&on({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${qd.root} svg`]:{fontSize:"1.25rem"}})))),df=k.forwardRef((function(e,t){const n=Es({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,f=an(n,uf),p=k.useContext(Wd),h=k.useMemo((()=>({dense:i||p.dense||!1,disableGutters:l})),[p.dense,i,l]),m=k.useRef(null);ka((()=>{r&&m.current&&m.current.focus()}),[r]);const g=on({},n,{dense:h.dense,divider:a,disableGutters:l}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return on({},a,Ja({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},lf,a))})(n),b=za(m,t);let y;return n.disabled||(y=void 0!==c?c:-1),yo.jsx(Wd.Provider,{value:h,children:yo.jsx(cf,on({ref:b,role:u,tabIndex:y,component:o,focusVisibleClassName:Qi(v.focusVisible,s),className:Qi(v.root,d)},f,{ownerState:g,classes:v}))})}));function ff(e){return Zi("MuiTooltip",e)}const pf=ea("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),hf=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const mf=xs(ed,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>on({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${pf.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${pf.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${pf.arrow}`]:on({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${pf.arrow}`]:on({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),gf=xs("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Ho(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return on({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Il.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${pf.popper}[data-popper-placement*="left"] &`]:on({transformOrigin:"right center"},t.isRtl?on({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):on({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${pf.popper}[data-popper-placement*="right"] &`]:on({transformOrigin:"left center"},t.isRtl?on({marginRight:"14px"},t.touch&&{marginRight:"24px"}):on({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${pf.popper}[data-popper-placement*="top"] &`]:on({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${pf.popper}[data-popper-placement*="bottom"] &`]:on({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),vf=xs("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Il.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let bf=!1;const yf=new Ha;let xf={x:0,y:0};function _f(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Sf=k.forwardRef((function(e,t){var n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,b,y,x;const _=Es({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:C,components:E={},componentsProps:w={},describeChild:R=!1,disableFocusListener:T=!1,disableHoverListener:A=!1,disableInteractive:N=!1,disableTouchListener:L=!1,enterDelay:M=100,enterNextDelay:O=0,enterTouchDelay:P=700,followCursor:I=!1,id:D,leaveDelay:$=0,leaveTouchDelay:z=1500,onClose:F,onOpen:B,open:H,placement:j="bottom",PopperComponent:W,PopperProps:G={},slotProps:Y={},slots:U={},title:K,TransitionComponent:V=jd,TransitionProps:q}=_,Q=an(_,hf),X=k.isValidElement(C)?C:yo.jsx("span",{children:C}),J=rs(),Z=(()=>{const e=k.useContext(cl);return null!=e&&e})(),[ee,te]=k.useState(),[ne,re]=k.useState(null),oe=k.useRef(!1),ie=N||I,ae=ja(),le=ja(),se=ja(),ue=ja(),[ce,de]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=k.useRef(void 0!==e),[i,a]=k.useState(t);return[o?e:i,k.useCallback((e=>{o||a(e)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"});let fe=ce;const pe=Da(D),he=k.useRef(),me=$a((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),ue.clear()}));k.useEffect((()=>me),[me]);const ge=e=>{yf.clear(),bf=!0,de(!0),B&&!fe&&B(e)},ve=$a((e=>{yf.start(800+$,(()=>{bf=!1})),de(!1),F&&fe&&F(e),ae.start(J.transitions.duration.shortest,(()=>{oe.current=!1}))})),be=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),le.clear(),se.clear(),M||bf&&O?le.start(bf?O:M,(()=>{ge(e)})):ge(e))},ye=e=>{le.clear(),se.start($,(()=>{ve(e)}))},{isFocusVisibleRef:xe,onBlur:_e,onFocus:Se,ref:Ce}=Xa(),[,Ee]=k.useState(!1),we=e=>{_e(e),!1===xe.current&&(Ee(!1),ye(e))},ke=e=>{ee||te(e.currentTarget),Se(e),!0===xe.current&&(Ee(!0),be(e))},Re=e=>{oe.current=!0;const t=X.props;t.onTouchStart&&t.onTouchStart(e)},Te=e=>{Re(e),se.clear(),ae.clear(),me(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ue.start(P,(()=>{document.body.style.WebkitUserSelect=he.current,be(e)}))},Ae=e=>{X.props.onTouchEnd&&X.props.onTouchEnd(e),me(),se.start(z,(()=>{ve(e)}))};k.useEffect((()=>{if(fe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ve(e)}}),[ve,fe]);const Ne=za(ol(X),Ce,te,t);K||0===K||(fe=!1);const Le=k.useRef(),Me={},Oe="string"==typeof K;R?(Me.title=fe||!Oe||A?null:K,Me["aria-describedby"]=fe?pe:null):(Me["aria-label"]=Oe?K:null,Me["aria-labelledby"]=fe&&!Oe?pe:null);const Pe=on({},Me,Q,X.props,{className:Qi(Q.className,X.props.className),onTouchStart:Re,ref:Ne},I?{onMouseMove:e=>{const t=X.props;t.onMouseMove&&t.onMouseMove(e),xf={x:e.clientX,y:e.clientY},Le.current&&Le.current.update()}}:{}),Ie={};L||(Pe.onTouchStart=Te,Pe.onTouchEnd=Ae),A||(Pe.onMouseOver=_f(be,Pe.onMouseOver),Pe.onMouseLeave=_f(ye,Pe.onMouseLeave),ie||(Ie.onMouseOver=be,Ie.onMouseLeave=ye)),T||(Pe.onFocus=_f(ke,Pe.onFocus),Pe.onBlur=_f(we,Pe.onBlur),ie||(Ie.onFocus=ke,Ie.onBlur=we));const De=k.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=G.popperOptions)&&e.modifiers&&(t=t.concat(G.popperOptions.modifiers)),on({},G.popperOptions,{modifiers:t})}),[ne,G]),$e=on({},_,{isRtl:Z,arrow:S,disableInteractive:ie,placement:j,PopperComponentProp:W,touch:oe.current}),ze=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return Ja({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Ho(i.split("-")[0])}`],arrow:["arrow"]},ff,t)})($e),Fe=null!=(n=null!=(r=U.popper)?r:E.Popper)?n:mf,Be=null!=(o=null!=(i=null!=(a=U.transition)?a:E.Transition)?i:V)?o:jd,He=null!=(l=null!=(s=U.tooltip)?s:E.Tooltip)?l:gf,je=null!=(u=null!=(c=U.arrow)?c:E.Arrow)?u:vf,We=el(Fe,on({},G,null!=(d=Y.popper)?d:w.popper,{className:Qi(ze.popper,null==G?void 0:G.className,null==(f=null!=(p=Y.popper)?p:w.popper)?void 0:f.className)}),$e),Ge=el(Be,on({},q,null!=(h=Y.transition)?h:w.transition),$e),Ye=el(He,on({},null!=(m=Y.tooltip)?m:w.tooltip,{className:Qi(ze.tooltip,null==(g=null!=(v=Y.tooltip)?v:w.tooltip)?void 0:g.className)}),$e),Ue=el(je,on({},null!=(b=Y.arrow)?b:w.arrow,{className:Qi(ze.arrow,null==(y=null!=(x=Y.arrow)?x:w.arrow)?void 0:y.className)}),$e);return yo.jsxs(k.Fragment,{children:[k.cloneElement(X,Pe),yo.jsx(Fe,on({as:null!=W?W:ed,placement:j,anchorEl:I?{getBoundingClientRect:()=>({top:xf.y,left:xf.x,right:xf.x,bottom:xf.y,width:0,height:0})}:ee,popperRef:Le,open:!!ee&&fe,id:pe,transition:!0},Ie,We,{popperOptions:De,children:({TransitionProps:e})=>yo.jsx(Be,on({timeout:J.transitions.duration.shorter},e,Ge,{children:yo.jsxs(He,on({},Ye,{children:[K,S?yo.jsx(je,on({},Ue,{ref:re})):null]}))}))}))]})})),Cf=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M9 1v1H2v12h12V7h1v7a1 1 0 0 1-.883.993L14 15H2a1 1 0 0 1-.993-.883L1 14V2a1 1 0 0 1 .883-.993L2 1zm7-1v5h-1V1.706l-4.5 4.501-.707-.707L14.292 1H11V0z"})}),Ef=k.forwardRef(Cf),wf=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}),kf=k.forwardRef(wf);var Rf,Tf,Af,Nf={};var Lf=function(){if(Af)return Tf;Af=1;const e=function(){if(Rf)return Nf;Rf=1;var e=X(),t=me(),n=Q(),r=K(),o=h();return Nf.LinkPlugin=function({validateUrl:i}){let[a]=t.useLexicalComposerContext();return o.useEffect((()=>{if(!a.hasNodes([e.LinkNode]))throw Error("LinkPlugin: LinkNode not registered on editor");return n.mergeRegister(a.registerCommand(e.TOGGLE_LINK_COMMAND,(t=>{if(null===t)return e.toggleLink(t),!0;if("string"==typeof t)return!(void 0!==i&&!i(t)||(e.toggleLink(t),0));let{url:n,target:r,rel:o,title:a}=t;return e.toggleLink(n,{rel:o,target:r,title:a}),!0}),r.COMMAND_PRIORITY_LOW),void 0!==i?a.registerCommand(r.PASTE_COMMAND,(t=>{let n=r.$getSelection();if(!r.$isRangeSelection(n)||n.isCollapsed()||!(t instanceof ClipboardEvent)||null==t.clipboardData)return!1;let o=t.clipboardData.getData("text");return!!i(o)&&!n.getNodes().some((e=>r.$isElementNode(e)))&&(a.dispatchCommand(e.TOGGLE_LINK_COMMAND,o),t.preventDefault(),!0)}),r.COMMAND_PRIORITY_LOW):()=>{})}),[a,i]),null},Nf}();return Tf=e}();const Mf={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_25:"rgba(0, 0, 0, 0.25)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Of=12,Pf=14,If=16,Df=24,$f=3,zf=300,Ff=400,Bf=600,Hf=700,jf={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};var Wf='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A';function Gf(e){return yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:yo.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var Yf=function({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return yo.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})};function Uf(e={}){return yo.jsx(Yf,{...e,children:yo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[yo.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),yo.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Kf(e={}){return yo.jsx(Yf,{fontSize:"medium",...e,children:yo.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[yo.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),yo.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Vf(e){return yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:yo.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function qf(e={}){return yo.jsx(Yf,{...e,children:yo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yo.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[yo.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),yo.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Qf(e={}){return yo.jsx(Yf,{fontSize:"medium",...e,children:yo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yo.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:yo.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Xf({className:e}){return yo.jsx(Yf,{fontSize:"small",className:e,children:yo.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:yo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yo.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:yo.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[yo.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),yo.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function Jf(e={}){return yo.jsx(Yf,{...e,children:yo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yo.jsx("rect",{stroke:Mf.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const Zf={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$f,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var ep=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Mf.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Mf.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:yo.jsx(Gf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Mf.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,borderRadius:$f,backgroundColor:Mf.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Mf.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Mf.WHITE,color:Mf.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:$f},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Mf.GREYSCALE_0_15,backgroundColor:Mf.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Mf.GREEN_PALE},"&:active":{backgroundColor:Mf.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${Na(Mf.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Mf.BLUE_PALE},"&:active":{backgroundColor:Mf.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$f,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Mf.GREYSCALE_0_15,backgroundColor:Mf.GREYSCALE_100_60,"&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Mf.PURPLE,"&.Mui-focusVisible":{borderColor:Mf.PURPLE,boxShadow:`0 0 0 3px ${Na(Mf.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Mf.GREEN,"&.Mui-focusVisible":{borderColor:Mf.GREEN,boxShadow:`0 0 0 3px ${Na(Mf.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Mf.BLUE,"&.Mui-focusVisible":{borderColor:Mf.BLUE,boxShadow:`0 0 0 3px ${Na(Mf.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Mf.ORANGE,"&.Mui-focusVisible":{borderColor:Mf.ORANGE,boxShadow:`0 0 0 3px ${Na(Mf.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Mf.RED,"&.Mui-focusVisible":{borderColor:Mf.RED,boxShadow:`0 0 0 3px ${Na(Mf.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Mf.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Mf.PURPLE_PALE},"&:active":{backgroundColor:Mf.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Mf.PURPLE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Mf.GREEN_PALE},"&:active":{backgroundColor:Mf.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${Na(Mf.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Mf.BLUE_PALE},"&:active":{backgroundColor:Mf.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Mf.ORANGE_PALE},"&:active":{backgroundColor:Mf.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Mf.ORANGE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Mf.RED_PALE},"&:active":{backgroundColor:Mf.RED_DARK},"&.Mui-focusVisible":{borderColor:Mf.RED_PALE,boxShadow:`0 0 0 3px ${Na(Mf.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Mf.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Mf.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:$f,boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:yo.jsx(Vf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Of,borderRadius:$f,color:Mf.TEXT_PRIMARY,backgroundColor:Mf.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Mf.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Mf.GREYSCALE_0_05,color:Mf.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Mf.GREEN,borderColor:Mf.GREEN},"&.MuiChip-outlinedInfo":{color:Mf.BLUE,borderColor:Mf.BLUE},"&.MuiChip-outlinedWarning":{color:Mf.ORANGE,borderColor:Mf.ORANGE},"&.MuiChip-outlinedError":{color:Mf.RED,borderColor:Mf.RED}},outlined:{border:`solid 1px ${Mf.GREYSCALE_0_15}`,backgroundColor:Mf.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:$f,boxShadow:"none",backgroundColor:Mf.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Mf.GREEN,borderColor:Mf.GREEN},outlinedSecondary:{color:Mf.BLUE,borderColor:Mf.BLUE},label:{fontFamily:jf.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:yo.jsx(Vf,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:yo.jsx(Gf,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:$f},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:$f,fontSize:Pf,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Mf.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Mf.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Mf.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Mf.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Mf.GREYSCALE_0_05}}},popupIndicator:{borderRadius:$f,border:`solid 1px ${Mf.GREYSCALE_0_15}`,color:Mf.GREYSCALE_0_60,marginRight:0,width:Df,height:Df},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Mf.GREYSCALE_0_15}`},clearIndicator:{borderRadius:$f,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Mf.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Pf}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Of,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Mf.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Mf.GREYSCALE_25,fontSize:Of,fontFamily:jf.FONT_FAMILY,fontWeight:Bf,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Mf.TEXT_PRIMARY},"&.Mui-error":{color:Mf.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Mf.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ff,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Mf.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ff,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Pf,lineHeight:"16px",backgroundColor:Mf.WHITE,borderRadius:$f,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderColor:Mf.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Mf.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Mf.RED}`,boxShadow:`0px 0px 0px 1px ${Mf.RED}, inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Mf.GREYSCALE_0_10}`,borderColor:Mf.GREYSCALE_0_10,backgroundColor:Mf.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Mf.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Mf.GREYSCALE_0_15,borderRadius:$f,boxShadow:`inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>yo.jsx(Gf,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Mf.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Mf.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03},"&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&:focus":{backgroundColor:Mf.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Mf.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Mf.GREYSCALE_0_30,"&:hover":{backgroundColor:Mf.GREYSCALE_0_0,borderColor:Mf.GREYSCALE_0_15},"& ~svg":{color:Mf.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Mf.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:$f}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Mf.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Pf,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Of,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Of,fontWeight:Bf,color:Mf.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Bf}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Mf.GREYSCALE_0_15}, 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:yo.jsx(Qf,{}),checkedIcon:yo.jsx(Kf,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Mf.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${Na(Mf.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Mf.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Mf.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:yo.jsx(Jf,{}),checkedIcon:yo.jsx(Uf,{}),indeterminateIcon:yo.jsx(qf,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:$f,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Mf.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Mf.GREYSCALE_0_55,color:Mf.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Mf.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Mf.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Mf.GREYSCALE_0_55,"&:hover":{color:Mf.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Mf.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Mf.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Pf,color:Mf.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Bf},secondary:{fontSize:Of,color:Mf.GREYSCALE_45,fontWeight:Ff,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Pf,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Pf,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Mf.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Of,borderBottom:`solid 1px ${Mf.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Pf,color:Mf.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Mf.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Mf.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:`url('${Wf}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Mf.RED}}},"&.Mui-focusVisible":{backgroundColor:Mf.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Mf.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Mf.GREEN,height:"24px","&.Mui-disabled":{color:Mf.GREYSCALE_0_15}},rail:{backgroundColor:Mf.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderRadius:$f,boxShadow:`inset 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderRadius:$f},thumb:{height:"16px",width:"16px",borderRadius:$f,backgroundColor:Mf.WHITE,boxShadow:`0px 1px 2px 0px ${Mf.GREYSCALE_0_15}, 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`,"&:hover":{borderRadius:$f,boxShadow:`0 2px 4px 0 ${Mf.GREYSCALE_0_30}, 0 0 0 1px ${Mf.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Mf.GREYSCALE_0_15}, 0 0 0 1px ${Mf.GREYSCALE_0_06}, 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Mf.GREYSCALE_0_15}, 0 0 0 1px ${Mf.GREYSCALE_0_06}, 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Mf.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Mf.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Mf.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Mf.GREYSCALE_0_15},markLabel:{color:Mf.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Mf.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Mf.WHITE,color:Mf.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Mf.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${Na(Mf.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${Na(Mf.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Mf.GREYSCALE_0_15,borderRadius:$f},thumb:{height:"16px",width:"16px",borderRadius:$f,backgroundColor:Mf.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Pf,fontWeight:Bf,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Mf.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,backgroundColor:Mf.GREYSCALE_0_03,borderRadius:$f},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Mf.GREYSCALE_25,"&.Mui-selected":{color:Mf.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Pf,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:$f,"&:hover":{backgroundColor:Mf.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Mf.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Mf.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:$f,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Mf.GREYSCALE_0_05},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Mf.GREYSCALE_85}`,borderRight:`1px solid ${Mf.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Bf,backgroundColor:Mf.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Mf.GREYSCALE_98,borderBottom:`1px solid ${Mf.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Mf.GREYSCALE_85}`,borderTop:`1px solid ${Mf.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Mf.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Mf.GREYSCALE_0_05,"&:hover":{backgroundColor:Mf.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Mf.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>yo.jsx(Xf,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Mf.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Pf,borderRadius:$f,padding:"7px 16px",border:`1px solid ${Mf.GREYSCALE_0_15}`,backgroundColor:Mf.GREYSCALE_100_60,color:Mf.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Mf.GREYSCALE_0_10,border:`1px solid ${Mf.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03,border:`1px solid ${Mf.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Mf.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`,border:`1px solid ${Mf.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Mf.GREYSCALE_25,backgroundColor:Mf.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Mf.GREYSCALE_0_10,border:`1px solid ${Mf.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Of,height:24,width:24,padding:7},sizeLarge:{fontSize:If,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Pf,borderRadius:$f}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:Mf.GREYSCALE_20},tooltip:{backgroundColor:Mf.GREYSCALE_20,fontSize:Of,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Zf}:{}});var tp=()=>({mode:"light",primary:{ultraLight:Mf.GREEN_ULTRA_LIGHT,light:Mf.GREEN_PALE,main:Mf.GREEN,dark:Mf.GREEN_DARK,extraDark:Mf.GREEN_EXTRA_DARK,contrastText:Mf.WHITE},secondary:{ultraLight:Mf.BLUE_ULTRA_LIGHT,light:Mf.BLUE_PALE,main:Mf.BLUE,dark:Mf.BLUE_DARK,extraDark:Mf.BLUE_EXTRA_DARK,contrastText:Mf.WHITE},error:{ultraLight:Mf.RED_ULTRA_LIGHT,light:Mf.RED_PALE,main:Mf.RED,dark:Mf.RED_DARK,extraDark:Mf.RED_EXTRA_DARK,contrastText:Mf.WHITE},warning:{ultraLight:Mf.ORANGE_ULTRA_LIGHT,light:Mf.ORANGE_PALE,main:Mf.ORANGE,dark:Mf.ORANGE_DARK,extraDark:Mf.ORANGE_EXTRA_DARK,contrastText:Mf.WHITE},success:{ultraLight:Mf.GREEN_ULTRA_LIGHT,light:Mf.GREEN_PALE,main:Mf.GREEN,dark:Mf.GREEN_DARK,extraDark:Mf.GREEN_EXTRA_DARK,contrastText:Mf.WHITE},info:{ultraLight:Mf.BLUE_ULTRA_LIGHT,light:Mf.BLUE_PALE,main:Mf.BLUE,dark:Mf.BLUE_DARK,extraDark:Mf.BLUE_EXTRA_DARK,contrastText:Mf.WHITE},text:{primary:Mf.TEXT_PRIMARY,secondary:Mf.TEXT_SECONDARY,disabled:Mf.GREYSCALE_0_30},action:{hover:Mf.GREYSCALE_0_03,hoverOpacity:.03,selected:Mf.GREYSCALE_0_05,selectedOpacity:.05,focus:Mf.MISC_FOCUS_BORDER},amethyst:{ultraLight:Mf.WHITE,main:Mf.PURPLE,light:Mf.PURPLE_PALE,dark:Mf.PURPLE_DARK,extraDark:Mf.GREYSCALE_0_0,contrastText:Mf.WHITE},background:{paper:Mf.WHITE,default:Mf.GREYSCALE_95},divider:Mf.GREYSCALE_0_15});var np=e=>tp();var rp=(e,t=!1)=>{const n=((e,t)=>ep(t))(0,t);return{components:n,palette:np(e),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Pf,fontWeightLight:zf,fontWeightRegular:Ff,fontWeightMedium:Bf,fontWeightBold:Hf,htmlFontSize:Pf,fontFamily:jf.FONT_FAMILY,button:{fontWeight:Bf,fontSize:Pf,textTransform:"none"},body1:{fontSize:If,lineHeight:"24px"},body2:{fontSize:Pf,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Df,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:If,fontWeight:Bf,lineHeight:"16px"},h6:{fontSize:Pf,fontWeight:Bf,lineHeight:"16px"},caption:{color:Mf.TEXT_SECONDARY},subtitle1:{fontSize:Pf,color:Mf.TEXT_SECONDARY},subtitle2:{fontSize:Of,color:Mf.TEXT_SECONDARY}},shape:{borderRadius:$f}}};const op=(e="light",t=!1)=>ts(rp(e,t));var ip,ap,lp={},sp={exports:{}},up={exports:{}};function cp(){return ip||(ip=1,function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(up)),up.exports}var dp={};function fp(e,t){return function(){return null}}function pp(e){return e&&"object"===bl(e)&&e.constructor===Object}function hp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?on({},e):e;return pp(e)&&pp(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(pp(t[o])&&o in e?r[o]=hp(e[o],t[o],n):r[o]=t[o])})),r}var mp=(go.element,function(){return null});mp.isRequired=(go.element.isRequired,function(){return null});var gp=function(){return null};var vp,bp,yp={exports:{}},xp={};var _p=(bp||(bp=1,yp.exports=function(){if(vp)return xp;vp=1;var e=60103,t=60106,n=60107,r=60108,o=60114,i=60109,a=60110,l=60112,s=60113,u=60120,c=60115,d=60116,f=60121,p=60122,h=60117,m=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var v=Symbol.for;e=v("react.element"),t=v("react.portal"),n=v("react.fragment"),r=v("react.strict_mode"),o=v("react.profiler"),i=v("react.provider"),a=v("react.context"),l=v("react.forward_ref"),s=v("react.suspense"),u=v("react.suspense_list"),c=v("react.memo"),d=v("react.lazy"),f=v("react.block"),p=v("react.server.block"),h=v("react.fundamental"),m=v("react.debug_trace_mode"),g=v("react.legacy_hidden")}function b(f){if("object"==typeof f&&null!==f){var p=f.$$typeof;switch(p){case e:switch(f=f.type){case n:case o:case r:case s:case u:return f;default:switch(f=f&&f.$$typeof){case a:case l:case d:case c:case i:return f;default:return p}}case t:return p}}}var y=i,x=e,_=l,S=n,C=d,E=c,w=t,k=o,R=r,T=s;return xp.ContextConsumer=a,xp.ContextProvider=y,xp.Element=x,xp.ForwardRef=_,xp.Fragment=S,xp.Lazy=C,xp.Memo=E,xp.Portal=w,xp.Profiler=k,xp.StrictMode=R,xp.Suspense=T,xp.isAsyncMode=function(){return!1},xp.isConcurrentMode=function(){return!1},xp.isContextConsumer=function(e){return b(e)===a},xp.isContextProvider=function(e){return b(e)===i},xp.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},xp.isForwardRef=function(e){return b(e)===l},xp.isFragment=function(e){return b(e)===n},xp.isLazy=function(e){return b(e)===d},xp.isMemo=function(e){return b(e)===c},xp.isPortal=function(e){return b(e)===t},xp.isProfiler=function(e){return b(e)===o},xp.isStrictMode=function(e){return b(e)===r},xp.isSuspense=function(e){return b(e)===s},xp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===m||e===r||e===s||e===u||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===i||e.$$typeof===a||e.$$typeof===l||e.$$typeof===h||e.$$typeof===f||e[0]===p)},xp.typeOf=b,xp}()),yp.exports),Sp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Cp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||function(e){var t="".concat(e).match(Sp);return t&&t[1]||""}(e)||t}function Ep(e,t,n){var r=Cp(t);return e.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}var wp,kp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Rp=go.oneOfType([go.func,go.object]),Tp=Object.freeze({__proto__:null,HTMLElementType:function(e,t,n,r,o){return null},chainPropTypes:fp,deepmerge:hp,elementAcceptingRef:mp,elementTypeAcceptingRef:gp,exactProp:function(e){return e},formatMuiErrorMessage:function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."},getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Cp(e,"Component");if("object"===bl(e))switch(e.$$typeof){case _p.ForwardRef:return Ep(e,e.render,"ForwardRef");case _p.Memo:return Ep(e,e.type,"memo");default:return}}},ponyfillGlobal:kp,refType:Rp}),Ap=i(Tp);function Np(){if(wp)return dp;wp=1,Object.defineProperty(dp,"__esModule",{value:!0}),dp.hexToRgb=n,dp.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=o(e),n=t.values;return"#".concat(n.map((function(e){return 1===(t=e.toString(16)).length?"0".concat(t):t;var t})).join(""))},dp.hslToRgb=r,dp.decomposeColor=o,dp.recomposeColor=i,dp.getContrastRatio=function(e,t){var n=a(e),r=a(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},dp.getLuminance=a,dp.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return a(e)>.5?s(e,t):u(e,t)},dp.fade=function(e,t){return l(e,t)},dp.alpha=l,dp.darken=s,dp.lighten=u;var e=Ap;function t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function n(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function r(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,l=r*Math.min(a,1-a),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-l*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),i({type:u,values:c})}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(n(t));var r=t.indexOf("("),i=t.substring(0,r);if(-1===["rgb","rgba","hsl","hsla"].indexOf(i))throw new Error((0,e.formatMuiErrorMessage)(3,t));var a=t.substring(r+1,t.length-1).split(",");return{type:i,values:a=a.map((function(e){return parseFloat(e)}))}}function i(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e){var t="hsl"===(e=o(e)).type?o(r(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,n){return e=o(e),n=t(n),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=n,i(e)}function s(e,n){if(e=o(e),n=t(n),-1!==e.type.indexOf("hsl"))e.values[2]*=1-n;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-n;return i(e)}function u(e,n){if(e=o(e),n=t(n),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*n;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*n;return i(e)}return dp}var Lp,Mp,Op,Pp={},Ip={exports:{}},Dp={exports:{}},$p={exports:{}};function zp(){return Lp||(Lp=1,function(e){var t=cp().default;e.exports=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}($p)),$p.exports}function Fp(){return Mp||(Mp=1,function(e){var t=cp().default,n=zp();e.exports=function(e){var r=n(e,"string");return"symbol"==t(r)?r:r+""},e.exports.__esModule=!0,e.exports.default=e.exports}(Dp)),Dp.exports}function Bp(){return Op||(Op=1,function(e){var t=Fp();e.exports=function(e,n,r){return(n=t(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports}(Ip)),Ip.exports}var Hp,jp={exports:{}};function Wp(){return Hp||(Hp=1,function(e){var t=cs();e.exports=function(e,n){if(null==e)return{};var r,o,i=t(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],n.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(jp)),jp.exports}var Gp,Yp={};function Up(){if(Gp)return Yp;Gp=1;var e=Nl();Object.defineProperty(Yp,"__esModule",{value:!0}),Yp.default=function(e){var o=e.values,i=void 0===o?{xs:0,sm:600,md:960,lg:1280,xl:1920}:o,a=e.unit,l=void 0===a?"px":a,s=e.step,u=void 0===s?5:s,c=(0,n.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof i[e]?i[e]:e;return"@media (min-width:".concat(t).concat(l,")")}function f(e,t){var n=r.indexOf(t);return n===r.length-1?d(e):"@media (min-width:".concat("number"==typeof i[e]?i[e]:e).concat(l,") and ")+"(max-width:".concat((-1!==n&&"number"==typeof i[r[n+1]]?i[r[n+1]]:t)-u/100).concat(l,")")}return(0,t.default)({keys:r,values:i,up:d,down:function(e){var t=r.indexOf(e)+1,n=i[r[t]];return t===r.length?d("xs"):"@media (max-width:".concat(("number"==typeof n&&t>0?n:e)-u/100).concat(l,")")},between:f,only:function(e){return f(e,e)},width:function(e){return i[e]}},c)},Yp.keys=void 0;var t=e(ls()),n=e(Wp()),r=["xs","sm","md","lg","xl"];return Yp.keys=r,Yp}var Kp,Vp={};function qp(){if(Kp)return Vp;Kp=1;var e=Nl();Object.defineProperty(Vp,"__esModule",{value:!0}),Vp.default=function(e,r,o){var i;return(0,n.default)({gutters:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,n.default)({paddingLeft:r(2),paddingRight:r(2)},o,(0,t.default)({},e.up("sm"),(0,n.default)({paddingLeft:r(3),paddingRight:r(3)},o[e.up("sm")])))},toolbar:(i={minHeight:56},(0,t.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,t.default)(i,e.up("sm"),{minHeight:64}),i)},o)};var t=e(Bp()),n=e(ls());return Vp}var Qp,Xp={},Jp={};function Zp(){if(Qp)return Jp;Qp=1,Object.defineProperty(Jp,"__esModule",{value:!0}),Jp.default=void 0;var e={black:"#000",white:"#fff"};return Jp.default=e,Jp}var eh,th={};function nh(){if(eh)return th;eh=1,Object.defineProperty(th,"__esModule",{value:!0}),th.default=void 0;var e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};return th.default=e,th}var rh,oh={};function ih(){if(rh)return oh;rh=1,Object.defineProperty(oh,"__esModule",{value:!0}),oh.default=void 0;var e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};return oh.default=e,oh}var ah,lh={};function sh(){if(ah)return lh;ah=1,Object.defineProperty(lh,"__esModule",{value:!0}),lh.default=void 0;var e={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};return lh.default=e,lh}var uh,ch={};function dh(){if(uh)return ch;uh=1,Object.defineProperty(ch,"__esModule",{value:!0}),ch.default=void 0;var e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};return ch.default=e,ch}var fh,ph={};function hh(){if(fh)return ph;fh=1,Object.defineProperty(ph,"__esModule",{value:!0}),ph.default=void 0;var e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};return ph.default=e,ph}var mh,gh={};function vh(){if(mh)return gh;mh=1,Object.defineProperty(gh,"__esModule",{value:!0}),gh.default=void 0;var e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};return gh.default=e,gh}var bh,yh,xh={};function _h(){if(bh)return xh;bh=1,Object.defineProperty(xh,"__esModule",{value:!0}),xh.default=void 0;var e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};return xh.default=e,xh}function Sh(){if(yh)return Xp;yh=1;var e=Nl();Object.defineProperty(Xp,"__esModule",{value:!0}),Xp.default=function(e){var g=e.primary,v=void 0===g?{light:a.default[300],main:a.default[500],dark:a.default[700]}:g,b=e.secondary,y=void 0===b?{light:l.default.A200,main:l.default.A400,dark:l.default.A700}:b,x=e.error,_=void 0===x?{light:s.default[300],main:s.default[500],dark:s.default[700]}:x,S=e.warning,C=void 0===S?{light:u.default[300],main:u.default[500],dark:u.default[700]}:S,E=e.info,w=void 0===E?{light:c.default[300],main:c.default[500],dark:c.default[700]}:E,k=e.success,R=void 0===k?{light:d.default[300],main:d.default[500],dark:d.default[700]}:k,T=e.type,A=void 0===T?"light":T,N=e.contrastThreshold,L=void 0===N?3:N,M=e.tonalOffset,O=void 0===M?.2:M,P=(0,n.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function I(e){return(0,f.getContrastRatio)(e,h.text.primary)>=L?h.text.primary:p.text.primary}var D=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,t.default)({},e)).main&&e[n]&&(e.main=e[n]),!e.main)throw new Error((0,r.formatMuiErrorMessage)(4,n));if("string"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return m(e,"light",o,O),m(e,"dark",i,O),e.contrastText||(e.contrastText=I(e.main)),e},$={dark:h,light:p};return(0,r.deepmerge)((0,t.default)({common:o.default,type:A,primary:D(v),secondary:D(y,"A400","A200","A700"),error:D(_),warning:D(C),info:D(w),success:D(R),grey:i.default,contrastThreshold:L,getContrastText:I,augmentColor:D,tonalOffset:O},$[A]),P)},Xp.dark=Xp.light=void 0;var t=e(ls()),n=e(Wp()),r=Ap,o=e(Zp()),i=e(nh()),a=e(ih()),l=e(sh()),s=e(dh()),u=e(hh()),c=e(vh()),d=e(_h()),f=Np(),p={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}};Xp.light=p;var h={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.lighten)(e.main,o):"dark"===t&&(e.dark=(0,f.darken)(e.main,i)))}return Xp.dark=h,Xp}var Ch,Eh={};function wh(){if(Ch)return Eh;Ch=1;var e=Nl();Object.defineProperty(Eh,"__esModule",{value:!0}),Eh.default=function(e,s){var u="function"==typeof s?s(e):s,c=u.fontFamily,d=void 0===c?l:c,f=u.fontSize,p=void 0===f?14:f,h=u.fontWeightLight,m=void 0===h?300:h,g=u.fontWeightRegular,v=void 0===g?400:g,b=u.fontWeightMedium,y=void 0===b?500:b,x=u.fontWeightBold,_=void 0===x?700:x,S=u.htmlFontSize,C=void 0===S?16:S,E=u.allVariants,w=u.pxToRem,k=(0,n.default)(u,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),R=p/14,T=w||function(e){return"".concat(e/C*R,"rem")},A=function(e,n,r,i,a){return(0,t.default)({fontFamily:d,fontWeight:e,fontSize:T(n),lineHeight:r},d===l?{letterSpacing:"".concat(o(i/n),"em")}:{},a,E)},N={h1:A(m,96,1.167,-1.5),h2:A(m,60,1.2,-.5),h3:A(v,48,1.167,0),h4:A(v,34,1.235,.25),h5:A(v,24,1.334,0),h6:A(y,20,1.6,.15),subtitle1:A(v,16,1.75,.15),subtitle2:A(y,14,1.57,.1),body1:A(v,16,1.5,.15),body2:A(v,14,1.43,.15),button:A(y,14,1.75,.4,a),caption:A(v,12,1.66,.4),overline:A(v,12,2.66,1,a)};return(0,r.deepmerge)((0,t.default)({htmlFontSize:C,pxToRem:T,round:i,fontFamily:d,fontSize:p,fontWeightLight:m,fontWeightRegular:v,fontWeightMedium:y,fontWeightBold:_},N),k,{clone:!1})};var t=e(ls()),n=e(Wp()),r=Ap;function o(e){return Math.round(1e5*e)/1e5}function i(e){return o(e)}var a={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';return Eh}var kh,Rh={};function Th(){if(kh)return Rh;kh=1,Object.defineProperty(Rh,"__esModule",{value:!0}),Rh.default=void 0;function e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var t=["none",e(0,2,1,-1,0,1,1,0,0,1,3,0),e(0,3,1,-2,0,2,2,0,0,1,5,0),e(0,3,3,-2,0,3,4,0,0,1,8,0),e(0,2,4,-1,0,4,5,0,0,1,10,0),e(0,3,5,-1,0,5,8,0,0,1,14,0),e(0,3,5,-1,0,6,10,0,0,1,18,0),e(0,4,5,-2,0,7,10,1,0,2,16,1),e(0,5,5,-3,0,8,10,1,0,3,14,2),e(0,5,6,-3,0,9,12,1,0,3,16,2),e(0,6,6,-3,0,10,14,1,0,4,18,3),e(0,6,7,-4,0,11,15,1,0,4,20,3),e(0,7,8,-4,0,12,17,2,0,5,22,4),e(0,7,8,-4,0,13,19,2,0,5,24,4),e(0,7,9,-4,0,14,21,2,0,5,26,4),e(0,8,9,-5,0,15,22,2,0,6,28,5),e(0,8,10,-5,0,16,24,2,0,6,30,5),e(0,8,11,-5,0,17,26,2,0,6,32,5),e(0,9,11,-5,0,18,28,2,0,7,34,6),e(0,9,12,-6,0,19,29,2,0,7,36,6),e(0,10,13,-6,0,20,31,3,0,8,38,7),e(0,10,13,-6,0,21,33,3,0,8,40,7),e(0,10,14,-6,0,22,35,3,0,8,42,7),e(0,11,14,-7,0,23,36,3,0,9,44,8),e(0,11,15,-7,0,24,38,3,0,9,46,8)];return Rh.default=t,Rh}var Ah,Nh={};function Lh(){if(Ah)return Nh;Ah=1,Object.defineProperty(Nh,"__esModule",{value:!0}),Nh.default=void 0;var e={borderRadius:4};return Nh.default=e,Nh}var Mh={};function Oh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ph(e,t){if(e){if("string"==typeof e)return Oh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oh(e,t):void 0}}function Ih(e){return function(e){if(Array.isArray(e))return Oh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ph(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dh(e,t){return t?hp(e,t,{clone:!1}):e}var $h={xs:0,sm:600,md:960,lg:1280,xl:1920},zh={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat($h[e],"px)")}};function Fh(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||zh;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===bl(t)){var o=e.theme.breakpoints||zh;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function Bh(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Hh(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=Bh(e.theme,o)||{};return Fh(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Bh(a,e)||e,i&&(t=i(t))),!1===r?t:function(e,t,n){return(t=yl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function jh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Dh(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Wh(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Gh=Hh({prop:"border",themeKey:"borders",transform:Wh}),Yh=Hh({prop:"borderTop",themeKey:"borders",transform:Wh}),Uh=Hh({prop:"borderRight",themeKey:"borders",transform:Wh}),Kh=Hh({prop:"borderBottom",themeKey:"borders",transform:Wh}),Vh=Hh({prop:"borderLeft",themeKey:"borders",transform:Wh}),qh=Hh({prop:"borderColor",themeKey:"palette"}),Qh=Hh({prop:"borderRadius",themeKey:"shape"}),Xh=jh(Gh,Yh,Uh,Kh,Vh,qh,Qh);function Jh(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function Zh(e){var t=function(t){var n=e(t);return t.css?on({},Dh(n,e(on({theme:t.theme},t.css))),Jh(t.css,[e.filterProps])):t.sx?on({},Dh(n,e(on({theme:t.theme},t.sx))),Jh(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Ih(e.filterProps)),t}var em=jh(Hh({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Hh({prop:"display"}),Hh({prop:"overflow"}),Hh({prop:"textOverflow"}),Hh({prop:"visibility"}),Hh({prop:"whiteSpace"})),tm=Hh({prop:"flexBasis"}),nm=Hh({prop:"flexDirection"}),rm=Hh({prop:"flexWrap"}),om=Hh({prop:"justifyContent"}),im=Hh({prop:"alignItems"}),am=Hh({prop:"alignContent"}),lm=Hh({prop:"order"}),sm=Hh({prop:"flex"}),um=Hh({prop:"flexGrow"}),cm=Hh({prop:"flexShrink"}),dm=Hh({prop:"alignSelf"}),fm=Hh({prop:"justifyItems"}),pm=Hh({prop:"justifySelf"}),hm=jh(tm,nm,rm,om,im,am,lm,sm,um,cm,dm,fm,pm),mm=Hh({prop:"gridGap"}),gm=Hh({prop:"gridColumnGap"}),vm=Hh({prop:"gridRowGap"}),bm=Hh({prop:"gridColumn"}),ym=Hh({prop:"gridRow"}),xm=Hh({prop:"gridAutoFlow"}),_m=Hh({prop:"gridAutoColumns"}),Sm=Hh({prop:"gridAutoRows"}),Cm=Hh({prop:"gridTemplateColumns"}),Em=Hh({prop:"gridTemplateRows"}),wm=Hh({prop:"gridTemplateAreas"}),km=Hh({prop:"gridArea"}),Rm=jh(mm,gm,vm,bm,ym,xm,_m,Sm,Cm,Em,wm,km),Tm=Hh({prop:"color",themeKey:"palette"}),Am=Hh({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Nm=jh(Tm,Am),Lm=Hh({prop:"position"}),Mm=Hh({prop:"zIndex",themeKey:"zIndex"}),Om=Hh({prop:"top"}),Pm=Hh({prop:"right"}),Im=Hh({prop:"bottom"}),Dm=Hh({prop:"left"}),$m=jh(Lm,Mm,Om,Pm,Im,Dm),zm=Hh({prop:"boxShadow",themeKey:"shadows"});function Fm(e){return e<=1?"".concat(100*e,"%"):e}var Bm=Hh({prop:"width",transform:Fm}),Hm=Hh({prop:"maxWidth",transform:Fm}),jm=Hh({prop:"minWidth",transform:Fm}),Wm=Hh({prop:"height",transform:Fm}),Gm=Hh({prop:"maxHeight",transform:Fm}),Ym=Hh({prop:"minHeight",transform:Fm}),Um=Hh({prop:"size",cssProperty:"width",transform:Fm}),Km=Hh({prop:"size",cssProperty:"height",transform:Fm}),Vm=Hh({prop:"boxSizing"}),qm=jh(Bm,Hm,jm,Wm,Gm,Ym,Vm);function Qm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Ph(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xm={m:"margin",p:"padding"},Jm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},eg=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Zm[e])return[e];e=Zm[e]}var t=Qm(e.split(""),2),n=t[0],r=t[1],o=Xm[n],i=Jm[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),tg=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function ng(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function rg(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function og(e){var t=ng(e.theme);return Object.keys(e).map((function(n){if(-1===tg.indexOf(n))return null;var r=rg(eg(n),t),o=e[n];return Fh(e,o,r)})).reduce(Dh,{})}og.propTypes={},og.filterProps=tg;var ig,ag=Hh({prop:"fontFamily",themeKey:"typography"}),lg=Hh({prop:"fontSize",themeKey:"typography"}),sg=Hh({prop:"fontStyle",themeKey:"typography"}),ug=Hh({prop:"fontWeight",themeKey:"typography"}),cg=Hh({prop:"letterSpacing"}),dg=Hh({prop:"lineHeight"}),fg=Hh({prop:"textAlign"}),pg=jh(ag,lg,sg,ug,cg,dg,fg),hg=Object.freeze({__proto__:null,alignContent:am,alignItems:im,alignSelf:dm,bgcolor:Am,border:Gh,borderBottom:Kh,borderColor:qh,borderLeft:Vh,borderRadius:Qh,borderRight:Uh,borderTop:Yh,borders:Xh,bottom:Im,boxSizing:Vm,breakpoints:function(e){var t=function(t){var n=e(t),r=t.theme.breakpoints||zh,o=r.keys.reduce((function(n,o){return t[o]&&((n=n||{})[r.up(o)]=e(on({theme:t.theme},t[o]))),n}),null);return Dh(n,o)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl"].concat(Ih(e.filterProps)),t},color:Tm,compose:jh,createUnarySpacing:ng,css:function(e){return Zh(e)},display:em,flex:sm,flexBasis:tm,flexDirection:nm,flexGrow:um,flexShrink:cm,flexWrap:rm,flexbox:hm,fontFamily:ag,fontSize:lg,fontStyle:sg,fontWeight:ug,grid:Rm,gridArea:km,gridAutoColumns:_m,gridAutoFlow:xm,gridAutoRows:Sm,gridColumn:bm,gridColumnGap:gm,gridGap:mm,gridRow:ym,gridRowGap:vm,gridTemplateAreas:wm,gridTemplateColumns:Cm,gridTemplateRows:Em,height:Wm,justifyContent:om,justifyItems:fm,justifySelf:pm,left:Dm,letterSpacing:cg,lineHeight:dg,maxHeight:Gm,maxWidth:Hm,minHeight:Ym,minWidth:jm,order:lm,palette:Nm,position:Lm,positions:$m,right:Pm,shadows:zm,sizeHeight:Km,sizeWidth:Um,sizing:qm,spacing:og,style:Hh,styleFunctionSx:Zh,textAlign:fg,top:Om,typography:pg,width:Bm,zIndex:Mm}),mg=i(hg);function gg(){if(ig)return Mh;ig=1,Object.defineProperty(Mh,"__esModule",{value:!0}),Mh.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var n=(0,e.createUnarySpacing)({spacing:t}),r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?n(1):1===t.length?n(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=n(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return t}}),r.mui=!0,r};var e=mg;return Mh}var vg,bg={};function yg(){if(vg)return bg;vg=1;var e=Nl();Object.defineProperty(bg,"__esModule",{value:!0}),bg.default=bg.duration=bg.easing=void 0;var t=e(Wp()),n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};bg.easing=n;var r={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}bg.duration=r;var i={easing:n,duration:r,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,l=void 0===a?r.standard:a,s=i.easing,u=void 0===s?n.easeInOut:s,c=i.delay,d=void 0===c?0:c;return(0,t.default)(i,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof l?l:o(l)," ").concat(u," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};return bg.default=i,bg}var xg,_g,Sg={};function Cg(){if(xg)return Sg;xg=1,Object.defineProperty(Sg,"__esModule",{value:!0}),Sg.default=void 0;var e={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};return Sg.default=e,Sg}function Eg(){if(_g)return Pp;_g=1;var e=Nl();Object.defineProperty(Pp,"__esModule",{value:!0}),Pp.createMuiTheme=function(){return f.apply(void 0,arguments)},Pp.default=void 0,e(Bp());var t=e(Wp()),n=Ap,r=e(Up()),o=e(qp()),i=e(Sh()),a=e(wh()),l=e(Th()),s=e(Lh()),u=e(gg()),c=e(yg()),d=e(Cg());function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=e.breakpoints,p=void 0===f?{}:f,h=e.mixins,m=void 0===h?{}:h,g=e.palette,v=void 0===g?{}:g,b=e.spacing,y=e.typography,x=void 0===y?{}:y,_=(0,t.default)(e,["breakpoints","mixins","palette","spacing","typography"]),S=(0,i.default)(v),C=(0,r.default)(p),E=(0,u.default)(b),w=(0,n.deepmerge)({breakpoints:C,direction:"ltr",mixins:(0,o.default)(C,E,m),overrides:{},palette:S,props:{},shadows:l.default,typography:(0,a.default)(S,x),spacing:E,shape:s.default,transitions:c.default,zIndex:d.default},_),k=arguments.length,R=new Array(k>1?k-1:0),T=1;T<k;T++)R[T-1]=arguments[T];return w=R.reduce((function(e,t){return(0,n.deepmerge)(e,t)}),w)}var p=f;return Pp.default=p,Pp}var wg,kg={};function Rg(){if(wg)return kg;wg=1;var e=Nl();Object.defineProperty(kg,"__esModule",{value:!0}),kg.default=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.default.apply(void 0,[(0,t.deepmerge)({unstable_strictMode:!0},e)].concat(o))};var t=Ap,n=e(Eg());return kg}var Tg={},Ag="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Ng=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Lg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,l=""===a?"":"".concat(a,"-"),s=0,u=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Ng.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[Ag]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(l).concat(o).concat(u())}}function Mg(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var Og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pg="object"===("undefined"==typeof window?"undefined":Og(window))&&"object"===("undefined"==typeof document?"undefined":Og(document))&&9===document.nodeType;function Ig(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yl(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Dg={}.constructor;function $g(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map($g);if(e.constructor!==Dg)return e;var t={};for(var n in e)t[n]=$g(e[n]);return t}function zg(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=$g(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Fg=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Bg=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=Fg(e[n]," ");else t=Fg(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function Hg(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function jg(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Wg(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var l=Hg(n),s=l.linebreak,u=l.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var f in d){var p=d[f];null!=p&&(r&&(r+=s),r+=jg(f+":"+u+Bg(p)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(r&&(r+=s),r+=jg(h+":"+u+Bg(m)+";",i))}for(var g in t){var v=t[g];null!=v&&"fallbacks"!==g&&(r&&(r+=s),r+=jg(g+":"+u+Bg(v)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+s+r+s),jg(""+e+u+"{"+r,--i)+jg("}",i)):r}var Gg=/([[\].#*$><+~=|^:(),"'`\s])/g,Yg="undefined"!=typeof CSS&&CSS.escape,Ug=function(e){return Yg?Yg(e):e.replace(Gg,"\\$1")},Kg=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Vg=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(zs(zs(o)),l),o.selectorText="."+Ug(o.id)),o}ks(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Bg(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?on({},e,{allowEmpty:!0}):e;return Wg(this.selectorText,this.style,n)},Ig(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Kg),qg={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Vg(e,t,n)}},Qg={indent:1,children:!0},Xg=/@([\w-]+)/,Jg=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(Xg);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Sv(on({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=Qg);var t=Hg(e).linebreak;if(null==e.indent&&(e.indent=Qg.indent),null==e.children&&(e.children=Qg.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),Zg=/@container|@media|@supports\s+/,ev={onCreateRule:function(e,t,n){return Zg.test(e)?new Jg(e,t,n):null}},tv={indent:1,children:!0},nv=/@keyframes\s+([\w-]+)/,rv=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(nv);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var l in this.id=!1===o?this.name:Ug(a(this,i)),this.rules=new Sv(on({},n,{parent:this})),t)this.rules.add(l,t[l],on({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=tv);var t=Hg(e).linebreak;if(null==e.indent&&(e.indent=tv.indent),null==e.children&&(e.children=tv.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),ov=/@keyframes\s+/,iv=/\$([\w-]+)/g,av=function(e,t){return"string"==typeof e?e.replace(iv,(function(e,n){return n in t?t[n]:e})):e},lv=function(e,t,n){var r=e[t],o=av(r,n);o!==r&&(e[t]=o)},sv={onCreateRule:function(e,t,n){return"string"==typeof e&&ov.test(e)?new rv(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&lv(e,"animation-name",n.keyframes),"animation"in e&&lv(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return av(e,r.keyframes);default:return e}}},uv=function(e){function t(){return e.apply(this,arguments)||this}return ks(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?on({},e,{allowEmpty:!0}):e;return Wg(this.key,this.style,n)},t}(Kg),cv={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new uv(e,t,n):null}},dv=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=Hg(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=Wg(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return Wg(this.at,this.style,e)},e}(),fv=/@font-face/,pv={onCreateRule:function(e,t,n){return fv.test(e)?new dv(e,t,n):null}},hv=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Wg(this.key,this.style,e)},e}(),mv={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new hv(e,t,n):null}},gv=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),vv={"@charset":!0,"@import":!0,"@namespace":!0},bv={onCreateRule:function(e,t,n){return e in vv?new gv(e,t,n):null}},yv=[qg,ev,sv,cv,pv,mv,bv],xv={process:!0},_v={force:!0,process:!0},Sv=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,l=r.Renderer,s=r.generateId,u=r.scoped,c=on({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(c.selector="."+Ug(this.classes[d]));var f=zg(d,t,c);if(!f)return null;this.register(f);var p=void 0===c.index?this.index.length:c.index;return this.index.splice(p,0,f),f},t.replace=function(e,t,n){var r=this.get(e),o=this.index.indexOf(r);r&&this.remove(r);var i=n;return-1!==o&&(i=on({},n,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Vg?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof rv&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Vg?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof rv&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=xv);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t.style;if(i.onUpdate(n,t,a,r),r.process&&l&&l!==t.style){for(var s in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[s];u!==l[s]&&t.prop(s,u,_v)}for(var c in l){var d=t.style[c],f=l[c];null==d&&d!==f&&t.prop(c,null,_v)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=Hg(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),Cv=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=on({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Sv(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),Ev=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),wv=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=an(t,["attached"]),o=Hg(r).linebreak,i="",a=0;a<this.registry.length;a++){var l=this.registry[a];null!=n&&l.attached!==n||(i&&(i+=o),i+=l.toString(r))}return i},Ig(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),kv=new wv,Rv="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),Tv="2f1acc6c3a606b082e5eef5e54414ffb";null==Rv[Tv]&&(Rv[Tv]=0);var Av=Rv[Tv]++,Nv=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+Av+o+t:i+n.key+"-"+Av+(o?"-"+o:"")+"-"+t}},Lv=function(e){var t;return function(){return t||(t=e()),t}},Mv=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Ov=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Bg(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},Pv=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Iv=function(e,t){return e.selectorText=t,e.selectorText===t},Dv=Lv((function(){return document.querySelector("head")}));function $v(e){var t=kv.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Dv(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var zv=Lv((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Fv=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},Bv=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},Hv=function(){function e(e){this.getPropertyValue=Mv,this.setProperty=Ov,this.removeProperty=Pv,this.setSelector=Iv,this.hasInsertedRules=!1,this.cssRules=[],e&&kv.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=zv();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=$v(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Dv().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=Bv(n,t);if(!1===(o=Fv(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=Bv(n,t),s=Fv(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof Cv&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),jv=0,Wv=function(){function e(e){this.id=jv++,this.version="10.10.0",this.plugins=new Ev,this.options={id:{minify:!1},createGenerateId:Nv,Renderer:Pg?Hv:null,plugins:[]},this.generateId=Nv({minify:!1});for(var t=0;t<yv.length;t++)this.plugins.use(yv[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=on({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===kv.index?0:kv.index+1);var r=new Cv(e,on({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),kv.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=on({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=zg(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),Gv=function(e){return new Wv(e)},Yv="object"==typeof CSS&&null!=CSS&&"number"in CSS;function Uv(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Uv(r);i&&(t||(t={}),t[n]=i)}}return t}
|
|
97
|
+
/**
|
|
98
|
+
* A better abstraction over CSS.
|
|
99
|
+
*
|
|
100
|
+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
101
|
+
* @website https://github.com/cssinjs/jss
|
|
102
|
+
* @license MIT
|
|
103
|
+
*/Gv();var Kv=Date.now(),Vv="fnValues"+Kv,qv="fnStyle"+ ++Kv,Qv="@global",Xv="@global ",Jv=function(){function e(e,t,n){for(var r in this.type="global",this.at=Qv,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Sv(on({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Zv=function(){function e(e,t,n){this.type="global",this.at=Qv,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,on({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),eb=/\s*,\s*/g;function tb(e,t){for(var n=e.split(eb),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function nb(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Qv)return new Jv(e,t,n);if("@"===e[0]&&e.substr(0,8)===Xv)return new Zv(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Qv]:null;if(o){for(var i in o)t.addRule(i,o[i],on({},n,{selector:tb(i,e.selector)}));delete r[Qv]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,7)===Qv){var i=tb(o.substr(7),e.selector);t.addRule(i,r[o],on({},n,{selector:i})),delete r[o]}}(e,t))}}}var rb=/\s*,\s*/g,ob=/&/g,ib=/\$([\w-]+)/g;function ab(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(rb),r=e.split(rb),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(ob,a):a+" "+s}return o}function n(e,t,n){if(n)return on({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=on({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,s=o,u=s.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),f="@"===c[0];if(d||f){if(a=n(s,u,a),d){var p=t(c,s.selector);l||(l=e(u,i)),p=p.replace(ib,l);var h=s.key+"-"+c;"replaceRule"in u?u.replaceRule(h,r[c],on({},a,{selector:p})):u.addRule(h,r[c],on({},a,{selector:p}))}else f&&u.addRule(c,{},a).addRule(s.key,r[c],{selector:s.selector});delete r[c]}}return r}}}var lb=/[A-Z]/g,sb=/^ms-/,ub={};function cb(e){return"-"+e.toLowerCase()}function db(e){if(ub.hasOwnProperty(e))return ub[e];var t=e.replace(lb,cb);return ub[e]=sb.test(t)?"-"+t:t}function fb(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:db(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(fb):t.fallbacks=fb(e.fallbacks)),t}var pb=Yv&&CSS?CSS.px:"px",hb=Yv&&CSS?CSS.ms:"ms",mb=Yv&&CSS?CSS.percent:"%";function gb(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var vb=gb({"animation-delay":hb,"animation-duration":hb,"background-position":pb,"background-position-x":pb,"background-position-y":pb,"background-size":pb,border:pb,"border-bottom":pb,"border-bottom-left-radius":pb,"border-bottom-right-radius":pb,"border-bottom-width":pb,"border-left":pb,"border-left-width":pb,"border-radius":pb,"border-right":pb,"border-right-width":pb,"border-top":pb,"border-top-left-radius":pb,"border-top-right-radius":pb,"border-top-width":pb,"border-width":pb,"border-block":pb,"border-block-end":pb,"border-block-end-width":pb,"border-block-start":pb,"border-block-start-width":pb,"border-block-width":pb,"border-inline":pb,"border-inline-end":pb,"border-inline-end-width":pb,"border-inline-start":pb,"border-inline-start-width":pb,"border-inline-width":pb,"border-start-start-radius":pb,"border-start-end-radius":pb,"border-end-start-radius":pb,"border-end-end-radius":pb,margin:pb,"margin-bottom":pb,"margin-left":pb,"margin-right":pb,"margin-top":pb,"margin-block":pb,"margin-block-end":pb,"margin-block-start":pb,"margin-inline":pb,"margin-inline-end":pb,"margin-inline-start":pb,padding:pb,"padding-bottom":pb,"padding-left":pb,"padding-right":pb,"padding-top":pb,"padding-block":pb,"padding-block-end":pb,"padding-block-start":pb,"padding-inline":pb,"padding-inline-end":pb,"padding-inline-start":pb,"mask-position-x":pb,"mask-position-y":pb,"mask-size":pb,height:pb,width:pb,"min-height":pb,"max-height":pb,"min-width":pb,"max-width":pb,bottom:pb,left:pb,top:pb,right:pb,inset:pb,"inset-block":pb,"inset-block-end":pb,"inset-block-start":pb,"inset-inline":pb,"inset-inline-end":pb,"inset-inline-start":pb,"box-shadow":pb,"text-shadow":pb,"column-gap":pb,"column-rule":pb,"column-rule-width":pb,"column-width":pb,"font-size":pb,"font-size-delta":pb,"letter-spacing":pb,"text-decoration-thickness":pb,"text-indent":pb,"text-stroke":pb,"text-stroke-width":pb,"word-spacing":pb,motion:pb,"motion-offset":pb,outline:pb,"outline-offset":pb,"outline-width":pb,perspective:pb,"perspective-origin-x":mb,"perspective-origin-y":mb,"transform-origin":mb,"transform-origin-x":mb,"transform-origin-y":mb,"transform-origin-z":mb,"transition-delay":hb,"transition-duration":hb,"vertical-align":pb,"flex-basis":pb,"shape-margin":pb,size:pb,gap:pb,grid:pb,"grid-gap":pb,"row-gap":pb,"grid-row-gap":pb,"grid-column-gap":pb,"grid-template-rows":pb,"grid-template-columns":pb,"grid-auto-rows":pb,"grid-auto-columns":pb,"box-shadow-x":pb,"box-shadow-y":pb,"box-shadow-blur":pb,"box-shadow-spread":pb,"font-line-height":pb,"text-shadow-x":pb,"text-shadow-y":pb,"text-shadow-blur":pb});function bb(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=bb(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=bb(o,t[o],n);else for(var i in t)t[i]=bb(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||vb[e];return!a||0===t&&a===pb?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function yb(e){void 0===e&&(e={});var t=gb(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=bb(r,e[r],t);return e},onChangeValue:function(e,n){return bb(n,e,t)}}}var xb="",_b="",Sb="",Cb="",Eb=Pg&&"ontouchstart"in document.documentElement;if(Pg){var wb={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},kb=document.createElement("p").style;for(var Rb in wb)if(Rb+"Transform"in kb){xb=Rb,_b=wb[Rb];break}"Webkit"===xb&&"msHyphens"in kb&&(xb="ms",_b=wb.ms,Cb="edge"),"Webkit"===xb&&"-apple-trailing-word"in kb&&(Sb="apple")}var Tb=xb,Ab=_b,Nb=Sb,Lb=Cb,Mb=Eb;var Ob={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Tb?"-webkit-"+e:Ab+e)}},Pb={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Tb?Ab+"print-"+e:e)}},Ib=/[-\s]+(.)?/g;function Db(e,t){return t?t.toUpperCase():""}function $b(e){return e.replace(Ib,Db)}function zb(e){return $b("-"+e)}var Fb,Bb={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Tb){var n="mask-image";if($b(n)in t)return e;if(Tb+zb(n)in t)return Ab+e}return e}},Hb={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Nb||Mb?e:Ab+e)}},jb={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Ab+e)}},Wb={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Ab+e)}},Gb={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Tb||"ms"===Tb&&"edge"!==Lb?Ab+e:e)}},Yb={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Tb||"ms"===Tb||"apple"===Nb?Ab+e:e)}},Ub={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Tb?"WebkitColumn"+zb(e)in t&&Ab+"column-"+e:"Moz"===Tb&&("page"+zb(e)in t&&"page-"+e))}},Kb={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Tb)return e;var n=e.replace("-inline","");return Tb+zb(n)in t&&Ab+n}},Vb={supportedProperty:function(e,t){return $b(e)in t&&e}},qb={supportedProperty:function(e,t){var n=zb(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Tb+n in t?Ab+e:"Webkit"!==Tb&&"Webkit"+n in t&&"-webkit-"+e}},Qb={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Tb?""+Ab+e:e)}},Xb={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Tb?Ab+"scroll-chaining":e)}},Jb={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Zb={supportedProperty:function(e,t){var n=Jb[e];return!!n&&(Tb+zb(n)in t&&Ab+n)}},ey={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ty=Object.keys(ey),ny=function(e){return Ab+e},ry={supportedProperty:function(e,t,n){var r=n.multiple;if(ty.indexOf(e)>-1){var o=ey[e];if(!Array.isArray(o))return Tb+zb(o)in t&&Ab+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(Tb+zb(o[0])in t))return!1;return o.map(ny)}return!1}},oy=[Ob,Pb,Bb,Hb,jb,Wb,Gb,Yb,Ub,Kb,Vb,qb,Qb,Xb,Zb,ry],iy=oy.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),ay=oy.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Ih(t.noPrefill)),e}),[]),ly={};if(Pg){Fb=document.createElement("p");var sy=window.getComputedStyle(document.documentElement,"");for(var uy in sy)isNaN(uy)||(ly[sy[uy]]=sy[uy]);ay.forEach((function(e){return delete ly[e]}))}function cy(e,t){if(void 0===t&&(t={}),!Fb)return e;if(null!=ly[e])return ly[e];"transition"!==e&&"transform"!==e||(t[e]=e in Fb.style);for(var n=0;n<iy.length&&(ly[e]=iy[n](e,Fb.style,t),!ly[e]);n++);try{Fb.style[e]=""}catch(e){return!1}return ly[e]}var dy,fy={},py={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},hy=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function my(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?cy(t):", "+cy(n);return r||(t||n)}function gy(e,t){var n=t;if(!dy||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=fy[r])return fy[r];try{dy.style[e]=n}catch(e){return fy[r]=!1,!1}if(py[e])n=n.replace(hy,my);else if(""===dy.style[e]&&("-ms-flex"===(n=Ab+n)&&(dy.style[e]="-ms-flexbox"),dy.style[e]=n,""===dy.style[e]))return fy[r]=!1,!1;return dy.style[e]="",fy[r]=n,fy[r]}function vy(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=cy(n);i&&i!==n&&(o=!0);var a=!1,l=gy(i,Bg(r));l&&l!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=l||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===Tb?e:"@"+Ab+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return gy(t,Bg(e))||e}}}function by(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=zg(e,{},n);return r[qv]=t,r},onProcessStyle:function(e,t){if(Vv in t||qv in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Vv]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[qv];i&&(o.style=i(e)||{});var a=o[Vv];if(a)for(var l in a)o.prop(l,a[l](e),r)}},nb(),ab(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=fb(e[t]);return e}return fb(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=db(t);return t===r?e:(n.prop(r,e),null)}},yb(),"undefined"==typeof window?null:vy(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function yy(e,t){if(null==e)return{};var n,r,o=an(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=on({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Pg&&(dy=document.createElement("p"));var _y=function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},Sy=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},Cy=function(e,t,n){e.get(t).delete(n)},Ey=R.createContext(null);function wy(){return R.useContext(Ey)}var ky,Ry=Gv(by()),Ty=Lg(),Ay=new Map,Ny={disableGeneration:!1,generateClassName:Ty,jss:Ry,sheetsCache:null,sheetsManager:Ay,sheetsRegistry:null},Ly=R.createContext(Ny);function My(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=yy(e,["children","injectFirst","disableGeneration"]),l=on({},R.useContext(Ly),{disableGeneration:i},a);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!ky){var s=document.head;ky=document.createComment("mui-inject-first"),s.insertBefore(ky,s.firstChild)}l.jss=Gv({plugins:by().plugins,insertionPoint:ky})}return R.createElement(Ly.Provider,{value:l},t)}var Oy=-1e9;var Py={};function Iy(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var l=Sy(o.sheetsManager,i,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},_y(o.sheetsManager,i,r,l));var s=on({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(0===l.refs){var c;o.sheetsCache&&(c=Sy(o.sheetsCache,i,r));var d=i.create(r,a);c||((c=o.jss.createStyleSheet(d,on({link:!1},s))).attach(),o.sheetsCache&&_y(o.sheetsCache,i,r,c)),u&&u.add(c),l.staticSheet=c,l.dynamicStyles=Uv(d)}if(l.dynamicStyles){var f=o.jss.createStyleSheet(l.dynamicStyles,on({link:!0},s));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=xy({baseClasses:l.staticSheet.classes,newClasses:f.classes}),u&&u.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Dy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?Py:i,l=yy(t,["name","classNamePrefix","Component","defaultTheme"]),s=function(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=on({},o);return Object.keys(i).forEach((function(e){a[e]=hp(a[e],i[e])})),a},options:{}}}(e),u=n||r||"makeStyles";s.options={index:Oy+=1,name:n,meta:u,classNamePrefix:u};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=wy()||a,r=on({},R.useContext(Ly),l),i=R.useRef(),u=R.useRef();!function(e,t){var n,r=R.useRef([]),o=R.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),R.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var o={name:n,state:{},stylesCreator:s,stylesOptions:r,theme:t};return Iy(o,e),u.current=!1,i.current=o,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Sy(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Cy(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,s]),R.useEffect((function(){u.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(i.current,e),u.current=!0}));var c=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=xy({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(i.current,e.classes,o);return c}}var $y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t}return Ig(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new wv;var n=Lg();return R.createElement(My,on({sheetsManager:t,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return R.createElement("style",on({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}();function zy(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=zy(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Fy(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=zy(e))&&(r&&(r+=" "),r+=t);return r}function By(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var n=R.forwardRef((function(n,r){var o=n.innerRef,i=yy(n,["innerRef"]),a=wy()||e;return R.createElement(t,on({theme:a,ref:o||r},i))}));return br(n,t),n}}var Hy,jy=By(),Wy=Object.freeze({__proto__:null,ServerStyleSheets:$y,StylesContext:Ly,StylesProvider:My,ThemeProvider:function(e){var t=e.children,n=e.theme,r=wy(),o=R.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):on({},e,t)}(r,n);return null!=e&&(e[Ag]=null!==r),e}),[n,r]);return R.createElement(Ey.Provider,{value:o},t)},createGenerateClassName:Lg,createStyles:function(e){return e},getThemeProps:Mg,jssPreset:by,makeStyles:Dy,mergeClasses:xy,sheetsManager:Ay,styled:function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=yy(r,["name"]),a=o,l=Dy("function"==typeof t?function(e){return{root:function(n){return t(on({theme:e},n))}}}:{root:t},on({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var s=R.forwardRef((function(t,r){var o,i,a,s=t.children,u=t.className,c=t.clone,d=t.component,f=yy(t,["children","className","clone","component"]),p=Fy(l(t).root,u),h=f;if(n&&(o=h,i=n,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),c)return R.cloneElement(s,on({className:Fy(s.props.className,p)},h));if("function"==typeof s)return s(on({className:p},h));var m=d||e;return R.createElement(m,on({ref:r,className:p},h),s)}));return br(s,e),s}},useTheme:wy,withStyles:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,l=yy(t,["defaultTheme","withTheme","name"]),s=a,u=Dy(e,on({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:s},l)),c=R.forwardRef((function(e,t){e.classes;var o,l=e.innerRef,s=yy(e,["classes","innerRef"]),c=u(on({},n.defaultProps,e)),d=s;return("string"==typeof a||i)&&(o=wy()||r,a&&(d=Mg({theme:o,name:a,props:s})),i&&!d.theme&&(d.theme=o)),R.createElement(n,on({ref:l||t,classes:c},d))}));return br(c,n),c}},withTheme:jy,withThemeCreator:By}),Gy=i(Wy);
|
|
104
|
+
/** @license Material-UI v4.11.5
|
|
105
|
+
*
|
|
106
|
+
* This source code is licensed under the MIT license found in the
|
|
107
|
+
* LICENSE file in the root directory of this source tree.
|
|
108
|
+
*/function Yy(){if(Hy)return Tg;Hy=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.default=function(t){return(0,e.createStyles)(t)};var e=Gy;return Tg}var Uy,Ky,Vy={},qy={};function Qy(){if(Uy)return qy;Uy=1;var e=Nl();Object.defineProperty(qy,"__esModule",{value:!0}),qy.default=void 0;var t=(0,e(Eg()).default)();return qy.default=t,qy}function Xy(){if(Ky)return Vy;Ky=1;var e=Nl();Object.defineProperty(Vy,"__esModule",{value:!0}),Vy.default=void 0;var t=e(ls()),n=Gy,r=e(Qy());var o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,n.makeStyles)(e,(0,t.default)({defaultTheme:r.default},o))};return Vy.default=o,Vy}var Jy,Zy,ex={},tx={};function nx(){if(Jy)return tx;Jy=1;var e=Nl();Object.defineProperty(tx,"__esModule",{value:!0}),tx.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},tx.getUnit=n,tx.toUnitless=r,tx.convertLength=function(e){return function(t,o){var i=n(t);if(i===o)return t;var a=r(t);if("px"!==i)if("em"===i)a=r(t)*r(e);else if("rem"===i)return a=r(t)*r(e),t;var l=a;if("px"!==o)if("em"===o)l=a/r(e);else{if("rem"!==o)return t;l=a/r(e)}return parseFloat(l.toFixed(5))+o}},tx.alignProperty=function(e){var t=e.size,n=e.grid,r=t-t%n,o=r+n;return t-r<o-t?r:o},tx.fontGrid=function(e){var t=e.lineHeight,n=e.pixels,r=e.htmlFontSize;return n/(t*r)},tx.responsiveProperty=function(e){var n=e.cssProperty,r=e.min,o=e.max,i=e.unit,a=void 0===i?"rem":i,l=e.breakpoints,s=void 0===l?[600,960,1280]:l,u=e.transform,c=void 0===u?null:u,d=(0,t.default)({},n,"".concat(r).concat(a)),f=(o-r)/s[s.length-1];return s.forEach((function(e){var o=r+f*e;null!==c&&(o=c(o)),d["@media (min-width:".concat(e,"px)")]=(0,t.default)({},n,"".concat(Math.round(1e4*o)/1e4).concat(a))})),d};var t=e(Bp());function n(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function r(e){return parseFloat(e)}return tx}function rx(){if(Zy)return ex;Zy=1;var e=Nl();Object.defineProperty(ex,"__esModule",{value:!0}),ex.default=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.breakpoints,a=void 0===i?["sm","md","lg"]:i,l=o.disableAlign,s=void 0!==l&&l,u=o.factor,c=void 0===u?2:u,d=o.variants,f=void 0===d?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:d,p=(0,t.default)({},e);p.typography=(0,t.default)({},p.typography);var h=p.typography,m=(0,r.convertLength)(h.htmlFontSize),g=a.map((function(e){return p.breakpoints.values[e]}));return f.forEach((function(e){var o=h[e],i=parseFloat(m(o.fontSize,"rem"));if(!(i<=1)){var a=i,l=1+(a-1)/c,u=o.lineHeight;if(!(0,r.isUnitless)(u)&&!s)throw new Error((0,n.formatMuiErrorMessage)(6));(0,r.isUnitless)(u)||(u=parseFloat(m(u,"rem"))/parseFloat(i));var d=null;s||(d=function(e){return(0,r.alignProperty)({size:e,grid:(0,r.fontGrid)({pixels:4,lineHeight:u,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,t.default)({},o,(0,r.responsiveProperty)({cssProperty:"fontSize",min:l,max:a,unit:"rem",breakpoints:g,transform:d}))}})),p};var t=e(ls()),n=Ap,r=nx();return ex}var ox,ix={};function ax(){if(ox)return ix;ox=1;var e=Nl();Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=void 0;var t=e(ls()),n=Gy,r=e(Qy()),o=function(e){var o=(0,n.styled)(e);return function(e,n){return o(e,(0,t.default)({defaultTheme:r.default},n))}};return ix.default=o,ix}var lx,sx={};function ux(){if(lx)return sx;lx=1;var e=Nl();Object.defineProperty(sx,"__esModule",{value:!0}),sx.default=function(){return(0,t.useTheme)()||n.default};var t=Gy;e(h());var n=e(Qy());return sx}var cx,dx={};function fx(){if(cx)return dx;cx=1;var e=Nl();Object.defineProperty(dx,"__esModule",{value:!0}),dx.default=void 0;var t=e(ls()),n=Gy,r=e(Qy());var o=function(e,o){return(0,n.withStyles)(e,(0,t.default)({defaultTheme:r.default},o))};return dx.default=o,dx}var px,hx,mx={};function gx(){if(px)return mx;px=1;var e=Nl();Object.defineProperty(mx,"__esModule",{value:!0}),mx.default=void 0;var t=Gy,n=e(Qy()),r=(0,t.withThemeCreator)({defaultTheme:n.default});return mx.default=r,mx}function vx(){return hx||(hx=1,function(e){var t=Nl(),n=(ap||(ap=1,function(e){var t=cp().default;function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}e.exports=function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var o=n(r);if(o&&o.has(e))return o.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var s=a?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=e[l]}return i.default=e,o&&o.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports}(sp)),sp.exports);Object.defineProperty(e,"__esModule",{value:!0});var r={createTheme:!0,createMuiTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,makeStyles:!0,responsiveFontSizes:!0,styled:!0,useTheme:!0,withStyles:!0,withTheme:!0,createGenerateClassName:!0,jssPreset:!0,ServerStyleSheets:!0,StylesProvider:!0,MuiThemeProvider:!0,ThemeProvider:!0};Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createMuiTheme",{enumerable:!0,get:function(){return i.createMuiTheme}}),Object.defineProperty(e,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"makeStyles",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"responsiveFontSizes",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"styled",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"withStyles",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"withTheme",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createGenerateClassName",{enumerable:!0,get:function(){return m.createGenerateClassName}}),Object.defineProperty(e,"jssPreset",{enumerable:!0,get:function(){return m.jssPreset}}),Object.defineProperty(e,"ServerStyleSheets",{enumerable:!0,get:function(){return m.ServerStyleSheets}}),Object.defineProperty(e,"StylesProvider",{enumerable:!0,get:function(){return m.StylesProvider}}),Object.defineProperty(e,"MuiThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}});var o=Np();Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=n(Eg()),a=t(Rg()),l=t(Yy()),s=t(Xy()),u=t(rx()),c=t(ax()),d=yg();Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(r,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var f=t(ux()),p=t(fx()),h=t(gx()),m=Gy}(lp)),lp}var bx=vx(),yx=Object.defineProperty,xx=(e,t)=>{for(var n in t)yx(e,n,{get:t[n],enumerable:!0})};xx({},{light:()=>_x});const _x={root:{backgroundColor:Mf.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&$expanded":{margin:"0px"}}};xx({},{light:()=>Sx});const Sx={root:{backgroundColor:Mf.WHITE}};xx({},{light:()=>Cx});const Cx={root:{padding:"0px 16px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Mf.GREYSCALE_0_15}`,"&$focused":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,borderRadius:$f,backgroundColor:Mf.GREYSCALE_0_03},"&$expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis"}};xx({},{light:()=>Ex});const Ex={root:{flex:"0 0 48px",flexDirection:"row",boxShadow:`inset 0 -1px 0 0 ${Mf.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Mf.WHITE,color:Mf.TEXT_PRIMARY}};xx({},{light:()=>wx});const wx={inputRoot:{boxSizing:"border-box",borderRadius:$f,"&&":{padding:0},"&&& input":{padding:"8px 4px"},"&&& $endAdornment":{right:4}},listbox:{paddingTop:0,paddingBottom:0},option:{fontSize:Pf,height:"32px",'&[data-focus="true"]':{backgroundColor:Mf.GREYSCALE_0_03}},endAdornment:{top:"auto",bottom:"4px",position:"absolute"},popupIndicator:{borderRadius:$f,border:`solid 1px ${Mf.GREYSCALE_0_15}`,color:Mf.GREYSCALE_0_60,marginRight:0,width:Df,height:Df,"& svg":{fontSize:"0.7em"},"& i":{lineHeight:"1 !important"}},paper:{marginTop:"5px",boxShadow:`0px 2px 4px 0px ${Mf.GREYSCALE_0_15}`},clearIndicator:{"& svg":{fontSize:"0.5em",position:"absolute"},color:Mf.GREYSCALE_25,width:If,height:Df,borderRadius:$f,backgroundColor:"unset",marginRight:"4px","&&&&:hover":{backgroundColor:bx.alpha(Mf.GREYSCALE_0,.05)}},popupIndicatorOpen:{backgroundColor:Mf.GREYSCALE_0_10}};xx({},{light:()=>kx});const kx={badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}};xx({},{light:()=>Rx});const Rx={root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$f,"& > $label > i:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Mf.GREYSCALE_0_15,backgroundColor:Mf.GREYSCALE_100_60,"&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&$focusVisible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},containedPrimary:{"&:hover":{backgroundColor:Mf.GREEN_PALE},"&:active":{backgroundColor:Mf.GREEN_DARK},"&$focusVisible":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Mf.BLUE_PALE},"&:active":{backgroundColor:Mf.BLUE_DARK},"&$focusVisible":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.BLUE_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > $label > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > $label > i:only-child":{marginLeft:"-10px",marginRight:"-10px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}};xx({},{light:()=>Tx});const Tx={root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:$f},groupedText:{padding:"8px 16px","&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`}},groupedOutlined:{padding:"7px 16px",borderColor:Mf.GREYSCALE_0_15,backgroundColor:Mf.GREYSCALE_100_60,"&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&$focusVisible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Mf.GREEN_PALE},"&:active":{backgroundColor:Mf.GREEN_DARK},"&$focusVisible":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Mf.BLUE_PALE},"&:active":{backgroundColor:Mf.BLUE_DARK},"&$focusVisible":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.BLUE_PALE,.5)}`}}};xx({},{light:()=>Ax});const Ax={root:{height:"100%","& $focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Mf.GREYSCALE_0_03,"& $focusHighlight":{opacity:0}},"&:active":{backgroundColor:Mf.GREYSCALE_95,boxShadow:"none"},"&$focusVisible":{borderRadius:$f,boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,"& $focusHighlight":{opacity:0}}}};xx({},{light:()=>Nx});const Nx={root:{borderWidth:1,"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:3},"&:not($disabled)":{"&:not($checked)":{"&:not($indeterminate)":{"& span":{color:Mf.WHITE}}}},"&$disabled":{"& span":{pointerEvents:"auto",cursor:"not-allowed",color:Mf.GREYSCALE_0_25}}},colorPrimary:{"&.sprout-focus-visible i":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible i":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.BLUE_PALE,.5)}`}}};xx({},{light:()=>Lx});const Lx={root:{height:"24px",fontSize:Of,borderRadius:$f,color:Mf.TEXT_PRIMARY,backgroundColor:Mf.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}`},"&$disabled":{backgroundColor:Mf.GREYSCALE_0_05,color:Mf.GREYSCALE_0_30,border:"none",opacity:1}},outlined:{border:`solid 1px ${Mf.GREYSCALE_0_15}`,backgroundColor:Mf.GREYSCALE_100_15,"$clickable&:active ":{boxSizing:"border-box",borderRadius:$f,boxShadow:"none",backgroundColor:Mf.GREYSCALE_0_10},"& $deleteIconSmall":{height:13,color:"inherit"}},label:{fontFamily:jf.FONT_FAMILY,lineHeight:"16px"}};xx({},{light:()=>Mx});const Mx={root:{padding:"8px",backgroundColor:Mf.GREYSCALE_98,borderTop:`1px ${Mf.GREYSCALE_0_15} solid`}};xx({},{light:()=>Ox});const Ox={root:{padding:"24px"}};xx({},{light:()=>Px});const Px={root:{marginBottom:0}};xx({},{light:()=>Ix});const Ix={root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",height:"24px",padding:"12px 8px 12px 24px",fontSize:"16px",lineHeight:"24px",backgroundColor:Mf.GREYSCALE_98,borderBottom:`1px ${Mf.GREYSCALE_0_15} solid`}};xx({},{light:()=>Dx});const Dx={middle:{margin:"4px 8px"}};xx({},{light:()=>$x});const $x={root:{marginLeft:"-10px"},label:{fontSize:Pf}};xx({},{light:()=>zx});const zx={root:{fontSize:Of,lineHeight:"16px",margin:"4px 0 0 0","&$error":{color:Mf.RED}},contained:{marginLeft:0,marginRight:0}};xx({},{light:()=>Fx});const Fx={root:{color:Mf.GREYSCALE_25,fontSize:Of,fontFamily:jf.FONT_FAMILY,fontWeight:Bf,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&$focused":{color:Mf.TEXT_PRIMARY},"&$error":{color:Mf.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Mf.TEXT_SECONDARY,position:"absolute",content:"'(optional)'",fontWeight:Ff,marginLeft:"4px"}}},asterisk:{visibility:"hidden",display:"inline-flex","&::after":{visibility:"visible",color:Mf.TEXT_SECONDARY,position:"absolute",content:"'(required)'",fontWeight:Ff,marginLeft:"4px"}}};xx({},{light:()=>Bx});const Bx={root:{padding:7,borderRadius:$f,border:"1px solid transparent","&.sprout-focus-visible":{borderColor:Mf.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`},"&&&:hover":{backgroundColor:"transparent"}}};xx({},{light:()=>Hx});const Hx={root:{padding:"4px 8px",color:Mf.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}};xx({},{light:()=>jx});const jx={input:{padding:"8px 12px",lineHeight:"16px"}};xx({},{light:()=>Wx});const Wx={outlined:{fontSize:`${Of}px`,fontWeight:Bf,color:Mf.GREYSCALE_25,"&$shrink":{transform:"translate(0px, -8px)",fontWeight:Bf}}};xx({},{light:()=>Gx});const Gx={root:{color:Mf.MISC_FOCUS_BORDER}};xx({},{light:()=>Yx});const Yx={padding:{paddingTop:"0px",paddingBottom:"0px"}};xx({},{light:()=>Ux});const Ux={root:{minHeight:"32px",fontSize:Pf,"&$selected":{backgroundColor:"unset","&:not($disabled)":{"&::after":{content:`url('${Wf}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Mf.RED}}}},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:Mf.GREYSCALE_0_03},"&:active":{backgroundColor:Mf.GREYSCALE_0_05}}};xx({},{light:()=>Kx});const Kx={root:{color:Mf.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}};xx({},{light:()=>Vx});const Vx={root:{fontSize:"12px"},primary:{fontSize:Pf,color:Mf.TEXT_PRIMARY,lineHeight:"16px"},secondary:{fontSize:Of,fontWeight:zf,lineHeight:"16px",color:Mf.TEXT_SECONDARY}};xx({},{light:()=>qx});const qx={root:{'&[role="option"]':{color:Mf.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Of,borderBottom:`solid 1px ${Mf.GREYSCALE_0_15}`,pointerEvents:"none"}}};xx({},{light:()=>Qx});const Qx={list:{paddingTop:4,paddingBottom:4},paper:{marginTop:4,marginBottom:4,background:Mf.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15)",borderRadius:"2px"}};xx({},{light:()=>Xx});const Xx={root:{fontSize:Pf,height:"32px",'[class*="MuiListSubheader-root"] ~ &[role="option"]':{paddingLeft:"20px"},"& div i":{color:Mf.GREYSCALE_25}}};xx({},{light:()=>Jx});const Jx={root:{fontSize:Pf,lineHeight:"16px",backgroundColor:Mf.WHITE,borderRadius:$f,"&:not($focused):not($error):not($disabled):hover $notchedOutline":{border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderColor:Mf.GREYSCALE_0_30},"&$focused:not($error) $notchedOutline":{border:`solid 1px ${Mf.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},"&$focused$error $notchedOutline":{border:`solid 1px ${Mf.RED}`,boxShadow:`0px 0px 0px 1px ${Mf.RED}, inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},"&$disabled":{backgroundColor:"transparent"},"&$disabled $notchedOutline":{border:`solid 1px ${Mf.GREYSCALE_0_10}`,borderColor:Mf.GREYSCALE_0_10,backgroundColor:Mf.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Mf.TEXT_PRIMARY,padding:"8px 12px","&$disabled":{opacity:.45}},notchedOutline:{borderColor:Mf.GREYSCALE_0_15,borderRadius:$f,boxShadow:`inset 0 2px 0 0 ${Mf.GREYSCALE_0_05}`},multiline:{padding:"8px 12px"}};xx({},{light:()=>Zx});const Zx={day:{"&&&:hover":{backgroundColor:Mf.GREYSCALE_0_03}},daySelected:{"&&&:hover":{backgroundColor:Mf.GREEN}}};xx({},{light:()=>e_});const e_={paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Mf.GREYSCALE_0_15}, 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`}};xx({},{light:()=>t_});const t_={root:{fill:Mf.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`},"&$checked":{"&$colorPrimary":{"&.sprout-focus-visible i":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.GREEN_PALE,.5)}`}},"&$colorSecondary":{"&.sprout-focus-visible i":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.BLUE_PALE,.5)}`}},"&$disabled":{color:Mf.GREYSCALE_0_20}},"&$disabled":{fill:Mf.GREYSCALE_0_20,stroke:"none"}}};xx({},{light:()=>n_});const n_={root:{height:"32px",zIndex:1,borderRadius:"3px !important","& em":{color:Mf.TEXT_SECONDARY,WebkitFontSmoothing:"antialiased","&::after":{content:""}},"& ~svg":{position:"absolute",top:"unset",right:"12px"},"&[aria-expanded=true]":{backgroundColor:Mf.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03},"&:active":{backgroundColor:Mf.GREYSCALE_0_10},"&:focus":{backgroundColor:Mf.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Mf.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Mf.MISC_FOCUS_BORDER}`},"&$disabled":{opacity:"unset",color:Mf.GREYSCALE_0_30,"&:hover":{backgroundColor:Mf.GREYSCALE_0_0,borderColor:Mf.GREYSCALE_0_15},"& ~svg":{color:Mf.GREYSCALE_0_30}}},selectMenu:{height:"14px"},outlined:{border:`solid 1px ${Mf.GREYSCALE_0_15}`}};xx({},{light:()=>r_});const r_={root:{color:Mf.GREEN,height:"24px","&$disabled":{color:Mf.GREYSCALE_0_15}},rail:{backgroundColor:Mf.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderRadius:$f,boxShadow:`inset 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Mf.GREYSCALE_0_05}`,borderRadius:$f},thumb:{height:"16px",width:"16px",borderRadius:$f,backgroundColor:Mf.WHITE,boxShadow:`0px 1px 2px 0px ${Mf.GREYSCALE_0_15}, 0px 0px 0px 1px ${Mf.GREYSCALE_0_05}`,"&:hover":{borderRadius:$f,boxShadow:`0 2px 4px 0 ${Mf.GREYSCALE_0_30}, 0 0 0 1px ${Mf.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Mf.GREYSCALE_0_15}, 0 0 0 1px ${Mf.GREYSCALE_0_06}, 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`},"&$disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Mf.GREYSCALE_90},"& .bar":{height:"8px",width:"1px",backgroundColor:Mf.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Mf.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Mf.GREYSCALE_0_15},markLabel:{color:Mf.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Mf.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},active:{}};xx({},{light:()=>o_});const o_={root:{backgroundColor:Mf.WHITE,color:Mf.GREYSCALE_25}};xx({},{light:()=>i_});const i_={root:{padding:"10px",width:"60px",height:"40px"},switchBase:{padding:"11px","&$disabled":{"& $thumb":{backgroundColor:Mf.GREYSCALE_100_50}},"&$checked + $track":{opacity:1},"&$disabled + $track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + $track":{borderColor:Mf.GREEN_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + $track":{borderColor:Mf.BLUE_PALE,boxShadow:`0 0 0 3px ${bx.alpha(Mf.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Mf.GREYSCALE_0_15,borderRadius:$f},thumb:{height:"16px",width:"16px",borderRadius:$f,backgroundColor:Mf.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& $thumb":{height:"12px",width:"12px"},"& $switchBase":{padding:"9px 11px"}}};xx({},{light:()=>a_});const a_={root:{fontSize:Pf,fontWeight:Bf,textTransform:"none",minWidth:"auto",boxSizing:"border-box","&:hover":{borderBottom:`2px solid ${Mf.GREYSCALE_80}`,paddingBottom:"4px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Mf.MISC_FOCUS_BORDER}`,paddingTop:"4px",backgroundColor:Mf.GREYSCALE_0_03,borderRadius:$f,minHeight:"44px",paddingBottom:"4px",border:"none"},"&$disabled":{opacity:.3}},textColorPrimary:{color:Mf.GREYSCALE_25,"&$selected":{color:Mf.GREYSCALE_25}},textColorInherit:{opacity:"unset"},fullWidth:{"&.sprout-focus-visible":{paddingRight:12,paddingLeft:12}},wrapper:{alignItems:"initial"},labelIcon:{minWidth:"40px",minHeight:"48px","&.sprout-focus-visible":{minHeight:"auto",height:"30px",marginTop:9,marginBottom:9,flexDirection:"column",paddingRight:"12px",paddingBottom:"2px"},"& $wrapper":{display:"block"}}};xx({},{light:()=>l_});const l_={root:{borderLeft:`1px solid ${Mf.GREYSCALE_85}`}};xx({},{light:()=>s_});const s_={root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Mf.GREYSCALE_85}`,borderRight:`1px solid ${Mf.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Bf,backgroundColor:Mf.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&$head":{height:"31px"},"&$paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Mf.GREYSCALE_98,borderBottom:`1px solid ${Mf.GREYSCALE_85}`}};xx({},{light:()=>u_});const u_={root:{borderBottom:`1px solid ${Mf.GREYSCALE_85}`,borderTop:`1px solid ${Mf.GREYSCALE_85}`}};xx({},{light:()=>c_});const c_={root:{backgroundColor:Mf.GREYSCALE_98}};xx({},{light:()=>d_});const d_={hover:{"&$selected":{backgroundColor:Mf.GREYSCALE_0_05,"&:hover":{backgroundColor:Mf.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Mf.GREYSCALE_0_03}}};xx({},{light:()=>f_});const f_={root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&$active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}};xx({},{light:()=>p_});const p_={scroller:{height:"100%"},flexContainer:{height:"100%",marginLeft:2,marginRight:2},root:{fontSize:Pf,fontWeight:"bold"},indicator:{height:2}};xx({},{light:()=>h_});const h_={root:{height:32,lineHeight:16,width:32,fontSize:Pf,borderRadius:$f,padding:"7px 16px",border:`1px solid ${Mf.GREYSCALE_0_15}`,backgroundColor:Mf.GREYSCALE_100_60,color:Mf.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Mf.GREYSCALE_0_10,border:`1px solid ${Mf.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Mf.GREYSCALE_0_03,border:`1px solid ${Mf.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Mf.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Mf.MISC_FOCUS_BORDER}`,border:`1px solid ${Mf.MISC_FOCUS_BORDER}`,zIndex:2},"&$selected":{color:Mf.GREYSCALE_25,backgroundColor:Mf.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Mf.GREYSCALE_0_10,border:`1px solid ${Mf.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Of,height:24,width:24,padding:7},sizeLarge:{fontSize:If,height:40,width:40,lineHeight:20}};xx({},{light:()=>m_});const m_={root:{height:"32px",lineHeight:"16px",fontSize:Pf,borderRadius:$f}};xx({},{light:()=>g_});const g_={root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}};xx({},{light:()=>v_});const v_={arrow:{color:Mf.GREYSCALE_20},tooltip:{backgroundColor:Mf.GREYSCALE_20,fontSize:Of,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}},b_=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m7.999 9.001-2.858-2.86a.2.2 0 0 0-.282 0l-.718.719a.2.2 0 0 0 0 .282L7 10.001l.859.858a.2.2 0 0 0 .282 0L9 10l2.859-2.859a.2.2 0 0 0 0-.282l-.718-.718a.2.2 0 0 0-.283 0L8 9Z"})}),y_=k.forwardRef(b_);var x_=Object.defineProperty,__=Object.getOwnPropertySymbols,S_=Object.prototype.hasOwnProperty,C_=Object.prototype.propertyIsEnumerable,E_=(e,t,n)=>t in e?x_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w_=(e,t)=>{for(var n in t)x_(e,n,{get:t[n],enumerable:!0})},k_=(e,t,n)=>(E_(e,"symbol"!=typeof t?t+"":t,n),n);w_({},{DEFAULT_LANGUAGE:()=>T_,DEFAULT_LANGUAGE_SHORT:()=>A_,flattenParams:()=>z_,flattenTranslationsJSON:()=>M_,format:()=>F_,formatWithKeys:()=>B_,getLongLanguageDesc:()=>$_,getShortLanguageDesc:()=>D_,parseLangFromUrl:()=>O_,resolveLocale:()=>I_,updateLangAttribute:()=>H_});var R_=[{short:"es",long:"es-ES",label:"Spanish",translatedLabel:"Common.Spanish"},{short:"sv",long:"sv-SE",label:"Swedish",translatedLabel:"Common.Swedish"},{short:"ja",long:"ja-JP",label:"Japanese",translatedLabel:"Common.Japanese"},{short:"en",long:"en-US",label:"English",translatedLabel:"Common.English"},{short:"de",long:"de-DE",label:"German",translatedLabel:"Common.German"},{short:"fr",long:"fr-FR",label:"French",translatedLabel:"Common.French"},{short:"it",long:"it-IT",label:"Italian",translatedLabel:"Common.Italian"},{short:"nl",long:"nl-NL",label:"Dutch",translatedLabel:"Common.Dutch"},{short:"pt",long:"pt-BR",label:"Brazilian Portuguese",translatedLabel:"Common.BrazilianPortuguese"},{short:"ru",long:"ru-RU",label:"Russian",translatedLabel:"Common.Russian"},{short:"zh-CN",long:"zh-CN",label:"Simplified Chinese",translatedLabel:"Common.SimplifiedChinese"},{short:"zh-TW",long:"zh-TW",label:"Traditional Chinese",translatedLabel:"Common.TraditionalChinese"},{short:"pl",long:"pl-PL",label:"Polish",translatedLabel:"Common.Polish"},{short:"tr",long:"tr-TR",label:"Turkish",translatedLabel:"Common.Turkish"},{short:"ko",long:"ko-KR",label:"Korean",translatedLabel:"Common.Korean"},{short:"qps-ploc",long:"qps-ploc",label:'qps-ploc (f.k.a. "pseudo")'},{short:"zz",long:"zz",label:"zz"}],T_="en-US",A_="en",N_=["zh-cn","zh-tw","qps-ploc"],L_=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),M_=e=>(console.warn("Deprecated, use `buildUtils.flattenTranslationsJSON` instead"),L_(e)?Object.keys(e).reduce(((t,n)=>{const r=e[n],o=L_(r)&&r.value;return o&&(t[n]=o),t}),{}):{}),O_=()=>{var e;return null!=(e=new URLSearchParams(window.location.search).get("lang"))?e:void 0},P_=e=>{if(!e)return;"zh-hk"!==e.toLocaleLowerCase()&&"zh-mo"!==e.toLocaleLowerCase()||(e="zh-TW");const t=e.toLowerCase();if(N_.includes(e.toLocaleLowerCase()))return R_.find((({long:e})=>e.toLowerCase()===t));const[n]=t.split("-");return R_.find((({short:e})=>e.toLowerCase()===n||e.toLowerCase()===t))},I_=(...e)=>{for(const t of e){const e=P_(t);if(e)return e.short}},D_=e=>{const t=P_(e);return t?t.short:(console.warn(`Language '${e}' not supported, falling back to '${A_}'`),A_)},$_=e=>{const t=P_(e);return t?t.long:(console.warn(`Language '${e}' not supported, falling back to '${T_}'`),T_)},z_=e=>Array.isArray(e[0])?e[0]:e,F_=(e,...t)=>{var n;return null==(n=e.match(/\{(\d+)\}/g))?void 0:n.length,e.replace(/\{(\d+)\}/g,((e,n)=>void 0!==t[n]?String(t[n]):e))},B_=(e,t)=>e.replace(/(\{)(\w+)(\})/g,((e,n,r)=>{var o;return t[r],null!=(o=t[r])?o:e})),H_=e=>{const t=D_(e);document.documentElement.setAttribute("lang",t)},j_={},W_=Array.prototype.slice,G_=function(e){return("0"+e.toString()).substr(-2)},Y_=function(e){var t=typeof e;return"function"===t||"object"===t},U_=function(e){return"function"===typeof e},K_=function(e){return null!=e},V_=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},q_=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},Q_=function(e){return!0===e||!1===e},X_=function(e){return null===e},J_=function(e,t,n){return void 0===n||0==+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!=0?NaN:(t=t.toString().split("e"),+((t=(t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]+n:n))))},Z_=function(e,t){return U_(e)?e(t):e},eS=function(e,t){var n,r,o;for(n in t)t.hasOwnProperty(n)&&(r=t[n],"string"==typeof(o=r)||"[object String]"===Object.prototype.toString.call(o)||q_(r)||Q_(r)||V_(r)||X_(r)?e[n]=r:(null==e[n]&&(e[n]={}),eS(e[n],r)));return e},tS={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},nS={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},rS={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},oS={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},iS=[null,"kb","mb","gb","tb"],aS={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};j_.reset=function(){var e;for(e in aS)this[e]=aS[e]},j_.initializeOptions=function(){var e;for(e in aS)K_(this[e])||(this[e]=aS[e])},j_.initializeOptions(),j_.locales={},j_.locales.get=function(e){var t=this[e]||this[j_.locale]||this.default;return U_(t)&&(t=t(e)),!1===V_(t)&&(t=[t]),t},j_.locales.default=function(e){var t=[],n=[];return e&&t.push(e),!e&&j_.locale&&t.push(j_.locale),j_.fallbacks&&j_.defaultLocale&&t.push(j_.defaultLocale),t.forEach((function(e){var t=e.split("-"),r=null,o=null;3===t.length?(r=[t[0],t[1]].join("-"),o=t[0]):2===t.length&&(r=t[0]),-1===n.indexOf(e)&&n.push(e),j_.fallbacks&&[r,o].forEach((function(t){null!=t&&t!==e&&-1===n.indexOf(t)&&n.push(t)}))})),t.length||t.push("en"),n},j_.pluralization={},j_.pluralization.get=function(e){return this[e]||this[j_.locale]||this.default},j_.pluralization.default=function(e){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},j_.currentLocale=function(){return this.locale||this.defaultLocale},j_.isSet=K_,j_.lookup=function(e,t){t=t||{};var n,r,o,i,a=this.locales.get(t.locale).slice();for(o=this.getFullScope(e,t);a.length;)if(n=a.shift(),r=o.split(t.separator||this.defaultSeparator),i=this.translations[n]){for(;r.length&&null!=(i=i[r.shift()]););if(null!=i)return i}if(K_(t.defaultValue))return Z_(t.defaultValue,e)},j_.pluralizationLookupWithoutFallback=function(e,t,n){var r,o,i=this.pluralization.get(t)(e);if(n&&Y_(n))for(;i.length;)if(r=i.shift(),K_(n[r])){o=n[r];break}return o},j_.pluralizationLookup=function(e,t,n){n=n||{};var r,o,i,a,l=this.locales.get(n.locale).slice();for(t=this.getFullScope(t,n);l.length;)if(r=l.shift(),o=t.split(n.separator||this.defaultSeparator),i=this.translations[r]){for(;o.length&&(i=i[o.shift()],Y_(i));)0===o.length&&(a=this.pluralizationLookupWithoutFallback(e,r,i));if(null!=a)break}return null==a&&K_(n.defaultValue)&&(a=Y_(n.defaultValue)?this.pluralizationLookupWithoutFallback(e,n.locale,n.defaultValue):n.defaultValue,i=n.defaultValue),{message:a,translations:i}},j_.meridian=function(){var e=this.lookup("time"),t=this.lookup("date");return e&&e.am&&e.pm?[e.am,e.pm]:t&&t.meridian?t.meridian:tS.meridian},j_.prepareOptions=function(){for(var e,t=W_.call(arguments),n={};t.length;)if("object"==typeof(e=t.shift()))for(var r in e)e.hasOwnProperty(r)&&(K_(n[r])||(n[r]=e[r]));return n},j_.createTranslationOptions=function(e,t){var n=[{scope:e}];return K_(t.defaults)&&(n=n.concat(t.defaults)),K_(t.defaultValue)&&n.push({message:t.defaultValue}),n},j_.translate=function(e,t){t=t||{};var n,r=this.createTranslationOptions(e,t),o=e,i=this.prepareOptions(t);return delete i.defaultValue,r.some((function(t){if(K_(t.scope)?(o=t.scope,n=this.lookup(o,i)):K_(t.message)&&(n=Z_(t.message,e)),null!=n)return!0}),this)?("string"==typeof n?n=this.interpolate(n,t):V_(n)?n=n.map((function(e){return"string"==typeof e?this.interpolate(e,t):e}),this):Y_(n)&&K_(t.count)&&(n=this.pluralize(t.count,o,t)),n):this.missingTranslation(e,t)},j_.interpolate=function(e,t){if(null==e)return e;t=t||{};var n,r,o,i,a=e.match(this.placeholder);if(!a)return e;for(;a.length;)o=(n=a.shift()).replace(this.placeholder,"$1"),r=K_(t[o])?t[o].toString().replace(/\$/gm,"_#$#_"):o in t?this.nullPlaceholder(n,e,t):this.missingPlaceholder(n,e,t),i=new RegExp(n.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),e=e.replace(i,r);return e.replace(/_#\$#_/g,"$")},j_.pluralize=function(e,t,n){var r,o;return n=this.prepareOptions({count:String(e)},n),void 0===(o=this.pluralizationLookup(e,t,n)).translations||null==o.translations?this.missingTranslation(t,n):void 0!==o.message&&null!=o.message?this.interpolate(o.message,n):(r=this.pluralization.get(n.locale),this.missingTranslation(t+"."+r(e)[0],n))},j_.missingTranslation=function(e,t){if("guess"===this.missingBehaviour){var n=e.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+n.replace(/_/g," ").replace(/([a-z])([A-Z])/g,(function(e,t,n){return t+" "+n.toLowerCase()}))}return'[missing "'+[null!=t&&null!=t.locale?t.locale:this.currentLocale(),this.getFullScope(e,t)].join(t.separator||this.defaultSeparator)+'" translation]'},j_.missingPlaceholder=function(e,t,n){return"[missing "+e+" value]"},j_.nullPlaceholder=function(){return j_.missingPlaceholder.apply(j_,arguments)},j_.toNumber=function(e,t){t=this.prepareOptions(t,this.lookup("number.format"),nS);var n,r,o=e<0,i=function(e,t){return J_("round",e,-t).toFixed(t)}(Math.abs(e),t.precision).toString(),a=i.split("."),l=[],s=t.format||"%n",u=o?"-":"";for(e=a[0],n=a[1];e.length>0;)l.unshift(e.substr(Math.max(0,e.length-3),3)),e=e.substr(0,e.length-3);return r=l.join(t.delimiter),t.strip_insignificant_zeros&&n&&(n=n.replace(/0+$/,"")),t.precision>0&&n&&(r+=t.separator+n),r=(s=t.sign_first?"%s"+s:s.replace("%n","%s%n")).replace("%u",t.unit).replace("%n",r).replace("%s",u)},j_.toCurrency=function(e,t){return t=this.prepareOptions(t,this.lookup("number.currency.format",t),this.lookup("number.format",t),rS),this.toNumber(e,t)},j_.localize=function(e,t,n){switch(n||(n={}),e){case"currency":return this.toCurrency(t,n);case"number":return e=this.lookup("number.format",n),this.toNumber(t,e);case"percentage":return this.toPercentage(t,n);default:var r;return r=e.match(/^(date|time)/)?this.toTime(e,t,n):t.toString(),this.interpolate(r,n)}},j_.parseDate=function(e){var t,n,r;if(null==e)return e;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/)){for(var o=1;o<=6;o++)t[o]=parseInt(t[o],10)||0;t[2]-=1,r=t[7]?1e3*("0"+t[7]):null,n=t[8]?new Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6],r)):new Date(t[1],t[2],t[3],t[4],t[5],t[6],r)}else"number"==typeof e?(n=new Date).setTime(e):e.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(n=new Date).setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" "))):(e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),(n=new Date).setTime(Date.parse(e)));return n},j_.strftime=function(e,t,n){n=this.lookup("date",n);var r=j_.meridian();if(n||(n={}),n=this.prepareOptions(n,tS),isNaN(e.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invalid date.");var o=e.getDay(),i=e.getDate(),a=e.getFullYear(),l=e.getMonth()+1,s=e.getHours(),u=s,c=s>11?1:0,d=e.getSeconds(),f=e.getMinutes(),p=e.getTimezoneOffset(),h=Math.floor(Math.abs(p/60)),m=Math.abs(p)-60*h,g=(p>0?"-":"+")+(h.toString().length<2?"0"+h:h)+(m.toString().length<2?"0"+m:m);return u>12?u-=12:0===u&&(u=12),t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%a",n.abbr_day_names[o])).replace("%A",n.day_names[o])).replace("%b",n.abbr_month_names[l])).replace("%B",n.month_names[l])).replace("%d",G_(i))).replace("%e",i)).replace("%-d",i)).replace("%H",G_(s))).replace("%-H",s)).replace("%k",s)).replace("%I",G_(u))).replace("%-I",u)).replace("%l",u)).replace("%m",G_(l))).replace("%-m",l)).replace("%M",G_(f))).replace("%-M",f)).replace("%p",r[c])).replace("%P",r[c].toLowerCase())).replace("%S",G_(d))).replace("%-S",d)).replace("%w",o)).replace("%y",G_(a))).replace("%-y",G_(a).replace(/^0+/,""))).replace("%Y",a)).replace("%z",g)).replace("%Z",g)},j_.toTime=function(e,t,n){var r=this.parseDate(t),o=this.lookup(e,n);if(null==r)return r;var i=r.toString();return i.match(/invalid/i)?i:o?this.strftime(r,o,n):i},j_.toPercentage=function(e,t){return t=this.prepareOptions(t,this.lookup("number.percentage.format",t),this.lookup("number.format",t),oS),this.toNumber(e,t)},j_.toHumanSize=function(e,t){for(var n,r,o,i=e,a=0;i>=1024&&a<4;)i/=1024,a+=1;return 0===a?(o=this.getFullScope("number.human.storage_units.units.byte",t),n=this.t(o,{count:i}),r=0):(o=this.getFullScope("number.human.storage_units.units."+iS[a],t),n=this.t(o),r=i-Math.floor(i)==0?0:1),t=this.prepareOptions(t,{unit:n,precision:r,format:"%n%u",delimiter:""}),this.toNumber(i,t)},j_.getFullScope=function(e,t){return t=t||{},V_(e)&&(e=e.join(t.separator||this.defaultSeparator)),t.scope&&(e=[t.scope,e].join(t.separator||this.defaultSeparator)),e},j_.extend=function(e,t){return void 0===e&&void 0===t?{}:eS(e,t)},j_.t=j_.translate.bind(j_),j_.l=j_.localize.bind(j_),j_.p=j_.pluralize.bind(j_);var lS={};w_(lS,{af:()=>hS,ak:()=>mS,am:()=>gS,an:()=>vS,ar:()=>bS,ars:()=>yS,as:()=>xS,asa:()=>_S,ast:()=>SS,az:()=>CS,bal:()=>ES,be:()=>wS,bem:()=>kS,bez:()=>RS,bg:()=>TS,bho:()=>AS,bm:()=>NS,bn:()=>LS,bo:()=>MS,br:()=>OS,brx:()=>PS,bs:()=>IS,ca:()=>DS,ce:()=>$S,ceb:()=>zS,cgg:()=>FS,chr:()=>BS,ckb:()=>HS,cs:()=>jS,cy:()=>WS,da:()=>GS,de:()=>YS,doi:()=>US,dsb:()=>KS,dv:()=>VS,dz:()=>qS,ee:()=>QS,el:()=>XS,en:()=>JS,eo:()=>ZS,es:()=>eC,et:()=>tC,eu:()=>nC,fa:()=>rC,ff:()=>oC,fi:()=>iC,fil:()=>aC,fo:()=>lC,fr:()=>sC,fur:()=>uC,fy:()=>cC,ga:()=>dC,gd:()=>fC,gl:()=>pC,gsw:()=>hC,gu:()=>mC,guw:()=>gC,gv:()=>vC,ha:()=>bC,haw:()=>yC,he:()=>xC,hi:()=>_C,hnj:()=>SC,hr:()=>CC,hsb:()=>EC,hu:()=>wC,hy:()=>kC,ia:()=>RC,id:()=>TC,ig:()=>AC,ii:()=>NC,io:()=>LC,is:()=>MC,it:()=>OC,iu:()=>PC,ja:()=>IC,jbo:()=>DC,jgo:()=>$C,jmc:()=>zC,jv:()=>FC,jw:()=>BC,ka:()=>HC,kab:()=>jC,kaj:()=>WC,kcg:()=>GC,kde:()=>YC,kea:()=>UC,kk:()=>KC,kkj:()=>VC,kl:()=>qC,km:()=>QC,kn:()=>XC,ko:()=>JC,ks:()=>ZC,ksb:()=>eE,ksh:()=>tE,ku:()=>nE,kw:()=>rE,ky:()=>oE,lag:()=>iE,lb:()=>aE,lg:()=>lE,lij:()=>sE,lkt:()=>uE,ln:()=>cE,lo:()=>dE,lt:()=>fE,lv:()=>pE,mas:()=>hE,mg:()=>mE,mgo:()=>gE,mk:()=>vE,ml:()=>bE,mn:()=>yE,mo:()=>xE,mr:()=>_E,ms:()=>SE,mt:()=>CE,my:()=>EE,nah:()=>wE,naq:()=>kE,nb:()=>RE,nd:()=>TE,ne:()=>AE,nl:()=>NE,nn:()=>LE,nnh:()=>ME,no:()=>OE,nqo:()=>PE,nr:()=>IE,nso:()=>DE,ny:()=>$E,nyn:()=>zE,om:()=>FE,or:()=>BE,os:()=>HE,osa:()=>jE,pa:()=>WE,pap:()=>GE,pcm:()=>YE,pl:()=>UE,prg:()=>KE,ps:()=>VE,pt:()=>qE,pt_PT:()=>QE,rm:()=>XE,ro:()=>JE,rof:()=>ZE,ru:()=>ew,rwk:()=>tw,sah:()=>nw,saq:()=>rw,sat:()=>ow,sc:()=>iw,scn:()=>aw,sd:()=>lw,sdh:()=>sw,se:()=>uw,seh:()=>cw,ses:()=>dw,sg:()=>fw,sh:()=>pw,shi:()=>hw,si:()=>mw,sk:()=>gw,sl:()=>vw,sma:()=>bw,smi:()=>yw,smj:()=>xw,smn:()=>_w,sms:()=>Sw,sn:()=>Cw,so:()=>Ew,sq:()=>ww,sr:()=>kw,ss:()=>Rw,ssy:()=>Tw,st:()=>Aw,su:()=>Nw,sv:()=>Lw,sw:()=>Mw,syr:()=>Ow,ta:()=>Pw,te:()=>Iw,teo:()=>Dw,th:()=>$w,ti:()=>zw,tig:()=>Fw,tk:()=>Bw,tl:()=>Hw,tn:()=>jw,to:()=>Ww,tpi:()=>Gw,tr:()=>Yw,ts:()=>Uw,tzm:()=>Kw,ug:()=>Vw,uk:()=>qw,und:()=>Qw,ur:()=>Xw,uz:()=>Jw,ve:()=>Zw,vec:()=>ek,vi:()=>tk,vo:()=>nk,vun:()=>rk,wa:()=>ok,wae:()=>ik,wo:()=>ak,xh:()=>lk,xog:()=>sk,yi:()=>uk,yo:()=>ck,yue:()=>dk,zh:()=>fk,zu:()=>pk});var sS=(e,t)=>t?"other":1==e?"one":"other",uS=(e,t)=>t?"other":0==e||1==e?"one":"other",cS=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",dS=(e,t)=>{const n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"},fS=(e,t)=>"other",pS=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",hS=sS,mS=uS,gS=cS,vS=sS,bS=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},yS=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},xS=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",_S=sS,SS=dS,CS=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==e?"one":"other"},ES=(e,t)=>1==e?"one":"other",wS=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},kS=sS,RS=sS,TS=sS,AS=uS,NS=fS,LS=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",MS=fS,OS=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),a=r&&n[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==a?"many":"other"},PS=sS,IS=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},DS=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},$S=sS,zS=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=o.slice(-1);return t?"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=l&&6!=l&&9!=l?"one":"other"},FS=sS,BS=sS,HS=sS,jS=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},WS=(e,t)=>t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",GS=(e,t)=>{const n=String(e).split("."),r=n[0],o=Number(n[0])==e;return t||1!=e&&(o||0!=r&&1!=r)?"other":"one"},YS=dS,US=cS,KS=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),l=o.slice(-2);return t?"other":i&&1==a||1==l?"one":i&&2==a||2==l?"two":i&&(3==a||4==a)||3==l||4==l?"few":"other"},VS=sS,qS=fS,QS=sS,XS=sS,JS=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&r?"one":"other"},ZS=sS,eC=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e?"one":0!=r&&0==i&&o?"many":"other"},tC=dS,nC=sS,rC=cS,oC=(e,t)=>t?"other":e>=0&&e<2?"one":"other",iC=dS,aC=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=l&&6!=l&&9!=l?"one":"other"},lC=sS,sC=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=r&&0==i&&o?"many":"other"},uC=sS,cC=dS,dC=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},fC=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},pC=dS,hC=sS,mC=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",gC=uS,vC=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?o?"other":"many":"few"},bC=sS,yC=sS,xC=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},_C=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",SC=fS,CC=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},EC=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),l=o.slice(-2);return t?"other":i&&1==a||1==l?"one":i&&2==a||2==l?"two":i&&(3==a||4==a)||3==l||4==l?"few":"other"},wC=(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",kC=(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",RC=dS,TC=fS,AC=fS,NC=fS,LC=dS,MC=(e,t)=>{const n=String(e).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==e,a=r.slice(-1),l=r.slice(-2);return t?"other":i&&1==a&&11!=l||o%10==1&&o%100!=11?"one":"other"},OC=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},PC=pS,IC=fS,DC=fS,$C=sS,zC=sS,FC=fS,BC=fS,HC=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-2);return t?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==e?"one":"other"},jC=(e,t)=>t?"other":e>=0&&e<2?"one":"other",WC=sS,GC=sS,YC=fS,UC=fS,KC=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1);return t?6==o||9==o||r&&0==o&&0!=e?"many":"other":1==e?"one":"other"},VC=sS,qC=sS,QC=fS,XC=cS,JC=fS,ZC=sS,eE=sS,tE=(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",nE=sS,rE=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),a=r&&n[0].slice(-5),l=r&&n[0].slice(-6);return t?r&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==l?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},oE=sS,iE=(e,t)=>{const n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},aE=sS,lE=sS,sE=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e;return t?11==e||8==e||o&&e>=80&&e<=89||o&&e>=800&&e<=899?"many":"other":1==e&&r?"one":"other"},uE=fS,cE=uS,dE=(e,t)=>t&&1==e?"one":"other",fE=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},pE=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,a=i&&n[0].slice(-1),l=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==a||l>=11&&l<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=l||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},hE=sS,mE=uS,gE=sS,vE=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?1==a&&11!=l?"one":2==a&&12!=l?"two":7!=a&&8!=a||17==l||18==l?"other":"many":i&&1==a&&11!=l||1==s&&11!=u?"one":"other"},bE=sS,yE=sS,xE=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},_E=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",SE=(e,t)=>t&&1==e?"one":"other",CE=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},EE=fS,wE=sS,kE=pS,RE=sS,TE=sS,AE=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?r&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},NE=dS,LE=sS,ME=sS,OE=sS,PE=fS,IE=sS,DE=uS,$E=sS,zE=sS,FE=sS,BE=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||5==e||r&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},HE=sS,jE=fS,WE=uS,GE=sS,YE=cS,UE=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},KE=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,a=i&&n[0].slice(-1),l=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==a||l>=11&&l<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=l||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},VE=sS,qE=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},QE=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},XE=sS,JE=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},ZE=sS,ew=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},tw=sS,nw=fS,rw=sS,ow=pS,iw=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},aw=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},lw=sS,sw=sS,uw=pS,cw=sS,dw=fS,fw=fS,pw=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},hw=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},mw=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"";return t?"other":0==e||1==e||0==r&&1==o?"one":"other"},gw=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},vw=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},bw=pS,yw=pS,xw=pS,_w=pS,Sw=pS,Cw=sS,Ew=sS,ww=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},kw=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Rw=sS,Tw=sS,Aw=sS,Nw=fS,Lw=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1!=i&&2!=i||11==a||12==a?"other":"one":1==e&&r?"one":"other"},Mw=dS,Ow=sS,Pw=sS,Iw=sS,Dw=sS,$w=fS,zw=uS,Fw=sS,Bw=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-1);return t?6==r||9==r||10==e?"few":"other":1==e?"one":"other"},Hw=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),l=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=l&&6!=l&&9!=l?"one":"other"},jw=sS,Ww=fS,Gw=fS,Yw=sS,Uw=sS,Kw=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":0==e||1==e||r&&e>=11&&e<=99?"one":"other"},Vw=sS,qw=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,a=i&&n[0].slice(-1),l=i&&n[0].slice(-2),s=r.slice(-1),u=r.slice(-2);return t?3==a&&13!=l?"few":"other":o&&1==s&&11!=u?"one":o&&s>=2&&s<=4&&(u<12||u>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&u>=11&&u<=14?"many":"other"},Qw=fS,Xw=dS,Jw=sS,Zw=sS,ek=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},tk=(e,t)=>t&&1==e?"one":"other",nk=sS,rk=sS,ok=uS,ik=sS,ak=fS,lk=sS,sk=sS,uk=dS,ck=fS,dk=fS,fk=fS,pk=cS,hk=class e{static configure(t,n=T_){e.translations=t,e.language=$_(n),e.languageShort=D_(n),H_(e.language),e.onTranslationsChangeListeners.forEach((e=>e())),e.i18nProvider=j_,j_.missingTranslation=e=>e,j_.defaultSeparator=null,j_.locale=e.language,j_.translations={[e.language]:e.translationsPlurals};const r=e.languageShort.split("-")[0];j_.pluralization[e.language]=e=>{try{const t=lS[r](e),n=[t];return"few"!==t&&"many"!==t||n.push("other"),n}catch(t){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}}}}static getWithKeys(t,n){var r;let o=null!=(r=e.translations[t])?r:t;return n&&Object.keys(n).length>0&&(o=B_(o,n)),o}static getPlural(t,n,r){return e.i18nProvider.t(t,((e,t)=>{for(var n in t||(t={}))S_.call(t,n)&&E_(e,n,t[n]);if(__)for(var n of __(t))C_.call(t,n)&&E_(e,n,t[n]);return e})({count:n},r))}static append(t){Object.assign(e.translations,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static appendPlurals(t){Object.assign(e.translationsPlurals,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static onTranslationsChange(t){return e.onTranslationsChangeListeners.push(t),()=>{e.onTranslationsChangeListeners.splice(e.onTranslationsChangeListeners.indexOf(t))}}};k_(hk,"translations",{}),k_(hk,"translationsPlurals",{}),k_(hk,"language"),k_(hk,"languageShort"),k_(hk,"onTranslationsChangeListeners",[]),k_(hk,"i18nProvider"),k_(hk,"get",((e,...t)=>{var n;const r=z_(t);let o=null!=(n=hk.translations[e])?n:e;return r.length>0&&(o=F_(o,...r)),o}));var mk=hk;var gk,vk,bk,yk=function(){const[e,t]=k.useState(0);return k.useEffect((()=>{const n=mk.onTranslationsChange((()=>{t(e+1)}));return()=>{n()}}),[]),mk.get},xk=mk,_k={};var Sk,Ck,Ek,wk=function(){if(bk)return vk;bk=1;const e=function(){if(gk)return _k;gk=1;var e=me(),t=h();return _k.AutoFocusPlugin=function({defaultSelection:n}){let[r]=e.useLexicalComposerContext();return t.useEffect((()=>{r.focus((()=>{let e=document.activeElement,t=r.getRootElement();null===t||null!==e&&t.contains(e)||t.focus({preventScroll:!0})}),{defaultSelection:n})}),[n,r]),null},_k}();return vk=e}(),kk={};var Rk,Tk,Ak,Nk,Lk=function(){if(Ek)return Ck;Ek=1;const e=function(){if(Sk)return kk;Sk=1;var e=me(),t=h();function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;return kk.ContentEditable=function({ariaActiveDescendant:o,ariaAutoComplete:i,ariaControls:a,ariaDescribedBy:l,ariaExpanded:s,ariaLabel:u,ariaLabelledBy:c,ariaMultiline:d,ariaOwns:f,ariaRequired:p,autoCapitalize:h,className:m,id:g,role:v="textbox",spellCheck:b=!0,style:y,tabIndex:x,"data-testid":_,...S}){let[C]=e.useLexicalComposerContext(),[E,w]=t.useState(!1),k=t.useCallback((e=>{C.setRootElement(e)}),[C]);return r((()=>(w(C.isEditable()),C.registerEditableListener((e=>{w(e)})))),[C]),t.createElement("div",n({},S,{"aria-activedescendant":E?o:void 0,"aria-autocomplete":E?i:"none","aria-controls":E?a:void 0,"aria-describedby":l,"aria-expanded":E&&"combobox"===v?!!s:void 0,"aria-label":u,"aria-labelledby":c,"aria-multiline":d,"aria-owns":E?f:void 0,"aria-readonly":!E||void 0,"aria-required":p,autoCapitalize:h,className:m,contentEditable:E,"data-testid":_,id:g,ref:k,role:v,spellCheck:b,style:y,tabIndex:x}))},kk}();return Ck=e}();function Mk(){if(Tk)return Rk;Tk=1;var e=h();function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}var n={error:null},r=function(r){function o(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=r.call.apply(r,[this].concat(o))||this).state=n,e.resetErrorBoundary=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==e.props.onReset||(t=e.props).onReset.apply(t,r),e.reset()},e}!function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}(o,r),o.getDerivedStateFromError=function(e){return{error:e}};var i=o.prototype;return i.reset=function(){this.setState(n)},i.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},i.componentDidUpdate=function(e,t){var n,r,o=this.props.resetKeys;null!==this.state.error&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,o)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,o),this.reset())},i.render=function(){var t=this.state.error,n=this.props,r=n.fallbackRender,o=n.FallbackComponent;if(n=n.fallback,null!==t){if(t={error:t,resetErrorBoundary:this.resetErrorBoundary},e.isValidElement(n))return n;if("function"==typeof r)return r(t);if(o)return e.createElement(o,t);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(e.Component);return Rk=function({children:t,onError:n}){return e.createElement(r,{fallback:e.createElement("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"}},"An error was thrown."),onError:n},t)},Rk}var Ok,Pk,Ik,Dk=o(function(){if(Nk)return Ak;Nk=1;const e=Mk();return Ak=e}()),$k={},zk={};function Fk(){if(Ik)return Pk;Ik=1;const e=function(){if(Ok)return zk;Ok=1;var e=K();function t(e,t=!0){return!e&&(e=n(),t&&(e=e.trim()),""===e)}function n(){return e.$getRoot().getTextContent()}function r(n){if(!t(n,!1))return!1;let r=(n=e.$getRoot().getChildren()).length;if(1<r)return!1;for(let t=0;t<r;t++){var o=n[t];if(e.$isDecoratorNode(o))return!1;if(e.$isElementNode(o)){if(!e.$isParagraphNode(o)||0!==o.__indent)return!1;let n=(o=o.getChildren()).length;for(let r=0;r<n;r++)if(!e.$isTextNode(o[t]))return!1}}return!0}return zk.$canShowPlaceholder=r,zk.$canShowPlaceholderCurry=function(e){return()=>r(e)},zk.$findTextIntersectionFromCharacters=function(t,n){var r=t.getFirstChild();t=0;e:for(;null!==r;){if(e.$isElementNode(r)){var o=r.getFirstChild();if(null!==o){r=o;continue}}else if(e.$isTextNode(r)){if(t+(o=r.getTextContentSize())>n)return{node:r,offset:n-t};t+=o}if(null===(o=r.getNextSibling())){for(r=r.getParent();null!==r;){if(null!==(o=r.getNextSibling())){r=o;continue e}r=r.getParent()}break}r=o}return null},zk.$isRootTextContentEmpty=t,zk.$isRootTextContentEmptyCurry=function(e,n){return()=>t(e,n)},zk.$rootTextContent=n,zk.registerLexicalTextEntity=function(t,n,r,o){let i=t=>{const n=e.$createTextNode(t.getTextContent());n.setFormat(t.getFormat()),t.replace(n)},a=t.registerNodeTransform(e.TextNode,(t=>{if(t.isSimpleText()){var a=t.getPreviousSibling(),l=t.getTextContent(),s=t;if(e.$isTextNode(a)){var u=a.getTextContent(),c=n(u+l);if(a instanceof r){if(null===c||0!==a.getLatest().__mode)return void i(a);if(0<(c=c.end-u.length))return s=u+(s=l.slice(0,c)),a.select(),a.setTextContent(s),void(c===l.length?t.remove():(a=l.slice(c),t.setTextContent(a)))}else if(null===c||c.start<u.length)return}for(;;){if(l=c=null===(t=n(l))?"":l.slice(t.end),""===c){if(u=s.getNextSibling(),e.$isTextNode(u)){if(c=s.getTextContent()+u.getTextContent(),null===(c=n(c))){u instanceof r?i(u):u.markDirty();break}if(0!==c.start)break}}else if(null!==(u=n(c))&&0===u.start)break;if(null===t)break;if(0===t.start&&e.$isTextNode(a)&&a.isTextEntity())continue;let d;if(0===t.start?[d,s]=s.splitText(t.end):[,d,s]=s.splitText(t.start,t.end),(t=o(d)).setFormat(d.getFormat()),d.replace(t),null==s)break}}}));return t=t.registerNodeTransform(r,(t=>{var o=t.getTextContent();const a=n(o);null===a||0!==a.start?i(t):o.length>a.end?t.splitText(a.end):(o=t.getPreviousSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),i(t)),o=t.getNextSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),t instanceof r&&i(t)))})),[a,t]},zk}();return Pk=e}var Bk,Hk,jk,Wk,Gk,Yk,Uk={};function Kk(){if(jk)return Hk;jk=1;const e=function(){if(Bk)return Uk;Bk=1;var e=K();return Uk.registerDragonSupport=function(t){let n=window.location.origin,r=r=>{if(r.origin===n){var o=t.getRootElement();if(document.activeElement===o&&"string"==typeof(o=r.data)){try{var i=JSON.parse(o)}catch(e){return}if(i&&"nuanria_messaging"===i.protocol&&"request"===i.type&&(i=i.payload)&&"makeChanges"===i.functionId&&(i=i.args)){const[n,o,a,l,s]=i;t.update((()=>{const t=e.$getSelection();if(e.$isRangeSelection(t)){var i=t.anchor;let u=i.getNode(),c=0,d=0;e.$isTextNode(u)&&0<=n&&0<=o&&(c=n,d=n+o,t.setTextNodeRange(u,c,u,d)),c===d&&""===a||(t.insertRawText(a),u=i.getNode()),e.$isTextNode(u)&&(c=l,d=l+s,c=c>(i=u.getTextContentSize())?i:c,d=d>i?i:d,t.setTextNodeRange(u,c,u,d)),r.stopImmediatePropagation()}}))}}}};return window.addEventListener("message",r,!0),()=>{window.removeEventListener("message",r,!0)}},Uk}();return Hk=e}function Vk(){if(Wk)return $k;Wk=1;var e=me(),t=gt(),n=h(),r=Fk(),o=Q(),i=E(),a=Kk(),l=nt(),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function u(e){return e.getEditorState().read(r.$canShowPlaceholderCurry(e.isComposing()))}function c({content:r}){var[i]=e.useLexicalComposerContext();i=function(e){let[t,r]=n.useState((()=>u(e)));return s((()=>{function t(){let t=u(e);r(t)}return t(),o.mergeRegister(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(i);let a=t();return i?"function"==typeof r?r(a):r:null}return $k.RichTextPlugin=function({contentEditable:t,placeholder:r,ErrorBoundary:u}){let[d]=e.useLexicalComposerContext();return u=function(e,t){let[r,o]=n.useState((()=>e.getDecorators()));return s((()=>e.registerDecoratorListener((e=>{i.flushSync((()=>{o(e)}))}))),[e]),n.useEffect((()=>{o(e.getDecorators())}),[e]),n.useMemo((()=>{let o=[],a=Object.keys(r);for(let l=0;l<a.length;l++){let s=a[l],u=n.createElement(t,{onError:t=>e._onError(t)},n.createElement(n.Suspense,{fallback:null},r[s])),c=e.getElementByKey(s);null!==c&&o.push(i.createPortal(u,c,s))}return o}),[t,r,e])}(d,u),function(e){s((()=>o.mergeRegister(l.registerRichText(e),a.registerDragonSupport(e))),[e])}(d),n.createElement(n.Fragment,null,t,n.createElement(c,{content:r}),u)},$k}var qk=function(){if(Yk)return Gk;Yk=1;const e=Vk();return Gk=e}();const Qk=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m2.604 7.672-.276.96h2.004l-.276-.96a42 42 0 0 1-.372-1.284L3.348 5.08H3.3q-.156.66-.336 1.32-.168.648-.36 1.272m-2.628 4.176L2.532 4h1.632l2.556 7.848H5.256l-.612-2.124h-2.64l-.612 2.124zm9.23.144q-.768 0-1.26-.48-.48-.48-.48-1.248 0-.948.828-1.464.828-.528 2.64-.72a1.4 1.4 0 0 0-.252-.804q-.228-.348-.828-.348-.432 0-.852.168-.408.168-.804.408l-.504-.924a6 6 0 0 1 1.104-.54 3.8 3.8 0 0 1 1.32-.228q1.104 0 1.644.66.552.648.552 1.884v3.492h-1.14l-.096-.648h-.048a4.3 4.3 0 0 1-.852.564q-.444.228-.972.228m.444-1.08q.36 0 .648-.168.3-.18.636-.48v-1.32q-1.2.156-1.668.468-.468.3-.468.744 0 .396.24.576t.612.18M14 1h1v14h-1zm-1 0h3v1h-3zm0 13h3v1h-3z"})}),Xk=k.forwardRef(Qk),Jk=(e,t)=>yo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[yo.jsx("path",{d:"M0 1h16v2H0zm15 4v2H1V5zM0 11V9h16v2zm3 4v-2h10v2z"}),yo.jsx("use",{transform:"matrix(-1 0 0 1 16 0)"})]}),Zk=k.forwardRef(Jk),eR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M0 1h15v2H0zm13 4v2H0V5zM0 11V9h16v2zm0 4v-2h10v2z"})}),tR=k.forwardRef(eR),nR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M16 1v2H1V1zM3 5h13v2H3zm13 6H0V9h16zm0 4H6v-2h10z"})}),rR=k.forwardRef(nR),oR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})}),iR=k.forwardRef(oR),aR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M1.5 10a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 1 1 0-1.5zM1.5 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z"})}),lR=k.forwardRef(aR),sR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M5 13v1.382L7.764 13H14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1zm-1 3v-2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8zM4 6v1h8V6zm0 3v1h7V9z"})}),uR=k.forwardRef(sR),cR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M2.05 9q.371 0 .72.09.349.088.623.275.273.185.436.467t.163.66a1.38 1.38 0 0 1-.284.86q-.133.179-.304.334l-.173.154-.18.152-1.245 1.004H4V14H.114v-.963l2.095-1.72.123-.115q.114-.116.196-.235a.7.7 0 0 0 .121-.399.54.54 0 0 0-.182-.423q-.183-.162-.486-.162a.7.7 0 0 0-.52.203.83.83 0 0 0-.217.406l-.022.127L0 10.57l.031-.181q.06-.264.193-.48.179-.29.452-.492a2 2 0 0 1 .626-.31q.352-.105.747-.106m13.2 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5zM3 2v5H1.698V3.328l-1.024.72L0 3.208 1.806 2zm12.25 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5z"})}),dR=k.forwardRef(cR),fR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M5.52 11.938 4.5 15H1L6.425 1h3.238L15 15h-3.5l-1.02-3.062zm.73-2.188h3.5L8 4.5z"})}),pR=k.forwardRef(fR),hR=(e,t)=>yo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[yo.jsx("path",{d:"M9.034 14.99V15H3V1h6.034v.034Q9.246 1 9.466 1c1.666 0 3.017 1.522 3.017 3.4 0 1.376-.726 2.562-1.77 3.097C12.056 8.083 13 9.475 13 11.1c0 2.154-1.66 3.9-3.707 3.9q-.13 0-.259-.01M5.586 3.5v3.2h2.71a1.6 1.6 0 1 0 0-3.2zm0 5.5v3.8H8.86a1.9 1.9 0 0 0 0-3.8z"}),yo.jsx("use",{fillRule:"evenodd"})]}),mR=k.forwardRef(hR),gR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M4.145 0h1.71l2.391 6.833-.785.784L7.245 7h-4.49l-1.283 3.665-.944-.33zm-1.04 6h3.79l-1.75-5h-.29zm9.066-.321a1 1 0 0 0-1.414 0l-6.364 6.364a1 1 0 0 0 0 1.414l2.25 2.25A1 1 0 0 0 7.35 16h6.471v-1h-3.114l4.686-4.686a1 1 0 0 0 0-1.414zm-2.2 8.643L9.293 15H7.35L5.1 12.75l1.65-1.65zm.707-.708-3.22-3.221 4.006-4.007 3.222 3.221z"})}),vR=k.forwardRef(gR),bR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M8.5 0a7.99 7.99 0 0 1 6.34 3.12c1.167 1.514 1.714 3.535 1.268 5.395-.444 1.85-1.776 2.609-3.192 2.897a7 7 0 0 1-1.24.113l-.683.012c-.681.018-1.276.086-1.653.484-.577.511-.487.996-.255 1.464l.106.2.281.49c.259.484.383.957-.253 1.43-.435.324-1 .408-1.54.353A8.001 8.001 0 0 1 8.5 0m0 1a7 7 0 0 0-.315 13.993.54.54 0 0 0 .235-.063c.166-.09.182-.272.088-.437-.084-.146-.175-.29-.254-.438a3 3 0 0 1-.297-.758 1.94 1.94 0 0 1 .05-1.06c.124-.365.35-.674.64-.937.519-.525 1.201-.68 1.765-.733l.294-.02.344-.012.389-.007c.466-.006.862-.011 1.278-.096.855-.174 1.538-.52 1.971-1.128q.091-.126.173-.28c1-1.887.164-4.339-1.317-5.878A6.98 6.98 0 0 0 8.5 1m-4 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4M13 6.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-1-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2M8 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"})}),yR=k.forwardRef(bR),xR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M14 5H2V3h12zm-9 8H2V6h3zm1 0V6h4v7zm5 0V6h3v7zM0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm1 0v12h14V2z"})}),_R=k.forwardRef(xR),SR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m10.927 1.255-3.886 13.6A.2.2 0 0 1 6.85 15H5.265a.2.2 0 0 1-.192-.255l3.886-13.6A.2.2 0 0 1 9.15 1h1.584a.2.2 0 0 1 .192.255"})}),CR=k.forwardRef(SR),ER=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"m9.354 7.146-.708.708a2.33 2.33 0 0 0-3.292 0l-2.75 2.75a1.975 1.975 0 0 0 2.792 2.793l2.75-2.75.708.707-2.75 2.75a2.975 2.975 0 0 1-4.208-4.208l2.75-2.75a3.33 3.33 0 0 1 4.708 0m4.75-5.25a2.975 2.975 0 0 1 0 4.208l-2.75 2.75a3.33 3.33 0 0 1-4.708 0l.708-.708c.909.91 2.383.91 3.292 0l2.75-2.75a1.975 1.975 0 1 0-2.793-2.792l-2.75 2.75-.707-.708 2.75-2.75a2.975 2.975 0 0 1 4.207 0Z"})}),wR=k.forwardRef(ER),kR=(e,t)=>yo.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:yo.jsx("path",{d:"M13 1v7.059c0 1.714-.364 2.924-1.273 3.73C10.91 12.598 9.455 13 8 13c-1.545 0-3-.403-3.818-1.21C3.455 10.983 3 9.773 3 8.059V1h2.455v7.059c0 .302 0 .706.09 1.008.091.303.182.605.364.807s.364.504.727.605c.273.1.91.202 1.455.202.909 0 1.727-.202 2-.706.364-.404.454-1.11.454-2.017V1zM3 14h10v1H3z"})}),RR=k.forwardRef(kR),TR=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,AR=[e=>{const t=TR.exec(e);if(null===t)return null;const n=t[0];return{index:t.index,length:n.length,text:n,url:n.startsWith("http")?n:`https://${n}`,attributes:{target:"_blank"}}},pt.createLinkMatcherWithRegExp(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,(e=>`mailto:${e}`))];function NR(){return k.createElement(pt.AutoLinkPlugin,{matchers:AR})}const LR=()=>{const[e]=ht.useLexicalComposerContext(),t=vt(),n=k.useCallback((n=>{for(const[r,o]of n)"updated"!==o&&"created"!==o||e.getEditorState().read((()=>{const n=t?"pointer":"",o=e.getElementByKey(r);o&&(o.style.cursor=n)}))}),[t,e]);return k.useEffect((()=>bt.mergeRegister(e.registerMutationListener(te.LinkNode,(e=>{n(e)})),e.registerMutationListener(te.AutoLinkNode,(e=>{n(e)})),e.registerCommand(yt.CLICK_COMMAND,(t=>(t.metaKey&&t.target&&e.getEditorState().read((()=>{const e=yt.$getSelection();let t;if(yt.$isRangeSelection(e)&&(t=e.focus.getNode().getParent()),yt.$isNodeSelection(e)&&(t=e.getNodes()[0]),te.$isAutoLinkNode(t)||te.$isLinkNode(t)){const e=t.getURL();setTimeout((()=>{const t=window.open(e,"_blank");null==t||t.focus()}),0)}})),!1)),yt.COMMAND_PRIORITY_EDITOR))),[e,n]),null};function MR(e){const{anchor:t,focus:n}=e,r=t.getNode(),o=n.getNode();return r===o?r:e.isBackward()?xt.$isAtNodeEnd(n)?r:o:xt.$isAtNodeEnd(t)?r:o}const OR=new Set(["http:","https:","mailto:","sms:","tel:"]),PR=e=>{const t=e;return t.password="",t.username="",t};function IR(e){try{const t=new URL(e);return OR.has(t.protocol)?{url:PR(t).toString(),target:"_blank"}:{url:"about:blank"}}catch(t){return{url:e,target:"_blank"}}}const DR=/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/;function $R(e){return"https://"===e||DR.test(e)}const zR=xs($d)((({theme:e})=>({background:e.palette.common.white,display:"flex",alignItems:"center",padding:e.spacing(1)}))),FR=({anchorEl:e,link:t,onChanged:n,onOpened:r})=>{const o=Boolean(e),i=k.useRef(null),[a,l]=k.useState(t);k.useEffect((()=>{l(t)}),[t]);const s=k.useCallback((()=>{n(a),window.open(IR(a).url,"_blank"),r()}),[a,r,n]),u=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(a)}),[a,n]),c=k.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),n(a))}),[a,n]),d=k.useCallback((e=>{e.preventDefault(),l(e.currentTarget.value)}),[]);return R.createElement(ed,{open:o,anchorEl:e,placement:"bottom-start",sx:{zIndex:1},transition:!0},(({TransitionProps:e})=>R.createElement(jd,{...e},R.createElement(Vs,{className:"tekPopperMenu"},R.createElement(zR,{direction:"row"},R.createElement(md,{ref:i,placeholder:t,margin:"dense",size:"small",value:a,onChange:d,onKeyDown:c}),R.createElement(vu,{onClick:s},R.createElement(Ef,null)),R.createElement(vu,{onClick:u},R.createElement(kf,null)))))))},BR=()=>{const[e]=ht.useLexicalComposerContext(),t=vt(),[n,r]=k.useState(null),[o,i]=k.useState(""),a=k.useRef(!1),l=k.useCallback((()=>{if(a.current)return a.current=!1,!1;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=MR(t),o=n.getParent();if(te.$isAutoLinkNode(o)||te.$isAutoLinkNode(n))return r(null),i(""),!1;let a;if(te.$isLinkNode(o)&&(a=o),te.$isLinkNode(n)&&(a=n),te.$isLinkNode(a)){const t=e.getElementByKey(null==a?void 0:a.getKey());return i(a.getURL()),r(t),!0}r(null),i("")}return!1}),[e]),s=k.useCallback((t=>{a.current=!0,e.update((()=>{e.dispatchCommand(te.TOGGLE_LINK_COMMAND,IR(t))}),{onUpdate:()=>{r(null)}})}),[e]),u=k.useCallback((()=>{r(null)}),[]);return k.useEffect((()=>bt.mergeRegister(e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>l()),yt.COMMAND_PRIORITY_LOW),e.registerCommand(yt.CLICK_COMMAND,(()=>l()),yt.COMMAND_PRIORITY_LOW))),[e,l]),t?R.createElement(FR,{anchorEl:n,link:o,onChanged:s,onOpened:u}):null};function HR(){return k.createElement(Lf.LinkPlugin,{validateUrl:$R})}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('.tek__editor__container {\n color: #000;\n position: relative;\n line-height: 1.25;\n font-weight: 400;\n text-align: left;\n resize: none;\n height: 100%;\n overflow-y: auto;\n}\n.tek__editor__container {\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n}\n.tek__editor__container::-webkit-scrollbar {\n display: none;\n}\n\n.tek__editor__container__scrollbar:hover {\n -ms-overflow-style: auto;\n scrollbar-width: thin;\n scrollbar-color: lightgray transparent;\n}\n.tek__editor__container__scrollbar:hover::-webkit-scrollbar {\n display: block;\n}\n\n.tek__editor__Wrapper {\n position: relative;\n background-color: transparent;\n flex: 1;\n height: 100%;\n}\n\n.tek__editor__input {\n font-size: 16px;\n caret-color: rgb(5, 5, 5);\n position: relative;\n tab-size: 1;\n outline: 0;\n caret-color: #444;\n min-height: 0px;\n color: #404040;\n display: block;\n background-color: transparent;\n}\n\n.tek__editor__placeholder {\n color: #999;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n top: 0px;\n left: 0px;\n font-size: 16px;\n user-select: none;\n display: inline-block;\n pointer-events: none;\n}\n\n.tek__editor__logo {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n color: #999;\n overflow: hidden;\n}\n\n.tek__editor__paragraph {\n margin: 0 0 0 0;\n position: relative;\n cursor: auto;\n}\n\n.tek__ltr {\n text-align: left;\n}\n\n.tek__rtl {\n text-align: right;\n}\n\n.tek__h1 {\n font-size: 28px;\n color: rgb(5, 5, 5);\n font-weight: bold;\n margin: 0px 0px 0.5em;\n}\n.tek__h2 {\n font-size: 16px;\n color: rgb(101, 103, 107);\n font-weight: 700;\n margin: 0px 0px 0.25em;\n text-transform: uppercase;\n}\n.tek__h3 {\n font-size: 12px;\n text-transform: uppercase;\n margin: 0px 0px 0.25em;\n}\n\n.tek__textBase {\n -webkit-user-select: text;\n user-select: text;\n}\n\n.tek__textBold {\n font-weight: bold;\n}\n\n.tek__textItalic {\n font-style: italic;\n}\n\n.tek__textUnderline {\n text-decoration: underline;\n}\n\n.tek__ol1 {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__ol2 {\n padding: 0;\n margin: 0;\n list-style-type: upper-alpha;\n list-style-position: inside;\n}\n.tek__ol3 {\n padding: 0;\n margin: 0;\n list-style-type: lower-alpha;\n list-style-position: inside;\n}\n.tek__ol4 {\n padding: 0;\n margin: 0;\n list-style-type: upper-roman;\n list-style-position: inside;\n}\n.tek__ol5 {\n padding: 0;\n margin: 0;\n list-style-type: lower-roman;\n list-style-position: inside;\n}\n.tek__ul {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__listItem {\n margin: 0 12px;\n}\n.tek__nestedListItem {\n list-style-type: none;\n}\n.tek__nestedListItem:before,\n.tek__nestedListItem:after {\n display: none;\n}\n\n.tek__quote {\n margin: 0;\n margin-left: 12px;\n margin-bottom: 10px;\n font-size: 15px;\n color: rgb(101, 103, 107);\n border-left-color: rgb(206, 208, 212);\n border-left-width: 4px;\n border-left-style: solid;\n padding-left: 16px;\n}\n\n.tek__table {\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n position: relative;\n margin-top: 8px;\n margin-bottom: 8px;\n padding: 0;\n overflow: hidden;\n}\n\n.tek__tableCell {\n border: 1px solid rgb(206, 208, 212);\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n line-height: 1.25;\n}\n\n.tek__tableCellNoBorder {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__tableCellNoBorderEditMode {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__resizer {\n position: absolute;\n width: 6px;\n right: 0;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n background-color: #009845;\n pointer-events: all;\n z-index: 2;\n opacity: 0;\n transition: opacity 0.3s ease; /* Transition effect */\n transform: translate(-3px, 0);\n}\n.tek__resizer:hover {\n opacity: 0.2;\n}\n\n.tek__resizeContainer {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n z-index: 1;\n user-select: none;\n pointer-events: none;\n margin: 0;\n padding: 0;\n}\n\n.tek__tableActionButton {\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: "white";\n user-select: none;\n}\n\n.tek__tekCellHighlight {\n background-color: rgba(100, 149, 237, 0.1);\n}\n\n.tek__resizeIndicatorDisplay {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n background-color: #54565a;\n color: white;\n text-align: center;\n font-size: 12px;\n padding: 2px;\n overflow: hidden;\n border-radius: 4px;\n width: 48px;\n height: 16px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.tek__leftResizerIndicator {\n left: -54px;\n}\n\n.tek__rightResizerIndicator {\n right: -54px;\n}\n');const jR=({children:e})=>R.createElement(Ss,{theme:op()},e),WR={namespace:"text-editor-kit",theme:{ltr:"tek__ltr",rtl:"tek__rtl",paragraph:"tek__editor__paragraph",placeholder:"text_editor__placeholder",quote:"tek__quote",table:"tek__table",tableCell:"tek__tableCell",heading:{h1:"tek__h1",h2:"tek__h2",h3:"tek__h3"},text:{base:"tek__textBase",bold:"tek__textBold",italic:"tek__textItalic",underline:"tek__textUnderline"},list:{listitem:"tek__listItem",nested:{listitem:"tek__nestedListItem"},olDepth:["tek__ol1","tek__ol2","tek__ol3","tek__ol4","tek__ol5"],ul:"tek__ul"}},nodes:[at.HeadingNode,at.QuoteNode,de.ListNode,de.ListItemNode,te.LinkNode,te.AutoLinkNode],onError:e=>{console.log(e)}},GR=({children:e,initialConfig:t,flags:n})=>R.createElement(jR,null,R.createElement("div",{className:"tek__editor__Wrapper"},R.createElement(Ce.LexicalComposer,{initialConfig:t||WR},R.createElement("div",{className:"tek__editor__container"+((null==n?void 0:n.isEnabled("QB_26358_SN_TEXT_SCROLLBAR"))?" tek__editor__container__scrollbar":"")},e,R.createElement($e.ListPlugin,null),R.createElement(qe.TabIndentationPlugin,null),R.createElement(HR,null),R.createElement(NR,null),R.createElement(BR,null),R.createElement(LR,null),R.createElement(Le.HistoryPlugin,null)))));let YR=class e extends yt.ElementNode{static getType(){return"TekCellNode"}static clone(t){return new e(t.__hasBorders,t.__key)}static importJSON(t){return new e(void 0===t.hasBorders||t.hasBorders)}constructor(e,t){super(t),this.__hasBorders=e}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,type:"TekCellNode",version:1}}createDOM(e,t){const n=document.createElement("td");return n.classList.add(e.theme.tableCell||""),this.__hasBorders||(t.isEditable()?n.classList.add("tek__tableCellNoBorderEditMode"):n.classList.add("tek__tableCellNoBorder")),n}updateDOM(e,t){return this.__hasBorders?t.classList.remove("tek__tableCellNoBorder"):t.classList.add("tek__tableCellNoBorder"),this.__hasBorders!==e.__hasBorders}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}};const UR=e=>new YR(e),KR=e=>e instanceof YR;let VR=class e extends yt.ElementNode{static getType(){return"TekTableNode"}static clone(t){return new e(t.__hasBorders,t.__width,t.__key)}static importJSON(t){const n=void 0===t.hasBorders||t.hasBorders,r=void 0===t.width?"100%":t.width;return new e(n,r)}constructor(e,t,n){super(n),this.__needsUpdate=!1,this.__hasBorders=e,this.__width=t}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,width:this.__width,type:"TekTableNode",version:1}}createDOM(e){const t=document.createElement("table");return t.classList.add(e.theme.table||""),t.style.width=this.__width,t}updateDOM(e){const t=this.__needsUpdate;try{!0===e.__needsUpdate&&(this.getWritable().__needsUpdate=!1)}catch(e){}return t||this.__width!==e.__width}markNeedsUpdate(){this.getWritable().__needsUpdate=!0}canBeEmpty(){return!1}canExtractContents(){return!1}isShadowRoot(){return!0}canSelectBefore(){return!0}canIndent(){return!1}getResizeNode(){return this.getChildAtIndex(1)}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}setWidth(e){this.getWritable().__width=e}isValid(){const e=this.getChildren();return!(e.length<3)&&"TekColGroupNode"===e[0].getType()&&"TEK_TABLE_RESIZE_NODE"===e[1].getType()&&"TekRowNode"===e[2].getType()}};function qR(e){return e instanceof VR}let QR=class e extends yt.ElementNode{static getType(){return"TekRowNode"}static clone(t){return new e(t.__key)}static importJSON(){return new e}exportJSON(){return{...super.exportJSON(),type:"TekRowNode",version:1}}createDOM(){return document.createElement("tr")}updateDOM(){return!1}isShadowRoot(){return!0}canBeEmpty(){return!1}canIndent(){return!1}};function XR(e){return e instanceof QR}const JR=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),KR(t))return t;return null},ZR=e=>{let t=e;for(;null!==t;){if(qR(t))return t;t=null==t?void 0:t.getParent()}return null},eT=(e,t)=>{const n=ZR(e);if(n){const e=t.getElementByKey(n.getKey());if(e)return e}return null},tT=e=>null==e?void 0:e.getChildAtIndex(2),nT=e=>{const t=e.getParent();if(XR(t)){const n=t.getChildren();for(let t=0;t<n.length;t++)if(n[t]===e)return t}return-1},rT=(e,t)=>e?.01*parseFloat(e.getAttribute("width")||"0")*t.offsetWidth:0,oT=(e,t)=>{const n=e/t.offsetWidth;return`${Math.min(100*n,100).toFixed(2)}%`},iT=e=>{if(!e)return[];return e.getChildren().filter((e=>XR(e)))},aT=e=>{let t=!1;return iT(e).forEach((e=>{e.getChildren().forEach((e=>{const n=e;n.clear(),n.append(yt.$createParagraphNode()),t=!0}))})),t},lT=e=>{var t;const n=yt.$getSelection();if(yt.$isRangeSelection(n)||yt.$isNodeSelection(n)){const r=n.getNodes().filter((e=>KR(e)));if(r.length>0){e.preventDefault(),e.stopPropagation();const o=n.getNodes().some((e=>qR(e))),i=ZR(r[0]),a=iT(i);if((null===(t=a[0])||void 0===t?void 0:t.getChildren()).length*a.length===r.length&&o)return null==i||i.selectPrevious(),null==i||i.remove(),!1;if(yt.$isRangeSelection(n)){const e=n.focus.getNode();if(qR(e))return aT(e)}return r.forEach((e=>{e.clear(),e.append(yt.$createParagraphNode())})),(()=>{const e=yt.$getSelection();let t=!1;if(yt.$isRangeSelection(e)){const n=e.anchor.getNode(),r=e.focus.getNode();let o=ZR(n);!o&&qR(r)&&(o=r),qR(o)&&(t=aT(o))}return t})()}if(yt.$isRangeSelection(n)){const e=n.focus.getNode();if(qR(e))return aT(e)}}return!1},sT=e=>{if(e){const t=ZR(e);if(qR(t)){const n=e.getParent(),r=iT(t).findIndex((e=>e===n));return{i:r,j:null==n?void 0:n.getChildren().findIndex((t=>t===e)),tableNode:t,row:n}}}return{i:0,j:0,tableNode:null,row:null}},uT=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),KR(t))return t;return null},cT=e=>{const t=[];return iT(e).forEach((e=>{const n=e.getChildren();t.push(...n)})),t},dT=(e,t)=>{cT(e).forEach((e=>{const n=t.getElementByKey(e.getKey());null==n||n.classList.add("tek__tekCellHighlight")}))},fT=yt.createCommand("UPDATE_COL_WIDTHS_COMMAND"),pT=yt.createCommand("BEGIN_COL_RESIZE"),hT=yt.createCommand("END_COL_RESIZE"),mT=yt.createCommand("INSERT_TEK_TABLE_COMMAND"),gT=({colKey:e,startX:t,onMouseDown:n})=>{const r=k.useCallback((t=>{n(t,e)}),[e,n]);return R.createElement("div",{role:"button","aria-label":"resize",tabIndex:-1,className:"tek__resizer",style:{left:`${t}%`},onMouseDown:r})},vT=(e,t)=>{const n=document.createElement("div");return n.classList.add("tek__resizeIndicatorDisplay"),n.classList.add(e),n.id=t,n},bT=e=>`${parseFloat(e.getAttribute("width")||"0").toFixed(2)}%`,yT=({nodeKey:e,colWidths:t})=>{const[n]=ht.useLexicalComposerContext(),r=vt(),[o,i]=k.useState(null),a=k.useRef(null),l=k.useRef(null),s=k.useRef(null),u=k.useRef(null),c=k.useCallback((t=>{const n=yt.$getNodeByKey(e);if(n){const e=n.getParent();if(qR(e)){const n=tT(e);if("TekRowNode"===(null==n?void 0:n.getType())){const e=n.getChildren(),r=[];let o=0;e.forEach(((e,n)=>{const i=parseFloat(t[n]);o+=i,r.push({key:e.getKey(),startX:o})})),i(r)}}}}),[e]),d=k.useCallback((e=>{if(a.current){const{clientX:t,col:n,tableElement:r,curColWidth:o,resizer:i,left:l,nxt:c,parentDomNode:d,currentTableWidth:f}=a.current,p=e.clientX-t,h=oT(l+p,r);if(c){const e=o+p;if(e<60)return;const t=oT(e,r),l=a.current.nxtColWidth-p,d=oT(l,r);if(l<60)return;n.setAttribute("width",t),c.setAttribute("width",d),i.style.left=h,s.current&&(s.current.innerText=t),u.current&&(u.current.innerText=d)}else if(d){i.style.left="100%";const e=f+p,{clampedWidths:t,fullyClamped:n,clampedTableWidth:o}=((e,t)=>{const n=[],r=e.rows[0];let o=0,i=0;for(let e=0;e<r.cells.length;e++){const a=Math.max(r.cells[e].offsetWidth,60);60===a&&o++,i+=a;const l=a/t,s=Math.min(100*l,100);n.push(`${s.toFixed(2)}%`)}return{clampedWidths:n,fullyClamped:o===r.cells.length,clampedTableWidth:i}})(r,e),a=oT(e,d),l=oT(o,d);r.style.width=!n||p>0?a:l,r.querySelectorAll(":scope > colgroup col").forEach(((e,n)=>{e.setAttribute("width",t[n])})),n||s.current&&(s.current.innerText=a)}}}),[]),f=k.useCallback((()=>{if(document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",f),a.current){a.current.resizer.style.opacity="",s.current=null,u.current=null;const e=(e=>{const t=e.rows[0],n=[];for(let r=0;r<t.cells.length;r++){const o=Math.max(t.cells[r].offsetWidth,60);n.push(oT(o,e))}return n})(a.current.tableElement);a.current.tableElement.querySelectorAll(":scope > colgroup col").forEach(((t,n)=>{t.setAttribute("width",e[n])})),(e=>{const t=document.getElementById("leftGripper"),n=document.getElementById("rightGripper");t&&e.removeChild(t),n&&e.removeChild(n)})(a.current.resizer),n.dispatchCommand(hT,void 0)}a.current=null,l.current=null,n.update((()=>{const t=yt.$getNodeByKey(e),r=eT(t,n),a=null==t?void 0:t.getParent();if(r&&a){const t=r.querySelectorAll(":scope > colgroup col"),l=[];t.forEach((e=>{l.push(e.getAttribute("width")||"0")})),a.setWidth(r.style.width);let s=0;if(o){const e=o.map(((e,t)=>{const n={...e};return s+=parseFloat(l[t]),n.startX=s,n}));i(e)}n.dispatchCommand(fT,{colWidths:l,nodeKey:e})}}))}),[d,n,e,o]),p=k.useCallback(((e,t)=>{e.preventDefault(),e.stopPropagation(),document.addEventListener("mousemove",d,{passive:!0}),document.addEventListener("mouseup",f),n.getEditorState().read((()=>{const r=yt.$getNodeByKey(t),o=eT(r,n);if(KR(r)){const t=nT(r);if(-1!==t&&o){const r=null==o?void 0:o.querySelectorAll(":scope > colgroup col"),i=r[t],l=r.length>t+1?r[t+1]:null,c=rT(i,o),d=e.target,f=.01*parseFloat(d.style.left),p=o.offsetWidth*f,h=rT(l,o),m=o.parentElement,g=.01*parseFloat(o.style.width),v=((null==m?void 0:m.offsetWidth)||0)*g,b=((e,t,n)=>{const r=vT("tek__leftResizerIndicator","leftGripper");r.innerText=bT(e);let o=null;return t?(o=vT("tek__rightResizerIndicator","rightGripper"),o.innerText=bT(t)):r.innerText=n.style.width,{left:r,right:o}})(i,l,o);s.current=b.left,u.current=b.right,d.appendChild(b.left),b.right&&d.appendChild(b.right),d.style.opacity="1",a.current={resizer:d,curColWidth:c,col:i,tableElement:o,clientX:e.clientX,left:p,nxt:l,nxtColWidth:h,parentDomNode:m,currentTableWidth:v},n.dispatchCommand(pT,void 0)}}}))}),[n,d,f]);return k.useEffect((()=>{n.getEditorState().read((()=>{c(t)}))}),[c,n,t]),R.createElement(R.Fragment,null,o&&r?o.map((e=>R.createElement(gT,{key:`${e.key}`,colKey:e.key,startX:e.startX,onMouseDown:p}))):null)},xT="TEK_TABLE_RESIZE_NODE";let _T=class e extends yt.DecoratorNode{static getType(){return xT}static clone(t){return new e(t.__colWidths,t.__key)}static importJSON(t){return new e(t.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:xT,version:1}}createDOM(){const e=document.createElement("div");return e.classList.add("tek__resizeContainer"),e}updateDOM(){return!1}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}decorate(){return R.createElement(yT,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}};const ST=e=>e instanceof _T,CT=({nodeKey:e,colWidths:t})=>{const[n]=ht.useLexicalComposerContext(),[r,o]=k.useState(t);return k.useEffect((()=>{n.getEditorState().read((()=>{const t=yt.$getNodeByKey(e),n=null==t?void 0:t.getParent();if(qR(n)){const e=n.getResizeNode();if(ST(e)){const t=e.__colWidths.map((e=>e));o(t)}}}))}),[n,e]),R.createElement(R.Fragment,null,r.map(((t,n)=>R.createElement("col",{span:1,width:t,key:`${e}.${n}`}))))};let ET=class e extends yt.DecoratorNode{static getType(){return"TekColGroupNode"}static clone(t){return new e(t.__colWidths,t.__key)}static importJSON(t){return new e(t.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:"TekColGroupNode",version:1}}createDOM(){return document.createElement("colgroup")}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}updateDOM(){return!1}decorate(){return R.createElement(CT,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}},wT=class extends yt.DecoratorNode{constructor(e,t){super(t),this.__formatStyle=e}setFormatStyle(e){this.getWritable().__formatStyle=e}hasStyle(e){return void 0!==this.__formatStyle[e]&&""!==this.__formatStyle[e]}getTextFormatStyle(e,t){return this.hasStyle(e)?this.__formatStyle[e]:t}};const kT=[VR,YR,QR,ET,_T],RT=(e,t)=>{const n=100/e,r=Array(e).fill(`${n}%`),o=null==t?void 0:t.getChildAtIndex(0),i=null==t?void 0:t.getChildAtIndex(1);o.setColWidths(r),i.setColWidths(r),null==t||t.markNeedsUpdate()},TT=()=>{var e;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=JR(n);if(r){const t=nT(r),n=ZR(r),o=iT(n),i=((null===(e=o[0])||void 0===e?void 0:e.getChildren().length)||1)-1;if(0===i)return null==n||n.selectPrevious(),void(null==n||n.remove());o.forEach((e=>{var n;null===(n=e.getChildAtIndex(t))||void 0===n||n.remove()})),RT(i,n)}}},AT=()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=JR(t),r=ZR(n);if(r&&3===r.getChildren().length)return yt.$setSelection(null),void r.remove();if(n){const{row:e}=sT(n);yt.$setSelection(null),null==e||e.remove()}}},NT=()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=ZR(t),r=tT(n);if(XR(r)&&n){const e=r.getChildren().length,t=new QR;for(let r=0;r<e;r++){const e=UR(null==n?void 0:n.__hasBorders);e.append(yt.$createParagraphNode()),t.append(e)}null==n||n.append(t)}}},LT=()=>{var e;const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=ZR(n);if(qR(r)){const t=iT(r);let n=null;const o=((null===(e=t[0])||void 0===e?void 0:e.getChildren().length)||-1)+1;for(let e=0;e<t.length;e++){const o=UR(r.__hasBorders);o.append(yt.$createParagraphNode()),t[e].append(o),n=o}return RT(o,r),n}}return null},MT=xs(vu)({backgroundColor:"white",boxShadow:"0 2px 4px rgba(0,0,0,0.15)"}),OT=({onDeleteAction:e,onAction:t,onClick:n})=>{const[r]=ht.useLexicalComposerContext(),[o,i]=k.useState(null),a=yk(),l=Boolean(o),s=k.useCallback(((e,t,n)=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{t()}),{onUpdate:()=>{i(null),n()}})}),[r]),u=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(),i(e.currentTarget)}),[n]),c=k.useCallback((()=>{i(null)}),[]),d=k.useCallback((e=>{s(e,NT,t)}),[s,t]),f=k.useCallback((e=>{s(e,LT,t)}),[s,t]),p=k.useCallback((t=>{s(t,AT,e)}),[s,e]),h=k.useCallback((t=>{s(t,TT,e)}),[s,e]),m=k.useCallback((()=>{r.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=ZR(t);qR(n)&&(n.selectPrevious(),n.remove())}})()}),{onUpdate:()=>{i(null),e()}})}),[r,e]),g=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=ZR(t);n&&(n.toggleBorders(),cT(n).forEach((e=>{e.toggleBorders()})))}})()}))}),[r]);return k.useEffect((()=>bt.mergeRegister(r.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(i(null),!1)),yt.COMMAND_PRIORITY_CRITICAL))),[r]),R.createElement(Nd,{onClickAway:c,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(MT,{size:"small",onClick:u},R.createElement(y_,{height:12})),R.createElement(ed,{sx:{zIndex:1},open:l,anchorEl:o,placement:"auto-end"},R.createElement(Vs,{id:"tekTableMenu",className:"tekPopperMenu"},R.createElement(af,{dense:!0},R.createElement(df,{onClick:g},a("ToggleBorders")),R.createElement(Dd,null),R.createElement(df,{onClick:d},a("AddNewRow")),R.createElement(df,{onClick:f},a("AddNewColumn")),R.createElement(Dd,null),R.createElement(df,{onClick:p},a("DeleteRow")),R.createElement(df,{onClick:h},a("DeleteCol")),R.createElement(Dd,null),R.createElement(df,{onClick:m},a("DeleteTable")))))))},PT=()=>{var e,t,n,r;const[o]=ht.useLexicalComposerContext(),i=vt(),[a,l]=k.useState(null),[s,u]=k.useState(!1),c=Boolean(a),d=k.useContext(Hr),f=k.useRef(null),p=k.useCallback((()=>{s||o.update((()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=JR(e.anchor.getNode());if(KR(t)){const e=o.getElementByKey(t.getKey());l(e)}else l(null)}}))}),[o,s]);k.useEffect((()=>{const e=e=>{0!==e.buttons?null===f.current&&(f.current=setTimeout((()=>{u(!0),l(null)}),300)):(u(!1),clearTimeout(f.current),f.current=null)};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}}),[]),k.useEffect((()=>bt.mergeRegister(o.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(p(),!1)),yt.COMMAND_PRIORITY_EDITOR),o.registerCommand(pT,(()=>(l(null),!0)),yt.COMMAND_PRIORITY_CRITICAL),o.registerCommand(hT,(()=>(p(),!0)),yt.COMMAND_PRIORITY_CRITICAL))),[o,p]),k.useEffect((()=>{l(null)}),[i]);const h=k.useCallback((()=>{l(null)}),[]),m=k.useCallback((()=>{l(null),setTimeout((()=>{p()}),0)}),[p]),g=k.useCallback((()=>{clearTimeout(f.current)}),[]);return R.createElement(ed,{open:c&&i,anchorEl:a,placement:"top-end",sx:{zIndex:1},disablePortal:!0,modifiers:[{name:"offset",options:{offset:[-6,-parseInt((null===(r=null===(n=null===(t=null===(e=d.components)||void 0===e?void 0:e.MuiButton)||void 0===t?void 0:t.styleOverrides)||void 0===n?void 0:n.sizeSmall)||void 0===r?void 0:r.height)||"24",10)]}}]},R.createElement(OT,{onDeleteAction:h,onAction:m,onClick:g}))},IT=e=>{const t=[];for(const[n,r]of e)if("created"===r){const e=yt.$getNodeByKey(n),r=null==e?void 0:e.getParent();yt.$isRootNode(r)&&null!==e&&t.push(e)}if(t.length>0){const e=yt.$createParagraphNode();t[0].insertBefore(e),e.select(),t.forEach((e=>e.remove()))}},DT=()=>{const[e]=ht.useLexicalComposerContext(),t=vt();return k.useEffect((()=>bt.mergeRegister(e.registerMutationListener(YR,(t=>{e.update((()=>{IT(t)}))})),e.registerMutationListener(QR,(t=>{e.update((()=>{IT(t)}))})),e.registerMutationListener(VR,(t=>{e.update((()=>{for(const[e,n]of t)if("created"===n||"updated"===n){const t=yt.$getNodeByKey(e);if(qR(t)&&!t.isValid()){const e=yt.$createParagraphNode();t.insertBefore(e),e.select(),t.remove()}}}))})),e.registerCommand(mT,(()=>(e.update((()=>{const e=(()=>{const e=["50%","50%"],t=new VR(!0,"100%"),n=new ET(e),r=new _T(e),o=[];for(let t=0;t<2;t++){const t=new QR;for(let n=0;n<e.length;n++){const e=UR(!0),n=yt.$createParagraphNode();e.append(n),t.append(e)}o.push(t)}return t.append(n,r,...o),t})();bt.$insertNodeToNearestRoot(e)})),!0)),yt.COMMAND_PRIORITY_EDITOR),e.registerCommand(fT,(({colWidths:e,nodeKey:t})=>{const n=yt.$getNodeByKey(t);if(ST(n)){n.setColWidths(e);const t=n.getParent(),r=null==t?void 0:t.getChildAtIndex(0);(function(e){return e instanceof ET})(r)&&r.setColWidths(e)}return!0}),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_ENTER_COMMAND,(t=>(null==t?void 0:t.shiftKey)?(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.focus.getNode(),n=ZR(t),r=uT(t);if(qR(n)){const e=yt.$createParagraphNode();e.append(yt.$createTextNode("")),n.insertBefore(e,!1),e.select()}}})()})),!0):!!(null==t?void 0:t.ctrlKey)&&(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=yt.$getSelection();if(yt.$isRangeSelection(e)){const t=e.focus.getNode(),n=ZR(t);if(qR(n)){const e=yt.$createParagraphNode();e.append(yt.$createTextNode("")),n.insertBefore(e),n.insertAfter(e),n.selectNext()}}})()})),!0)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_BACKSPACE_COMMAND,(e=>lT(e)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_DELETE_COMMAND,(e=>lT(e)),yt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(yt.KEY_TAB_COMMAND,(e=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const n=t.focus.getNode(),{depth:r,tekCell:o}=(e=>{let t=e,n=0;for(;null!==t;){if(t=t.getParent(),KR(t))return{depth:n,tekCell:t};n++}return{depth:Number.MAX_SAFE_INTEGER,tekCell:null}})(n);if(r<=1)return e.preventDefault(),((e,t)=>{const{i:n,j:r,tableNode:o,row:i}=e,a=t?1:-1;if(i&&o){const e=i.getChildAtIndex(r+a);if(e)e.getChildAtIndex(0).selectEnd();else{let e=0;t||0!==r||(e=i.getChildren().length-1);const l=o.getChildAtIndex(n+2+a);if(XR(l)){const t=null==l?void 0:l.getChildAtIndex(e);(null==t?void 0:t.getChildAtIndex(0)).selectEnd()}}}})(sT(o),!e.shiftKey),!0}return!1}),yt.COMMAND_PRIORITY_EDITOR),e.registerCommand(yt.CUT_COMMAND,(e=>{const t=e.target,n=yt.$getSelection();if(t.classList.contains("tek__table")&&yt.$isRangeSelection(n)&&qR(n.anchor.getNode()))return e.preventDefault(),e.stopPropagation(),!0;if(yt.$isRangeSelection(n)){const t=n.getNodes().some((e=>KR(e))),r=n.getNodes().some((e=>qR(e)));if(t&&!r)return e.preventDefault(),e.stopPropagation(),!0}return!1}),yt.COMMAND_PRIORITY_CRITICAL))),[e]),k.useEffect((()=>e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(t&&e.update((()=>{(e=>{const t=yt.$getSelection(),n=[];if(yt.$nodesOfType(VR).forEach((e=>{const t=cT(e);n.push(...t)})),yt.$isRangeSelection(t)){t.getNodes().filter((e=>qR(e))).forEach((t=>{dT(t,e)}));const n=t.focus.getNode();if(qR(n))return void dT(n,e)}if(yt.$isRangeSelection(t)||yt.$isNodeSelection(t)){const r=new Set(t.getNodes().map((e=>uT(e))));for(let t=0;t<n.length;t++){const o=e.getElementByKey(n[t].getKey());r.has(n[t])?null==o||o.classList.add("tek__tekCellHighlight"):null==o||o.classList.remove("tek__tekCellHighlight")}}})(e)}),{tag:"history-merge"}),!1)),yt.COMMAND_PRIORITY_CRITICAL)),[e,t]),k.useEffect((()=>{e.update((()=>{t||(e=>{const t=[];yt.$nodesOfType(VR).forEach((e=>{const n=cT(e);t.push(...n)})),t.forEach((t=>{const n=e.getElementByKey(t.getKey());null==n||n.classList.remove("tek__tekCellHighlight")}))})(e)}))}),[t,e]),null},$T=()=>R.createElement(R.Fragment,null,R.createElement(DT,null),R.createElement(PT,null)),zT=()=>{const e=vt(),t=yk();return e?R.createElement("div",{className:"tek__editor__placeholder"},t("EnterText")):R.createElement("div",{className:"tek__editor__logo"},R.createElement(Xk,{height:32}))},FT=({showPlaceholder:e})=>R.createElement("div",{style:{position:"relative"}},R.createElement(wk.AutoFocusPlugin,null),R.createElement(qk.RichTextPlugin,{contentEditable:R.createElement(Lk.ContentEditable,{className:"tek__editor__input"}),placeholder:!1!==e?R.createElement(zT,null):null,ErrorBoundary:Dk})),BT=xs($d)((({theme:e})=>({background:e.palette.common.white,height:e.spacing(4),display:"flex",alignItems:"center",paddingInline:e.spacing(.5),overflow:"auto",scrollbarWidth:"thin",width:"fit-content","&::-webkit-scrollbar":{height:"0.2em"},"&::-webkit-scrollbar-track":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#AAA"},"&::-webkit-scrollbar-thumb:hover":{background:"#AAA"}}))),HT=["Source Sans Pro, sans-serif","American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],jT="#404040",WT="16px",GT=k.createContext({textFormat:{bold:!1,italic:!1,underline:!1},blockFormat:{blockType:"normal",fontName:HT[0],fontSize:"16px",fontColor:"#404040",align:"left",isLink:!1}}),YT=({children:e})=>{const t=(()=>{const[e]=ht.useLexicalComposerContext(),[t,n]=k.useState(!1),[r,o]=k.useState(!1),[i,a]=k.useState(!1),[l,s]=k.useState("paragraph"),[u,c]=k.useState(HT[0]),[d,f]=k.useState(WT),[p,h]=k.useState(jT),[m,g]=k.useState("left"),[v,b]=k.useState(!1),y=k.useCallback((()=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const r=t.anchor.getNode();let i="root"===r.getKey()?r:bt.$findMatchingParent(r,(e=>{const t=e.getParent();return null!==t&&yt.$isRootOrShadowRoot(t)}));null===i&&(i=r.getTopLevelElementOrThrow());const l=i.getKey();let u=i;if(null!==e.getElementByKey(l))if(de.$isListNode(i)){const e=bt.$getNearestNodeOfType(r,de.ListNode),t=e?e.getListType():i.getListType();s(t)}else{const e=at.$isHeadingNode(i)?i.getTag():i.getType();s(e)}if(de.$isListNode(i)||at.$isHeadingNode(i)){const e=bt.$getNearestNodeOfType(i,yt.ParagraphNode);e&&(u=e)}const d=MR(t),p=d.getParent();if(te.$isLinkNode(p)||te.$isLinkNode(d)?b(!0):b(!1),yt.$isParagraphNode(u)){const e=u.getFormatType();g(""===e?"left":e)}n(t.hasFormat("bold")),o(t.hasFormat("italic")),a(t.hasFormat("underline"));const m=xt.$getSelectionStyleValueForProperty(t,"font-family",HT[0]),v=xt.$getSelectionStyleValueForProperty(t,"font-size",WT);c(""===m?HT[0]:m),f(""!==v&&v?v:WT),h(xt.$getSelectionStyleValueForProperty(t,"color",jT))}else yt.$isNodeSelection(t)&&t.getNodes().forEach((e=>{if(function(e){return e instanceof wT}(e)){const t=e;n(t.hasStyle("fontWeight")),o(t.hasStyle("fontStyle")),a(t.hasStyle("textDecoration")),h(t.getTextFormatStyle("color",jT));const r=t.getTextFormatStyle("fontSize",WT),i=t.getTextFormatStyle("fontFamily",HT[0]);f(r),c(i);const l=t.getParent();if(null!==l){const e=(e=>{if(de.$isListItemNode(e)){const t=bt.$getNearestNodeOfType(e,de.ListNode);return t?t.getListType():e.getListType()}return at.$isHeadingNode(e)?e.getTag():e.getType()})(l);s(e)}}}))}),[e]);return k.useEffect((()=>bt.mergeRegister(e.registerUpdateListener((({editorState:e})=>{e.read((()=>y()))})),e.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(e.getEditorState().read((()=>y())),!1)),yt.COMMAND_PRIORITY_EDITOR))),[e,y]),{textFormat:{bold:t,italic:r,underline:i},blockFormat:{blockType:l,fontName:u,fontSize:d,fontColor:p,align:m,isLink:v}}})();return R.createElement(GT.Provider,{value:t},e)},UT=({children:e})=>R.createElement(YT,null,R.createElement(BT,{sx:{display:{xs:"none",sm:"flex",md:"flex",lg:"flex"}},direction:"row"},e)),KT=({anchorEl:e,children:t})=>{const n=Boolean(e);return R.createElement(ed,{open:n,anchorEl:e,placement:"bottom-start",transition:!0,sx:{zIndex:1}},(({TransitionProps:e})=>R.createElement(jd,{...e},R.createElement(Vs,{className:"tekPopperMenu"},t))))},VT=xs(Cu)({fontSize:12,textOverflow:"ellipsis"}),qT=({startIcon:e,value:t,onClick:n,compact:r})=>R.createElement(Sf,{title:t,PopperProps:{disablePortal:!0}},R.createElement(Td,{style:{textTransform:"none",textOverflow:"ellipsis",flexShrink:0},size:"small",variant:"text",onClick:n,startIcon:r?void 0:e,endIcon:R.createElement(iR,{height:12})},r?e:R.createElement(VT,null,t))),QT=xs(df,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({background:t?e.palette.grey[200]:void 0}))),XT=[{text:"AlignLeft",align:"left",icon:()=>R.createElement(tR,{height:12})},{text:"AlignCenter",align:"center",icon:()=>R.createElement(Zk,{height:12})},{text:"AlignRight",align:"right",icon:()=>R.createElement(rR,{height:12})}],JT=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(GT),i=yk(),a=k.useMemo((()=>XT.find((e=>e.align===o.align))||XT[0]),[o.align]),l=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),s=k.useCallback((()=>{r(null)}),[]),u=k.useCallback((e=>{r(null),t.dispatchCommand(yt.FORMAT_ELEMENT_COMMAND,e),t.focus()}),[t]);return R.createElement(Nd,{onClickAway:s,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(qT,{value:i(a.text),startIcon:a.icon(),onClick:l,compact:e}),R.createElement(KT,{anchorEl:n},R.createElement(af,{dense:!0},XT.map((e=>R.createElement(QT,{value:e.text,dense:!0,key:e.align,active:e.align===o.align,onClick:()=>u(e.align)},R.createElement(Jd,null,e.icon()),R.createElement(VT,null,i(e.text)))))))))},ZT=({text:e,icon:t})=>R.createElement(R.Fragment,null,R.createElement(Jd,null,t),R.createElement(VT,null,e)),eA=({text:e,icon:t})=>R.createElement(R.Fragment,null,R.createElement(Jd,null,R.createElement(VT,{fontWeight:"bold"},t)),R.createElement(VT,null,e)),tA=[{text:"Heading1",icon:"H1",tag:"h1"},{text:"Heading2",icon:"H2",tag:"h2"},{text:"Heading3",icon:"H3",tag:"h3"}],nA=(e,t,n)=>({icon:R.createElement("span",{style:{fontSize:12,fontWeight:"bold"}},t),text:n(e)}),rA=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),{blockFormat:n}=k.useContext(GT),[r,o]=k.useState(null),i=yk(),a=k.useMemo((()=>{let e={icon:R.createElement(pR,{height:12}),text:i("Paragraph")};return"h1"===n.blockType&&(e=nA("Heading1","H1",i)),"h2"===n.blockType&&(e=nA("Heading2","H2",i)),"h3"===n.blockType&&(e=nA("Heading3","H3",i)),"quote"===n.blockType&&(e.icon=R.createElement(uR,{height:12}),e.text=i("Quote")),"bullet"===n.blockType&&(e.icon=R.createElement(lR,{height:12}),e.text=i("UnorderedList")),"number"===n.blockType&&(e.icon=R.createElement(dR,{height:12}),e.text=i("OrderedList")),e}),[n,i]),l=k.useCallback((()=>{o(null)}),[]),s=k.useCallback((e=>{t.update((()=>{const n=yt.$getSelection();yt.$isRangeSelection(n)?(xt.$patchStyleText(n,{"font-size":null}),xt.$setBlocksType(n,e)):yt.$isNodeSelection(n)&&n.getNodes().forEach((t=>{const n=t.getParent();null==n||n.replace(e(),!0)})),t.focus()}))}),[t]),u=k.useCallback(((e,n)=>{o(null),t.update((()=>{const r=yt.$getSelection();yt.$isRangeSelection(r)&&r.getNodes().forEach((r=>{const o=r.getParent();o&&o.getType()!==e&&t.dispatchCommand(n,void 0)}))})),t.focus()}),[t]),c=k.useCallback((e=>{o(null),s((()=>at.$createHeadingNode(e)))}),[s]),d=k.useCallback((()=>{o(null),s((()=>yt.$createParagraphNode()))}),[s]),f=k.useCallback((()=>{o(null),s((()=>at.$createQuoteNode()))}),[s]);return R.createElement(Nd,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(qT,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:a.text,startIcon:a.icon,compact:e}),R.createElement(KT,{anchorEl:r},R.createElement(af,{dense:!0},R.createElement(df,{dense:!0,onClick:d},R.createElement(ZT,{text:i("Paragraph"),icon:R.createElement(pR,{height:12})})),R.createElement(df,{dense:!0,onClick:f},R.createElement(ZT,{text:i("Quote"),icon:R.createElement(uR,{height:12})})),tA.map((e=>R.createElement(df,{dense:!0,onClick:()=>c(e.tag),key:e.text},R.createElement(eA,{text:i(e.text),icon:e.icon})))),R.createElement(Dd,null),R.createElement(df,{dense:!0,onClick:()=>u("bullet",de.INSERT_UNORDERED_LIST_COMMAND)},R.createElement(ZT,{text:i("UnorderedList"),icon:R.createElement(lR,{height:12})})),R.createElement(df,{dense:!0,onClick:()=>u("number",de.INSERT_ORDERED_LIST_COMMAND)},R.createElement(ZT,{text:i("OrderedList"),icon:R.createElement(dR,{height:12})}))))))},oA=xs(Td,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({width:e.spacing(3),height:e.spacing(3),padding:0,background:t?e.palette.grey[300]:void 0}))),iA=(e,t)=>n=>{const r=yk();return R.createElement(Sf,{title:r(t),PopperProps:{disablePortal:!0}},R.createElement("div",null,R.createElement(e,{...n,"aria-label":r(t)})))},aA=({format:e,icon:t,...n})=>{const r=k.useContext(GT),[o]=ht.useLexicalComposerContext(),i=k.useCallback((()=>{o.dispatchCommand(yt.FORMAT_TEXT_COMMAND,e)}),[o,e]);return R.createElement(oA,{...n,active:r.textFormat[e],onClick:i,size:"small",variant:"text"},t)},lA=iA(aA,"Bold"),sA=()=>R.createElement(lA,{format:"bold",icon:R.createElement(mR,{height:12})}),uA=yt.createCommand("APPLY_TEXT_FORMAT"),cA=yt.createCommand("CLEAR_TEXT_FORMAT"),dA=iA(oA,"ClearFormat"),fA=()=>{const[e]=ht.useLexicalComposerContext(),t=k.useCallback((()=>{e.update((()=>{const t=yt.$getSelection();if(yt.$isRangeSelection(t)){const{anchor:e,focus:n}=t,r=t.getNodes();if(e.key===n.key&&e.offset===n.offset)return;r.forEach(((t,o)=>{try{if(yt.$isTextNode(t)){0===o&&0!==e.offset&&(t=t.splitText(e.offset)[1]||t),o===r.length-1&&(t=t.splitText(n.offset)[0]||t),""!==t.__style&&t.setStyle(""),0!==t.__format&&(t.setFormat(0),bt.$getNearestBlockElementAncestorOrThrow(t).setFormat(""));const i=t.getParent();(at.$isHeadingNode(i)||at.$isQuoteNode(i))&&i.replace(yt.$createParagraphNode(),!0)}else(at.$isHeadingNode(t)||at.$isQuoteNode(t))&&t.replace(yt.$createParagraphNode(),!0)}catch(e){}}))}e.dispatchCommand(cA,void 0)}))}),[e]);return R.createElement(dA,{onClick:t},R.createElement(vR,{height:12}))};function pA(e){return pA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pA(e)}var hA,mA={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},gA=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,vA=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,bA=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,yA=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,xA=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,_A=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,SA=Math.floor,CA=Math.round,EA=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t,n,r,o,i,a,l,s,u,c,d,f,p=0,h=0,m=0,g=1;if(this._invalid=!1,arguments[0]instanceof e)p=arguments[0]._r,h=arguments[0]._g,m=arguments[0]._b,g=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f=arguments[0]))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))g=parseFloat(CA(d[1]/2.55)/100),p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),g=parseFloat(d[4]);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),g=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),g=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),n=(n/=100)<0?0:n>1?1:n,l=(t=(t%=360)<0?0:t>360?360:t)/60,s=(a=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(l%2-1)),u=[],l=Math.floor(l)){case 0:u=[a,s,0];break;case 1:u=[s,a,0];break;case 2:u=[0,a,s];break;case 3:u=[0,s,a];break;case 4:u=[s,0,a];break;case 5:u=[a,0,s];break;default:u=[0,0,0]}c=o-.5*a,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=CA(255*p),h=CA(255*h),m=CA(255*m),g=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),g=parseFloat(d[7]),n=(n/=100)<0?0:n>1?1:n,l=(t=(t%=360)<0?0:t>360?360:t)/60,s=(a=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(l%2-1)),u=[],l=Math.floor(l)){case 0:u=[a,s,0];break;case 1:u=[s,a,0];break;case 2:u=[0,a,s];break;case 3:u=[0,s,a];break;case 4:u=[s,0,a];break;case 5:u=[a,0,s];break;default:u=[0,0,0]}c=o-.5*a,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=CA(255*p),h=CA(255*h),m=CA(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),i=parseFloat(d[5]),l=(t=(t%=360)<0?0:t>360?360:t)/60,s=(a=(i=(i/=100)<0?0:i>1?1:i)*(n=(n/=100)<0?0:n>1?1:n))*(1-Math.abs(l%2-1)),u=[],l=Math.floor(l)){case 0:u=[a,s,0];break;case 1:u=[s,a,0];break;case 2:u=[0,a,s];break;case 3:u=[0,s,a];break;case 4:u=[s,0,a];break;case 5:u=[a,0,s];break;default:u=[0,0,0]}c=i-a,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=CA(255*p),h=CA(255*h),m=CA(255*m),g=1}else mA[f.toLowerCase()]?(r=f.toLowerCase(),p=mA[r].r,h=mA[r].g,m=mA[r].b,g="number"==typeof mA[r].a?mA[r].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(g=(4278190080&arguments[0])>>>24,g/=255,p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(p=arguments[0],h=arguments[1],m=arguments[2],g=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+g)&&(this._invalid=!0),this._r=SA(p),this._g=SA(h),this._b=SA(m),this._a=g,this._spaces={}}var t,n;return t=e,(n=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=e.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=e.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(t){return this._spaces.hsl||(this._spaces.hsl=e.toHSL(this,t)),this._spaces.hsl}},{key:"toHSLA",value:function(t){return this._spaces.hsla||(this._spaces.hsla=e.toHSLA(this,t)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=e.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=e.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),a=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(a,")")}},{key:"isEqual",value:function(t){return t instanceof e||(t=new e(t)),this._r===t._r&&this._g===t._g&&this._b===t._b}},{key:"blend",value:function(e,t){var n=SA(this._r+(e._r-this._r)*t),r=SA(this._g+(e._g-this._g)*t),o=SA(this._b+(e._b-this._b)*t),i=SA(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(t){(void 0===t||Number.isNaN(+t))&&(t=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new e(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*t))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==pA(o=function(e){if("object"!=pA(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=pA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();EA.toRGB=function(e){if(e instanceof EA)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=EA.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},EA.toRGBA=function(e,t){if(e instanceof EA)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=EA.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},EA.toHex=function(e){var t,n,r;return e instanceof EA?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=EA.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},EA.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new EA(e));var a=e._r/255,l=e._g/255,s=e._b/255,u=Math.max(a,l,s),c=Math.min(a,l,s);if(r=t?.21*a+.72*l+.07*s:(u+c)/2,u===c)n=0,i=0;else{switch(o=u-c,n=r>.5?o/(2-u-c):o/(u+c),u){case a:i=(l-s)/o+(l<s?6:0);break;case l:i=(s-a)/o+2;break;case s:i=(a-l)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},EA.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new EA(e));var a=e._r/255,l=e._g/255,s=e._b/255,u=e._a,c=Math.max(a,l,s),d=Math.min(a,l,s);if(r=t?.21*a+.72*l+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case a:i=(l-s)/o+(l<s?6:0);break;case l:i=(s-a)/o+2;break;case s:i=(a-l)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(u,")")},EA.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new EA(e));var o=e._r/255,i=e._g/255,a=e._b/255,l=Math.max(o,i,a),s=Math.min(o,i,a),u=l;if(l===s)t=0,r=0;else{switch(t=0==(n=l-s)?0:n/u,l){case o:r=(i-a)/n+(i<a?6:0);break;case i:r=(a-o)/n+2;break;case a:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}},EA.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof EA)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},EA.blend=function(e,t,n){var r=(16711680&(e=EA.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=EA.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},EA.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,a=e._a+(t._a-e._a)*n;return new EA(r,o,i,a)},EA.isCSSColor=function(e){return!(arguments.length>1||"string"!=typeof e)&&(gA.test(e)||vA.test(e)||bA.test(e)||yA.test(e)||xA.test(e)||_A.test(e)||mA[e.toLowerCase()])},EA.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},EA.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},EA.isDark=function(){var e={getLuminance:EA.prototype.getLuminance,isInvalid:EA.prototype.isInvalid};return EA.prototype.init.apply(e,[].slice.call(arguments)),EA.prototype.isDark.call(e)},EA.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},hA=EA;const wA=xs($d)((({theme:e})=>({display:"flex",flex:4,flexDirection:"row",flexWrap:"wrap",backgroundColor:e.palette.background.default,borderRadius:"4px",padding:e.spacing(.5),alignItems:"center",justifyContent:"space-around"}))),kA=xs(bd)((({theme:e})=>({display:"flex",width:e.spacing(3.8),height:e.spacing(3.8),borderRadius:"4px",margin:e.spacing(.1),borderWidth:"1px",borderColor:e.palette.grey[500],borderStyle:"solid",justifyContent:"center",alignItems:"center"}))),RA=({palette:e,color:t,onColorChange:n})=>{const[r,o]=k.useState(t),i=rs(),a=k.useCallback((e=>{o(e),n(e)}),[n]);return R.createElement(wA,null,e.map((e=>R.createElement(kA,{style:{backgroundColor:e},key:e,onClick:t=>{t.preventDefault(),t.stopPropagation(),a(e)}},e===r?R.createElement(kf,{height:12,color:i.palette.getContrastText(e)}):null))))};function TA(e,t,n){return Math.max(t,Math.min(n,e))}const AA=(e,t)=>{const n=new hA(e).toHSVComponents(),r=window.getComputedStyle(t),o=parseInt(r.width,10),i=parseInt(r.height,10);return{left:o*(n.s/100)+"px",top:i*((100-n.v)/100)+"px"}},NA=(e,t)=>{const{left:n,top:r,width:o,height:i}=e.currentTarget.getBoundingClientRect(),a=TA(e.clientX-n,0,o)/o*100,l=100-TA(e.clientY-r,0,i)/i*100,s=new hA(t).toHSVComponents();return s.s=a,s.v=l,s},LA=xs($d)((({theme:e})=>({width:e.spacing(32),height:e.spacing(24),padding:e.spacing(1),display:"flex",flexDirection:"column"}))),MA=xs(bd)({flex:4,backgroundImage:"linear-gradient(transparent, black), linear-gradient(to right, white, transparent)",position:"relative",cursor:"crosshair",borderRadius:"4px"}),OA=xs(bd)((({theme:e})=>({flex:.5,marginTop:e.spacing(.5),marginBottom:e.spacing(.5),borderRadius:"4px",cursor:"crosshair",position:"relative",backgroundImage:"linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000 );"}))),PA=xs(bd)({width:"16px",height:"16px",borderRadius:"2px"}),IA=xs($d)({flexDirection:"row",alignItems:"center"}),DA=xs(bd)({position:"absolute",width:"8px",height:"8px",backgroundColor:"black",left:0,top:0,borderRadius:"16px",border:"1px solid white",cursor:"pointer",transform:"translate(-50%, -50%)"}),$A=({onClick:e,onClose:t,startColor:n,palette:r})=>{const[o,i]=k.useState(n),a=k.useRef(n),[l,s]=k.useState(!0),[u,c]=k.useState(o),d=k.useRef(null),f=k.useRef(null),p=k.useRef({left:0,top:0,on:!1,clientX:0,clientY:0}),[h,m]=k.useState({left:"0",top:"0"});k.useEffect((()=>{r.some((e=>e===n))||s(!1)}),[n,r]);const g=k.useCallback((e=>{if(!d.current&&(d.current=e,e)){const t=AA(o,e);m(t)}}),[o]),v=k.useMemo((()=>`hsl(${new hA(o).toHSVComponents().h}, 100%, 50%)`),[o]),b=k.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=NA(t,a.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new hA(r);if(a.current=o.toHex(),f.current&&d.current){const e=d.current.getBoundingClientRect(),n=t.clientX-e.left,r=t.clientY-e.top;f.current.style.left=`${n}px`,f.current.style.top=`${r}px`}e(a.current),c(a.current),i(a.current)}),[e]),y=k.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=((e,t)=>{const{width:n,left:r}=e.target.getBoundingClientRect(),o=TA(e.clientX-r,0,n),i=Math.round(o/n*360),a=o/n*100,l=new hA(t).toHSVComponents();return l.h=i,l.s=a,l})(t,a.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new hA(r);a.current=o.toHex(),e(a.current),c(a.current),i(a.current)}),[e]),x=k.useCallback((t=>{a.current=t,e(a.current),i(a.current),c(t)}),[e]),_=k.useCallback((t=>{if(c(t.target.value),!new hA(t.target.value).isInvalid()&&(a.current=t.target.value,i(t.target.value),t.target.value.startsWith("#")&&7===t.target.value.length?e(a.current,{tag:"collaboration"}):t.target.value.startsWith("#")||e(a.current,{tag:"collaboration"}),d.current)){const e=AA(a.current,d.current);m(e)}}),[e]);return R.createElement(LA,null,l?R.createElement(RA,{palette:r,color:o,onColorChange:x}):R.createElement(R.Fragment,null,R.createElement(MA,{style:{backgroundColor:v},ref:g,onMouseDown:e=>{if(e.preventDefault(),e.stopPropagation(),f.current&&e.target===f.current){const{left:t,top:n}=f.current.style,r=parseInt(t||"0",10),o=parseInt(n||"0",10);f.current.style.cursor="pointer",d.current&&(d.current.style.cursor="pointer"),p.current={left:r,top:o,on:!0,clientX:e.clientX,clientY:e.clientY}}},onMouseMove:e=>{if(e.preventDefault(),e.stopPropagation(),p.current.on&&f.current&&d.current){const t=e.clientX-p.current.clientX,n=e.clientY-p.current.clientY,r=p.current.left+t,o=p.current.top+n,l=NA(e,a.current),s=`hsv(${l.h},${l.s},${l.v})`,u=new hA(s).toHex();f.current.style.left=`${r}px`,f.current.style.top=`${o}px`,f.current.style.backgroundColor=u,a.current=u,c(a.current),i(u)}},onMouseUp:t=>{t.preventDefault(),t.stopPropagation(),p.current.on?e(a.current):b(t),d.current&&(d.current.style.cursor="crosshair"),f.current&&(f.current.style.cursor="pointer"),p.current.on=!1}},R.createElement(DA,{ref:f,style:{...h,backgroundColor:o}})),R.createElement(OA,{onClick:y})),R.createElement(IA,null,R.createElement(PA,{style:{backgroundColor:o}}),R.createElement(md,{style:{flex:1},value:u,onChange:_}),R.createElement(vu,{onClick:()=>s(!l)},R.createElement(yR,{height:12})),R.createElement(vu,{onClick:t},R.createElement(kf,{height:12}))))},zA=["#404040","#ffffff","#99CFCD","#83AF9B","#C4CFDA","#10CFC9","#006580","#87205D","#8A85C6","#A16090","#AC4D58","#E0BD8D","#E1DAD5","#b0afae","#7b7a78","#000000","#C8C7A9"],FA=iA(Td,"Color"),BA=({colorPalette:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(GT),i=k.useCallback(((e,n)=>{t.update((()=>{const t=yt.$getSelection();yt.$isRangeSelection(t)&&xt.$patchStyleText(t,{color:e})}),n),t.dispatchCommand(uA,{styleKey:"color",styleValue:e})}),[t]),a=()=>{r(null)};return R.createElement(Nd,{onClickAway:a,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(FA,{variant:"text",size:"small",endIcon:R.createElement(iR,{height:12}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}},R.createElement(bd,{sx:{backgroundColor:o.fontColor,width:12,height:12}})),R.createElement(KT,{anchorEl:n},R.createElement($A,{onClick:i,onClose:a,startColor:o.fontColor,palette:e||zA}))))},HA=({compact:e,fonts:t})=>{const[n]=ht.useLexicalComposerContext(),[r,o]=k.useState(null),{blockFormat:i}=k.useContext(GT),a=k.useMemo((()=>t||HT),[t]),l=k.useCallback((e=>{o(null);const{fontName:t}=e.currentTarget.dataset;n.update((()=>{const e=yt.$getSelection();yt.$isRangeSelection(e)&&xt.$patchStyleText(e,{"font-family":t||HT[0]}),n.dispatchCommand(uA,{styleKey:"fontFamily",styleValue:t||HT[0]}),n.focus()}))}),[n]);return R.createElement(Nd,{onClickAway:()=>{o(null)},mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(qT,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:i.fontName,startIcon:R.createElement("span",{style:{fontFamily:"Times New Roman, serif",fontSize:16,fontWeight:"lighter"}},"T"),compact:e}),R.createElement(KT,{anchorEl:r},R.createElement(af,{dense:!0,style:{maxHeight:200,overflow:"auto"}},a.map((e=>R.createElement(QT,{"data-font-name":e,key:e,onClick:l,active:e===i.fontName},R.createElement(VT,null,e))))))))},jA=e=>parseInt(e,10),WA=({fontSize:e,onSelected:t})=>{const[n,r]=k.useState(""),o=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(e.target.value)}),[]),i=k.useCallback((()=>{const e=jA(n);e&&t(`${e}px`)}),[t,n]),a=k.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),i())}),[i]);return R.createElement($d,{direction:"row"},R.createElement(md,{value:n,sx:{ml:1,flex:1},placeholder:e,onChange:o,onKeyDown:a}),R.createElement(vu,{disabled:!jA(n),onClick:i},R.createElement(kf,{height:12})))},GA=["8px","9px","10px","11px","12px","14px","16px","20px","24px","32px"],YA=({compact:e})=>{const[t]=ht.useLexicalComposerContext(),[n,r]=k.useState(null),{blockFormat:o}=k.useContext(GT),i=k.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),a=k.useCallback((()=>{r(null)}),[]),l=k.useCallback((e=>{r(null),e.length>0&&t.update((()=>{const n=yt.$getSelection();yt.$isRangeSelection(n)&&xt.$patchStyleText(n,{"font-size":e}),t.dispatchCommand(uA,{styleKey:"fontSize",styleValue:`${e}`})}))}),[t]),s=k.useCallback((e=>{const{fontSize:t}=e.currentTarget.dataset;l(t||"16px")}),[l]),u=k.useCallback((e=>{l(e)}),[l]);return R.createElement(Nd,{onClickAway:a,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},R.createElement("div",null,R.createElement(qT,{startIcon:e?R.createElement(VT,null,o.fontSize):void 0,value:o.fontSize,onClick:i,compact:e}),R.createElement(KT,{anchorEl:n},R.createElement(WA,{fontSize:o.fontSize,onSelected:u}),R.createElement(Dd,null),R.createElement(af,{dense:!0,style:{maxHeight:200,overflow:"auto"}},GA.map((e=>R.createElement(df,{"data-font-size":e,key:e,onClick:s},R.createElement(VT,null,e))))))))},UA=iA(oA,"InsertTable"),KA=()=>{const[e]=ht.useLexicalComposerContext(),t=k.useCallback((()=>{e.dispatchCommand(mT,void 0)}),[e]);return R.createElement(UA,{onClick:t},R.createElement(_R,{height:12}))},VA=iA(aA,"Italic"),qA=()=>R.createElement(VA,{format:"italic",icon:R.createElement(CR,{height:12})}),QA=iA(oA,"InsertHyperlink"),XA=()=>{const[e]=ht.useLexicalComposerContext(),{blockFormat:t}=k.useContext(GT),n=k.useCallback((()=>{t.isLink?e.dispatchCommand(te.TOGGLE_LINK_COMMAND,null):e.dispatchCommand(te.TOGGLE_LINK_COMMAND,IR("https://"))}),[e,t.isLink]);return R.createElement(QA,{onClick:n},R.createElement(wR,{height:12}))},JA=iA(aA,"Underline"),ZA=()=>R.createElement(JA,{format:"underline",icon:R.createElement(RR,{height:12})}),eN=()=>R.createElement(Dd,{flexItem:!0,orientation:"vertical",sx:{mx:.5,my:1}});var tN={AddNewColumn:{value:"Spalte hinzufügen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Zeile hinzufügen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Zentrieren",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Linksbündig",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechtsbündig",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fett",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textausrichtung",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Schriftgröße",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Format löschen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Schriftfarbe",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Spalte löschen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Zeile löschen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabelle löschen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geben Sie Text ein...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Überschrift 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Überschrift 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Überschrift 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Link einfügen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Großer Text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link zu",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Mittlerer Text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sortierte Liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Absatz",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Listenstil",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Kleiner Text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Rahmen wechseln",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-Link",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Unterstreichen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Unsortierte Liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},nN={AlignLeft:{value:"Align left",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)"},AlignCenter:{value:"Align center",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)"},AlignRight:{value:"Align right",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)"},SmallText:{value:"Small text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)"},MediumText:{value:"Medium text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)"},LargeText:{value:"Large text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)"},UnorderedList:{value:"Unordered list",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)"},OrderedList:{value:"Ordered list",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)"},ChangeTextSize:{value:"Text size",comment:"Change text size in toolbar menu label. (dfk 221011)"},BoldText:{value:"Bold",comment:"Bold text label in toolbar menu label. (dfk 221011)"},ItalicizeText:{value:"Italic",comment:"Italicize text label in toolbar menu label. (dfk 221011)"},UnderlineText:{value:"Underline",comment:"Underline text label in toolbar menu label. (dfk 221011)"},ChangeTextAlignment:{value:"Text alignment",comment:"Change text alignment label in toolbar menu label. (dfk 221011)"},SetTextListStyle:{value:"List style",comment:"Set text list style label in toolbar menu label. (dfk 221011)"},InsertHyperlink:{value:"Insert link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)"},LinkTo:{value:"Link to",comment:"Generic link label. (dfk 221011)"},URLLink:{value:"URL link",comment:"URL link label. (dfk 221011)"},Paragraph:{value:"Paragraph",comment:"Paragraph format for the text"},Heading1:{value:"Heading 1",comment:"HTML Header 1 format for the text"},Heading2:{value:"Heading 2",comment:"HTML Header 2 format for the text"},Heading3:{value:"Heading 3",comment:"HTML Header 2 format for the text"},Color:{value:"Font color",comment:"Button label for color picker"},ToggleBorders:{value:"Toggle borders",comment:"Menu option to toggle table borders"},AddNewRow:{value:"Add row",comment:"Menu option to add row to table"},AddNewColumn:{value:"Add column",comment:"Menu option to add column to table"},DeleteRow:{value:"Delete row",comment:"Menu option to delete row to table"},DeleteCol:{value:"Delete column",comment:"Menu option to delete column to table"},DeleteTable:{value:"Delete table",comment:"Menu option to delete table"},ClearFormat:{value:"Clear format",comment:"Clear the selected text format"},EnterText:{value:"Enter some text...",comment:"Prompt to user when the text object is empty"}},rN={AddNewColumn:{value:"Añadir columna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Añadir fila",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinear centrado",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinear a la izquierda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinear a la derecha",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrita",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alineación de texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamaño de texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Borrar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Color de fuente",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Eliminar columna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Eliminar fila",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Eliminar tabla",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Escriba algún texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabecera 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabecera 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabecera 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insertar enlace",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursiva",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Enlazar a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto mediano",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Párrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo de lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeño",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Ajustar bordes",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Enlace URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Subrayado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista no ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},oN={AddNewColumn:{value:"Ajouter une colonne",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Ajouter une ligne",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrer",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Aligner à gauche",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Aligner à droite",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Gras",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alignement du texte",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Taille du texte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Effacer le format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Couleur de police",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Supprimer une colonne",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Supprimer une ligne",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Supprimer la table",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Saisissez un texte...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"En-tête 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"En-tête 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"En-tête 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insérer un lien",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Italique",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texte de grande taille",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Lien vers",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texte de taille moyenne",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Liste triée",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraphe",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Style de liste",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texte de petite taille",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Basculer les bords",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Lien URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Souligner",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Liste non triée",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},iN={AddNewColumn:{value:"Aggiungi colonna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Aggiungi riga",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Allinea al centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Allinea a sinistra",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Allinea a destra",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Grassetto",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Allineamento testo",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Dimensione testo",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Cancella formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Colore carattere",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Elimina colonna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Elimina riga",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Elimina tabella",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Inserisci del testo...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Intestazione 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Intestazione 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Intestazione 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserisci collegamento",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Corsivo",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Testo grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Collega a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Testo medio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Elenco ordinato",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Stile elenco",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Testo piccolo",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Attiva/Disattiva bordi",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Collegamento URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sottolineato",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Elenco non ordinato",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},aN={AddNewColumn:{value:"列を追加",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"行を追加",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"中央揃え",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"左揃え",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"右揃え",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"太字",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"テキストの配置",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"テキスト サイズ",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"書式をクリア",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"フォントの色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"列を削除",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"行を削除",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"テーブルを削除",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"テキストを入力してください...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"見出し 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"見出し 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"見出し 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"リンクを挿入",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"テキスト大",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"リンク先",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"テキスト中",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"順序付きリスト",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"リスト スタイル",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"テキスト小",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"境界線の切り替え",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL リンク",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"順序なしリスト",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},lN={AddNewColumn:{value:"열 추가",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"행 추가",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"중앙 맞춤",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"왼쪽 맞춤",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"오른쪽 맞춤",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"굵게",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"텍스트 맞춤",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"텍스트 크기",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"형식 지우기",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"글꼴 색",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"열 삭제",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"행 삭제",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"테이블 삭제",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"텍스트 입력...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"머리글 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"머리글 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"머리글 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"링크 삽입",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"기울임꼴",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"큰 텍스트",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"연결 대상",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"중간 텍스트",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"순서가 지정된 목록",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"단락",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"목록 스타일",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"작은 텍스트",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"테두리 설정/해제",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 링크",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"밑줄",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"순서가 지정되지 않은 목록",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},sN={AddNewColumn:{value:"Kolom toevoegen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Rij toevoegen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Op midden uitlijnen",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Links uitlijnen",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechts uitlijnen",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Vet",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Tekstuitlijning",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tekstgrootte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Opmaak wissen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Tekstkleur",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Kolom verwijderen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Rij verwijderen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabel verwijderen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geef tekst op...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Koptekst 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Koptekst 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Koptekst 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Koppeling invoegen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursief",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Tekst groot",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Koppelen met",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Tekst medium",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Geordende lijst",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Alinea",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Lijststijl",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Tekst klein",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Randen in-/uitschakelen",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-koppeling",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Onderstrepen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Ongeordende lijst",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},uN={AddNewColumn:{value:"Dodaj kolumnę",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Dodaj wiersz",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Wyrównaj do środka",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Wyrównaj do lewej",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Wyrównaj do prawej",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Pogrubienie",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Wyrównanie tekstu",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Wielkość tekstu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Wyczyść format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Kolor czcionki",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Usuń kolumnę",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Usuń wiersz",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Usuń tabelę",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Wprowadź tekst...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Nagłówek 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Nagłówek 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Nagłówek 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Wstaw łącze",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursywa",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Duży tekst",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Łącze do:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Średni tekst",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista uporządkowana",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Akapit",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Styl listy",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Mały tekst",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Przełącz obramowania",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Łącze URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Podkreślenie",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista nieuporządkowana",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},cN={AddNewColumn:{value:"Adicionar coluna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Adicionar linha",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinhar centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinhar à esquerda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinhar à direita",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrito",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alinhamento do texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamanho do texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Limpar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Cor da fonte",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Excluir coluna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Excluir linha",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Excluir tabela",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Digite algum texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabeçalho 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabeçallho 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabeçalho 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserir link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Itálico",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link para",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto médio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Parágrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo em lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeno",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Alternar bordas",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Link da URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sublinhado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista não ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},dN={AddNewColumn:{value:"Добавить столбец",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Добавить строку",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Выровнять по центру",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Выровнять по левой стороне",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Выровнять по правой стороне",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Полужирный",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Выравнивание текста",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Размер текста",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Очистить формат",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Цвет шрифта",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Удалить столбец",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Удалить строку",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Удалить таблицу",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Введите текст...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Заголовок 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Заголовок 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Заголовок 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Вставить ссылку",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Курсив",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Крупный текст",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Ссылка на",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Средний текст",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Упорядоченный список",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Абзац",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Стиль списка",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Мелкий текст",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Переключить границы",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-ссылка",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Подчеркивание",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Неупорядоченный список",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},fN={AddNewColumn:{value:"Lägg till kolumn",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Lägg till rad",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrera",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Vänsterjustera",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Högerjustera",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fetstil",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textjustering",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Textstorlek",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Rensa format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Teckenfärg",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Ta bort kolumn",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Ta bort rad",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Ta bort tabell",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Skriv in text...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Rubrik 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Rubrik 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Rubrik 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Infoga länk",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Stor text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Länka till",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Medelstor text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sorterad lista",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Stycke",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Som lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Liten text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kantlinjer på/av",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-länk",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Understrykning",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Osorterad lista",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},pN={AddNewColumn:{value:"Sütun ekle",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Satır ekle",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Ortaya hizala",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Sola hizala",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Sağa hizala",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Kalın",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Metin hizalaması",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Metin boyutu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Biçimi temizle",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Yazı tipi rengi",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Sütun sil",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Satır sil",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabloyu sil",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Metin girin...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Başlık 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Başlık 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Başlık 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Bağlantı ekle",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"İtalik",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Büyük metin",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Bağlantı:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Orta boy metin",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sıralı liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraf",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Liste stili",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Küçük metin",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kenarlıkları değiştir",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL bağlantısı",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Altını çiz",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Sırasız liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}};const hN={de:tN,es:rN,en:nN,fr:oN,it:iN,ja:aN,ko:lN,nl:sN,pl:uN,pt:cN,ru:dN,sv:fN,tr:pN,"de-de":tN,"es-es":rN,"en-us":nN,"fr-fr":oN,"it-it":iN,"ja-jp":aN,"ko-kr":lN,"nl-nl":sN,"pl-pl":uN,"pt-br":cN,"ru-ru":dN,"sv-se":fN,"tr-tr":pN,"zh-cn":{AddNewColumn:{value:"添加列",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"添加行",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"居中对齐",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左对齐",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右对齐",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"加粗",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文本对齐",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文本大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字体颜色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"删除列",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"删除行",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"删除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"输入一些文本...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"标题 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"标题 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"标题 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入链接",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文本",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"链接到",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文本",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"有序列表",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"列表样式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文本",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切换边框",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 链接",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下划线",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"无序列表",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},"zh-tw":{AddNewColumn:{value:"新增欄",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"新增列",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"置中對齊",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左對齊",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右對齊",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"粗體",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文字對齊方式",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文字大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字型色彩",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"刪除欄",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"刪除列",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"刪除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"輸入一些文字...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"標頭 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"標頭 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"標頭 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入連結",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜體字",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文字",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"連結至",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文字",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"排序清單",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"清單樣式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文字",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切換框線",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 連結",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"底線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"未排序清單",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}}};function mN(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gN,vN,bN,yN={};var xN,_N=function(){if(bN)return vN;bN=1;const e=function(){if(gN)return yN;gN=1;var e=me(),t=K(),n=h();function r(e,n){return e.getEditorState().read((()=>{let e=t.$getNodeByKey(n);return null!==e&&e.isSelected()}))}return yN.useLexicalNodeSelection=function(o){let[i]=e.useLexicalComposerContext(),[a,l]=n.useState((()=>r(i,o)));n.useEffect((()=>{let e=!0,t=i.registerUpdateListener((()=>{e&&l(r(i,o))}));return()=>{e=!1,t()}}),[i,o]);let s=n.useCallback((e=>{i.update((()=>{let n=t.$getSelection();t.$isNodeSelection(n)||(n=t.$createNodeSelection(),t.$setSelection(n)),e?n.add(o):n.delete(o)}))}),[i,o]),u=n.useCallback((()=>{i.update((()=>{const e=t.$getSelection();t.$isNodeSelection(e)&&e.clear()}))}),[i]);return[a,s,u]},yN}();return vN=e}(),SN={};var CN=function(){if(xN)return SN;xN=1;var e={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,n=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,r=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,o=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,i=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,a=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,l=Math.floor,s=Math.round,u=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r,o,i,a,u,c,d,f,p,h,m,g=0,v=0,b=0,y=1;if(this._invalid=!1,arguments[0]instanceof t)g=arguments[0]._r,v=arguments[0]._g,b=arguments[0]._b,y=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(h=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m=arguments[0]))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10);else if(h=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m))y=parseFloat(s(h[1]/2.55)/100),g=parseInt(h[2],10),v=parseInt(h[3],10),b=parseInt(h[4],10);else if(h=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(m))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10),y=parseFloat(h[4]);else if(h=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(m))g=parseInt(h[1],16),v=parseInt(h[2],16),b=parseInt(h[3],16),y=1;else if(h=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(m))g=parseInt(h[1]+h[1],16),v=parseInt(h[2]+h[2],16),b=parseInt(h[3]+h[3],16),y=1;else if(h=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else if(h=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),y=parseFloat(h[7]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b)}else if(h=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),a=parseFloat(h[5]),c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(a=(a/=100)<0?0:a>1?1:a)*(r=(r/=100)<0?0:r>1?1:r))*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=a-u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else e[m.toLowerCase()]?(o=m.toLowerCase(),g=e[o].r,v=e[o].g,b=e[o].b,y="number"==typeof e[o].a?e[o].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(y=(4278190080&arguments[0])>>>24,y/=255,g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(g=arguments[0],v=arguments[1],b=arguments[2],y=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+g+v+b+y)&&(this._invalid=!0),this._r=l(g),this._g=l(v),this._b=l(b),this._a=y,this._spaces={}}var n,r;return n=t,(r=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=t.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=t.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(e){return this._spaces.hsl||(this._spaces.hsl=t.toHSL(this,e)),this._spaces.hsl}},{key:"toHSLA",value:function(e){return this._spaces.hsla||(this._spaces.hsla=t.toHSLA(this,e)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=t.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=t.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),a=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(a,")")}},{key:"isEqual",value:function(e){return e instanceof t||(e=new t(e)),this._r===e._r&&this._g===e._g&&this._b===e._b}},{key:"blend",value:function(e,t){var n=l(this._r+(e._r-this._r)*t),r=l(this._g+(e._g-this._g)*t),o=l(this._b+(e._b-this._b)*t),i=l(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(e){(void 0===e||Number.isNaN(+e))&&(e=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new t(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key,"string"))?o:String(o),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return u.toRGB=function(e){if(e instanceof u)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},u.toRGBA=function(e,t){if(e instanceof u)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},u.toHex=function(e){var t,n,r;return e instanceof u?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=u.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},u.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var a=e._r/255,l=e._g/255,s=e._b/255,c=Math.max(a,l,s),d=Math.min(a,l,s);if(r=t?.21*a+.72*l+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case a:i=(l-s)/o+(l<s?6:0);break;case l:i=(s-a)/o+2;break;case s:i=(a-l)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},u.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var a=e._r/255,l=e._g/255,s=e._b/255,c=e._a,d=Math.max(a,l,s),f=Math.min(a,l,s);if(r=t?.21*a+.72*l+.07*s:(d+f)/2,d===f)n=0,i=0;else{switch(o=d-f,n=r>.5?o/(2-d-f):o/(d+f),d){case a:i=(l-s)/o+(l<s?6:0);break;case l:i=(s-a)/o+2;break;case s:i=(a-l)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(c,")")},u.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new u(e));var o=e._r/255,i=e._g/255,a=e._b/255,l=Math.max(o,i,a),s=Math.min(o,i,a),c=l;if(l===s)t=0,r=0;else{switch(t=0==(n=l-s)?0:n/c,l){case o:r=(i-a)/n+(i<a?6:0);break;case i:r=(a-o)/n+2;break;case a:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}},u.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof u)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},u.blend=function(e,t,n){var r=(16711680&(e=u.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=u.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},u.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,a=e._a+(t._a-e._a)*n;return new u(r,o,i,a)},u.isCSSColor=function(l){return!(arguments.length>1||"string"!=typeof l)&&(t.test(l)||n.test(l)||r.test(l)||o.test(l)||i.test(l)||a.test(l)||e[l.toLowerCase()])},u.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},u.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},u.isDark=function(){var e={getLuminance:u.prototype.getLuminance,isInvalid:u.prototype.isInvalid};return u.prototype.init.apply(e,[].slice.call(arguments)),u.prototype.isDark.call(e)},u.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},SN.Color=u,SN}();async function EN(e,t){!async function(e,t){try{if(e&&t){const n=t(await e.getProperties());await e.setProperties(n)}}catch(e){console.error(e)}}(e,(e=>{const{qHyperCubeDef:n}=e;if(n){var r;const e=null===(r=n.qMeasures)||void 0===r?void 0:r.filter((e=>!(null==t?void 0:t.find((t=>{var n;return t===(null==e||null===(n=e.qDef)||void 0===n?void 0:n.cId)})))));n.qMeasures=e,n.qInterColumnSortOrder=[]}return{...e,qHyperCubeDef:n}}))}function wN(e){return{fontWeight:e.fontWeight,fontStyle:e.fontStyle,textDecoration:e.textDecoration,color:e.color,fontSize:e.fontSize,fontFamily:e.fontFamily}}function kN(e,t){return null==t?void 0:t.getNodes().some((t=>t.getKey()===e))}var RN,TN;var AN=function(){if(TN)return RN;TN=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},RN=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,a,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];for(o=(l=r.slice()).length,a=0;a<o;a++)l[a].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=i;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},RN}();let NN=[];const LN=new AN.EventEmitter;LN.isSelected=e=>{var t;const n=null==e||null===(t=e.qDef)||void 0===t?void 0:t.cId;return-1!==NN.indexOf(n)},LN.setSelected=e=>{NN!==e&&(NN=e,LN.emit("change"))};function MN({cId:e,initStyle:t,nodeKey:n}){const{layout:r,theme:o,flags:i}=k.useContext(A),[a]=ht.useLexicalComposerContext(),l=vt(),[s,u,c]=_N.useLexicalNodeSelection(n),d=k.useRef(null),[f,p]=k.useState(t);k.useEffect((()=>{p(t)}),[t]);const h=k.useMemo((()=>{let e;return s?e="rgba(0, 152, 69, 0.25)":l&&(e="rgba(0, 0, 0, 0.075)"),{backgroundColor:e}}),[s,l]),m=k.useMemo((()=>r&&o?function(e,t){const{qHyperCube:n}=t;if(n){var r;const t=null===(r=n.qMeasureInfo)||void 0===r?void 0:r.findIndex((t=>t.cId===e));if(void 0!==t&&-1!==t){var o,i;const e=null==n||null===(o=n.qDataPages)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.qMatrix)||void 0===o?void 0:o[0][t];if(1===(null==e||null===(i=e.qAttrExps)||void 0===i||null===(i=i.qValues)||void 0===i?void 0:i.length)){var a;const t=null===(a=e.qAttrExps.qValues[0])||void 0===a?void 0:a.qText;if(t){const n=new CN.Color(t);return{value:(null==e?void 0:e.qText)||"",expressionColor:n.toHex()}}}return{value:(null==e?void 0:e.qText)||""}}}return{value:""}}(e,r):{value:""}),[r]);k.useEffect((()=>bt.mergeRegister(a.registerCommand(yt.FORMAT_TEXT_COMMAND,(e=>(a.update((()=>{const t=e,r=yt.$getSelection();if(yt.$isRangeSelection(r)&&s){if(kN(n,r)){const e=((e,t)=>{const n={};switch(e){case"bold":n.fontWeight=t;break;case"italic":n.fontStyle=t;break;case"underline":n.textDecoration=t}return n})(t,r.hasFormat(t)?t:"");p((t=>({...t,...e})))}}else if(s&&yt.$isNodeSelection(r)&&kN(n,r)&&d.current){const e=wN(d.current.style);p(((e,t)=>{const n={};switch(e){case"bold":t.fontWeight?"bold"===t.fontWeight&&(n.fontWeight=""):n.fontWeight="bold";break;case"italic":n.fontStyle="italic"===t.fontStyle?"":"italic";break;case"underline":n.textDecoration="underline"===t.textDecoration?"":"underline"}return{...t,...n}})(t,e))}})),!1)),yt.COMMAND_PRIORITY_HIGH),a.registerCommand(uA,(e=>(a.getEditorState().read((()=>{if("color"===e.styleKey&&m.expressionColor)return!1;if(d.current&&s){const r=yt.$getSelection();if(kN(n,r)){var t;const n=wN(null===(t=d.current)||void 0===t?void 0:t.style);n[e.styleKey]=e.styleValue,p(n)}}})),!1)),yt.COMMAND_PRIORITY_EDITOR),a.registerCommand(cA,(()=>(a.getEditorState().read((()=>{if(d.current&&s){const e=yt.$getSelection();if(kN(n,e)){const e={};m.expressionColor&&(e.color=m.expressionColor),p(e)}}})),!1)),yt.COMMAND_PRIORITY_EDITOR),a.registerCommand(yt.SELECTION_CHANGE_COMMAND,(()=>(null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&a.update((()=>{const e=[],t=yt.$getSelection(),n=null==t?void 0:t.getNodes();null==n||n.forEach((t=>{null!=t&&t.getExpressionId&&e.push(null==t?void 0:t.getExpressionId())})),LN.setSelected(e)})),!1)),yt.COMMAND_PRIORITY_LOW))),[a,u,c,s,n,m]),k.useEffect((()=>{l||(c(),null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&LN.setSelected([]))}),[l,c]),k.useEffect((()=>{a.update((()=>{!function(e,t){const n=yt.$getNodeByKey(e);var r;n&&(null===(r=n.setFormatStyle)||void 0===r||r.call(n,t))}(n,f)}))}),[f,a]);const g=k.useCallback((e=>{if(l){const t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left;r>3?(e.preventDefault(),e.stopPropagation(),c(),u(!0)):r<t.width&&a.update((()=>{const e=yt.$getSelection();if(yt.$isNodeSelection(e)){const t=yt.$getNodeByKey(n);null==t||t.selectPrevious(),e.delete(n)}}))}}),[c,l,a]);return R.createElement("span",{style:{...h,...f,color:m.expressionColor?m.expressionColor:f.color},onClick:g,ref:d,id:e},m.value)}const ON="qlik.expression.node";class PN extends wT{static getType(){return ON}static clone(e){return new PN(e.__expressionId,e.__formatStyle,e.__key)}static importJSON(e){const t=function(e,t){return new PN(e,t)}(e.expressionId,e.formatStyle);return t}getExpressionId(){return this.__expressionId}exportJSON(){return{expressionId:this.getExpressionId(),formatStyle:this.__formatStyle,type:ON,version:1}}setExported(){this.getWritable().__exported=!0}constructor(e,t,n){super(t,n),mN(this,"__expressionId",void 0),this.__expressionId=e}createDOM(){return document.createElement("span")}exportDOM(e){return super.exportDOM(e)}updateDOM(){return!1}decorate(){return R.createElement(MN,{cId:this.__expressionId,initStyle:this.__formatStyle,nodeKey:this.__key})}isInline(){return!0}isKeyboardSelectable(){return!0}}function IN(e){return e instanceof PN}function DN(){const[e]=ht.useLexicalComposerContext(),t=vt(),{edit:n,model:r,emitter:o}=k.useContext(A);return k.useEffect((()=>{const t=()=>{r&&async function(e,t){try{const n=await t.getProperties();n.text=JSON.stringify(e),await t.setProperties(n)}catch(e){console.error(e)}}(e.getEditorState().toJSON(),r)},n=t=>{const n=e.parseEditorState(t);t!==JSON.stringify(e.getEditorState().toJSON())&&e.setEditorState(n)};return null==o||o.on("saveDocument",t),null==o||o.on("reloadData",n),()=>{null==o||o.removeListener("saveDocument",t),null==o||o.removeListener("reloadData",n)}}),[o,r]),k.useEffect((()=>{e.setEditable(n)}),[n]),k.useEffect((()=>{t&&e.focus()}),[t,e]),null}class $N{constructor(){mN(this,"nodeStore",void 0),mN(this,"pendingDeletes",void 0),this.nodeStore=new Map,this.pendingDeletes=[]}update(e,t){if("updated"===t||"created"===t){const n=yt.$getNodeByKey(e);if(IN(n)&&(this.nodeStore.set(e,n),"created"===t)){const e=this.pendingDeletes.findIndex((e=>n.getExpressionId()===e));-1!==e&&this.pendingDeletes.splice(e,1)}}else if("destroyed"===t){const t=this.nodeStore.get(e);t&&(this.pendingDeletes.push(t.getExpressionId()),this.nodeStore.delete(e))}}sync(){const e=this.pendingDeletes;return this.pendingDeletes=[],e}}function zN(){let e;const{layout:t,readyToPrint:n}=k.useContext(A),[r]=ht.useLexicalComposerContext();k.useEffect((()=>(e=r.registerUpdateListener((({dirtyElements:r,dirtyLeaves:o,prevEditorState:i})=>{0===r.size&&0===o.size||i.isEmpty()||(()=>{const r=null==n?void 0:n.findIndex((e=>e.id===t.qInfo.qId));r>-1&&(n[r].resolve(),n.splice(r,1),e())})()})),()=>{e()})),[])}function FN(){const{layout:e,emitter:t}=k.useContext(A),[n]=ht.useLexicalComposerContext(),r=k.useRef(new $N),o=vt();return zN(),k.useEffect((()=>{const e=n.registerMutationListener(PN,(e=>{n.getEditorState().read((()=>{for(const[t,n]of e)r.current.update(t,n)}))}));return()=>{e()}}),[n]),k.useEffect((()=>{e&&n.update((()=>{var t;const n=null===(t=e.qHyperCube)||void 0===t?void 0:t.qMeasureInfo;if(n){const e=yt.$nodesOfType(PN),t=((e,t)=>e.reduce(((e,n)=>(t.find((e=>e.cId===n.getExpressionId()))||e.push(n),e)),[]))(e,n);if(t.forEach((e=>{e.remove()})),n.length>e.length){const e=yt.$getSelection(),{cId:t}=n[n.length-1],r=new PN(t,{}),o=yt.$createTextNode(" "),i=yt.$createTextNode("");yt.$isRangeSelection(e)?e.insertNodes([i,r,o]):bt.$insertNodeToNearestRoot(r)}}}))}),[e,n]),k.useEffect((()=>n.registerCommand(yt.KEY_DOWN_COMMAND,(e=>("Backspace"===e.key&&n.update((()=>{const e=yt.$getSelection();yt.$isNodeSelection(e)&&e.getNodes().forEach((e=>{IN(e)&&(e.selectPrevious(),e.remove())}))})),!1)),yt.COMMAND_PRIORITY_LOW)),[n]),k.useEffect((()=>{if(!o){const e=r.current.sync();e.length>0&&(null==t||t.emit("onNodeDestroyed",e))}}),[o,t]),null}const BN=/"/g;function HN(){const{model:e,emitter:t}=k.useContext(A),[n]=ht.useLexicalComposerContext(),r=k.useRef(new Map);return k.useEffect((()=>{const o=n.registerMutationListener(yt.TextNode,(e=>{e.forEach(((e,t)=>{if("destroyed"===e)r.current.delete(t);else{var o;const e=null===(o=n.getElementByKey(t))||void 0===o?void 0:o.style.fontFamily;e&&r.current.set(t,e)}}))}));async function i(){if(e){!async function(e,t){try{const n=await t.getProperties();n.fontsUsed=e,await t.setProperties(n)}catch(e){console.error(e)}}(Array.from(new Set(r.current.values())).map((e=>e.replace(BN,""))),e)}}return null==t||t.on("saveDocument",i),()=>{null==t||t.removeListener("saveDocument",i),o()}}),[n]),null}function jN(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WN,GN="top",YN="top-right",UN="right",KN="bottom-right",VN="bottom",qN="bottom-left",QN="left",XN="top-left";jN(jN(jN(jN(jN(jN(jN(jN(jN(jN(WN={},"equal-equal",[GN,VN]),"equal-higher",[VN,KN]),"equal-lower",[GN,YN]),"equal-void",[GN,VN]),"higher-equal",[QN,qN,GN,YN]),"higher-higher-acute",[VN,qN,QN,YN]),"higher-higher-obtuse",[VN,GN]),"higher-lower-negative",[GN,YN,UN]),"higher-lower-positive",[VN,qN,QN]),"higher-void",[GN]),jN(jN(jN(jN(jN(jN(jN(jN(jN(jN(WN,"lower-equal",[GN]),"lower-higher-negative",[GN,XN]),"lower-higher-positive",[KN]),"lower-lower-acute",[GN,XN,QN,YN,UN]),"lower-lower-obtuse",[GN,VN]),"lower-void",[GN]),"void-equal",[GN]),"void-higher",[GN,VN]),"void-lower",[GN,VN,QN]),"void-void",[GN]),jN(WN,"unclassified",[GN,VN,UN,QN,YN,KN,qN,XN]);var JN,ZN,eL=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],tL=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var nL=function(){if(ZN)return JN;ZN=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return JN=function e(){var t,n,r,s,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(i(s)||(u=o(s)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(h,c,s)})):void 0!==s&&a(d,{name:n,newValue:s}));return d},JN}();function rL(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function oL(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function iL(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(nL);var aL=1/.7,lL="\\s*([+-]?\\d+)\\s*",sL="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",uL="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cL=/^#([0-9a-f]{3,8})$/,dL=new RegExp(`^rgb\\(${lL},${lL},${lL}\\)$`),fL=new RegExp(`^rgb\\(${uL},${uL},${uL}\\)$`),pL=new RegExp(`^rgba\\(${lL},${lL},${lL},${sL}\\)$`),hL=new RegExp(`^rgba\\(${uL},${uL},${uL},${sL}\\)$`),mL=new RegExp(`^hsl\\(${sL},${uL},${uL}\\)$`),gL=new RegExp(`^hsla\\(${sL},${uL},${uL},${sL}\\)$`),vL={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function bL(){return this.rgb().formatHex()}function yL(){return this.rgb().formatRgb()}function xL(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=cL.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?_L(t):3===n?new wL(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?SL(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?SL(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=dL.exec(e))?new wL(t[1],t[2],t[3],1):(t=fL.exec(e))?new wL(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=pL.exec(e))?SL(t[1],t[2],t[3],t[4]):(t=hL.exec(e))?SL(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=mL.exec(e))?LL(t[1],t[2]/100,t[3]/100,1):(t=gL.exec(e))?LL(t[1],t[2]/100,t[3]/100,t[4]):vL.hasOwnProperty(e)?_L(vL[e]):"transparent"===e?new wL(NaN,NaN,NaN,0):null}function _L(e){return new wL(e>>16&255,e>>8&255,255&e,1)}function SL(e,t,n,r){return r<=0&&(e=t=n=NaN),new wL(e,t,n,r)}function CL(e){return e instanceof iL||(e=xL(e)),e?new wL((e=e.rgb()).r,e.g,e.b,e.opacity):new wL}function EL(e,t,n,r){return 1===arguments.length?CL(e):new wL(e,t,n,null==r?1:r)}function wL(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function kL(){return`#${NL(this.r)}${NL(this.g)}${NL(this.b)}`}function RL(){const e=TL(this.opacity);return`${1===e?"rgb(":"rgba("}${AL(this.r)}, ${AL(this.g)}, ${AL(this.b)}${1===e?")":`, ${e})`}`}function TL(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function AL(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function NL(e){return((e=AL(e))<16?"0":"")+e.toString(16)}function LL(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new OL(e,t,n,r)}function ML(e){if(e instanceof OL)return new OL(e.h,e.s,e.l,e.opacity);if(e instanceof iL||(e=xL(e)),!e)return new OL;if(e instanceof OL)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new OL(a,l,s,e.opacity)}function OL(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function PL(e){return(e=(e||0)%360)<0?e+360:e}function IL(e){return Math.max(0,Math.min(1,e||0))}function DL(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}rL(iL,xL,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:bL,formatHex:bL,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ML(this).formatHsl()},formatRgb:yL,toString:yL}),rL(wL,EL,oL(iL,{brighter(e){return e=null==e?aL:Math.pow(aL,e),new wL(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new wL(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new wL(AL(this.r),AL(this.g),AL(this.b),TL(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kL,formatHex:kL,formatHex8:function(){return`#${NL(this.r)}${NL(this.g)}${NL(this.b)}${NL(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:RL,toString:RL})),rL(OL,(function(e,t,n,r){return 1===arguments.length?ML(e):new OL(e,t,n,null==r?1:r)}),oL(iL,{brighter(e){return e=null==e?aL:Math.pow(aL,e),new OL(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new OL(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new wL(DL(e>=240?e-240:e+120,o,r),DL(e,o,r),DL(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new OL(PL(this.h),IL(this.s),IL(this.l),TL(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=TL(this.opacity);return`${1===e?"hsl(":"hsla("}${PL(this.h)}, ${100*IL(this.s)}%, ${100*IL(this.l)}%${1===e?")":`, ${e})`}`}}));const $L=Math.PI/180,zL=180/Math.PI,FL=4/29,BL=6/29,HL=3*BL*BL;function jL(e){if(e instanceof WL)return new WL(e.l,e.a,e.b,e.opacity);if(e instanceof VL)return qL(e);e instanceof wL||(e=CL(e));var t,n,r=KL(e.r),o=KL(e.g),i=KL(e.b),a=GL((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=GL((.4360747*r+.3850649*o+.1430804*i)/.96422),n=GL((.0139322*r+.0971045*o+.7141733*i)/.82521)),new WL(116*a-16,500*(t-a),200*(a-n),e.opacity)}function WL(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function GL(e){return e>.008856451679035631?Math.pow(e,1/3):e/HL+FL}function YL(e){return e>BL?e*e*e:HL*(e-FL)}function UL(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function KL(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function VL(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function qL(e){if(isNaN(e.h))return new WL(e.l,0,0,e.opacity);var t=e.h*$L;return new WL(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}rL(WL,(function(e,t,n,r){return 1===arguments.length?jL(e):new WL(e,t,n,null==r?1:r)}),oL(iL,{brighter(e){return new WL(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new WL(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new wL(UL(3.1338561*(t=.96422*YL(t))-1.6168667*(e=1*YL(e))-.4906146*(n=.82521*YL(n))),UL(-.9787684*t+1.9161415*e+.033454*n),UL(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),rL(VL,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof VL)return new VL(e.h,e.c,e.l,e.opacity);if(e instanceof WL||(e=jL(e)),0===e.a&&0===e.b)return new VL(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*zL;return new VL(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new VL(e,t,n,null==r?1:r)}),oL(iL,{brighter(e){return new VL(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new VL(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return qL(this).rgb()}}));var QL=e=>()=>e;function XL(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):QL(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?XL:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):QL(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=EL(e)).r,(t=EL(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=XL(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);var JL,ZL="center",eM="bottom";function tM(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function nM(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=oM)):void 0===t&&(t=rM);for(var n,r,o,i,a,l=new lM(e),s=[l];n=s.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)s.push(r=o[i]=new lM(o[i])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(aM)}function rM(e){return e.children}function oM(e){return Array.isArray(e)?e[1]:null}function iM(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function aM(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function lM(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:ZL,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:ZL,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:ZL,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:ZL},{key:"DataRangeIncludingZero",alignment:eM},{key:"LimitedData",alignment:eM},{key:"NegativeOrZeroValues",alignment:eM}].reduce((function(e,t){return e[t.key]=t,e}),{}),lM.prototype=nM.prototype={constructor:lM,count:function(){return this.eachAfter(tM)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=l.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return nM(this).eachBefore(iM)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},JL=function(e){
|
|
97
109
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
98
|
-
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,l,
|
|
110
|
+
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,u,c,d,f=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),v=f-g,b=e.substring(v,v+1),y=v+("."===b||","===b?1:0),x=g>0?e.substring(y,f):"";if(n=(t="-"===(e=e.substring(p,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",v=(d=t[0]).length%s,f=d.length,y=0;y<f;y++)m+=d.charAt(y),!((y-v+1)%s)&&y<f-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},JL({exports:{}});const sM=e=>`text-toolbar.${null==e?void 0:e.id}`;function uM(){const{element:e,edit:t,model:n,flags:r,theme:o}=k.useContext(A),i=k.useMemo((()=>(null==e?void 0:e.closest(".qv-inner-object"))||e),[e]),a=k.useMemo((()=>function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?tL:eL}(r)),[r]),l=k.useMemo((()=>(e=>{const t=null==e?void 0:e.getDataColorPickerPalettes();if(t&&(null==t?void 0:t.length)>0)return["#404040",...t[0].colors.filter((e=>"none"!==e))]})(o)),[o]);return R.createElement(ed,{open:t,anchorEl:i,placement:"top",transition:!0,sx:{zIndex:1},id:sM(n)},(({TransitionProps:e})=>R.createElement(jd,{...e},R.createElement(Vs,{sx:{borderRadius:1,padding:.25}},R.createElement(UT,null,R.createElement(rA,{compact:!0}),R.createElement(eN,null),R.createElement(HA,{compact:!0,fonts:a}),R.createElement(YA,{compact:!0}),R.createElement(eN,null),R.createElement(sA,null),R.createElement(qA,null),R.createElement(ZA,null),R.createElement(XA,null),R.createElement(BA,{colorPalette:l}),R.createElement(eN,null),R.createElement(JT,{compact:!0}),R.createElement(eN,null),R.createElement(fA,null),R.createElement(eN,null),R.createElement(KA,null))))))}function cM({interactionState:e}){const{initialData:t,lang:n,flags:r}=k.useContext(A),o=!(!1===(null==e?void 0:e.edit)&&null!=r&&r.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE"));k.useEffect((()=>{!function(e){const t=Object.entries(hN[e.toLowerCase()]).reduce(((e,[t,n])=>({...e,[t]:n.value})),{});xk.append(t)}(n)}),[n]);const i=k.useMemo((()=>{if(void 0!==t){return(e=>{var t;let n=WR.nodes;e.nodes&&(n=null===(t=WR.nodes)||void 0===t?void 0:t.concat(e.nodes));const r=e.initialData?e.initialData:void 0;return{...WR,nodes:n,editorState:r}})({initialData:t||void 0,nodes:[...kT,PN]})}return null}),[t]);return i?R.createElement("div",{className:"hideScrollBar"},R.createElement(GR,{initialConfig:i,flags:r},R.createElement(uM,null),R.createElement(FT,{showPlaceholder:o}),R.createElement($T,null),R.createElement(FN,null),R.createElement(DN,null),R.createElement(HN,null))):null}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".hideScrollBar {\n overflow-y: scroll;\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n height: 100%;\n position: relative;\n}\n\n.hideScrollBar::-webkit-scrollbar {\n display: none;\n}\n");const dM={uses:"data",addTranslation:"Properties.AddData",items:{dimensions:{disableRef:"",show:!1},measures:{ref:"qHyperCubeDef.qMeasures",disabledRef:"",selections:LN,items:{divider:{uses:"divider"},aggrFunc:{ref:"qDef.qAggrFunc",type:"string",defaultValue:"None",show:!1},measureColoring:{translation:"properties.color",component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"expressionColor"}]}}}}},fM={uses:"settings",items:{general:{items:{showTitles:{defaultValue:!1}}},presentation:{type:"items",translation:"properties.presentation",items:{styleEditor:{component:"styling-panel",chartTitle:"Object.Text",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0}}}}};class pM{constructor(){mN(this,"selectedModelId",void 0),mN(this,"getSelectedModelId",(()=>this.selectedModelId)),mN(this,"snTexts",{}),mN(this,"getSnTexts",(()=>this.snTexts)),mN(this,"sync",(({modelId:e})=>{this.snTexts[e]={propertiesHaveBeenModified:!1}})),mN(this,"setSelectedModelId",(e=>{this.selectedModelId=e})),mN(this,"setPropertiesHaveBeenModified",((e,t)=>{this.snTexts[e]={propertiesHaveBeenModified:t}})),mN(this,"setPropertiesHaveBeenModifiedForSelectedModel",(e=>{this.selectedModelId&&(this.snTexts[this.selectedModelId]={propertiesHaveBeenModified:e})})),mN(this,"destroy",(e=>{delete this.snTexts[e]}))}}return function(t){const o=new pM,{flags:i}=t,a=[];return{qae:{properties:n,data:r(o)},component(){const t=e.useElement(),n=(t=>{const n=e.useMemo((()=>w.createRoot(t)),[t]);return e.useEffect((()=>()=>{null==n||n.unmount()}),[n]),n})(t),r=e.useStaleLayout(),l=e.useModel(),s=e.useInteractionState(),u=e.useEmitter(),c=e.useTranslator(),[d,f]=e.useState(!1),[p,h]=e.useState(void 0),[m,g]=e.useState(1),v=e.useTheme(),[b,y]=e.useState(!1),[x,_]=e.useState(null);e.usePromise((()=>new Promise((e=>{var t;const n={id:null==r||null===(t=r.qInfo)||void 0===t?void 0:t.qId,resolve:e};a.push(n)}))),[]);const S=e=>{e||g(0),(e=>!!e.qExtendsId)(r)||(!0===e&&y(!0),f(e),u.emit("njs-internal-edit-change",e))};e.useEffect((()=>{const e=e=>{EN(l,e)};return u.on("onNodeDestroyed",e),()=>{u.removeListener("onNodeDestroyed",e)}}),[u,l]),e.useEffect((()=>{2===m&&s.edit&&s.select&&S(!0)}),[m,s]),e.useEffect((()=>{r&&void 0===p&&(h(r.text||null),_(null==r?void 0:r.text))}),[r,p]),e.useEffect((()=>{const e=()=>{s.edit&&s.select&&g((e=>e+1))},n=e=>{const n=document.getElementById(sM(l));t.contains(e.target)||null!=n&&n.contains(e.target)||(e=>{const t=document.getElementsByClassName("tekPopperMenu"),n=document.getElementById("tekTableMenu");if(null!=n&&n.contains(e))return!0;for(let n=0;n<t.length;n++)if(t[n].contains(e))return!0;return!1})(e.target)||S(!1)};if(!s.edit||!s.select){var r;S(!1);const e=(null==l?void 0:l.id)&&(null===(r=o.getSnTexts()[l.id])||void 0===r?void 0:r.propertiesHaveBeenModified);(b||e)&&(u.emit("saveDocument"),o.setPropertiesHaveBeenModified(l.id,!1))}return t.addEventListener("click",e),document.addEventListener("mousedown",n),()=>{t.removeEventListener("click",e),document.removeEventListener("mousedown",n)}}),[t,s,l]),e.useEffect((()=>{(({rootElement:e,layout:t,model:n,element:r,edit:o,initialData:i,emitter:a,lang:l,flags:s,theme:u,interactionState:c,readyToPrint:d})=>{e.render(R.createElement(R.StrictMode,null,R.createElement(A.Provider,{value:{layout:t,model:n,element:r,edit:o,initialData:i,emitter:a,lang:l,flags:s,theme:u,readyToPrint:d}},R.createElement(cM,{interactionState:c}))))})({rootElement:n,layout:r,model:l,element:t,edit:d,initialData:p,emitter:u,lang:c.language(),flags:i,theme:v,interactionState:s,readyToPrint:a})}),[r,n,l,t,d,t,p,u,i,v,s]),e.useEffect((()=>{!d&&b&&u.emit("saveDocument")}),[d,u,b]),e.useEffect((()=>{if(r){const e=r;e.text&&e.text!==x&&(_(e.text),u.emit("reloadData",e.text))}}),[r,x,u]),e.useImperativeHandle((()=>({updateActiveState(e){e?o.setSelectedModelId(l.id):l.id===o.getSelectedModelId()&&o.setSelectedModelId(void 0)}})),[])},ext:{definition:{type:"items",component:"accordion",items:{data:dM,settings:fM}},exportProperties:null,importProperties:null,support:{snapshot:!0,export:!0,sharing:!0,exportData:!0,viewData:!1}}}}}));
|