@tolgee/web 4.9.3-rc.128edeb.0
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/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/tolgee-backend-fetch.cjs.min.js +2 -0
- package/dist/tolgee-backend-fetch.cjs.min.js.map +1 -0
- package/dist/tolgee-backend-fetch.esm.min.mjs +2 -0
- package/dist/tolgee-backend-fetch.esm.min.mjs.map +1 -0
- package/dist/tolgee-backend-fetch.umd.min.js +2 -0
- package/dist/tolgee-backend-fetch.umd.min.js.map +1 -0
- package/dist/tolgee-context-ui.cjs.min.js +143 -0
- package/dist/tolgee-context-ui.cjs.min.js.map +1 -0
- package/dist/tolgee-context-ui.esm.min.mjs +143 -0
- package/dist/tolgee-context-ui.esm.min.mjs.map +1 -0
- package/dist/tolgee-context-ui.umd.min.js +143 -0
- package/dist/tolgee-context-ui.umd.min.js.map +1 -0
- package/dist/tolgee-in-context-tools.cjs.min.js +143 -0
- package/dist/tolgee-in-context-tools.cjs.min.js.map +1 -0
- package/dist/tolgee-in-context-tools.esm.min.mjs +143 -0
- package/dist/tolgee-in-context-tools.esm.min.mjs.map +1 -0
- package/dist/tolgee-in-context-tools.umd.min.js +143 -0
- package/dist/tolgee-in-context-tools.umd.min.js.map +1 -0
- package/dist/tolgee-invisible-observer.cjs.min.js +2 -0
- package/dist/tolgee-invisible-observer.cjs.min.js.map +1 -0
- package/dist/tolgee-invisible-observer.esm.min.mjs +2 -0
- package/dist/tolgee-invisible-observer.esm.min.mjs.map +1 -0
- package/dist/tolgee-invisible-observer.umd.min.js +2 -0
- package/dist/tolgee-invisible-observer.umd.min.js.map +1 -0
- package/dist/tolgee-language-detector.cjs.min.js +2 -0
- package/dist/tolgee-language-detector.cjs.min.js.map +1 -0
- package/dist/tolgee-language-detector.esm.min.mjs +2 -0
- package/dist/tolgee-language-detector.esm.min.mjs.map +1 -0
- package/dist/tolgee-language-detector.umd.min.js +2 -0
- package/dist/tolgee-language-detector.umd.min.js.map +1 -0
- package/dist/tolgee-language-storage.cjs.min.js +2 -0
- package/dist/tolgee-language-storage.cjs.min.js.map +1 -0
- package/dist/tolgee-language-storage.esm.min.mjs +2 -0
- package/dist/tolgee-language-storage.esm.min.mjs.map +1 -0
- package/dist/tolgee-language-storage.umd.min.js +2 -0
- package/dist/tolgee-language-storage.umd.min.js.map +1 -0
- package/dist/tolgee-text-observer.cjs.min.js +2 -0
- package/dist/tolgee-text-observer.cjs.min.js.map +1 -0
- package/dist/tolgee-text-observer.esm.min.mjs +2 -0
- package/dist/tolgee-text-observer.esm.min.mjs.map +1 -0
- package/dist/tolgee-text-observer.umd.min.js +2 -0
- package/dist/tolgee-text-observer.umd.min.js.map +1 -0
- package/dist/tolgee-web-tolgee.cjs.min.js +2 -0
- package/dist/tolgee-web-tolgee.cjs.min.js.map +1 -0
- package/dist/tolgee-web-tolgee.esm.min.mjs +2 -0
- package/dist/tolgee-web-tolgee.esm.min.mjs.map +1 -0
- package/dist/tolgee-web-tolgee.umd.min.js +2 -0
- package/dist/tolgee-web-tolgee.umd.min.js.map +1 -0
- package/dist/tolgee-web.cjs.js +27076 -0
- package/dist/tolgee-web.cjs.js.map +1 -0
- package/dist/tolgee-web.cjs.min.js +143 -0
- package/dist/tolgee-web.cjs.min.js.map +1 -0
- package/dist/tolgee-web.esm.js +27052 -0
- package/dist/tolgee-web.esm.js.map +1 -0
- package/dist/tolgee-web.esm.min.mjs +143 -0
- package/dist/tolgee-web.esm.min.mjs.map +1 -0
- package/dist/tolgee-web.umd.js +27082 -0
- package/dist/tolgee-web.umd.js.map +1 -0
- package/dist/tolgee-web.umd.min.js +143 -0
- package/dist/tolgee-web.umd.min.js.map +1 -0
- package/lib/BackendFetch.d.ts +4 -0
- package/lib/BrowserExtensionPlugin/BrowserExtensionPlugin.d.ts +8 -0
- package/lib/BrowserExtensionPlugin/constants.d.ts +3 -0
- package/lib/BrowserExtensionPlugin/loadInContextLib.d.ts +1 -0
- package/lib/ContextUi.d.ts +2 -0
- package/lib/DevBackend.d.ts +2 -0
- package/lib/DevTools.d.ts +3 -0
- package/lib/InContextTools.d.ts +2 -0
- package/lib/InvisibleObserver.d.ts +2 -0
- package/lib/LanguageDetector.d.ts +3 -0
- package/lib/LanguageStorage.d.ts +3 -0
- package/lib/TextObserver.d.ts +2 -0
- package/lib/WebTolgee.d.ts +3 -0
- package/lib/constants.d.ts +5 -0
- package/lib/index.d.ts +5 -0
- package/lib/observers/general/DomHelper.d.ts +4 -0
- package/lib/observers/general/ElementHighlighter.d.ts +10 -0
- package/lib/observers/general/ElementMeta.d.ts +3 -0
- package/lib/observers/general/ElementRegistry.d.ts +11 -0
- package/lib/observers/general/ElementStore.d.ts +10 -0
- package/lib/observers/general/GeneralObserver.d.ts +12 -0
- package/lib/observers/general/MouseEventHandler.d.ts +13 -0
- package/lib/observers/general/NodeHandler.d.ts +6 -0
- package/lib/observers/general/helpers.d.ts +7 -0
- package/lib/observers/invisible/InvisibleWrapper.d.ts +2 -0
- package/lib/observers/invisible/ValueMemory.d.ts +5 -0
- package/lib/observers/invisible/encoderPolyfill.d.ts +8 -0
- package/lib/observers/invisible/secret.d.ts +6 -0
- package/lib/observers/text/TextWrapper.d.ts +8 -0
- package/lib/observers/text/helpers.d.ts +3 -0
- package/lib/tools/decodeApiKey.d.ts +1 -0
- package/lib/tools/extension.d.ts +28 -0
- package/lib/typedIndex.d.ts +11 -0
- package/lib/types.d.ts +28 -0
- package/lib/ui/KeyContextMenu/KeyContextMenu.d.ts +19 -0
- package/lib/ui/KeyDialog/KeyDialog.d.ts +23 -0
- package/lib/ui/KeyDialog/KeyForm.d.ts +2 -0
- package/lib/ui/KeyDialog/LanguageSelect.d.ts +2 -0
- package/lib/ui/KeyDialog/NewWindow.d.ts +2 -0
- package/lib/ui/KeyDialog/NsSelect.d.ts +9 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ExtensionPrompt.d.ts +6 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotDetail.d.ts +8 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotDropzone.d.ts +6 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotGallery.d.ts +2 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/ScreenshotThumbnail.d.ts +8 -0
- package/lib/ui/KeyDialog/ScreenshotGallery/utils.d.ts +3 -0
- package/lib/ui/KeyDialog/TranslationDialog.d.ts +2 -0
- package/lib/ui/KeyDialog/TranslationDialogContextProvider.d.ts +128 -0
- package/lib/ui/KeyDialog/TranslationDialogWrapper.d.ts +2 -0
- package/lib/ui/KeyDialog/TranslationFields.d.ts +2 -0
- package/lib/ui/KeyDialog/languageHelpers.d.ts +12 -0
- package/lib/ui/KeyDialog/tools.d.ts +3 -0
- package/lib/ui/ThemeProvider.d.ts +2 -0
- package/lib/ui/client/QueryProvider.d.ts +12 -0
- package/lib/ui/client/apiSchema.generated.d.ts +3283 -0
- package/lib/ui/client/client.d.ts +5 -0
- package/lib/ui/client/types.d.ts +58 -0
- package/lib/ui/client/useQueryApi.d.ts +84 -0
- package/lib/ui/common/BodyEnd.d.ts +13 -0
- package/lib/ui/common/FieldTitle.d.ts +2 -0
- package/lib/ui/common/LoadingButton.d.ts +7 -0
- package/lib/ui/index.d.ts +13 -0
- package/lib/ui/tools/createProvider.d.ts +5 -0
- package/lib/ui/tools/isLanguagePermitted.d.ts +1 -0
- package/lib/ui/tools/sleep.d.ts +1 -0
- package/package.json +91 -0
- package/src/BackendFetch.ts +64 -0
- package/src/BrowserExtensionPlugin/BrowserExtensionPlugin.ts +98 -0
- package/src/BrowserExtensionPlugin/constants.ts +3 -0
- package/src/BrowserExtensionPlugin/loadInContextLib.ts +32 -0
- package/src/ContextUi.ts +7 -0
- package/src/DevBackend.ts +30 -0
- package/src/DevTools.ts +9 -0
- package/src/InContextTools.ts +20 -0
- package/src/InvisibleObserver.ts +16 -0
- package/src/LanguageDetector.test.ts +19 -0
- package/src/LanguageDetector.ts +32 -0
- package/src/LanguageStorage.ts +23 -0
- package/src/TextObserver.ts +45 -0
- package/src/WebTolgee.ts +8 -0
- package/src/__test__/browser.extension.test.ts +70 -0
- package/src/__test__/observer.test.ts +13 -0
- package/src/__test__/testObserver.ts +106 -0
- package/src/__test__/testRetranslate.ts +47 -0
- package/src/constants.ts +12 -0
- package/src/index.ts +8 -0
- package/src/observers/general/DomHelper.ts +46 -0
- package/src/observers/general/ElementHighlighter.ts +72 -0
- package/src/observers/general/ElementMeta.ts +17 -0
- package/src/observers/general/ElementRegistry.ts +159 -0
- package/src/observers/general/ElementStore.ts +34 -0
- package/src/observers/general/GeneralObserver.ts +133 -0
- package/src/observers/general/MouseEventHandler.ts +199 -0
- package/src/observers/general/NodeHandler.ts +39 -0
- package/src/observers/general/helpers.ts +65 -0
- package/src/observers/invisible/InvisibleWrapper.test.ts +17 -0
- package/src/observers/invisible/InvisibleWrapper.ts +96 -0
- package/src/observers/invisible/ValueMemory.test.ts +25 -0
- package/src/observers/invisible/ValueMemory.ts +20 -0
- package/src/observers/invisible/encoderPolyfill.ts +96 -0
- package/src/observers/invisible/secret.test.ts +61 -0
- package/src/observers/invisible/secret.ts +68 -0
- package/src/observers/text/TextWrapper.ts +258 -0
- package/src/observers/text/helpers.ts +56 -0
- package/src/tools/decodeApiKey.test.ts +14 -0
- package/src/tools/decodeApiKey.ts +74 -0
- package/src/tools/extension.test.ts +159 -0
- package/src/tools/extension.ts +119 -0
- package/src/typedIndex.ts +13 -0
- package/src/types.ts +33 -0
- package/src/ui/KeyContextMenu/KeyContextMenu.test.ts +51 -0
- package/src/ui/KeyContextMenu/KeyContextMenu.tsx +108 -0
- package/src/ui/KeyDialog/KeyDialog.tsx +67 -0
- package/src/ui/KeyDialog/KeyForm.tsx +208 -0
- package/src/ui/KeyDialog/LanguageSelect.tsx +78 -0
- package/src/ui/KeyDialog/NewWindow.tsx +106 -0
- package/src/ui/KeyDialog/NsSelect.tsx +67 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ExtensionPrompt.tsx +97 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotDetail.tsx +33 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotDropzone.tsx +138 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotGallery.tsx +240 -0
- package/src/ui/KeyDialog/ScreenshotGallery/ScreenshotThumbnail.tsx +113 -0
- package/src/ui/KeyDialog/ScreenshotGallery/utils.ts +17 -0
- package/src/ui/KeyDialog/TranslationDialog.tsx +14 -0
- package/src/ui/KeyDialog/TranslationDialogContextProvider.tsx +464 -0
- package/src/ui/KeyDialog/TranslationDialogWrapper.tsx +44 -0
- package/src/ui/KeyDialog/TranslationFields.tsx +113 -0
- package/src/ui/KeyDialog/languageHelpers.ts +18 -0
- package/src/ui/KeyDialog/tools.ts +30 -0
- package/src/ui/ThemeProvider.tsx +71 -0
- package/src/ui/client/QueryProvider.tsx +38 -0
- package/src/ui/client/apiSchema.generated.ts +3281 -0
- package/src/ui/client/client.ts +155 -0
- package/src/ui/client/types.ts +113 -0
- package/src/ui/client/useQueryApi.ts +121 -0
- package/src/ui/common/BodyEnd.tsx +44 -0
- package/src/ui/common/FieldTitle.tsx +9 -0
- package/src/ui/common/LoadingButton.tsx +45 -0
- package/src/ui/index.ts +88 -0
- package/src/ui/screenshots/ScreenshotPreview.tsx +18 -0
- package/src/ui/tools/createProvider.tsx +54 -0
- package/src/ui/tools/isLanguagePermitted.ts +14 -0
- package/src/ui/tools/sleep.ts +2 -0
- package/types/index.d.ts +9 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@tolgee/in-context-tools"]={})}(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)}var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function d(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function p(e){return"string"==typeof e?[e]:Array.isArray(e)?e:void 0}function f(e){return p(e)||[]}const h="data-tolgee-restricted",m="_tolgee",v="data-tolgee-key-only";function g(e,t){return{oldTextContent:e,keys:t}}var y={pointerEvents:"none",position:"fixed",boxSizing:"content-box",zIndex:String(Number.MAX_SAFE_INTEGER),contain:"layout",display:"block",borderStyle:"solid",borderRadius:"4px"},b=function(e){var t=e.highlightColor,n=e.highlightWidth;return Object.freeze({initHighlighter:function(e,r){!function(e,r){r.highlight=function(){if(e.isConnected){var o=r.highlightEl;o||((o=document.createElement("div")).classList.add("_tolgee-highlighter"),Object.entries(y).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];o.style[n]=r})),o.style.borderColor=t,r.highlightEl=o,document.body.appendChild(o));var i=e.getBoundingClientRect();o.style.borderWidth=n+"px",o.style.top=i.top-n+"px",o.style.left=i.left-n+"px",o.style.width=i.width+"px",o.style.height=i.height+"px"}}}(e,r),function(e,t){t.unhighlight=function(){var e;null===(e=t.highlightEl)||void 0===e||e.remove(),t.highlightEl=void 0}}(0,r)}})};function x(e,t){for(var n,r,o=null===document||void 0===document?void 0:document.evaluate(e,t,void 0,XPathResult.ANY_TYPE),i=[];r=null===(n=null==o?void 0:o.iterateNext)||void 0===n?void 0:n.call(o);)i.push(r);return i}function w(e){return e.textContent}function k(e,t){e.textContent=t}var S=function(e,t){var n,r=void 0===e.key||void 0===t.key||t.key===e.key,o=void 0===e.ns||void 0===t.ns||-1!==(null===(n=e.ns)||void 0===n?void 0:n.findIndex((function(e){var n;return null===(n=t.ns)||void 0===n?void 0:n.includes(e)})));return r&&o},E="__tolgee_dev_tools",C=2147483e3,O="__tolgee_preferredLanguages",P={capture:!0},R={capture:!0,passive:!0},T=function(e){var t,n,r=e.highlightKeys,o=e.elementStore,i=e.onClick,a=new Set,l=function(){var e,n=o.get(t);n&&(n.preventClean=!1,null===(e=n.unhighlight)||void 0===e||e.call(n),t=void 0)};function u(){var e,r=n;if(r&&b()){var i=document.elementFromPoint(r.x,r.y);i&&(e=g(i))}!function(e){var n;if(t!==e){l();var r=o.get(e);r&&(r.preventClean=!0,null===(n=r.highlight)||void 0===n||n.call(r),t=e)}}(e)}var c=function(e){var t;b()&&(t=e.target,!Boolean(y(t,(function(e){return e.id===E}))))&&(e.stopPropagation(),e.preventDefault())},d=function(e){!function(e){n=e,u()}({x:e.clientX,y:e.clientY})},p=function(){a=new Set,u()},f=function(e){var t=e.key;void 0!==t&&a.add(t),u()},h=function(e){a.delete(e.key),u()},m=function(){var e,n=o.get(t);null===(e=null==n?void 0:n.highlight)||void 0===e||e.call(n)},v=function(e){if(c(e),b()){var n=g(e.target);n&&n===t&&(i(e,n),l())}};function g(e){return y(e,(function(e){return o.get(e)}))}function y(e,t){return t(e)?e:(null==e?void 0:e.parentElement)?y(e.parentElement,t):void 0}function b(){var e,t;try{for(var n=s(r),o=n.next();!o.done;o=n.next()){var i=o.value;if(!a.has(i))return!1}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return!0}return Object.freeze({run:function(){window.addEventListener("blur",p,P),window.addEventListener("keydown",f,P),window.addEventListener("keyup",h,P),window.addEventListener("mousemove",d,R),window.addEventListener("scroll",m,R),window.addEventListener("click",v,P),window.addEventListener("mouseenter",c,P),window.addEventListener("mouseover",c,P),window.addEventListener("mouseout",c,P),window.addEventListener("mouseleave",c,P),window.addEventListener("mousedown",c,P),window.addEventListener("mouseup",c,P)},stop:function(){window.removeEventListener("blur",p,P),window.removeEventListener("keydown",f,P),window.removeEventListener("keyup",h,P),window.removeEventListener("mousemove",d,R),window.removeEventListener("scroll",m,R),window.removeEventListener("click",v,P),window.removeEventListener("mouseenter",c,P),window.removeEventListener("mouseover",c,P),window.removeEventListener("mouseout",c,P),window.removeEventListener("mouseleave",c,P),window.removeEventListener("mousedown",c,P),window.removeEventListener("mouseup",c,P)}})},M=function(e,t){var n,r=(n=new Map,Object.freeze({set:function(e,t){n.set(e,t)},get:function(e){return e&&n.get(e)},remove:function(e){return n.delete(e)},forEachElement:function(e){n.forEach((function(t,n){return e(n,t)}))}})),o=b({highlightColor:e.highlightColor,highlightWidth:e.highlightWidth}),i=T({highlightKeys:e.highlightKeys,elementStore:r,onClick:function(e,n){var o=r.get(n);t(e,{el:n,meta:o,keysAndDefaults:a(o)})}});function a(e){return function(e){return Array.from(e.nodes.values()).reduce((function(e,t){return c(c([],u(e),!1),u(t.keys.map((function(e){return{key:e.key,defaultValue:e.defaultValue,ns:e.ns}}))),!1)}),[])}(e)}return Object.freeze({register:function(t,n,i){if(!function(t){return-1!==e.restrictedElements.indexOf(t.tagName.toLowerCase())||null!==t.closest("[".concat(h,"]"))}(t)){var a=t,l=r.get(a);l||(l={nodes:new Map},r.set(a,l),a.setAttribute(m,"true")),l.nodes.set(n,i),o.initHighlighter(a,l)}},forEachElement:r.forEachElement,findAll:function(e,t){var n=[];return r.forEachElement((function(r,o){var i,a;try{for(var l=s(o.nodes.values()),u=l.next();!u.done;u=l.next()){if(u.value.keys.find((function(n){return S({key:e,ns:p(t)},{key:n.key,ns:p(n.ns)})}))){n.push(o);break}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}})),n},refreshAll:function(){r.forEachElement((function(t,n){n.preventClean||(function(t){t.nodes=new Map(function(t){var n,r,o,i,a,c,d,p;return l(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,7]),n=s(t.nodes.entries()),r=n.next(),l.label=1;case 1:return r.done?[3,4]:(o=u(r.value,2),i=o[0],a=o[1],function(e,t){if(e.contains(t))return!0;if(t instanceof Attr){var n=t.ownerElement&&Object.values(t.ownerElement.attributes).indexOf(t)>-1;if(e.contains(t.ownerElement)&&n)return!0}return!1}(e.targetElement||document.body,i)?[4,[i,a]]:[3,3]);case 2:l.sent(),l.label=3;case 3:return r=n.next(),[3,1];case 4:return[3,7];case 5:return c=l.sent(),d={error:c},[3,7];case 6:try{r&&!r.done&&(p=n.return)&&p.call(n)}finally{if(d)throw d.error}return[7];case 7:return[2]}}))}(t))}(n),0===n.nodes.size&&function(e,t){var n;t.highlightEl&&(null===(n=t.unhighlight)||void 0===n||n.call(t));e.removeAttribute(m),r.remove(e)}(t,n))}))},run:function(e){e&&i.run()},stop:function(){i.stop()}})},_=function(e,t,n){var r=!1,o=function(e){return Object.freeze({getSuitableParent:function t(n){var r=function(e){return e.parentElement?e.parentElement:e.ownerElement&&e.ownerElement||void 0}(n);if(void 0===r)throw console.error(n),new Error("No suitable parent found for node above.");return e.passToParent?Array.isArray(e.passToParent)&&-1===e.passToParent.findIndex((function(e){return r.tagName.toLowerCase()===e.toLowerCase()}))?r:"function"!=typeof e.passToParent||e.passToParent(r)?t(r):r:r}})}(t),i=function(e,t){var n=function(e){return x(t.getTextXPath(),e)},r=function(n){var r,o,i,a,l=[];try{for(var d=s(Object.entries(e.tagAttributes)),p=d.next();!p.done;p=d.next()){var f=u(p.value,2),h=f[0],m=f[1];try{for(var v=(i=void 0,s(m)),g=v.next();!g.done;g=v.next()){var y=g.value,b=x(t.getAttributeXPath({tag:h,attribute:y}),n);l=c(c([],u(l),!1),u(b),!1)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}return l};return Object.freeze({handleAttributes:r,handleChildList:function(e){var t=[];return(t=t.concat(r(e))).concat(n(e))},handleText:n})}(t,e),a=M(t,n);function l(t){var n,r;try{for(var i=s(t),l=i.next();!l.done;l=i.next()){var u=l.value,c=w(u),d=c?e.unwrap(c):null;if(d){var p=d.text,f=d.keys;k(u,p);var h=g(c,f),m=o.getSuitableParent(u);a.register(m,u,h)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}var d,p=function(e){x("./descendant-or-self::*[@".concat(v,"]"),e).forEach((function(e){var t=e.getAttributeNode(v),n=o.getSuitableParent(t);a.register(n,t,{oldTextContent:"",keys:[{key:w(t)}],keyAttributeOnly:!0})}))};return Object.freeze({run:function(e){var n=e.mouseHighlight;d||(d=new MutationObserver((function(e){var t,n;if(r)try{for(var o=s(e),u=o.next();!u.done;u=o.next()){var c=u.value,d=[];switch(c.type){case"characterData":d=i.handleText(c.target);break;case"childList":p(c.target),d=i.handleChildList(c.target);break;case"attributes":p(c.target),d=i.handleAttributes(c.target)}l(d),a.refreshAll()}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}})));var o=t.targetElement||document.body;r=!0,a.run(n),p(o),l(i.handleChildList(o)),d.observe(t.targetElement||document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})},stop:function(){r=!1,a.stop(),d.disconnect()},wrap:e.wrap,unwrap:e.unwrap,forEachElement:a.forEachElement,highlight:function(e,t){var n=a.findAll(e,t);return n.forEach((function(e){var t;return null===(t=e.highlight)||void 0===t?void 0:t.call(e)})),{unhighlight:function(){n.forEach((function(e){var t;return null===(t=e.unhighlight)||void 0===t?void 0:t.call(e)}))}}}})};function N(){}function A(){}N.prototype.encode=function(e){for(var t=[],n=e.length,r=0;r<n;){var o=e.codePointAt(r),i=0,a=0;for(o<=127?(i=0,a=0):o<=2047?(i=6,a=192):o<=65535?(i=12,a=224):o<=2097151&&(i=18,a=240),t.push(a|o>>i),i-=6;i>=0;)t.push(128|o>>i&63),i-=6;r+=o>=65536?2:1}return t},A.prototype.decode=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0,i=0;if(r<=127?(o=0,i=255&r):r<=223?(o=1,i=31&r):r<=239?(o=2,i=15&r):r<=244&&(o=3,i=7&r),e.length-n-o>0)for(var a=0;a<o;)i=i<<6|63&(r=e[n+a+1]),a+=1;else i=65533,o=e.length-n;t+=String.fromCodePoint(i),n+=o+1}return t};var L="undefined"==typeof TextEncoder?N:TextEncoder,j="undefined"==typeof TextDecoder?A:TextDecoder,I=["",""],F=RegExp("([".concat(I.join(""),"]{9})+"),"gu"),z=function(e){var t=function(e){return Array.from((new L).encode(e))}(e).map(Number),n=t.map((function(e){return function(e){var t=8-e.length;return"0".repeat(t)+e}(e.toString(2))+"0"})).join(""),r=Array.from(n).map((function(e){return I[Number(e)]})).join("");return r},$=function(e){var t,n=Array.from(e).map((function(e){return I.indexOf(e)})).map(String).join("").match(/(.{9})/g),r=Uint8Array.from((null==n?void 0:n.map((function(e){return parseInt(e.slice(0,8),2)})))||[]);return t=r,(new j).decode(new Uint8Array(t))},D=function(){var e=function(){var e=[];return Object.freeze({valueToNumber:function(t){var n=e.indexOf(t);return-1===n&&(n=e.length,e.push(t)),n},numberToValue:function(t){return e[t]}})}(),t=function(e){return JSON.parse(e)};return Object.freeze({unwrap:function(n){var r=[],o=function(e){var t,n=null===(t=e.match(F))||void 0===t?void 0:t.filter((function(e){return e.length>8}));return(null==n?void 0:n.map($))||[]}(n);o.forEach((function(n){var o=u(function(e){var t,n,r=[];try{for(var o=s(e),i=o.next();!i.done;i=o.next()){var a=i.value;r.push(a.codePointAt(0))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(n),1),i=o[0],a=e.numberToValue(i),l=t(a),c=l.k,d=l.d,p=l.n;r.push({key:c,defaultValue:d,ns:p})}));var i=function(e){return e.replace(F,"")}(n);return{text:i,keys:r}},wrap:function(t){var n=t.key,r=t.defaultValue,o=t.translation,i=function(e){var t={k:e.key,n:e.ns,d:e.defaultValue};return JSON.stringify(t)}({key:n,ns:t.ns,defaultValue:r}),a=e.valueToNumber(i),l=o||"",s=z(String.fromCodePoint(a));return"string"==typeof l?l+s:l},getTextXPath:function(){return"./descendant-or-self::text()[contains(., '".concat(I[0]).concat(I[0],"') or contains(., '").concat(I[1]).concat(I[0],"')]")},getAttributeXPath:function(e){var t=e.tag,n=e.attribute;return"descendant-or-self::".concat(t,"/@").concat(n,"[contains(., '").concat(I[0]).concat(I[0],"') or contains(., '").concat(I[1]).concat(I[0],"')]")}})},B=function(){return function(e,t){return t.setObserver((function(e){var t=e.onClick,n=e.options,r=D(),i=_(r,n,t);return o(o({},i),{retranslate:function(){},outputNotFormattable:!1})})),e}};function W(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function U(e){for(var t=(e=e.toUpperCase()).length,n=0,r=0,o=0,i=new Uint8Array(5*t/8|0),a=0;a<t;a++)r=r<<5|W(e[a]),(n+=5)>=8&&(i[o++]=r>>>n-8&255,n-=8);return function(e){for(var t=new Uint8Array(e),n=t.length,r="",o=Math.pow(2,16)-1,i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,t.subarray(i,i+o));return r}(i.buffer)}function q(e){if(e)try{var t=u(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=u(U(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}var V=function(){return function(e,t){return t.setDevBackend({getRecord:function(e){var t,n=e.apiUrl,r=e.apiKey,o=e.language,i=e.namespace,a=e.projectId;if(!i){var l=null!==(t=q(r))&&void 0!==t?t:a,s=void 0!==l?"".concat(n,"/v2/projects/").concat(l,"/translations/").concat(o):"".concat(n,"/v2/projects/translations/").concat(o);return fetch(s,{headers:{"X-API-Key":r||""}}).then((function(e){if(e.ok)return e.json().then((function(e){return e[o]}));throw new Error(e.statusText)}))}}}),e}};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function H(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function K(e){var t=e.default;if("function"==typeof t){var n=function(){return 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 Q={exports:{}},G={},X=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;function J(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var ee=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=J(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))Y.call(n,a)&&(o[a]=n[a]);if(X){r=X(n);for(var l=0;l<r.length;l++)Z.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},te=ee,ne=60103,re=60106;
|
|
2
|
+
/** @license React v17.0.2
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/G.Fragment=60107,G.StrictMode=60108,G.Profiler=60114;var oe=60109,ie=60110,ae=60112;G.Suspense=60113;var le=60115,se=60116;if("function"==typeof Symbol&&Symbol.for){var ue=Symbol.for;ne=ue("react.element"),re=ue("react.portal"),G.Fragment=ue("react.fragment"),G.StrictMode=ue("react.strict_mode"),G.Profiler=ue("react.profiler"),oe=ue("react.provider"),ie=ue("react.context"),ae=ue("react.forward_ref"),G.Suspense=ue("react.suspense"),le=ue("react.memo"),se=ue("react.lazy")}var ce="function"==typeof Symbol&&Symbol.iterator;function de(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 pe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fe={};function he(e,t,n){this.props=e,this.context=t,this.refs=fe,this.updater=n||pe}function me(){}function ve(e,t,n){this.props=e,this.context=t,this.refs=fe,this.updater=n||pe}he.prototype.isReactComponent={},he.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(de(85));this.updater.enqueueSetState(this,e,t,"setState")},he.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},me.prototype=he.prototype;var ge=ve.prototype=new me;ge.constructor=ve,te(ge,he.prototype),ge.isPureReactComponent=!0;var ye={current:null},be=Object.prototype.hasOwnProperty,xe={key:!0,ref:!0,__self:!0,__source:!0};function we(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)be.call(t,r)&&!xe.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:ne,type:e,key:i,ref:a,props:o,_owner:ye.current}}function ke(e){return"object"==typeof e&&null!==e&&e.$$typeof===ne}var Se=/\/+/g;function Ee(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 Ce(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ne:case re:a=!0}}if(a)return o=o(a=e),e=""===r?"."+Ee(a,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(Se,"$&/")+"/"),Ce(o,t,n,"",(function(e){return e}))):null!=o&&(ke(o)&&(o=function(e,t){return{$$typeof:ne,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Se,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var s=r+Ee(i=e[l],l);a+=Ce(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=ce&&e[ce]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(i=e.next()).done;)a+=Ce(i=i.value,t,n,s=r+Ee(i,l++),o);else if("object"===i)throw t=""+e,Error(de(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Oe(e,t,n){if(null==e)return e;var r=[],o=0;return Ce(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Pe(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var Re={current:null};function Te(){var e=Re.current;if(null===e)throw Error(de(321));return e}var Me={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:ye,IsSomeRendererActing:{current:!1},assign:te};G.Children={map:Oe,forEach:function(e,t,n){Oe(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Oe(e,(function(){t++})),t},toArray:function(e){return Oe(e,(function(e){return e}))||[]},only:function(e){if(!ke(e))throw Error(de(143));return e}},G.Component=he,G.PureComponent=ve,G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Me,G.cloneElement=function(e,t,n){if(null==e)throw Error(de(267,e));var r=te({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=ye.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)be.call(t,s)&&!xe.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:ne,type:e.type,key:o,ref:i,props:r,_owner:a}},G.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:ie,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:oe,_context:e},e.Consumer=e},G.createElement=we,G.createFactory=function(e){var t=we.bind(null,e);return t.type=e,t},G.createRef=function(){return{current:null}},G.forwardRef=function(e){return{$$typeof:ae,render:e}},G.isValidElement=ke,G.lazy=function(e){return{$$typeof:se,_payload:{_status:-1,_result:e},_init:Pe}},G.memo=function(e,t){return{$$typeof:le,type:e,compare:void 0===t?null:t}},G.useCallback=function(e,t){return Te().useCallback(e,t)},G.useContext=function(e,t){return Te().useContext(e,t)},G.useDebugValue=function(){},G.useEffect=function(e,t){return Te().useEffect(e,t)},G.useImperativeHandle=function(e,t,n){return Te().useImperativeHandle(e,t,n)},G.useLayoutEffect=function(e,t){return Te().useLayoutEffect(e,t)},G.useMemo=function(e,t){return Te().useMemo(e,t)},G.useReducer=function(e,t,n){return Te().useReducer(e,t,n)},G.useRef=function(e){return Te().useRef(e)},G.useState=function(e){return Te().useState(e)},G.version="17.0.2",function(e){e.exports=G}(Q);var _e=H(Q.exports),Ne=t({__proto__:null,default:_e},[Q.exports]),Ae={exports:{}},Le={},je=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable;function ze(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var $e=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=ze(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))Ie.call(n,a)&&(o[a]=n[a]);if(je){r=je(n);for(var l=0;l<r.length;l++)Fe.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},De={exports:{}},Be={};
|
|
10
|
+
/** @license React v0.20.2
|
|
11
|
+
* scheduler.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
!function(e){var t,n,r,o;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}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var t=e.unstable_now();s(!0,t),s=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==s?setTimeout(t,0,e):(s=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var f=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof f&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,v=-1,g=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},o=function(){},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"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();y=t+g;try{m(!0,t)?x.postMessage(null):(h=!1,m=null)}catch(e){throw x.postMessage(null),e}}else h=!1},t=function(e){m=e,h||(h=!0,x.postMessage(null))},n=function(t,n){v=d((function(){t(e.unstable_now())}),n)},r=function(){p(v),v=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<E(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,s=e[l];if(void 0!==a&&0>E(a,n))void 0!==s&&0>E(s,a)?(e[r]=s,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>E(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],P=1,R=null,T=3,M=!1,_=!1,N=!1;function A(e){for(var t=k(O);null!==t;){if(null===t.callback)S(O);else{if(!(t.startTime<=e))break;S(O),t.sortIndex=t.expirationTime,w(C,t)}t=k(O)}}function L(e){if(N=!1,A(e),!_)if(null!==k(C))_=!0,t(j);else{var r=k(O);null!==r&&n(L,r.startTime-e)}}function j(t,o){_=!1,N&&(N=!1,r()),M=!0;var i=T;try{for(A(o),R=k(C);null!==R&&(!(R.expirationTime>o)||t&&!e.unstable_shouldYield());){var a=R.callback;if("function"==typeof a){R.callback=null,T=R.priorityLevel;var l=a(R.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?R.callback=l:R===k(C)&&S(C),A(o)}else S(C);R=k(C)}if(null!==R)var s=!0;else{var u=k(O);null!==u&&n(L,u.startTime-o),s=!1}return s}finally{R=null,T=i,M=!1}}var I=o;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(){_||M||(_=!0,t(j))},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_getFirstCallbackNode=function(){return k(C)},e.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=I,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},e.unstable_scheduleCallback=function(o,i,a){var l=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,o){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return o={id:P++,callback:i,priorityLevel:o,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>l?(o.sortIndex=a,w(O,o),null===k(C)&&o===k(O)&&(N?r():N=!0,n(L,a-l))):(o.sortIndex=s,w(C,o),_||M||(_=!0,t(j))),o},e.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}}(Be),function(e){e.exports=Be}(De);
|
|
19
|
+
/** @license React v17.0.2
|
|
20
|
+
* react-dom.production.min.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
var We=Q.exports,Ue=$e,qe=De.exports;function Ve(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."}if(!We)throw Error(Ve(227));var He=new Set,Ke={};function Qe(e,t){Ge(e,t),Ge(e+"Capture",t)}function Ge(e,t){for(Ke[e]=t,e=0;e<t.length;e++)He.add(t[e])}var Xe=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ye=/^[: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]*$/,Ze=Object.prototype.hasOwnProperty,Je={},et={};function tt(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 nt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){nt[e]=new tt(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];nt[t]=new tt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){nt[e]=new tt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){nt[e]=new tt(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){nt[e]=new tt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){nt[e]=new tt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){nt[e]=new tt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){nt[e]=new tt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){nt[e]=new tt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var rt=/[\-:]([a-z])/g;function ot(e){return e[1].toUpperCase()}function it(e,t,n,r){var o=nt.hasOwnProperty(t)?nt[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!!Ze.call(et,e)||!Ze.call(Je,e)&&(Ye.test(e)?et[e]=!0:(Je[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(rt,ot);nt[t]=new tt(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(rt,ot);nt[t]=new tt(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(rt,ot);nt[t]=new tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){nt[e]=new tt(e,1,!1,e.toLowerCase(),null,!1,!1)})),nt.xlinkHref=new tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){nt[e]=new tt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var at=We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,lt=60103,st=60106,ut=60107,ct=60108,dt=60114,pt=60109,ft=60110,ht=60112,mt=60113,vt=60120,gt=60115,yt=60116,bt=60121,xt=60128,wt=60129,kt=60130,St=60131;if("function"==typeof Symbol&&Symbol.for){var Et=Symbol.for;lt=Et("react.element"),st=Et("react.portal"),ut=Et("react.fragment"),ct=Et("react.strict_mode"),dt=Et("react.profiler"),pt=Et("react.provider"),ft=Et("react.context"),ht=Et("react.forward_ref"),mt=Et("react.suspense"),vt=Et("react.suspense_list"),gt=Et("react.memo"),yt=Et("react.lazy"),bt=Et("react.block"),Et("react.scope"),xt=Et("react.opaque.id"),wt=Et("react.debug_trace_mode"),kt=Et("react.offscreen"),St=Et("react.legacy_hidden")}var Ct,Ot="function"==typeof Symbol&&Symbol.iterator;function Pt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ot&&e[Ot]||e["@@iterator"])?e:null}function Rt(e){if(void 0===Ct)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ct=t&&t[1]||""}return"\n"+Ct+e}var Tt=!1;function Mt(e,t){if(!e||Tt)return"";Tt=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.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])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Tt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rt(e):""}function _t(e){switch(e.tag){case 5:return Rt(e.type);case 16:return Rt("Lazy");case 13:return Rt("Suspense");case 19:return Rt("SuspenseList");case 0:case 2:case 15:return e=Mt(e.type,!1);case 11:return e=Mt(e.type.render,!1);case 22:return e=Mt(e.type._render,!1);case 1:return e=Mt(e.type,!0);default:return""}}function Nt(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 ut:return"Fragment";case st:return"Portal";case dt:return"Profiler";case ct:return"StrictMode";case mt:return"Suspense";case vt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ft:return(e.displayName||"Context")+".Consumer";case pt:return(e._context.displayName||"Context")+".Provider";case ht:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case gt:return Nt(e.type);case bt:return Nt(e._render);case yt:t=e._payload,e=e._init;try{return Nt(e(t))}catch(e){}}return null}function At(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Lt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function jt(e){e._valueTracker||(e._valueTracker=function(e){var t=Lt(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 It(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Lt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ft(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 zt(e,t){var n=t.checked;return Ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function $t(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=At(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 Dt(e,t){null!=(t=t.checked)&&it(e,"checked",t,!1)}function Bt(e,t){Dt(e,t);var n=At(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")?Ut(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ut(e,t.type,At(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Wt(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 Ut(e,t,n){"number"===t&&Ft(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function qt(e,t){return e=Ue({children:void 0},t),(t=function(e){var t="";return We.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Vt(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=""+At(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 Ht(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Ve(91));return Ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Kt(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Ve(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(Ve(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:At(n)}}function Qt(e,t){var n=At(t.value),r=At(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 Gt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Xt="http://www.w3.org/1999/xhtml",Yt="http://www.w3.org/2000/svg";function Zt(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 Jt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var en,tn=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(e.namespaceURI!==Yt||"innerHTML"in e)e.innerHTML=t;else{for((en=en||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=en.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function nn(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 rn={animationIterationCount:!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},on=["Webkit","ms","Moz","O"];function an(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||rn.hasOwnProperty(e)&&rn[e]?(""+t).trim():t+"px"}function ln(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=an(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(rn).forEach((function(e){on.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),rn[t]=rn[e]}))}));var sn=Ue({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 un(e,t){if(t){if(sn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Ve(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Ve(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ve(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(Ve(62))}}function cn(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}}function dn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var pn=null,fn=null,hn=null;function mn(e){if(e=Wi(e)){if("function"!=typeof pn)throw Error(Ve(280));var t=e.stateNode;t&&(t=qi(t),pn(e.stateNode,e.type,t))}}function vn(e){fn?hn?hn.push(e):hn=[e]:fn=e}function gn(){if(fn){var e=fn,t=hn;if(hn=fn=null,mn(e),t)for(e=0;e<t.length;e++)mn(t[e])}}function yn(e,t){return e(t)}function bn(e,t,n,r,o){return e(t,n,r,o)}function xn(){}var wn=yn,kn=!1,Sn=!1;function En(){null===fn&&null===hn||(xn(),gn())}function Cn(e,t){var n=e.stateNode;if(null===n)return null;var r=qi(n);if(null===r)return null;n=r[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":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(Ve(231,t,typeof n));return n}var On=!1;if(Xe)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){On=!0}}),window.addEventListener("test",Pn,Pn),window.removeEventListener("test",Pn,Pn)}catch(od){On=!1}function Rn(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 Tn=!1,Mn=null,_n=!1,Nn=null,An={onError:function(e){Tn=!0,Mn=e}};function Ln(e,t,n,r,o,i,a,l,s){Tn=!1,Mn=null,Rn.apply(An,arguments)}function jn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function In(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 Fn(e){if(jn(e)!==e)throw Error(Ve(188))}function zn(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=jn(e)))throw Error(Ve(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Fn(o),e;if(i===r)return Fn(o),t;i=i.sibling}throw Error(Ve(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(Ve(189))}}if(n.alternate!==r)throw Error(Ve(190))}if(3!==n.tag)throw Error(Ve(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function $n(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var Dn,Bn,Wn,Un,qn=!1,Vn=[],Hn=null,Kn=null,Qn=null,Gn=new Map,Xn=new Map,Yn=[],Zn="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 Jn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function er(e,t){switch(e){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":Gn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xn.delete(t.pointerId)}}function tr(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Jn(t,n,r,o,i),null!==t&&(null!==(t=Wi(t))&&Bn(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function nr(e){var t=Bi(e.target);if(null!==t){var n=jn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=In(n)))return e.blockedOn=t,void Un(e.lanePriority,(function(){qe.unstable_runWithPriority(e.priority,(function(){Wn(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function rr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=zr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Wi(n))&&Bn(t),e.blockedOn=n,!1;t.shift()}return!0}function or(e,t,n){rr(e)&&n.delete(t)}function ir(){for(qn=!1;0<Vn.length;){var e=Vn[0];if(null!==e.blockedOn){null!==(e=Wi(e.blockedOn))&&Dn(e);break}for(var t=e.targetContainers;0<t.length;){var n=zr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&Vn.shift()}null!==Hn&&rr(Hn)&&(Hn=null),null!==Kn&&rr(Kn)&&(Kn=null),null!==Qn&&rr(Qn)&&(Qn=null),Gn.forEach(or),Xn.forEach(or)}function ar(e,t){e.blockedOn===t&&(e.blockedOn=null,qn||(qn=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,ir)))}function lr(e){function t(t){return ar(t,e)}if(0<Vn.length){ar(Vn[0],e);for(var n=1;n<Vn.length;n++){var r=Vn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Hn&&ar(Hn,e),null!==Kn&&ar(Kn,e),null!==Qn&&ar(Qn,e),Gn.forEach(t),Xn.forEach(t),n=0;n<Yn.length;n++)(r=Yn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Yn.length&&null===(n=Yn[0]).blockedOn;)nr(n),null===n.blockedOn&&Yn.shift()}function sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:sr("Animation","AnimationEnd"),animationiteration:sr("Animation","AnimationIteration"),animationstart:sr("Animation","AnimationStart"),transitionend:sr("Transition","TransitionEnd")},cr={},dr={};function pr(e){if(cr[e])return cr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in dr)return cr[e]=n[t];return e}Xe&&(dr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var fr=pr("animationend"),hr=pr("animationiteration"),mr=pr("animationstart"),vr=pr("transitionend"),gr=new Map,yr=new Map,br=["abort","abort",fr,"animationEnd",hr,"animationIteration",mr,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",vr,"transitionEnd","waiting","waiting"];function xr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),yr.set(r,t),gr.set(r,o),Qe(o,[r])}}(0,qe.unstable_now)();var wr=8;function kr(e){if(0!=(1&e))return wr=15,1;if(0!=(2&e))return wr=14,2;if(0!=(4&e))return wr=13,4;var t=24&e;return 0!==t?(wr=12,t):0!=(32&e)?(wr=11,32):0!==(t=192&e)?(wr=10,t):0!=(256&e)?(wr=9,256):0!==(t=3584&e)?(wr=8,t):0!=(4096&e)?(wr=7,4096):0!==(t=4186112&e)?(wr=6,t):0!==(t=62914560&e)?(wr=5,t):67108864&e?(wr=4,67108864):0!=(134217728&e)?(wr=3,134217728):0!==(t=805306368&e)?(wr=2,t):0!=(1073741824&e)?(wr=1,1073741824):(wr=8,e)}function Sr(e,t){var n=e.pendingLanes;if(0===n)return wr=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=wr=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=kr(s),o=wr):0!==(l&=i)&&(r=kr(l),o=wr)}else 0!==(i=n&~a)?(r=kr(i),o=wr):0!==l&&(r=kr(l),o=wr);if(0===r)return 0;if(r=n&((0>(r=31-Tr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(kr(t),o<=wr)return t;wr=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Tr(t)),r|=e[n],t&=~o;return r}function Er(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Cr(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Or(24&~t))?Cr(10,t):e;case 10:return 0===(e=Or(192&~t))?Cr(8,t):e;case 8:return 0===(e=Or(3584&~t))&&(0===(e=Or(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Or(805306368&~t))&&(t=268435456),t}throw Error(Ve(358,e))}function Or(e){return e&-e}function Pr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Rr(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Tr(t)]=n}var Tr=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Mr(e)/_r|0)|0},Mr=Math.log,_r=Math.LN2;var Nr=qe.unstable_UserBlockingPriority,Ar=qe.unstable_runWithPriority,Lr=!0;function jr(e,t,n,r){kn||xn();var o=Fr,i=kn;kn=!0;try{bn(o,e,t,n,r)}finally{(kn=i)||En()}}function Ir(e,t,n,r){Ar(Nr,Fr.bind(null,e,t,n,r))}function Fr(e,t,n,r){var o;if(Lr)if((o=0==(4&t))&&0<Vn.length&&-1<Zn.indexOf(e))e=Jn(null,e,t,n,r),Vn.push(e);else{var i=zr(e,t,n,r);if(null===i)o&&er(e,r);else{if(o){if(-1<Zn.indexOf(e))return e=Jn(i,e,t,n,r),void Vn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return Hn=tr(Hn,e,t,n,r,o),!0;case"dragenter":return Kn=tr(Kn,e,t,n,r,o),!0;case"mouseover":return Qn=tr(Qn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Gn.set(i,tr(Gn.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Xn.set(i,tr(Xn.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;er(e,r)}xi(e,t,r,null,n)}}}function zr(e,t,n,r){var o=dn(r);if(null!==(o=Bi(o))){var i=jn(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=In(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return xi(e,t,r,o,n),null}var $r=null,Dr=null,Br=null;function Wr(){if(Br)return Br;var e,t,n=Dr,r=n.length,o="value"in $r?$r.value:$r.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 Br=o.slice(e,1<t?1-t:void 0)}function Ur(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 qr(){return!0}function Vr(){return!1}function Hr(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)?qr:Vr,this.isPropagationStopped=Vr,this}return Ue(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=qr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=qr)},persist:function(){},isPersistent:qr}),t}var Kr,Qr,Gr,Xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yr=Hr(Xr),Zr=Ue({},Xr,{view:0,detail:0}),Jr=Hr(Zr),eo=Ue({},Zr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fo,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!==Gr&&(Gr&&"mousemove"===e.type?(Kr=e.screenX-Gr.screenX,Qr=e.screenY-Gr.screenY):Qr=Kr=0,Gr=e),Kr)},movementY:function(e){return"movementY"in e?e.movementY:Qr}}),to=Hr(eo),no=Hr(Ue({},eo,{dataTransfer:0})),ro=Hr(Ue({},Zr,{relatedTarget:0})),oo=Hr(Ue({},Xr,{animationName:0,elapsedTime:0,pseudoElement:0})),io=Ue({},Xr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ao=Hr(io),lo=Hr(Ue({},Xr,{data:0})),so={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uo={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"},co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function po(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function fo(){return po}var ho=Ue({},Zr,{key:function(e){if(e.key){var t=so[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ur(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?uo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fo,charCode:function(e){return"keypress"===e.type?Ur(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ur(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),mo=Hr(ho),vo=Hr(Ue({},eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),go=Hr(Ue({},Zr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fo})),yo=Hr(Ue({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0})),bo=Ue({},eo,{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}),xo=Hr(bo),wo=[9,13,27,32],ko=Xe&&"CompositionEvent"in window,So=null;Xe&&"documentMode"in document&&(So=document.documentMode);var Eo=Xe&&"TextEvent"in window&&!So,Co=Xe&&(!ko||So&&8<So&&11>=So),Oo=String.fromCharCode(32),Po=!1;function Ro(e,t){switch(e){case"keyup":return-1!==wo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function To(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Mo=!1;var _o={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 No(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!_o[e.type]:"textarea"===t}function Ao(e,t,n,r){vn(r),0<(t=ki(t,"onChange")).length&&(n=new Yr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Lo=null,jo=null;function Io(e){hi(e,0)}function Fo(e){if(It(Ui(e)))return e}function zo(e,t){if("change"===e)return t}var $o=!1;if(Xe){var Do;if(Xe){var Bo="oninput"in document;if(!Bo){var Wo=document.createElement("div");Wo.setAttribute("oninput","return;"),Bo="function"==typeof Wo.oninput}Do=Bo}else Do=!1;$o=Do&&(!document.documentMode||9<document.documentMode)}function Uo(){Lo&&(Lo.detachEvent("onpropertychange",qo),jo=Lo=null)}function qo(e){if("value"===e.propertyName&&Fo(jo)){var t=[];if(Ao(t,jo,e,dn(e)),e=Io,kn)e(t);else{kn=!0;try{yn(e,t)}finally{kn=!1,En()}}}}function Vo(e,t,n){"focusin"===e?(Uo(),jo=n,(Lo=t).attachEvent("onpropertychange",qo)):"focusout"===e&&Uo()}function Ho(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Fo(jo)}function Ko(e,t){if("click"===e)return Fo(t)}function Qo(e,t){if("input"===e||"change"===e)return Fo(t)}var Go="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Xo=Object.prototype.hasOwnProperty;function Yo(e,t){if(Go(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++)if(!Xo.call(t,n[r])||!Go(e[n[r]],t[n[r]]))return!1;return!0}function Zo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jo(e,t){var n,r=Zo(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=Zo(r)}}function ei(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ei(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ti(){for(var e=window,t=Ft();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Ft((e=t.contentWindow).document)}return t}function ni(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)}var ri=Xe&&"documentMode"in document&&11>=document.documentMode,oi=null,ii=null,ai=null,li=!1;function si(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;li||null==oi||oi!==Ft(r)||("selectionStart"in(r=oi)&&ni(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},ai&&Yo(ai,r)||(ai=r,0<(r=ki(ii,"onSelect")).length&&(t=new Yr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=oi)))}xr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),xr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),xr(br,2);for(var ui="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ci=0;ci<ui.length;ci++)yr.set(ui[ci],0);Ge("onMouseEnter",["mouseout","mouseover"]),Ge("onMouseLeave",["mouseout","mouseover"]),Ge("onPointerEnter",["pointerout","pointerover"]),Ge("onPointerLeave",["pointerout","pointerover"]),Qe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var di="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pi=new Set("cancel close invalid load scroll toggle".split(" ").concat(di));function fi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Ln.apply(this,arguments),Tn){if(!Tn)throw Error(Ve(198));var u=Mn;Tn=!1,Mn=null,_n||(_n=!0,Nn=u)}}(r,t,void 0,e),e.currentTarget=null}function hi(e,t){t=0!=(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;fi(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;fi(o,l,u),i=s}}}if(_n)throw e=Nn,_n=!1,Nn=null,e}function mi(e,t){var n=Vi(t),r=e+"__bubble";n.has(r)||(bi(t,e,2,!1),n.add(r))}var vi="_reactListening"+Math.random().toString(36).slice(2);function gi(e){e[vi]||(e[vi]=!0,He.forEach((function(t){pi.has(t)||yi(t,!1,e,null),yi(t,!0,e,null)})))}function yi(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&pi.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=Vi(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),bi(i,e,o,t),a.add(l))}function bi(e,t,n,r){var o=yr.get(t);switch(void 0===o?2:o){case 0:o=jr;break;case 1:o=Ir;break;default:o=Fr}n=o.bind(null,t,n,e),o=void 0,!On||"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 xi(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(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=Bi(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Sn)return e(t,n);Sn=!0;try{wn(e,t,n)}finally{Sn=!1,En()}}((function(){var r=i,o=dn(n),a=[];e:{var l=gr.get(e);if(void 0!==l){var s=Yr,u=e;switch(e){case"keypress":if(0===Ur(n))break e;case"keydown":case"keyup":s=mo;break;case"focusin":u="focus",s=ro;break;case"focusout":u="blur",s=ro;break;case"beforeblur":case"afterblur":s=ro;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=to;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=no;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=go;break;case fr:case hr:case mr:s=oo;break;case vr:s=yo;break;case"scroll":s=Jr;break;case"wheel":s=xo;break;case"copy":case"cut":case"paste":s=ao;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=vo}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Cn(h,p))&&c.push(wi(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!Bi(u)&&!u[$i])&&(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)?Bi(u):null)&&(u!==(d=jn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=to,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=vo,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:Ui(s),f=null==u?l:Ui(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Bi(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Si(f))h++;for(f=0,m=p;m;m=Si(m))f++;for(;0<h-f;)c=Si(c),h--;for(;0<f-h;)p=Si(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Si(c),p=Si(p)}c=null}else c=null;null!==s&&Ei(a,l,s,c,!1),null!==u&&null!==d&&Ei(a,d,u,c,!0)}if("select"===(s=(l=r?Ui(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=zo;else if(No(l))if($o)v=Qo;else{v=Ho;var g=Vo}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=Ko);switch(v&&(v=v(e,r))?Ao(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&Ut(l,"number",l.value)),g=r?Ui(r):window,e){case"focusin":(No(g)||"true"===g.contentEditable)&&(oi=g,ii=r,ai=null);break;case"focusout":ai=ii=oi=null;break;case"mousedown":li=!0;break;case"contextmenu":case"mouseup":case"dragend":li=!1,si(a,n,o);break;case"selectionchange":if(ri)break;case"keydown":case"keyup":si(a,n,o)}var y;if(ko)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Mo?Ro(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Co&&"ko"!==n.locale&&(Mo||"onCompositionStart"!==b?"onCompositionEnd"===b&&Mo&&(y=Wr()):(Dr="value"in($r=o)?$r.value:$r.textContent,Mo=!0)),0<(g=ki(r,b)).length&&(b=new lo(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=To(n))&&(b.data=y))),(y=Eo?function(e,t){switch(e){case"compositionend":return To(t);case"keypress":return 32!==t.which?null:(Po=!0,Oo);case"textInput":return(e=t.data)===Oo&&Po?null:e;default:return null}}(e,n):function(e,t){if(Mo)return"compositionend"===e||!ko&&Ro(e,t)?(e=Wr(),Br=Dr=$r=null,Mo=!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 Co&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=ki(r,"onBeforeInput")).length&&(o=new lo("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}hi(a,t)}))}function wi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ki(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=Cn(e,n))&&r.unshift(wi(e,i,o)),null!=(i=Cn(e,t))&&r.push(wi(e,i,o))),e=e.return}return r}function Si(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ei(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=Cn(n,i))&&a.unshift(wi(n,s,l)):o||null!=(s=Cn(n,i))&&a.push(wi(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Ci(){}var Oi=null,Pi=null;function Ri(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ti(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Mi="function"==typeof setTimeout?setTimeout:void 0,_i="function"==typeof clearTimeout?clearTimeout:void 0;function Ni(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Ai(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Li(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 ji=0;var Ii=Math.random().toString(36).slice(2),Fi="__reactFiber$"+Ii,zi="__reactProps$"+Ii,$i="__reactContainer$"+Ii,Di="__reactEvents$"+Ii;function Bi(e){var t=e[Fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$i]||n[Fi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Li(e);null!==e;){if(n=e[Fi])return n;e=Li(e)}return t}n=(e=n).parentNode}return null}function Wi(e){return!(e=e[Fi]||e[$i])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ui(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Ve(33))}function qi(e){return e[zi]||null}function Vi(e){var t=e[Di];return void 0===t&&(t=e[Di]=new Set),t}var Hi=[],Ki=-1;function Qi(e){return{current:e}}function Gi(e){0>Ki||(e.current=Hi[Ki],Hi[Ki]=null,Ki--)}function Xi(e,t){Ki++,Hi[Ki]=e.current,e.current=t}var Yi={},Zi=Qi(Yi),Ji=Qi(!1),ea=Yi;function ta(e,t){var n=e.type.contextTypes;if(!n)return Yi;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 na(e){return null!=(e=e.childContextTypes)}function ra(){Gi(Ji),Gi(Zi)}function oa(e,t,n){if(Zi.current!==Yi)throw Error(Ve(168));Xi(Zi,t),Xi(Ji,n)}function ia(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(Ve(108,Nt(t)||"Unknown",o));return Ue({},n,r)}function aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yi,ea=Zi.current,Xi(Zi,e),Xi(Ji,Ji.current),!0}function la(e,t,n){var r=e.stateNode;if(!r)throw Error(Ve(169));n?(e=ia(e,t,ea),r.__reactInternalMemoizedMergedChildContext=e,Gi(Ji),Gi(Zi),Xi(Zi,e)):Gi(Ji),Xi(Ji,n)}var sa=null,ua=null,ca=qe.unstable_runWithPriority,da=qe.unstable_scheduleCallback,pa=qe.unstable_cancelCallback,fa=qe.unstable_shouldYield,ha=qe.unstable_requestPaint,ma=qe.unstable_now,va=qe.unstable_getCurrentPriorityLevel,ga=qe.unstable_ImmediatePriority,ya=qe.unstable_UserBlockingPriority,ba=qe.unstable_NormalPriority,xa=qe.unstable_LowPriority,wa=qe.unstable_IdlePriority,ka={},Sa=void 0!==ha?ha:function(){},Ea=null,Ca=null,Oa=!1,Pa=ma(),Ra=1e4>Pa?ma:function(){return ma()-Pa};function Ta(){switch(va()){case ga:return 99;case ya:return 98;case ba:return 97;case xa:return 96;case wa:return 95;default:throw Error(Ve(332))}}function Ma(e){switch(e){case 99:return ga;case 98:return ya;case 97:return ba;case 96:return xa;case 95:return wa;default:throw Error(Ve(332))}}function _a(e,t){return e=Ma(e),ca(e,t)}function Na(e,t,n){return e=Ma(e),da(e,t,n)}function Aa(){if(null!==Ca){var e=Ca;Ca=null,pa(e)}La()}function La(){if(!Oa&&null!==Ea){Oa=!0;var e=0;try{var t=Ea;_a(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ea=null}catch(t){throw null!==Ea&&(Ea=Ea.slice(e+1)),da(ga,Aa),t}finally{Oa=!1}}}var ja=at.ReactCurrentBatchConfig;function Ia(e,t){if(e&&e.defaultProps){for(var n in t=Ue({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Fa=Qi(null),za=null,$a=null,Da=null;function Ba(){Da=$a=za=null}function Wa(e){var t=Fa.current;Gi(Fa),e.type._context._currentValue=t}function Ua(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function qa(e,t){za=e,Da=$a=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ws=!0),e.firstContext=null)}function Va(e,t){if(Da!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Da=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$a){if(null===za)throw Error(Ve(308));$a=t,za.dependencies={lanes:0,firstContext:t,responders:null}}else $a=$a.next=t;return e._currentValue}var Ha=!1;function Ka(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Qa(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 Ga(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xa(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Ya(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 Za(e,t,n,r){var o=e.updateQueue;Ha=!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;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==a&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(d=o.baseState,a=0,c=u=s=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var f=e,h=i;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=Ue({},d,l);break e;case 2:Ha=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,Cu|=a,e.lanes=a,e.memoizedState=d}}function Ja(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(Ve(191,o));o.call(r)}}}var el=(new We.Component).refs;function tl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Ue({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var nl={isMounted:function(e){return!!(e=e._reactInternals)&&jn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xu(),o=Yu(e),i=Ga(r,o);i.payload=t,null!=n&&(i.callback=n),Xa(e,i),Zu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xu(),o=Yu(e),i=Ga(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),Xa(e,i),Zu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xu(),r=Yu(e),o=Ga(n,r);o.tag=2,null!=t&&(o.callback=t),Xa(e,o),Zu(e,r,n)}};function rl(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Yo(n,r)||!Yo(o,i))}function ol(e,t,n){var r=!1,o=Yi,i=t.contextType;return"object"==typeof i&&null!==i?i=Va(i):(o=na(t)?ea:Zi.current,i=(r=null!=(r=t.contextTypes))?ta(e,o):Yi),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=nl,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function il(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&&nl.enqueueReplaceState(t,t.state,null)}function al(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=el,Ka(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Va(i):(i=na(t)?ea:Zi.current,o.context=ta(e,i)),Za(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(tl(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&&nl.enqueueReplaceState(o,o.state,null),Za(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var ll=Array.isArray;function sl(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Ve(309));var r=n.stateNode}if(!r)throw Error(Ve(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===el&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(Ve(284));if(!n._owner)throw Error(Ve(290,e))}return e}function ul(e,t){if("textarea"!==e.type)throw Error(Ve(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function cl(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(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 o(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function i(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):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Lc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=sl(e,t,n),r.return=e,r):((r=_c(n.type,n.key,n.props,null,e.mode,r)).ref=sl(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=jc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Nc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Lc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case lt:return(n=_c(t.type,t.key,t.props,null,e.mode,n)).ref=sl(e,null,t),n.return=e,n;case st:return(t=jc(t,e.mode,n)).return=e,t}if(ll(t)||Pt(t))return(t=Nc(t,e.mode,n,null)).return=e,t;ul(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case lt:return n.key===o?n.type===ut?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case st:return n.key===o?u(e,t,n,r):null}if(ll(n)||Pt(n))return null!==o?null:c(e,t,n,r,null);ul(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case lt:return e=e.get(null===r.key?n:r.key)||null,r.type===ut?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case st:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ll(r)||Pt(r))return c(t,e=e.get(n)||null,r,o,null);ul(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,v=null;null!==h&&m<l.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=p(o,h,l[m],s);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(v=f(h,o,m,l[m],s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=Pt(l);if("function"!=typeof u)throw Error(Ve(150));if(null==(l=u.call(l)))throw Error(Ve(151));for(var c=u=null,h=a,m=a=0,v=null,g=l.next();null!==h&&!g.done;m++,g=l.next()){h.index>m?(v=h,h=null):v=h.sibling;var y=p(o,h,g.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=v}if(g.done)return n(o,h),u;if(null===h){for(;!g.done;m++,g=l.next())null!==(g=d(o,g.value,s))&&(a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(o,h);!g.done;m++,g=l.next())null!==(g=f(h,o,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===ut&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case lt:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(i.type===ut){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=sl(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===ut?((r=Nc(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=_c(i.type,i.key,i.props,null,e.mode,l)).ref=sl(e,r,i),l.return=e,e=l)}return a(e);case st:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=jc(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Lc(i,e.mode,l)).return=e,e=r),a(e);if(ll(i))return h(e,r,i,l);if(Pt(i))return m(e,r,i,l);if(u&&ul(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Ve(152,Nt(e.type)||"Component"))}return n(e,r)}}var dl=cl(!0),pl=cl(!1),fl={},hl=Qi(fl),ml=Qi(fl),vl=Qi(fl);function gl(e){if(e===fl)throw Error(Ve(174));return e}function yl(e,t){switch(Xi(vl,t),Xi(ml,e),Xi(hl,fl),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Jt(null,"");break;default:t=Jt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Gi(hl),Xi(hl,t)}function bl(){Gi(hl),Gi(ml),Gi(vl)}function xl(e){gl(vl.current);var t=gl(hl.current),n=Jt(t,e.type);t!==n&&(Xi(ml,e),Xi(hl,n))}function wl(e){ml.current===e&&(Gi(hl),Gi(ml))}var kl=Qi(0);function Sl(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(0!=(64&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 El=null,Cl=null,Ol=!1;function Pl(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Rl(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,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Tl(e){if(Ol){var t=Cl;if(t){var n=t;if(!Rl(e,t)){if(!(t=Ai(n.nextSibling))||!Rl(e,t))return e.flags=-1025&e.flags|2,Ol=!1,void(El=e);Pl(El,n)}El=e,Cl=Ai(t.firstChild)}else e.flags=-1025&e.flags|2,Ol=!1,El=e}}function Ml(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;El=e}function _l(e){if(e!==El)return!1;if(!Ol)return Ml(e),Ol=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ti(t,e.memoizedProps))for(t=Cl;t;)Pl(e,t),t=Ai(t.nextSibling);if(Ml(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Ve(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Cl=Ai(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Cl=null}}else Cl=El?Ai(e.stateNode.nextSibling):null;return!0}function Nl(){Cl=El=null,Ol=!1}var Al=[];function Ll(){for(var e=0;e<Al.length;e++)Al[e]._workInProgressVersionPrimary=null;Al.length=0}var jl=at.ReactCurrentDispatcher,Il=at.ReactCurrentBatchConfig,Fl=0,zl=null,$l=null,Dl=null,Bl=!1,Wl=!1;function Ul(){throw Error(Ve(321))}function ql(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Go(e[n],t[n]))return!1;return!0}function Vl(e,t,n,r,o,i){if(Fl=i,zl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jl.current=null===e||null===e.memoizedState?gs:ys,e=n(r,o),Wl){i=0;do{if(Wl=!1,!(25>i))throw Error(Ve(301));i+=1,Dl=$l=null,t.updateQueue=null,jl.current=bs,e=n(r,o)}while(Wl)}if(jl.current=vs,t=null!==$l&&null!==$l.next,Fl=0,Dl=$l=zl=null,Bl=!1,t)throw Error(Ve(300));return e}function Hl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Dl?zl.memoizedState=Dl=e:Dl=Dl.next=e,Dl}function Kl(){if(null===$l){var e=zl.alternate;e=null!==e?e.memoizedState:null}else e=$l.next;var t=null===Dl?zl.memoizedState:Dl.next;if(null!==t)Dl=t,$l=e;else{if(null===e)throw Error(Ve(310));e={memoizedState:($l=e).memoizedState,baseState:$l.baseState,baseQueue:$l.baseQueue,queue:$l.queue,next:null},null===Dl?zl.memoizedState=Dl=e:Dl=Dl.next=e}return Dl}function Ql(e,t){return"function"==typeof t?t(e):t}function Gl(e){var t=Kl(),n=t.queue;if(null===n)throw Error(Ve(311));n.lastRenderedReducer=e;var r=$l,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((Fl&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,zl.lanes|=u,Cu|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,Go(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Xl(e){var t=Kl(),n=t.queue;if(null===n)throw Error(Ve(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Go(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Yl(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Fl&e)===e)&&(t._workInProgressVersionPrimary=r,Al.push(t))),e)return n(t._source);throw Al.push(t),Error(Ve(350))}function Zl(e,t,n,r){var o=gu;if(null===o)throw Error(Ve(349));var i=t._getVersion,a=i(t._source),l=jl.current,s=l.useState((function(){return Yl(o,t,n)})),u=s[1],c=s[0];s=Dl;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=zl;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=i(t._source);if(!Go(a,e)){e=n(t._source),Go(c,e)||(u(e),e=Yu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Tr(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=Yu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),Go(f,n)&&Go(h,t)&&Go(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:Ql,lastRenderedState:c}).dispatch=u=ms.bind(null,zl,e),s.queue=e,s.baseQueue=null,c=Yl(o,t,n),s.memoizedState=s.baseState=c),c}function Jl(e,t,n){return Zl(Kl(),e,t,n)}function es(e){var t=Hl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ql,lastRenderedState:e}).dispatch=ms.bind(null,zl,e),[t.memoizedState,e]}function ts(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=zl.updateQueue)?(t={lastEffect:null},zl.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 ns(e){return e={current:e},Hl().memoizedState=e}function rs(){return Kl().memoizedState}function os(e,t,n,r){var o=Hl();zl.flags|=e,o.memoizedState=ts(1|t,n,void 0,void 0===r?null:r)}function is(e,t,n,r){var o=Kl();r=void 0===r?null:r;var i=void 0;if(null!==$l){var a=$l.memoizedState;if(i=a.destroy,null!==r&&ql(r,a.deps))return void ts(t,n,i,r)}zl.flags|=e,o.memoizedState=ts(1|t,n,i,r)}function as(e,t){return os(516,4,e,t)}function ls(e,t){return is(516,4,e,t)}function ss(e,t){return is(4,2,e,t)}function us(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 cs(e,t,n){return n=null!=n?n.concat([e]):null,is(4,2,us.bind(null,t,e),n)}function ds(){}function ps(e,t){var n=Kl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ql(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fs(e,t){var n=Kl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ql(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hs(e,t){var n=Ta();_a(98>n?98:n,(function(){e(!0)})),_a(97<n?97:n,(function(){var n=Il.transition;Il.transition=1;try{e(!1),t()}finally{Il.transition=n}}))}function ms(e,t,n){var r=Xu(),o=Yu(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===zl||null!==a&&a===zl)Wl=Bl=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,Go(s,l))return}catch(e){}Zu(e,o,r)}}var vs={readContext:Va,useCallback:Ul,useContext:Ul,useEffect:Ul,useImperativeHandle:Ul,useLayoutEffect:Ul,useMemo:Ul,useReducer:Ul,useRef:Ul,useState:Ul,useDebugValue:Ul,useDeferredValue:Ul,useTransition:Ul,useMutableSource:Ul,useOpaqueIdentifier:Ul,unstable_isNewReconciler:!1},gs={readContext:Va,useCallback:function(e,t){return Hl().memoizedState=[e,void 0===t?null:t],e},useContext:Va,useEffect:as,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,os(4,2,us.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4,2,e,t)},useMemo:function(e,t){var n=Hl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ms.bind(null,zl,e),[r.memoizedState,e]},useRef:ns,useState:es,useDebugValue:ds,useDeferredValue:function(e){var t=es(e),n=t[0],r=t[1];return as((function(){var t=Il.transition;Il.transition=1;try{r(e)}finally{Il.transition=t}}),[e]),n},useTransition:function(){var e=es(!1),t=e[0];return ns(e=hs.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=Hl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Zl(r,e,t,n)},useOpaqueIdentifier:function(){if(Ol){var e=!1,t=function(e){return{$$typeof:xt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(ji++).toString(36))),Error(Ve(355))})),n=es(t)[1];return 0==(2&zl.mode)&&(zl.flags|=516,ts(5,(function(){n("r:"+(ji++).toString(36))}),void 0,null)),t}return es(t="r:"+(ji++).toString(36)),t},unstable_isNewReconciler:!1},ys={readContext:Va,useCallback:ps,useContext:Va,useEffect:ls,useImperativeHandle:cs,useLayoutEffect:ss,useMemo:fs,useReducer:Gl,useRef:rs,useState:function(){return Gl(Ql)},useDebugValue:ds,useDeferredValue:function(e){var t=Gl(Ql),n=t[0],r=t[1];return ls((function(){var t=Il.transition;Il.transition=1;try{r(e)}finally{Il.transition=t}}),[e]),n},useTransition:function(){var e=Gl(Ql)[0];return[rs().current,e]},useMutableSource:Jl,useOpaqueIdentifier:function(){return Gl(Ql)[0]},unstable_isNewReconciler:!1},bs={readContext:Va,useCallback:ps,useContext:Va,useEffect:ls,useImperativeHandle:cs,useLayoutEffect:ss,useMemo:fs,useReducer:Xl,useRef:rs,useState:function(){return Xl(Ql)},useDebugValue:ds,useDeferredValue:function(e){var t=Xl(Ql),n=t[0],r=t[1];return ls((function(){var t=Il.transition;Il.transition=1;try{r(e)}finally{Il.transition=t}}),[e]),n},useTransition:function(){var e=Xl(Ql)[0];return[rs().current,e]},useMutableSource:Jl,useOpaqueIdentifier:function(){return Xl(Ql)[0]},unstable_isNewReconciler:!1},xs=at.ReactCurrentOwner,ws=!1;function ks(e,t,n,r){t.child=null===e?pl(t,null,n,r):dl(t,e.child,n,r)}function Ss(e,t,n,r,o){n=n.render;var i=t.ref;return qa(t,o),r=Vl(e,t,n,r,i,o),null===e||ws?(t.flags|=1,ks(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Us(e,t,o))}function Es(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Tc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=_c(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Cs(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Yo)(o,r)&&e.ref===t.ref)?Us(e,t,i):(t.flags|=1,(e=Mc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Cs(e,t,n,r,o,i){if(null!==e&&Yo(e.memoizedProps,r)&&e.ref===t.ref){if(ws=!1,0==(i&o))return t.lanes=e.lanes,Us(e,t,i);0!=(16384&e.flags)&&(ws=!0)}return Rs(e,t,n,r,i)}function Os(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ac(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ac(t,e),null;t.memoizedState={baseLanes:0},ac(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ac(t,r);return ks(e,t,o,n),t.child}function Ps(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Rs(e,t,n,r,o){var i=na(n)?ea:Zi.current;return i=ta(t,i),qa(t,o),n=Vl(e,t,n,r,i,o),null===e||ws?(t.flags|=1,ks(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Us(e,t,o))}function Ts(e,t,n,r,o){if(na(n)){var i=!0;aa(t)}else i=!1;if(qa(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ol(t,n,r),al(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=Va(u):u=ta(t,u=na(n)?ea:Zi.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)&&il(t,a,r,u),Ha=!1;var p=t.memoizedState;a.state=p,Za(t,r,a,o),s=t.memoizedState,l!==r||p!==s||Ji.current||Ha?("function"==typeof c&&(tl(t,n,c,r),s=t.memoizedState),(l=Ha||rl(t,n,l,r,p,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|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,Qa(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Ia(t.type,l),a.props=u,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=Va(s):s=ta(t,s=na(n)?ea:Zi.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&il(t,a,r,s),Ha=!1,p=t.memoizedState,a.state=p,Za(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||Ji.current||Ha?("function"==typeof f&&(tl(t,n,f,r),h=t.memoizedState),(u=Ha||rl(t,n,u,r,p,h,s))?(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|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Ms(e,t,n,r,i,o)}function Ms(e,t,n,r,o,i){Ps(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&la(t,n,!1),Us(e,t,i);r=t.stateNode,xs.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=dl(t,e.child,null,i),t.child=dl(t,null,l,i)):ks(e,t,l,i),t.memoizedState=r.state,o&&la(t,n,!0),t.child}function _s(e){var t=e.stateNode;t.pendingContext?oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&oa(0,t.context,!1),yl(e,t.containerInfo)}var Ns,As,Ls,js={dehydrated:null,retryLane:0};function Is(e,t,n){var r,o=t.pendingProps,i=kl.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),Xi(kl,1&i),null===e?(void 0!==o.fallback&&Tl(t),e=o.children,i=o.fallback,a?(e=Fs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=js,e):"number"==typeof o.unstable_expectedLoadTime?(e=Fs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=js,t.lanes=33554432,e):((n=Ac({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=$s(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=js,o):(n=zs(e,t,o.children,n),t.memoizedState=null,n))}function Fs(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Ac(t,o,0,null),n=Nc(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function zs(e,t,n,r){var o=e.child;return e=o.sibling,n=Mc(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function $s(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Mc(a,l),null!==e?r=Mc(e,r):(r=Nc(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ds(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ua(e.return,t)}function Bs(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function Ws(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ks(e,t,r.children,n),0!=(2&(r=kl.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ds(e,n);else if(19===e.tag)Ds(e,n);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(Xi(kl,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Sl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bs(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Sl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bs(t,!0,n,null,i,t.lastEffect);break;case"together":Bs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Cu|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(Ve(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function qs(e,t){if(!Ol)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 Vs(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return na(t.type)&&ra(),null;case 3:return bl(),Gi(Ji),Gi(Zi),Ll(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(_l(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:wl(t);var o=gl(vl.current);if(n=t.type,null!==e&&null!=t.stateNode)As(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(Ve(166));return null}if(e=gl(hl.current),_l(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Fi]=t,r[zi]=i,n){case"dialog":mi("cancel",r),mi("close",r);break;case"iframe":case"object":case"embed":mi("load",r);break;case"video":case"audio":for(e=0;e<di.length;e++)mi(di[e],r);break;case"source":mi("error",r);break;case"img":case"image":case"link":mi("error",r),mi("load",r);break;case"details":mi("toggle",r);break;case"input":$t(r,i),mi("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},mi("invalid",r);break;case"textarea":Kt(r,i),mi("invalid",r)}for(var a in un(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):Ke.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&mi("scroll",r));switch(n){case"input":jt(r),Wt(r,i,!0);break;case"textarea":jt(r),Gt(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Ci)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===Xt&&(e=Zt(n)),e===Xt?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fi]=t,e[zi]=r,Ns(e,t),t.stateNode=e,a=cn(n,r),n){case"dialog":mi("cancel",e),mi("close",e),o=r;break;case"iframe":case"object":case"embed":mi("load",e),o=r;break;case"video":case"audio":for(o=0;o<di.length;o++)mi(di[o],e);o=r;break;case"source":mi("error",e),o=r;break;case"img":case"image":case"link":mi("error",e),mi("load",e),o=r;break;case"details":mi("toggle",e),o=r;break;case"input":$t(e,r),o=zt(e,r),mi("invalid",e);break;case"option":o=qt(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ue({},r,{value:void 0}),mi("invalid",e);break;case"textarea":Kt(e,r),o=Ht(e,r),mi("invalid",e);break;default:o=r}un(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?ln(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&tn(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&nn(e,s):"number"==typeof s&&nn(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Ke.hasOwnProperty(i)?null!=s&&"onScroll"===i&&mi("scroll",e):null!=s&&it(e,i,s,a))}switch(n){case"input":jt(e),Wt(e,r,!1);break;case"textarea":jt(e),Gt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+At(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?Vt(e,!!r.multiple,i,!1):null!=r.defaultValue&&Vt(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ci)}Ri(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ls(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Ve(166));n=gl(vl.current),gl(hl.current),_l(t)?(r=t.stateNode,n=t.memoizedProps,r[Fi]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Fi]=t,t.stateNode=r)}return null;case 13:return Gi(kl),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&_l(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&kl.current)?0===ku&&(ku=3):(0!==ku&&3!==ku||(ku=4),null===gu||0==(134217727&Cu)&&0==(134217727&Ou)||nc(gu,bu))),(r||n)&&(t.flags|=4),null);case 4:return bl(),null===e&&gi(t.stateNode.containerInfo),null;case 10:return Wa(t),null;case 19:if(Gi(kl),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)qs(r,!1);else{if(0!==ku||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Sl(e))){for(t.flags|=64,qs(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Xi(kl,1&kl.current|2),t.child}e=e.sibling}null!==r.tail&&Ra()>Mu&&(t.flags|=64,i=!0,qs(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Sl(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qs(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Ol)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ra()-r.renderingStartTime>Mu&&1073741824!==n&&(t.flags|=64,i=!0,qs(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ra(),n.sibling=null,t=kl.current,Xi(kl,i?1&t|2:1&t),n):null;case 23:case 24:return lc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(Ve(156,t.tag))}function Hs(e){switch(e.tag){case 1:na(e.type)&&ra();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(bl(),Gi(Ji),Gi(Zi),Ll(),0!=(64&(t=e.flags)))throw Error(Ve(285));return e.flags=-4097&t|64,e;case 5:return wl(e),null;case 13:return Gi(kl),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return Gi(kl),null;case 4:return bl(),null;case 10:return Wa(e),null;case 23:case 24:return lc(),null;default:return null}}function Ks(e,t){try{var n="",r=t;do{n+=_t(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}}function Qs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ns=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}},As=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,gl(hl.current);var i,a=null;switch(n){case"input":o=zt(e,o),r=zt(e,r),a=[];break;case"option":o=qt(e,o),r=qt(e,r),a=[];break;case"select":o=Ue({},o,{value:void 0}),r=Ue({},r,{value:void 0}),a=[];break;case"textarea":o=Ht(e,o),r=Ht(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ci)}for(u in un(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(Ke.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(Ke.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&mi("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===xt?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gs="function"==typeof WeakMap?WeakMap:Map;function Xs(e,t,n){(n=Ga(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Lu||(Lu=!0,ju=r),Qs(0,t)},n}function Ys(e,t,n){(n=Ga(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return Qs(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Iu?Iu=new Set([this]):Iu.add(this),Qs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var Zs="function"==typeof WeakSet?WeakSet:Set;function Js(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ec(e,t)}else t.current=null}function eu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ia(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ni(t.stateNode.containerInfo))}throw Error(Ve(163))}function tu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(wc(n,e),xc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ia(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&Ja(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}Ja(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ri(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&lr(n)))))}throw Error(Ve(163))}function nu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=an("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ru(e,t){if(ua&&"function"==typeof ua.onCommitFiberUnmount)try{ua.onCommitFiberUnmount(sa,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))wc(t,n);else{r=t;try{o()}catch(e){Ec(r,e)}}n=n.next}while(n!==e)}break;case 1:if(Js(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ec(t,e)}break;case 5:Js(t);break;case 4:uu(e,t)}}function ou(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:{for(var t=e.return;null!==t;){if(iu(t))break e;t=t.return}throw Error(Ve(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(Ve(161))}16&n.flags&&(nn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||iu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?lu(e,n,t):su(e,n,t)}function lu(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,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=Ci));else if(4!==r&&null!==(e=e.child))for(lu(e,t,n),e=e.sibling;null!==e;)lu(e,t,n),e=e.sibling}function su(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(Ve(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(ru(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(ru(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function cu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[zi]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Dt(n,r),cn(e,o),t=cn(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?ln(n,l):"dangerouslySetInnerHTML"===a?tn(n,l):"children"===a?nn(n,l):it(n,a,l,t)}switch(e){case"input":Bt(n,r);break;case"textarea":Qt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?Vt(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?Vt(n,!!r.multiple,r.defaultValue,!0):Vt(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(Ve(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,lr(n.containerInfo)));case 13:return null!==t.memoizedState&&(Tu=Ra(),nu(t.child,!0)),void du(t);case 19:return void du(t);case 23:case 24:return void nu(t,null!==t.memoizedState)}throw Error(Ve(163))}function du(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function pu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var fu=Math.ceil,hu=at.ReactCurrentDispatcher,mu=at.ReactCurrentOwner,vu=0,gu=null,yu=null,bu=0,xu=0,wu=Qi(0),ku=0,Su=null,Eu=0,Cu=0,Ou=0,Pu=0,Ru=null,Tu=0,Mu=1/0;function _u(){Mu=Ra()+500}var Nu,Au=null,Lu=!1,ju=null,Iu=null,Fu=!1,zu=null,$u=90,Du=[],Bu=[],Wu=null,Uu=0,qu=null,Vu=-1,Hu=0,Ku=0,Qu=null,Gu=!1;function Xu(){return 0!=(48&vu)?Ra():-1!==Vu?Vu:Vu=Ra()}function Yu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ta()?1:2;if(0===Hu&&(Hu=Eu),0!==ja.transition){0!==Ku&&(Ku=null!==Ru?Ru.pendingLanes:0),e=Hu;var t=4186112&~Ku;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ta(),0!=(4&vu)&&98===e?e=Cr(12,Hu):e=Cr(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Hu),e}function Zu(e,t,n){if(50<Uu)throw Uu=0,qu=null,Error(Ve(185));if(null===(e=Ju(e,t)))return null;Rr(e,t,n),e===gu&&(Ou|=t,4===ku&&nc(e,bu));var r=Ta();1===t?0!=(8&vu)&&0==(48&vu)?rc(e):(ec(e,n),0===vu&&(_u(),Aa())):(0==(4&vu)||98!==r&&99!==r||(null===Wu?Wu=new Set([e]):Wu.add(e)),ec(e,n)),Ru=e}function Ju(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}function ec(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-Tr(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,kr(s);var c=wr;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=Sr(e,e===gu?bu:0),t=wr,0===r)null!==n&&(n!==ka&&pa(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ka&&pa(n)}15===t?(n=rc.bind(null,e),null===Ea?(Ea=[n],Ca=da(ga,La)):Ea.push(n),n=ka):14===t?n=Na(99,rc.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(Ve(358,e))}}(t),n=Na(n,tc.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function tc(e){if(Vu=-1,Ku=Hu=0,0!=(48&vu))throw Error(Ve(327));var t=e.callbackNode;if(bc()&&e.callbackNode!==t)return null;var n=Sr(e,e===gu?bu:0);if(0===n)return null;var r=n,o=vu;vu|=16;var i=cc();for(gu===e&&bu===r||(_u(),sc(e,r));;)try{fc();break}catch(t){uc(e,t)}if(Ba(),hu.current=i,vu=o,null!==yu?r=0:(gu=null,bu=0,r=ku),0!=(Eu&Ou))sc(e,0);else if(0!==r){if(2===r&&(vu|=64,e.hydrate&&(e.hydrate=!1,Ni(e.containerInfo)),0!==(n=Er(e))&&(r=dc(e,n))),1===r)throw t=Su,sc(e,0),nc(e,n),ec(e,Ra()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(Ve(345));case 2:case 5:vc(e);break;case 3:if(nc(e,n),(62914560&n)===n&&10<(r=Tu+500-Ra())){if(0!==Sr(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Xu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Mi(vc.bind(null,e),r);break}vc(e);break;case 4:if(nc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-Tr(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Ra()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*fu(n/1960))-n)){e.timeoutHandle=Mi(vc.bind(null,e),n);break}vc(e);break;default:throw Error(Ve(329))}}return ec(e,Ra()),e.callbackNode===t?tc.bind(null,e):null}function nc(e,t){for(t&=~Pu,t&=~Ou,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tr(t),r=1<<n;e[n]=-1,t&=~r}}function rc(e){if(0!=(48&vu))throw Error(Ve(327));if(bc(),e===gu&&0!=(e.expiredLanes&bu)){var t=bu,n=dc(e,t);0!=(Eu&Ou)&&(n=dc(e,t=Sr(e,t)))}else n=dc(e,t=Sr(e,0));if(0!==e.tag&&2===n&&(vu|=64,e.hydrate&&(e.hydrate=!1,Ni(e.containerInfo)),0!==(t=Er(e))&&(n=dc(e,t))),1===n)throw n=Su,sc(e,0),nc(e,t),ec(e,Ra()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,vc(e),ec(e,Ra()),null}function oc(e,t){var n=vu;vu|=1;try{return e(t)}finally{0===(vu=n)&&(_u(),Aa())}}function ic(e,t){var n=vu;vu&=-2,vu|=8;try{return e(t)}finally{0===(vu=n)&&(_u(),Aa())}}function ac(e,t){Xi(wu,xu),xu|=t,Eu|=t}function lc(){xu=wu.current,Gi(wu)}function sc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_i(n)),null!==yu)for(n=yu.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ra();break;case 3:bl(),Gi(Ji),Gi(Zi),Ll();break;case 5:wl(r);break;case 4:bl();break;case 13:case 19:Gi(kl);break;case 10:Wa(r);break;case 23:case 24:lc()}n=n.return}gu=e,yu=Mc(e.current,null),bu=xu=Eu=t,ku=0,Su=null,Pu=Ou=Cu=0}function uc(e,t){for(;;){var n=yu;try{if(Ba(),jl.current=vs,Bl){for(var r=zl.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Bl=!1}if(Fl=0,Dl=$l=zl=null,Wl=!1,mu.current=null,null===n||null===n.return){ku=1,Su=t,yu=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=bu,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&kl.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var v=p.updateQueue;if(null===v){var g=new Set;g.add(u),p.updateQueue=g}else v.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=Ga(-1,1);y.tag=2,Xa(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new Gs,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Cc.bind(null,i,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((Nt(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==ku&&(ku=2),s=Ks(s,l),p=a;do{switch(p.tag){case 3:i=s,p.flags|=4096,t&=-t,p.lanes|=t,Ya(p,Xs(0,i,t));break e;case 1:i=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Iu||!Iu.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,Ya(p,Ys(p,i,t));break e}}p=p.return}while(null!==p)}mc(n)}catch(e){t=e,yu===n&&null!==n&&(yu=n=n.return);continue}break}}function cc(){var e=hu.current;return hu.current=vs,null===e?vs:e}function dc(e,t){var n=vu;vu|=16;var r=cc();for(gu===e&&bu===t||sc(e,t);;)try{pc();break}catch(t){uc(e,t)}if(Ba(),vu=n,hu.current=r,null!==yu)throw Error(Ve(261));return gu=null,bu=0,ku}function pc(){for(;null!==yu;)hc(yu)}function fc(){for(;null!==yu&&!fa();)hc(yu)}function hc(e){var t=Nu(e.alternate,e,xu);e.memoizedProps=e.pendingProps,null===t?mc(e):yu=t,mu.current=null}function mc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Vs(n,t,xu)))return void(yu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&xu)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=Hs(t)))return n.flags&=2047,void(yu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(yu=t);yu=t=e}while(null!==t);0===ku&&(ku=5)}function vc(e){var t=Ta();return _a(99,gc.bind(null,e,t)),null}function gc(e,t){do{bc()}while(null!==zu);if(0!=(48&vu))throw Error(Ve(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Ve(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-Tr(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==Wu&&0==(24&r)&&Wu.has(e)&&Wu.delete(e),e===gu&&(yu=gu=null,bu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=vu,vu|=32,mu.current=null,Oi=Lr,ni(a=ti())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=a,v=null;t:for(;;){for(var g;m!==l||0!==i&&3!==m.nodeType||(d=c+i),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===a)break t;if(v===l&&++f===i&&(d=c),v===s&&++h===u&&(p=c),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Pi={focusedElem:a,selectionRange:l},Lr=!1,Qu=null,Gu=!1,Au=r;do{try{yc()}catch(e){if(null===Au)throw Error(Ve(330));Ec(Au,e),Au=Au.nextEffect}}while(null!==Au);Qu=null,Au=r;do{try{for(a=e;null!==Au;){var y=Au.flags;if(16&y&&nn(Au.stateNode,""),128&y){var b=Au.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:au(Au),Au.flags&=-3;break;case 6:au(Au),Au.flags&=-3,cu(Au.alternate,Au);break;case 1024:Au.flags&=-1025;break;case 1028:Au.flags&=-1025,cu(Au.alternate,Au);break;case 4:cu(Au.alternate,Au);break;case 8:uu(a,l=Au);var w=l.alternate;ou(l),null!==w&&ou(w)}Au=Au.nextEffect}}catch(e){if(null===Au)throw Error(Ve(330));Ec(Au,e),Au=Au.nextEffect}}while(null!==Au);if(x=Pi,b=ti(),y=x.focusedElem,a=x.selectionRange,b!==y&&y&&y.ownerDocument&&ei(y.ownerDocument.documentElement,y)){null!==a&&ni(y)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,w=Math.min(a.start,l),a=void 0===a.end?w:Math.min(a.end,l),!x.extend&&w>a&&(l=a,a=w,w=l),l=Jo(y,w),i=Jo(y,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Lr=!!Oi,Pi=Oi=null,e.current=n,Au=r;do{try{for(y=e;null!==Au;){var k=Au.flags;if(36&k&&tu(y,Au.alternate,Au),128&k){b=void 0;var S=Au.ref;if(null!==S){var E=Au.stateNode;Au.tag,b=E,"function"==typeof S?S(b):S.current=b}}Au=Au.nextEffect}}catch(e){if(null===Au)throw Error(Ve(330));Ec(Au,e),Au=Au.nextEffect}}while(null!==Au);Au=null,Sa(),vu=o}else e.current=n;if(Fu)Fu=!1,zu=e,$u=t;else for(Au=r;null!==Au;)t=Au.nextEffect,Au.nextEffect=null,8&Au.flags&&((k=Au).sibling=null,k.stateNode=null),Au=t;if(0===(r=e.pendingLanes)&&(Iu=null),1===r?e===qu?Uu++:(Uu=0,qu=e):Uu=0,n=n.stateNode,ua&&"function"==typeof ua.onCommitFiberRoot)try{ua.onCommitFiberRoot(sa,n,void 0,64==(64&n.current.flags))}catch(e){}if(ec(e,Ra()),Lu)throw Lu=!1,e=ju,ju=null,e;return 0!=(8&vu)||Aa(),null}function yc(){for(;null!==Au;){var e=Au.alternate;Gu||null===Qu||(0!=(8&Au.flags)?$n(Au,Qu)&&(Gu=!0):13===Au.tag&&pu(e,Au)&&$n(Au,Qu)&&(Gu=!0));var t=Au.flags;0!=(256&t)&&eu(e,Au),0==(512&t)||Fu||(Fu=!0,Na(97,(function(){return bc(),null}))),Au=Au.nextEffect}}function bc(){if(90!==$u){var e=97<$u?97:$u;return $u=90,_a(e,kc)}return!1}function xc(e,t){Du.push(t,e),Fu||(Fu=!0,Na(97,(function(){return bc(),null})))}function wc(e,t){Bu.push(t,e),Fu||(Fu=!0,Na(97,(function(){return bc(),null})))}function kc(){if(null===zu)return!1;var e=zu;if(zu=null,0!=(48&vu))throw Error(Ve(331));var t=vu;vu|=32;var n=Bu;Bu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(Ve(330));Ec(i,e)}}for(n=Du,Du=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(Ve(330));Ec(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return vu=t,Aa(),!0}function Sc(e,t,n){Xa(e,t=Xs(0,t=Ks(n,t),1)),t=Xu(),null!==(e=Ju(e,1))&&(Rr(e,1,t),ec(e,t))}function Ec(e,t){if(3===e.tag)Sc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Sc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Iu||!Iu.has(r))){var o=Ys(n,e=Ks(t,e),1);if(Xa(n,o),o=Xu(),null!==(n=Ju(n,1)))Rr(n,1,o),ec(n,o);else if("function"==typeof r.componentDidCatch&&(null===Iu||!Iu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Xu(),e.pingedLanes|=e.suspendedLanes&n,gu===e&&(bu&n)===n&&(4===ku||3===ku&&(62914560&bu)===bu&&500>Ra()-Tu?sc(e,0):Pu|=n),ec(e,t)}function Oc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ta()?1:2:(0===Hu&&(Hu=Eu),0===(t=Or(62914560&~Hu))&&(t=4194304))),n=Xu(),null!==(e=Ju(e,t))&&(Rr(e,t,n),ec(e,n))}function Pc(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new Pc(e,t,n,r)}function Tc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Rc(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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 _c(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Tc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case ut:return Nc(n.children,o,i,t);case wt:a=8,o|=16;break;case ct:a=8,o|=1;break;case dt:return(e=Rc(12,n,t,8|o)).elementType=dt,e.type=dt,e.lanes=i,e;case mt:return(e=Rc(13,n,t,o)).type=mt,e.elementType=mt,e.lanes=i,e;case vt:return(e=Rc(19,n,t,o)).elementType=vt,e.lanes=i,e;case kt:return Ac(n,o,i,t);case St:return(e=Rc(24,n,t,o)).elementType=St,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case pt:a=10;break e;case ft:a=9;break e;case ht:a=11;break e;case gt:a=14;break e;case yt:a=16,r=null;break e;case bt:a=22;break e}throw Error(Ve(130,null==e?e:typeof e,""))}return(t=Rc(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Nc(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Ac(e,t,n,r){return(e=Rc(23,e,r,t)).elementType=kt,e.lanes=n,e}function Lc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function jc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ic(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Pr(0),this.expirationTimes=Pr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pr(0),this.mutableSourceEagerHydrationData=null}function Fc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:st,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function zc(e,t,n,r){var o=t.current,i=Xu(),a=Yu(o);e:if(n){t:{if(jn(n=n._reactInternals)!==n||1!==n.tag)throw Error(Ve(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(na(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(Ve(171))}if(1===n.tag){var s=n.type;if(na(s)){n=ia(n,s,l);break e}}n=l}else n=Yi;return null===t.context?t.context=n:t.pendingContext=n,(t=Ga(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Xa(o,t),Zu(o,a,i),a}function $c(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Dc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Bc(e,t){Dc(e,t),(e=e.alternate)&&Dc(e,t)}function Wc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ic(e,t,null!=n&&!0===n.hydrate),t=Rc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,Ka(t),e[$i]=n.current,gi(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Uc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function qc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=$c(a);l.call(e)}}zc(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=$c(a);s.call(e)}}ic((function(){zc(t,a,e,o)}))}return $c(a)}function Vc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uc(t))throw Error(Ve(200));return Fc(e,t,null,n)}Nu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||Ji.current)ws=!0;else{if(0==(n&r)){switch(ws=!1,t.tag){case 3:_s(t),Nl();break;case 5:xl(t);break;case 1:na(t.type)&&aa(t);break;case 4:yl(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;Xi(Fa,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Is(e,t,n):(Xi(kl,1&kl.current),null!==(t=Us(e,t,n))?t.sibling:null);Xi(kl,1&kl.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Ws(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Xi(kl,kl.current),r)break;return null;case 23:case 24:return t.lanes=0,Os(e,t,n)}return Us(e,t,n)}ws=0!=(16384&e.flags)}else ws=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=ta(t,Zi.current),qa(t,n),o=Vl(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,na(r)){var i=!0;aa(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ka(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&tl(t,r,a,e),o.updater=nl,t.stateNode=o,o._reactInternals=t,al(t,r,e,n),t=Ms(null,t,r,!0,i,n)}else t.tag=0,ks(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Tc(e)?1:0;if(null!=e){if((e=e.$$typeof)===ht)return 11;if(e===gt)return 14}return 2}(o),e=Ia(o,e),i){case 0:t=Rs(null,t,o,e,n);break e;case 1:t=Ts(null,t,o,e,n);break e;case 11:t=Ss(null,t,o,e,n);break e;case 14:t=Es(null,t,o,Ia(o.type,e),r,n);break e}throw Error(Ve(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Rs(e,t,r,o=t.elementType===r?o:Ia(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:Ia(r,o),n);case 3:if(_s(t),r=t.updateQueue,null===e||null===r)throw Error(Ve(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,Qa(e,t),Za(t,r,null,n),(r=t.memoizedState.element)===o)Nl(),t=Us(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Cl=Ai(t.stateNode.containerInfo.firstChild),El=t,i=Ol=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Al.push(i);for(n=pl(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ks(e,t,r,n),Nl();t=t.child}return t;case 5:return xl(t),null===e&&Tl(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Ti(r,o)?a=null:null!==i&&Ti(r,i)&&(t.flags|=16),Ps(e,t),ks(e,t,a,n),t.child;case 6:return null===e&&Tl(t),null;case 13:return Is(e,t,n);case 4:return yl(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=dl(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:Ia(r,o),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(Xi(Fa,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0===(i=Go(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!Ji.current){t=Us(e,t,n);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===r&&0!=(u.observedBits&i)){1===l.tag&&((u=Ga(-1,n&-n)).tag=2,Xa(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Ua(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null: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}ks(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,qa(t,n),r=r(o=Va(o,i.unstable_observedBits)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return i=Ia(o=t.type,t.pendingProps),Es(e,t,o,i=Ia(o.type,i),r,n);case 15:return Cs(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ia(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,na(r)?(e=!0,aa(t)):e=!1,qa(t,n),ol(t,r,o),al(t,r,o,n),Ms(null,t,r,!0,e,n);case 19:return Ws(e,t,n);case 23:case 24:return Os(e,t,n)}throw Error(Ve(156,t.tag))},Wc.prototype.render=function(e){zc(e,this._internalRoot,null,null)},Wc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;zc(null,e,null,(function(){t[$i]=null}))},Dn=function(e){13===e.tag&&(Zu(e,4,Xu()),Bc(e,4))},Bn=function(e){13===e.tag&&(Zu(e,67108864,Xu()),Bc(e,67108864))},Wn=function(e){if(13===e.tag){var t=Xu(),n=Yu(e);Zu(e,n,t),Bc(e,n)}},Un=function(e,t){return t()},pn=function(e,t,n){switch(t){case"input":if(Bt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=qi(r);if(!o)throw Error(Ve(90));It(r),Bt(r,o)}}}break;case"textarea":Qt(e,n);break;case"select":null!=(t=n.value)&&Vt(e,!!n.multiple,t,!1)}},yn=oc,bn=function(e,t,n,r,o){var i=vu;vu|=4;try{return _a(98,e.bind(null,t,n,r,o))}finally{0===(vu=i)&&(_u(),Aa())}},xn=function(){0==(49&vu)&&(function(){if(null!==Wu){var e=Wu;Wu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ec(e,Ra())}))}Aa()}(),bc())},wn=function(e,t){var n=vu;vu|=2;try{return e(t)}finally{0===(vu=n)&&(_u(),Aa())}};var Hc={Events:[Wi,Ui,qi,vn,gn,bc,{current:!1}]},Kc={findFiberByHostInstance:Bi,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Qc={bundleType:Kc.bundleType,version:Kc.version,rendererPackageName:Kc.rendererPackageName,rendererConfig:Kc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:at.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=zn(e))?null:e.stateNode},findFiberByHostInstance:Kc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Gc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gc.isDisabled&&Gc.supportsFiber)try{sa=Gc.inject(Qc),ua=Gc}catch(od){}}Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hc,Le.createPortal=Vc,Le.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(Ve(188));throw Error(Ve(268,Object.keys(e)))}return e=null===(e=zn(t))?null:e.stateNode},Le.flushSync=function(e,t){var n=vu;if(0!=(48&n))return e(t);vu|=1;try{if(e)return _a(99,e.bind(null,t))}finally{vu=n,Aa()}},Le.hydrate=function(e,t,n){if(!Uc(t))throw Error(Ve(200));return qc(null,e,t,!0,n)},Le.render=function(e,t,n){if(!Uc(t))throw Error(Ve(200));return qc(null,e,t,!1,n)},Le.unmountComponentAtNode=function(e){if(!Uc(e))throw Error(Ve(40));return!!e._reactRootContainer&&(ic((function(){qc(null,null,e,!1,(function(){e._reactRootContainer=null,e[$i]=null}))})),!0)},Le.unstable_batchedUpdates=oc,Le.unstable_createPortal=function(e,t){return Vc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},Le.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Uc(n))throw Error(Ve(200));if(null==e||void 0===e._reactInternals)throw Error(Ve(38));return qc(e,t,n,!1,r)},Le.version="17.0.2",function(e){!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)}}(),e.exports=Le}(Ae);var Xc=H(Ae.exports),Yc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return r(t,e),Object.defineProperty(t.prototype,"document",{get:function(){return this.props.document||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devTools",{get:function(){var e;return(null===(e=this.document.getElementById(E))||void 0===e?void 0:e.shadowRoot)||this.document.body},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()},t.prototype.componentDidUpdate=function(){this._render()},t.prototype.componentWillUnmount=function(){this._popup&&(Ae.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){Ae.exports.render(Q.exports.createElement(Q.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(Q.exports.PureComponent),Zc=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Jc={exports:{}},ed={};
|
|
28
|
+
/**
|
|
29
|
+
* @license React
|
|
30
|
+
* scheduler.production.min.js
|
|
31
|
+
*
|
|
32
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the MIT license found in the
|
|
35
|
+
* LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/
|
|
37
|
+
!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,p=3,f=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(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,b(e),!h)if(null!==n(s))h=!0,N(w);else{var t=n(u);null!==t&&A(x,t.startTime-e)}}function w(t,o){h=!1,m&&(m=!1,g(C),C=-1),f=!0;var i=p;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!R());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&A(x,v.startTime-o),c=!1}return c}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,C=-1,O=5,P=-1;function R(){return!(e.unstable_now()-P<O)}function T(){if(null!==E){var t=e.unstable_now();P=t;var n=!0;try{n=E(!0,t)}finally{n?k():(S=!1,E=null)}}else S=!1}if("function"==typeof y)k=function(){y(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,_=M.port2;M.port1.onmessage=T,k=function(){_.postMessage(null)}}else k=function(){v(T,0)};function N(e){E=e,S||(S=!0,k())}function A(t,n){C=v((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||f||(h=!0,N(w))},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"):O=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=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=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+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?(g(C),C=-1):m=!0,A(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,N(w))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(ed),function(e){e.exports=ed}(Jc);const td=Symbol(),nd=Symbol(),rd="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?Q.exports.useEffect:Q.exports.useLayoutEffect,od=Jc.exports.unstable_runWithPriority?e=>Jc.exports.unstable_runWithPriority(Jc.exports.unstable_NormalPriority,e):e=>e();var id=function(e,t,n){var r;if(!(null==t?void 0:t.length))return!0;var o=null===(r=null==n?void 0:n.find((function(t){return t.tag===e})))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function ad(e,t){return ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ad(e,t)}function ld(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ad(e,t)}var sd=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function ud(){return ud=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ud.apply(this,arguments)}var cd="undefined"==typeof window;function dd(){}function pd(e){return"number"==typeof e&&e>=0&&e!==1/0}function fd(e){return Array.isArray(e)?e:[e]}function hd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function md(e,t,n){return Od(e)?"function"==typeof t?ud({},n,{queryKey:e,queryFn:t}):ud({},t,{queryKey:e}):e}function vd(e,t,n){return Od(e)?[ud({},t,{queryKey:e}),n]:[e||{},t]}function gd(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,l=e.queryKey,s=e.stale;if(Od(l))if(r){if(t.queryHash!==bd(l,t.options))return!1}else if(!wd(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function yd(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(Od(i)){if(!t.options.mutationKey)return!1;if(n){if(xd(t.options.mutationKey)!==xd(i))return!1}else if(!wd(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function bd(e,t){return((null==t?void 0:t.queryKeyHashFn)||xd)(e)}function xd(e){var t,n=fd(e);return t=n,JSON.stringify(t,(function(e,t){return Ed(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function wd(e,t){return kd(fd(e),fd(t))}function kd(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!kd(e[n],t[n])})))}function Sd(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||Ed(e)&&Ed(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},l=0,s=0;s<i;s++){var u=n?s:o[s];a[u]=Sd(e[u],t[u]),a[u]===e[u]&&l++}return r===i&&l===r?e:a}return t}function Ed(e){if(!Cd(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!Cd(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Cd(e){return"[object Object]"===Object.prototype.toString.call(e)}function Od(e){return"string"==typeof e||Array.isArray(e)}function Pd(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function Rd(){if("function"==typeof AbortController)return new AbortController}var Td=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!cd&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}ld(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(sd)),Md=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!cd&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}ld(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(sd));function _d(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Nd(e){return"function"==typeof(null==e?void 0:e.cancel)}var Ad=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function Ld(e){return e instanceof Ad}var jd=function(e){var t,n,r,o,i=this,a=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){a=!0},this.continueRetry=function(){a=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){r=e,o=t}));var l=function(t){i.isResolved||(i.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){i.isResolved||(i.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!i.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!i.isResolved&&(s(new Ad(e)),null==i.abort||i.abort(),Nd(o)))try{o.cancel()}catch(e){}},i.isTransportCancelable=Nd(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!i.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:_d,p="function"==typeof d?d(i.failureCount,t):d,f=!0===c||"number"==typeof c&&i.failureCount<c||"function"==typeof c&&c(i.failureCount,t);if(!a&&f)i.failureCount++,null==e.onFail||e.onFail(i.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!Td.isFocused()||!Md.isOnline())return new Promise((function(t){n=t,i.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,i.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){a?s(t):r()}));else s(t)}}))}}()},Id=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):Pd((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&Pd((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),Fd=new Id,zd=console;function $d(){return zd}var Dd=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=ud({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),pd(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=function(e,t){return"function"==typeof e?e(t):e}(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=Sd(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(dd).catch(dd):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!hd(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var l=this.observers.find((function(e){return e.options.queryFn}));l&&this.setOptions(l.options)}var s=fd(this.queryKey),u=Rd(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return i.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(c)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=f.fetchOptions)?void 0:p.meta});return this.retryer=new jd({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){Ld(e)&&e.silent||i.dispatch({type:"error",error:e}),Ld(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),$d().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),Fd.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return ud({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return ud({},e,{isPaused:!0});case"continue":return ud({},e,{isPaused:!1});case"fetch":return ud({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return ud({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return Ld(o)&&o.revert&&this.revertState?ud({},this.revertState):ud({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return ud({},e,{isInvalidated:!0});case"setState":return ud({},e,t.state);default:return e}},e}(),Bd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}ld(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:bd(o,t),a=this.get(i);return a||(a=new Dd({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;Fd.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=vd(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return gd(n,e)}))},n.findAll=function(e,t){var n=vd(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return gd(n,e)})):this.queries},n.notify=function(e){var t=this;Fd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;Fd.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;Fd.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(sd),Wd=function(){function e(e){this.options=ud({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||Ud(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(dd).catch(dd)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),$d().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new jd({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return ud({},e,{failureCount:e.failureCount+1});case"pause":return ud({},e,{isPaused:!0});case"continue":return ud({},e,{isPaused:!1});case"loading":return ud({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return ud({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return ud({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return ud({},e,t.state);default:return e}}(this.state,e),Fd.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function Ud(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var qd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}ld(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new Wd({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;Fd.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return yd(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return yd(e,t)}))},n.notify=function(e){var t=this;Fd.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return Fd.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(dd)}))}),Promise.resolve())}))},t}(sd);function Vd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var Hd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new Bd,this.mutationCache=e.mutationCache||new qd,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=Td.subscribe((function(){Td.isFocused()&&Md.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=Md.subscribe((function(){Td.isFocused()&&Md.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=vd(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(ud({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=md(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return Fd.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=vd(e,t)[0],r=this.queryCache;Fd.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=vd(e,t,n),i=o[0],a=o[1],l=this.queryCache,s=ud({},i,{active:!0});return Fd.batch((function(){return l.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))},t.cancelQueries=function(e,t,n){var r=this,o=vd(e,t,n),i=o[0],a=o[1],l=void 0===a?{}:a;void 0===l.revert&&(l.revert=!0);var s=Fd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(dd).catch(dd)},t.invalidateQueries=function(e,t,n){var r,o,i,a=this,l=vd(e,t,n),s=l[0],u=l[1],c=ud({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(i=s.refetchInactive)&&i});return Fd.batch((function(){return a.queryCache.findAll(s).forEach((function(e){e.invalidate()})),a.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=vd(e,t,n),i=o[0],a=o[1],l=Fd.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.fetch(void 0,ud({},a,{meta:{refetchPage:null==i?void 0:i.refetchPage}}))}))})),s=Promise.all(l).then(dd);return(null==a?void 0:a.throwOnError)||(s=s.catch(dd)),s},t.fetchQuery=function(e,t,n){var r=md(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(dd).catch(dd)},t.fetchInfiniteQuery=function(e,t,n){var r=md(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,l,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(i=e.state.data)?void 0:i.pages)||[],v=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=Rd(),y=null==g?void 0:g.signal,b=v,x=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},a=w(i),l=Promise.resolve(a).then((function(e){return k(t,r,e,o)}));return Nd(a)&&(l.cancel=a.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:Vd(e.options,m);l=S(m,E,C)}else if(h){var O=void 0!==p,P=O?p:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=S(m,O,P,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);l=n?S([],t,v[0]):Promise.resolve(k([],v[0],m[0]));for(var r=function(n){l=l.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var o=t?v[n]:Vd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,v[n],m[n]))}))},o=1;o<m.length;o++)r(o)}();else l=S([]);var R=l.then((function(e){return{pages:e,pageParams:b}}));return R.cancel=function(){x=!0,null==g||g.abort(),Nd(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(dd).catch(dd)},t.cancelMutations=function(){var e=this,t=Fd.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(dd).catch(dd)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return xd(e)===xd(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return wd(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return xd(e)===xd(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return wd(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=ud({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=bd(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:ud({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),Kd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}ld(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Qd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return Gd(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return Gd(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&Xd(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(ud({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(dd)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!cd&&!this.currentResult.isStale&&pd(this.options.staleTime)){var t=hd(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!cd&&!1!==this.options.enabled&&pd(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Td.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,f=d.error,h=d.errorUpdatedAt,m=d.isFetching,v=d.status,g=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&Qd(e,t),w=b&&Xd(e,r,t,o);(x||w)&&(m=!0,p||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==v)n=c.data,p=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data)if(i&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=Sd(null==i?void 0:i.data,n)),this.selectResult=n,this.selectError=null}catch(e){$d().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var k;if((null==i?void 0:i.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=i.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),!1!==t.structuralSharing&&(k=Sd(null==i?void 0:i.data,k)),this.selectError=null}catch(e){$d().error(e),this.selectError=e}void 0!==k&&(v="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:Yd(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],l=null==i?void 0:i.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return a&&!s&&(!i||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(ud({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||Ld(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;Fd.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(sd);function Qd(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Gd(e,t,t.refetchOnMount)}function Gd(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Yd(e,t)}return!1}function Xd(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Yd(e,n)}function Yd(e,t){return e.isStaleByTime(t.staleTime)}var Zd=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}ld(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,ud({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=ud({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;Fd.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(sd),Jd=Xc.unstable_batchedUpdates;Fd.setBatchNotifyFunction(Jd);var ep=console;zd=ep;var tp=_e.createContext(void 0),np=_e.createContext(!1);function rp(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=tp),window.ReactQueryClientContext):tp}var op=function(){var e=_e.useContext(rp(_e.useContext(np)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},ip=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;_e.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var i=rp(r);return _e.createElement(np.Provider,{value:r},_e.createElement(i.Provider,{value:t},o))};var ap,lp=_e.createContext((ap=!1,{clearReset:function(){ap=!1},reset:function(){ap=!0},isReset:function(){return ap}}));function sp(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function up(e,t,n){var r=_e.useRef(!1),o=_e.useState(0)[1],i=function(e,t,n){return Od(e)?"function"==typeof t?ud({},n,{mutationKey:e,mutationFn:t}):ud({},t,{mutationKey:e}):"function"==typeof e?ud({},t,{mutationFn:e}):ud({},e)}(e,t,n),a=op(),l=_e.useRef();l.current?l.current.setOptions(i):l.current=new Zd(a,i);var s=l.current.getCurrentResult();_e.useEffect((function(){r.current=!0;var e=l.current.subscribe(Fd.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=_e.useCallback((function(e,t){l.current.mutate(e,t).catch(dd)}),[]);if(s.error&&sp(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return ud({},s,{mutate:u,mutateAsync:s.mutate})}function cp(e,t){var n=_e.useRef(!1),r=_e.useState(0)[1],o=op(),i=_e.useContext(lp),a=o.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=Fd.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=Fd.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=Fd.batchCalls(a.onSettled)),a.suspense&&("number"!=typeof a.staleTime&&(a.staleTime=1e3),0===a.cacheTime&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var l=_e.useState((function(){return new t(o,a)}))[0],s=l.getOptimisticResult(a);if(_e.useEffect((function(){n.current=!0,i.clearReset();var e=l.subscribe(Fd.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[i,l]),_e.useEffect((function(){l.setOptions(a,{listeners:!1})}),[a,l]),a.suspense&&s.isLoading)throw l.fetchOptimistic(a).then((function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)})).catch((function(e){i.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)}));if(s.isError&&!i.isReset()&&!s.isFetching&&sp(a.suspense,a.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===a.notifyOnChangeProps&&(s=l.trackResult(s,a)),s}function dp(e){return a(this,void 0,void 0,(function(){var t;return l(this,(function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(e){return[2,t]}return[2]}}))}))}var pp=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=u(t,2),i=r[0],a=r[1];return Array.isArray(a)||"object"!=typeof a?o(o({},e),((n={})[i]=a,n)):o(o({},e),pp(a))}),{}):{}};function fp(e,t,n){return a(this,void 0,void 0,(function(){var r=this;return l(this,(function(i){if(void 0===t.apiUrl)throw"Api url not specified";if(void 0===t.apiKey)throw"Api key not specified";return(n=n||{}).headers=n.headers||{},n.headers=o(o({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return a(r,void 0,void 0,(function(){var t,n;return l(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,dp(e)];case 1:throw t=r.sent(),n="".concat(e.status,": ").concat((null==t?void 0:t.message)||"Error status code from server"),new Error(n);case 2:return[4,dp(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function hp(e,t,n,r){var o,i;return a(this,void 0,void 0,(function(){var a,s,c,d,p,f,h,m,v,g;return l(this,(function(l){var y;return a=(null==n?void 0:n.path)||{},s=e,void 0!==(c=q(r.apiKey))&&(a.projectId=c,s=function(e){return e.replace("/projects/","/projects/{projectId}/")}(s)),a&&Object.entries(a).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];s=s.replace("{".concat(n,"}"),r)})),d=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"],p=void 0,d&&(p=new FormData,Object.entries(d).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];if(Array.isArray(r)){var o=void 0;return"[object File]"===Object.prototype.toString.call(r)&&(o=r.name),void r.forEach((function(e){return null==p?void 0:p.append(n,e,o)}))}null==p||p.append(n,r)}))),f=JSON.stringify(null===(i=null==n?void 0:n.content)||void 0===i?void 0:i["application/json"]),h=null==n?void 0:n.query,m="",v=pp(h),y=v,g=Object.keys(y).filter((function(e){return!!y[e]})).map((function(e){return Array.isArray(y[e])?y[e].map((function(t){return encodeURIComponent(e)+"="+encodeURIComponent(t)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(y[e])})).join("&"),g&&(m="?"+g),[2,fp(s+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var mp,vp=new Hd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,cacheTime:0,staleTime:0}}}),gp=_e.createContext({}),yp=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey;return _e.createElement(gp.Provider,{value:{apiUrl:n,apiKey:r}},_e.createElement(ip,{client:vp},t))},bp=function(e){var t=e.url,n=e.method,r=e.options,o=i(e,["url","method","options"]),a=Q.exports.useContext(gp);return cp(md([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return hp(t,n,o,a)}),r),Kd)},xp=function(e){var t=op(),n=e.url,r=e.method,i=e.options,a=e.invalidatePrefix,l=Q.exports.useContext(gp),s=up((function(e){return hp(n,r,e,l)}),i),d=function(e){return o(o({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==a&&wp(t,a),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,c([e],u(r),!1))}})},p=Q.exports.useCallback((function(e,t){return s.mutate(e,d(t))}),[s.mutate]),f=Q.exports.useCallback((function(e,t){return s.mutateAsync(e,d(t))}),[s.mutateAsync]);return o(o({},s),{mutate:p,mutateAsync:f})},wp=function(e,t){return e.invalidateQueries(function(e){return{predicate:function(t){var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}}(t))},kp=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function Sp(e,t){return Boolean(null==t?void 0:t.includes(e))}function Ep(){try{return JSON.parse(localStorage.getItem(O)||"")}catch(e){return[]}}function Cp(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,i=e.attempts,s=void 0===i?1:i,u=!1,c=function(){return new Promise((function(e,t){var i=function(e,t){var n=function(n){var r,o;e.includes(null===(r=n.data)||void 0===r?void 0:r.type)&&t(null===(o=n.data)||void 0===o?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe:function(){window.removeEventListener("message",n)}}}(r,(function(t){clearTimeout(a),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var a=setTimeout((function(){l(),t()}),300);function l(){i.unsubscribe()}}))};return{cancel:function(){return u=!0},promise:a(t,void 0,void 0,(function(){var e;return l(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<s))return[3,6];if(u)return[2,new Promise((function(){}))];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,c()];case 3:return[2,t.sent()];case 4:return t.sent(),[3,5];case 5:return e++,[3,1];case 6:if(!u)throw"Didn't recieve ".concat(r.join(" or ")," in time.");return[2,new Promise((function(){}))]}}))}))}}var Op,Pp,Rp,Tp=(mp=u((Op=function(e){var t,n,r,i,s,d,p,h,m,v,g,y,b,x=u(Q.exports.useState(),2),w=x[0],k=x[1],S=u(Q.exports.useState(!1),2),E=S[0],C=S[1],P=u(Q.exports.useState(!1),2),R=P[0],T=P[1],M=u(Q.exports.useState({}),2),_=M[0],N=M[1],A=u(Q.exports.useState(void 0),2),L=A[0],j=A[1],I=u(Q.exports.useState(!1),2),F=I[0],z=I[1],$=u(Q.exports.useState(f(e.ns)[0]),2),D=$[0],B=$[1],W=bp({url:"/v2/api-keys/current",method:"get"});Q.exports.useEffect((function(){(function(){return a(this,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Cp({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))})().then((function(e){return j(e)}))}),[]);var U=bp({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o;K((r=(null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((function(e){return e.tag})))||[],o=Ep().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5)))}}}),q=Q.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=U.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages,r=null==n?void 0:n.find((function(e){return e.base})),r?c([r],u((n||[]).filter((function(e){return e!==r}))),!1):n}),[U.data]),V=u(Q.exports.useState([]),2),H=V[0],K=V[1],G=function(t){var n=t.map((function(t){var n=u(t,2),r=n[0],o=n[1];return e.uiProps.changeTranslation({language:r,namespace:D},e.keyName,o)}));return{revert:function(){return n.forEach((function(e){return e.revert()}))}}},X=bp({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],languages:H},options:{keepPreviousData:!0,enabled:Boolean(H.length),onSuccess:function(e){var t,n,r,i,a,l={};Object.entries((null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0].translations)||{}).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];l[n]=r.text||""})),N(l),de((null===(a=null===(i=null===(r=e._embedded)||void 0===r?void 0:r.keys)||void 0===i?void 0:i[0].screenshots)||void 0===a?void 0:a.map((function(e){return o(o({},e),{justUploaded:!1})})))||[])}}}),Y=xp({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){de((function(t){return c(c([],u(t),!1),[o(o({},e),{justUploaded:!0})],!1)}))}}}),Z=xp({url:"/v2/image-upload/{ids}",method:"delete"}),J=xp({url:"/v2/projects/keys/create",method:"post"}),ee=xp({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),te=null===(r=null===(n=null===(t=X.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],ne=void 0!==(null===(i=W.data)||void 0===i?void 0:i.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(s=W.data)||void 0===s?void 0:s.projectId,"/translations/single?key=").concat(e.keyName):void 0,re=u(Q.exports.useState(void 0),2),oe=re[0],ie=re[1],ae=u(Q.exports.useState(!1),2),le=ae[0],se=ae[1],ue=u(Q.exports.useState([]),2),ce=ue[0],de=ue[1],pe=u(Q.exports.useState(null),2),fe=pe[0],he=pe[1],me=null===(d=W.data)||void 0===d?void 0:d.permittedLanguageIds,ve=function(e){return Y.mutate({content:{"multipart/form-data":{image:e}}})},ge=function(t){return a(void 0,void 0,void 0,(function(){var n,r,i,a,s,c,d,p,h,m,v;return l(this,(function(l){switch(l.label){case 0:switch(t.type){case"ON_INPUT_CHANGE":return[3,1];case"HANDLE_UPLOAD_IMAGES":return[3,2];case"HANDLE_TAKE_SCREENSHOT":return[3,4];case"HANDLE_REMOVE_SCREENSHOT":return[3,12];case"ON_SAVE":return[3,13];case"ON_CLOSE":return[3,25];case"ON_SELECTED_LANGUAGES_CHANGE":return[3,26];case"SET_CONTAINER":return[3,27];case"SET_USE_BROWSER_WINDOW":return[3,28];case"OPEN_SCREENSHOT_DETAIL":return[3,29];case"CLOSE_SCREENSHOT_DETAIL":return[3,30];case"SELECTED_NS_CHANGE":return[3,31]}return[3,32];case 1:return C(!1),z(!0),N(o(o({},_),((v={})[t.payload.key]=t.payload.value,v))),B(f(e.ns)[0]),[3,32];case 2:return[4,Promise.all(t.payload.files.map((function(e){return ve(e)})))];case 3:return l.sent(),[3,32];case 4:return T(!0),n=e.uiProps.highlight(e.keyName,D).unhighlight,r=G(Object.entries(_)).revert,[4,Zc(100)];case 5:l.sent(),c=void 0,l.label=6;case 6:return l.trys.push([6,8,9,10]),[4,Cp({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 7:return c=l.sent(),[3,10];case 8:return i=l.sent(),console.error(i),[3,32];case 9:return r(),n(),T(!1),[7];case 10:return[4,fetch(c).then((function(e){return e.blob()}))];case 11:return a=l.sent(),ve(a),[3,32];case 12:return s=t.payload.id,c=ce.find((function(e){return e.id===s})),(null==c?void 0:c.justUploaded)&&Z.mutate({path:{ids:[c.id]}}),de(ce.filter((function(e){return e.id!==s}))),[3,32];case 13:return l.trys.push([13,22,23,24]),d={},Object.entries(_).forEach((function(e){var t=u(e,2),n=t[0],r=t[1];id(n,me,q)&&(d[n]=r)})),void 0!==te?[3,15]:[4,J.mutateAsync({content:{"application/json":{name:e.keyName,translations:d,screenshotUploadedImageIds:ce.map((function(e){return e.id}))}}})];case 14:return l.sent(),[3,17];case 15:return[4,ee.mutateAsync({content:{"application/json":{name:e.keyName,translations:d,screenshotIdsToDelete:be(),screenshotUploadedImageIds:ye()}},path:{id:te.keyId}})];case 16:l.sent(),l.label=17;case 17:return G(Object.entries(d)),k([D]),X.refetch(),C(!0),le?[4,Zc(2e3)]:[3,19];case 18:return l.sent(),C(!1),[3,21];case 19:return[4,Zc(400)];case 20:l.sent(),e.onClose(),l.label=21;case 21:return[3,24];case 22:return p=l.sent(),console.error(p),[3,24];case 23:return C(!1),[7];case 24:return[3,32];case 25:return fe?he(null):(e.onClose(),se(!1),(h=ye()).length&&Z.mutate({path:{ids:h}}),de([])),[3,32];case 26:return(m=t.payload.languages).length&&(K(m),function(e){localStorage.setItem(O,JSON.stringify(e))}(m)),[3,32];case 27:return ie(t.payload),[3,32];case 28:return se(t.payload),[3,32];case 29:return he(t.payload),[3,32];case 30:return he(null),[3,32];case 31:return B(t.payload.ns),[3,32];case 32:return[2]}}))}))};Q.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&ge({type:"ON_ESCAPE"})};if(!le)return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[le]);var ye=function(){return ce.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},be=function(){var e;return(null===(e=null==te?void 0:te.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!ce.find((function(t){return t.id===e}))})))||[]};Q.exports.useEffect((function(){var t;if(e.defaultValue&&q&&H&&_){var n=q.find((function(e){return e.base}));if(n&&H.includes(n.tag)&&!F){var r=void 0!==(null==te?void 0:te.translations[n.tag]);_[n.tag]||r||N(o(o({},_),((t={})[n.tag]=e.defaultValue,t)))}}}),[q,_,H,e.defaultValue]);var xe,we,ke=null==q?void 0:q.find((function(e){return e.base})),Se=U.isFetching||X.isLoading&&!X.data||W.isFetching,Ee=ee.isLoading||J.isLoading,Ce=U.error||X.error||W.error,Oe=Y.isLoading,Pe=null===(p=W.data)||void 0===p?void 0:p.scopes,Re=Se||((null===(v=null===(m=null===(h=X.data)||void 0===h?void 0:h._embedded)||void 0===m?void 0:m.keys)||void 0===v?void 0:v.length)?!Sp("translations.edit",Pe):!Sp("keys.edit",Pe)),Te=Boolean(null===(b=null===(y=null===(g=X.data)||void 0===g?void 0:g._embedded)||void 0===y?void 0:y.keys)||void 0===b?void 0:b.length);return[{input:e.keyName,open:e.open,ns:w||e.ns,selectedNs:D,loading:Se,saving:Ee,success:E,error:Ce,availableLanguages:q,selectedLanguages:(xe=H,we=null==ke?void 0:ke.tag,we&&xe.includes(we)?c([we],u(xe.filter((function(e){return e!==we}))),!1):xe),formDisabled:Re,translations:te,translationsForm:_,container:oe,useBrowserWindow:le,pluginAvailable:L,takingScreenshot:R,screenshotsUploading:Oe,screenshots:ce,screenshotDetail:fe,linkToPlatform:ne,keyExists:Te,scopes:Pe,permittedLanguageIds:me},ge]},Pp=function(e){const t=Q.exports.createContext({[td]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[nd]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=Q.exports.useRef(e),o=Q.exports.useRef(0),[i,a]=Q.exports.useState(null);i&&(i(e),a(null));const l=Q.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{Ae.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{a((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};l.current={[td]:{v:r,n:o,l:e,u:t}}}return rd((()=>{r.current=e,o.current+=1,od((()=>{l.current[td].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),Q.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),Rp=_e.createContext(null),[function(e){var t=e.children,n=i(e,["children"]),r=u(Op(n),2),o=r[0],a=r[1],l=Q.exports.useRef(a);l.current=a;var s=Q.exports.useCallback((function(e){var t;return null===(t=l.current)||void 0===t?void 0:t.call(l,e)}),[l]);return _e.createElement(Pp.Provider,{value:o},_e.createElement(Rp.Provider,{value:s},t))},function(){return _e.useContext(Rp)},function(e){return function(e,t){const n=Q.exports.useContext(e)[td],{v:{current:r},n:{current:o},l:i}=n,a=t(r),[l,s]=Q.exports.useReducer(((e,n)=>{if(!n)return[r,a];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],a)?e:[r,a];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,a]);return Object.is(l[1],a)||s(),rd((()=>(i.add(s),()=>{i.delete(s)})),[i]),l[1]}(Pp,e)}]),3),mp[0]),Mp=mp[1],_p=mp[2];function Np(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ap(){return Ap=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ap.apply(this,arguments)}var Lp={exports:{}};function jp(){}function Ip(){}Ip.resetWarningCache=jp;function Fp(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=Fp(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function zp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Fp(e))&&(r&&(r+=" "),r+=t);return r}function $p(){return $p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$p.apply(this,arguments)}function Dp(e){return"string"==typeof e}function Bp(e,t={},n){return Dp(e)?t:$p({},t,{ownerState:$p({},t.ownerState,n)})}function Wp(e,t){return"function"==typeof e?e(t):e}function Up(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qp.apply(this,arguments)}function Vp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Hp(e,t,n={clone:!0}){const r=n.clone?qp({},e):e;return Vp(e)&&Vp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Vp(t[o])&&o in e&&Vp(e[o])?r[o]=Hp(e[o],t[o],n):r[o]=t[o])})),r}Lp.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ip,resetWarningCache:jp};return n.PropTypes=n,n}();function Kp(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."}(Lp.exports.element,()=>null).isRequired=(Lp.exports.element.isRequired,()=>null),Lp.exports.elementType;var Qp,Gp={},Xp=Symbol.for("react.element"),Yp=Symbol.for("react.portal"),Zp=Symbol.for("react.fragment"),Jp=Symbol.for("react.strict_mode"),ef=Symbol.for("react.profiler"),tf=Symbol.for("react.provider"),nf=Symbol.for("react.context"),rf=Symbol.for("react.server_context"),of=Symbol.for("react.forward_ref"),af=Symbol.for("react.suspense"),lf=Symbol.for("react.suspense_list"),sf=Symbol.for("react.memo"),uf=Symbol.for("react.lazy"),cf=Symbol.for("react.offscreen");function df(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Xp:switch(e=e.type){case Zp:case ef:case Jp:case af:case lf:return e;default:switch(e=e&&e.$$typeof){case rf:case nf:case of:case uf:case sf:case tf:return e;default:return t}}case Yp:return t}}}function pf(e){if("string"!=typeof e)throw new Error(Kp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ff(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function hf(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function mf(e,t){return Q.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function vf(e){return e&&e.ownerDocument||document}function gf(e){return vf(e).defaultView||window}function yf(e,t){"function"==typeof e?e(t):e&&(e.current=t)}Qp=Symbol.for("react.module.reference"),Gp.ContextConsumer=nf,Gp.ContextProvider=tf,Gp.Element=Xp,Gp.ForwardRef=of,Gp.Fragment=Zp,Gp.Lazy=uf,Gp.Memo=sf,Gp.Portal=Yp,Gp.Profiler=ef,Gp.StrictMode=Jp,Gp.Suspense=af,Gp.SuspenseList=lf,Gp.isAsyncMode=function(){return!1},Gp.isConcurrentMode=function(){return!1},Gp.isContextConsumer=function(e){return df(e)===nf},Gp.isContextProvider=function(e){return df(e)===tf},Gp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Xp},Gp.isForwardRef=function(e){return df(e)===of},Gp.isFragment=function(e){return df(e)===Zp},Gp.isLazy=function(e){return df(e)===uf},Gp.isMemo=function(e){return df(e)===sf},Gp.isPortal=function(e){return df(e)===Yp},Gp.isProfiler=function(e){return df(e)===ef},Gp.isStrictMode=function(e){return df(e)===Jp},Gp.isSuspense=function(e){return df(e)===af},Gp.isSuspenseList=function(e){return df(e)===lf},Gp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Zp||e===ef||e===Jp||e===af||e===lf||e===cf||"object"==typeof e&&null!==e&&(e.$$typeof===uf||e.$$typeof===sf||e.$$typeof===tf||e.$$typeof===nf||e.$$typeof===of||e.$$typeof===Qp||void 0!==e.getModuleId)},Gp.typeOf=df,function(e){e.exports=Gp}({exports:{}}),"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Lp.exports.oneOfType([Lp.exports.func,Lp.exports.object]);const bf="undefined"!=typeof window?Q.exports.useLayoutEffect:Q.exports.useEffect;let xf=0;const wf=Ne.useId;function kf(e){if(void 0!==wf){const t=wf();return null!=e?e:t}return function(e){const[t,n]=Q.exports.useState(e),r=e||t;return Q.exports.useEffect((()=>{null==t&&(xf+=1,n(`mui-${xf}`))}),[t]),r}(e)}function Sf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=Q.exports.useRef(void 0!==e),[i,a]=Q.exports.useState(t);return[o?e:i,Q.exports.useCallback((e=>{o||a(e)}),[])]}function Ef(e){const t=Q.exports.useRef(e);return bf((()=>{t.current=e})),Q.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function Cf(e,t){return Q.exports.useMemo((()=>null==e&&null==t?null:n=>{yf(e,n),yf(t,n)}),[e,t])}let Of,Pf=!0,Rf=!1;const Tf={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 Mf(e){e.metaKey||e.altKey||e.ctrlKey||(Pf=!0)}function _f(){Pf=!1}function Nf(){"hidden"===this.visibilityState&&Rf&&(Pf=!0)}function Af(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Pf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Tf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Lf(){const e=Q.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Mf,!0),t.addEventListener("mousedown",_f,!0),t.addEventListener("pointerdown",_f,!0),t.addEventListener("touchstart",_f,!0),t.addEventListener("visibilitychange",Nf,!0))}),[]),t=Q.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Af(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Rf=!0,window.clearTimeout(Of),Of=window.setTimeout((()=>{Rf=!1}),100),t.current=!1,!0)},ref:e}}function jf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function If(){return null}function Ff(e,t){const n=qp({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function zf(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}If.isRequired=If;const $f=e=>e,Df=(()=>{let e=$f;return{configure(t){e=t},generate:t=>e(t),reset(){e=$f}}})(),Bf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Wf(e,t,n="Mui"){const r=Bf[t];return r?`${n}-${r}`:`${Df.generate(e)}-${t}`}function Uf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Wf(e,t,n)})),r}function qf(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 Vf(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=zp(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=$p({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=$p({},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}($p({},o,r)),l=qf(r),s=qf(o),u=t(a),c=zp(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=$p({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=$p({},u,n,s,l);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const Hf=["elementType","externalSlotProps","ownerState"];function Kf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=Up(e,Hf),a=Wp(r,o),{props:l,internalRef:s}=Vf($p({},i,{externalSlotProps:a}));return Bp(n,$p({},l,{ref:Cf(s,Cf(null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}var Qf={exports:{}},Gf={},Xf=Q.exports,Yf=60103;if(Gf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Zf=Symbol.for;Yf=Zf("react.element"),Gf.Fragment=Zf("react.fragment")}var Jf=Xf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,eh=Object.prototype.hasOwnProperty,th={key:!0,ref:!0,__self:!0,__source:!0};function nh(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)eh.call(t,r)&&!th.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Yf,type:e,key:i,ref:a,props:o,_owner:Jf.current}}Gf.jsx=nh,Gf.jsxs=nh,function(e){e.exports=Gf}(Qf);const rh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function oh(e){const t=[],n=[];return Array.from(e.querySelectorAll(rh)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function ih(){return!0}function ah(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=oh,isEnabled:a=ih,open:l}=e,s=Q.exports.useRef(),u=Q.exports.useRef(null),c=Q.exports.useRef(null),d=Q.exports.useRef(null),p=Q.exports.useRef(null),f=Q.exports.useRef(!1),h=Q.exports.useRef(null),m=Cf(t.ref,h),v=Q.exports.useRef(null);Q.exports.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),Q.exports.useEffect((()=>{if(!l||!h.current)return;const e=vf(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),Q.exports.useEffect((()=>{if(!l||!h.current)return;const e=vf(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&a()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{v.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,a,l,i]);const g=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Qf.exports.jsxs(Q.exports.Fragment,{children:[Qf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:u,"data-testid":"sentinelStart"}),Q.exports.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Qf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:c,"data-testid":"sentinelEnd"})]})}var lh="top",sh="bottom",uh="right",ch="left",dh="auto",ph=[lh,sh,uh,ch],fh="start",hh="end",mh="viewport",vh="popper",gh=ph.reduce((function(e,t){return e.concat([t+"-"+fh,t+"-"+hh])}),[]),yh=[].concat(ph,[dh]).reduce((function(e,t){return e.concat([t,t+"-"+fh,t+"-"+hh])}),[]),bh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function xh(e){return e?(e.nodeName||"").toLowerCase():null}function wh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function kh(e){return e instanceof wh(e).Element||e instanceof Element}function Sh(e){return e instanceof wh(e).HTMLElement||e instanceof HTMLElement}function Eh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof wh(e).ShadowRoot||e instanceof ShadowRoot)}var Ch={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];Sh(o)&&xh(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}),{});Sh(r)&&xh(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Oh(e){return e.split("-")[0]}var Ph=Math.max,Rh=Math.min,Th=Math.round;function Mh(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function _h(){return!/^((?!chrome|android).)*safari/i.test(Mh())}function Nh(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Sh(e)&&(o=e.offsetWidth>0&&Th(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Th(r.height)/e.offsetHeight||1);var a=(kh(e)?wh(e):window).visualViewport,l=!_h()&&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 Ah(e){var t=Nh(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 Lh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Eh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function jh(e){return wh(e).getComputedStyle(e)}function Ih(e){return["table","td","th"].indexOf(xh(e))>=0}function Fh(e){return((kh(e)?e.ownerDocument:e.document)||window.document).documentElement}function zh(e){return"html"===xh(e)?e:e.assignedSlot||e.parentNode||(Eh(e)?e.host:null)||Fh(e)}function $h(e){return Sh(e)&&"fixed"!==jh(e).position?e.offsetParent:null}function Dh(e){for(var t=wh(e),n=$h(e);n&&Ih(n)&&"static"===jh(n).position;)n=$h(n);return n&&("html"===xh(n)||"body"===xh(n)&&"static"===jh(n).position)?t:n||function(e){var t=/firefox/i.test(Mh());if(/Trident/i.test(Mh())&&Sh(e)&&"fixed"===jh(e).position)return null;var n=zh(e);for(Eh(n)&&(n=n.host);Sh(n)&&["html","body"].indexOf(xh(n))<0;){var r=jh(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 Bh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wh(e,t,n){return Ph(e,Rh(t,n))}function Uh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qh(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Vh={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=Oh(n.placement),s=Bh(l),u=[ch,uh].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Uh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qh(e,ph))}(o.padding,n),d=Ah(i),p="y"===s?lh:ch,f="y"===s?sh:uh,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=Dh(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[p],x=g-d[u]-c[f],w=g/2-d[u]/2+y,k=Wh(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,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)))&&Lh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hh(e){return e.split("-")[1]}var Kh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qh(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,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=ch,x=lh,w=window;if(u){var k=Dh(n),S="clientHeight",E="clientWidth";if(k===wh(n)&&"static"!==jh(k=Fh(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===lh||(o===ch||o===uh)&&i===hh)x=sh,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===ch||(o===lh||o===sh)&&i===hh)b=uh,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,f*=s?1:-1}var C,O=Object.assign({position:l},u&&Kh),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Th(t*r)/r||0,y:Th(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=P.x,m=P.y,s?Object.assign({},O,((C={})[x]=y?"0":"",C[b]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Gh={passive:!0};var Xh={left:"right",right:"left",bottom:"top",top:"bottom"};function Yh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Xh[e]}))}var Zh={start:"end",end:"start"};function Jh(e){return e.replace(/start|end/g,(function(e){return Zh[e]}))}function em(e){var t=wh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tm(e){return Nh(Fh(e)).left+em(e).scrollLeft}function nm(e){var t=jh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function rm(e){return["html","body","#document"].indexOf(xh(e))>=0?e.ownerDocument.body:Sh(e)&&nm(e)?e:rm(zh(e))}function om(e,t){var n;void 0===t&&(t=[]);var r=rm(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=wh(r),a=o?[i].concat(i.visualViewport||[],nm(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(om(zh(a)))}function im(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function am(e,t,n){return t===mh?im(function(e,t){var n=wh(e),r=Fh(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=_h();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+tm(e),y:s}}(e,n)):kh(t)?function(e,t){var n=Nh(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):im(function(e){var t,n=Fh(e),r=em(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Ph(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ph(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+tm(e),s=-r.scrollTop;return"rtl"===jh(o||n).direction&&(l+=Ph(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Fh(e)))}function lm(e,t,n,r){var o="clippingParents"===t?function(e){var t=om(zh(e)),n=["absolute","fixed"].indexOf(jh(e).position)>=0&&Sh(e)?Dh(e):e;return kh(n)?t.filter((function(e){return kh(e)&&Lh(e,n)&&"body"!==xh(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=am(e,n,r);return t.top=Ph(o.top,t.top),t.right=Rh(o.right,t.right),t.bottom=Rh(o.bottom,t.bottom),t.left=Ph(o.left,t.left),t}),am(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 sm(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Oh(o):null,a=o?Hh(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case lh:t={x:l,y:n.y-r.height};break;case sh:t={x:l,y:n.y+n.height};break;case uh:t={x:n.x+n.width,y:s};break;case ch:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Bh(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case fh:t[u]=t[u]-(n[c]/2-r[c]/2);break;case hh:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function um(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?mh:u,d=n.elementContext,p=void 0===d?vh:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Uh("number"!=typeof v?v:qh(v,ph)),y=p===vh?"reference":vh,b=e.rects.popper,x=e.elements[h?y:p],w=lm(kh(x)?x:x.contextElement||Fh(e.elements.popper),s,c,a),k=Nh(e.elements.reference),S=sm({reference:k,element:b,strategy:"absolute",placement:o}),E=im(Object.assign({},b,S)),C=p===vh?E:k,O={top:w.top-C.top+g.top,bottom:C.bottom-w.bottom+g.bottom,left:w.left-C.left+g.left,right:C.right-w.right+g.right},P=e.modifiersData.offset;if(p===vh&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[uh,sh].indexOf(e)>=0?1:-1,n=[lh,sh].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function cm(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?yh:s,c=Hh(r),d=c?l?gh:gh.filter((function(e){return Hh(e)===c})):ph,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=um(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Oh(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var dm={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,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=Oh(v),y=s||(g===v||!h?[Yh(v)]:function(e){if(Oh(e)===dh)return[];var t=Yh(e);return[Jh(e),t,Jh(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(Oh(n)===dh?cm(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],P=Oh(O),R=Hh(O)===fh,T=[lh,sh].indexOf(P)>=0,M=T?"width":"height",_=um(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),N=T?R?uh:ch:R?sh:lh;x[M]>w[M]&&(N=Yh(N));var A=Yh(N),L=[];if(i&&L.push(_[P]<=0),l&&L.push(_[N]<=0,_[A]<=0),L.every((function(e){return e}))){E=O,S=!1;break}k.set(O,L)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},I=h?3:1;I>0;I--){if("break"===j(I))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pm(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 fm(e){return[lh,uh,sh,ch].some((function(t){return e[t]>=0}))}var hm={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=yh.reduce((function(e,n){return e[n]=function(e,t,n){var r=Oh(e),o=[ch,lh].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,[ch,uh].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 mm={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,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=um(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=Oh(t.placement),y=Hh(t.placement),b=!y,x=Bh(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(i){var T,M="y"===x?lh:ch,_="y"===x?sh:uh,N="y"===x?"height":"width",A=k[x],L=A+v[M],j=A-v[_],I=f?-E[N]/2:0,F=y===fh?S[N]:E[N],z=y===fh?-E[N]:-S[N],$=t.elements.arrow,D=f&&$?Ah($):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[M],U=B[_],q=Wh(0,S[N],D[N]),V=b?S[N]/2-I-q-W-O.mainAxis:F-q-W-O.mainAxis,H=b?-S[N]/2+I+q+U+O.mainAxis:z+q+U+O.mainAxis,K=t.elements.arrow&&Dh(t.elements.arrow),Q=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(T=null==P?void 0:P[x])?T:0,X=A+H-G,Y=Wh(f?Rh(L,A+V-G-Q):L,A,f?Ph(j,X):j);k[x]=Y,R[x]=Y-A}if(l){var Z,J="x"===x?lh:ch,ee="x"===x?sh:uh,te=k[w],ne="y"===w?"height":"width",re=te+v[J],oe=te-v[ee],ie=-1!==[lh,ch].indexOf(g),ae=null!=(Z=null==P?void 0:P[w])?Z:0,le=ie?re:te-S[ne]-E[ne]-ae+O.altAxis,se=ie?te+S[ne]+E[ne]-ae-O.altAxis:oe,ue=f&&ie?function(e,t,n){var r=Wh(e,t,n);return r>n?n:r}(le,te,se):Wh(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function vm(e,t,n){void 0===n&&(n=!1);var r,o,i=Sh(t),a=Sh(t)&&function(e){var t=e.getBoundingClientRect(),n=Th(t.width)/e.offsetWidth||1,r=Th(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=Fh(t),s=Nh(e,a,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&(("body"!==xh(t)||nm(l))&&(u=(r=t)!==wh(r)&&Sh(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:em(r)),Sh(t)?((c=Nh(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=tm(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function gm(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}var ym={placement:"bottom",modifiers:[],strategy:"absolute"};function bm(){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 xm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ym:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},ym,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:kh(e)?om(e):e.contextElement?om(e.contextElement):[],popper:om(t)};var a,u,p=function(e){var t=gm(e);return bh.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.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(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:c,options:r}),a=function(){};s.push(i||a)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(bm(t,n)){l.rects={reference:vm(t,Dh(n),"fixed"===l.options.strategy),popper:Ah(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!bm(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var wm=xm({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=wh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Gh)})),l&&s.addEventListener("resize",n.update,Gh),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Gh)})),l&&s.removeEventListener("resize",n.update,Gh)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=sm({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",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:Oh(t.placement),variation:Hh(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,Qh(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,Qh(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:{}},Ch,hm,dm,mm,Vh,{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=um(t,{elementContext:"reference"}),l=um(t,{altBoundary:!0}),s=pm(a,r),u=pm(l,o,i),c=fm(s),d=fm(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})}}]});var km=Q.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=Q.exports.useState(null),l=Cf(Q.exports.isValidElement(n)?n.ref:null,t);return bf((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bf((()=>{if(i&&!o)return yf(t,i),()=>{yf(t,null)}}),[t,i,o]),o?Q.exports.isValidElement(n)?Q.exports.cloneElement(n,{ref:l}):n:Qf.exports.jsx(Q.exports.Fragment,{children:i?Ae.exports.createPortal(n,i):i})}));function Sm(e){return Wf("MuiPopperUnstyled",e)}Uf("MuiPopperUnstyled",["root"]);const Em=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Cm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Om(e){return"function"==typeof e?e():e}const Pm={},Rm=Q.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:i,components:a={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:h,popperRef:m,TransitionProps:v}=e,g=Up(e,Em),y=Q.exports.useRef(null),b=Cf(y,t),x=Q.exports.useRef(null),w=Cf(x,m),k=Q.exports.useRef(w);bf((()=>{k.current=w}),[w]),Q.exports.useImperativeHandle(m,(()=>x.current),[]);const S=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}}(f,s),[E,C]=Q.exports.useState(S);Q.exports.useEffect((()=>{x.current&&x.current.forceUpdate()})),bf((()=>{if(!r||!d)return;Om(r);let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=c&&(e=e.concat(c)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=wm(Om(r),y.current,$p({placement:S},h,{modifiers:e}));return k.current(t),()=>{t.destroy(),k.current(null)}}),[r,u,c,d,h,S]);const O={placement:E};null!==v&&(O.TransitionProps=v);const P=zf({root:["root"]},Sm,{}),R=null!=(n=null!=i?i:a.Root)?n:"div",T=Kf({elementType:R,externalSlotProps:l.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:b},ownerState:$p({},e,p),className:P.root});return Qf.exports.jsx(R,$p({},T,{children:"function"==typeof o?o(O):o}))})),Tm=Q.exports.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=Pm,popperRef:p,style:f,transition:h=!1}=e,m=Up(e,Cm),[v,g]=Q.exports.useState(!0);if(!l&&!u&&(!h||v))return null;const y=o||(n?vf(Om(n)).body:void 0);return Qf.exports.jsx(km,{disablePortal:a,container:y,children:Qf.exports.jsx(Rm,$p({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:h?!v:u,placement:c,popperOptions:d,popperRef:p},m,{style:$p({position:"fixed",top:0,left:0,display:u||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:u,onEnter:()=>{g(!1)},onExited:()=>{g(!0)}}:null,children:r}))})}));var Mm=Tm;function _m(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Nm(e){return parseInt(gf(e).getComputedStyle(e).paddingRight,10)||0}function Am(e,t,n,r=[],o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&_m(e,o)}))}function Lm(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function jm(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=vf(e);return t.body===e?gf(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jf(vf(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Nm(r)+e}px`;const t=vf(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Nm(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=vf(r).body;else{const t=r.parentElement,n=gf(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function Im(e){return Wf("MuiModal",e)}Uf("MuiModal",["root","hidden"]);const Fm=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const zm=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&_m(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Am(t,e.mount,e.modalRef,r,!0);const o=Lm(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Lm(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=jm(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Lm(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&_m(e.modalRef,t),Am(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&_m(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var $m=Q.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:i=!1,component:a="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:m=!1,hideBackdrop:v=!1,keepMounted:g=!1,manager:y=zm,onBackdropClick:b,onClose:x,onKeyDown:w,open:k,onTransitionEnter:S,onTransitionExited:E}=e,C=Up(e,Fm),[O,P]=Q.exports.useState(!0),R=Q.exports.useRef({}),T=Q.exports.useRef(null),M=Q.exports.useRef(null),_=Cf(M,t),N=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),A=null==(n=e["aria-hidden"])||n,L=()=>(R.current.modalRef=M.current,R.current.mountNode=T.current,R.current),j=()=>{y.mount(L(),{disableScrollLock:m}),M.current.scrollTop=0},I=Ef((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||vf(T.current).body;y.add(L(),e),M.current&&j()})),F=Q.exports.useCallback((()=>y.isTopModal(L())),[y]),z=Ef((e=>{T.current=e,e&&(k&&F()?j():_m(M.current,A))})),$=Q.exports.useCallback((()=>{y.remove(L(),A)}),[y,A]);Q.exports.useEffect((()=>()=>{$()}),[$]),Q.exports.useEffect((()=>{k?I():N&&i||$()}),[k,$,N,i,I]);const D=$p({},e,{classes:o,closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:m,exited:O,hideBackdrop:v,keepMounted:g}),B=(e=>{const{open:t,exited:n,classes:r}=e;return zf({root:["root",!t&&n&&"hidden"]},Im,r)})(D),W=()=>{P(!1),S&&S()},U=()=>{P(!0),E&&E(),i&&$()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),N&&(q.onEnter=ff(W,r.props.onEnter),q.onExited=ff(U,r.props.onExited));const V=l.Root||a,H=Kf({elementType:V,externalSlotProps:s.root,externalForwardedProps:C,additionalProps:{ref:_,role:"presentation",onKeyDown:e=>{w&&w(e),"Escape"===e.key&&F()&&(p||(e.stopPropagation(),x&&x(e,"escapeKeyDown")))}},className:B.root,ownerState:D}),K=l.Backdrop,G=Kf({elementType:K,externalSlotProps:s.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(b&&b(e),x&&x(e,"backdropClick"))},open:k},ownerState:D});return g||k||N&&!O?Qf.exports.jsx(km,{ref:z,container:u,disablePortal:f,children:Qf.exports.jsxs(V,$p({},H,{children:[!v&&K?Qf.exports.jsx(K,$p({},G)):null,Qf.exports.jsx(ah,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:F,open:k,children:Q.exports.cloneElement(r,q)})]}))}):null}));const Dm=["onChange","maxRows","minRows","style","value"];function Bm(e,t){return parseInt(e[t],10)||0}const Wm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Um(e){return null==e||0===Object.keys(e).length}const qm=Q.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=Up(e,Dm),{current:s}=Q.exports.useRef(null!=a),u=Q.exports.useRef(null),c=Cf(t,u),d=Q.exports.useRef(null),p=Q.exports.useRef(0),[f,h]=Q.exports.useState({}),m=Q.exports.useCallback((()=>{const t=u.current,n=gf(t).getComputedStyle(t);if("0px"===n.width)return{};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n["box-sizing"],l=Bm(n,"padding-bottom")+Bm(n,"padding-top"),s=Bm(n,"border-bottom-width")+Bm(n,"border-top-width"),c=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),v=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},g=Q.exports.useCallback((()=>{const e=m();Um(e)||h((t=>v(t,e)))}),[m]);Q.exports.useEffect((()=>{const e=hf((()=>{p.current=0,u.current&&(()=>{const e=m();Um(e)||Ae.exports.flushSync((()=>{h((t=>v(t,e)))}))})()})),t=gf(u.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(u.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),bf((()=>{g()})),Q.exports.useEffect((()=>{p.current=0}),[a]);return Qf.exports.jsxs(Q.exports.Fragment,{children:[Qf.exports.jsx("textarea",$p({value:a,onChange:e=>{p.current=0,s||g(),n&&n(e)},ref:c,rows:o,style:$p({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},i)},l)),Qf.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:$p({},Wm,i,{padding:0})})]})}));var Vm=qm;function Hm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}!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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var Km=/^((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|download|draggable|encType|enterKeyHint|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)-.*))$/,Qm=Hm((function(e){return Km.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gm(){return Gm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gm.apply(this,arguments)}var Xm=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){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ym={exports:{}};!function(e,t){!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",i="rule",a="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",v="@font-face",g="@counter-style",y="@font-feature-values",b=Math.abs,x=String.fromCharCode,w=Object.assign;function k(e,t){return(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3)}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function P(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function T(e){return e.length}function M(e){return e.length}function _(e,t){return t.push(e),e}function N(e,t){return e.map(t).join("")}function A(t,n,r,o,i,a,l){return{value:t,root:n,parent:r,type:o,props:i,children:a,line:e.line,column:e.column,length:l,return:""}}function L(e,t){return w(A("",null,null,"",null,null,0),e,{length:-e.length},t)}function j(){return e.character}function I(){return e.character=e.position>0?P(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function F(){return e.character=e.position<e.length?P(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function z(){return P(e.characters,e.position)}function $(){return e.position}function D(t,n){return R(e.characters,t,n)}function B(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 W(t){return e.line=e.column=1,e.length=T(e.characters=t),e.position=0,[]}function U(t){return e.characters="",t}function q(t){return S(D(e.position-1,G(91===t?t+2:40===t?t+1:t)))}function V(e){return U(K(W(e)))}function H(t){for(;(e.character=z())&&e.character<33;)F();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;F();)switch(B(e.character)){case 0:_(Y(e.position-1),t);break;case 2:_(q(e.character),t);break;default:_(x(e.character),t)}return t}function Q(t,n){for(;--n&&F()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,$()+(n<6&&32==z()&&32==F()))}function G(t){for(;F();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&G(e.character);break;case 40:41===t&&G(t);break;case 92:F()}return e.position}function X(t,n){for(;F()&&t+e.character!==57&&(t+e.character!==84||47!==z()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:F())}function Y(t){for(;!B(z());)F();return D(t,e.position)}function Z(e){return U(J("",null,null,null,[""],e=W(e),0,[0],e))}function J(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,k=i,S=r,E=b;v;)switch(h=y,y=F()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(q(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=q(y);break;case 9:case 10:case 13:case 32:E+=H(h);break;case 92:E+=Q($()-1,7);continue;case 47:switch(z()){case 42:case 47:_(te(X(F(),$()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:f>0&&T(E)-d&&_(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(_(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),i),123===y)if(0===c)J(E,t,S,S,w,i,d,l,k);else switch(p){case 100:case 109:case 115:J(e,S,S,r&&_(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:J(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=g=1,b=E="",d=a;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==I())continue;switch(E+=x(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*g,g=1;break;case 64:45===z()&&(E+=q(F())),p=z(),c=d=T(b=E+=Y($())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return i}function ee(e,t,n,r,o,a,l,s,u,c,d){for(var p=o-1,f=0===o?a:[""],h=M(f),m=0,v=0,g=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(v=l[m])),w=e;y<h;++y)(w=S(v>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[g++]=w);return A(e,t,n,0===o?i:s,u,c,d)}function te(e,t,n){return A(e,t,n,o,x(j()),R(e,2,-2),0)}function ne(e,t,n,r){return A(e,t,n,a,R(e,0,r),R(e,r+1,-1),r)}function re(e,o){switch(k(e,o)){case 5103:return r+"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 r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 6828:case 4268:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+C(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return r+e+t+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return r+e+t+C(e,"shrink","negative")+e;case 5292:return r+e+t+C(e,"basis","preferred-size")+e;case 6060:return r+"box-"+C(e,"-grow","")+r+e+t+C(e,"grow","positive")+e;case 4554:return r+C(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,r+"$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(T(e)-1-o>6)switch(P(e,o+1)){case 109:if(45!==P(e,o+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==P(e,o+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?re(C(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(115!==P(e,o+1))break;case 6444:switch(P(e,T(e)-3-(~O(e,"!important")&&10))){case 107:return C(e,":",":"+r)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r+(45===P(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(P(e,o+11)){case 114:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r+e+t+e+e}return e}function oe(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ie(e,t,n,r){switch(e.type){case u:case a:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case i:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ae(e){var t=M(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function le(e){return function(t){t.root||(t=t.return)&&e(t)}}function se(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case a:e.return=re(e.value,e.length);break;case m:return oe([L(e,{value:C(e.value,"@","@"+r)})],s);case i:if(e.length)return N(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([L(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([L(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),L(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),L(e,{props:[C(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ue(e){e.type===i&&(e.props=e.props.map((function(t){return N(V(t),(function(t,n,r){switch(P(t,0)){case 12:return R(t,1,T(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+R(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,M(r)>1?"":t;case n=M(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=g,e.DECLARATION=a,e.DOCUMENT=f,e.FONT_FACE=v,e.FONT_FEATURE_VALUES=y,e.IMPORT=u,e.KEYFRAMES=m,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=i,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=W,e.append=_,e.assign=w,e.caret=$,e.char=j,e.charat=P,e.combine=N,e.comment=te,e.commenter=X,e.compile=Z,e.copy=L,e.dealloc=U,e.declaration=ne,e.delimit=q,e.delimiter=G,e.escaping=Q,e.from=x,e.hash=k,e.identifier=Y,e.indexof=O,e.match=E,e.middleware=ae,e.namespace=ue,e.next=F,e.node=A,e.parse=J,e.peek=z,e.prefix=re,e.prefixer=se,e.prev=I,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ie,e.strlen=T,e.substr=R,e.token=B,e.tokenize=V,e.tokenizer=K,e.trim=S,e.whitespace=H,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Ym.exports);var Zm,Jm,ev=function(e,t,n){for(var r=0,o=0;r=o,o=Ym.exports.peek(),38===r&&12===o&&(t[n]=1),!Ym.exports.token(o);)Ym.exports.next();return Ym.exports.slice(e,Ym.exports.position)},tv=function(e,t){return Ym.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(Ym.exports.token(r)){case 0:38===r&&12===Ym.exports.peek()&&(t[n]=1),e[n]+=ev(Ym.exports.position-1,t,n);break;case 2:e[n]+=Ym.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===Ym.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ym.exports.from(r)}}while(r=Ym.exports.next());return e}(Ym.exports.alloc(e),t))},nv=new WeakMap,rv=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)||nv.get(n))&&!r){nv.set(e,!0);for(var o=[],i=tv(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]}}},ov=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},iv="undefined"!=typeof document,av=iv?void 0:(Zm=function(){return Hm((function(){var e={};return function(t){return e[t]}}))},Jm=new WeakMap,function(e){if(Jm.has(e))return Jm.get(e);var t=Zm(e);return Jm.set(e,t),t}),lv=[Ym.exports.prefixer],sv=function(e){var t=e.key;if(iv&&"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||lv,a={},l=[];iv&&(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=[rv,ov];if(iv){var u,c=[Ym.exports.stringify,Ym.exports.rulesheet((function(e){u.insert(e)}))],d=Ym.exports.middleware(s.concat(i,c));o=function(e,t,n,r){u=n,function(e){Ym.exports.serialize(Ym.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var p=[Ym.exports.stringify],f=Ym.exports.middleware(s.concat(i,p)),h=av(i)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Ym.exports.serialize(Ym.exports.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};o=function(e,t,n,r){var o=t.name,i=m(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new Xm({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 v.sheet.hydrate(l),v},uv={exports:{}},cv={},dv="function"==typeof Symbol&&Symbol.for,pv=dv?Symbol.for("react.element"):60103,fv=dv?Symbol.for("react.portal"):60106,hv=dv?Symbol.for("react.fragment"):60107,mv=dv?Symbol.for("react.strict_mode"):60108,vv=dv?Symbol.for("react.profiler"):60114,gv=dv?Symbol.for("react.provider"):60109,yv=dv?Symbol.for("react.context"):60110,bv=dv?Symbol.for("react.async_mode"):60111,xv=dv?Symbol.for("react.concurrent_mode"):60111,wv=dv?Symbol.for("react.forward_ref"):60112,kv=dv?Symbol.for("react.suspense"):60113,Sv=dv?Symbol.for("react.suspense_list"):60120,Ev=dv?Symbol.for("react.memo"):60115,Cv=dv?Symbol.for("react.lazy"):60116,Ov=dv?Symbol.for("react.block"):60121,Pv=dv?Symbol.for("react.fundamental"):60117,Rv=dv?Symbol.for("react.responder"):60118,Tv=dv?Symbol.for("react.scope"):60119;function Mv(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case pv:switch(e=e.type){case bv:case xv:case hv:case vv:case mv:case kv:return e;default:switch(e=e&&e.$$typeof){case yv:case wv:case Cv:case Ev:case gv:return e;default:return t}}case fv:return t}}}function _v(e){return Mv(e)===xv}cv.AsyncMode=bv,cv.ConcurrentMode=xv,cv.ContextConsumer=yv,cv.ContextProvider=gv,cv.Element=pv,cv.ForwardRef=wv,cv.Fragment=hv,cv.Lazy=Cv,cv.Memo=Ev,cv.Portal=fv,cv.Profiler=vv,cv.StrictMode=mv,cv.Suspense=kv,cv.isAsyncMode=function(e){return _v(e)||Mv(e)===bv},cv.isConcurrentMode=_v,cv.isContextConsumer=function(e){return Mv(e)===yv},cv.isContextProvider=function(e){return Mv(e)===gv},cv.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===pv},cv.isForwardRef=function(e){return Mv(e)===wv},cv.isFragment=function(e){return Mv(e)===hv},cv.isLazy=function(e){return Mv(e)===Cv},cv.isMemo=function(e){return Mv(e)===Ev},cv.isPortal=function(e){return Mv(e)===fv},cv.isProfiler=function(e){return Mv(e)===vv},cv.isStrictMode=function(e){return Mv(e)===mv},cv.isSuspense=function(e){return Mv(e)===kv},cv.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===hv||e===xv||e===vv||e===mv||e===kv||e===Sv||"object"==typeof e&&null!==e&&(e.$$typeof===Cv||e.$$typeof===Ev||e.$$typeof===gv||e.$$typeof===yv||e.$$typeof===wv||e.$$typeof===Pv||e.$$typeof===Rv||e.$$typeof===Tv||e.$$typeof===Ov)},cv.typeOf=Mv,function(e){e.exports=cv}(uv);var Nv=uv.exports,Av={};Av[Nv.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Av[Nv.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Lv="undefined"!=typeof document;function jv(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Iv=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Lv&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Fv=function(e,t,n){Iv(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);Lv||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Lv&&0!==o.length)return o}};var zv={animationIterationCount: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,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},$v=/[A-Z]|^ms/g,Dv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bv=function(e){return 45===e.charCodeAt(1)},Wv=function(e){return null!=e&&"boolean"!=typeof e},Uv=Hm((function(e){return Bv(e)?e:e.replace($v,"-$&").toLowerCase()})),qv=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Dv,(function(e,t,n){return Hv={name:t,styles:n,next:Hv},t}))}return 1===zv[e]||Bv(e)||"number"!=typeof t||0===t?t:t+"px"};function Vv(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Hv={name:n.name,styles:n.styles,next:Hv},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Hv={name:r.name,styles:r.styles,next:Hv},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Vv(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Wv(a)&&(r+=Uv(i)+":"+qv(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Vv(e,t,a);switch(i){case"animation":case"animationName":r+=Uv(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)Wv(a[s])&&(r+=Uv(i)+":"+qv(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Hv,i=n(e);return Hv=o,Vv(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Hv,Kv=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Qv=function(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="";Hv=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Vv(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Vv(n,t,e[a]),r&&(o+=i[a]);Kv.lastIndex=0;for(var l,s="";null!==(l=Kv.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:Hv}},Gv={exports:{}},Xv={};Object.defineProperty(Xv,"__esModule",{value:!0});var Yv=Q.exports;function Zv(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var Jv=Zv(Yv),eg="undefined"!=typeof document,tg=function(e){return e()},ng=!!Jv.useInsertionEffect&&Jv.useInsertionEffect,rg=eg&&ng||tg,og=ng||Yv.useLayoutEffect;Xv.useInsertionEffectAlwaysWithSyncFallback=rg,Xv.useInsertionEffectWithLayoutFallback=og,function(e){e.exports=Xv}(Gv);var ig="undefined"!=typeof document,ag=Q.exports.createContext("undefined"!=typeof HTMLElement?sv({key:"css"}):null),lg=ag.Provider,sg=function(e){return Q.exports.forwardRef((function(t,n){var r=Q.exports.useContext(ag);return e(t,r,n)}))};ig||(sg=function(e){return function(t){var n=Q.exports.useContext(ag);return null===n?(n=sv({key:"css"}),Q.exports.createElement(ag.Provider,{value:n},e(t,n))):e(t,n)}});var ug=Q.exports.createContext({});!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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var cg=sg((function(e,t){var n=e.styles,r=Qv([n],void 0,Q.exports.useContext(ug));if(!ig){for(var o,i=r.name,a=r.styles,l=r.next;void 0!==l;)i+=" "+l.name,a+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:i,styles:a},t.sheet,s);return s?null:Q.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=Q.exports.useRef();return Gv.exports.useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,o],function(){n.flush()}}),[t]),Gv.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Fv(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function dg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qv(t)}var pg=function(){var e=dg.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_"}}},fg={exports:{}},hg={};Object.defineProperty(hg,"__esModule",{value:!0});var mg=Q.exports;function vg(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var gg=vg(mg),yg="undefined"!=typeof document,bg=function(e){return e()},xg=!!gg.useInsertionEffect&&gg.useInsertionEffect,wg=yg&&xg||bg,kg=xg||mg.useLayoutEffect;hg.useInsertionEffectAlwaysWithSyncFallback=wg,hg.useInsertionEffectWithLayoutFallback=kg,function(e){e.exports=hg}(fg);var Sg=Qm,Eg=function(e){return"theme"!==e},Cg=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Sg:Eg},Og=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},Pg="undefined"!=typeof document,Rg=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Iv(t,n,r);var o=fg.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return Fv(t,n,r)}));if(!Pg&&void 0!==o){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return Q.exports.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Tg=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=Og(t,n,i),s=l||Cg(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{d.push(c[0][0]);for(var p=c.length,f=1;f<p;f++)d.push(c[f],c[0][f])}var h=sg((function(e,t,n){var r=u&&e.as||a,i="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=Q.exports.useContext(ug)}"string"==typeof e.className?i=jv(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Qv(d.concat(c),t.registered,p);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===l?Cg(r):s,v={};for(var g in e)u&&"as"===g||m(g)&&(v[g]=e[g]);return v.className=i,v.ref=n,Q.exports.createElement(Q.exports.Fragment,null,Q.exports.createElement(Rg,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Q.exports.createElement(r,v))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Gm({},n,r,{shouldForwardProp:Og(h,r,!0)})).apply(void 0,d)},h}}.bind();["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){Tg[e]=Tg(e)}));var Mg=Tg;function _g(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 Qf.exports.jsx(cg,{styles:r})}
|
|
38
|
+
/** @license MUI v5.10.8
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/function Ng(e,t){return Mg(e,t)}function Ag(){return Ag=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ag.apply(this,arguments)}function Lg(e,t){return t?Hp(e,t,{clone:!1}):e}const jg={xs:0,sm:600,md:900,lg:1200,xl:1536},Ig={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jg[e]}px)`};function Fg(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Ig;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Ig;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||jg).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function zg(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function $g(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Dg({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 Bg(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 Wg(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Bg(e,n)||r,t&&(o=t(o)),o}function Ug(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=Bg(e.theme,r)||{};return Fg(e,i,(e=>{let r=Wg(a,o,e);return e===r&&"string"==typeof e&&(r=Wg(a,o,`${t}${"default"===e?"":pf(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}function qg(...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]?Lg(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}const Vg={m:"margin",p:"padding"},Hg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Kg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Qg=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Kg[e])return[e];e=Kg[e]}const[t,n]=e.split(""),r=Vg[t],o=Hg[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Gg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Xg(e,t,n,r){var o;const i=null!=(o=Bg(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 Yg(e){return Xg(e,"spacing",8)}function Zg(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 Jg(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Zg(t,n),e)),{})}(Qg(n),r);return Fg(e,e[n],o)}function ey(e){return function(e,t){const n=Yg(e.theme);return Object.keys(e).map((r=>Jg(e,t,r,n))).reduce(Lg,{})}(e,Gg)}function ty(e){return"number"!=typeof e?e:`${e}px solid`}ey.propTypes={},ey.filterProps=Gg;const ny=Ug({prop:"border",themeKey:"borders",transform:ty}),ry=Ug({prop:"borderTop",themeKey:"borders",transform:ty}),oy=Ug({prop:"borderRight",themeKey:"borders",transform:ty}),iy=Ug({prop:"borderBottom",themeKey:"borders",transform:ty}),ay=Ug({prop:"borderLeft",themeKey:"borders",transform:ty}),ly=Ug({prop:"borderColor",themeKey:"palette"}),sy=Ug({prop:"borderTopColor",themeKey:"palette"}),uy=Ug({prop:"borderRightColor",themeKey:"palette"}),cy=Ug({prop:"borderBottomColor",themeKey:"palette"}),dy=Ug({prop:"borderLeftColor",themeKey:"palette"}),py=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xg(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Zg(t,e)});return Fg(e,e.borderRadius,n)}return null};py.propTypes={},py.filterProps=["borderRadius"];const fy=qg(ny,ry,oy,iy,ay,ly,sy,uy,cy,dy,py);var hy=qg(Ug({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),Ug({prop:"display"}),Ug({prop:"overflow"}),Ug({prop:"textOverflow"}),Ug({prop:"visibility"}),Ug({prop:"whiteSpace"}));const my=qg(Ug({prop:"flexBasis"}),Ug({prop:"flexDirection"}),Ug({prop:"flexWrap"}),Ug({prop:"justifyContent"}),Ug({prop:"alignItems"}),Ug({prop:"alignContent"}),Ug({prop:"order"}),Ug({prop:"flex"}),Ug({prop:"flexGrow"}),Ug({prop:"flexShrink"}),Ug({prop:"alignSelf"}),Ug({prop:"justifyItems"}),Ug({prop:"justifySelf"})),vy=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xg(e.theme,"spacing",8),n=e=>({gap:Zg(t,e)});return Fg(e,e.gap,n)}return null};vy.propTypes={},vy.filterProps=["gap"];const gy=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xg(e.theme,"spacing",8),n=e=>({columnGap:Zg(t,e)});return Fg(e,e.columnGap,n)}return null};gy.propTypes={},gy.filterProps=["columnGap"];const yy=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xg(e.theme,"spacing",8),n=e=>({rowGap:Zg(t,e)});return Fg(e,e.rowGap,n)}return null};yy.propTypes={},yy.filterProps=["rowGap"];const by=qg(vy,gy,yy,Ug({prop:"gridColumn"}),Ug({prop:"gridRow"}),Ug({prop:"gridAutoFlow"}),Ug({prop:"gridAutoColumns"}),Ug({prop:"gridAutoRows"}),Ug({prop:"gridTemplateColumns"}),Ug({prop:"gridTemplateRows"}),Ug({prop:"gridTemplateAreas"}),Ug({prop:"gridArea"})),xy=qg(Ug({prop:"color",themeKey:"palette"}),Ug({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Ug({prop:"backgroundColor",themeKey:"palette"}));var wy=qg(Ug({prop:"position"}),Ug({prop:"zIndex",themeKey:"zIndex"}),Ug({prop:"top"}),Ug({prop:"right"}),Ug({prop:"bottom"}),Ug({prop:"left"}));const ky=Ug({prop:"boxShadow",themeKey:"shadows"});function Sy(e){return e<=1&&0!==e?100*e+"%":e}const Ey=Ug({prop:"width",transform:Sy}),Cy=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||jg[t]||Sy(t)}};return Fg(e,e.maxWidth,t)}return null};Cy.filterProps=["maxWidth"];const Oy=Ug({prop:"minWidth",transform:Sy}),Py=Ug({prop:"height",transform:Sy}),Ry=Ug({prop:"maxHeight",transform:Sy}),Ty=Ug({prop:"minHeight",transform:Sy});Ug({prop:"size",cssProperty:"width",transform:Sy}),Ug({prop:"size",cssProperty:"height",transform:Sy});const My=qg(Ey,Cy,Oy,Py,Ry,Ty,Ug({prop:"boxSizing"})),_y=Ug({prop:"fontFamily",themeKey:"typography"}),Ny=Ug({prop:"fontSize",themeKey:"typography"}),Ay=Ug({prop:"fontStyle",themeKey:"typography"}),Ly=Ug({prop:"fontWeight",themeKey:"typography"}),jy=Ug({prop:"letterSpacing"}),Iy=Ug({prop:"textTransform"}),Fy=Ug({prop:"lineHeight"}),zy=Ug({prop:"textAlign"}),$y=qg(Ug({prop:"typography",cssProperty:!1,themeKey:"typography"}),_y,Ny,Ay,Ly,jy,Fy,zy,Iy),Dy={borders:fy.filterProps,display:hy.filterProps,flexbox:my.filterProps,grid:by.filterProps,positions:wy.filterProps,palette:xy.filterProps,shadows:ky.filterProps,sizing:My.filterProps,spacing:ey.filterProps,typography:$y.filterProps},By={borders:fy,display:hy,flexbox:my,grid:by,positions:wy,palette:xy,shadows:ky,sizing:My,spacing:ey,typography:$y},Wy=Object.keys(Dy).reduce(((e,t)=>(Dy[t].forEach((n=>{e[n]=By[t]})),e)),{});const Uy=function(e=By){const t=Object.keys(e).reduce(((t,n)=>(e[n].filterProps.forEach((r=>{t[r]=e[n]})),t)),{});function n(e,n,r){const o={[e]:n,theme:r},i=t[e];return i?i(o):{[e]:n}}return function e(r){const{sx:o,theme:i={}}=r||{};if(!o)return null;function a(r){let o=r;if("function"==typeof r)o=r(i);else if("object"!=typeof r)return r;if(!o)return null;const a=zg(i.breakpoints),l=Object.keys(a);let s=a;return Object.keys(o).forEach((r=>{const a=(l=o[r],u=i,"function"==typeof l?l(u):l);var l,u;if(null!=a)if("object"==typeof a)if(t[r])s=Lg(s,n(r,a,i));else{const t=Fg({theme:i},a,(e=>({[r]: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))}(t,a)?s=Lg(s,t):s[r]=e({sx:a,theme:i})}else s=Lg(s,n(r,a,i))})),$g(l,s)}return Array.isArray(o)?o.map(a):a(o)}}();function qy(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}Uy.filterProps=["sx"];const Vy=["sx"];function Hy(e){const{sx:t}=e,n=qy(e,Vy),{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((n=>{Wy[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Vp(n)?Ag({},r,n):r}:Ag({},r,t),Ag({},o,{sx:i})}const Ky=["values","unit","step"];function Qy(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=qy(e,Ky),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)=>Ag({},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 Ag({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 Gy={borderRadius:4};const Xy=["breakpoints","palette","spacing","shape"];function Yy(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=qy(e,Xy),l=Qy(n),s=function(e=8){if(e.mui)return e;const t=Yg({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=Hp({breakpoints:l,direction:"ltr",components:{},palette:Ag({mode:"light"},r),spacing:s,shape:Ag({},Gy,i)},a);return u=t.reduce(((e,t)=>Hp(e,t)),u),u}function Zy(){return Zy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zy.apply(this,arguments)}var Jy=Q.exports.createContext(null);function eb(){return Q.exports.useContext(Jy)}var tb="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function nb(e){const{children:t,theme:n}=e,r=eb(),o=Q.exports.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Zy({},e,t)}(r,n);return null!=e&&(e[tb]=null!==r),e}),[n,r]);return Qf.exports.jsx(Jy.Provider,{value:o,children:t})}function rb(e=null){const t=eb();return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const ob=Yy();function ib(e=ob){return rb(e)}const ab=["className","component"];!function(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r,styleFunctionSx:o=Uy}=e,i=Ng("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(o),a=Q.exports.forwardRef((function(e,o){const a=ib(t),l=Hy(e),{className:s,component:u="div"}=l,c=qy(l,ab);return Qf.exports.jsx(i,Ag({as:u,ref:o,className:zp(s,r?r(n):n),theme:a},c))}))}();const lb=["variant"];function sb(e){return 0===e.length}function ub(e){const{variant:t}=e,n=qy(e,lb);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?sb(r)?e[t]:pf(e[t]):`${sb(r)?t:pf(t)}${pf(e[t].toString())}`})),r}const cb=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],db=["theme"],pb=["theme"];function fb(e){return 0===Object.keys(e).length}function hb(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const mb=Yy();function vb(e={}){const{defaultTheme:t=mb,rootShouldForwardProp:n=hb,slotShouldForwardProp:r=hb,styleFunctionSx:o=Uy}=e,i=e=>{const n=fb(e.theme)?t:e.theme;return o(Ag({},e,{theme:n}))};return i.__mui_systemSx=!0,(e,o={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:a,slot:l,skipVariantsResolver:s,skipSx:u,overridesResolver:c}=o,d=qy(o,cb),p=void 0!==s?s:l&&"Root"!==l||!1,f=u||!1;let h=hb;"Root"===l?h=n:l?h=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=Ng(e,Ag({shouldForwardProp:h,label:undefined},d)),v=(e,...n)=>{const r=n?n.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>{let{theme:r}=n,o=qy(n,db);return e(Ag({theme:fb(r)?t:r},o))}:e)):[];let o=e;a&&c&&r.push((e=>{const n=fb(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(a,n);if(r){const t={};return Object.entries(r).forEach((([r,o])=>{t[r]="function"==typeof o?o(Ag({},e,{theme:n})):o})),c(e,t)}return null})),a&&!p&&r.push((e=>{const n=fb(e.theme)?t:e.theme;return((e,t,n,r)=>{var o,i;const{ownerState:a={}}=e,l=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[ub(n.props)])})),l})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=ub(e.props);r[t]=e.style})),r})(a,n),n,a)})),f||r.push(i);const l=r.length-n.length;if(Array.isArray(e)&&l>0){const t=new Array(l).fill("");o=[...e,...t],o.raw=[...e.raw,...t]}else"function"==typeof e&&e.__emotion_real!==e&&(o=n=>{let{theme:r}=n,o=qy(n,pb);return e(Ag({theme:fb(r)?t:r},o))});return m(o,...r)};return m.withConfig&&(v.withConfig=m.withConfig),v}}const gb=vb();function yb({props:e,name:t,defaultTheme:n}){const r=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Ff(t.components[n].defaultProps,r):r}({theme:ib(n),name:t,props:e});return r}function bb(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function xb(e){if(e.type)return e;if("#"===e.charAt(0))return xb(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(Kp(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(Kp(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const wb=e=>{const t=xb(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function kb(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 Sb(e){let t="hsl"===(e=xb(e)).type||"hsla"===e.type?xb(function(e){e=xb(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),kb({type:l,values: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 Eb(e,t){return e=xb(e),t=bb(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,kb(e)}function Cb(e,t){if(e=xb(e),t=bb(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 kb(e)}function Ob(e,t){if(e=xb(e),t=bb(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 kb(e)}function Pb(e,t=.15){return Sb(e)>.5?Cb(e,t):Ob(e,t)}function Rb(e){const t=ib();return Qf.exports.jsx(ug.Provider,{value:"object"==typeof t?t:{},children:e.children})}function Tb(e){const{children:t,theme:n}=e;return Qf.exports.jsx(nb,{theme:n,children:Qf.exports.jsx(Rb,{children:t})})}const Mb="mode",_b="color-scheme",Nb="data-color-scheme";function Ab(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const Lb=["className","component","disableGutters","fixed","maxWidth","classes"],jb=Yy(),Ib=gb("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${pf(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),Fb=e=>yb({props:e,name:"MuiContainer",defaultTheme:jb});!function(e={}){const{createStyledComponent:t=Ib,useThemeProps:n=Fb,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>Ag({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>Ag({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),i=Q.exports.forwardRef((function(e,t){const i=n(e),{className:a,component:l="div",disableGutters:s=!1,fixed:u=!1,maxWidth:c="lg"}=i,d=qy(i,Lb),p=Ag({},i,{component:l,disableGutters:s,fixed:u,maxWidth:c}),f=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:i}=e;return zf({root:["root",i&&`maxWidth${pf(String(i))}`,r&&"fixed",o&&"disableGutters"]},(e=>Wf(t,e)),n)})(p,r);return Qf.exports.jsx(o,Ag({as:l,ownerState:p,className:zp(f.root,a),ref:t},d))}))}(),Uf("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const zb=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:Object.keys(t)).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t)},$b=({theme:e,ownerState:t})=>{const n={};return zb(e.breakpoints,t.gridSize,((e,r)=>{let o={};!0===r&&(o={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(o={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / var(--Grid-columns)${t.nested&&t.container?" + var(--Grid-columnSpacing)":""})`}),e(n,o)})),n},Db=({theme:e,ownerState:t})=>{const n={};return zb(e.breakpoints,t.gridOffset,((e,t)=>{let r={};"auto"===t&&(r={marginLeft:"auto"}),"number"==typeof t&&(r={marginLeft:0===t?"0px":`calc(100% * ${t} / var(--Grid-columns))`}),e(n,r)})),n},Bb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={"--Grid-columns":12};return zb(e.breakpoints,t.columns,((e,t)=>{e(n,{"--Grid-columns":t})})),n},Wb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return zb(e.breakpoints,t.rowSpacing,((t,r)=>{var o;t(n,{"--Grid-rowSpacing":"string"==typeof r?r:null==(o=e.spacing)?void 0:o.call(e,r)})})),n},Ub=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return zb(e.breakpoints,t.columnSpacing,((t,r)=>{var o;t(n,{"--Grid-columnSpacing":"string"==typeof r?r:null==(o=e.spacing)?void 0:o.call(e,r)})})),n},qb=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return zb(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Vb=({ownerState:e})=>Ag({minWidth:0,boxSizing:"border-box"},e.container?Ag({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:"calc(var(--Grid-rowSpacing) / -2) calc(var(--Grid-columnSpacing) / -2)"},e.disableEqualOverflow&&{margin:"calc(var(--Grid-rowSpacing) * -1) 0px 0px calc(var(--Grid-columnSpacing) * -1)"},e.nested?Ag({padding:"calc(var(--Grid-nested-rowSpacing) / 2) calc(var(--Grid-nested-columnSpacing) / 2)"},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:"calc(var(--Grid-nested-rowSpacing)) 0px 0px calc(var(--Grid-nested-columnSpacing))"}):{"--Grid-nested-rowSpacing":"var(--Grid-rowSpacing)","--Grid-nested-columnSpacing":"var(--Grid-columnSpacing)"}):Ag({padding:"calc(var(--Grid-rowSpacing) / 2) calc(var(--Grid-columnSpacing) / 2)"},e.disableEqualOverflow&&{padding:"calc(var(--Grid-rowSpacing)) 0px 0px calc(var(--Grid-columnSpacing))"})),Hb=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},Kb=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},Qb=["className","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow"],Gb=Yy(),Xb=gb("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Yb(e){return yb({props:e,name:"MuiGrid",defaultTheme:Gb})}!function(e={}){const{createStyledComponent:t=Xb,useThemeProps:n=Yb,componentName:r="MuiGrid"}=e,o=Q.exports.createContext(!1),i=Q.exports.createContext(void 0),a=t(Bb,Ub,Wb,$b,qb,Vb,Db),l=Q.exports.forwardRef((function(e,t){var l,s,u,c,d,p,f,h;const m=ib(),v=Hy(n(e)),g=Q.exports.useContext(o),y=Q.exports.useContext(i),{className:b,columns:x=12,container:w=!1,component:k="div",direction:S="row",wrap:E="wrap",spacing:C=0,rowSpacing:O=C,columnSpacing:P=C,disableEqualOverflow:R}=v,T=qy(v,Qb);let M=R;g&&void 0!==R&&(M=e.disableEqualOverflow);const _={},N={},A={};Object.entries(T).forEach((([e,t])=>{void 0!==m.breakpoints.values[e]?_[e]=t:void 0!==m.breakpoints.values[e.replace("Offset","")]?N[e.replace("Offset","")]=t:A[e]=t}));const L=Ag({},v,{nested:g,columns:null!=(l=e.columns)?l:g?void 0:x,container:w,direction:S,wrap:E,spacing:null!=(s=e.spacing)?s:g?void 0:C,rowSpacing:null!=(u=null!=(c=e.rowSpacing)?c:e.spacing)?u:g?void 0:O,columnSpacing:null!=(d=null!=(p=e.columnSpacing)?p:e.spacing)?d:g?void 0:P,gridSize:_,gridOffset:N,disableEqualOverflow:null!=(f=null!=(h=M)?h:y)&&f,parentDisableEqualOverflow:y}),j=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:l}=e;return zf({root:["root",n&&"container","row"!==o&&`direction-xs-${String(o)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...Hb(l),...n?Kb(i,t.breakpoints.keys[0]):[]]},(e=>Wf(r,e)),{})})(L,m);let I=Qf.exports.jsx(a,Ag({ref:t,as:k,ownerState:L,className:zp(j.root,b)},A));return g||(I=Qf.exports.jsx(o.Provider,{value:!0,children:I})),void 0!==M&&M!==(null!=y&&y)&&(I=Qf.exports.jsx(i.Provider,{value:M,children:I})),I}))}();const Zb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];Uf("MuiGrid",["root","container","item",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Zb.map((e=>`grid-xs-${e}`)),...Zb.map((e=>`grid-sm-${e}`)),...Zb.map((e=>`grid-md-${e}`)),...Zb.map((e=>`grid-lg-${e}`)),...Zb.map((e=>`grid-xl-${e}`))]);const Jb=["component","direction","spacing","divider","children","className"],ex=Yy(),tx=gb("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function nx(e){return yb({props:e,name:"MuiStack",defaultTheme:ex})}function rx(e,t){const n=Q.exports.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(Q.exports.cloneElement(t,{key:`separator-${o}`})),e)),[])}const ox=({ownerState:e,theme:t})=>{let n=Ag({display:"flex",flexDirection:"column"},Fg({theme:t},Dg({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Yg(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=Dg({values:e.direction,base:o}),a=Dg({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=Hp(n,Fg({theme:t},a,((t,n)=>{return{"& > :not(style) + :not(style)":{margin:0,[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Zg(r,t)}};var o})))}return n=function(e,...t){const n=zg(e),r=[n,...t].reduce(((e,t)=>Hp(e,t)),{});return $g(Object.keys(n),r)}(t.breakpoints,n),n};!function(e={}){const{createStyledComponent:t=tx,useThemeProps:n=nx,componentName:r="MuiStack"}=e,o=t(ox),i=Q.exports.forwardRef((function(e,t){const i=Hy(n(e)),{component:a="div",direction:l="column",spacing:s=0,divider:u,children:c,className:d}=i,p=qy(i,Jb),f={direction:l,spacing:s},h=zf({root:["root"]},(e=>Wf(r,e)),{});return Qf.exports.jsx(o,Ag({as:a,ownerState:f,ref:t,className:zp(h.root,d)},p,{children:u?rx(c,u):c}))}))}(),Uf("MuiStack",["root"]);const ix={black:"#000",white:"#fff"},ax={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"},lx="#f3e5f5",sx="#ce93d8",ux="#ba68c8",cx="#ab47bc",dx="#9c27b0",px="#7b1fa2",fx="#ffebee",hx="#ef9a9a",mx="#e57373",vx="#ef5350",gx="#f44336",yx="#d32f2f",bx="#c62828",xx="#ffb74d",wx="#ffa726",kx="#ff9800",Sx="#f57c00",Ex="#e65100",Cx="#e3f2fd",Ox="#90caf9",Px="#42a5f5",Rx="#1976d2",Tx="#1565c0",Mx="#4fc3f7",_x="#29b6f6",Nx="#03a9f4",Ax="#0288d1",Lx="#01579b",jx="#e8f5e9",Ix="#a5d6a7",Fx="#81c784",zx="#66bb6a",$x="#4caf50",Dx="#388e3c",Bx="#2e7d32",Wx="#1b5e20",Ux=["mode","contrastThreshold","tonalOffset"],qx={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:ix.white,default:ix.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}},Vx={text:{primary:ix.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:ix.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 Hx(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=Ob(e.main,o):"dark"===t&&(e.dark=Cb(e.main,i)))}function Kx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Np(e,Ux),i=e.primary||function(e="light"){return"dark"===e?{main:Ox,light:Cx,dark:Px}:{main:Rx,light:Px,dark:Tx}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:sx,light:lx,dark:cx}:{main:dx,light:ux,dark:px}}(t),l=e.error||function(e="light"){return"dark"===e?{main:gx,light:mx,dark:yx}:{main:yx,light:vx,dark:bx}}(t),s=e.info||function(e="light"){return"dark"===e?{main:_x,light:Mx,dark:Ax}:{main:Ax,light:Nx,dark:Lx}}(t),u=e.success||function(e="light"){return"dark"===e?{main:zx,light:Fx,dark:Dx}:{main:Bx,light:$x,dark:Wx}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:wx,light:xx,dark:Sx}:{main:"#ed6c02",light:kx,dark:Ex}}(t);function d(e){const t=function(e,t){const n=Sb(e),r=Sb(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Vx.text.primary)>=n?Vx.text.primary:qx.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Ap({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Kp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Kp(12,t?` (${t})`:"",JSON.stringify(e.main)));return Hx(e,"light",o,r),Hx(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Vx,light:qx};return Hp(Ap({common:Ap({},ix),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:u,name:"success"}),grey:ax,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Qx=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Gx={textTransform:"uppercase"},Xx='"Roboto", "Helvetica", "Arial", sans-serif';function Yx(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Xx,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,p=Np(n,Qx),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,n,o,i)=>{return Ap({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Xx?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},v={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,Gx),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Gx)};return Hp(Ap({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},v),p,{clone:!1})}function Zx(...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 Jx=["none",Zx(0,2,1,-1,0,1,1,0,0,1,3,0),Zx(0,3,1,-2,0,2,2,0,0,1,5,0),Zx(0,3,3,-2,0,3,4,0,0,1,8,0),Zx(0,2,4,-1,0,4,5,0,0,1,10,0),Zx(0,3,5,-1,0,5,8,0,0,1,14,0),Zx(0,3,5,-1,0,6,10,0,0,1,18,0),Zx(0,4,5,-2,0,7,10,1,0,2,16,1),Zx(0,5,5,-3,0,8,10,1,0,3,14,2),Zx(0,5,6,-3,0,9,12,1,0,3,16,2),Zx(0,6,6,-3,0,10,14,1,0,4,18,3),Zx(0,6,7,-4,0,11,15,1,0,4,20,3),Zx(0,7,8,-4,0,12,17,2,0,5,22,4),Zx(0,7,8,-4,0,13,19,2,0,5,24,4),Zx(0,7,9,-4,0,14,21,2,0,5,26,4),Zx(0,8,9,-5,0,15,22,2,0,6,28,5),Zx(0,8,10,-5,0,16,24,2,0,6,30,5),Zx(0,8,11,-5,0,17,26,2,0,6,32,5),Zx(0,9,11,-5,0,18,28,2,0,7,34,6),Zx(0,9,12,-6,0,19,29,2,0,7,36,6),Zx(0,10,13,-6,0,20,31,3,0,8,38,7),Zx(0,10,13,-6,0,21,33,3,0,8,40,7),Zx(0,10,14,-6,0,22,35,3,0,8,42,7),Zx(0,11,14,-7,0,23,36,3,0,9,44,8),Zx(0,11,15,-7,0,24,38,3,0,9,46,8)],ew=["duration","easing","delay"],tw={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)"},nw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function rw(e){return`${Math.round(e)}ms`}function ow(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function iw(e){const t=Ap({},tw,e.easing),n=Ap({},nw,e.duration);return Ap({getAutoHeightDuration:ow,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return Np(r,ew),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:rw(o)} ${i} ${"string"==typeof a?a:rw(a)}`)).join(",")}},e,{easing:t,duration:n})}const aw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},lw=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function sw(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Np(e,lw);if(e.vars)throw new Error(Kp(18));const l=Kx(r),s=Yy(e);let u=Hp(s,{mixins:(c=s.breakpoints,d=n,Ap({toolbar:{minHeight:56,[c.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[c.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:Jx.slice(),typography:Yx(l,i),transitions:iw(o),zIndex:Ap({},aw)});var c,d;return u=Hp(u,a),u=t.reduce(((e,t)=>Hp(e,t)),u),u}const uw=sw(),cw=e=>hb(e)&&"classes"!==e,dw=hb,pw=vb({defaultTheme:uw,rootShouldForwardProp:cw});function fw({props:e,name:t}){return yb({props:e,name:t,defaultTheme:uw})}function hw(){return hw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hw.apply(this,arguments)}function mw(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function vw(e,t){return vw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vw(e,t)}function gw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vw(e,t)}function yw(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var bw=!1,xw=_e.createContext(null),ww=function(e){return e.scrollTop},kw="unmounted",Sw="exited",Ew="entering",Cw="entered",Ow="exiting",Pw=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=Sw,r.appearStatus=Ew):o=Cw:o=t.unmountOnExit||t.mountOnEnter?kw:Sw,r.state={status:o},r.nextCallback=null,r}gw(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===kw?{status:Sw}: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!==Ew&&n!==Cw&&(t=Ew):n!==Ew&&n!==Cw||(t=Ow)}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===Ew){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Xc.findDOMNode(this);n&&ww(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sw&&this.setState({status:kw})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Xc.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||bw?this.safeSetState({status:Cw},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ew},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Cw},(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:Xc.findDOMNode(this);t&&!bw?(this.props.onExit(r),this.safeSetState({status:Ow},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Sw},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Sw},(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:Xc.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===kw)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=mw(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _e.createElement(xw.Provider,{value:null},"function"==typeof n?n(e,r):_e.cloneElement(_e.Children.only(n),r))},t}(_e.Component);function Rw(){}Pw.contextType=xw,Pw.propTypes={},Pw.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rw,onEntering:Rw,onEntered:Rw,onExit:Rw,onExiting:Rw,onExited:Rw},Pw.UNMOUNTED=kw,Pw.EXITED=Sw,Pw.ENTERING=Ew,Pw.ENTERED=Cw,Pw.EXITING=Ow;var Tw=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},Mw=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=yw(n.className,r):n.setAttribute("class",yw(n.className&&n.className.baseVal||"",r)));var n,r}))},_w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}gw(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&ww(e),r&&(this.appliedClasses[t][n]=r,Tw(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&Mw(e,r),o&&Mw(e,o),i&&Mw(e,i)},n.render=function(){var e=this.props;e.classNames;var t=mw(e,["classNames"]);return _e.createElement(Pw,hw({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(_e.Component);function Nw(e,t){var n=Object.create(null);return e&&Q.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Q.exports.isValidElement(e)?t(e):e}(e)})),n}function Aw(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Lw(e,t,n){var r=Nw(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(Q.exports.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=Q.exports.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&Q.exports.isValidElement(u)&&(o[i]=Q.exports.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Aw(a,"exit",e),enter:Aw(a,"enter",e)})):o[i]=Q.exports.cloneElement(a,{in:!1}):o[i]=Q.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Aw(a,"exit",e),enter:Aw(a,"enter",e)})}})),o}_w.defaultProps={classNames:""},_w.propTypes={};var jw=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Iw=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}gw(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,Nw(n.children,(function(e){return Q.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Aw(e,"appear",n),enter:Aw(e,"enter",n),exit:Aw(e,"exit",n)})}))):Lw(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Nw(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=hw({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=mw(e,["component","childFactory"]),o=this.state.contextValue,i=jw(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?_e.createElement(xw.Provider,{value:o},i):_e.createElement(xw.Provider,{value:o},_e.createElement(t,r,i))},t}(_e.Component);Iw.propTypes={},Iw.defaultProps={component:"div",childFactory:function(e){return e}};var Fw,zw,$w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}gw(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=_e.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:Xc.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=mw(e,["children","in"]),o=_e.Children.toArray(t),i=o[0],a=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,_e.createElement(Iw,r,n?_e.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):_e.cloneElement(a,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(_e.Component);$w.propTypes={};var Dw="out-in",Bw="in-out",Ww=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},Uw=((Fw={})[Dw]=function(e){var t=e.current,n=e.changeState;return _e.cloneElement(t,{in:!1,onExited:Ww(t,"onExited",(function(){n(Ew,null)}))})},Fw[Bw]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,_e.cloneElement(r,{in:!0,onEntered:Ww(r,"onEntered",(function(){n(Ew)}))})]},Fw),qw=((zw={})[Dw]=function(e){var t=e.children,n=e.changeState;return _e.cloneElement(t,{in:!0,onEntered:Ww(t,"onEntered",(function(){n(Cw,_e.cloneElement(t,{in:!0}))}))})},zw[Bw]=function(e){var t=e.current,n=e.children,r=e.changeState;return[_e.cloneElement(t,{in:!1,onExited:Ww(t,"onExited",(function(){r(Cw,_e.cloneElement(n,{in:!0}))}))}),_e.cloneElement(n,{in:!0})]},zw),Vw=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:Cw,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}gw(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===Ew&&e.mode===Bw?{status:Ew}:!t.current||(n=t.current,r=e.children,n===r||_e.isValidElement(n)&&_e.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:_e.cloneElement(e.children,{in:!0})}:{status:Ow};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,l={children:n,current:a,changeState:this.changeState,status:i};switch(i){case Ew:e=qw[r](l);break;case Ow:e=Uw[r](l);break;case Cw:e=a}return _e.createElement(xw.Provider,{value:{isMounting:!this.appeared}},e)},t}(_e.Component);function Hw(){return ib(uw)}Vw.propTypes={},Vw.defaultProps={mode:Dw};const Kw=e=>e.scrollTop;function Qw(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}}const Gw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Xw={entering:{opacity:1},entered:{opacity:1}},Yw=Q.exports.forwardRef((function(e,t){const n=Hw(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:v=r,TransitionComponent:g=Pw}=e,y=Np(e,Gw),b=Q.exports.useRef(null),x=Cf(a.ref,t),w=Cf(b,x),k=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=k(d),E=k(((e,t)=>{Kw(e);const r=Qw({style:m,timeout:v,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),C=k(c),O=k(h),P=k((e=>{const t=Qw({style:m,timeout:v,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),R=k(f);return Qf.exports.jsx(g,Ap({appear:i,in:s,nodeRef:b,onEnter:E,onEntered:C,onEntering:S,onExit:P,onExited:R,onExiting:O,addEndListener:e=>{o&&o(b.current,e)},timeout:v},y,{children:(e,t)=>Q.exports.cloneElement(a,Ap({style:Ap({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Xw[e],m,a.props.style),ref:w},t))}))}));function Zw(e){return Wf("MuiBackdrop",e)}Uf("MuiBackdrop",["root","invisible"]);const Jw=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],ek=pw("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Ap({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),tk=Q.exports.forwardRef((function(e,t){var n,r;const o=fw({props:e,name:"MuiBackdrop"}),{children:i,component:a="div",components:l={},componentsProps:s={},className:u,invisible:c=!1,open:d,transitionDuration:p,TransitionComponent:f=Yw}=o,h=Np(o,Jw),m=Ap({},o,{component:a,invisible:c}),v=(e=>{const{classes:t,invisible:n}=e;return zf({root:["root",n&&"invisible"]},Zw,t)})(m);return Qf.exports.jsx(f,Ap({in:d,timeout:p},h,{children:Qf.exports.jsx(ek,{"aria-hidden":!0,as:null!=(n=l.Root)?n:a,className:zp(v.root,u),ownerState:Ap({},m,null==(r=s.root)?void 0:r.ownerState),classes:v,ref:t,children:i})}))})),nk=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],rk=pw("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>Ap({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),ok=pw(tk,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ik=Q.exports.forwardRef((function(e,t){var n,r;const o=fw({name:"MuiModal",props:e}),{BackdropComponent:i=ok,BackdropProps:a,closeAfterTransition:l=!1,children:s,component:u,components:c={},componentsProps:d={},disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:h=!1,disablePortal:m=!1,disableRestoreFocus:v=!1,disableScrollLock:g=!1,hideBackdrop:y=!1,keepMounted:b=!1,theme:x}=o,w=Np(o,nk),[k,S]=Q.exports.useState(!0),E={closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:f,disableEscapeKeyDown:h,disablePortal:m,disableRestoreFocus:v,disableScrollLock:g,hideBackdrop:y,keepMounted:b},C=Ap({},o,E,{exited:k}),O=(e=>e.classes)(C),P=null!=(n=null!=(r=c.Root)?r:u)?n:rk;return Qf.exports.jsx($m,Ap({components:Ap({Root:P,Backdrop:i},c),componentsProps:{root:()=>Ap({},Wp(d.root,C),!Dp(P)&&{as:u,theme:x}),backdrop:()=>Ap({},a,Wp(d.backdrop,C))},onTransitionEnter:()=>S(!1),onTransitionExited:()=>S(!0),ref:t},w,{classes:O},E,{children:s}))}));function ak(e){return Wf("MuiPaper",e)}Uf("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 lk=["className","component","elevation","square","variant"],sk=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},uk=pw("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 Ap({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&&Ap({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Eb("#fff",sk(t.elevation))}, ${Eb("#fff",sk(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),ck=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=Np(n,lk),u=Ap({},n,{component:o,elevation:i,square:a,variant:l}),c=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return zf({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},ak,o)})(u);return Qf.exports.jsx(uk,Ap({as:o,ownerState:u,className:zp(c.root,r),ref:t},s))}));function dk(e){return Wf("MuiDialog",e)}const pk=Uf("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),fk=Q.exports.createContext({}),hk=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],mk=pw(tk,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),vk=pw(ik,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),gk=pw("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${pf(n.scroll)}`]]}})((({ownerState:e})=>Ap({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),yk=pw(ck,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${pf(n.scroll)}`],t[`paperWidth${pf(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>Ap({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${pk.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${pk.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${pk.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),bk=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiDialog"}),r=Hw(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,BackdropComponent:l,BackdropProps:s,children:u,className:c,disableEscapeKeyDown:d=!1,fullScreen:p=!1,fullWidth:f=!1,maxWidth:h="sm",onBackdropClick:m,onClose:v,open:g,PaperComponent:y=ck,PaperProps:b={},scroll:x="paper",TransitionComponent:w=Yw,transitionDuration:k=o,TransitionProps:S}=n,E=Np(n,hk),C=Ap({},n,{disableEscapeKeyDown:d,fullScreen:p,fullWidth:f,maxWidth:h,scroll:x}),O=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e;return zf({root:["root"],container:["container",`scroll${pf(n)}`],paper:["paper",`paperScroll${pf(n)}`,`paperWidth${pf(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]},dk,t)})(C),P=Q.exports.useRef(),R=kf(a),T=Q.exports.useMemo((()=>({titleId:R})),[R]);return Qf.exports.jsx(vk,Ap({className:zp(O.root,c),closeAfterTransition:!0,components:{Backdrop:mk},componentsProps:{backdrop:Ap({transitionDuration:k,as:l},s)},disableEscapeKeyDown:d,onClose:v,open:g,ref:t,onClick:e=>{P.current&&(P.current=null,m&&m(e),v&&v(e,"backdropClick"))},ownerState:C},E,{children:Qf.exports.jsx(w,Ap({appear:!0,in:g,timeout:k,role:"presentation"},S,{children:Qf.exports.jsx(gk,{className:zp(O.container),onMouseDown:e=>{P.current=e.target===e.currentTarget},ownerState:C,children:Qf.exports.jsx(yk,Ap({as:y,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":R},b,{className:zp(O.paper,b.className),ownerState:C,children:Qf.exports.jsx(fk.Provider,{value:T,children:u})}))})}))}))}));var xk=function(e){var t=Q.exports.useRef(null),n=u(Q.exports.useState(null),2),r=n[0],o=n[1],i=Mp(),a=_p((function(e){return e.container})),l=function(e){i({type:"SET_CONTAINER",payload:e})},s=function(){i({type:"ON_CLOSE"})};Q.exports.useEffect((function(){var e=document.createElement("div");e.style.width="100vw",e.style.height="100vh",e.style.position="relative",l(e)}),[]),Q.exports.useEffect((function(){if(a){var e=window.open("","","width=600,height=600,left=200,top=200");if(!e)return;e.document.title="Tolgee - Translate Text",e.document||alert("Please allow popups to open new window."),t.current=e,e.document.body.style.margin="0px",e.document.body.appendChild(a);e.onbeforeunload=function(){l(void 0),s()};var n=function(e){"Escape"===e.key&&i({type:"ON_CLOSE"})},r=function(){l(void 0),e.close(),s()};return e.document.addEventListener("keydown",n,!0),window.addEventListener("beforeunload",r,!0),o(e),function(){var i;e.document.removeEventListener("keydown",n,!0),window.removeEventListener("beforeunload",r,!0),l(void 0),null===(i=t.current)||void 0===i||i.close(),o(null)}}}),[a]),Q.exports.useEffect((function(){null==r||r.focus()}));var c=_e.useMemo((function(){var e=null==r?void 0:r.document.head;return sv({key:"external",container:e})}),[r]);return a?Ae.exports.createPortal(_e.createElement(lg,{value:c},e.children),a):null},wk=function(e){var t=e.children,n=Mp(),r=_p((function(e){return e.useBrowserWindow})),o=_p((function(e){return e.open})),i=_p((function(e){return e.takingScreenshot}));return _e.createElement(_e.Fragment,null,r?_e.createElement(xk,null,t):_e.createElement(bk,{disableRestoreFocus:!0,disablePortal:!0,disableEnforceFocus:!0,open:o,onClose:function(){n({type:"ON_CLOSE"})},"aria-labelledby":"form-dialog-title",maxWidth:"lg",style:{zIndex:C,visibility:i?"hidden":"visible"}},_e.createElement(_e.Fragment,null,t)))};const kk=Uf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Sk=["center","classes","className"];let Ek,Ck,Ok,Pk,Rk=e=>e;const Tk=pg(Ek||(Ek=Rk`
|
|
43
|
+
0% {
|
|
44
|
+
transform: scale(0);
|
|
45
|
+
opacity: 0.1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
100% {
|
|
49
|
+
transform: scale(1);
|
|
50
|
+
opacity: 0.3;
|
|
51
|
+
}
|
|
52
|
+
`)),Mk=pg(Ck||(Ck=Rk`
|
|
53
|
+
0% {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
100% {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
}
|
|
60
|
+
`)),_k=pg(Ok||(Ok=Rk`
|
|
61
|
+
0% {
|
|
62
|
+
transform: scale(1);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
50% {
|
|
66
|
+
transform: scale(0.92);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
100% {
|
|
70
|
+
transform: scale(1);
|
|
71
|
+
}
|
|
72
|
+
`)),Nk=pw("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ak=pw((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]=Q.exports.useState(!1),p=zp(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=zp(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),Q.exports.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),Qf.exports.jsx("span",{className:p,style:f,children:Qf.exports.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Pk||(Pk=Rk`
|
|
73
|
+
opacity: 0;
|
|
74
|
+
position: absolute;
|
|
75
|
+
|
|
76
|
+
&.${0} {
|
|
77
|
+
opacity: 0.3;
|
|
78
|
+
transform: scale(1);
|
|
79
|
+
animation-name: ${0};
|
|
80
|
+
animation-duration: ${0}ms;
|
|
81
|
+
animation-timing-function: ${0};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.${0} {
|
|
85
|
+
animation-duration: ${0}ms;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
& .${0} {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
display: block;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
border-radius: 50%;
|
|
94
|
+
background-color: currentColor;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .${0} {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
animation-name: ${0};
|
|
100
|
+
animation-duration: ${0}ms;
|
|
101
|
+
animation-timing-function: ${0};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
& .${0} {
|
|
105
|
+
position: absolute;
|
|
106
|
+
/* @noflip */
|
|
107
|
+
left: 0px;
|
|
108
|
+
top: 0;
|
|
109
|
+
animation-name: ${0};
|
|
110
|
+
animation-duration: 2500ms;
|
|
111
|
+
animation-timing-function: ${0};
|
|
112
|
+
animation-iteration-count: infinite;
|
|
113
|
+
animation-delay: 200ms;
|
|
114
|
+
}
|
|
115
|
+
`),kk.rippleVisible,Tk,550,(({theme:e})=>e.transitions.easing.easeInOut),kk.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),kk.child,kk.childLeaving,Mk,550,(({theme:e})=>e.transitions.easing.easeInOut),kk.childPulsate,_k,(({theme:e})=>e.transitions.easing.easeInOut)),Lk=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=Np(n,Sk),[l,s]=Q.exports.useState([]),u=Q.exports.useRef(0),c=Q.exports.useRef(null);Q.exports.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=Q.exports.useRef(!1),p=Q.exports.useRef(null),f=Q.exports.useRef(null),h=Q.exports.useRef(null);Q.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const m=Q.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,Qf.exports.jsx(Ak,{classes:{ripple:zp(o.ripple,kk.ripple),rippleVisible:zp(o.rippleVisible,kk.rippleVisible),ripplePulsate:zp(o.ripplePulsate,kk.ripplePulsate),child:zp(o.child,kk.child),childLeaving:zp(o.childLeaving,kk.childLeaving),childPulsate:zp(o.childPulsate,kk.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),v=Q.exports.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,v;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)v=Math.sqrt((2*s.width**2+s.height**2)/3),v%2==0&&(v+=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;v=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:v,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:v,cb:n})}),[r,m]),g=Q.exports.useCallback((()=>{v({},{pulsate:!0})}),[v]),y=Q.exports.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{y(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return Q.exports.useImperativeHandle(t,(()=>({pulsate:g,start:v,stop:y})),[g,v,y]),Qf.exports.jsx(Nk,Ap({className:zp(kk.root,o.root,i),ref:h},a,{children:Qf.exports.jsx(Iw,{component:null,exit:!0,children:l})}))}));function jk(e){return Wf("MuiButtonBase",e)}const Ik=Uf("MuiButtonBase",["root","disabled","focusVisible"]),Fk=["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"],zk=pw("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"},[`&.${Ik.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),$k=Q.exports.forwardRef((function(e,t){const n=fw({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:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:v,onFocus:g,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:w,onMouseLeave:k,onMouseUp:S,onTouchEnd:E,onTouchMove:C,onTouchStart:O,tabIndex:P=0,TouchRippleProps:R,touchRippleRef:T,type:M}=n,_=Np(n,Fk),N=Q.exports.useRef(null),A=Q.exports.useRef(null),L=Cf(A,T),{isFocusVisibleRef:j,onFocus:I,onBlur:F,ref:z}=Lf(),[$,D]=Q.exports.useState(!1);s&&$&&D(!1),Q.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{D(!0),N.current.focus()}})),[]);const[B,W]=Q.exports.useState(!1);Q.exports.useEffect((()=>{W(!0)}),[]);const U=B&&!u&&!s;function q(e,t,n=c){return Ef((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}Q.exports.useEffect((()=>{$&&d&&!u&&B&&A.current.pulsate()}),[u,d,$,B]);const V=q("start",w),H=q("stop",m),K=q("stop",v),G=q("stop",S),X=q("stop",(e=>{$&&e.preventDefault(),k&&k(e)})),Y=q("start",O),Z=q("stop",E),J=q("stop",C),ee=q("stop",(e=>{F(e),!1===j.current&&D(!1),f&&f(e)}),!1),te=Ef((e=>{N.current||(N.current=e.currentTarget),I(e),!0===j.current&&(D(!0),y&&y(e)),g&&g(e)})),ne=()=>{const e=N.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=Q.exports.useRef(!1),oe=Ef((e=>{d&&!re.current&&$&&A.current&&" "===e.key&&(re.current=!0,A.current.stop(e,(()=>{A.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=Ef((e=>{d&&" "===e.key&&A.current&&$&&!e.defaultPrevented&&(re.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(_.href||_.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===M?"button":M,le.disabled=s):(_.href||_.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=Cf(z,N),ue=Cf(t,se),ce=Ap({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:$}),de=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=zf({root:["root",t&&"disabled",n&&"focusVisible"]},jk,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return Qf.exports.jsxs(zk,Ap({as:ae,className:zp(de.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:H,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:G,onDragLeave:K,onTouchEnd:Z,onTouchMove:J,onTouchStart:Y,ref:ue,tabIndex:s?-1:P,type:M},le,_,{children:[i,U?Qf.exports.jsx(Lk,Ap({ref:L,center:o},R)):null]}))}));function Dk(e){return Wf("MuiIconButton",e)}const Bk=Uf("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Wk=["edge","children","className","color","disabled","disableFocusRipple","size"],Uk=pw($k,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${pf(n.color)}`],n.edge&&t[`edge${pf(n.edge)}`],t[`size${pf(n.size)}`]]}})((({theme:e,ownerState:t})=>Ap({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})`:Eb(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})=>Ap({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Ap({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Eb(e.palette[t.color].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)},{[`&.${Bk.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),qk=Q.exports.forwardRef((function(e,t){const n=fw({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=Np(n,Wk),d=Ap({},n,{edge:r,color:a,disabled:l,disableFocusRipple:s,size:u}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return zf({root:["root",n&&"disabled","default"!==r&&`color${pf(r)}`,o&&`edge${pf(o)}`,`size${pf(i)}`]},Dk,t)})(d);return Qf.exports.jsx(Uk,Ap({className:zp(p.root,i),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},c,{children:o}))}));function Vk(e){return Wf("MuiButton",e)}const Hk=Uf("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Kk=Q.exports.createContext({}),Qk=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Gk=e=>Ap({},"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}}),Xk=pw($k,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${pf(n.color)}`],t[`size${pf(n.size)}`],t[`${n.variant}Size${pf(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return Ap({},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":Ap({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Eb(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})`:Eb(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})`:Eb(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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":Ap({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Hk.focusVisible}`]:Ap({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Hk.disabled}`]:Ap({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},"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 ${Eb(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).palette.grey[300],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"},[`&.${Hk.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Hk.disabled}`]:{boxShadow:"none"}})),Yk=pw("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${pf(n.size)}`]]}})((({ownerState:e})=>Ap({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Gk(e)))),Zk=pw("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${pf(n.size)}`]]}})((({ownerState:e})=>Ap({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Gk(e)))),Jk=Q.exports.forwardRef((function(e,t){const n=Q.exports.useContext(Kk),r=fw({props:Ff(n,e),name:"MuiButton"}),{children:o,color:i="primary",component:a="button",className:l,disabled:s=!1,disableElevation:u=!1,disableFocusRipple:c=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:h="medium",startIcon:m,type:v,variant:g="text"}=r,y=Np(r,Qk),b=Ap({},r,{color:i,component:a,disabled:s,disableElevation:u,disableFocusRipple:c,fullWidth:f,size:h,type:v,variant:g}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return Ap({},a,zf({root:["root",i,`${i}${pf(t)}`,`size${pf(o)}`,`${i}Size${pf(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${pf(o)}`],endIcon:["endIcon",`iconSize${pf(o)}`]},Vk,a))})(b),w=m&&Qf.exports.jsx(Yk,{className:x.startIcon,ownerState:b,children:m}),k=d&&Qf.exports.jsx(Zk,{className:x.endIcon,ownerState:b,children:d});return Qf.exports.jsxs(Xk,Ap({ownerState:b,className:zp(n.className,x.root,l),component:a,disabled:s,focusRipple:!c,focusVisibleClassName:zp(x.focusVisible,p),ref:t,type:v},y,{classes:x,children:[w,o,k]}))})),eS=["colorSchemes","cssVarPrefix"],tS=["palette"],nS=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=sk(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function rS(e,t,n){e[t]=e[t]||n}const oS=function(e={},...t){var n,r,o,i,a,l;const{colorSchemes:s={},cssVarPrefix:u="mui"}=e,c=Np(e,eS),d=((e="mui")=>Ab(e))(u),p=sw(Ap({},c,s.light&&{palette:null==(n=s.light)?void 0:n.palette})),{palette:f}=p,h=Np(p,tS),{palette:m}=sw({palette:Ap({mode:"dark"},null==(r=s.dark)?void 0:r.palette)});let v=Ap({},h,{cssVarPrefix:u,getCssVar:d,colorSchemes:Ap({},s,{light:Ap({},s.light,{palette:f,opacity:Ap({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(o=s.light)?void 0:o.opacity),overlays:(null==(i=s.light)?void 0:i.overlays)||[]}),dark:Ap({},s.dark,{palette:m,opacity:Ap({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(a=s.dark)?void 0:a.opacity),overlays:(null==(l=s.dark)?void 0:l.overlays)||nS})})});return Object.keys(v.colorSchemes).forEach((e=>{const t=v.colorSchemes[e].palette;var n;if("light"===e?(rS(t.common,"background","#fff"),rS(t.common,"onBackground","#000")):(rS(t.common,"background","#000"),rS(t.common,"onBackground","#fff")),n=t,["Alert","AppBar","Avatar","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{n[e]||(n[e]={})})),"light"===e){rS(t.Alert,"errorColor",Cb(t.error.light,.6)),rS(t.Alert,"infoColor",Cb(t.info.light,.6)),rS(t.Alert,"successColor",Cb(t.success.light,.6)),rS(t.Alert,"warningColor",Cb(t.warning.light,.6)),rS(t.Alert,"errorFilledBg",d("palette-error-main")),rS(t.Alert,"infoFilledBg",d("palette-info-main")),rS(t.Alert,"successFilledBg",d("palette-success-main")),rS(t.Alert,"warningFilledBg",d("palette-warning-main")),rS(t.Alert,"errorFilledColor",f.getContrastText(t.error.main)),rS(t.Alert,"infoFilledColor",f.getContrastText(t.info.main)),rS(t.Alert,"successFilledColor",f.getContrastText(t.success.main)),rS(t.Alert,"warningFilledColor",f.getContrastText(t.warning.main)),rS(t.Alert,"errorStandardBg",Ob(t.error.light,.9)),rS(t.Alert,"infoStandardBg",Ob(t.info.light,.9)),rS(t.Alert,"successStandardBg",Ob(t.success.light,.9)),rS(t.Alert,"warningStandardBg",Ob(t.warning.light,.9)),rS(t.Alert,"errorIconColor",d("palette-error-light")),rS(t.Alert,"infoIconColor",d("palette-info-light")),rS(t.Alert,"successIconColor",d("palette-success-light")),rS(t.Alert,"warningIconColor",d("palette-warning-light")),rS(t.AppBar,"defaultBg",d("palette-grey-100")),rS(t.Avatar,"defaultBg",d("palette-grey-400")),rS(t.Chip,"defaultBorder",d("palette-grey-400")),rS(t.Chip,"defaultAvatarColor",d("palette-grey-700")),rS(t.Chip,"defaultIconColor",d("palette-grey-700")),rS(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),rS(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),rS(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),rS(t.LinearProgress,"primaryBg",Ob(t.primary.main,.62)),rS(t.LinearProgress,"secondaryBg",Ob(t.secondary.main,.62)),rS(t.LinearProgress,"errorBg",Ob(t.error.main,.62)),rS(t.LinearProgress,"infoBg",Ob(t.info.main,.62)),rS(t.LinearProgress,"successBg",Ob(t.success.main,.62)),rS(t.LinearProgress,"warningBg",Ob(t.warning.main,.62)),rS(t.Skeleton,"bg",`rgba(${d("palette-text-primaryChannel")} / 0.11)`),rS(t.Slider,"primaryTrack",Ob(t.primary.main,.62)),rS(t.Slider,"secondaryTrack",Ob(t.secondary.main,.62)),rS(t.Slider,"errorTrack",Ob(t.error.main,.62)),rS(t.Slider,"infoTrack",Ob(t.info.main,.62)),rS(t.Slider,"successTrack",Ob(t.success.main,.62)),rS(t.Slider,"warningTrack",Ob(t.warning.main,.62));const e=Pb(t.background.default,.8);rS(t.SnackbarContent,"bg",e),rS(t.SnackbarContent,"color",f.getContrastText(e)),rS(t.SpeedDialAction,"fabHoverBg",Pb(t.background.paper,.15)),rS(t.StepConnector,"border",d("palette-grey-400")),rS(t.StepContent,"border",d("palette-grey-400")),rS(t.Switch,"defaultColor",d("palette-common-white")),rS(t.Switch,"defaultDisabledColor",d("palette-grey-100")),rS(t.Switch,"primaryDisabledColor",Ob(t.primary.main,.62)),rS(t.Switch,"secondaryDisabledColor",Ob(t.secondary.main,.62)),rS(t.Switch,"errorDisabledColor",Ob(t.error.main,.62)),rS(t.Switch,"infoDisabledColor",Ob(t.info.main,.62)),rS(t.Switch,"successDisabledColor",Ob(t.success.main,.62)),rS(t.Switch,"warningDisabledColor",Ob(t.warning.main,.62)),rS(t.TableCell,"border",Ob(Eb(t.divider,1),.88)),rS(t.Tooltip,"bg",Eb(t.grey[700],.92))}else{rS(t.Alert,"errorColor",Ob(t.error.light,.6)),rS(t.Alert,"infoColor",Ob(t.info.light,.6)),rS(t.Alert,"successColor",Ob(t.success.light,.6)),rS(t.Alert,"warningColor",Ob(t.warning.light,.6)),rS(t.Alert,"errorFilledBg",d("palette-error-dark")),rS(t.Alert,"infoFilledBg",d("palette-info-dark")),rS(t.Alert,"successFilledBg",d("palette-success-dark")),rS(t.Alert,"warningFilledBg",d("palette-warning-dark")),rS(t.Alert,"errorFilledColor",m.getContrastText(t.error.dark)),rS(t.Alert,"infoFilledColor",m.getContrastText(t.info.dark)),rS(t.Alert,"successFilledColor",m.getContrastText(t.success.dark)),rS(t.Alert,"warningFilledColor",m.getContrastText(t.warning.dark)),rS(t.Alert,"errorStandardBg",Cb(t.error.light,.9)),rS(t.Alert,"infoStandardBg",Cb(t.info.light,.9)),rS(t.Alert,"successStandardBg",Cb(t.success.light,.9)),rS(t.Alert,"warningStandardBg",Cb(t.warning.light,.9)),rS(t.Alert,"errorIconColor",d("palette-error-main")),rS(t.Alert,"infoIconColor",d("palette-info-main")),rS(t.Alert,"successIconColor",d("palette-success-main")),rS(t.Alert,"warningIconColor",d("palette-warning-main")),rS(t.AppBar,"defaultBg",d("palette-grey-900")),rS(t.AppBar,"darkBg",d("palette-background-paper")),rS(t.AppBar,"darkColor",d("palette-text-primary")),rS(t.Avatar,"defaultBg",d("palette-grey-600")),rS(t.Chip,"defaultBorder",d("palette-grey-700")),rS(t.Chip,"defaultAvatarColor",d("palette-grey-300")),rS(t.Chip,"defaultIconColor",d("palette-grey-300")),rS(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),rS(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),rS(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),rS(t.LinearProgress,"primaryBg",Cb(t.primary.main,.5)),rS(t.LinearProgress,"secondaryBg",Cb(t.secondary.main,.5)),rS(t.LinearProgress,"errorBg",Cb(t.error.main,.5)),rS(t.LinearProgress,"infoBg",Cb(t.info.main,.5)),rS(t.LinearProgress,"successBg",Cb(t.success.main,.5)),rS(t.LinearProgress,"warningBg",Cb(t.warning.main,.5)),rS(t.Skeleton,"bg",`rgba(${d("palette-text-primaryChannel")} / 0.13)`),rS(t.Slider,"primaryTrack",Cb(t.primary.main,.5)),rS(t.Slider,"secondaryTrack",Cb(t.secondary.main,.5)),rS(t.Slider,"errorTrack",Cb(t.error.main,.5)),rS(t.Slider,"infoTrack",Cb(t.info.main,.5)),rS(t.Slider,"successTrack",Cb(t.success.main,.5)),rS(t.Slider,"warningTrack",Cb(t.warning.main,.5));const e=Pb(t.background.default,.98);rS(t.SnackbarContent,"bg",e),rS(t.SnackbarContent,"color",m.getContrastText(e)),rS(t.SpeedDialAction,"fabHoverBg",Pb(t.background.paper,.15)),rS(t.StepConnector,"border",d("palette-grey-600")),rS(t.StepContent,"border",d("palette-grey-600")),rS(t.Switch,"defaultColor",d("palette-grey-300")),rS(t.Switch,"defaultDisabledColor",d("palette-grey-600")),rS(t.Switch,"primaryDisabledColor",Cb(t.primary.main,.55)),rS(t.Switch,"secondaryDisabledColor",Cb(t.secondary.main,.55)),rS(t.Switch,"errorDisabledColor",Cb(t.error.main,.55)),rS(t.Switch,"infoDisabledColor",Cb(t.info.main,.55)),rS(t.Switch,"successDisabledColor",Cb(t.success.main,.55)),rS(t.Switch,"warningDisabledColor",Cb(t.warning.main,.55)),rS(t.TableCell,"border",Cb(Eb(t.divider,1),.68)),rS(t.Tooltip,"bg",Eb(t.grey[700],.92))}t.common.backgroundChannel=wb(t.common.background),t.common.onBackgroundChannel=wb(t.common.onBackground),t.dividerChannel=wb(t.divider),Object.keys(t).forEach((e=>{const n=t[e];n.main&&(t[e].mainChannel=wb(n.main)),n.light&&(t[e].lightChannel=wb(n.light)),n.dark&&(t[e].darkChannel=wb(n.dark)),n.contrastText&&(t[e].contrastTextChannel=wb(n.contrastText)),n.primary&&(t[e].primaryChannel=wb(n.primary)),n.secondary&&(t[e].secondaryChannel=wb(n.secondary)),n.active&&(t[e].activeChannel=wb(n.active)),n.selected&&(t[e].selectedChannel=wb(n.selected))}))})),v=t.reduce(((e,t)=>Hp(e,t)),v),v}();!function(e){const{theme:t={},attribute:n=Nb,modeStorageKey:r=Mb,colorSchemeStorageKey:o=_b,defaultMode:i="light",defaultColorScheme:a,disableTransitionOnChange:l=!1,enableColorScheme:s=!0,shouldSkipGeneratingVar:u,resolveTheme:c,excludeVariablesFromRoot:d}=e;(!t.colorSchemes||"string"==typeof a&&!t.colorSchemes[a]||"object"==typeof a&&!t.colorSchemes[null==a?void 0:a.light]||"object"==typeof a&&!t.colorSchemes[null==a?void 0:a.dark])&&console.error(`MUI: \`${a}\` does not exist in \`theme.colorSchemes\`.`);const p=Q.exports.createContext(void 0)}({theme:oS,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>Ap({},e,{typography:Yx(e.palette,e.typography)}),shouldSkipGeneratingVar:e=>{var t;return!!e[0].match(/(typography|mixins|breakpoints|direction|transitions)/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/(mode|contrastThreshold|tonalOffset)/))},excludeVariablesFromRoot:e=>[...[...Array(24)].map(((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`)),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`]});var iS={},aS={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(aS);var lS={};function sS(e){return Wf("MuiSvgIcon",e)}Uf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const uS=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],cS=pw("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${pf(n.color)}`],t[`fontSize${pf(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h,m,v,g,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(i=o.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(l=a.pxToRem)?void 0:l.call(a,20))||"1.25rem",medium:(null==(s=e.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(h=f[t.color])?void 0:h.main)?p:{action:null==(m=(e.vars||e).palette)||null==(v=m.action)?void 0:v.active,disabled:null==(g=(e.vars||e).palette)||null==(y=g.action)?void 0:y.disabled,inherit:void 0}[t.color]}})),dS=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=n,p=Np(n,uS),f=Ap({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d}),h={};u||(h.viewBox=d);const m=(e=>{const{color:t,fontSize:n,classes:r}=e;return zf({root:["root","inherit"!==t&&`color${pf(t)}`,`fontSize${pf(n)}`]},sS,r)})(f);return Qf.exports.jsxs(cS,Ap({as:a,className:zp(m.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},h,p,{ownerState:f,children:[r,c?Qf.exports.jsx("title",{children:c}):null]}))}));function pS(e,t){const n=(n,r)=>Qf.exports.jsx(dS,Ap({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=dS.muiName,Q.exports.memo(Q.exports.forwardRef(n))}dS.muiName="SvgIcon";const fS={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),Df.configure(e)}};var hS,mS=K(Object.freeze({__proto__:null,unstable_ClassNameGenerator:fS,capitalize:pf,createChainedFunction:ff,createSvgIcon:pS,debounce:hf,deprecatedPropType:function(e,t){return()=>null},isMuiElement:mf,ownerDocument:vf,ownerWindow:gf,requirePropFactory:function(e,t){return()=>null},setRef:yf,unstable_useEnhancedEffect:bf,unstable_useId:kf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Sf,useEventCallback:Ef,useForkRef:Cf,useIsFocusVisible:Lf}));function vS(){return hS||(hS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=mS}(lS)),lS}var gS=aS.exports;Object.defineProperty(iS,"__esModule",{value:!0});var yS=iS.default=void 0,bS=gS(vS()),xS=Qf.exports,wS=(0,bS.default)((0,xS.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");function kS({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)),{})}yS=iS.default=wS;const SS=Q.exports.createContext();function ES(){return Q.exports.useContext(SS)}function CS(e){return Qf.exports.jsx(_g,Ap({},e,{defaultTheme:uw}))}function OS(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function PS(e,t=!1){return e&&(OS(e.value)&&""!==e.value||t&&OS(e.defaultValue)&&""!==e.defaultValue)}function RS(e){return Wf("MuiInputBase",e)}const TS=Uf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),MS=["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","startAdornment","type","value"],_S=(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${pf(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},NS=(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]},AS=pw("div",{name:"MuiInputBase",slot:"Root",overridesResolver:_S})((({theme:e,ownerState:t})=>Ap({},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",[`&.${TS.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Ap({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),LS=pw("input",{name:"MuiInputBase",slot:"Input",overridesResolver:NS})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Ap({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 Ap({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] + .${TS.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},[`&.${TS.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"})})),jS=Qf.exports.jsx(CS,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),IS=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:i,className:a,components:l={},componentsProps:s={},defaultValue:u,disabled:c,disableInjectingGlobalStyles:d,endAdornment:p,fullWidth:f=!1,id:h,inputComponent:m="input",inputProps:v={},inputRef:g,maxRows:y,minRows:b,multiline:x=!1,name:w,onBlur:k,onChange:S,onClick:E,onFocus:C,onKeyDown:O,onKeyUp:P,placeholder:R,readOnly:T,renderSuffix:M,rows:_,startAdornment:N,type:A="text",value:L}=n,j=Np(n,MS),I=null!=v.value?v.value:L,{current:F}=Q.exports.useRef(null!=I),z=Q.exports.useRef(),$=Q.exports.useCallback((e=>{}),[]),D=Cf(v.ref,$),B=Cf(g,D),W=Cf(z,B),[U,q]=Q.exports.useState(!1),V=ES(),H=kS({props:n,muiFormControl:V,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=V?V.focused:U,Q.exports.useEffect((()=>{!V&&c&&U&&(q(!1),k&&k())}),[V,c,U,k]);const K=V&&V.onFilled,G=V&&V.onEmpty,X=Q.exports.useCallback((e=>{PS(e)?K&&K():G&&G()}),[K,G]);bf((()=>{F&&X({value:I})}),[I,X,F]);Q.exports.useEffect((()=>{X(z.current)}),[]);let Y=m,Z=v;x&&"input"===Y&&(Z=Ap(_?{type:void 0,minRows:_,maxRows:_}:{type:void 0,maxRows:y,minRows:b},Z),Y=Vm);Q.exports.useEffect((()=>{V&&V.setAdornedStart(Boolean(N))}),[V,N]);const J=Ap({},n,{color:H.color||"primary",disabled:H.disabled,endAdornment:p,error:H.error,focused:H.focused,formControl:V,fullWidth:f,hiddenLabel:H.hiddenLabel,multiline:x,size:H.size,startAdornment:N,type:A}),ee=(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:p,startAdornment:f,type:h}=e;return zf({root:["root",`color${pf(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===p&&"sizeSmall",c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},RS,t)})(J),te=l.Root||AS,ne=s.root||{},re=l.Input||LS;return Z=Ap({},Z,s.input),Qf.exports.jsxs(Q.exports.Fragment,{children:[!d&&jS,Qf.exports.jsxs(te,Ap({},ne,!Dp(te)&&{ownerState:Ap({},J,ne.ownerState)},{ref:t,onClick:e=>{z.current&&e.currentTarget===e.target&&z.current.focus(),E&&E(e)}},j,{className:zp(ee.root,ne.className,a),children:[N,Qf.exports.jsx(SS.Provider,{value:null,children:Qf.exports.jsx(re,Ap({ownerState:J,"aria-invalid":H.error,"aria-describedby":r,autoComplete:o,autoFocus:i,defaultValue:u,disabled:H.disabled,id:h,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?z.current:{value:"x"})},name:w,placeholder:R,readOnly:T,required:H.required,rows:_,value:I,onKeyDown:O,onKeyUp:P,type:A},Z,!Dp(re)&&{as:Y,ownerState:Ap({},J,Z.ownerState)},{ref:W,className:zp(ee.input,Z.className),onBlur:e=>{k&&k(e),v.onBlur&&v.onBlur(e),V&&V.onBlur?V.onBlur(e):q(!1)},onChange:(e,...t)=>{if(!F){const t=e.target||z.current;if(null==t)throw new Error(Kp(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),S&&S(e,...t)},onFocus:e=>{H.disabled?e.stopPropagation():(C&&C(e),v.onFocus&&v.onFocus(e),V&&V.onFocus?V.onFocus(e):q(!0))}}))}),p,M?M(Ap({},H,{startAdornment:N})):null]}))]})}));function FS(e){return Wf("MuiInput",e)}const zS=Ap({},TS,Uf("MuiInput",["root","underline","input"])),$S=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],DS=pw(AS,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[..._S(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),Ap({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${zS.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zS.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${zS.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${zS.disabled}:before`]:{borderBottomStyle:"dotted"}})})),BS=pw(LS,{name:"MuiInput",slot:"Input",overridesResolver:NS})({}),WS=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:l="input",multiline:s=!1,type:u="text"}=n,c=Np(n,$S),d=(e=>{const{classes:t,disableUnderline:n}=e;return Ap({},t,zf({root:["root",!n&&"underline"],input:["input"]},FS,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=i?Hp(i,p):p;return Qf.exports.jsx(IS,Ap({components:Ap({Root:DS,Input:BS},o),componentsProps:f,fullWidth:a,inputComponent:l,multiline:s,ref:t,type:u},c,{classes:d}))}));function US(e){return Wf("MuiFilledInput",e)}WS.muiName="Input";const qS=Ap({},TS,Uf("MuiFilledInput",["root","underline","input"])),VS=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],HS=pw(AS,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[..._S(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return Ap({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${qS.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${qS.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${qS.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${qS.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${qS.disabled}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${qS.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Ap({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),KS=pw(LS,{name:"MuiFilledInput",slot:"Input",overridesResolver:NS})((({theme:e,ownerState:t})=>Ap({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),QS=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:i=!1,inputComponent:a="input",multiline:l=!1,type:s="text"}=n,u=Np(n,VS),c=Ap({},n,{fullWidth:i,inputComponent:a,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return Ap({},t,zf({root:["root",!n&&"underline"],input:["input"]},US,t))})(n),p={root:{ownerState:c},input:{ownerState:c}},f=o?Hp(o,p):p;return Qf.exports.jsx(IS,Ap({components:Ap({Root:HS,Input:KS},r),componentsProps:f,fullWidth:i,inputComponent:a,multiline:l,ref:t,type:s},u,{classes:d}))}));var GS;QS.muiName="Input";const XS=["children","classes","className","label","notched"],YS=pw("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),ZS=pw("legend")((({ownerState:e,theme:t})=>Ap({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Ap({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function JS(e){return Wf("MuiOutlinedInput",e)}const eE=Ap({},TS,Uf("MuiOutlinedInput",["root","notchedOutline","input"])),tE=["components","fullWidth","inputComponent","label","multiline","notched","type"],nE=pw(AS,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:_S})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Ap({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${eE.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${eE.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${eE.focused} .${eE.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${eE.error} .${eE.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${eE.disabled} .${eE.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Ap({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),rE=pw((function(e){const{className:t,label:n,notched:r}=e,o=Np(e,XS),i=null!=n&&""!==n,a=Ap({},e,{notched:r,withLabel:i});return Qf.exports.jsx(YS,Ap({"aria-hidden":!0,className:t,ownerState:a},o,{children:Qf.exports.jsx(ZS,{ownerState:a,children:i?Qf.exports.jsx("span",{children:n}):GS||(GS=Qf.exports.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),oE=pw(LS,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:NS})((({theme:e,ownerState:t})=>Ap({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),iE=Q.exports.forwardRef((function(e,t){var n;const r=fw({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:i=!1,inputComponent:a="input",label:l,multiline:s=!1,notched:u,type:c="text"}=r,d=Np(r,tE),p=(e=>{const{classes:t}=e;return Ap({},t,zf({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},JS,t))})(r),f=ES(),h=kS({props:r,muiFormControl:f,states:["required"]}),m=Ap({},r,{color:h.color||"primary",disabled:h.disabled,error:h.error,focused:h.focused,formControl:f,fullWidth:i,hiddenLabel:h.hiddenLabel,multiline:s,size:h.size,type:c});return Qf.exports.jsx(IS,Ap({components:Ap({Root:nE,Input:oE},o),renderSuffix:e=>Qf.exports.jsx(rE,{ownerState:m,className:p.notchedOutline,label:null!=l&&""!==l&&h.required?n||(n=Qf.exports.jsxs(Q.exports.Fragment,{children:[l," ","*"]})):l,notched:void 0!==u?u:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:i,inputComponent:a,multiline:s,ref:t,type:c},d,{classes:Ap({},p,{notchedOutline:null})}))}));function aE(e){return Wf("MuiFormLabel",e)}iE.muiName="Input";const lE=Uf("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),sE=["children","className","color","component","disabled","error","filled","focused","required"],uE=pw("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>Ap({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${lE.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${lE.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${lE.error}`]:{color:(e.vars||e).palette.error.main}}))),cE=pw("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${lE.error}`]:{color:(e.vars||e).palette.error.main}}))),dE=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:i="label"}=n,a=Np(n,sE),l=kS({props:n,muiFormControl:ES(),states:["color","required","focused","disabled","error","filled"]}),s=Ap({},n,{color:l.color||"primary",component:i,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),u=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e;return zf({root:["root",`color${pf(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]},aE,t)})(s);return Qf.exports.jsxs(uE,Ap({as:i,ownerState:s,className:zp(u.root,o),ref:t},a,{children:[r,l.required&&Qf.exports.jsxs(cE,{ownerState:s,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));function pE(e){return Wf("MuiInputLabel",e)}Uf("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const fE=["disableAnimation","margin","shrink","variant","className"],hE=pw(dE,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lE.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>Ap({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&Ap({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Ap({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&Ap({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"})))),mE=Q.exports.forwardRef((function(e,t){const n=fw({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o,className:i}=n,a=Np(n,fE),l=ES();let s=o;void 0===s&&l&&(s=l.filled||l.focused||l.adornedStart);const u=kS({props:n,muiFormControl:l,states:["size","variant","required"]}),c=Ap({},n,{disableAnimation:r,formControl:l,shrink:s,size:u.size,variant:u.variant,required:u.required}),d=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e;return Ap({},t,zf({root:["root",n&&"formControl",!i&&"animated",o&&"shrink","small"===r&&"sizeSmall",a],asterisk:[l&&"asterisk"]},pE,t))})(c);return Qf.exports.jsx(hE,Ap({"data-shrink":s,ownerState:c,ref:t,className:zp(d.root,i)},a,{classes:d}))}));function vE(e){return Wf("MuiFormControl",e)}Uf("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const gE=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],yE=pw("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Ap({},t.root,t[`margin${pf(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>Ap({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),bE=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiFormControl"}),{children:r,className:o,color:i="primary",component:a="div",disabled:l=!1,error:s=!1,focused:u,fullWidth:c=!1,hiddenLabel:d=!1,margin:p="none",required:f=!1,size:h="medium",variant:m="outlined"}=n,v=Np(n,gE),g=Ap({},n,{color:i,component:a,disabled:l,error:s,fullWidth:c,hiddenLabel:d,margin:p,required:f,size:h,variant:m}),y=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return zf({root:["root","none"!==n&&`margin${pf(n)}`,r&&"fullWidth"]},vE,t)})(g),[b,x]=Q.exports.useState((()=>{let e=!1;return r&&Q.exports.Children.forEach(r,(t=>{if(!mf(t,["Input","Select"]))return;const n=mf(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)})),e})),[w,k]=Q.exports.useState((()=>{let e=!1;return r&&Q.exports.Children.forEach(r,(t=>{mf(t,["Input","Select"])&&PS(t.props,!0)&&(e=!0)})),e})),[S,E]=Q.exports.useState(!1);l&&S&&E(!1);const C=void 0===u||l?S:u;const O=Q.exports.useCallback((()=>{k(!0)}),[]),P={adornedStart:b,setAdornedStart:x,color:i,disabled:l,error:s,filled:w,focused:C,fullWidth:c,hiddenLabel:d,size:h,onBlur:()=>{E(!1)},onEmpty:Q.exports.useCallback((()=>{k(!1)}),[]),onFilled:O,onFocus:()=>{E(!0)},registerEffect:undefined,required:f,variant:m};return Qf.exports.jsx(SS.Provider,{value:P,children:Qf.exports.jsx(yE,Ap({as:a,ownerState:g,className:zp(y.root,o),ref:t},v,{children:r}))})}));function xE(e){return Wf("MuiFormHelperText",e)}const wE=Uf("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var kE;const SE=["children","className","component","disabled","error","filled","focused","margin","required","variant"],EE=pw("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${pf(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${wE.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${wE.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),CE=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:i="p"}=n,a=Np(n,SE),l=kS({props:n,muiFormControl:ES(),states:["variant","size","disabled","error","filled","focused","required"]}),s=Ap({},n,{component:i,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),u=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:s}=e;return zf({root:["root",o&&"disabled",i&&"error",r&&`size${pf(r)}`,n&&"contained",l&&"focused",a&&"filled",s&&"required"]},xE,t)})(s);return Qf.exports.jsx(EE,Ap({as:i,ownerState:s,className:zp(u.root,o),ref:t},a,{children:" "===r?kE||(kE=Qf.exports.jsx("span",{className:"notranslate",children:""})):r}))})),OE=Q.exports.createContext({});function PE(e){return Wf("MuiList",e)}Uf("MuiList",["root","padding","dense","subheader"]);const RE=["children","className","component","dense","disablePadding","subheader"],TE=pw("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})=>Ap({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),ME=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=Np(n,RE),c=Q.exports.useMemo((()=>({dense:a})),[a]),d=Ap({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return zf({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},PE,t)})(d);return Qf.exports.jsx(OE.Provider,{value:c,children:Qf.exports.jsxs(TE,Ap({as:i,className:zp(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})})),_E=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function NE(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function AE(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function LE(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 jE(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")&&LE(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const IE=Q.exports.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=Np(e,_E),p=Q.exports.useRef(null),f=Q.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bf((()=>{r&&p.current.focus()}),[r]),Q.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${jf(vf(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=Cf(p,t);let m=-1;Q.exports.Children.forEach(i,((e,t)=>{Q.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t))}));const v=Q.exports.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),Q.exports.cloneElement(e,t)}return e}));return Qf.exports.jsx(ME,Ap({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=vf(t).activeElement;if("ArrowDown"===n)e.preventDefault(),jE(t,r,s,l,NE);else if("ArrowUp"===n)e.preventDefault(),jE(t,r,s,l,AE);else if("Home"===n)e.preventDefault(),jE(t,null,s,l,NE);else if("End"===n)e.preventDefault(),jE(t,null,s,l,AE);else if(1===n.length){const o=f.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&&LE(r,o);o.previousKeyMatched&&(s||jE(t,r,!1,l,NE,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:v}))})),FE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function zE(e){return`scale(${e}, ${e**2})`}const $E={entering:{opacity:1,transform:zE(1)},entered:{opacity:1,transform:"none"}},DE="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),BE=Q.exports.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:p,style:f,timeout:h="auto",TransitionComponent:m=Pw}=e,v=Np(e,FE),g=Q.exports.useRef(),y=Q.exports.useRef(),b=Hw(),x=Q.exports.useRef(null),w=Cf(o.ref,t),k=Cf(x,w),S=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=S(u),C=S(((e,t)=>{Kw(e);const{duration:n,delay:r,easing:o}=Qw({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=a):a=n,e.style.transition=[b.transitions.create("opacity",{duration:a,delay:r}),b.transitions.create("transform",{duration:DE?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),O=S(s),P=S(p),R=S((e=>{const{duration:t,delay:n,easing:r}=Qw({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:n}),b.transitions.create("transform",{duration:DE?o:.666*o,delay:DE?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=zE(.75),c&&c(e)})),T=S(d);return Q.exports.useEffect((()=>()=>{clearTimeout(g.current)}),[]),Qf.exports.jsx(m,Ap({appear:r,in:a,nodeRef:x,onEnter:C,onEntered:O,onEntering:E,onExit:R,onExited:T,onExiting:P,addEndListener:e=>{"auto"===h&&(g.current=setTimeout(e,y.current||0)),n&&n(x.current,e)},timeout:"auto"===h?null:h},v,{children:(e,t)=>Q.exports.cloneElement(o,Ap({style:Ap({opacity:0,transform:zE(.75),visibility:"exited"!==e||a?void 0:"hidden"},$E[e],f,o.props.style),ref:k},t))}))}));function WE(e){return Wf("MuiPopover",e)}BE.muiSupportAuto=!0,Uf("MuiPopover",["root","paper"]);const UE=["onEntering"],qE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function VE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function HE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function KE(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function QE(e){return"function"==typeof e?e():e}const GE=pw(ik,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),XE=pw(ck,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),YE=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:s,className:u,container:c,elevation:d=8,marginThreshold:p=16,open:f,PaperProps:h={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:v=BE,transitionDuration:g="auto",TransitionProps:{onEntering:y}={}}=n,b=Np(n.TransitionProps,UE),x=Np(n,qE),w=Q.exports.useRef(),k=Cf(w,h.ref),S=Ap({},n,{anchorOrigin:i,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:h,transformOrigin:m,TransitionComponent:v,transitionDuration:g,TransitionProps:b}),E=(e=>{const{classes:t}=e;return zf({root:["root"],paper:["paper"]},WE,t)})(S),C=Q.exports.useCallback((()=>{if("anchorPosition"===l)return a;const e=QE(o),t=(e&&1===e.nodeType?e:vf(w.current).body).getBoundingClientRect();return{top:t.top+VE(t,i.vertical),left:t.left+HE(t,i.horizontal)}}),[o,i.horizontal,i.vertical,a,l]),O=Q.exports.useCallback((e=>({vertical:VE(e,m.vertical),horizontal:HE(e,m.horizontal)})),[m.horizontal,m.vertical]),P=Q.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=O(t);if("none"===l)return{top:null,left:null,transformOrigin:KE(n)};const r=C();let i=r.top-n.vertical,a=r.left-n.horizontal;const s=i+t.height,u=a+t.width,c=gf(QE(o)),d=c.innerHeight-p,f=c.innerWidth-p;if(i<p){const e=i-p;i-=e,n.vertical+=e}else if(s>d){const e=s-d;i-=e,n.vertical+=e}if(a<p){const e=a-p;a-=e,n.horizontal+=e}else if(u>f){const e=u-f;a-=e,n.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(a)}px`,transformOrigin:KE(n)}}),[o,l,C,O,p]),R=Q.exports.useCallback((()=>{const e=w.current;if(!e)return;const t=P(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[P]);Q.exports.useEffect((()=>{f&&R()})),Q.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{R()}}:null),[f,R]),Q.exports.useEffect((()=>{if(!f)return;const e=hf((()=>{R()})),t=gf(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,R]);let T=g;"auto"!==g||v.muiSupportAuto||(T=void 0);const M=c||(o?vf(QE(o)).body:void 0);return Qf.exports.jsx(GE,Ap({BackdropProps:{invisible:!0},className:zp(E.root,u),container:M,open:f,ref:t,ownerState:S},x,{children:Qf.exports.jsx(v,Ap({appear:!0,in:f,onEntering:(e,t)=>{y&&y(e,t),R()},timeout:T},b,{children:Qf.exports.jsx(XE,Ap({elevation:d},h,{ref:k,className:zp(E.paper,h.className),ownerState:S,children:s}))}))}))}));function ZE(e){return Wf("MuiMenu",e)}Uf("MuiMenu",["root","paper","list"]);const JE=["onEntering"],eC=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],tC={vertical:"top",horizontal:"right"},nC={vertical:"top",horizontal:"left"},rC=pw(YE,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oC=pw(ck,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),iC=pw(IE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),aC=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,disableAutoFocusItem:i=!1,MenuListProps:a={},onClose:l,open:s,PaperProps:u={},PopoverClasses:c,transitionDuration:d="auto",TransitionProps:{onEntering:p}={},variant:f="selectedMenu"}=n,h=Np(n.TransitionProps,JE),m=Np(n,eC),v=Hw(),g="rtl"===v.direction,y=Ap({},n,{autoFocus:r,disableAutoFocusItem:i,MenuListProps:a,onEntering:p,PaperProps:u,transitionDuration:d,TransitionProps:h,variant:f}),b=(e=>{const{classes:t}=e;return zf({root:["root"],paper:["paper"],list:["list"]},ZE,t)})(y),x=r&&!i&&s,w=Q.exports.useRef(null);let k=-1;return Q.exports.Children.map(o,((e,t)=>{Q.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===k)&&(k=t))})),Qf.exports.jsx(rC,Ap({classes:c,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:g?"right":"left"},transformOrigin:g?tC:nC,PaperProps:Ap({component:oC},u,{classes:Ap({},u.classes,{root:b.paper})}),className:b.root,open:s,ref:t,transitionDuration:d,TransitionProps:Ap({onEntering:(e,t)=>{w.current&&w.current.adjustStyleForScrollbar(e,v),p&&p(e,t)}},h),ownerState:y},m,{children:Qf.exports.jsx(iC,Ap({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:w,autoFocus:r&&(-1===k||i),autoFocusItem:x,variant:f},a,{className:zp(b.list,a.className),children:o}))}))}));function lC(e){return Wf("MuiNativeSelect",e)}const sC=Uf("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),uC=["className","disabled","IconComponent","inputRef","variant"],cC=({ownerState:e,theme:t})=>Ap({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${sC.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),dC=pw("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:cw,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${sC.multiple}`]:t.multiple}]}})(cC),pC=({ownerState:e,theme:t})=>Ap({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${sC.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),fC=pw("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pf(n.variant)}`],n.open&&t.iconOpen]}})(pC),hC=Q.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:i,variant:a="standard"}=e,l=Np(e,uC),s=Ap({},e,{disabled:r,variant:a}),u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i}=e;return zf({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${pf(n)}`,i&&"iconOpen",r&&"disabled"]},lC,t)})(s);return Qf.exports.jsxs(Q.exports.Fragment,{children:[Qf.exports.jsx(dC,Ap({ownerState:s,className:zp(u.select,n),disabled:r,ref:i||t},l)),e.multiple?null:Qf.exports.jsx(fC,{as:o,ownerState:s,className:u.icon})]})}));function mC(e){return Wf("MuiSelect",e)}const vC=Uf("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var gC;const yC=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],bC=pw("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${vC.select}`]:t.select},{[`&.${vC.select}`]:t[n.variant]},{[`&.${vC.multiple}`]:t.multiple}]}})(cC,{[`&.${vC.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),xC=pw("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pf(n.variant)}`],n.open&&t.iconOpen]}})(pC),wC=pw("input",{shouldForwardProp:e=>dw(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function kC(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function SC(e){return null==e||"string"==typeof e&&!e.trim()}const EC=Q.exports.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:i,children:a,className:l,defaultOpen:s,defaultValue:u,disabled:c,displayEmpty:d,IconComponent:p,inputRef:f,labelId:h,MenuProps:m={},multiple:v,name:g,onBlur:y,onChange:b,onClose:x,onFocus:w,onOpen:k,open:S,readOnly:E,renderValue:C,SelectDisplayProps:O={},tabIndex:P,value:R,variant:T="standard"}=e,M=Np(e,yC),[_,N]=Sf({controlled:R,default:u,name:"Select"}),[A,L]=Sf({controlled:S,default:s,name:"Select"}),j=Q.exports.useRef(null),I=Q.exports.useRef(null),[F,z]=Q.exports.useState(null),{current:$}=Q.exports.useRef(null!=S),[D,B]=Q.exports.useState(),W=Cf(t,f),U=Q.exports.useCallback((e=>{I.current=e,e&&z(e)}),[]);Q.exports.useImperativeHandle(W,(()=>({focus:()=>{I.current.focus()},node:j.current,value:_})),[_]),Q.exports.useEffect((()=>{s&&A&&F&&!$&&(B(i?null:F.clientWidth),I.current.focus())}),[F,i]),Q.exports.useEffect((()=>{o&&I.current.focus()}),[o]),Q.exports.useEffect((()=>{if(!h)return;const e=vf(I.current).getElementById(h);if(e){const t=()=>{getSelection().isCollapsed&&I.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[h]);const q=(e,t)=>{e?k&&k(t):x&&x(t),$||(B(i?null:F.clientWidth),L(e))},V=Q.exports.Children.toArray(a),H=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(v){n=Array.isArray(_)?_.slice():[];const t=_.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),_!==n&&(N(n),b)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:g}}),b(o,e)}v||q(!1,t)}},K=null!==F&&A;let G,X;delete M["aria-invalid"];const Y=[];let Z=!1;(PS({value:_})||d)&&(C?G=C(_):Z=!0);const J=V.map(((e,t,n)=>{if(!Q.exports.isValidElement(e))return null;let r;if(v){if(!Array.isArray(_))throw new Error(Kp(2));r=_.some((t=>kC(t,e.props.value))),r&&Z&&Y.push(e.props.children)}else r=kC(_,e.props.value),r&&Z&&(X=e.props.children);if(void 0===e.props.value)return Q.exports.cloneElement(e,{"aria-readonly":!0,role:"option"});return Q.exports.cloneElement(e,{"aria-selected":r?"true":"false",onClick:H(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?(()=>{if(_)return r;const t=n.find((e=>void 0!==e.props.value&&!0!==e.props.disabled));return e===t||r})():r,value:void 0,"data-value":e.props.value})}));Z&&(G=v?0===Y.length?null:Y.reduce(((e,t,n)=>(e.push(t),n<Y.length-1&&e.push(", "),e)),[]):X);let ee,te=D;!i&&$&&F&&(te=F.clientWidth),ee=void 0!==P?P:c?null:0;const ne=O.id||(g?`mui-component-select-${g}`:void 0),re=Ap({},e,{variant:T,value:_,open:K}),oe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i}=e;return zf({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${pf(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},mC,t)})(re);return Qf.exports.jsxs(Q.exports.Fragment,{children:[Qf.exports.jsx(bC,Ap({ref:U,tabIndex:ee,role:"button","aria-disabled":c?"true":void 0,"aria-expanded":K?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[h,ne].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),q(!0,e))}},onMouseDown:c||E?null:e=>{0===e.button&&(e.preventDefault(),I.current.focus(),q(!0,e))},onBlur:e=>{!K&&y&&(Object.defineProperty(e,"target",{writable:!0,value:{value:_,name:g}}),y(e))},onFocus:w},O,{ownerState:re,className:zp(O.className,oe.select,l),id:ne,children:SC(G)?gC||(gC=Qf.exports.jsx("span",{className:"notranslate",children:""})):G})),Qf.exports.jsx(wC,Ap({value:Array.isArray(_)?_.join(","):_,name:g,ref:j,"aria-hidden":!0,onChange:e=>{const t=V.map((e=>e.props.value)).indexOf(e.target.value);if(-1===t)return;const n=V[t];N(n.props.value),b&&b(e,n)},tabIndex:-1,disabled:c,className:oe.nativeInput,autoFocus:o,ownerState:re},M)),Qf.exports.jsx(xC,{as:p,className:oe.icon,ownerState:re}),Qf.exports.jsx(aC,Ap({id:`menu-${g||""}`,anchorEl:F,open:K,onClose:e=>{q(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},m,{MenuListProps:Ap({"aria-labelledby":h,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:Ap({},m.PaperProps,{style:Ap({minWidth:te},null!=m.PaperProps?m.PaperProps.style:null)}),children:J}))]})}));var CC,OC,PC=pS(Qf.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const RC=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],TC={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>cw(e)&&"variant"!==e,slot:"Root"},MC=pw(WS,TC)(""),_C=pw(iE,TC)(""),NC=pw(QS,TC)(""),AC=Q.exports.forwardRef((function(e,t){const n=fw({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:i={},className:a,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=PC,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:v=!1,native:g=!1,onClose:y,onOpen:b,open:x,renderValue:w,SelectDisplayProps:k,variant:S="outlined"}=n,E=Np(n,RC),C=g?hC:EC,O=kS({props:n,muiFormControl:ES(),states:["variant"]}).variant||S,P=d||{standard:CC||(CC=Qf.exports.jsx(MC,{})),outlined:Qf.exports.jsx(_C,{label:f}),filled:OC||(OC=Qf.exports.jsx(NC,{}))}[O],R=(e=>{const{classes:t}=e;return t})(Ap({},n,{variant:O,classes:i})),T=Cf(t,P.ref);return Qf.exports.jsx(Q.exports.Fragment,{children:Q.exports.cloneElement(P,Ap({inputComponent:C,inputProps:Ap({children:o,IconComponent:u,variant:O,type:void 0,multiple:v},g?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:h,MenuProps:m,onClose:y,onOpen:b,open:x,renderValue:w,SelectDisplayProps:Ap({id:c},k)},p,{classes:p?Hp(R,p.classes):R},d?d.props.inputProps:{})},v&&g&&"outlined"===O?{notched:!0}:{},{ref:T,className:zp(P.props.className,a)},!d&&{variant:O},E))})}));function LC(e){return Wf("MuiTextField",e)}AC.muiName="Select",Uf("MuiTextField",["root"]);const jC=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],IC={standard:WS,filled:QS,outlined:iE},FC=pw(bE,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zC=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:i,className:a,color:l="primary",defaultValue:s,disabled:u=!1,error:c=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:f,id:h,InputLabelProps:m,inputProps:v,InputProps:g,inputRef:y,label:b,maxRows:x,minRows:w,multiline:k=!1,name:S,onBlur:E,onChange:C,onFocus:O,placeholder:P,required:R=!1,rows:T,select:M=!1,SelectProps:_,type:N,value:A,variant:L="outlined"}=n,j=Np(n,jC),I=Ap({},n,{autoFocus:o,color:l,disabled:u,error:c,fullWidth:p,multiline:k,required:R,select:M,variant:L}),F=(e=>{const{classes:t}=e;return zf({root:["root"]},LC,t)})(I),z={};"outlined"===L&&(m&&void 0!==m.shrink&&(z.notched=m.shrink),z.label=b),M&&(_&&_.native||(z.id=void 0),z["aria-describedby"]=void 0);const $=kf(h),D=f&&$?`${$}-helper-text`:void 0,B=b&&$?`${$}-label`:void 0,W=IC[L],U=Qf.exports.jsx(W,Ap({"aria-describedby":D,autoComplete:r,autoFocus:o,defaultValue:s,fullWidth:p,multiline:k,name:S,rows:T,maxRows:x,minRows:w,type:N,value:A,id:$,inputRef:y,onBlur:E,onChange:C,onFocus:O,placeholder:P,inputProps:v},z,g));return Qf.exports.jsxs(FC,Ap({className:zp(F.root,a),disabled:u,error:c,fullWidth:p,ref:t,required:R,color:l,variant:L,ownerState:I},j,{children:[null!=b&&""!==b&&Qf.exports.jsx(mE,Ap({htmlFor:$,id:B},m,{children:b})),M?Qf.exports.jsx(AC,Ap({"aria-describedby":D,id:$,labelId:B,value:A,input:U},_,{children:i})):U,f&&Qf.exports.jsx(CE,Ap({id:D},d,{children:f}))]}))}));var $C,DC,BC,WC,UC=pw("div")($C||($C=d(["\n display: flex;\n margin-top: 16px;\n margin-bottom: 4px;\n font-size: 14px;\n color: ",";\n"],["\n display: flex;\n margin-top: 16px;\n margin-bottom: 4px;\n font-size: 14px;\n color: ",";\n"])),(function(e){return e.theme.palette.text.secondary})),qC=pg(DC||(DC=d(["\n 0% { background-position: 0%; }\n 100% { background-position: 100%; }\n"],["\n 0% { background-position: 0%; }\n 100% { background-position: 100%; }\n"]))),VC=pw(zC)(BC||(BC=d(["\n margin: 0px;\n & .Mui-disabled {\n background: ",";\n }\n"],["\n margin: 0px;\n & .Mui-disabled {\n background: ",";\n }\n"])),(function(e){return e.theme.palette.grey[200]})),HC=pw("div")(WC||(WC=d(["\n margin-top: 10px;\n padding: 5px;\n border: 1px solid #ccc;\n width: 100%;\n border-radius: 5px;\n font-style: inherit;\n font-family: inherit;\n box-sizing: border-box;\n display: block;\n height: 42px;\n background: linear-gradient(\n 90deg,\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0.1),\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0)\n );\n background-size: 500% 500%;\n animation: "," 1.5s linear infinite alternate;\n"],["\n margin-top: 10px;\n padding: 5px;\n border: 1px solid #ccc;\n width: 100%;\n border-radius: 5px;\n font-style: inherit;\n font-family: inherit;\n box-sizing: border-box;\n display: block;\n height: 42px;\n background: linear-gradient(\n 90deg,\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0.1),\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0)\n );\n background-size: 500% 500%;\n animation: "," 1.5s linear infinite alternate;\n"])),qC),KC=function(){var e=Mp(),t=_p((function(e){return e.selectedLanguages})),n=t.length?t:Ep(),r=_p((function(e){return e.availableLanguages})),o=_p((function(e){return e.translationsForm})),i=_p((function(e){return e.formDisabled})),a=_p((function(e){return e.loading})),l=_p((function(e){return e.permittedLanguageIds})),s=function(t){return function(n){e({type:"ON_INPUT_CHANGE",payload:{key:t,value:n.target.value}})}};return _e.createElement(_e.Fragment,null,a?_e.createElement((function(){return _e.createElement(_e.Fragment,null,n.map((function(e){return _e.createElement(HC,{key:e})})))}),null):c([],u(t),!1).map((function(e){var t=null==r?void 0:r.find((function(t){return t.tag===e})),n=id(e,l,r);return _e.createElement(_e.Fragment,{key:e},_e.createElement(UC,null,(null==t?void 0:t.name)||e),_e.createElement(VC,{size:"small",disabled:i||!n,key:e,inputProps:{lang:e},minRows:2,maxRows:1/0,multiline:!0,fullWidth:!0,value:o[e]||"",onChange:s(e)}))})))};const QC=Uf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);pw("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})=>Ap({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)`:Eb(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"})),(({theme:e,ownerState:t})=>Ap({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>Ap({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>Ap({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),pw("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>Ap({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)`})));const GC=Uf("MuiListItemIcon",["root","alignItemsFlexStart"]);function XC(e){return Wf("MuiTypography",e)}pw("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})=>Ap({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Uf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const YC=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ZC=pw("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${pf(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Ap({margin:0},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}))),JC={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},eO={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tO=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiTypography"}),r=(e=>eO[e]||e)(n.color),o=Hy(Ap({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=JC}=o,f=Np(o,YC),h=Ap({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=l||(c?"p":p[d]||JC[d])||"span",v=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return zf({root:["root",i,"inherit"!==e.align&&`align${pf(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},XC,a)})(h);return Qf.exports.jsx(ZC,Ap({as:m,ref:t,ownerState:h,className:zp(v.root,a)},f))}));function nO(e){return Wf("MuiListItemText",e)}const rO=Uf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),oO=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],iO=pw("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${rO.primary}`]:t.primary},{[`& .${rO.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>Ap({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),aO=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiListItemText"}),{children:r,className:o,disableTypography:i=!1,inset:a=!1,primary:l,primaryTypographyProps:s,secondary:u,secondaryTypographyProps:c}=n,d=Np(n,oO),{dense:p}=Q.exports.useContext(OE);let f=null!=l?l:r,h=u;const m=Ap({},n,{disableTypography:i,inset:a,primary:!!f,secondary:!!h,dense:p}),v=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return zf({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},nO,t)})(m);return null==f||f.type===tO||i||(f=Qf.exports.jsx(tO,Ap({variant:p?"body2":"body1",className:v.primary,component:null!=s&&s.variant?void 0:"span",display:"block"},s,{children:f}))),null==h||h.type===tO||i||(h=Qf.exports.jsx(tO,Ap({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},c,{children:h}))),Qf.exports.jsxs(iO,Ap({className:zp(v.root,o),ownerState:m,ref:t},d,{children:[f,h]}))}));function lO(e){return Wf("MuiMenuItem",e)}const sO=Uf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),uO=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],cO=pw($k,{shouldForwardProp:e=>cw(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})=>Ap({},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"}},[`&.${sO.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eb(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sO.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Eb(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sO.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Eb(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})`:Eb(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sO.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sO.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${QC.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${QC.inset}`]:{marginLeft:52},[`& .${rO.root}`]:{marginTop:0,marginBottom:0},[`& .${rO.inset}`]:{paddingLeft:36},[`& .${GC.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Ap({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${GC.root} svg`]:{fontSize:"1.25rem"}})))),dO=Q.exports.forwardRef((function(e,t){const n=fw({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,p=Np(n,uO),f=Q.exports.useContext(OE),h={dense:i||f.dense||!1,disableGutters:l},m=Q.exports.useRef(null);bf((()=>{r&&m.current&&m.current.focus()}),[r]);const v=Ap({},n,{dense:h.dense,divider:a,disableGutters:l}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return Ap({},a,zf({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},lO,a))})(n),y=Cf(m,t);let b;return n.disabled||(b=void 0!==c?c:-1),Qf.exports.jsx(OE.Provider,{value:h,children:Qf.exports.jsx(cO,Ap({ref:y,role:u,tabIndex:b,component:o,focusVisibleClassName:zp(g.focusVisible,s),className:zp(g.root,d)},p,{ownerState:v,classes:g}))})}));function pO(e){return Wf("PrivateSwitchBase",e)}Uf("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const fO=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],hO=pw($k)((({ownerState:e})=>Ap({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),mO=pw("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),vO=Q.exports.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:i,defaultChecked:a,disabled:l,disableFocusRipple:s=!1,edge:u=!1,icon:c,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:v,onFocus:g,readOnly:y,required:b,tabIndex:x,type:w,value:k}=e,S=Np(e,fO),[E,C]=Sf({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),O=ES();let P=l;O&&void 0===P&&(P=O.disabled);const R="checkbox"===w||"radio"===w,T=Ap({},e,{checked:E,disabled:P,disableFocusRipple:s,edge:u}),M=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return zf({root:["root",n&&"checked",r&&"disabled",o&&`edge${pf(o)}`],input:["input"]},pO,t)})(T);return Qf.exports.jsxs(hO,Ap({component:"span",className:zp(M.root,i),centerRipple:!0,focusRipple:!s,disabled:P,tabIndex:null,role:void 0,onFocus:e=>{g&&g(e),O&&O.onFocus&&O.onFocus(e)},onBlur:e=>{m&&m(e),O&&O.onBlur&&O.onBlur(e)},ownerState:T,ref:t},S,{children:[Qf.exports.jsx(mO,Ap({autoFocus:n,checked:r,defaultChecked:a,className:M.input,disabled:P,id:R&&d,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;C(t),v&&v(e,t)},readOnly:y,ref:f,required:b,ownerState:T,tabIndex:x,type:w},"checkbox"===w&&void 0===k?{}:{value:k},p)),E?o:c]}))}));var gO=pS(Qf.exports.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),yO=pS(Qf.exports.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),bO=pS(Qf.exports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function xO(e){return Wf("MuiCheckbox",e)}const wO=Uf("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),kO=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],SO=pw(vO,{shouldForwardProp:e=>cw(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${pf(n.color)}`]]}})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Eb("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${wO.checked}, &.${wO.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${wO.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),EO=Qf.exports.jsx(yO,{}),CO=Qf.exports.jsx(gO,{}),OO=Qf.exports.jsx(bO,{}),PO=Q.exports.forwardRef((function(e,t){var n,r;const o=fw({props:e,name:"MuiCheckbox"}),{checkedIcon:i=EO,color:a="primary",icon:l=CO,indeterminate:s=!1,indeterminateIcon:u=OO,inputProps:c,size:d="medium",className:p}=o,f=Np(o,kO),h=s?u:l,m=s?u:i,v=Ap({},o,{color:a,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Ap({},t,zf({root:["root",n&&"indeterminate",`color${pf(r)}`]},xO,t))})(v);return Qf.exports.jsx(SO,Ap({type:"checkbox",inputProps:Ap({"data-indeterminate":s},c),icon:Q.exports.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:Q.exports.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:v,ref:t,className:zp(g.root,p)},f,{classes:g}))}));var RO,TO=pw(bE)(RO||(RO=d(["\n min-width: 200px;\n"],["\n min-width: 200px;\n"]))),MO=function(){var e=Mp(),t=_p((function(e){return e.availableLanguages})),n=_p((function(e){return e.selectedLanguages})),r=t?c([],u(t),!1).map((function(e){return{label:e.name,value:e.tag}})):[],o=r.filter((function(e){return n.includes(e.value)}));return _e.createElement(_e.Fragment,null,t&&_e.createElement(TO,{variant:"outlined",size:"small",style:{maxWidth:250}},_e.createElement(AC,{multiple:!0,value:o.map((function(e){return e.value})),onChange:function(t){return function(t){var n=t.target.value,r="string"==typeof n?n.split(","):n;e({type:"ON_SELECTED_LANGUAGES_CHANGE",payload:{languages:r}})}(t)},input:_e.createElement(iE,null),renderValue:function(e){return e.join(", ")},MenuProps:{style:{zIndex:C},disablePortal:!0}},r.map((function(e){return _e.createElement(dO,{key:e.value,value:e.value,dense:!0},_e.createElement(PO,{size:"small",checked:Boolean(o.find((function(t){return t.value===e.value})))}),_e.createElement(aO,null,e.label))})))))};function _O(e){return Wf("MuiCircularProgress",e)}Uf("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const NO=["className","color","disableShrink","size","style","thickness","value","variant"];let AO,LO,jO,IO,FO=e=>e;const zO=44,$O=pg(AO||(AO=FO`
|
|
116
|
+
0% {
|
|
117
|
+
transform: rotate(0deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
100% {
|
|
121
|
+
transform: rotate(360deg);
|
|
122
|
+
}
|
|
123
|
+
`)),DO=pg(LO||(LO=FO`
|
|
124
|
+
0% {
|
|
125
|
+
stroke-dasharray: 1px, 200px;
|
|
126
|
+
stroke-dashoffset: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
50% {
|
|
130
|
+
stroke-dasharray: 100px, 200px;
|
|
131
|
+
stroke-dashoffset: -15px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
stroke-dasharray: 100px, 200px;
|
|
136
|
+
stroke-dashoffset: -125px;
|
|
137
|
+
}
|
|
138
|
+
`)),BO=pw("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${pf(n.color)}`]]}})((({ownerState:e,theme:t})=>Ap({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&dg(jO||(jO=FO`
|
|
139
|
+
animation: ${0} 1.4s linear infinite;
|
|
140
|
+
`),$O))),WO=pw("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),UO=pw("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${pf(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>Ap({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&dg(IO||(IO=FO`
|
|
141
|
+
animation: ${0} 1.4s ease-in-out infinite;
|
|
142
|
+
`),DO))),qO=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:a=40,style:l,thickness:s=3.6,value:u=0,variant:c="indeterminate"}=n,d=Np(n,NO),p=Ap({},n,{color:o,disableShrink:i,size:a,thickness:s,value:u,variant:c}),f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return zf({root:["root",n,`color${pf(r)}`],svg:["svg"],circle:["circle",`circle${pf(n)}`,o&&"circleDisableShrink"]},_O,t)})(p),h={},m={},v={};if("determinate"===c){const e=2*Math.PI*((zO-s)/2);h.strokeDasharray=e.toFixed(3),v["aria-valuenow"]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return Qf.exports.jsx(BO,Ap({className:zp(f.root,r),style:Ap({width:a,height:a},m,l),ownerState:p,ref:t,role:"progressbar"},v,d,{children:Qf.exports.jsx(WO,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:Qf.exports.jsx(UO,{className:f.circle,style:h,ownerState:p,cx:zO,cy:zO,r:(zO-s)/2,fill:"none",strokeWidth:s})})}))}));var VO,HO,KO=pw(Jk)(VO||(VO=d(["\n position: 'relative';\n"],["\n position: 'relative';\n"]))),QO=pw("div")(HO||(HO=d(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),GO=function(e){var t=e.children,n=e.loading,r=e.disabled,a=i(e,["children","loading","disabled"]),l=n||r;return _e.createElement(KO,o({},a,{disabled:l}),n&&_e.createElement(QO,null,_e.createElement(qO,{size:25})),t)};const XO=pw(Mm,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),YO=Q.exports.forwardRef((function(e,t){const n=rb(),r=fw({props:e,name:"MuiPopper"});return Qf.exports.jsx(XO,Ap({direction:null==n?void 0:n.direction},r,{ref:t}))}));function ZO(e){return Wf("MuiTooltip",e)}const JO=Uf("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),eP=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];const tP=pw(YO,{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})=>Ap({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${JO.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${JO.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${JO.arrow}`]:Ap({},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"] .${JO.arrow}`]:Ap({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),nP=pw("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${pf(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Ap({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Eb(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},{[`.${JO.popper}[data-popper-placement*="left"] &`]:Ap({transformOrigin:"right center"},t.isRtl?Ap({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Ap({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${JO.popper}[data-popper-placement*="right"] &`]:Ap({transformOrigin:"left center"},t.isRtl?Ap({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Ap({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${JO.popper}[data-popper-placement*="top"] &`]:Ap({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${JO.popper}[data-popper-placement*="bottom"] &`]:Ap({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),rP=pw("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:Eb(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let oP=!1,iP=null;function aP(e,t){return n=>{t&&t(n),e(n)}}const lP=Q.exports.forwardRef((function(e,t){var n,r,o,i,a,l;const s=fw({props:e,name:"MuiTooltip"}),{arrow:u=!1,children:c,components:d={},componentsProps:p={},describeChild:f=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:v=!1,disableTouchListener:g=!1,enterDelay:y=100,enterNextDelay:b=0,enterTouchDelay:x=700,followCursor:w=!1,id:k,leaveDelay:S=0,leaveTouchDelay:E=1500,onClose:C,onOpen:O,open:P,placement:R="bottom",PopperComponent:T,PopperProps:M={},title:_,TransitionComponent:N=BE,TransitionProps:A}=s,L=Np(s,eP),j=Hw(),I="rtl"===j.direction,[F,z]=Q.exports.useState(),[$,D]=Q.exports.useState(null),B=Q.exports.useRef(!1),W=v||w,U=Q.exports.useRef(),q=Q.exports.useRef(),V=Q.exports.useRef(),H=Q.exports.useRef(),[K,G]=Sf({controlled:P,default:!1,name:"Tooltip",state:"open"});let X=K;const Y=kf(k),Z=Q.exports.useRef(),J=Q.exports.useCallback((()=>{void 0!==Z.current&&(document.body.style.WebkitUserSelect=Z.current,Z.current=void 0),clearTimeout(H.current)}),[]);Q.exports.useEffect((()=>()=>{clearTimeout(U.current),clearTimeout(q.current),clearTimeout(V.current),J()}),[J]);const ee=e=>{clearTimeout(iP),oP=!0,G(!0),O&&!X&&O(e)},te=Ef((e=>{clearTimeout(iP),iP=setTimeout((()=>{oP=!1}),800+S),G(!1),C&&X&&C(e),clearTimeout(U.current),U.current=setTimeout((()=>{B.current=!1}),j.transitions.duration.shortest)})),ne=e=>{B.current&&"touchstart"!==e.type||(F&&F.removeAttribute("title"),clearTimeout(q.current),clearTimeout(V.current),y||oP&&b?q.current=setTimeout((()=>{ee(e)}),oP?b:y):ee(e))},re=e=>{clearTimeout(q.current),clearTimeout(V.current),V.current=setTimeout((()=>{te(e)}),S)},{isFocusVisibleRef:oe,onBlur:ie,onFocus:ae,ref:le}=Lf(),[,se]=Q.exports.useState(!1),ue=e=>{ie(e),!1===oe.current&&(se(!1),re(e))},ce=e=>{F||z(e.currentTarget),ae(e),!0===oe.current&&(se(!0),ne(e))},de=e=>{B.current=!0;const t=c.props;t.onTouchStart&&t.onTouchStart(e)},pe=ne,fe=re,he=e=>{de(e),clearTimeout(V.current),clearTimeout(U.current),J(),Z.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",H.current=setTimeout((()=>{document.body.style.WebkitUserSelect=Z.current,ne(e)}),x)},me=e=>{c.props.onTouchEnd&&c.props.onTouchEnd(e),J(),clearTimeout(V.current),V.current=setTimeout((()=>{te(e)}),E)};Q.exports.useEffect((()=>{if(X)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||te(e)}}),[te,X]);const ve=Cf(z,t),ge=Cf(le,ve),ye=Cf(c.ref,ge);"number"==typeof _||_||(X=!1);const be=Q.exports.useRef({x:0,y:0}),xe=Q.exports.useRef(),we={},ke="string"==typeof _;f?(we.title=X||!ke||m?null:_,we["aria-describedby"]=X?Y:null):(we["aria-label"]=ke?_:null,we["aria-labelledby"]=X&&!ke?Y:null);const Se=Ap({},we,L,c.props,{className:zp(L.className,c.props.className),onTouchStart:de,ref:ye},w?{onMouseMove:e=>{const t=c.props;t.onMouseMove&&t.onMouseMove(e),be.current={x:e.clientX,y:e.clientY},xe.current&&xe.current.update()}}:{}),Ee={};g||(Se.onTouchStart=he,Se.onTouchEnd=me),m||(Se.onMouseOver=aP(pe,Se.onMouseOver),Se.onMouseLeave=aP(fe,Se.onMouseLeave),W||(Ee.onMouseOver=pe,Ee.onMouseLeave=fe)),h||(Se.onFocus=aP(ce,Se.onFocus),Se.onBlur=aP(ue,Se.onBlur),W||(Ee.onFocus=ce,Ee.onBlur=ue));const Ce=Q.exports.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean($),options:{element:$,padding:4}}];return null!=(e=M.popperOptions)&&e.modifiers&&(t=t.concat(M.popperOptions.modifiers)),Ap({},M.popperOptions,{modifiers:t})}),[$,M]),Oe=Ap({},s,{isRtl:I,arrow:u,disableInteractive:W,placement:R,PopperComponentProp:T,touch:B.current}),Pe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return zf({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${pf(i.split("-")[0])}`],arrow:["arrow"]},ZO,t)})(Oe),Re=null!=(n=d.Popper)?n:tP,Te=null!=(r=null!=(o=d.Transition)?o:N)?r:BE,Me=null!=(i=d.Tooltip)?i:nP,_e=null!=(a=d.Arrow)?a:rP,Ne=Bp(Re,Ap({},M,p.popper),Oe),Ae=Bp(Te,Ap({},A,p.transition),Oe),Le=Bp(Me,Ap({},p.tooltip),Oe),je=Bp(_e,Ap({},p.arrow),Oe);return Qf.exports.jsxs(Q.exports.Fragment,{children:[Q.exports.cloneElement(c,Se),Qf.exports.jsx(Re,Ap({as:null!=T?T:YO,placement:R,anchorEl:w?{getBoundingClientRect:()=>({top:be.current.y,left:be.current.x,right:be.current.x,bottom:be.current.y,width:0,height:0})}:F,popperRef:xe,open:!!F&&X,id:Y,transition:!0},Ee,Ne,{className:zp(Pe.popper,null==M?void 0:M.className,null==(l=p.popper)?void 0:l.className),popperOptions:Ce,children:({TransitionProps:e})=>{var t,n;return Qf.exports.jsx(Te,Ap({timeout:j.transitions.duration.shorter},e,Ae,{children:Qf.exports.jsxs(Me,Ap({},Le,{className:zp(Pe.tooltip,null==(t=p.tooltip)?void 0:t.className),children:[_,u?Qf.exports.jsx(_e,Ap({},je,{className:zp(Pe.arrow,null==(n=p.arrow)?void 0:n.className),ref:D})):null]}))}))}}))]})}));var sP={},uP=aS.exports;Object.defineProperty(sP,"__esModule",{value:!0});var cP=sP.default=void 0,dP=uP(vS()),pP=Qf.exports,fP=(0,dP.default)([(0,pP.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,pP.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"},"1")],"CameraAlt");cP=sP.default=fP;var hP={},mP=aS.exports;Object.defineProperty(hP,"__esModule",{value:!0});var vP=hP.default=void 0,gP=mP(vS()),yP=Qf.exports,bP=(0,gP.default)((0,yP.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");vP=hP.default=bP;var xP={},wP=aS.exports;Object.defineProperty(xP,"__esModule",{value:!0});var kP=xP.default=void 0,SP=wP(vS()),EP=Qf.exports,CP=(0,SP.default)((0,EP.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"Backup");kP=xP.default=CP;var OP={},PP=aS.exports;Object.defineProperty(OP,"__esModule",{value:!0});var RP=OP.default=void 0,TP=PP(vS()),MP=Qf.exports,_P=(0,TP.default)((0,MP.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"HighlightOff");RP=OP.default=_P;var NP,AP,LP,jP,IP=pw("div")(NP||(NP=d(["\n position: relative;\n display: flex;\n overflow: visible;\n flex-wrap: wrap;\n"],["\n position: relative;\n display: flex;\n overflow: visible;\n flex-wrap: wrap;\n"]))),FP=pw("div")(AP||(AP=d(["\n border: 1px dashed lightgrey;\n z-index: 2;\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.2s;\n &.valid {\n backdrop-filter: blur(5px);\n border: 1px solid ",";\n background-color: ",";\n opacity: 0.9;\n }\n &.invalid {\n border: 1px solid ",";\n opacity: 0.9;\n background-color: ",";\n backdrop-filter: blur(5px);\n }\n"],["\n border: 1px dashed lightgrey;\n z-index: 2;\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.2s;\n &.valid {\n backdrop-filter: blur(5px);\n border: 1px solid ",";\n background-color: ",";\n opacity: 0.9;\n }\n &.invalid {\n border: 1px solid ",";\n opacity: 0.9;\n background-color: ",";\n backdrop-filter: blur(5px);\n }\n"])),Ix,jx,hx,fx),zP=pw(kP)(LP||(LP=d(["\n filter: drop-shadow(1px 1px 0px ",")\n drop-shadow(-1px 1px 0px ",")\n drop-shadow(1px -1px 0px ",")\n drop-shadow(-1px -1px 0px ",");\n font-size: 100;\n color: ",";\n"],["\n filter: drop-shadow(1px 1px 0px ",")\n drop-shadow(-1px 1px 0px ",")\n drop-shadow(1px -1px 0px ",")\n drop-shadow(-1px -1px 0px ",");\n font-size: 100;\n color: ",";\n"])),Ix,Ix,Ix,Ix,(function(e){return e.theme.palette.common.white})),$P=pw(RP)(jP||(jP=d(["\n filter: drop-shadow(1px 1px 0px ",")\n drop-shadow(-1px 1px 0px ",") drop-shadow(1px -1px 0px ",")\n drop-shadow(-1px -1px 0px ",");\n font-size: 100;\n color: ",";\n"],["\n filter: drop-shadow(1px 1px 0px ",")\n drop-shadow(-1px 1px 0px ",") drop-shadow(1px -1px 0px ",")\n drop-shadow(-1px -1px 0px ",");\n font-size: 100;\n color: ",";\n"])),hx,hx,hx,hx,(function(e){return e.theme.palette.common.white})),DP=function(e){var t=e.validateAndUpload,n=e.enabled,r=i(e,["validateAndUpload","enabled"]),s=u(Q.exports.useState(null),2),c=s[0],d=s[1],p=u(Q.exports.useState(null),2),f=p[0],h=p[1],m={};return n&&(m={onDrop:function(e){return a(void 0,void 0,void 0,(function(){var n;return l(this,(function(r){return e.stopPropagation(),e.preventDefault(),e.dataTransfer.items&&(n=kp(e.dataTransfer.items),t(n)),d(null),[2]}))}))},onDragEnter:function(e){if(e.stopPropagation(),e.preventDefault(),h(e.target),e.dataTransfer.items){if(kp(e.dataTransfer.items).length>20)return void d("invalid");d("valid")}},onDragLeave:function(e){e.stopPropagation(),e.preventDefault(),e.target===f&&d(null)},onDragOver:function(e){e.stopPropagation(),e.preventDefault()}}),_e.createElement(_e.Fragment,null,_e.createElement(IP,o({},m,{"data-cy":"dropzone"}),_e.createElement(FP,{className:zp({valid:"valid"===c,invalid:"invalid"===c})},"valid"===c&&_e.createElement(zP,null),"invalid"===c&&_e.createElement($P,null)),r.children))},BP={},WP=aS.exports;Object.defineProperty(BP,"__esModule",{value:!0});var UP=BP.default=void 0,qP=WP(vS()),VP=Qf.exports,HP=(0,qP.default)((0,VP.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");UP=BP.default=HP;var KP,QP,GP,XP,YP,ZP,JP=pw("img")(KP||(KP=d(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n z-index: 1;\n transition: transform 0.1s, filter 0.5s;\n &:hover {\n transform: scale(1.1);\n }\n"],["\n width: 100%;\n height: 100%;\n object-fit: cover;\n z-index: 1;\n transition: transform 0.1s, filter 0.5s;\n &:hover {\n transform: scale(1.1);\n }\n"]))),eR=pw("div")(QP||(QP=d(["\n border: 1px solid ",";\n position: relative;\n box-sizing: border-box;\n width: 98px;\n height: 98px;\n align-items: center;\n justify-content: center;\n display: flex;\n margin: 1px;\n cursor: pointer;\n overflow: visible;\n"],["\n border: 1px solid ",";\n position: relative;\n box-sizing: border-box;\n width: 98px;\n height: 98px;\n align-items: center;\n justify-content: center;\n display: flex;\n margin: 1px;\n cursor: pointer;\n overflow: visible;\n"])),(function(e){return e.theme.palette.grey[300]})),tR=pw("div")(GP||(GP=d(["\n overflow: hidden;\n width: 100%;\n height: 100%;\n"],["\n overflow: hidden;\n width: 100%;\n height: 100%;\n"]))),nR=pw(qk)(XP||(XP=d(["\n position: absolute;\n z-index: 2;\n font-size: 20px;\n right: -8px;\n top: -8px;\n padding: 2px;\n background-color: rgba(62, 62, 62, 0.9);\n color: rgba(255, 255, 255, 0.8);\n visibility: hidden;\n opacity: 0;\n transition: visibility 0.1s linear, opacity 0.1s linear;\n &:hover {\n background-color: rgba(62, 62, 62, 1);\n color: rgba(255, 255, 255, 0.9);\n }\n &.hover {\n opacity: 1;\n visibility: visible;\n }\n"],["\n position: absolute;\n z-index: 2;\n font-size: 20px;\n right: -8px;\n top: -8px;\n padding: 2px;\n background-color: rgba(62, 62, 62, 0.9);\n color: rgba(255, 255, 255, 0.8);\n visibility: hidden;\n opacity: 0;\n transition: visibility 0.1s linear, opacity 0.1s linear;\n &:hover {\n background-color: rgba(62, 62, 62, 1);\n color: rgba(255, 255, 255, 0.9);\n }\n &.hover {\n opacity: 1;\n visibility: visible;\n }\n"]))),rR=pw(UP)(YP||(YP=d(["\n font-size: 20px;\n"],["\n font-size: 20px;\n"]))),oR=function(e){var t=u(Q.exports.useState(!1),2),n=t[0],r=t[1];return _e.createElement(eR,{onMouseOver:function(){r(!0)},onMouseOut:function(){r(!1)}},e.onDelete&&_e.createElement(lP,{title:"Delete",PopperProps:{disablePortal:!0,style:{zIndex:C}}},_e.createElement(nR,{onClick:function(){var t;null===(t=e.onDelete)||void 0===t||t.call(e,e.data.id)},className:zp({hover:n})},_e.createElement(rR,null))),_e.createElement(tR,{key:e.data.id,onClick:e.onClick},_e.createElement(JP,{onMouseDown:function(e){return e.preventDefault()},src:e.data.fileUrl,"aria-label":"Screenshot"})))},iR=pw("img")(ZP||(ZP=d(["\n width: 80vw;\n height: 80vh;\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n"],["\n width: 80vw;\n height: 80vh;\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n"]))),aR=function(e){var t=e.screenshot,n=e.onClose;return _e.createElement(bk,{open:!0,disablePortal:!0,disableEnforceFocus:!0,maxWidth:"lg",style:{zIndex:C},onClose:n},_e.createElement(iR,{src:t.fileUrl}))};function lR(e){return Wf("MuiDialogContent",e)}Uf("MuiDialogContent",["root","dividers"]);const sR=Uf("MuiDialogTitle",["root"]),uR=["className","dividers"],cR=pw("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>Ap({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${sR.root} + &`]:{paddingTop:0}}))),dR=Q.exports.forwardRef((function(e,t){const n=fw({props:e,name:"MuiDialogContent"}),{className:r,dividers:o=!1}=n,i=Np(n,uR),a=Ap({},n,{dividers:o}),l=(e=>{const{classes:t,dividers:n}=e;return zf({root:["root",n&&"dividers"]},lR,t)})(a);return Qf.exports.jsx(cR,Ap({className:zp(l.root,r),ownerState:a,ref:t},i))}));var pR,fR,hR,mR,vR,gR,yR,bR,xR,wR,kR,SR,ER,CR,OR,PR,RR,TR,MR,_R=pw("div")(pR||(pR=d(["\n display: flex;\n margin: 0px 0px 26px 0px;\n font-size: 19px;\n"],["\n display: flex;\n margin: 0px 0px 26px 0px;\n font-size: 19px;\n"]))),NR=pw("div")(fR||(fR=d(["\n margin: 8px 0px;\n"],["\n margin: 8px 0px;\n"]))),AR=pw("div")(hR||(hR=d(["\n display: flex;\n justify-content: flex-end;\n margin: ",";\n min-height: 36px;\n"],["\n display: flex;\n justify-content: flex-end;\n margin: ",";\n min-height: 36px;\n"])),(function(e){return e.theme.spacing(1)})),LR=function(e){var t=e.onClose,n=u(Q.exports.useState(!1),2),r=n[0],o=n[1];return Q.exports.useEffect((function(){var e=function(){o(!0)};return window.addEventListener("focus",e),function(){return window.removeEventListener("focus",e)}}),[]),_e.createElement(bk,{open:!0,disableEnforceFocus:!0,disablePortal:!0,style:{zIndex:C},onClose:t},r?_e.createElement(_e.Fragment,null,_e.createElement(dR,null,_e.createElement(_R,null,"Browser extension required"),_e.createElement(NR,null,"After installing the extension, you need to reload this page.")),_e.createElement(AR,null,_e.createElement(Jk,{onClick:function(){window.location.reload()},color:"primary",variant:"contained"},"Reload"))):_e.createElement(_e.Fragment,null,_e.createElement(dR,null,_e.createElement(_R,null,"Browser extension required"),_e.createElement(NR,null,"To make automatic screenshots please install Tolgee browser extension.")),_e.createElement(AR,null,_e.createElement(Jk,{onClick:t,color:"secondary"},"Cancel"),_e.createElement(Jk,{component:"a",color:"primary",variant:"contained",style:{marginLeft:10},href:"https://chrome.google.com/webstore/detail/tolgee-tools/hacnbapajkkfohnonhbmegojnddagfnj",rel:"noreferrer noopener",target:"_blank"},"Install"))))},jR=pw("div")(mR||(mR=d(["\n display: flex;\n flex-direction: column;\n height: 100px;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n flex-grow: 1;\n border: 1px dashed lightgrey;\n"],["\n display: flex;\n flex-direction: column;\n height: 100px;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n flex-grow: 1;\n border: 1px dashed lightgrey;\n"]))),IR=pw("div")(vR||(vR=d(["\n display: flex;\n width: 100px;\n height: 100px;\n align-items: center;\n justify-content: center;\n margin: 1px;\n"],["\n display: flex;\n width: 100px;\n height: 100px;\n align-items: center;\n justify-content: center;\n margin: 1px;\n"]))),FR=pw("div")(gR||(gR=d(["\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n"],["\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n"]))),zR=pw("div")(yR||(yR=d(["\n display: flex;\n"],["\n display: flex;\n"]))),$R=pw("div")(bR||(bR=d(["\n color: ",";\n"],["\n color: ",";\n"])),(function(e){return e.theme.palette.text.secondary})),DR=["image/png","image/jpeg","image/gif"],BR=function(){var e=Q.exports.useRef(null),t=Mp(),n=_p((function(e){return e.screenshots})),r=_p((function(e){return e.screenshotDetail})),o=_p((function(e){return e.pluginAvailable})),i=_p((function(e){return e.formDisabled})),a=_p((function(e){return e.screenshotsUploading})),l=_p((function(e){return e.scopes})),s=function(e){t({type:"HANDLE_REMOVE_SCREENSHOT",payload:{id:e}})},c=u(Q.exports.useState(!1),2),d=c[0],p=c[1],f=Sp("screenshots.upload",l)&&!i,h=Sp("screenshots.delete",l)&&!i;var m=function(e){var n=function(e){var t=[];e.length>20&&t.push("Too many files"),e.forEach((function(e){DR.indexOf(e.type)<0&&t.push("".concat(e.name,": unsupported format"))}));var n=0===t.length;return{errors:t,valid:n}}(e).valid;n&&function(e){t({type:"HANDLE_UPLOAD_IMAGES",payload:{files:e}})}(e)},v=function(){var t;null===(t=e.current)||void 0===t||t.dispatchEvent(new MouseEvent("click"))},g=o,y=Boolean(window.chrome);return _e.createElement(_e.Fragment,null,_e.createElement("input",{type:"file",style:{display:"none"},ref:e,onChange:function(e){return function(e){var t=e.target.files;if(t){for(var n=[],r=0;r<t.length;r++){var o=t.item(r);o&&n.push(o)}m(n)}}(e)},multiple:!0,accept:DR.join(",")}),_e.createElement(FR,null,_e.createElement(UC,null,"Screenshots"),_e.createElement(zR,null,f&&_e.createElement(_e.Fragment,null,(y||g)&&_e.createElement(lP,{title:"Take screenshot",PopperProps:{disablePortal:!0,style:{zIndex:C}}},_e.createElement(qk,{onClick:g?function(){t({type:"HANDLE_TAKE_SCREENSHOT"})}:function(){return p(!0)}},_e.createElement(cP,null))),_e.createElement(lP,{title:"Add image",PopperProps:{disablePortal:!0,style:{zIndex:C}}},_e.createElement(qk,{onClick:v},_e.createElement(vP,null)))))),_e.createElement(DP,{validateAndUpload:m,enabled:f},n.length?n.map((function(e){return _e.createElement(oR,{key:e.id,data:e,onClick:function(){return t({type:"OPEN_SCREENSHOT_DETAIL",payload:e})},onDelete:h||e.justUploaded?s:void 0})})):null,a&&_e.createElement(IR,null,_e.createElement(qO,null)),!n.length&&!a&&_e.createElement(jR,{style:{cursor:f?"pointer":"default"},onClick:f?v:void 0},_e.createElement($R,null,"There are no screenshots.",g&&f&&" Take screenshot by camera icon."),f&&_e.createElement($R,null,"Add some by dropping or clicking on plus."))),r&&_e.createElement(aR,{screenshot:r,onClose:function(){return t({type:"CLOSE_SCREENSHOT_DETAIL"})}}),d&&_e.createElement(LR,{onClose:function(){return p(!1)}}))},WR=function(e){return e||"No namespace"},UR=function(e){var t=e.onChange,n=e.options,r=e.value,o=f(n),i=1===o.length,a=i&&""===o[0];return _e.createElement(_e.Fragment,null,!a&&_e.createElement(_e.Fragment,null,_e.createElement(UC,null,"Namespace"),i?WR(o[0]):_e.createElement(bE,{variant:"outlined",size:"small",style:{maxWidth:250}},_e.createElement(AC,{displayEmpty:!0,value:r,onChange:function(e){return t(e.target.value)},input:_e.createElement(iE,null),renderValue:function(e){return WR(e)},MenuProps:{style:{zIndex:C},disablePortal:!0}},o.map((function(e){return _e.createElement(dO,{key:e,value:e,dense:!0},_e.createElement(aO,null,WR(e)))}))))))},qR=pw("div")(xR||(xR=d(["\n font-family: Rubik, Roboto, Arial;\n padding: 20px;\n box-sizing: border-box;\n max-width: 100%;\n width: 700px;\n display: flex;\n flex-direction: column;\n"],["\n font-family: Rubik, Roboto, Arial;\n padding: 20px;\n box-sizing: border-box;\n max-width: 100%;\n width: 700px;\n display: flex;\n flex-direction: column;\n"]))),VR=pw("div")(wR||(wR=d(["\n display: flex;\n align-items: center;\n gap: 5px;\n"],["\n display: flex;\n align-items: center;\n gap: 5px;\n"]))),HR=pw("div")(kR||(kR=d(["\n display: flex;\n margin: 0px;\n font-size: 19px;\n"],["\n display: flex;\n margin: 0px;\n font-size: 19px;\n"]))),KR=pw("div")(SR||(SR=d(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n"],["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-grow: 1;\n"]))),QR=pw("p")(ER||(ER=d(["\n margin: 0px;\n"],["\n margin: 0px;\n"]))),GR=pw("span")(CR||(CR=d(["\n color: grey;\n"],["\n color: grey;\n"]))),XR=pw("div")(OR||(OR=d(["\n margin-top: 20px;\n"],["\n margin-top: 20px;\n"]))),YR=pw("div")(PR||(PR=d(["\n margin-top: 10px;\n"],["\n margin-top: 10px;\n"]))),ZR=pw("div")(RR||(RR=d(["\n display: flex;\n justify-content: flex-end;\n margin-top: 20px;\n min-height: 36px;\n"],["\n display: flex;\n justify-content: flex-end;\n margin-top: 20px;\n min-height: 36px;\n"]))),JR=pw("div")(TR||(TR=d(["\n margin-top: 8px;\n color: ",";\n"],["\n margin-top: 8px;\n color: ",";\n"])),(function(e){return e.theme.palette.text.secondary})),eT=pw("div")(MR||(MR=d(["\n color: red;\n"],["\n color: red;\n"]))),tT=function(){var e,t=Mp(),n=_p((function(e){return e.linkToPlatform})),r=_p((function(e){return e.useBrowserWindow})),i=_p((function(e){return e.input})),a=_p((function(e){return e.translations})),l=_p((function(e){return e.formDisabled})),s=_p((function(e){return e.loading})),u=_p((function(e){return e.error})),c=_p((function(e){return e.saving})),d=_p((function(e){return e.success})),p=_p((function(e){return e.keyExists})),f=_p((function(e){return e.scopes})),h=_p((function(e){return e.ns})),m=_p((function(e){return e.selectedNs})),v=Sp("screenshots.view",f),g=!s&&!u;return _e.createElement(qR,o({},((e={})["data-tolgee-restricted"]="true",e)),_e.createElement(VR,null,_e.createElement("a",{href:n,target:"_blank",rel:"noreferrer noopener",id:"_tolgee_platform_link"},_e.createElement("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",opacity:"0.99",fill:"#822B55",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2,height:23}},_e.createElement("path",{d:"M97.16,7.27a16.94,16.94,0,0,0-1.9,24.47,16.36,16.36,0,0,0,5,3.83,3.23,3.23,0,0,1-2.9,5.77,23.14,23.14,0,0,1-11.41-13C73.83,31.1,63.46,37.09,52.82,46.51c-27.44,24.3-34.35,61.74-16.38,85.26-4.57,5.79-8,12.22-8.9,18.69a20.88,20.88,0,0,0,5.62,18c9.18,9.61,21.42,7.13,31.26,5.14,6.58-1.34,12.8-2.6,16.5-.23,3.22,2.07,3.47,3.87,3.61,4.45,2.1,9.32-5.79,13.89-7.67,16.27a1.48,1.48,0,0,0,1.13,2.4c3.48,0,9-1.18,12.34-4.08s7.16-7.9,5.89-16.32c-.08-.5-.18-1-.32-1.58-.86-3.35-3.1-7.57-8.61-11.09-7.72-4.95-17-3.07-25.22-1.41-9.76,2-16,2.85-20.37-1.71a9.13,9.13,0,0,1-2.46-8.19c.54-3.77,2.65-7.89,5.62-11.86,21.71,16.89,56.87,13.47,82.67-9.39a75.34,75.34,0,0,0,20.81-28.09A23.14,23.14,0,0,1,134.8,89a3.23,3.23,0,0,1,6.08-2.19,16.37,16.37,0,0,0,3.2,5.39,16.85,16.85,0,1,0,11.48-28,3.23,3.23,0,0,1-.51-6.44,23.41,23.41,0,0,1,12.88,2.69c2.6-14.08,3.34-31.41-2.06-37.51-4.08-4.61-20.62-8-35.18-7.76A23.48,23.48,0,0,1,130.8,25a3.23,3.23,0,0,1-6.33-1.28A16.94,16.94,0,0,0,97.16,7.27Zm63.25,21a5.29,5.29,0,0,1-.57,6.19c-1.29,1.14-2.72-.51-4.1-2.06s-3.1-3.42-1.81-4.56A5.74,5.74,0,0,1,160.41,28.27Z"}))),_e.createElement(HR,null,"Quick translation"),!r&&_e.createElement(qk,{title:"Open in new window",onClick:function(){t({type:"SET_USE_BROWSER_WINDOW",payload:!0})},color:"inherit",size:"small"},_e.createElement(yS,{fontSize:"small"})),_e.createElement(KR,null,!s&&_e.createElement(MO,null))),_e.createElement(UC,null,"Key"),_e.createElement(QR,null,i,_e.createElement(GR,null,!p&&g&&" (key doesn't exist yet)")),_e.createElement(UR,{options:h,value:m,onChange:function(e){t({type:"SELECTED_NS_CHANGE",payload:{ns:e}})}}),_e.createElement(XR,null,_e.createElement(KC,null)),v&&g&&_e.createElement(YR,null,_e.createElement(BR,null)),l&&g&&_e.createElement(JR,null,"Modification is restricted due to missing ".concat(void 0!==(null==a?void 0:a.keyId)?"translations.edit":"keys.edit"," scope in current api key settings.")),u&&_e.createElement(eT,null,u),_e.createElement(ZR,null,_e.createElement(Jk,{onClick:function(){t({type:"ON_CLOSE"})},color:"secondary"},r?"Close":"Cancel"),_e.createElement(GO,{loading:c,disabled:c||l,onClick:function(){t({type:"ON_SAVE"})},color:"primary",variant:"contained",style:{marginLeft:"10px"}},d?"Saved! ✓":void 0===(null==a?void 0:a.keyId)?"Create":"Update")))},nT=sw({typography:{fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},palette:{primary:{main:"#822B55"},secondary:{main:"#2B5582"},text:{secondary:"#808080"},background:{default:"rgb(255, 255, 255)"}},zIndex:{modal:C}});nT=sw(nT,{components:{MuiButton:{styleOverrides:{root:{whiteSpace:"nowrap"}}},MuiTooltip:{styleOverrides:{tooltip:{fontSize:12,boxShadow:"1px 1px 6px rgba(0, 0, 0, 0.25)",borderRadius:"11px",color:"black",backgroundColor:"white"}}}}});var rT,oT,iT,aT=function(e){var t,n=e.children,r=Q.exports.useRef(sv({key:"css",prepend:!0,container:null===(t=document.getElementById(E))||void 0===t?void 0:t.shadowRoot}));return _e.createElement(lg,{value:r.current},_e.createElement(Tb,{theme:nT},n))},lT=function(){return _e.createElement(aT,null,_e.createElement(wk,null,_e.createElement(tT,null)))},sT=function(e){function t(t){var n=e.call(this,t)||this;return n.state={key:null,defaultValue:void 0,dialogOpened:!1,ns:void 0},n.render=function(){return Q.exports.createElement(Yc,null,Q.exports.createElement(yp,{apiUrl:n.props.apiUrl,apiKey:n.props.apiKey},n.state.dialogOpened&&Q.exports.createElement(Tp,{uiProps:n.props,defaultValue:n.state.defaultValue||"",open:n.state.dialogOpened,keyName:n.state.key,ns:n.state.ns,onClose:n.onClose},Q.exports.createElement(lT,null))))},n.onClose=function(){n.setState(o(o({},n.state),{dialogOpened:!1}))},n}return r(t,e),t.prototype.translationEdit=function(e,t,n){this.setState(o(o({},this.state),{dialogOpened:!0,defaultValue:t,key:e,ns:n}))},t}(Q.exports.Component),uT=pw(dO)(rT||(rT=d(["\n display: flex;\n flex-direction: column;\n height: 50px;\n justify-content: center;\n align-items: flex-start;\n"],["\n display: flex;\n flex-direction: column;\n height: 50px;\n justify-content: center;\n align-items: flex-start;\n"]))),cT=pw("div")(oT||(oT=d(["\n display: flex;\n padding: 3px;\n"],["\n display: flex;\n padding: 3px;\n"]))),dT=pw("div")(iT||(iT=d(["\n display: flex;\n margin-top: -5px;\n padding: 3px;\n font-weight: bold;\n font-size: 12px;\n font-family: Monospace, 'Courier New', Courier;\n"],["\n display: flex;\n margin-top: -5px;\n padding: 3px;\n font-weight: bold;\n font-size: 12px;\n font-family: Monospace, 'Courier New', Courier;\n"]))),pT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={opened:!1},t.keyDown=function(e){"Escape"===e.key&&(t.setState((function(e){return o(o({},e),{opened:!1})})),t.state.onSelect&&t.state.onSelect(void 0))},t}return r(t,e),t.prototype.show=function(e){return a(this,void 0,void 0,(function(){return l(this,(function(t){return this.setState(o(o({},e),{opened:!0})),[2]}))}))},t.prototype.componentDidMount=function(){document.addEventListener("keydown",this.keyDown)},t.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.keyDown)},t.prototype.render=function(){var e,t=this;return _e.createElement(aT,null,this.state.opened&&_e.createElement(aC,{disablePortal:!0,disableEnforceFocus:!0,anchorEl:null===(e=this.state.openEvent)||void 0===e?void 0:e.target,anchorOrigin:{vertical:"bottom",horizontal:"center"},open:!0,onClose:function(){var e,n;t.setState({opened:!1}),null===(n=(e=t.state).onSelect)||void 0===n||n.call(e,void 0)},container:document.getElementById(E),style:{zIndex:C}},Array.from(this.state.keys||[]).map((function(e,n){var r=u(e,2),o=r[0],i=r[1];return _e.createElement(uT,{onClick:function(){var e,n;null===(n=(e=t.state).onSelect)||void 0===n||n.call(e,o),setTimeout((function(){t.setState({opened:!1})}))},key:n},_e.createElement(cT,{"data-testid":"key_context_menu_translation"},i),_e.createElement(dT,{"data-testid":"key_context_menu_key"},o))}))))},t}(_e.Component),fT=function(){function e(e){this.props=e;var t=document.getElementById(E);t||((t=document.createElement("div")).id=E,t.attachShadow({mode:"open"}),document.body.appendChild(t));var n=t.shadowRoot,r=document.createElement("div");n.appendChild(r);var i=document.createElement("div");n.appendChild(i);var a=Q.exports.createElement(sT,o({},this.props));this.viewerComponent=Ae.exports.render(a,r),this.keyContextMenu=Ae.exports.render(Q.exports.createElement(pT),i)}return e.prototype.renderViewer=function(e,t,n){this.viewerComponent.translationEdit(e,t,n)},e.prototype.getKey=function(e){return a(this,void 0,void 0,(function(){var t=this;return l(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(n){t.keyContextMenu.show(o(o({},e),{onSelect:function(e){return n(e)}}))}))];case 1:return[2,n.sent()]}}))}))},e.prototype.handleElementClick=function(e,t){return a(this,void 0,void 0,(function(){var n,r,o;return l(this,(function(i){switch(i.label){case 0:return n=t[0].key,t.length>1?(r=new Map(t.map((function(e){var t=e.key,n=e.translation,r=e.defaultValue;return[t,n||r]}))),[4,this.getKey({openEvent:e,keys:r})]):[3,2];case 1:n=i.sent(),i.label=2;case 2:return n&&(o=t.find((function(e){return e.key===n})),null==this||this.renderViewer(n,o.defaultValue,o.ns)),[2]}}))}))},e}();e.InContextTools=function(e){return function(t,n){return t.use(V()),n.hasObserver()||t.use(B()),n.hasUi()||t.use((function(e,t){return t.setUi(fT),e})),e&&n.overrideCredentials(e),t}},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
143
|
+
//# sourceMappingURL=tolgee-in-context-tools.umd.min.js.map
|