iobroker.telegram 6.4.0 → 6.6.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/README.md +13 -11
- package/admin/custom/assets/Components-vpdwlj7m.js +1 -0
- package/admin/custom/assets/{TelegramComponent-C3-GtI7c.js → TelegramComponent-wOl6DKZ6.js} +1 -1
- package/admin/custom/assets/{_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomTelegramSet__mf_owner__1-DJIdwwyD.js → _virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomTelegramSet__mf_owner__1-DCsc8iqZ.js} +1 -1
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-xkznT_KX.js → _virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-CxNeamkQ.js} +3 -3
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare__shared-AcdRJ9g1.js → _virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare__shared-C-gU7hu1.js} +1 -1
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CzaA27i4.js → _virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CMwgvnOG.js} +3 -3
- package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild__react_mf_2_dom_mf_1_client__prebuild__-OUz4TPLO.js → _virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild__react_mf_2_dom_mf_1_client__prebuild__--TyyS8Hg.js} +1 -1
- package/admin/custom/assets/{hostInit-CR7X3BVU.js → hostInit-gBYkxb2H.js} +1 -1
- package/admin/custom/assets/{index-DASuFkWw.js → index-DycdQ7VC.js} +1 -1
- package/admin/custom/assets/{lib-Bo8s9r0H.js → lib-B7Ib_TIo.js} +1 -1
- package/admin/custom/assets/{mf-entry-bootstrap-0-153fe003.js → mf-entry-bootstrap-0-0ce98c0c.js} +3 -3
- package/admin/custom/assets/{pendingShares-BLi3_Mzu.js → pendingShares-A1AiW8Om.js} +1 -1
- package/admin/custom/assets/{prod-B1LT4e-j.js → prod-CFBGBQIV.js} +1 -1
- package/admin/custom/assets/{vite-preload-helper-BbbETgeG.js → vite-preload-helper-D97eqSzU.js} +1 -1
- package/admin/custom/customComponents.js +2 -2
- package/admin/i18n/de.json +1 -1
- package/admin/i18n/en.json +1 -1
- package/admin/i18n/es.json +2 -2
- package/admin/i18n/fr.json +1 -1
- package/admin/i18n/it.json +2 -2
- package/admin/i18n/nl.json +1 -1
- package/admin/i18n/pl.json +1 -1
- package/admin/i18n/pt.json +1 -1
- package/admin/i18n/ru.json +1 -1
- package/admin/i18n/uk.json +1 -1
- package/admin/i18n/zh-cn.json +1 -1
- package/admin/jsonConfig.json +1 -1
- package/admin/rules/@mf-types.zip +0 -0
- package/admin/rules/assets/{ActionTelegram-DYcZv36t.js → ActionTelegram-Cj2O1_nC.js} +1 -1
- package/admin/rules/assets/_virtual_mf-localSharedImportMap___mfe_internal__ActionTelegram__mf_owner__1-CgEFT1sR.js +1 -0
- package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__loadShare__shared-BPnrbOmM.js +2 -0
- package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild___mf_0_iobroker_mf_1_gui_mf_2_components__prebuild__-DpkR8IYJ.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild___mf_0_iobroker_mf_1_gui_mf_2_components__prebuild__-Dijl-8Yz.js} +1 -1
- package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild__react__prebuild__-CCVlBWKm.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild__react__prebuild__-BC1ksIG3.js} +1 -1
- package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild__react_mf_2_dom__prebuild__-h_a0kZzS.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild__react_mf_2_dom__prebuild__-BKIEIMpK.js} +1 -1
- package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild__react_mf_2_dom_mf_1_client__prebuild__-BRmB6rdf.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild__react_mf_2_dom_mf_1_client__prebuild__-Z4maObry.js} +2 -2
- package/admin/rules/assets/bootstrap-DXpvbwSM.js +1 -0
- package/admin/rules/assets/{hostInit-DHMkrH3X.js → hostInit-BseUHHIH.js} +1 -1
- package/admin/rules/assets/{index-ClFbFt3x.js → index-O_hPs1Le.js} +2 -2
- package/admin/rules/assets/{mf-entry-bootstrap-0-6b56715e.js → mf-entry-bootstrap-0-8c531ff9.js} +3 -3
- package/admin/rules/assets/pendingShares-Dq1QfrKV.js +2 -0
- package/admin/rules/assets/{react-BZk3575t.js → react-DlmbjZJV.js} +1 -1
- package/admin/rules/assets/{react-dom-1nogLxXJ.js → react-dom-1flDk5uq.js} +1 -1
- package/admin/rules/assets/{vite-preload-helper-BbbETgeG.js → vite-preload-helper-D97eqSzU.js} +1 -1
- package/admin/rules/customRuleBlocks.js +2 -2
- package/admin/rules/index.html +3 -3
- package/admin/rules/mf-manifest.json +1 -1
- package/admin/rules/mf-stats.json +1 -1
- package/build/help.d.ts +10 -0
- package/build/help.js +79 -0
- package/build/help.js.map +1 -0
- package/build/main.js +30 -9
- package/build/main.js.map +1 -1
- package/build/types.d.ts +1 -1
- package/io-package.json +29 -28
- package/package.json +1 -1
- package/admin/custom/assets/Components-joLukTKa.js +0 -1
- package/admin/rules/assets/_virtual_mf-localSharedImportMap___mfe_internal__ActionTelegram__mf_owner__1-BsHXqCvo.js +0 -1
- package/admin/rules/assets/_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__loadShare__shared-BIBHA1kT.js +0 -2
- package/admin/rules/assets/bootstrap-770dTuCT.js +0 -1
- package/admin/rules/assets/pendingShares-qfYu7oWw.js +0 -2
- /package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild__prop_mf_2_types__prebuild__-B1D0xwSZ.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild__prop_mf_2_types__prebuild__-B1D0xwSZ.js} +0 -0
- /package/admin/rules/assets/{_virtual_mf___mfe_internal__ActionTelegram__mf_owner__34670834521048__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-lLn5ruiO.js → _virtual_mf___mfe_internal__ActionTelegram__mf_owner__161822206763778__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-lLn5ruiO.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./prod-
|
|
2
|
-
import{i as e,n as t,t as n}from"./rolldown-runtime-COiEfhsA.js";import{A as r,B as i,C as a,D as o,E as s,F as c,H as l,I as u,L as d,M as f,N as p,O as m,P as h,R as g,S as _,T as v,b as y,g as b,i as x,j as S,k as C,m as w,n as T,o as E,r as D,t as O,u as k,v as A,w as j,x as M,y as N,z as P}from"./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-BqNtIUwy.js";import{t as F}from"./vite-preload-helper-BbbETgeG.js";import{t as ee}from"./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-_NCgGj0v.js";var te=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},ne=Symbol.for(`module-federation.shared-cache-listeners`),re=e=>{let t=e[ne];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,ne,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ie=(e,t,n)=>{let r=re(e);(r[t.canonical]||=new Set).add(n)},ae=Symbol.for(`module-federation.shared-cache-owners`),oe=e=>{let t=e[ae];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,ae,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},se=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},ce=(e,t)=>{if(e===t)return!0;let n=se(e),r=se(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},le=(e,t,n,r)=>{var i;let a=te(e,t);if(a!==void 0&&ce(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[ae];r===void 0?s&&delete s[t.canonical]:oe(e)[t.canonical]=r;let c=(i=e[ne])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n};function ue(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var I=`$$material`,de=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),fe=n(((e,t)=>{var n=de();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),L=n(((e,t)=>{t.exports=fe()()})),pe=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__mf_v__runtimeInit__mf_v__.js__`,me=globalThis[pe];if(!me){let e,t,n=new Promise((n,r)=>{e=n,t=r});me=globalThis[pe]={initPromise:n,initResolve:e,initReject:t}}var he=me.initPromise,ge=`__mf_module_cache__`;globalThis[ge]||={share:{},remote:{}},globalThis[ge].share||={},globalThis[ge].remote||={};var _e=globalThis[ge],ve=e=>{let t=_e.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(_e.share))if(e.startsWith(`default:`)){let t=e.slice(8);_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}var ye=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},be,R,z,xe=e=>{be=e.Fragment,R=e.jsx,z=e.jsxs,e.default};ie(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},xe);var Se=te(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Se===void 0?ve(he.then(()=>{if(Se=te(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Se!==void 0)xe(Se);else return F(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-M61rjtmp.js`).then(e=>{Se=ye(e),le(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Se,`ConfigCustomTelegramSet`)}),[],import.meta.url)})):xe(Se);var Ce=new Map,we={insert:void 0},Te=(e,t)=>{let n=w(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ee;if(typeof document==`object`&&(Ee=document.querySelector(`[name="emotion-insertion-point"]`),!Ee)){Ee=document.createElement(`meta`),Ee.setAttribute(`name`,`emotion-insertion-point`),Ee.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ee)}function De(e,t){if(e||t){class n extends b{insert(e,t){return we.insert?we.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ee),super.insert(e,t))}}let r=Te({key:t?`mui`:`css`,insertionPoint:e?Ee:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Oe(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=c(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ce.has(e))return Ce.get(e);let r=De(t,n);return Ce.set(e,r),r},[t,n]);return i?R(O,{value:i,children:r}):r}function ke(e){return e==null||Object.keys(e).length===0}function Ae(e){let{styles:t,defaultTheme:n={}}=e;return R(E,{styles:typeof t==`function`?e=>t(ke(e)?n:e):t})}function je(e,t){return ee(e,t)}function Me(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ne=[];function Pe(e){return Ne[0]=e,k(Ne)}var Fe=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),Ie=n(((e,t)=>{t.exports=Fe()}))();function Le(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Re(e){if(v(e)||(0,Ie.isValidElementType)(e)||!Le(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Re(e[n])}),t}function ze(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Le(e)&&Le(t)&&Object.keys(t).forEach(i=>{v(t[i])||(0,Ie.isValidElementType)(t[i])?r[i]=t[i]:Le(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Le(e[i])?r[i]=ze(e[i],t[i],n):n.clone?r[i]=Le(t[i])?Re(t[i]):t[i]:r[i]=t[i]}),r}var Be=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Ve(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Be(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var He=/min-width:\s*([0-9.]+)/;function Ue(e,t){if(!e.containerQueries||!We(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(He))==null?void 0:n[1])||0)-(((r=t.match(He))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function We(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Ge(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ke(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function qe(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Je={borderRadius:4};function Ye(e){if(e==null)return!0;for(let t in e)return!1;return!0}function Xe(e,t){let n=Array.isArray(t),r=Array.isArray(e);return tt(t)?t:nt(e)?rt(t):n&&r?$e(e,t):n===r?it(e,t):rt(t)}function Ze(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rt(e[t]);return r}function Qe(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rt(e[n]));return t}function $e(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rt(t[r]);return e}function et(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function tt(e){return typeof e!=`object`||!e}function nt(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rt(e){return et(e)?Array.isArray(e)?Ze(e):Qe(e):e}function it(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?Xe(e[n],t[n]):rt(t[n]));return e}var at={},ot={xs:0,sm:600,md:900,lg:1200,xl:1536},st=Ve({values:ot}),ct={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ot[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function lt(e,t,n){let r={};return ut(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:Xe(r,a)})}function ut(e,t,n,r){if(t??=at,Array.isArray(n)){let i=t.breakpoints??st;for(let t=0;t<n.length;t+=1)dt(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??st,a=i.values??ot;for(let o in n)if(Ge(i.keys,o)){let i=Ke(t.containerQueries?t:ct,o);i&&dt(e,i,n[o],o,r)}else if(o in a)dt(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function dt(e,t,n,r,i){e[t]??={},i(t,n,r)}function ft(e=st){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function pt(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];Ye(t[r])&&delete t[r]}return t}function mt(e,...t){return pt(e,[ft(e),...t].reduce((e,t)=>ze(e,t),{}))}function ht(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function gt(e){let{values:t,breakpoints:n,base:r}=e,i=r||ht(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function _t(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(Ge(e.keys,n[t]))return!0}return!1}function vt(e){if(typeof e!=`string`)throw Error(ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yt(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&bt(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function bt(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=xt(e.vars,i,r);if(t!=null)return t}return xt(e,i,r)}function xt(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:vt(e)}`;return r==null?void 0:r[i]}return i}function St(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=bt(o,r)||{};return lt(e,a,e=>{let r=yt(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Ct={internal_cache:{}},wt={m:`margin`,p:`padding`},Tt={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Et={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Dt={};for(let e in wt)Dt[e]=[wt[e]];for(let e in wt)for(let t in Tt){let n=wt[e],r=Tt[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Dt[e+t]=i}for(let e in Et)Dt[e]=Dt[Et[e]];var Ot=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),kt=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Ot,...kt];function At(e,t,n,r){let i=bt(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function jt(e){return At(e,`spacing`,8,`spacing`)}function Mt(e,t){return typeof t==`string`||t==null?t:e(t)}var Nt=[``];function Pt(e,t){var n;let r=e.theme??Ct,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??jt(r),a={};for(let n in e){if(!t.has(n))continue;let r=Dt[n]??(Nt[0]=n,Nt),o=e[n];ut(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=Mt(i,t)})}return a}function Ft(e){return Pt(e,Ot)}Ft.propTypes={},Ft.filterProps=Ot;var It=Ft;function Lt(e){return Pt(e,kt)}Lt.propTypes={},Lt.filterProps=kt;var Rt=Lt;function zt(e=8,t=jt({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Bt(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&Xe(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Vt(e){return typeof e==`number`?`${e}px solid`:e}function Ht(e,t){return St({prop:e,themeKey:`borders`,transform:t})}var eee=Ht(`border`,Vt),tee=Ht(`borderTop`,Vt),nee=Ht(`borderRight`,Vt),ree=Ht(`borderBottom`,Vt),iee=Ht(`borderLeft`,Vt),aee=Ht(`borderColor`),oee=Ht(`borderTopColor`),see=Ht(`borderRightColor`),cee=Ht(`borderBottomColor`),lee=Ht(`borderLeftColor`),uee=Ht(`outline`,Vt),dee=Ht(`outlineColor`),Ut=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=At(e.theme,`shape.borderRadius`,4,`borderRadius`);return lt(e,e.borderRadius,e=>({borderRadius:Mt(t,e)}))}return null};Ut.propTypes={},Ut.filterProps=[`borderRadius`],Bt(eee,tee,nee,ree,iee,aee,oee,see,cee,lee,Ut,uee,dee);var Wt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=At(e.theme,`spacing`,8,`gap`);return lt(e,e.gap,e=>({gap:Mt(t,e)}))}return null};Wt.propTypes={},Wt.filterProps=[`gap`];var Gt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=At(e.theme,`spacing`,8,`columnGap`);return lt(e,e.columnGap,e=>({columnGap:Mt(t,e)}))}return null};Gt.propTypes={},Gt.filterProps=[`columnGap`];var Kt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=At(e.theme,`spacing`,8,`rowGap`);return lt(e,e.rowGap,e=>({rowGap:Mt(t,e)}))}return null};Kt.propTypes={},Kt.filterProps=[`rowGap`],Bt(Wt,Gt,Kt,St({prop:`gridColumn`}),St({prop:`gridRow`}),St({prop:`gridAutoFlow`}),St({prop:`gridAutoColumns`}),St({prop:`gridAutoRows`}),St({prop:`gridTemplateColumns`}),St({prop:`gridTemplateRows`}),St({prop:`gridTemplateAreas`}),St({prop:`gridArea`}));function qt(e,t){return t===`grey`?t:e}Bt(St({prop:`color`,themeKey:`palette`,transform:qt}),St({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qt}),St({prop:`backgroundColor`,themeKey:`palette`,transform:qt}));var fee=ot;function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var pee=St({prop:`width`,transform:Jt}),Yt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?lt(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||fee[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Jt(t)}}):null;Yt.filterProps=[`maxWidth`];var mee=St({prop:`minWidth`,transform:Jt}),hee=St({prop:`height`,transform:Jt}),gee=St({prop:`maxHeight`,transform:Jt}),_ee=St({prop:`minHeight`,transform:Jt});St({prop:`size`,cssProperty:`width`,transform:Jt}),St({prop:`size`,cssProperty:`height`,transform:Jt}),Bt(pee,Yt,mee,hee,gee,_ee,St({prop:`boxSizing`}));var Xt={border:{themeKey:`borders`,transform:Vt},borderTop:{themeKey:`borders`,transform:Vt},borderRight:{themeKey:`borders`,transform:Vt},borderBottom:{themeKey:`borders`,transform:Vt},borderLeft:{themeKey:`borders`,transform:Vt},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Vt},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ut},color:{themeKey:`palette`,transform:qt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qt},backgroundColor:{themeKey:`palette`,transform:qt},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:It},mt:{style:It},mr:{style:It},mb:{style:It},ml:{style:It},mx:{style:It},my:{style:It},margin:{style:It},marginTop:{style:It},marginRight:{style:It},marginBottom:{style:It},marginLeft:{style:It},marginX:{style:It},marginY:{style:It},marginInline:{style:It},marginInlineStart:{style:It},marginInlineEnd:{style:It},marginBlock:{style:It},marginBlockStart:{style:It},marginBlockEnd:{style:It},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Wt},rowGap:{style:Kt},columnGap:{style:Gt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Jt},maxWidth:{style:Yt},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},vee={};function yee(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=vee,nested:i}=t,a=r.unstable_sxConfig??Xt,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??st,l=ft(c);for(let n in s){let i=bee(s[n],r);i!=null&&(typeof i==`object`?a[n]?Qt(l,n,i,r,a):_t(c,i)?ut(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Qt(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":Ue(r,pt(c,l))}:Ue(r,pt(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Zt=yee();function Qt(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){Xe(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=bt(r,o);ut(e,r,n,(n,r)=>{let i=yt(u,l,r,t);c===!1?Xe(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function bee(e,t){return typeof e==`function`?e(t):e}function xee(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function $t(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ve(n),c=zt(i),l=ze({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Je,...a}},o);return l=qe(l),l.applyStyles=xee,l=t.reduce((e,t)=>ze(e,t),l),l.unstable_sxConfig={...Xt,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return Zt({sx:e,theme:this})},l.internal_cache={},l}function See(e){return Object.keys(e).length===0}function en(e=null){let t=C(T);return!t||See(t)?e:t}var Cee=$t();function tn(e=Cee){return en(e)}function nn(e){let t=Pe(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function rn({styles:e,themeId:t,defaultTheme:n={}}){let r=tn(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>nn(typeof e==`function`?e(i):e)):nn(a)),R(Ae,{styles:a})}var an=e=>e,on=(()=>{let e=an;return{configure(t){e=t},generate(t){return e(t)},reset(){e=an}}})();function sn(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=sn(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function B(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sn(e))&&(r&&(r+=` `),r+=t);return r}function wee(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=je(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(Zt);return j(function(e,o){let s=tn(n),{className:c,component:l=`div`,...u}=e;return R(a,{as:l,ref:o,className:B(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var Tee={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function V(e,t,n=`Mui`){let r=Tee[t];return r?`${n}-${r}`:`${on.generate(e)}-${t}`}function cn(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=V(e,t,n)}),r}function ln(e){let{variants:t,...n}=e,r={variants:t,style:Pe(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Pe(e.style))}),r}var Eee=$t();function un(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function dn(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Dee(e){return e?(t,n)=>n[e]:null}function Oee(e,t,n){e.theme=Ye(e.theme)?n:e.theme[t]||e.theme}function fn(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>fn(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?dn(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?dn(Pe(i),n):i}return kee(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?dn(Pe(r.style),n):r.style:n?dn(Pe(r),n):r}function kee(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?dn(Pe(s.style(i)),r):s.style(i))):n.push(r?dn(Pe(s.style),r):s.style)}return n}function Aee(e={}){let{themeId:t,defaultTheme:n=Eee,rootShouldForwardProp:r=un,slotShouldForwardProp:i=un}=e;function a(e){Oee(e,t,n)}return(e,t={})=>{Me(e,e=>e.filter(e=>e!==Zt));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Dee(Mee(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=un;o===`Root`||o===`root`?m=r:o?m=i:jee(e)&&(m=void 0);let h=je(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return fn(t,e,t.theme.modularCssLayers?d:void 0)};if(Le(e)){let t=ln(e);return function(e){return t.variants?fn(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?dn(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=fn(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?kee(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Zt),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function jee(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Mee(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var pn=Aee();function mn(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>mn((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=mn(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=B(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Nee(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:mn(t.components[n].defaultProps,r)}function hn(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=tn(r);return i&&(a=a[i]||a),Nee({theme:a,name:n,props:t})}var gn=typeof window<`u`?h:S;function Pee(e,t,n,r,i){let[a,o]=g(()=>i&&n?n(e).matches:r?r(e).matches:t);return gn(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Fee={...i}.useSyncExternalStore;function Iee(e,t,n,r,i){let a=m(()=>t,[t]),o=c(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,l]=c(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Fee(l,s,o)}function Lee(e={}){let{themeId:t}=e;return function(e,n={}){let r=en();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:l=!1}=Nee({name:`MuiUseMediaQuery`,props:n,theme:r}),u=c(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),d=typeof e==`function`?e(r):e;return d=d.replace(/^@media( ?)/m,``),d.includes(`print`)&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(Fee===void 0?Pee:Iee)(d,a,u,s,l)}}Lee();function _n(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function vn(e,t=0,n=1){return _n(e,t,n)}function yn(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Ree(e){let t=e.toString(16);return t.length===1?`0${t}`:t}function bn(e){if(e.type)return e;if(e.charAt(0)===`#`)return bn(yn(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(ue(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(ue(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var xn=e=>{let t=bn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Sn=(e,t)=>{try{return xn(e)}catch{return e}};function Cn(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function zee(e){if(e.startsWith(`#`))return e;let{values:t}=bn(e);return`#${t.map((e,t)=>Ree(t===3?Math.round(255*e):e)).join(``)}`}function wn(e){e=bn(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Cn({type:s,values:c})}function Tn(e){e=bn(e);let t=e.type===`hsl`||e.type===`hsla`?bn(wn(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function En(e,t){let n=Tn(e),r=Tn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Dn(e,t){return e=bn(e),t=vn(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Cn(e)}function On(e,t,n){try{return Dn(e,t)}catch{return e}}function kn(e,t){if(e=bn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Cn(e)}function An(e,t,n){try{return kn(e,t)}catch{return e}}function jn(e,t){if(e=bn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Cn(e)}function Mn(e,t,n){try{return jn(e,t)}catch{return e}}function Nn(e,t=.15){return Tn(e)>.5?kn(e,t):jn(e,t)}function Pn(e,t,n){try{return Nn(e,t)}catch{return e}}var Fn=M(null);function In(){return C(Fn)}var Bee=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Vee(e,t){return typeof t==`function`?t(e):{...e,...t}}function Hee(e){let{children:t,theme:n}=e,r=In(),i=c(()=>{let e=r===null?{...n}:Vee(r,n);return e!=null&&(e[Bee]=r!==null),e},[n,r]);return R(Fn.Provider,{value:i,children:t})}var Ln=M(void 0);function Uee({value:e,...t}){return R(Ln.Provider,{value:e??!0,...t})}var Rn=()=>C(Ln)??!1,zn=M(void 0);function Wee({value:e,children:t}){return R(zn.Provider,{value:e,children:t})}function Gee(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?mn(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?mn(i,r,t.components.mergeClassNameAndStyle):r}function Kee({props:e,name:t}){return Gee({props:e,name:t,theme:{components:C(zn)}})}var Bn=0;function qee(e){let[t,n]=g(e),r=e||t;return S(()=>{t??(Bn+=1,n(`mui-${Bn}`))},[t]),r}var Vn={...i}.useId;function Hn(e){if(Vn!==void 0){let t=Vn();return e??t}return qee(e)}function Jee(e){let t=en(),n=Hn()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,gn(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){var r;if(t&&(r=t.hasAttribute)!=null&&r.call(t,`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let a=document.createElement(`style`);a.setAttribute(`data-mui-layer-order`,n),a.textContent=i,e.prepend(a)}else{var a;(a=e.querySelector(`style[data-mui-layer-order="${n}"]`))==null||a.remove()}},[i,n]),i?R(rn,{styles:i}):null}var Un={};function Wn(e,t,n,r=!1){return c(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Gn(e){let{children:t,theme:n,themeId:r}=e,i=en(Un),a=In()||Un,o=Wn(r,i,n),s=Wn(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Jee(o);return R(Hee,{theme:s,children:R(T.Provider,{value:o,children:R(Uee,{value:c,children:z(Wee,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Kn={theme:void 0};function Yee(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Kn.theme=r.theme,i=ln(e(Kn)),t=i,n=r.theme),i}}var qn=`mode`,Jn=`color-scheme`,Xee=`data-color-scheme`,Yn={...i}.useSyncExternalStore,Zee=()=>()=>{};function Xn(e){return JSON.stringify(e).replace(/</g,`\\u003c`).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}function Zn(e,t){let n=e.split(`%s`),r=[];for(let e=0;e<n.length;e+=1)e>0&&r.push(t),n[e]&&r.push(Xn(n[e]));return r.join(` + `)||`""`}function Qee(){return Yn===void 0||Yn(Zee,()=>!1,()=>!0)}function Qn(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=qn,colorSchemeStorageKey:a=Jn,attribute:o=Xee,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove(${Zn(e,`light`)}, ${Zn(e,`dark`)});
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./prod-CFBGBQIV.js","./rolldown-runtime-COiEfhsA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as e,n as t,t as n}from"./rolldown-runtime-COiEfhsA.js";import{A as r,B as i,C as a,D as o,E as s,F as c,H as l,I as u,L as d,M as f,N as p,O as m,P as h,R as g,S as _,T as v,b as y,g as b,i as x,j as S,k as C,m as w,n as T,o as E,r as D,t as O,u as k,v as A,w as j,x as M,y as N,z as P}from"./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-BqNtIUwy.js";import{t as F}from"./vite-preload-helper-D97eqSzU.js";import{t as ee}from"./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-_NCgGj0v.js";var te=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},ne=Symbol.for(`module-federation.shared-cache-listeners`),re=e=>{let t=e[ne];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,ne,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ie=(e,t,n)=>{let r=re(e);(r[t.canonical]||=new Set).add(n)},ae=Symbol.for(`module-federation.shared-cache-owners`),oe=e=>{let t=e[ae];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,ae,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},se=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},ce=(e,t)=>{if(e===t)return!0;let n=se(e),r=se(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},le=(e,t,n,r)=>{var i;let a=te(e,t);if(a!==void 0&&ce(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[ae];r===void 0?s&&delete s[t.canonical]:oe(e)[t.canonical]=r;let c=(i=e[ne])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n};function ue(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var I=`$$material`,de=n(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),fe=n(((e,t)=>{var n=de();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),L=n(((e,t)=>{t.exports=fe()()})),pe=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__mf_v__runtimeInit__mf_v__.js__`,me=globalThis[pe];if(!me){let e,t,n=new Promise((n,r)=>{e=n,t=r});me=globalThis[pe]={initPromise:n,initResolve:e,initReject:t}}var he=me.initPromise,ge=`__mf_module_cache__`;globalThis[ge]||={share:{},remote:{}},globalThis[ge].share||={},globalThis[ge].remote||={};var _e=globalThis[ge],ve=e=>{let t=_e.pendingShareLoads||=[];t.push(e);let n=()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)};return e.then(n,n),e};for(let e of Object.keys(_e.share))if(e.startsWith(`default:`)){let t=e.slice(8);_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;_e.share[t]===void 0&&(_e.share[t]=_e.share[e])}var ye=e=>{let t=(()=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t})();return t&&Object.getPrototypeOf(t)===null?Object.assign({},t):t},be,R,z,xe=e=>{be=e.Fragment,R=e.jsx,z=e.jsxs,e.default};ie(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},xe);var Se=te(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]});Se===void 0?ve(he.then(()=>{if(Se=te(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]}),Se!==void 0)xe(Se);else return F(()=>import(`./_virtual_mf___mfe_internal__ConfigCustomTelegramSet__mf_owner__228362784883620__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-M61rjtmp.js`).then(e=>{Se=ye(e),le(_e.share,{canonical:`default:react/jsx-runtime`,aliases:[`react/jsx-runtime`]},Se,`ConfigCustomTelegramSet`)}),[],import.meta.url)})):xe(Se);var Ce=new Map,we={insert:void 0},Te=(e,t)=>{let n=w(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},Ee;if(typeof document==`object`&&(Ee=document.querySelector(`[name="emotion-insertion-point"]`),!Ee)){Ee=document.createElement(`meta`),Ee.setAttribute(`name`,`emotion-insertion-point`),Ee.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(Ee)}function De(e,t){if(e||t){class n extends b{insert(e,t){return we.insert?we.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=Ee),super.insert(e,t))}}let r=Te({key:t?`mui`:`css`,insertionPoint:e?Ee:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function Oe(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=c(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ce.has(e))return Ce.get(e);let r=De(t,n);return Ce.set(e,r),r},[t,n]);return i?R(O,{value:i,children:r}):r}function ke(e){return e==null||Object.keys(e).length===0}function Ae(e){let{styles:t,defaultTheme:n={}}=e;return R(E,{styles:typeof t==`function`?e=>t(ke(e)?n:e):t})}function je(e,t){return ee(e,t)}function Me(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ne=[];function Pe(e){return Ne[0]=e,k(Ne)}var Fe=n((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.view_transition`),f=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||e===d||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===f||e.getModuleId!==void 0))}})),Ie=n(((e,t)=>{t.exports=Fe()}))();function Le(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Re(e){if(v(e)||(0,Ie.isValidElementType)(e)||!Le(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Re(e[n])}),t}function ze(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Le(e)&&Le(t)&&Object.keys(t).forEach(i=>{v(t[i])||(0,Ie.isValidElementType)(t[i])?r[i]=t[i]:Le(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Le(e[i])?r[i]=ze(e[i],t[i],n):n.clone?r[i]=Le(t[i])?Re(t[i]):t[i]:r[i]=t[i]}),r}var Be=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Ve(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Be(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var He=/min-width:\s*([0-9.]+)/;function Ue(e,t){if(!e.containerQueries||!We(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>{var n,r;return+(((n=e.match(He))==null?void 0:n[1])||0)-(((r=t.match(He))==null?void 0:r[1])||0)});let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function We(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Ge(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ke(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function qe(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Je={borderRadius:4};function Ye(e){if(e==null)return!0;for(let t in e)return!1;return!0}function Xe(e,t){let n=Array.isArray(t),r=Array.isArray(e);return tt(t)?t:nt(e)?rt(t):n&&r?$e(e,t):n===r?it(e,t):rt(t)}function Ze(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=rt(e[t]);return r}function Qe(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=rt(e[n]));return t}function $e(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=rt(t[r]);return e}function et(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function tt(e){return typeof e!=`object`||!e}function nt(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function rt(e){return et(e)?Array.isArray(e)?Ze(e):Qe(e):e}function it(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?Xe(e[n],t[n]):rt(t[n]));return e}var at={},ot={xs:0,sm:600,md:900,lg:1200,xl:1536},st=Ve({values:ot}),ct={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ot[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function lt(e,t,n){let r={};return ut(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:Xe(r,a)})}function ut(e,t,n,r){if(t??=at,Array.isArray(n)){let i=t.breakpoints??st;for(let t=0;t<n.length;t+=1)dt(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??st,a=i.values??ot;for(let o in n)if(Ge(i.keys,o)){let i=Ke(t.containerQueries?t:ct,o);i&&dt(e,i,n[o],o,r)}else if(o in a)dt(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function dt(e,t,n,r,i){e[t]??={},i(t,n,r)}function ft(e=st){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function pt(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];Ye(t[r])&&delete t[r]}return t}function mt(e,...t){return pt(e,[ft(e),...t].reduce((e,t)=>ze(e,t),{}))}function ht(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function gt(e){let{values:t,breakpoints:n,base:r}=e,i=r||ht(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function _t(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(Ge(e.keys,n[t]))return!0}return!1}function vt(e){if(typeof e!=`string`)throw Error(ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yt(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&bt(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function bt(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=xt(e.vars,i,r);if(t!=null)return t}return xt(e,i,r)}function xt(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:vt(e)}`;return r==null?void 0:r[i]}return i}function St(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=bt(o,r)||{};return lt(e,a,e=>{let r=yt(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Ct={internal_cache:{}},wt={m:`margin`,p:`padding`},Tt={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Et={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Dt={};for(let e in wt)Dt[e]=[wt[e]];for(let e in wt)for(let t in Tt){let n=wt[e],r=Tt[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Dt[e+t]=i}for(let e in Et)Dt[e]=Dt[Et[e]];var Ot=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),kt=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Ot,...kt];function At(e,t,n,r){let i=bt(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function jt(e){return At(e,`spacing`,8,`spacing`)}function Mt(e,t){return typeof t==`string`||t==null?t:e(t)}var Nt=[``];function Pt(e,t){var n;let r=e.theme??Ct,i=(r==null||(n=r.internal_cache)==null?void 0:n.unarySpacing)??jt(r),a={};for(let n in e){if(!t.has(n))continue;let r=Dt[n]??(Nt[0]=n,Nt),o=e[n];ut(a,e.theme,o,(e,t)=>{let n=e?a[e]:a;for(let e=0;e<r.length;e+=1)n[r[e]]=Mt(i,t)})}return a}function Ft(e){return Pt(e,Ot)}Ft.propTypes={},Ft.filterProps=Ot;var It=Ft;function Lt(e){return Pt(e,kt)}Lt.propTypes={},Lt.filterProps=kt;var Rt=Lt;function zt(e=8,t=jt({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Bt(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&Xe(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Vt(e){return typeof e==`number`?`${e}px solid`:e}function Ht(e,t){return St({prop:e,themeKey:`borders`,transform:t})}var eee=Ht(`border`,Vt),tee=Ht(`borderTop`,Vt),nee=Ht(`borderRight`,Vt),ree=Ht(`borderBottom`,Vt),iee=Ht(`borderLeft`,Vt),aee=Ht(`borderColor`),oee=Ht(`borderTopColor`),see=Ht(`borderRightColor`),cee=Ht(`borderBottomColor`),lee=Ht(`borderLeftColor`),uee=Ht(`outline`,Vt),dee=Ht(`outlineColor`),Ut=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=At(e.theme,`shape.borderRadius`,4,`borderRadius`);return lt(e,e.borderRadius,e=>({borderRadius:Mt(t,e)}))}return null};Ut.propTypes={},Ut.filterProps=[`borderRadius`],Bt(eee,tee,nee,ree,iee,aee,oee,see,cee,lee,Ut,uee,dee);var Wt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=At(e.theme,`spacing`,8,`gap`);return lt(e,e.gap,e=>({gap:Mt(t,e)}))}return null};Wt.propTypes={},Wt.filterProps=[`gap`];var Gt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=At(e.theme,`spacing`,8,`columnGap`);return lt(e,e.columnGap,e=>({columnGap:Mt(t,e)}))}return null};Gt.propTypes={},Gt.filterProps=[`columnGap`];var Kt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=At(e.theme,`spacing`,8,`rowGap`);return lt(e,e.rowGap,e=>({rowGap:Mt(t,e)}))}return null};Kt.propTypes={},Kt.filterProps=[`rowGap`],Bt(Wt,Gt,Kt,St({prop:`gridColumn`}),St({prop:`gridRow`}),St({prop:`gridAutoFlow`}),St({prop:`gridAutoColumns`}),St({prop:`gridAutoRows`}),St({prop:`gridTemplateColumns`}),St({prop:`gridTemplateRows`}),St({prop:`gridTemplateAreas`}),St({prop:`gridArea`}));function qt(e,t){return t===`grey`?t:e}Bt(St({prop:`color`,themeKey:`palette`,transform:qt}),St({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:qt}),St({prop:`backgroundColor`,themeKey:`palette`,transform:qt}));var fee=ot;function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}var pee=St({prop:`width`,transform:Jt}),Yt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?lt(e,e.maxWidth,t=>{var n,r;let i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||fee[t];return i?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)===`px`?{maxWidth:i}:{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:Jt(t)}}):null;Yt.filterProps=[`maxWidth`];var mee=St({prop:`minWidth`,transform:Jt}),hee=St({prop:`height`,transform:Jt}),gee=St({prop:`maxHeight`,transform:Jt}),_ee=St({prop:`minHeight`,transform:Jt});St({prop:`size`,cssProperty:`width`,transform:Jt}),St({prop:`size`,cssProperty:`height`,transform:Jt}),Bt(pee,Yt,mee,hee,gee,_ee,St({prop:`boxSizing`}));var Xt={border:{themeKey:`borders`,transform:Vt},borderTop:{themeKey:`borders`,transform:Vt},borderRight:{themeKey:`borders`,transform:Vt},borderBottom:{themeKey:`borders`,transform:Vt},borderLeft:{themeKey:`borders`,transform:Vt},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Vt},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ut},color:{themeKey:`palette`,transform:qt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:qt},backgroundColor:{themeKey:`palette`,transform:qt},p:{style:Rt},pt:{style:Rt},pr:{style:Rt},pb:{style:Rt},pl:{style:Rt},px:{style:Rt},py:{style:Rt},padding:{style:Rt},paddingTop:{style:Rt},paddingRight:{style:Rt},paddingBottom:{style:Rt},paddingLeft:{style:Rt},paddingX:{style:Rt},paddingY:{style:Rt},paddingInline:{style:Rt},paddingInlineStart:{style:Rt},paddingInlineEnd:{style:Rt},paddingBlock:{style:Rt},paddingBlockStart:{style:Rt},paddingBlockEnd:{style:Rt},m:{style:It},mt:{style:It},mr:{style:It},mb:{style:It},ml:{style:It},mx:{style:It},my:{style:It},margin:{style:It},marginTop:{style:It},marginRight:{style:It},marginBottom:{style:It},marginLeft:{style:It},marginX:{style:It},marginY:{style:It},marginInline:{style:It},marginInlineStart:{style:It},marginInlineEnd:{style:It},marginBlock:{style:It},marginBlockStart:{style:It},marginBlockEnd:{style:It},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Wt},rowGap:{style:Kt},columnGap:{style:Gt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Jt},maxWidth:{style:Yt},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},vee={};function yee(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=vee,nested:i}=t,a=r.unstable_sxConfig??Xt,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??st,l=ft(c);for(let n in s){let i=bee(s[n],r);i!=null&&(typeof i==`object`?a[n]?Qt(l,n,i,r,a):_t(c,i)?ut(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o)):Qt(l,n,i,r,a))}return!i&&r.modularCssLayers?{"@layer sx":Ue(r,pt(c,l))}:Ue(r,pt(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Zt=yee();function Qt(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){Xe(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=bt(r,o);ut(e,r,n,(n,r)=>{let i=yt(u,l,r,t);c===!1?Xe(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function bee(e,t){return typeof e==`function`?e(t):e}function xee(e,t){let n=this;if(n.vars){var r;if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!=`function`)return{};let i=n.getColorSchemeSelector(e);return i===`&`?t:((i.includes(`data-`)||i.includes(`.`))&&(i=`*:where(${i.replace(/\s*&$/,``)}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function $t(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ve(n),c=zt(i),l=ze({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Je,...a}},o);return l=qe(l),l.applyStyles=xee,l=t.reduce((e,t)=>ze(e,t),l),l.unstable_sxConfig={...Xt,...o==null?void 0:o.unstable_sxConfig},l.unstable_sx=function(e){return Zt({sx:e,theme:this})},l.internal_cache={},l}function See(e){return Object.keys(e).length===0}function en(e=null){let t=C(T);return!t||See(t)?e:t}var Cee=$t();function tn(e=Cee){return en(e)}function nn(e){let t=Pe(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function rn({styles:e,themeId:t,defaultTheme:n={}}){let r=tn(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>nn(typeof e==`function`?e(i):e)):nn(a)),R(Ae,{styles:a})}var an=e=>e,on=(()=>{let e=an;return{configure(t){e=t},generate(t){return e(t)},reset(){e=an}}})();function sn(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=sn(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function B(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sn(e))&&(r&&(r+=` `),r+=t);return r}function wee(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=je(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(Zt);return j(function(e,o){let s=tn(n),{className:c,component:l=`div`,...u}=e;return R(a,{as:l,ref:o,className:B(c,i?i(r):r),theme:t&&s[t]||s,...u})})}var Tee={active:`active`,checked:`checked`,completed:`completed`,disabled:`disabled`,error:`error`,expanded:`expanded`,focused:`focused`,focusVisible:`focusVisible`,open:`open`,readOnly:`readOnly`,required:`required`,selected:`selected`};function V(e,t,n=`Mui`){let r=Tee[t];return r?`${n}-${r}`:`${on.generate(e)}-${t}`}function cn(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=V(e,t,n)}),r}function ln(e){let{variants:t,...n}=e,r={variants:t,style:Pe(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Pe(e.style))}),r}var Eee=$t();function un(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function dn(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Dee(e){return e?(t,n)=>n[e]:null}function Oee(e,t,n){e.theme=Ye(e.theme)?n:e.theme[t]||e.theme}function fn(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>fn(e,t,n));if(Array.isArray(r==null?void 0:r.variants)){let t;if(r.isProcessed)t=n?dn(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?dn(Pe(i),n):i}return kee(e,r.variants,[t],n)}return r!=null&&r.isProcessed?n?dn(Pe(r.style),n):r.style:n?dn(Pe(r),n):r}function kee(e,t,n=[],r=void 0){let i;variantLoop:for(let o=0;o<t.length;o+=1){let s=t[o];if(typeof s.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(let t in s.props){var a;if(e[t]!==s.props[t]&&((a=e.ownerState)==null?void 0:a[t])!==s.props[t])continue variantLoop}typeof s.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?dn(Pe(s.style(i)),r):s.style(i))):n.push(r?dn(Pe(s.style),r):s.style)}return n}function Aee(e={}){let{themeId:t,defaultTheme:n=Eee,rootShouldForwardProp:r=un,slotShouldForwardProp:i=un}=e;function a(e){Oee(e,t,n)}return(e,t={})=>{Me(e,e=>e.filter(e=>e!==Zt));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Dee(Mee(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=un;o===`Root`||o===`root`?m=r:o?m=i:jee(e)&&(m=void 0);let h=je(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return fn(t,e,t.theme.modularCssLayers?d:void 0)};if(Le(e)){let t=ln(e);return function(e){return t.variants?fn(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?dn(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){var t;let r=(t=e.theme.components)==null||(t=t[n])==null?void 0:t.styleOverrides;if(!r)return null;let i={};for(let t in r)i[t]=fn(e,r[t],e.theme.modularCssLayers?`theme`:void 0);return l(e,i)}),n&&!f&&o.push(function(e){var t;let r=e.theme,i=r==null||(t=r.components)==null||(t=t[n])==null?void 0:t.variants;return i?kee(e,i,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Zt),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function jee(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Mee(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var pn=Aee();function mn(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>mn((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=mn(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=B(e==null?void 0:e.className,t==null?void 0:t.className):a===`style`&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Nee(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:mn(t.components[n].defaultProps,r)}function hn(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=tn(r);return i&&(a=a[i]||a),Nee({theme:a,name:n,props:t})}var gn=typeof window<`u`?h:S;function Pee(e,t,n,r,i){let[a,o]=g(()=>i&&n?n(e).matches:r?r(e).matches:t);return gn(()=>{if(!n)return;let t=n(e),r=()=>{o(t.matches)};return r(),t.addEventListener(`change`,r),()=>{t.removeEventListener(`change`,r)}},[e,n]),a}var Fee={...i}.useSyncExternalStore;function Iee(e,t,n,r,i){let a=m(()=>t,[t]),o=c(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){let{matches:t}=r(e);return()=>t}return a},[a,e,r,i,n]),[s,l]=c(()=>{if(n===null)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[a,n,e]);return Fee(l,s,o)}function Lee(e={}){let{themeId:t}=e;return function(e,n={}){let r=en();r&&t&&(r=r[t]||r);let i=typeof window<`u`&&window.matchMedia!==void 0?window.matchMedia:null,{defaultMatches:a=!1,matchMedia:o,ssrMatchMedia:s=null,noSsr:l=!1}=Nee({name:`MuiUseMediaQuery`,props:n,theme:r}),u=c(()=>o===void 0?i===null?null:i.bind(window):o,[o,i]),d=typeof e==`function`?e(r):e;return d=d.replace(/^@media( ?)/m,``),d.includes(`print`)&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(Fee===void 0?Pee:Iee)(d,a,u,s,l)}}Lee();function _n(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function vn(e,t=0,n=1){return _n(e,t,n)}function yn(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Ree(e){let t=e.toString(16);return t.length===1?`0${t}`:t}function bn(e){if(e.type)return e;if(e.charAt(0)===`#`)return bn(yn(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(ue(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(ue(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var xn=e=>{let t=bn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Sn=(e,t)=>{try{return xn(e)}catch{return e}};function Cn(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function zee(e){if(e.startsWith(`#`))return e;let{values:t}=bn(e);return`#${t.map((e,t)=>Ree(t===3?Math.round(255*e):e)).join(``)}`}function wn(e){e=bn(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Cn({type:s,values:c})}function Tn(e){e=bn(e);let t=e.type===`hsl`||e.type===`hsla`?bn(wn(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function En(e,t){let n=Tn(e),r=Tn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Dn(e,t){return e=bn(e),t=vn(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Cn(e)}function On(e,t,n){try{return Dn(e,t)}catch{return e}}function kn(e,t){if(e=bn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Cn(e)}function An(e,t,n){try{return kn(e,t)}catch{return e}}function jn(e,t){if(e=bn(e),t=vn(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Cn(e)}function Mn(e,t,n){try{return jn(e,t)}catch{return e}}function Nn(e,t=.15){return Tn(e)>.5?kn(e,t):jn(e,t)}function Pn(e,t,n){try{return Nn(e,t)}catch{return e}}var Fn=M(null);function In(){return C(Fn)}var Bee=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Vee(e,t){return typeof t==`function`?t(e):{...e,...t}}function Hee(e){let{children:t,theme:n}=e,r=In(),i=c(()=>{let e=r===null?{...n}:Vee(r,n);return e!=null&&(e[Bee]=r!==null),e},[n,r]);return R(Fn.Provider,{value:i,children:t})}var Ln=M(void 0);function Uee({value:e,...t}){return R(Ln.Provider,{value:e??!0,...t})}var Rn=()=>C(Ln)??!1,zn=M(void 0);function Wee({value:e,children:t}){return R(zn.Provider,{value:e,children:t})}function Gee(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?mn(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?mn(i,r,t.components.mergeClassNameAndStyle):r}function Kee({props:e,name:t}){return Gee({props:e,name:t,theme:{components:C(zn)}})}var Bn=0;function qee(e){let[t,n]=g(e),r=e||t;return S(()=>{t??(Bn+=1,n(`mui-${Bn}`))},[t]),r}var Vn={...i}.useId;function Hn(e){if(Vn!==void 0){let t=Vn();return e??t}return qee(e)}function Jee(e){let t=en(),n=Hn()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,gn(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){var r;if(t&&(r=t.hasAttribute)!=null&&r.call(t,`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let a=document.createElement(`style`);a.setAttribute(`data-mui-layer-order`,n),a.textContent=i,e.prepend(a)}else{var a;(a=e.querySelector(`style[data-mui-layer-order="${n}"]`))==null||a.remove()}},[i,n]),i?R(rn,{styles:i}):null}var Un={};function Wn(e,t,n,r=!1){return c(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Gn(e){let{children:t,theme:n,themeId:r}=e,i=en(Un),a=In()||Un,o=Wn(r,i,n),s=Wn(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Jee(o);return R(Hee,{theme:s,children:R(T.Provider,{value:o,children:R(Uee,{value:c,children:z(Wee,{value:r?o[r].components:o.components,children:[l,t]})})})})}var Kn={theme:void 0};function Yee(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Kn.theme=r.theme,i=ln(e(Kn)),t=i,n=r.theme),i}}var qn=`mode`,Jn=`color-scheme`,Xee=`data-color-scheme`,Yn={...i}.useSyncExternalStore,Zee=()=>()=>{};function Xn(e){return JSON.stringify(e).replace(/</g,`\\u003c`).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}function Zn(e,t){let n=e.split(`%s`),r=[];for(let e=0;e<n.length;e+=1)e>0&&r.push(t),n[e]&&r.push(Xn(n[e]));return r.join(` + `)||`""`}function Qee(){return Yn===void 0||Yn(Zee,()=>!1,()=>!0)}function Qn(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=qn,colorSchemeStorageKey:a=Jn,attribute:o=Xee,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove(${Zn(e,`light`)}, ${Zn(e,`dark`)});
|
|
3
3
|
${s}.classList.add(${Zn(e,`colorScheme`)});`}let d=u.match(/\[([^[\]]+)\]/);if(d){let e=d[1].indexOf(`=`),t=e===-1?d[1]:d[1].slice(0,e),n=e===-1?void 0:d[1].slice(e+1);n||(l+=`${s}.removeAttribute(${Zn(t,`light`)});
|
|
4
4
|
${s}.removeAttribute(${Zn(t,`dark`)});`);let r=n?Zn(n.replace(/^(['"])(.*)\1$/,`$2`),`colorScheme`):`""`;l+=`
|
|
5
5
|
${s}.setAttribute(${Zn(t,`colorScheme`)}, ${r});`}else u.startsWith(`.`)||(l+=`${s}.setAttribute(${Xn(u)}, colorScheme);`);return R(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -520,7 +520,7 @@ body {
|
|
|
520
520
|
background-color: #58c458;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
`;function tfl(){try{return window.self!==window.top}catch{return!0}}var nfl=class e extends j8{constructor(t,n){let r=t.Connection||(n==null?void 0:n.Connection)||PS;if(!window.document.getElementById(`generic-app-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`generic-app-iobroker-component`),e.innerHTML=efl,window.document.head.appendChild(e)}if(!e.isWeb()&&window.io&&window.location.port===`3000`)try{let e=new window.SocketClient;delete window.io,window.io=e}catch{}super(t),J(this,`socket`,void 0),J(this,`isIFrame`,tfl()),J(this,`instance`,void 0),J(this,`adapterName`,void 0),J(this,`instanceId`,void 0),J(this,`newReact`,void 0),J(this,`encryptedFields`,void 0),J(this,`sentryDSN`,void 0),J(this,`alertDialogRendered`,void 0),J(this,`_secret`,void 0),J(this,`_systemConfig`,void 0),J(this,`savedNative`,void 0),J(this,`common`,null),J(this,`sentryStarted`,!1),J(this,`sentryInited`,!1),J(this,`resizeTimer`,null),J(this,`onSystemConfigChanged`,(e,t)=>{if(t&&e===`system.config`){var n,r;this.socket.systemLang!==(t==null?void 0:t.common.language)&&(this.socket.systemLang=(t==null?void 0:t.common.language)||`en`,Z.setLanguage(this.socket.systemLang)),((n=this._systemConfig)==null?void 0:n.expertMode)===!!(t!=null&&(r=t.common)!=null&&r.expertMode)?this._systemConfig=(t==null?void 0:t.common)||{}:(this._systemConfig=(t==null?void 0:t.common)||{},this.setState({expertMode:this.getExpertMode()}))}}),J(this,`onReceiveMessage`,e=>{if(e!=null&&e.data){if(typeof e.data==`string`&&e.data===`updateTheme`||e.data&&typeof e.data==`object`&&e.data.type===`updateTheme`){let e=F8.getThemeName();F8.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e),this.onThemeChanged&&this.onThemeChanged(e)})}else e.data===`updateExpertMode`?this.onToggleExpertMode&&this.onToggleExpertMode(this.getExpertMode()):e.data!==`chartReady`&&console.debug(`Received unknown message: "${JSON.stringify(e.data)}". May be it will be processed later`)}}),J(this,`onResize`,()=>{this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.resizeTimer=null,this.setState({width:e.getWidth()})},200)}),Cdl();let i=(window.location.search||``).replace(/^\?/,``).replace(/#.*$/,``),a={};i.trim().split(`&`).filter(e=>e.trim()).forEach(e=>{let t=e.split(`=`),[n,r]=t;a[n]=t.length!==2||r,a[n]===`true`?a[n]=!0:a[n]===`false`&&(a[n]=!1)}),this.instance=(n==null?void 0:n.instance)??t.instance??(a.instance===void 0?parseInt(window.location.search.slice(1),10)||0:parseInt(a.instance,10)||0);let o=window.location.pathname.split(`/`);this.adapterName=(n==null?void 0:n.adapterName)||t.adapterName||window.adapterName||o[o.length-2]||`iot`,this.instanceId=`system.adapter.${this.adapterName}.${this.instance}`,this.newReact=a.newReact===!0;let s=j8.getLocation();s.tab=s.tab||(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``;let c=this.createTheme(a.theme);this.state={...this.state,selectedTab:(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``,selectedTabNum:-1,native:{},errorText:``,changed:!1,connected:!1,loaded:!1,isConfigurationError:``,expertMode:!1,toast:``,theme:c,themeName:this.getThemeName(c),themeType:this.getThemeType(c),bottomButtons:(n&&n.bottomButtons)!==!1&&(t==null?void 0:t.bottomButtons)!==!1,width:e.getWidth(),confirmClose:!1,_alert:!1,_alertType:`info`,_alertMessage:``};let l=$dl;n!=null&&n.translations?Object.keys(n.translations).forEach(e=>{n.translations&&(l[e]=Object.assign(l[e],n.translations[e]||{}))}):t.translations&&Object.keys(t.translations).forEach(e=>{t.translations&&(l[e]=Object.assign(l[e],t.translations[e]||{}))}),Z.setTranslations(l),this.savedNative={},this.encryptedFields=t.encryptedFields||(n==null?void 0:n.encryptedFields)||[],this.sentryDSN=(n==null?void 0:n.sentryDSN)||t.sentryDSN,window.socketUrl&&(window.socketUrl.startsWith(`:`)?window.socketUrl=`${window.location.protocol}//${window.location.hostname}${window.socketUrl}`:!window.socketUrl.startsWith(`http://`)&&!window.socketUrl.startsWith(`https://`)&&(window.socketUrl=`${window.location.protocol}//${window.socketUrl}`)),this.alertDialogRendered=!1,window.iobOldAlert||(window.iobOldAlert=window.alert),window.alert=e=>{this.alertDialogRendered?e!=null&&e.toString().toLowerCase().includes(`error`)?(console.error(e),this.showAlert(e.toString(),`error`)):(console.log(e),this.showAlert(e.toString(),`info`)):window.iobOldAlert(e)},this.socket=new r({...(t==null?void 0:t.socket)||(n==null?void 0:n.socket),name:this.adapterName,doNotLoadAllObjects:n==null?void 0:n.doNotLoadAllObjects,onProgress:e=>{e===MS.CONNECTING?this.setState({connected:!1}):(MS.READY,this.setState({connected:!0}))},onReady:()=>{Z.setLanguage(this.socket.systemLang),Promise.all([this.socket.subscribeObject(`system.config`,this.onSystemConfigChanged),this.getSystemConfig(),this.socket.getObject(this.instanceId),this.socket.getState(`${this.instanceId}.plugins.sentry.enabled`)]).then(([,e,t,n])=>{var r;this._secret=e!==void 0&&e.native&&e.native.secret||`Zgfr56gFe87jJOM`,this._systemConfig=(e==null?void 0:e.common)||{};let i=t,a=(n==null?void 0:n.val)!==!1&&((r=this._systemConfig)==null?void 0:r.diag)!==`none`&&(i==null?void 0:i.common)&&i.common.name&&i.common.version&&!i.common.disableDataReporting&&window.location.host!==`localhost:3000`;!this.sentryInited&&a&&(this.sentryInited=!0,this.startSentry(i)),i?(this.common=i==null?void 0:i.common,this.onPrepareLoad(i.native,i.encryptedNative),this.savedNative=JSON.parse(JSON.stringify(i.native)),this.setState({native:i.native,loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady())):(console.warn(`Cannot load instance settings`),this.setState({native:{},loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady()))}).catch(e=>window.alert(`Cannot settings: ${e}`))},onError:e=>{console.error(e),this.showError(e)}})}startSentry(e){F(()=>import(`./prod-B1LT4e-j.js`).then(async t=>{var n;!this.sentryStarted&&this.sentryDSN&&(this.sentryStarted=!0,t.init({dsn:this.sentryDSN,release:`iobroker.${e.common.name}@${e.common.version}`,integrations:[t.dedupeIntegration()]}),console.log(`Sentry initialized`));let r=await this.socket.getObject(`system.meta.uuid`);r!=null&&(n=r.native)!=null&&n.uuid&&t.getCurrentScope().setUser({id:r.native.uuid})}),__vite__mapDeps([0,1]),import.meta.url).catch(e=>console.warn(`Cannot start Sentry: ${e}`))}static isWeb(){return window.socketUrl!==void 0}showAlert(e,t){t!==`error`&&t!==`warning`&&t!==`info`&&t!==`success`&&(t=`info`),this.setState({_alert:!0,_alertType:t,_alertMessage:e})}renderAlertSnackbar(){return this.alertDialogRendered=!0,A.createElement(mh,{style:this.state._alertType===`error`?{backgroundColor:`#f44336`}:this.state._alertType===`success`?{backgroundColor:`#4caf50`}:void 0,open:this.state._alert,autoHideDuration:6e3,onClose:(e,t)=>t!==`clickaway`&&this.setState({_alert:!1}),message:this.state._alertMessage})}componentDidMount(){window.addEventListener(`resize`,this.onResize,!0),window.addEventListener(`message`,this.onReceiveMessage,!1),super.componentDidMount()}componentWillUnmount(){window.removeEventListener(`resize`,this.onResize,!0),window.removeEventListener(`message`,this.onReceiveMessage,!1),this.resizeTimer&&=(clearTimeout(this.resizeTimer),null),window.iobOldAlert&&(window.alert=window.iobOldAlert,delete window.iobOldAlert),super.componentWillUnmount()}static getWidth(){let e={xs:0,sm:600,md:960,lg:1280,xl:1920},t=window.innerWidth;return Object.keys(e).reverse().find(n=>t>=e[n])||`xs`}createTheme(e){return ES(F8.getThemeName(e))}getThemeName(e){return e.name}getThemeType(e){return e.palette.mode}onThemeChanged(e){}onToggleExpertMode(e){}toggleTheme(e){let t=this.state.themeName;if(e||=F8.toggleTheme(t),e!==t){F8.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e||`light`),this.onThemeChanged&&this.onThemeChanged(e||`light`)})}}getSystemConfig(){return this.socket.getSystemConfig()}getExpertMode(){var e;return window.sessionStorage.getItem(`App.expertMode`)===`true`||!!((e=this._systemConfig)!=null&&e.expertMode)}onConnectionReady(){}encrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}decrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}onHashChanged(){let e=j8.getLocation();e.tab!==this.state.selectedTab&&this.selectTab(e.tab)}selectTab(e,t){(window._localStorage||window.localStorage).setItem(`${this.adapterName}-adapter`,e),this.setState({selectedTab:e,selectedTabNum:t})}onPrepareSave(e){var t;return(t=this.encryptedFields)==null||t.forEach(t=>{e[t]&&(e[t]=this.encrypt(e[t]))}),!0}onPrepareLoad(e,t){var n;(n=this.encryptedFields)==null||n.forEach(t=>{e[t]&&(e[t]=this.decrypt(e[t]))}),t==null||t.forEach(t=>{this.encryptedFields=this.encryptedFields||[],!this.encryptedFields.includes(t)&&this.encryptedFields.push(t),e[t]&&(e[t]=this.decrypt(e[t]))})}async getExtendableInstances(){try{let e=await this.socket.getObjectViewSystem(`instance`,`system.adapter.`,`system.adapter.香`);return Object.values(e).filter(e=>{var t;return!!(e!=null&&(t=e.common)!=null&&t.webExtendable)})}catch{return[]}}async getIpAddresses(e){var t;let n=await this.socket.getHostByIp(e||((t=this.common)==null?void 0:t.host)||``),r=n.find(e=>e.address===`0.0.0.0`);r&&(r.name=`[IPv4] 0.0.0.0 - ${Z.t(`ra_Listen on all IPs`)}`);let i=n.find(e=>e.address===`::`);return i&&(i.name=`[IPv6] :: - ${Z.t(`ra_Listen on all IPs`)}`),n}onSave(t){let n;this.state.isConfigurationError?this.setState({errorText:this.state.isConfigurationError}):this.socket.getObject(this.instanceId).then(e=>{n=e||{};for(let e in this.state.native)Object.prototype.hasOwnProperty.call(this.state.native,e)&&(this.state.native[e]===null?n.native[e]=null:this.state.native[e]===void 0?delete n.native[e]:n.native[e]=JSON.parse(JSON.stringify(this.state.native[e])));if(this.state.common)for(let e in this.state.common)this.state.common[e]===null?n.common[e]=null:this.state.common[e]===void 0?delete n.common[e]:n.common[e]=JSON.parse(JSON.stringify(this.state.common[e]));return this.onPrepareSave(n.native)===!1?Promise.reject(Error(`Invalid configuration`)):this.socket.setObject(this.instanceId,n)}).then(()=>{this.savedNative=n.native,globalThis.changed=!1;try{window.parent.postMessage(`nochange`,`*`)}catch{}this.setState({changed:!1},()=>{t&&e.onClose()})}).catch(e=>console.error(`Cannot save configuration: ${e}`))}renderToast(){return this.state.toast?A.createElement(mh,{anchorOrigin:{vertical:`bottom`,horizontal:`left`},open:!0,autoHideDuration:6e3,onClose:()=>this.setState({toast:``}),slotProps:{content:{"aria-describedby":`message-id`}},message:A.createElement(`span`,{id:`message-id`},this.state.toast),action:[A.createElement(Om,{key:`close`,"aria-label":`Close`,color:`inherit`,onClick:()=>this.setState({toast:``}),size:`large`},A.createElement(q0,null))]}):null}static onClose(){if(window.parent!==void 0&&window.parent)try{window.parent.$iframeDialog&&typeof window.parent.$iframeDialog.close==`function`?window.parent.$iframeDialog.close():window.parent.postMessage(`close`,`*`)}catch{window.parent.postMessage(`close`,`*`)}}renderError(){return this.state.errorText?A.createElement(z8,{text:this.state.errorText,onClose:()=>this.setState({errorText:``})}):null}getIsChanged(e){e||=this.state.native;let t=JSON.stringify(e)!==JSON.stringify(this.savedNative);return globalThis.changed=t,t}onLoadConfig(e){JSON.stringify(e)!==JSON.stringify(this.state.native)&&this.setState({native:e,changed:this.getIsChanged(e)})}setConfigurationError(e){this.state.isConfigurationError!==e&&this.setState({isConfigurationError:e})}renderSaveCloseButtons(){return!this.state.confirmClose&&!this.state.bottomButtons?null:A.createElement(A.Fragment,null,this.state.bottomButtons?A.createElement(Zdl,{theme:this.state.theme,newReact:this.newReact,noTextOnButtons:this.state.width===`xs`||this.state.width===`sm`||this.state.width===`md`,changed:this.state.changed,onSave:e=>this.onSave(e),onClose:()=>{this.state.changed?this.setState({confirmClose:!0}):e.onClose()},error:!!this.state.isConfigurationError}):null,this.state.confirmClose?A.createElement(L8,{title:Z.t(`ra_Please confirm`),text:Z.t(`ra_Some data are not stored. Discard?`),ok:Z.t(`ra_Discard`),cancel:Z.t(`ra_Cancel`),onClose:t=>this.setState({confirmClose:!1},()=>t&&e.onClose())}):null)}_updateNativeValue(e,t,n){typeof t!=`object`&&(t=t.split(`.`));let r=t.shift()||``;if(!t.length)return n&&typeof n==`object`?JSON.stringify(e[r])!==JSON.stringify(n)&&(e[r]=n,!0):e[r]!==n&&(e[r]=n,!0);if(e[r]=e[r]||{},typeof e[r]!=`object`)throw Error(`attribute ${r} is no object, but ${typeof e[r]}`);return this._updateNativeValue(e[r],t,n)}updateNativeValue(e,t,n){let r=JSON.parse(JSON.stringify(this.state.native));if(this._updateNativeValue(r,e,t)){let e=this.getIsChanged(r);if(e!==this.state.changed)try{window.parent.postMessage(e?`change`:`nochange`,`*`)}catch{}this.setState({native:r,changed:e},n)}}showError(e){this.setState({errorText:e})}showToast(e){this.setState({toast:e})}renderHelperDialogs(){return A.createElement(A.Fragment,null,this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar())}render(){return this.state.loaded?A.createElement(`div`,{className:`App`},this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar()):A.createElement(Hdl,{themeType:this.state.themeType})}};function B8(){return(B8=Object.assign||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}).apply(this,arguments)}function V8(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}function H8(e){var t=d(e),n=d(function(e){t.current&&t.current(e)});return t.current=e,n.current}var U8=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e<t?t:e},W8=function(e){return`touches`in e},G8=function(e){return e&&e.ownerDocument.defaultView||self},rfl=function(e,t,n){var r=e.getBoundingClientRect(),i=W8(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:U8((i.pageX-(r.left+G8(e).pageXOffset))/r.width),top:U8((i.pageY-(r.top+G8(e).pageYOffset))/r.height)}},ifl=function(e){!W8(e)&&e.preventDefault()},K8=A.memo(function(e){var t=e.onMove,n=e.onKey,r=e.onEnd,i=V8(e,[`onMove`,`onKey`,`onEnd`]),a=d(null),o=H8(t),s=H8(n),l=H8(r),u=d(null),f=d(!1),p=c(function(){var e=function(e){ifl(e),(W8(e)?e.touches.length>0:e.buttons>0)&&a.current?o(rfl(a.current,e,u.current)):(n(!1),l())},t=function(){n(!1),l()};function n(n){var r=f.current,i=G8(a.current),o=n?i.addEventListener:i.removeEventListener;o(r?`touchmove`:`mousemove`,e),o(r?`touchend`:`mouseup`,t)}return[function(e){var t=e.nativeEvent,r=a.current;if(r&&(ifl(t),!function(e,t){return t&&!W8(e)}(t,f.current)&&r)){if(W8(t)){f.current=!0;var i=t.changedTouches||[];i.length&&(u.current=i[0].identifier)}r.focus(),o(rfl(r,t,u.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),s({left:t===39?.05:t===37?-.05:0,top:t===40?.05:t===38?-.05:0}))},function(e){var t=e.which||e.keyCode;t>=37&&t<=40&&l()},n]},[s,o,l]),m=p[0],h=p[1],g=p[2],_=p[3];return S(function(){return _},[_]),A.createElement(`div`,B8({},i,{onTouchStart:m,onMouseDown:m,className:`react-colorful__interactive`,ref:a,onKeyDown:h,onKeyUp:g,tabIndex:0,role:`slider`}))}),q8=function(e){return e.filter(Boolean).join(` `)},J8=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,a=q8([`react-colorful__pointer`,e.className]);return A.createElement(`div`,{className:a,style:{top:100*i+`%`,left:100*n+`%`}},A.createElement(`div`,{className:`react-colorful__pointer-fill`,style:{backgroundColor:t}}))},Y8=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=10**t),Math.round(n*e)/n},afl=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Y8(e.h),s:Y8(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Y8(i/2),a:Y8(r,2)}},X8=function(e){var t=afl(e);return`hsl(`+t.h+`, `+t.s+`%, `+t.l+`%)`},Z8=function(e){var t=afl(e);return`hsla(`+t.h+`, `+t.s+`%, `+t.l+`%, `+t.a+`)`},ofl=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),o=r*(1-n),s=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),l=a%6;return{r:Y8(255*[r,s,o,o,c,r][l]),g:Y8(255*[c,r,r,s,o,o][l]),b:Y8(255*[o,o,c,r,r,s][l]),a:Y8(i,2)}},sfl=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=Math.max(t,n,r),o=a-Math.min(t,n,r),s=o?a===t?(n-r)/o:a===n?2+(r-t)/o:4+(t-n)/o:0;return{h:60*(s<0?s+6:s),s:a?o/a*100:0,v:a/255*100,a:i}},cfl=A.memo(function(e){var t=e.hue,n=e.onChange,r=e.onChangeEnd,i=q8([`react-colorful__hue`,e.className]);return A.createElement(`div`,{className:i},A.createElement(K8,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:U8(t+360*e.left,0,360)})},onEnd:r,"aria-label":`Hue`,"aria-valuenow":Y8(t),"aria-valuemax":`360`,"aria-valuemin":`0`},A.createElement(J8,{className:`react-colorful__hue-pointer`,left:t/360,color:X8({h:t,s:100,v:100,a:1})})))}),lfl=A.memo(function(e){var t=e.hsva,n=e.onChange,r=e.onChangeEnd,i={backgroundColor:X8({h:t.h,s:100,v:100,a:1})};return A.createElement(`div`,{className:`react-colorful__saturation`,style:i},A.createElement(K8,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:U8(t.s+100*e.left,0,100),v:U8(t.v-100*e.top,0,100)})},onEnd:r,"aria-label":`Color`,"aria-valuetext":`Saturation `+Y8(t.s)+`%, Brightness `+Y8(t.v)+`%`},A.createElement(J8,{className:`react-colorful__saturation-pointer`,top:1-t.v/100,left:t.s/100,color:X8(t)})))}),Q8=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function ufl(e,t,n,r){var i=H8(n),a=H8(r),o=g(function(){return e.toHsva(t)}),s=o[0],c=o[1],l=d({color:t,hsva:s}),u=d(!1);return S(function(){if(!e.equal(t,l.current.color)){var n=e.toHsva(t);l.current={hsva:n,color:t},c(n),u.current=!1}},[t,e]),S(function(){var t;Q8(s,l.current.hsva)||e.equal(t=e.fromHsva(s),l.current.color)||(l.current={hsva:s,color:t},i(t),u.current=!0)},[s,e,i]),[s,m(function(e){c(function(t){return Object.assign({},t,e)})},[]),m(function(){u.current&&(u.current=!1,a(l.current.color))},[a])]}var dfl=typeof window<`u`?h:S,ffl=function(){return typeof __webpack_nonce__<`u`?__webpack_nonce__:void 0},pfl=new WeakMap,mfl=function(e){dfl(function(){var t=e.current;if(typeof document<`u`&&t){var n=t.getRootNode?t.getRootNode():t.ownerDocument,r=n&&(`head`in n||`host`in n)?n:t.ownerDocument;if(!pfl.has(r)){var i=`head`in r?r.head:r,a=(i.ownerDocument||document).createElement(`style`);a.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`;var o=ffl();o&&a.setAttribute(`nonce`,o),pfl.set(r,a),i.appendChild(a)}}},[])},hfl=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,a=e.onChange,o=e.onChangeEnd,s=V8(e,[`className`,`colorModel`,`color`,`onChange`,`onChangeEnd`]),c=d(null);mfl(c);var l=ufl(n,i,a,o),u=l[0],f=l[1],p=l[2],m=q8([`react-colorful`,t]);return A.createElement(`div`,B8({},s,{ref:c,className:m}),A.createElement(lfl,{hsva:u,onChange:f,onChangeEnd:p}),A.createElement(cfl,{hue:u.h,onChange:f,onChangeEnd:p,className:`react-colorful__last-control`}))},gfl=function(e){var t=e.className,n=e.hsva,r=e.onChange,i=e.onChangeEnd,a={backgroundImage:`linear-gradient(90deg, `+Z8(Object.assign({},n,{a:0}))+`, `+Z8(Object.assign({},n,{a:1}))+`)`},o=q8([`react-colorful__alpha`,t]),s=Y8(100*n.a);return A.createElement(`div`,{className:o},A.createElement(`div`,{className:`react-colorful__alpha-gradient`,style:a}),A.createElement(K8,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:U8(n.a+e.left)})},onEnd:i,"aria-label":`Alpha`,"aria-valuetext":s+`%`,"aria-valuenow":s,"aria-valuemin":`0`,"aria-valuemax":`100`},A.createElement(J8,{className:`react-colorful__alpha-pointer`,left:n.a,color:Z8(n)})))},_fl=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,a=e.onChange,o=e.onChangeEnd,s=V8(e,[`className`,`colorModel`,`color`,`onChange`,`onChangeEnd`]),c=d(null);mfl(c);var l=ufl(n,i,a,o),u=l[0],f=l[1],p=l[2],m=q8([`react-colorful`,t]);return A.createElement(`div`,B8({},s,{ref:c,className:m}),A.createElement(lfl,{hsva:u,onChange:f,onChangeEnd:p}),A.createElement(cfl,{hue:u.h,onChange:f,onChangeEnd:p}),A.createElement(gfl,{hsva:u,onChange:f,onChangeEnd:p,className:`react-colorful__last-control`}))},vfl={defaultColor:{r:0,g:0,b:0,a:1},toHsva:sfl,fromHsva:ofl,equal:Q8},yfl=function(e){return A.createElement(_fl,B8({},e,{colorModel:vfl}))},bfl={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return sfl({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(t=ofl(e)).r,g:t.g,b:t.b};var t},equal:Q8},xfl=function(e){return A.createElement(hfl,B8({},e,{colorModel:bfl}))},Sfl=`iob-color-picker-recent`,Cfl=12,$8=`linear-gradient(45deg, #c0c0c0 25%, transparent 25%), linear-gradient(-45deg, #c0c0c0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #c0c0c0 75%), linear-gradient(-45deg, transparent 75%, #c0c0c0 75%)`,e5=`8px 8px`,t5=`0 0, 0 4px, 4px -4px, -4px 0px`,n5={swatch:{mt:`16px`,p:`4px`,backgroundColor:`background.paper`,borderRadius:`6px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35)`,display:`inline-block`,cursor:`pointer`,verticalAlign:`middle`,transition:`box-shadow 0.15s ease-in-out`,"&:hover":{boxShadow:`0 0 0 2px rgba(128,128,128,.6)`}},swatchDisabled:{opacity:.5,cursor:`default`,"&:hover":{boxShadow:`0 0 0 1px rgba(128,128,128,.35)`}},color:{height:14,borderRadius:`3px`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},delButton:{marginTop:16},textDense:{mt:0,mb:0},popover:{"& .MuiPaper-root":{borderRadius:`12px`}},pickerWrapper:e=>({p:`12px`,backgroundColor:e.palette.background.paper,borderRadius:`12px`,display:`flex`,flexDirection:`column`,gap:`10px`,"& .react-colorful":{width:`100%`,height:`auto`,gap:`10px`},"& .react-colorful__saturation":{borderRadius:`8px`,border:`none`,height:150,boxShadow:`none`},"& .react-colorful__hue, & .react-colorful__alpha":{height:14,borderRadius:`7px`},"& .react-colorful__alpha":{backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},"& .react-colorful__last-control":{borderRadius:`7px`},"& .react-colorful__pointer":{width:18,height:18,borderWidth:2},"& .react-colorful__saturation-pointer":{width:20,height:20}}),controlRow:{display:`flex`,alignItems:`center`,gap:`6px`},preview:{width:28,height:28,flexShrink:0,borderRadius:`6px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35) inset`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},valueInput:{flexGrow:1,minWidth:60,"& .MuiInputBase-input":{fontFamily:`monospace`,fontSize:`0.75rem`,textOverflow:`ellipsis`}},formatSelect:{flexShrink:0,fontSize:`0.7rem`,opacity:.75,"& .MuiSelect-select":{py:`4px`,pl:`2px`,pr:`18px !important`},"& .MuiSelect-icon":{right:0}},sectionTitle:{fontSize:`0.7rem`,opacity:.6,textTransform:`uppercase`,letterSpacing:`0.06em`},swatchRow:{display:`flex`,flexWrap:`wrap`,gap:`4px`,mt:`4px`},paletteItem:{width:22,height:22,p:0,minWidth:22,borderRadius:`5px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35) inset`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5,"&:hover":{boxShadow:`0 0 0 2px rgba(128,128,128,.7) inset`}},fill:{width:`100%`,height:`100%`,borderRadius:`inherit`}},r5={r:0,g:0,b:0,a:1},i5;function wfl(e){if(i5===void 0&&(i5=typeof document>`u`?null:document.createElement(`canvas`).getContext(`2d`)),!i5)return null;i5.fillStyle=`#000000`,i5.fillStyle=e;let t=i5.fillStyle;return i5.fillStyle=`#ffffff`,i5.fillStyle=e,t===i5.fillStyle?t:null}function Tfl(e,t,n){if(!t){let e=Math.round(n*255);return{r:e,g:e,b:e}}let r=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&--r,r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e},i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;return{r:Math.round(r(a,i,e+1/3)*255),g:Math.round(r(a,i,e)*255),b:Math.round(r(a,i,e-1/3)*255)}}function Efl(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2;if(i===a)return{h:0,s:0,l:Math.round(o*100)};let s=i-a,c=o>.5?s/(2-i-a):s/(i+a),l;return l=i===t?(n-r)/s+(n<r?6:0):i===n?(r-t)/s+2:(t-n)/s+4,{h:Math.round(l/6*360),s:Math.round(c*100),l:Math.round(o*100)}}function a5(e,t,n){return Math.min(n,Math.max(t,e))}function o5(e,t){let n=e.trim(),r=parseFloat(n);return Number.isNaN(r)?0:a5(Math.round(n.endsWith(`%`)?r/100*t:r),0,t)}function Dfl(e){if(e===void 0||e===``)return 1;let t=e.trim(),n=t.endsWith(`%`)?parseFloat(t)/100:parseFloat(t);return Number.isNaN(n)?1:a5(n,0,1)}function s5(e){if(!e||typeof e!=`string`)return null;let t=e.trim().toLowerCase();if(!t)return null;if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=/^#([\da-f]{3,8})$/.exec(t);if(n){let e=n[1];return e.length===3||e.length===4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1}:e.length===6||e.length===8?{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Math.round(parseInt(e.substring(6,8),16)/255*100)/100:1}:null}let r=/^(rgba?|hsla?)\(([^)]*)\)$/.exec(t);if(r){let e=r[2].replace(`/`,`,`).split(/[\s,]+/).filter(e=>e!==``);return e.length<3?null:r[1].startsWith(`rgb`)?{r:o5(e[0],255),g:o5(e[1],255),b:o5(e[2],255),a:Dfl(e[3])}:{...Tfl((parseFloat(e[0])%360+360)%360/360,a5(parseFloat(e[1])/100,0,1),a5(parseFloat(e[2])/100,0,1)),a:Dfl(e[3])}}let i=wfl(t);return i&&i!==t?s5(i):null}function c5(e,t,n){let r=n?1:e.a??1,i=r>=1,a=Math.round(r*100)/100;if(t===`hex`){let t=`#${e.r.toString(16).padStart(2,`0`)}${e.g.toString(16).padStart(2,`0`)}${e.b.toString(16).padStart(2,`0`)}`,n=Math.round(r*255).toString(16).padStart(2,`0`);return i?t:`${t}${n}`}if(t===`hsl`){let{h:t,s:n,l:r}=Efl(e);return i?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${a})`}return i?`rgb(${e.r}, ${e.g}, ${e.b})`:`rgba(${e.r}, ${e.g}, ${e.b}, ${a})`}function Ofl(e){let t=(e||``).trim().toLowerCase();return t.startsWith(`#`)?`hex`:t.startsWith(`rgb`)?`rgb`:t.startsWith(`hsl`)?`hsl`:null}function kfl(){if(typeof window<`u`)return window.EyeDropper}var Afl=class e extends s{constructor(t){super(t),J(this,`handleClick`,t=>{let n=!this.state.displayColorPicker;this.setState({displayColorPicker:n,anchorEl:n?t.currentTarget:null,recentColors:n&&!this.props.noRecentColors?e.readRecentColors():this.state.recentColors})}),J(this,`handleClose`,()=>{this.storeRecentColor(this.state.textValue),this.setState({displayColorPicker:!1,anchorEl:null})}),J(this,`handleColorChange`,e=>{let t=c5(e,this.state.format,this.props.noAlpha);this.setState({rgba:e,textValue:t},()=>{var e,n;return(e=(n=this.props).onChange)==null?void 0:e.call(n,t)})}),J(this,`handleTextChange`,e=>{let t=s5(e);this.setState({textValue:e,rgba:t||this.state.rgba},()=>{var t,n;return(t=(n=this.props).onChange)==null?void 0:t.call(n,e)})}),J(this,`handleFormatChange`,e=>{if(!this.state.textValue){this.setState({format:e});return}let t=c5(this.state.rgba,e,this.props.noAlpha);this.setState({format:e,textValue:t},()=>{var e,n;return(e=(n=this.props).onChange)==null?void 0:e.call(n,t)})}),J(this,`handleClear`,()=>{this.setState({textValue:``,rgba:{...r5}},()=>{var e,t;return(e=(t=this.props).onChange)==null?void 0:e.call(t,``)})}),J(this,`handleEyeDropper`,()=>{let e=kfl();e&&new e().open().then(e=>{let t=s5(e.sRGBHex);t&&this.handleColorChange({...t,a:this.props.noAlpha?1:this.state.rgba.a??1})}).catch(()=>{})});let n=t.value||t.color||``;this.state={displayColorPicker:!1,rgba:s5(n)||{...r5},textValue:n,format:t.format||Ofl(n)||`rgb`,anchorEl:null,recentColors:[]}}componentDidUpdate(e){let t=e.value??e.color??``,n=this.props.value??this.props.color??``;t!==n&&n!==this.state.textValue?this.setState({rgba:s5(n)||{...r5},textValue:n,format:this.props.format||Ofl(n)||this.state.format}):this.props.format&&this.props.format!==e.format&&this.setState({format:this.props.format})}static getColor(t,n){if(t&&typeof t==`object`){let e=t,r=e.rgb?e.rgb:t;return n?`#${r.r.toString(16).padStart(2,`0`)}${r.g.toString(16).padStart(2,`0`)}${r.b.toString(16).padStart(2,`0`)}`:`rgba(${r.r},${r.g},${r.b},${r.a??1})`}return typeof t==`string`?n?e.rgb2hex(t||``):t||``:``}static rgb2hex(e){let t=/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i.exec(e);if(t){let n=parseInt(t[1],10).toString(16).padStart(2,`0`),r=parseInt(t[2],10).toString(16).padStart(2,`0`),i=parseInt(t[3],10).toString(16).padStart(2,`0`);return(t==null?void 0:t.length)===4?`#${n}${r}${i}`:e}return e}static readRecentColors(){try{let e=window.localStorage.getItem(Sfl),t=e?JSON.parse(e):null;if(Array.isArray(t))return t.filter(e=>typeof e==`string`).slice(0,Cfl)}catch{}return[]}storeRecentColor(e){if(this.props.noRecentColors||!e||this.state.recentColors[0]===e)return;let t=[e,...this.state.recentColors.filter(t=>t!==e)].slice(0,Cfl);this.setState({recentColors:t});try{window.localStorage.setItem(Sfl,JSON.stringify(t))}catch{}}renderSwatches(e,t){return e.length?A.createElement(Gp,{component:`div`},A.createElement(Gp,{component:`div`,sx:n5.sectionTitle},t),A.createElement(Gp,{component:`div`,sx:n5.swatchRow},e.map((e,t)=>A.createElement(qp,{sx:n5.paletteItem,key:`${e}_${t}`,title:e,onClick:()=>{let t=s5(e);t?this.handleColorChange(t):this.handleTextChange(e)}},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:e}}))))):null}renderPicker(){let{rgba:e,textValue:t,format:n}=this.state,r=this.props.noAlpha?xfl:yfl;return A.createElement(Gp,{component:`div`,sx:n5.pickerWrapper,style:{width:this.props.pickerWidth||280}},A.createElement(r,{color:e,onChange:t=>this.handleColorChange({a:e.a??1,...t})}),A.createElement(Gp,{component:`div`,sx:n5.controlRow},kfl()?A.createElement(Jh,{title:Z.t(`ra_Pick color from screen`)},A.createElement(Om,{size:`small`,onClick:this.handleEyeDropper},A.createElement(X4,{fontSize:`small`}))):null,A.createElement(Gp,{component:`div`,sx:n5.preview},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:t||`transparent`}})),A.createElement(Uh,{variant:`standard`,size:`small`,sx:n5.valueInput,value:t,placeholder:Z.t(`ra_Select color`),onChange:e=>this.handleTextChange(e.target.value)}),A.createElement(uh,{variant:`standard`,disableUnderline:!0,sx:n5.formatSelect,value:n,onChange:e=>this.handleFormatChange(e.target.value)},A.createElement(qm,{value:`hex`},`HEX`),A.createElement(qm,{value:`rgb`},`RGB`),A.createElement(qm,{value:`hsl`},`HSL`)),A.createElement(Jh,{title:Z.t(`ra_Clear color`)},A.createElement(`span`,null,A.createElement(Om,{size:`small`,disabled:!t,onClick:this.handleClear},A.createElement(e6,{fontSize:`small`}))))),this.renderSwatches(this.props.customPalette||[],Z.t(`ra_Palette`)),this.renderSwatches(this.props.noRecentColors?[]:this.state.recentColors,Z.t(`ra_Recently used colors`)))}render(){let e={...this.props.style||{}};e.position=`relative`;let{textValue:t}=this.state,n=!!(this.props.label||this.props.name);return A.createElement(Gp,{component:`div`,style:e,sx:this.props.sx||void 0,className:this.props.className||``},this.props.noInputField?null:A.createElement(Uh,{disabled:this.props.disabled,variant:`standard`,id:this.props.id||`ar_color_picker_name`,label:this.props.label||this.props.name,value:t,margin:`dense`,sx:{"&.MuiFormControl-root":n5.textDense,width:t?`calc(100% - 80px)`:`calc(100% - 56px)`,mr:t?void 0:1},onChange:e=>this.handleTextChange(e.target.value)}),!this.props.noInputField&&t?A.createElement(Om,{disabled:this.props.disabled,onClick:this.handleClear,size:`small`,style:n?n5.delButton:void 0},A.createElement(e6,null)):null,A.createElement(Gp,{component:`div`,onClick:e=>!this.props.disabled&&this.handleClick(e),title:Z.t(`ra_Select color`),sx:{...n5.swatch,...this.props.disabled?n5.swatchDisabled:void 0,marginTop:this.props.noInputField||!n?0:void 0}},A.createElement(Gp,{component:`div`,sx:{...n5.color,border:t?void 0:`1px dashed #888`,boxSizing:`border-box`},style:{width:this.props.noInputField?this.props.barWidth||16:this.props.barWidth||36}},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:t||`transparent`}}))),this.state.displayColorPicker&&!this.props.disabled?A.createElement(rh,{sx:n5.popover,anchorEl:this.state.anchorEl,open:!0,onClose:this.handleClose,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`}},this.renderPicker()):null)}},l5=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>{var e={6949(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(9515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 JAN *`,"@annually":`0 0 1 JAN *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * SUN`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),!this.monthStartIndexZero&&e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d+)|([^#/\s\d]\d+)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||/[-+]/.test(e[3]))&&!/^\d{1,2}W[+-]\d{1,2}$/.test(e[3]))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s\d]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3].replace(/^(\d{1,2}W)[+-]\d{1,2}$/,`$1`),`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){e.forEach(function(e){return r.default.stepRange(e)}),r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()},8333(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var r=n(1823),i=n(6949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0||i,o=r.verbose,s=o!==void 0&&o,c=r.dayOfWeekStartIndexZero,l=c===void 0||c,u=r.monthStartIndexZero,d=u!==void 0&&u,f=r.use24HourTimeFormat,p=r.trimHoursLeadingZero,m=p!==void 0&&p,h=r.locale,g=h===void 0?null:h,_=r.logicalAndDayFields,v={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,trimHoursLeadingZero:m,locale:g,logicalAndDayFields:_!==void 0&&_};return v.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,v).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t,n=``;try{var r=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),this.expressionParts[0]===`@reboot`)return((t=(e=this.i18n).atReboot)==null?void 0:t.call(e))||`Run once, at startup`;var a=this.getTimeOfDayDescription(),o=this.getDayOfMonthDescription(),s=this.getMonthDescription(),c=this.getDayOfWeekDescription(),l=this.getYearDescription();n+=a+o+c+s+l,n=this.transformVerbosity(n,!!this.options.verbose),n=n.charAt(0).toLocaleUpperCase()+n.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return n},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a&&(a+=` `),a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)},{min:0,max:59})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){var i,a;try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():r==`0`?((a=(i=e.i18n).onTheHour)==null?void 0:a.call(i))||e.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}},{min:0,max:59})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()},{min:0,max:23})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l)}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t,n,i,a,o=null,s=this.expressionParts[3];switch(s){case`L`:o=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:o=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var c=s.match(/^(?:(\d{1,2})W|W(\d{1,2}))(?:([+-])(\d{1,2}))?$/);if(c){var l=parseInt(c[1]||c[2]),u=l==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),l.toString()),d=c[4];o=d?c[3]==`-`?r.StringUtilities.format(((n=(t=this.i18n).commaDaysBeforeTheX0OfTheMonth)==null?void 0:n.call(t,d))||`, %s days before the %s of the month`,d,u):r.StringUtilities.format(((a=(i=this.i18n).commaDaysAfterTheX0OfTheMonth)==null?void 0:a.call(i,d))||`, %s days after the %s of the month`,d,u):r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),u);break}var f=s.match(/L-(\d{1,2})/);if(f){var p=f[1];o=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(p),p);break}if(s==`*`&&this.expressionParts[5]!=`*`)return``;o=this.getSegmentDescription(s,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)})}return o},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o,s){var c=null,l=e.indexOf(`/`)>-1,u=e.indexOf(`-`)>-1,d=e.indexOf(`,`)>-1;if(!e)c=``;else if(e===`*`)c=t;else if(!l&&!u&&!d)c=r.StringUtilities.format(o(e),n(e));else if(d){for(var f=e.split(`,`),p=``,m=this.i18n.spaceAnd(),h=0;h<f.length;h++)if(h>0&&f.length>2&&(p+=`,`,h<f.length-1&&(p+=` `)),h>0&&f.length>1&&(h==f.length-1||f.length==2)&&(p+=m==`,`&&f.length>2?` `:`${m} `),f[h].indexOf(`/`)>-1||f[h].indexOf(`-`)>-1){var g=f[h].indexOf(`-`)>-1&&f[h].indexOf(`/`)==-1,_=this.getSegmentDescription(f[h],t,n,i,g?this.i18n.commaX0ThroughX1:a,o);g?_=_.replace(`, `,``):h>0&&_.startsWith(`, `)&&(_=_.substring(2)),p+=_}else if(!l)p+=n(f[h]);else{var v=this.getSegmentDescription(f[h],t,n,i,a,o);h>0&&v&&v.startsWith(`, `)&&(v=v.substring(2)),p+=v}c=l?p:r.StringUtilities.format(o(e),p)}else if(l){var f=e.split(`/`);if(c=r.StringUtilities.format(i(f[1]),f[1]),f[0].indexOf(`-`)>-1){var y=this.generateRangeSegmentDescription(f[0],a,n);y.indexOf(`, `)!=0&&(c+=`, `),c+=y}else if(f[0].indexOf(`*`)==-1){var b=r.StringUtilities.format(o(f[0]),n(f[0]));b=b.replace(`, `,``),c+=r.StringUtilities.format(this.i18n.commaStartingX0(),b)}c+=this.getWrappingIncrementDescription(e,s,t,n,i,a,o)}else u&&(c=this.generateRangeSegmentDescription(e,a,n));return c},e.prototype.getWrappingIncrementDescription=function(e,t,n,r,i,a,o){if(!this.options.verbose||!t)return``;var s=e.split(`/`),c=s[0],l=s[1],u=parseInt(l),d=t.max-t.min+1,f=c===`*`,p=Number.isInteger(u)&&u>1,m=p&&d%u===0;if(!f||!p||m)return``;for(var h=[],g=t.min;g<=t.max;g+=u)h.push(g);if(h.length<2)return``;var _=this.getSegmentDescription(h.join(`,`),n,r,i,a,o);return _?`, ${_}`:``},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;n&&(l=`:${(`00`+n).substring(n.length)}`);var u=a.toString(),d=(`00`+u).substring(u.length),f=o.toString(),p=(`00`+f).substring(f.length),m=this.options.trimHoursLeadingZero?u:d;return`${c?s:``}${m}:${p}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()},3747(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var r=n(9486);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new r.en},e}()},9486(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var n=function(e){return Number(e)===1};t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(e){return n(e)?`every %s second`:`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(e){return n(e)?`at %s second past the minute`:`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(e){return n(e)?`every %s minute`:`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(e){return n(e)?`at %s minute past the hour`:`at %s minutes past the hour`},e.prototype.everyX0Hours=function(e){return n(e)?`every %s hour`:`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return n(e)?`, %s day before the last day of the month`:`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaDaysBeforeTheX0OfTheMonth=function(e){return n(e)?`, %s day before the %s of the month`:`, %s days before the %s of the month`},e.prototype.commaDaysAfterTheX0OfTheMonth=function(e){return n(e)?`, %s day after the %s of the month`:`, %s days after the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days in a month`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(e){return n(e)?`, every %s year`:`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e.prototype.onTheHour=function(){return`on the hour`},e}()},9515(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(e,t){if(!e)throw Error(t)}function r(e){var t=[];if(!isNaN(parseInt(e,10))){t.push(parseInt(e,10));var n=e.match(/^\d+-(-?\d+)/);n&&t.push(parseInt(n[1],10))}return t}t.default=function(){function e(){}return e.stepRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++){var i=t[r].split(`/`)[1];n(i===void 0||!/^0+$/.test(i),`step value must be greater than 0`)}},e.secondRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=1&&s<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var i=e.split(`,`),a=0;a<i.length;a++)for(var o=0,s=r(i[a]);o<s.length;o++){var c=s[o];n(c>=1&&c<=12,t?`month part must be >= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var i=e.split(`,`),a=0;a<i.length;a++){if(i[a].indexOf(`#`)>-1){var o=i[a].substring(i[a].indexOf(`#`)+1);n(/^[1-5]$/.test(o),`DOW nth weekday must be >= 1 and <= 5`)}for(var s=0,c=r(i[a]);s<c.length;s++){var l=c[s];n(l>=0&&l<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}}},e}()},1823(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(8333),i=n(3747);t.ExpressionDescriptor.initialize(new i.enLocaleLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),jfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/fr`,[`cronstrue`],r):typeof e==`object`?e["locales/fr"]=r(l5()):n[`locales/fr`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.fr=void 0;var c=function(){function e(){}return e.prototype.conciseVerbosityReplacements=function(){return{"de le":`du`}},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Une erreur est survenue en générant la description de l'expression cron. Vérifiez sa syntaxe.`},e.prototype.everyMinute=function(){return`toutes les minutes`},e.prototype.everyHour=function(){return`toutes les heures`},e.prototype.atSpace=function(){return`À `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Toutes les minutes entre %s et %s`},e.prototype.at=function(){return`À`},e.prototype.spaceAnd=function(){return` et`},e.prototype.everySecond=function(){return`toutes les secondes`},e.prototype.everyX0Seconds=function(){return`toutes les %s secondes`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`les secondes entre %s et %s après la minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s secondes après la minute`},e.prototype.everyX0Minutes=function(){return`toutes les %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`les minutes entre %s et %s après l'heure`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minutes après l'heure`},e.prototype.everyX0Hours=function(){return`toutes les %s heures`},e.prototype.betweenX0AndX1=function(){return`de %s à %s`},e.prototype.atX0=function(){return`%s`},e.prototype.commaEveryDay=function(){return`, tous les jours`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, tous les %s jours de la semaine`},e.prototype.commaX0ThroughX1=function(){return`, de %s à %s`},e.prototype.commaAndX0ThroughX1=function(){return`, et de %s à %s`},e.prototype.first=function(){return`premier`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`troisième`},e.prototype.fourth=function(){return`quatrième`},e.prototype.fifth=function(){return`cinquième`},e.prototype.commaOnThe=function(){return`, le `},e.prototype.spaceX0OfTheMonth=function(){return` %s du mois`},e.prototype.lastDay=function(){return`le dernier jour`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, le dernier %s du mois`},e.prototype.commaOnlyOnX0=function(){return`, uniquement le %s`},e.prototype.commaAndOnX0=function(){return`, et %s`},e.prototype.commaEveryX0Months=function(){return`, tous les %s mois`},e.prototype.commaOnlyInX0=function(){return`, uniquement en %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, le dernier jour du mois`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, le dernier jour ouvrable du mois`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s jours avant le dernier jour du mois`},e.prototype.firstWeekday=function(){return`premier jour ouvrable`},e.prototype.weekdayNearestDayX0=function(){return`jour ouvrable le plus proche du %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryX0Days=function(){return`, tous les %s jours`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, du %s au %s du mois`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryHour=function(){return`, chaque heure`},e.prototype.commaEveryX0Years=function(){return`, tous les %s ans`},e.prototype.commaDaysX0ThroughX1=function(){return`, du %s au %s`},e.prototype.commaStartingX0=function(){return`, à partir de %s`},e.prototype.daysOfTheWeek=function(){return[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`]},e.prototype.monthsOfTheYear=function(){return[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`]},e.prototype.atReboot=function(){return`Exécuter une fois, au démarrage`},e.prototype.onTheHour=function(){return`à l'heure pile`},e}();return s.fr=c,o().locales.fr=new c,i})())})),Mfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/es`,[`cronstrue`],r):typeof e==`object`?e["locales/es"]=r(l5()):n[`locales/es`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.es=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocurrió un error mientras se generaba la descripción de la expresión. Revise la sintaxis de la expresión de cron.`},e.prototype.at=function(){return`A las`},e.prototype.atSpace=function(){return`A las `},e.prototype.atX0=function(){return`a las %s`},e.prototype.atX0MinutesPastTheHour=function(){return`a los %s minutos de la hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`a los %s segundos del minuto`},e.prototype.betweenX0AndX1=function(){return`entre las %s y las %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre los días %s y %s del mes`},e.prototype.commaEveryDay=function(){return`, cada día`},e.prototype.commaEveryX0Days=function(){return`, cada %s días`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, cada %s días de la semana`},e.prototype.commaEveryX0Months=function(){return`, cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, el día %s del mes`},e.prototype.commaOnlyInX0=function(){return`, sólo en %s`},e.prototype.commaOnlyOnX0=function(){return`, sólo el %s`},e.prototype.commaAndOnX0=function(){return`, y el %s`},e.prototype.commaOnThe=function(){return`, en el `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, en el último día del mes`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, en el último día de la semana del mes`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s días antes del último día del mes`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, en el último %s del mes`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, en el %s del mes`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, y de %s a %s`},e.prototype.everyHour=function(){return`cada hora`},e.prototype.everyMinute=function(){return`cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`cada minuto entre las %s y las %s`},e.prototype.everySecond=function(){return`cada segundo`},e.prototype.everyX0Hours=function(){return`cada %s horas`},e.prototype.everyX0Minutes=function(){return`cada %s minutos`},e.prototype.everyX0Seconds=function(){return`cada %s segundos`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primero`},e.prototype.firstWeekday=function(){return`primer día de la semana`},e.prototype.fourth=function(){return`cuarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`del minuto %s al %s pasada la hora`},e.prototype.second=function(){return`segundo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`En los segundos %s al %s de cada minuto`},e.prototype.spaceAnd=function(){return` y`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mes`},e.prototype.lastDay=function(){return`el último día`},e.prototype.third=function(){return`tercer`},e.prototype.weekdayNearestDayX0=function(){return`día de la semana más próximo al %s`},e.prototype.commaEveryX0Years=function(){return`, cada %s años`},e.prototype.commaStartingX0=function(){return`, comenzando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`lunes`,`martes`,`miércoles`,`jueves`,`viernes`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`enero`,`febrero`,`marzo`,`abril`,`mayo`,`junio`,`julio`,`agosto`,`septiembre`,`octubre`,`noviembre`,`diciembre`]},e.prototype.atReboot=function(){return`Ejecutar una vez, al iniciar`},e.prototype.onTheHour=function(){return`en punto`},e}();return s.es=c,o().locales.es=new c,i})())})),Nfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/de`,[`cronstrue`],r):typeof e==`object`?e["locales/de"]=r(l5()):n[`locales/de`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.de=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`jede Minute`},e.prototype.everyHour=function(){return`jede Stunde`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. Überprüfen Sie die Syntax des Cron-Ausdrucks.`},e.prototype.atSpace=function(){return`Um `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Jede Minute zwischen %s und %s`},e.prototype.at=function(){return`Um`},e.prototype.spaceAnd=function(){return` und`},e.prototype.everySecond=function(){return`Jede Sekunde`},e.prototype.everyX0Seconds=function(){return`alle %s Sekunden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`Sekunden %s bis %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`bei Sekunde %s`},e.prototype.everyX0Minutes=function(){return`alle %s Minuten`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Minuten %s bis %s`},e.prototype.atX0MinutesPastTheHour=function(){return`bei Minute %s`},e.prototype.everyX0Hours=function(){return`alle %s Stunden`},e.prototype.betweenX0AndX1=function(){return`zwischen %s und %s`},e.prototype.atX0=function(){return`um %s`},e.prototype.commaEveryDay=function(){return`, jeden Tag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, alle %s Tage der Woche`},e.prototype.commaX0ThroughX1=function(){return`, %s bis %s`},e.prototype.commaAndX0ThroughX1=function(){return`, und %s bis %s`},e.prototype.first=function(){return`ersten`},e.prototype.second=function(){return`zweiten`},e.prototype.third=function(){return`dritten`},e.prototype.fourth=function(){return`vierten`},e.prototype.fifth=function(){return`fünften`},e.prototype.commaOnThe=function(){return`, am `},e.prototype.spaceX0OfTheMonth=function(){return` %s des Monats`},e.prototype.lastDay=function(){return`der letzte Tag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, am letzten %s des Monats`},e.prototype.commaOnlyOnX0=function(){return`, nur jeden %s`},e.prototype.commaAndOnX0=function(){return`, und jeden %s`},e.prototype.commaEveryX0Months=function(){return`, alle %s Monate`},e.prototype.commaOnlyInX0=function(){return`, nur im %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, am letzten Tag des Monats`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, am letzten Werktag des Monats`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s tage vor dem letzten Tag des Monats`},e.prototype.firstWeekday=function(){return`ersten Werktag`},e.prototype.weekdayNearestDayX0=function(){return`Werktag am nächsten zum %s Tag`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, am %s des Monats`},e.prototype.commaEveryX0Days=function(){return`, alle %s Tage`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, zwischen Tag %s und %s des Monats`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, an Tag %s des Monats`},e.prototype.commaEveryX0Years=function(){return`, alle %s Jahre`},e.prototype.commaStartingX0=function(){return`, beginnend %s`},e.prototype.daysOfTheWeek=function(){return[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},e.prototype.monthsOfTheYear=function(){return[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`]},e.prototype.atReboot=function(){return`Einmal ausführen, beim Start`},e.prototype.onTheHour=function(){return`zur vollen Stunde`},e}();return s.de=c,o().locales.de=new c,i})())})),Pfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/it`,[`cronstrue`],r):typeof e==`object`?e["locales/it"]=r(l5()):n[`locales/it`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.it=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`È verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron.`},e.prototype.at=function(){return`Alle`},e.prototype.atSpace=function(){return`Alle `},e.prototype.atX0=function(){return`alle %s`},e.prototype.atX0MinutesPastTheHour=function(){return`al %s minuto passata l'ora`},e.prototype.atX0SecondsPastTheMinute=function(){return`al %s secondo passato il minuto`},e.prototype.betweenX0AndX1=function(){return`tra le %s e le %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tra il giorno %s e %s del mese`},e.prototype.commaEveryDay=function(){return`, ogni giorno`},e.prototype.commaEveryX0Days=function(){return`, ogni %s giorni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ogni %s giorni della settimana`},e.prototype.commaEveryX0Months=function(){return`, ogni %s mesi`},e.prototype.commaEveryX0Years=function(){return`, ogni %s anni`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, il giorno %s del mese`},e.prototype.commaOnlyInX0=function(){return`, solo in %s`},e.prototype.commaOnlyOnX0=function(){return`, solo il %s`},e.prototype.commaAndOnX0=function(){return`, e il %s`},e.prototype.commaOnThe=function(){return`, il `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, l'ultimo giorno del mese`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, nell'ultima settimana del mese`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s giorni prima dell'ultimo giorno del mese`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, l'ultimo %s del mese`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, il %s del mese`},e.prototype.commaX0ThroughX1=function(){return`, %s al %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e %s al %s`},e.prototype.everyHour=function(){return`ogni ora`},e.prototype.everyMinute=function(){return`ogni minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ogni minuto tra le %s e le %s`},e.prototype.everySecond=function(){return`ogni secondo`},e.prototype.everyX0Hours=function(){return`ogni %s ore`},e.prototype.everyX0Minutes=function(){return`ogni %s minuti`},e.prototype.everyX0Seconds=function(){return`ogni %s secondi`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primo`},e.prototype.firstWeekday=function(){return`primo giorno della settimana`},e.prototype.fourth=function(){return`quarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuti %s al %s dopo l'ora`},e.prototype.second=function(){return`secondo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`secondi %s al %s oltre il minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mese`},e.prototype.lastDay=function(){return`l'ultimo giorno`},e.prototype.third=function(){return`terzo`},e.prototype.weekdayNearestDayX0=function(){return`giorno della settimana più vicino al %s`},e.prototype.commaStartingX0=function(){return`, a partire %s`},e.prototype.daysOfTheWeek=function(){return[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`]},e.prototype.monthsOfTheYear=function(){return[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`]},e.prototype.atReboot=function(){return`Esegui una volta, all'avvio`},e.prototype.onTheHour=function(){return`all'ora esatta`},e}();return s.it=c,o().locales.it=new c,i})())})),Ffl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/ru`,[`cronstrue`],r):typeof e==`object`?e["locales/ru"]=r(l5()):n[`locales/ru`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.ru=void 0;var c=function(e,t){var n=Number(e);return n===void 0?t[2]:t[n%100>4&&n%100<20?2:[2,0,1,1,1,2][n%10<5?Math.abs(n)%10:5]]},l=function(e,t){var n=Number(e);return n===void 0?t[1]:t[n===0?0:n===1||n===2||n===4?1:2]},u=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`каждую минуту`},e.prototype.everyHour=function(){return`каждый час`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Произошла ошибка во время генерации описания выражения. Проверьте синтаксис крон-выражения.`},e.prototype.atSpace=function(){return`В `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Каждую минуту с %s по %s`},e.prototype.at=function(){return`В`},e.prototype.spaceAnd=function(){return` и`},e.prototype.everySecond=function(){return`каждую секунду`},e.prototype.everyX0Seconds=function(e){return c(e,[`каждую %s секунду`,`каждые %s секунды`,`каждые %s секунд`])},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`секунды с %s по %s`},e.prototype.atX0SecondsPastTheMinute=function(e){return c(e,[`в %s секунду`,`в %s секунды`,`в %s секунд`])},e.prototype.everyX0Minutes=function(e){return c(e,[`каждую %s минуту`,`каждые %s минуты`,`каждые %s минут`])},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`минуты с %s по %s`},e.prototype.atX0MinutesPastTheHour=function(e){return c(e,[`в %s минуту`,`в %s минуты`,`в %s минут`])},e.prototype.everyX0Hours=function(e){return c(e,[`каждый %s час`,`каждые %s часа`,`каждые %s часов`])},e.prototype.betweenX0AndX1=function(){return`с %s по %s`},e.prototype.atX0=function(){return`в %s`},e.prototype.commaEveryDay=function(){return`, каждый день`},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return c(e,[`, каждый %s день недели`,`, каждые %s дня недели`,`, каждые %s дней недели`])},e.prototype.commaX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?`, со %s по %s`:`, с %s по %s`},e.prototype.commaAndX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?` и со %s по %s`:` и с %s по %s`},e.prototype.first=function(e){return l(e,[`первое`,`первый`,`первую`])},e.prototype.second=function(e){return l(e,[`второе`,`второй`,`вторую`])},e.prototype.third=function(e){return l(e,[`третье`,`третий`,`третью`])},e.prototype.fourth=function(e){return l(e,[`четвертое`,`четвертый`,`четвертую`])},e.prototype.fifth=function(e){return l(e,[`пятое`,`пятый`,`пятую`])},e.prototype.commaOnThe=function(e){return e===`2`?`, во `:`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s месяца`},e.prototype.lastDay=function(){return`последний день`},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return l(e,[`, в последнее %s месяца`,`, в последний %s месяца`,`, в последнюю %s месяца`])},e.prototype.commaOnlyOnX0=function(e){return e&&e[0]===`2`?`, только во %s`:`, только в %s`},e.prototype.commaAndOnX0=function(){return`, и %s`},e.prototype.commaEveryX0Months=function(e){return c(e,[``,` каждые %s месяца`,` каждые %s месяцев`])},e.prototype.commaOnlyInMonthX0=function(){return`, только %s`},e.prototype.commaOnlyInX0=function(){return`, только в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в последний день месяца`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в последний будний день месяца`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return c(e,[`, за %s день до конца месяца`,`, за %s дня до конца месяца`,`, за %s дней до конца месяца`])},e.prototype.firstWeekday=function(){return`первый будний день`},e.prototype.weekdayNearestDayX0=function(){return`ближайший будний день к %s числу`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s месяца`},e.prototype.commaEveryX0Days=function(e){return c(e,[`, каждый %s день`,`, каждые %s дня`,`, каждые %s дней`])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){return e&&e.substring(0,e.indexOf(`-`))==`2`?`, со %s по %s число месяца`:`, с %s по %s число месяца`},e.prototype.commaOnDayX0OfTheMonth=function(e){return e&&e[0]==`2`?`, во %s число месяца`:`, в %s число месяца`},e.prototype.commaEveryX0Years=function(e){return c(e,[`, каждый %s год`,`, каждые %s года`,`, каждые %s лет`])},e.prototype.commaStartingX0=function(){return`, начало %s`},e.prototype.daysOfTheWeek=function(){return[`воскресенье`,`понедельник`,`вторник`,`среда`,`четверг`,`пятница`,`суббота`]},e.prototype.daysOfTheWeekInCase=function(e){return e===void 0&&(e=2),e==1?[`воскресенья`,`понедельника`,`вторника`,`среды`,`четверга`,`пятницы`,`субботы`]:[`воскресенье`,`понедельник`,`вторник`,`среду`,`четверг`,`пятницу`,`субботу`]},e.prototype.monthsOfTheYear=function(){return[`январь`,`февраль`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`]},e.prototype.monthsOfTheYearInCase=function(e){return e==1?[`января`,`февраля`,`марта`,`апреля`,`мая`,`июня`,`июля`,`августа`,`сентября`,`октября`,`ноября`,`декабря`]:this.monthsOfTheYear()},e.prototype.atReboot=function(){return`Выполнить один раз, при запуске`},e.prototype.onTheHour=function(){return`ровно в час`},e}();return s.ru=u,o().locales.ru=new u,i})())})),Ifl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/zh_CN`,[`cronstrue`],r):typeof e==`object`?e["locales/zh_CN"]=r(l5()):n[`locales/zh_CN`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.zh_CN=void 0;var c=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`下午`},e.prototype.am=function(){return`上午`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, 从%s年至%s年`},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`每分钟`},e.prototype.everyHour=function(){return`每小时`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`生成表达式描述时发生了错误,请检查cron表达式语法。`},e.prototype.atSpace=function(){return`在`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`在 %s 至 %s 之间的每分钟`},e.prototype.at=function(){return`在`},e.prototype.spaceAnd=function(){return` 和`},e.prototype.everySecond=function(){return`每秒`},e.prototype.everyX0Seconds=function(){return`每隔 %s 秒`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`在一分钟后的第 %s 到 %s 秒`},e.prototype.atX0SecondsPastTheMinute=function(){return`在一分钟后的第 %s 秒`},e.prototype.everyX0Minutes=function(){return`每隔 %s 分钟`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`在整点后的第 %s 到 %s 分钟`},e.prototype.atX0MinutesPastTheHour=function(){return`在整点后的第 %s 分钟`},e.prototype.everyX0Hours=function(){return`每隔 %s 小时`},e.prototype.betweenX0AndX1=function(){return`在 %s 和 %s 之间`},e.prototype.atX0=function(){return`在%s`},e.prototype.commaEveryDay=function(){return`, 每天`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, 每周的每 %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %s至%s`},e.prototype.commaAndX0ThroughX1=function(){return`, 和%s至%s`},e.prototype.first=function(){return`第一个`},e.prototype.second=function(){return`第二个`},e.prototype.third=function(){return`第三个`},e.prototype.fourth=function(){return`第四个`},e.prototype.fifth=function(){return`第五个`},e.prototype.commaOnThe=function(){return`, 限每月的`},e.prototype.spaceX0OfTheMonth=function(){return`%s`},e.prototype.lastDay=function(){return`本月最后一天`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, 限每月的最后一个%s`},e.prototype.commaOnlyOnX0=function(){return`, 仅%s`},e.prototype.commaAndOnX0=function(){return`, 或者为%s`},e.prototype.commaEveryX0Months=function(){return`, 每隔 %s 个月`},e.prototype.commaOnlyInX0=function(){return`, 仅限%s`},e.prototype.commaOnlyInMonthX0=function(){return`, 仅于%s份`},e.prototype.commaOnlyInYearX0=function(){return`, 仅于 %s 年`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, 限每月的最后一天`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 限每月的最后一个工作日`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, 限每月最后%s天`},e.prototype.firstWeekday=function(){return`第一个工作日`},e.prototype.weekdayNearestDayX0=function(){return`最接近 %s 号的工作日`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 限每月的%s`},e.prototype.commaEveryX0Days=function(){return`, 每隔 %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 限每月的 %s 至 %s 之间`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 限每月%s`},e.prototype.commaEveryX0Years=function(){return`, 每隔 %s 年`},e.prototype.commaStartingX0=function(){return`, %s开始`},e.prototype.dayX0=function(){return` %s 号`},e.prototype.daysOfTheWeek=function(){return[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`]},e.prototype.monthsOfTheYear=function(){return[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`]},e.prototype.atReboot=function(){return`开机时运行一次`},e.prototype.onTheHour=function(){return`整点`},e}();return s.zh_CN=c,o().locales.zh_CN=new c,i})())})),Lfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/uk`,[`cronstrue`],r):typeof e==`object`?e["locales/uk"]=r(l5()):n[`locales/uk`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.uk=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`щохвилини`},e.prototype.everyHour=function(){return`щогодини`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ВІдбулася помилка підчас генерації опису. Перевірта правильність написання cron виразу.`},e.prototype.atSpace=function(){return`О `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Щохвилини між %s та %s`},e.prototype.at=function(){return`О`},e.prototype.spaceAnd=function(){return` та`},e.prototype.everySecond=function(){return`Щосекунди`},e.prototype.everyX0Seconds=function(){return`кожні %s секунд`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`з %s по %s секунду`},e.prototype.atX0SecondsPastTheMinute=function(){return`о %s секунді`},e.prototype.everyX0Minutes=function(){return`кожні %s хвилин`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`з %s по %s хвилину`},e.prototype.atX0MinutesPastTheHour=function(){return`о %s хвилині`},e.prototype.everyX0Hours=function(){return`кожні %s годин`},e.prototype.betweenX0AndX1=function(){return`між %s та %s`},e.prototype.atX0=function(){return`о %s`},e.prototype.commaEveryDay=function(){return`, щоденно`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, кожен %s день тижня`},e.prototype.commaX0ThroughX1=function(){return`, %s по %s`},e.prototype.commaAndX0ThroughX1=function(){return`, та %s по %s`},e.prototype.first=function(){return`перший`},e.prototype.second=function(){return`другий`},e.prototype.third=function(){return`третій`},e.prototype.fourth=function(){return`четвертий`},e.prototype.fifth=function(){return`п'ятий`},e.prototype.commaOnThe=function(){return`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s місяця`},e.prototype.lastDay=function(){return`останній день`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, в останній %s місяця`},e.prototype.commaOnlyOnX0=function(){return`, тільки в %s`},e.prototype.commaAndOnX0=function(){return`, і в %s`},e.prototype.commaEveryX0Months=function(){return`, кожен %s місяць`},e.prototype.commaOnlyInX0=function(){return`, тільки в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в останній день місяця`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в останній будень місяця`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s днів до останнього дня місяця`},e.prototype.firstWeekday=function(){return`перший будень`},e.prototype.weekdayNearestDayX0=function(){return`будень найближчий до %s дня`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s місяця`},e.prototype.commaEveryX0Days=function(){return`, кожен %s день`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, між %s та %s днями місяця`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, на %s день місяця`},e.prototype.commaEveryX0Years=function(){return`, кожні %s роки`},e.prototype.commaStartingX0=function(){return`, початок %s`},e.prototype.daysOfTheWeek=function(){return[`неділя`,`понеділок`,`вівторок`,`середа`,`четвер`,`п'ятниця`,`субота`]},e.prototype.monthsOfTheYear=function(){return[`січень`,`лютий`,`березень`,`квітень`,`травень`,`червень`,`липень`,`серпень`,`вересень`,`жовтень`,`листопад`,`грудень`]},e.prototype.atReboot=function(){return`Виконати один раз, при запуску`},e.prototype.onTheHour=function(){return`рівно о годині`},e}();return s.uk=c,o().locales.uk=new c,i})())})),Rfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/pt_BR`,[`cronstrue`],r):typeof e==`object`?e["locales/pt_BR"]=r(l5()):n[`locales/pt_BR`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pt_BR=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocorreu um erro ao gerar a descrição da expressão Cron.`},e.prototype.at=function(){return`às`},e.prototype.atSpace=function(){return`às `},e.prototype.atX0=function(){return`Às %s`},e.prototype.atX0MinutesPastTheHour=function(){return`aos %s minutos da hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`aos %s segundos do minuto`},e.prototype.betweenX0AndX1=function(){return`entre %s e %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre os dias %s e %s do mês`},e.prototype.commaEveryDay=function(){return`, a cada dia`},e.prototype.commaEveryX0Days=function(){return`, a cada %s dias`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a cada %s dias de semana`},e.prototype.commaEveryX0Months=function(){return`, a cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, no dia %s do mês`},e.prototype.commaOnlyInX0=function(e){return e&&e.length>1&&e[1]===`-`?`somente %s`:`, somente em %s`},e.prototype.commaOnlyOnX0=function(e){return e&&e.length>1&&e[1]===`-`?`, somente %s`:`, somente de %s`},e.prototype.commaAndOnX0=function(){return`, e de %s`},e.prototype.commaOnThe=function(e,t){return t===`6`||t===`0`?`, no`:`, na `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, no último dia do mês`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, no último dia da semana do mês`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dias antes do último dia do mês`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, na última %s do mês`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, no %s do mês`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e de %s a %s`},e.prototype.everyHour=function(){return`a cada hora`},e.prototype.everyMinute=function(){return`a cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`a cada minuto entre %s e %s`},e.prototype.everySecond=function(){return`a cada segundo`},e.prototype.everyX0Hours=function(){return`a cada %s horas`},e.prototype.everyX0Minutes=function(){return`a cada %s minutos`},e.prototype.everyX0Seconds=function(){return`a cada %s segundos`},e.prototype.fifth=function(e){return e===`6`||e===`0`?`quinto`:`quinta`},e.prototype.first=function(e){return e===`6`||e===`0`?`primeiro`:`primeira`},e.prototype.firstWeekday=function(){return`primeiro dia da semana`},e.prototype.fourth=function(e){return e===`6`||e===`0`?`quarto`:`quarta`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`do minuto %s até %s de cada hora`},e.prototype.second=function(e){return e===`6`||e===`0`?`segundo`:`segunda`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`No segundo %s até %s de cada minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s do mês`},e.prototype.lastDay=function(){return`o último dia`},e.prototype.third=function(e){return e===`6`||e===`0`?`terceiro`:`terceira`},e.prototype.weekdayNearestDayX0=function(){return`dia da semana mais próximo do dia %s`},e.prototype.commaEveryX0Years=function(){return`, a cada %s anos`},e.prototype.commaStartingX0=function(){return`, iniciando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`]},e.prototype.atReboot=function(){return`Executar uma vez, na inicialização`},e.prototype.onTheHour=function(){return`na hora certa`},e}();return s.pt_BR=c,o().locales.pt_BR=new c,i})())})),zfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/pl`,[`cronstrue`],r):typeof e==`object`?e["locales/pl"]=r(l5()):n[`locales/pl`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pl=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Wystąpił błąd podczas generowania opisu wyrażenia cron. Sprawdź składnię wyrażenia cron.`},e.prototype.at=function(){return`O`},e.prototype.atSpace=function(){return`O `},e.prototype.atX0=function(){return`o %s`},e.prototype.atX0MinutesPastTheHour=function(){return`w %s minucie`},e.prototype.atX0SecondsPastTheMinute=function(){return`w %s sekundzie`},e.prototype.betweenX0AndX1=function(){return`od %s do %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, od %s-ego do %s-ego dnia miesiąca`},e.prototype.commaEveryDay=function(){return`, co dzień`},e.prototype.commaEveryX0Days=function(){return`, co %s dni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, co %s dni tygodnia`},e.prototype.commaEveryX0Months=function(){return`, co %s miesięcy`},e.prototype.commaEveryX0Years=function(){return`, co %s lat`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s-ego dnia miesiąca`},e.prototype.commaOnlyInX0=function(){return`, tylko %s`},e.prototype.commaOnlyOnX0=function(){return`, tylko %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ostatni dzień miesiąca`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ostatni dzień roboczy miesiąca`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dni przed ostatnim dniem miesiąca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ostatni %s miesiąca`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s miesiąca`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`co godzinę`},e.prototype.everyMinute=function(){return`co minutę`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Co minutę od %s do %s`},e.prototype.everySecond=function(){return`co sekundę`},e.prototype.everyX0Hours=function(){return`co %s godzin`},e.prototype.everyX0Minutes=function(){return`co %s minut`},e.prototype.everyX0Seconds=function(){return`co %s sekund`},e.prototype.fifth=function(){return`piąty`},e.prototype.first=function(){return`pierwszy`},e.prototype.firstWeekday=function(){return`pierwszy dzień roboczy`},e.prototype.fourth=function(){return`czwarty`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuty od %s do %s`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s miesiąca`},e.prototype.lastDay=function(){return`ostatni dzień`},e.prototype.third=function(){return`trzeci`},e.prototype.weekdayNearestDayX0=function(){return`dzień roboczy najbliższy %s-ego dnia`},e.prototype.commaStartingX0=function(){return`, startowy %s`},e.prototype.daysOfTheWeek=function(){return[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`]},e.prototype.monthsOfTheYear=function(){return[`styczeń`,`luty`,`marzec`,`kwiecień`,`maj`,`czerwiec`,`lipiec`,`sierpień`,`wrzesień`,`październik`,`listopad`,`grudzień`]},e.prototype.atReboot=function(){return`Uruchom raz, przy starcie`},e.prototype.onTheHour=function(){return`o pełnej godzinie`},e}();return s.pl=c,o().locales.pl=new c,i})())})),Bfl=e(l5());jfl(),Mfl(),Nfl(),Pfl(),Ffl(),Ifl(),Lfl(),Rfl(),zfl();function u5(e,t){return Bfl.default.toString(e,{locale:t})}var d5={mainDiv:{width:`100%`,height:`100%`},periodSelect:{display:`block`,width:250},slider:{marginTop:20,display:`block`,width:`100%`},tabContent:{padding:20,height:`calc(100% - 240px)`,overflow:`auto`},numberButton:{padding:4,minWidth:40,margin:5},numberButtonBreak:{display:`block`},appBar:{color:`white`},warning:{marginLeft:16,color:`red`,fontSize:12}},Vfl=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],Hfl=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];function Ufl(e,t){let n=[];if(e===`*`){if(t===24||t===60||t===7)for(let e=0;e<t;e++)n.push(e);else for(let e=1;e<=t;e++)n.push(e);return n}let r=(e||``).toString().split(`,`);for(let e=0;e<r.length;e++){if(!r[e].trim().length)continue;let t=r[e].trim().split(`-`);if(t.length>1){let e=parseInt(t[1],10);for(let r=parseInt(t[0],10);r<=e;r++)n.push(r)}else n.push(parseInt(r[e],10))}n.sort();for(let e=n.length-1;e>=0;e--)n[e]===n[e+1]&&n.splice(e+1,1);return n}function Wfl(e,t){if(typeof e!=`object`&&(e=[e]),e.length===t)return`*`;let n=[];if(!e.length)return`-`;e=e.map(e=>parseInt(e,10)),e.sort((e,t)=>e-t);let r=e[0],i=e[0];for(let t=1;t<e.length;t++)e[t]-1!==parseInt(e[t-1],10)&&(r===i?n.push(r):i-1===r?n.push(`${r},${i}`):n.push(`${r}-${i}`),r=e[t]),i=e[t];return r===i?n.push(r):i-1===r?n.push(`${r},${i}`):n.push(`${r}-${i}`),n.join(`,`)}var f5=class e extends s{constructor(t){super(t);let n=typeof this.props.cronExpression==`string`?this.props.cronExpression.replace(/^["']/,``).replace(/["']\n?$/,``):``;n[0]===`{`&&(n=``);let r=e.cron2state(n||`* * * * *`);this.state={extended:!1,tab:r.seconds===!1?0:1,cron:e.state2cron(r),modes:{seconds:null,minutes:null,hours:null,dates:null,months:null,dow:null}},Object.assign(this.state,r),this.state.cron!==this.props.cronExpression&&setTimeout(()=>this.props.onChange&&this.props.onChange(this.state.cron),100)}static cron2state(e){e=e.replace(/['"]/g,``).trim();let t=e.split(` `).map(e=>e.trim()),n;return n=t.length===6?{seconds:t[0]||`*`,minutes:t[1]||`*`,hours:t[2]||`*`,dates:t[3]||`*`,months:t[4]||`*`,dow:t[5]||`*`}:{seconds:!1,minutes:t[0]||`*`,hours:t[1]||`*`,dates:t[2]||`*`,months:t[3]||`*`,dow:t[4]||`*`},n}static state2cron(e){let t=`${e.minutes} ${e.hours} ${e.dates} ${e.months} ${e.dow}`;return e.seconds!==!1&&(t=`${e.seconds} ${t}`),t}recalcCron(){let t=e.state2cron(this.state);t!==this.state.cron&&this.setState({cron:t},()=>this.props.onChange&&this.props.onChange(this.state.cron))}onToggle(e,t,n){if(e===!0)this.setCronAttr(t,`*`);else if(e===!1)n===60||n===24?this.setCronAttr(t,`0`):this.setCronAttr(t,`1`);else{let r=Ufl(this.state[t],n),i=r.indexOf(e);i===-1?(r.push(e),r.sort()):r.splice(i,1),this.setCronAttr(t,Wfl(r,n))}}getDigitsSelector(e,t){let n=[];if(t===7)n=[1,2,3,4,5,6,0];else if(t===60||t===24)for(let e=0;e<t;e++)n.push(e);else for(let e=1;e<=t;e++)n.push(e);let r=Ufl(this.state[e],t);return[A.createElement(qp,{key:`removeall`,variant:`outlined`,style:d5.numberButton,color:`primary`,onClick:()=>this.onToggle(!1,e,t)},Z.t(`ra_Deselect all`)),A.createElement(qp,{key:`addall`,variant:`contained`,style:d5.numberButton,color:`secondary`,onClick:()=>this.onToggle(!0,e,t)},Z.t(`ra_Select all`)),A.createElement(`div`,{key:`all`},n.map(n=>[t===7&&n===4||t===12&&n===7||t===31&&!((n-1)%10)||t===60&&n&&!(n%10)||t===24&&n&&!(n%6)?A.createElement(`div`,{key:`allInner${n}`,style:{width:`100%`}}):null,A.createElement(qp,{key:`_${n}`,variant:r.indexOf(n)===-1?`outlined`:`contained`,style:d5.numberButton,color:r.indexOf(n)===-1?`primary`:`secondary`,onClick:()=>this.onToggle(n,e,t)},t===7?Z.t(Vfl[n]):t===12?Hfl[n-1]:n)]))]}getPeriodsTab(e,t){let n=this.state[e],r=n===`*`,i=n!=null&&n.toString().includes(`/`),a;if(this.state.modes[e]===null){a=r?`every`:i?`everyN`:`specific`;let t=JSON.parse(JSON.stringify(this.state.modes));return t[e]=a,setTimeout(()=>this.setState({modes:t},()=>this.recalcCron()),100),null}r=this.state.modes[e]===`every`,i=this.state.modes[e]===`everyN`,a=this.state.modes[e];let o=1;return i&&n&&(o=parseInt(n.replace(`*/`,``),10)||1),A.createElement(`div`,null,A.createElement(uh,{variant:`standard`,style:{...d5.periodSelect,verticalAlign:`bottom`},value:a,onChange:n=>{let r=JSON.parse(JSON.stringify(this.state.modes));if(r[e]=n.target.value,n.target.value===`every`)this.setCronAttr(e,`*`,r);else if(n.target.value===`everyN`){let t=parseInt((this.state[e]||``).toString().replace(`*/`,``),10)||1;this.setCronAttr(e,`*/${t}`,r)}else if(n.target.value===`specific`){let n=parseInt((this.state[e]||``).toString().split(`,`)[0],10)||0;n||e!==`months`&&e!==`dates`||(n=1),this.setCronAttr(e,Wfl(n,t),r)}}},A.createElement(qm,{key:`every`,value:`every`},Z.t(`sc_every_${e}`)),A.createElement(qm,{key:`everyN`,value:`everyN`},Z.t(`sc_everyN_${e}`)),A.createElement(qm,{key:`specific`,value:`specific`},Z.t(`sc_specific_${e}`))),i&&A.createElement(Uh,{variant:`standard`,key:`interval`,label:Z.t(`sc_${e}`),value:o,slotProps:{htmlInput:{min:1,max:t},inputLabel:{shrink:!0}},onChange:t=>{this.setState({[e]:`*/${t.target.value}`},()=>this.recalcCron())},type:`number`,margin:`normal`}),!r&&!i&&this.getDigitsSelector(e,t))}static convertCronToText(e,t){return e.split(` `).includes(`-`)?Z.t(`ra_Invalid CRON`):u5(e,t)}setCronAttr(e,t,n){n?e===`seconds`?this.setState({seconds:t,modes:n},()=>this.recalcCron()):e===`minutes`?this.setState({minutes:t,modes:n},()=>this.recalcCron()):e===`hours`?this.setState({hours:t,modes:n},()=>this.recalcCron()):e===`dates`?this.setState({dates:t,modes:n},()=>this.recalcCron()):e===`months`?this.setState({months:t,modes:n},()=>this.recalcCron()):e===`dow`?this.setState({dow:t,modes:n},()=>this.recalcCron()):this.setState({modes:n},()=>this.recalcCron()):e===`seconds`?this.setState({seconds:t},()=>this.recalcCron()):e===`minutes`?this.setState({minutes:t},()=>this.recalcCron()):e===`hours`?this.setState({hours:t},()=>this.recalcCron()):e===`dates`?this.setState({dates:t},()=>this.recalcCron()):e===`months`?this.setState({months:t},()=>this.recalcCron()):e===`dow`&&this.setState({dow:t},()=>this.recalcCron())}render(){let t=this.state.seconds===!1?this.state.tab+1:this.state.tab,n=this.state.minutes===`*`||this.state.minutes===`*/1`,r=this.state.seconds===`*`||this.state.seconds===`*/1`;return A.createElement(`div`,{style:d5.mainDiv},A.createElement(`div`,{style:{paddingLeft:8,width:`calc(100% - 8px)`}},A.createElement(Uh,{variant:`standard`,style:{width:`100%`},value:this.state.cron,disabled:!0})),A.createElement(`div`,{style:{paddingLeft:8,width:`calc(100% - 8px)`,height:60}},e.convertCronToText(this.state.cron,this.props.language||`en`),A.createElement(`span`,{style:d5.warning},r?Z.t(`ra_warning_every_second`):n?Z.t(`ra_warning_every_minute`):``)),A.createElement(xm,{control:A.createElement(nm,{checked:!!this.state.seconds,onChange:e=>this.setState({seconds:e.target.checked?`*`:!1},()=>this.recalcCron())}),label:Z.t(`ra_use seconds`)}),A.createElement(Lp,{position:`static`,sx:{"&.MuiAppBar-root":d5.appBar},color:`secondary`},A.createElement(Vh,{value:this.state.tab,style:d5.appBar,color:`secondary`,onChange:(e,t)=>this.setState({tab:t})},this.state.seconds!==!1&&A.createElement(Ah,{id:`sc_seconds`,label:Z.t(`sc_seconds`)}),A.createElement(Ah,{id:`minutes`,label:Z.t(`sc_minutes`)}),A.createElement(Ah,{id:`hours`,label:Z.t(`sc_hours`)}),A.createElement(Ah,{id:`dates`,label:Z.t(`sc_dates`)}),A.createElement(Ah,{id:`months`,label:Z.t(`sc_months`)}),A.createElement(Ah,{id:`dow`,label:Z.t(`sc_dows`)}))),t===0&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`seconds`,60)),t===1&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`minutes`,60)),t===2&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`hours`,24)),t===3&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`dates`,31)),t===4&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`months`,12)),t===5&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`dow`,7)))}},p5={modalDialog:{minWidth:400,maxWidth:800},overflowHidden:{display:`flex`,overflow:`hidden`},titleIcon:{marginRight:5},content:{fontSize:16},languageButton:{position:`absolute`,right:8,top:8},languageButtonActive:e=>({color:e.palette.primary.main})};function Gfl(e){let{open:t,toggleTranslation:n,noTranslation:r,title:i,fullWidth:a,help:o,maxWidth:s,progress:c,icon:l,applyDisabled:u,applyButton:d,onClose:f,children:p,titleButtonApply:m,titleButtonClose:h,onApply:_,textInput:v,defaultValue:y,overflowHidden:b}=e,[x,C]=g(y||``);S(()=>{C(y||``)},[y]);let w=Fg(),T=Xh(w.breakpoints.down(`md`)),E=null;return l&&(E=l),A.createElement(um,{open:t,maxWidth:T?!1:s||`md`,fullWidth:!!a,fullScreen:T,onClose:f,sx:{"& .MuiDialog-paper":T?{}:p5.modalDialog}},i&&A.createElement(mm,null,l?A.createElement(E,{style:p5.titleIcon}):null,i,Z.getLanguage()!==`en`&&n?A.createElement(Om,{size:`large`,sx:F8.getStyle(e.theme,p5.languageButton,r&&p5.languageButtonActive),onClick:()=>n(),title:Z.t(`Disable/Enable translation`)},A.createElement(j6,null)):null),A.createElement(fm,{style:{...p5.content,...b?p5.overflowHidden:void 0,paddingTop:8}},v&&A.createElement(Uh,{autoComplete:`off`,fullWidth:!0,autoFocus:!0,variant:`outlined`,size:`medium`,multiline:!0,value:x,onChange:e=>C(e.target.value)}),p,o?A.createElement(`div`,null,o):null),A.createElement(dm,null,d!==!1&&A.createElement(qp,{startIcon:A.createElement(Z$,null),disabled:c||u&&y===x,onClick:()=>_(v?x:``),variant:`contained`,color:`primary`},Z.t(m||`ra_Ok`)),A.createElement(qp,{color:`grey`,onClick:f,disabled:c,variant:`contained`,startIcon:A.createElement(q0,null)},Z.t(h||`ra_Cancel`))))}var Kfl=new Map([[`avif`,`image/avif`],[`bmp`,`image/bmp`],[`css`,`text/css`],[`csv`,`text/csv`],[`doc`,`application/msword`],[`docx`,`application/vnd.openxmlformats-officedocument.wordprocessingml.document`],[`gif`,`image/gif`],[`gz`,`application/gzip`],[`htm`,`text/html`],[`html`,`text/html`],[`ico`,`image/x-icon`],[`jpeg`,`image/jpeg`],[`jpg`,`image/jpeg`],[`js`,`application/javascript`],[`json`,`application/json`],[`md`,`text/markdown`],[`mjs`,`application/javascript`],[`mp3`,`audio/mpeg`],[`mp4`,`video/mp4`],[`ogg`,`audio/ogg`],[`pdf`,`application/pdf`],[`png`,`image/png`],[`ppt`,`application/powerpoint`],[`pptx`,`application/vnd.openxmlformats-officedocument.presentationml.presentation`],[`svg`,`image/svg+xml`],[`tif`,`image/tiff`],[`tiff`,`image/tiff`],[`txt`,`text/plain`],[`wasm`,`application/wasm`],[`wav`,`audio/x-wav`],[`weba`,`audio/webm`],[`webm`,`video/webm`],[`webp`,`image/webp`],[`xls`,`application/vnd.ms-excel`],[`xlsx`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`],[`xml`,`application/xml`],[`zip`,`application/zip`]]),qfl=class extends Error{constructor(e){super(`DataTransferItem is not a file`),this.item=e,this.name=`UnexpectedObjectError`}};function m5(e,t,n){let r=e,{webkitRelativePath:i}=e,a=typeof t==`string`?t:typeof i==`string`&&i.length>0?i:`./${e.name}`;return typeof r.path!=`string`&&Yfl(r,`path`,a),n!==void 0&&Object.defineProperty(r,"handle",{value:n,writable:!1,configurable:!1,enumerable:!0}),Yfl(r,`relativePath`,a),r}function Jfl(e,t=Kfl){let{name:n}=e;if(n&&n.lastIndexOf(`.`)!==-1&&!e.type){let r=n.split(`.`).pop().toLowerCase(),i=t.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function Yfl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}var Xfl=[`.DS_Store`,`Thumbs.db`];async function Zfl(e,{mimeTypes:t=Kfl}={}){return(await Qfl(e)).map(e=>e instanceof File?Jfl(e,t):e)}async function Qfl(e){return h5(e)&&$fl(e.dataTransfer)?ipl(e.dataTransfer,e.type):epl(e)?apl(e.clipboardData):tpl(e)?npl(e):Array.isArray(e)&&e.every(e=>`getFile`in e&&typeof e.getFile==`function`)?rpl(e):[]}function $fl(e){return h5(e)}function epl(e){return h5(e)&&$fl(e.clipboardData)}function tpl(e){return h5(e)&&h5(e.target)}function h5(e){return typeof e==`object`&&!!e}function npl(e){return g5(e.target.files).map(e=>m5(e))}async function rpl(e){return(await Promise.all(e.map(e=>e.getFile()))).map(e=>m5(e))}async function ipl(e,t){let n=g5(e.items).filter(e=>e.kind===`file`);return t===`drop`?opl(cpl(await Promise.all(n.map(spl)))):n}function apl(e){let t=g5(e.items).filter(e=>e.kind===`file`).map(e=>e.getAsFile()).filter(e=>e!==null);return opl((t.length>0?t:g5(e.files)).map(e=>m5(e)))}function opl(e){return e.filter(e=>Xfl.indexOf(e.name)===-1)}function g5(e){return e===null?[]:Array.from(e)}async function spl(e){if(typeof e.webkitGetAsEntry!=`function`)return lpl(e);let t=e.webkitGetAsEntry();if(t!=null&&t.isDirectory){let n=await upl(e);return(n==null?void 0:n.kind)===`directory`?dpl(n,`/${n.name}`):ppl(t)}return lpl(e,t)}function cpl(e){let t=[];for(let n of e)Array.isArray(n)?t.push(...cpl(n)):t.push(n);return t}async function lpl(e,t){let n=e.getAsFile(),r=await upl(e);if(r!=null){let e=n??await r.getFile();return e.handle=r,m5(e)}if(!n)throw new qfl(e);return m5(n,(t==null?void 0:t.fullPath)??void 0)}async function upl(e){if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle==`function`)return e.getAsFileSystemHandle()}async function dpl(e,t){let n=[];for await(let r of e.values()){let e=`${t}/${r.name}`;if(r.kind===`directory`)n.push(...await dpl(r,e));else{let t=await r.getFile();n.push(m5(t,e,r))}}return n}async function fpl(e){return e.isDirectory?ppl(e):mpl(e)}function ppl(e){let t=e.createReader();return new Promise((e,n)=>{let r=[];function i(){t.readEntries(async t=>{if(t.length){let e=Promise.all(t.map(fpl));r.push(e),i()}else try{e(await Promise.all(r))}catch(e){n(e)}},e=>{n(e)})}i()})}async function mpl(e){return new Promise((t,n)=>{e.file(n=>{t(m5(n,e.fullPath))},e=>{n(e)})})}function _5(e,t){if(e&&t){let n=(Array.isArray(t)?t:t.split(`,`)).filter(e=>e.trim()!==``);if(n.length===0)return!0;let r=e.name||``,i=(e.type||``).toLowerCase(),a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim().toLowerCase();return t.charAt(0)===`.`?r.toLowerCase().endsWith(t):t.endsWith(`/*`)?a===t.replace(/\/.*$/,``):i===t})}return!0}var hpl=typeof _5==`function`?_5:_5.default,gpl=`file-invalid-type`,_pl=`file-too-large`,vpl=`file-too-small`,ypl=`too-many-files`;function bpl(e=``){let t=e.split(`,`);return{code:gpl,message:`File type must be ${t.length>1?`one of ${t.join(`, `)}`:t[0]}`}}var xpl=[`KB`,`MB`,`GB`,`TB`,`PB`];function Spl(e){if(e<1024)return`${e} ${e===1?`byte`:`bytes`}`;let t=e/1024,n=0;for(;t>=1024&&n<xpl.length-1;)t/=1024,n++;return`${Number(t.toFixed(2))} ${xpl[n]}`}function Cpl(e){return{code:_pl,message:`File is larger than ${Spl(e)}`}}function wpl(e){return{code:vpl,message:`File is smaller than ${Spl(e)}`}}var Tpl={code:ypl,message:`Too many files`};function Epl(e){return e.type===``&&typeof e.getAsFile==`function`}function Dpl(e,t){let n=e.type===`application/x-moz-file`||hpl(e,t??``)||Epl(e);return[n,n?null:bpl(t)]}function Opl(e,t,n){if(v5(e.size)){if(v5(t)&&v5(n)){if(e.size>n)return[!1,Cpl(n)];if(e.size<t)return[!1,wpl(t)]}else if(v5(t)&&e.size<t)return[!1,wpl(t)];else if(v5(n)&&e.size>n)return[!1,Cpl(n)]}return[!0,null]}function v5(e){return e!=null}function kpl(e){return e!=null&&typeof e.then==`function`}function Apl({files:e,accept:t,minSize:n,maxSize:r,multiple:i,maxFiles:a=0,validator:o,getErrorMessage:s}){let c=[],l=[],u=(e,t)=>s&&typeof File<`u`&&t instanceof File?{...e,message:s(e,t)}:e;e.forEach(e=>{let[i,a]=Dpl(e,t),[o,s]=Opl(e,n,r);i&&o?c.push(e):l.push({file:e,errors:[a,s].filter(e=>e!=null).map(t=>u(t,e))})});let d=i?a>=1?a:1/0:1;return c.length>d&&c.slice(d).forEach(e=>{l.push({file:e,errors:[u(Tpl,e)]})}),l.length>0?{verdict:`reject`,rejections:l}:{verdict:o?`unknown`:`accept`,rejections:l}}function y5(e){return typeof e.isPropagationStopped==`function`?e.isPropagationStopped():e.cancelBubble!==void 0&&e.cancelBubble}function b5(e){let t=e.dataTransfer??e.clipboardData;return t?Array.prototype.some.call(t.types,e=>e===`Files`||e===`application/x-moz-file`)||Array.prototype.some.call(t.items??[],jpl):!!e.target&&!!e.target.files}function jpl(e){return typeof e==`object`&&!!e&&e.kind===`file`}function Mpl(e){e.preventDefault()}function Npl(e){return e.indexOf(`MSIE`)!==-1||e.indexOf(`Trident/`)!==-1}function Ppl(e){return e.indexOf(`Edge/`)!==-1}function Fpl(e=window.navigator.userAgent){return Npl(e)||Ppl(e)}function x5(...e){return(t,...n)=>e.some(e=>(!y5(t)&&e&&e(t,...n),y5(t)))}function Ipl(){return`showOpenFilePicker`in window}function S5(e){return Array.isArray(e)?e:typeof e==`string`?[e]:[]}function Lpl(e){if(v5(e))return Array.isArray(e)?e.filter(e=>v5(e)&&v5(e.accept)):[{accept:e}]}function Rpl(e){let t=[],n=Object.keys(e);for(let n of Object.values(e))for(let e of S5(n))t.includes(e)||t.push(e);return t.length>0?t.join(`, `):n.length>0?n.join(`, `):`Files`}function zpl(e){let t=Lpl(e);if(!v5(t))return;let n={};for(let e of t)for(let[t,r]of Object.entries(e.accept)){let e=n[t]??(n[t]=[]);for(let t of S5(r))e.includes(t)||e.push(t)}return n}function Bpl(e){let t=Lpl(e);if(!v5(t))return;let n=t.map(e=>{let t=Object.entries(e.accept).filter(([e,t])=>{let n=!0;return Gpl(e)||(console.warn(`Skipped "${e}" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.`),n=!1),(Array.isArray(t)||typeof t==`string`)&&S5(t).every(C5)||(console.warn(`Skipped "${e}" because an invalid file extension was provided.`),n=!1),n}).reduce((e,[t,n])=>(e[t]=S5(n),e),{});return{description:v5(e.description)&&e.description!==``?e.description:Rpl(t),accept:t}}).filter(e=>Object.keys(e.accept).length>0);return n.length>0?n:void 0}function Vpl(e,{omitWildcardMimeTypesWithExtensions:t=!1}={}){if(v5(e))return Object.entries(e).reduce((e,[n,r])=>{let i=S5(r);return t&&Kpl(n)&&i.some(C5)?e.push(...i):e.push(n,...i),e},[]).filter(e=>Gpl(e)||C5(e)).join(`,`)}function Hpl(e){return e instanceof DOMException&&(e.name===`AbortError`||e.code===e.ABORT_ERR)}function Upl(e){return e instanceof DOMException&&(e.name===`SecurityError`||e.code===e.SECURITY_ERR)}function Wpl(e){return e instanceof DOMException&&e.name===`NotAllowedError`}function Gpl(e){return e===`audio/*`||e===`video/*`||e===`image/*`||e===`text/*`||e===`application/*`||/\w+\/[-+.\w]+/g.test(e)}function Kpl(e){return e.endsWith(`/*`)}function C5(e){return/^.*\.[\w]+$/.test(e)}var w5=j(({children:e,...t},n)=>{let{open:r,...i}=qpl(t);return f(n,()=>({open:r}),[r]),R(be,{children:e==null?void 0:e({...i,open:r})})});w5.displayName=`Dropzone`;var T5={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,isDragGlobal:!1,isProcessing:!1,acceptedFiles:[],fileRejections:[],dragFileRejections:[]};function qpl(e={}){let{accept:t,disabled:n=!1,getFilesFromEvent:r=Zfl,maxSize:i=1/0,minSize:a=0,multiple:o=!0,maxFiles:s=0,onDragEnter:l,onDragLeave:f,onDragOver:p,onDrop:h,onDropAccepted:g,onDropRejected:_,onFileDialogCancel:v,onFileDialogOpen:y,useFsAccessApi:b=!1,autoFocus:x=!1,preventDropOnDocument:C=!0,noClick:w=!1,noKeyboard:T=!1,noDrag:E=!1,noDragEventsBubbling:D=!1,noPaste:O=!1,onError:k,validator:A,getErrorMessage:j}=e,M=c(()=>zpl(t),[t]),N=c(()=>Vpl(M),[M]),P=c(()=>Vpl(M,{omitWildcardMimeTypesWithExtensions:!0}),[M]),F=c(()=>Bpl(t),[t]),ee=c(()=>typeof y==`function`?y:Ypl,[y]),te=c(()=>typeof v==`function`?v:Ypl,[v]),ne=d(null),re=d(null),[ie,ae]=u(Jpl,T5),{isFocused:oe,isFileDialogActive:se}=ie,ce=d(se);ce.current=se;let le=d(null),ue=m(()=>{var e;(e=le.current)==null||e.abort();let t=new AbortController;return le.current=t,ae({type:`setProcessing`,isProcessing:!0}),t.signal},[]),I=m(e=>{e.aborted||ae({type:`setProcessing`,isProcessing:!1})},[]);S(()=>()=>{var e;return(e=le.current)==null?void 0:e.abort()},[]);let de=d(typeof window<`u`&&window.isSecureContext&&b&&Ipl()),fe=()=>{!de.current&&se&&setTimeout(()=>{if(re.current){let{files:e}=re.current;e!=null&&e.length||(ae({type:`closeDialog`}),te())}},300)};S(()=>(window.addEventListener(`focus`,fe,!1),()=>{window.removeEventListener(`focus`,fe,!1)}),[re,se,te,de]);let L=d([]),pe=d([]),me=e=>{ne.current&&e.target&&ne.current.contains(e.target)&&e.defaultPrevented||(e.preventDefault(),L.current=[])};S(()=>(C&&(document.addEventListener(`dragover`,Mpl,!1),document.addEventListener(`drop`,me,!1)),()=>{C&&(document.removeEventListener(`dragover`,Mpl),document.removeEventListener(`drop`,me))}),[ne,C]),S(()=>{let e=e=>{e.target&&(pe.current=[...pe.current,e.target]),b5(e)&&ae({isDragGlobal:!0,type:`setDragGlobal`})},t=e=>{pe.current=pe.current.filter(t=>t!==e.target&&t!==null),pe.current.length>0||ae({isDragGlobal:!1,type:`setDragGlobal`})},n=()=>{pe.current=[],ae({isDragGlobal:!1,type:`setDragGlobal`})},r=()=>{pe.current=[],ae({isDragGlobal:!1,type:`setDragGlobal`})};return document.addEventListener(`dragenter`,e,!1),document.addEventListener(`dragleave`,t,!1),document.addEventListener(`dragend`,n,!1),document.addEventListener(`drop`,r,!1),()=>{document.removeEventListener(`dragenter`,e),document.removeEventListener(`dragleave`,t),document.removeEventListener(`dragend`,n),document.removeEventListener(`drop`,r)}},[ne]),S(()=>(!n&&x&&ne.current&&ne.current.focus(),()=>{}),[ne,x,n]);let he=m(e=>{k?k(e):console.error(e)},[k]),ge=m(e=>{var t;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),ce.current||(L.current=[...L.current,e.target],b5(e)&&Promise.resolve(r(e)).then(t=>{if(y5(e)&&!D)return;let n=t.length>0?Apl({files:t,accept:N,minSize:a,maxSize:i,multiple:o,maxFiles:s,validator:A,getErrorMessage:j}):null;ae({isDragAccept:(n==null?void 0:n.verdict)===`accept`,isDragReject:(n==null?void 0:n.verdict)===`reject`,isDragUnknown:(n==null?void 0:n.verdict)===`unknown`,isDragActive:!0,dragFileRejections:(n==null?void 0:n.rejections)??[],type:`setDraggedFiles`}),l&&l(e)}).catch(e=>he(e)))},[r,l,he,D,N,a,i,o,s,A,j]),_e=m(e=>{var t;if(e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),ce.current)return!1;let n=b5(e);if(n&&e.dataTransfer)try{e.dataTransfer.dropEffect=`copy`}catch{}return n&&p&&p(e),!1},[p,D]),ve=m(e=>{var t;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e);let n=L.current.filter(e=>{var t;return(t=ne.current)==null?void 0:t.contains(e)}),r=n.indexOf(e.target);r!==-1&&n.splice(r,1),L.current=n,n.length>0||(ae({type:`setDraggedFiles`,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,dragFileRejections:[]}),b5(e)&&f&&f(e))},[ne,f,D]),ye=m(async(e,t,n)=>{let r=(e,t)=>j?{...e,message:j(e,t)}:e,c=e=>{let n=[],i=[];e.forEach(({file:e,accepted:t,acceptError:a,sizeMatch:o,sizeError:s,customErrors:c})=>{let l=!c||Array.isArray(c)&&c.length===0;if(t&&o&&l)n.push(e);else{let t=[a,s];c&&(t=t.concat(c)),i.push({file:e,errors:t.filter(e=>e!=null).map(t=>r(t,e))})}});let a=o?s>=1?s:1/0:1;n.length>a&&n.splice(a).forEach(e=>{i.push({file:e,errors:[r(Tpl,e)]})}),ae({acceptedFiles:n,fileRejections:i,type:`setFiles`}),h&&h(n,i,t),i.length>0&&_&&_(i,t),n.length>0&&g&&g(n,t)},l=e.map(e=>{let[t,n]=Dpl(e,P),[r,o]=Opl(e,a,i);return{file:e,accepted:t,acceptError:n,sizeMatch:r,sizeError:o,customErrors:A?A(e):null}});if(!l.some(({customErrors:e})=>kpl(e))){c(l);return}let u;try{u=await Promise.all(l.map(async({customErrors:e,...t})=>({...t,customErrors:await e})))}catch(e){n.aborted||(I(n),he(e));return}n.aborted||c(u)},[ae,o,P,a,i,s,h,g,_,A,j,he,I]),be=m(e=>{var t;if(e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),L.current=[],!(ce.current&&e.dataTransfer)&&(ae({type:`reset`}),b5(e))){let t=ue();Promise.resolve(r(e)).then(n=>{if(!t.aborted){if(y5(e)&&!D)I(t);else return ye(n,e,t)}}).catch(e=>{t.aborted||(I(t),he(e))})}},[r,ye,he,D,ue,I]),R=m(e=>{var t;if(!b5(e))return;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e);let n=ue();Promise.resolve(r(e)).then(t=>{if(!n.aborted){if(y5(e)&&!D)I(n);else return ye(t,e,n)}}).catch(e=>{n.aborted||(I(n),he(e))})},[r,ye,he,D,ue,I]),z=m(()=>{if(de.current){ae({type:`openDialog`}),ee();let e={multiple:o,types:F},t;window.showOpenFilePicker(e).then(e=>(t=ue(),r(e))).then(e=>{if(ae({type:`closeDialog`}),!t.aborted)return ye(e,null,t)}).catch(e=>{t&&I(t),Hpl(e)?(te(e),ae({type:`closeDialog`})):Upl(e)||Wpl(e)?(de.current=!1,re.current?(re.current.value=``,re.current.click()):he(Error(`Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.`))):he(e)})}else re.current&&(ae({type:`openDialog`}),ee(),re.current.value=``,re.current.click())},[ae,ee,te,b,ye,he,F,o,ue,I]),xe=m(e=>{var t;(t=ne.current)!=null&&t.isEqualNode(e.target)&&(e.key===` `||e.key===`Enter`||e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),z())},[ne,z]),Se=m(()=>{ae({type:`focus`})},[]),Ce=m(()=>{ae({type:`blur`})},[]),we=m(()=>{w||(Fpl()?setTimeout(z,0):z())},[w,z]),Te=e=>n?null:e,Ee=e=>T?null:Te(e),De=e=>E?null:Te(e),Oe=e=>O?null:Te(e),ke=e=>{D&&e.stopPropagation()},Ae=c(()=>({refKey:e=`ref`,role:t,onKeyDown:r,onFocus:i,onBlur:a,onClick:o,onDragEnter:s,onDragOver:c,onDragLeave:l,onDrop:u,onPaste:d,...f}={})=>({onKeyDown:Ee(x5(r,xe)),onFocus:Ee(x5(i,Se)),onBlur:Ee(x5(a,Ce)),onClick:Te(x5(o,we)),onDragEnter:De(x5(s,ge)),onDragOver:De(x5(c,_e)),onDragLeave:De(x5(l,ve)),onDrop:De(x5(u,be)),onPaste:Oe(x5(d,R)),role:typeof t==`string`&&t!==``?t:`presentation`,[e]:ne,...!n&&!T?{tabIndex:0}:{},...n?{"aria-disabled":!0}:{},...f}),[ne,xe,Se,Ce,we,ge,_e,ve,be,R,T,E,O,n]),je=m(e=>{e.stopPropagation()},[]),Me=c(()=>({refKey:e=`ref`,onChange:t,onClick:n,...r}={})=>({accept:P,multiple:o,type:`file`,"aria-label":`file upload`,style:{border:0,display:`block`,height:0,margin:0,maxWidth:0,opacity:0,overflow:`hidden`,padding:0,width:0},onChange:Te(x5(t,be)),onClick:Te(x5(n,je)),tabIndex:-1,[e]:re,...r}),[re,t,o,be,n]);return{...ie,isFocused:oe&&!n,getRootProps:Ae,getInputProps:Me,rootRef:ne,inputRef:re,open:Te(z)}}function Jpl(e,t){switch(t.type){case`focus`:return{...e,isFocused:!0};case`blur`:return{...e,isFocused:!1};case`openDialog`:return{...T5,isFileDialogActive:!0};case`closeDialog`:return{...e,isFileDialogActive:!1};case`setDraggedFiles`:return{...e,isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject,isDragUnknown:t.isDragUnknown,dragFileRejections:t.dragFileRejections};case`setProcessing`:return{...e,isProcessing:t.isProcessing};case`setFiles`:return{...e,acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,dragFileRejections:[],isProcessing:!1,isDragReject:!1,isDragUnknown:!1};case`setDragGlobal`:return{...e,isDragGlobal:t.isDragGlobal};case`reset`:return{...T5};default:return e}}function Ypl(){}function Xpl(){let e=ui();return[...e.breakpoints.keys].reverse().reduce((t,n)=>{let r=Xh(e.breakpoints.up(n));return!t&&r?n:t},null)||`xs`}function E5(){return e=>function(t){let n=Xpl();return A.createElement(e,{...t,width:n})}}function Zpl(e){let[t,n]=A.useState(e.input||e.value||``),[r,i]=A.useState(``);return A.createElement(um,{open:!0,onClose:()=>e.onClose(null),"aria-labelledby":`form-dialog-title`,fullWidth:e.fullWidth!==void 0&&e.fullWidth},A.createElement(mm,{id:`form-dialog-title`},e.titleText),A.createElement(fm,null,A.createElement(pm,null,e.promptText),A.createElement(Uh,{variant:`standard`,autoFocus:!0,margin:`dense`,error:!!r,helperText:r===!0||!r?``:r,value:t,label:e.labelText||``,type:e.type||`text`,onKeyUp:n=>n.code===`Enter`&&t&&e.onClose(t),onChange:t=>{let r=``;e.verify&&(r=e.verify(t.target.value)),e.rule?n(e.rule(t.target.value)):n(t.target.value),i(r)},fullWidth:!0})),A.createElement(dm,null,A.createElement(qp,{variant:`contained`,disabled:!t||!!r,onClick:()=>e.onClose(t),color:`primary`,startIcon:A.createElement(Z$,null)},e.applyText||Z.t(`ra_Ok`)),A.createElement(qp,{color:`grey`,variant:`contained`,onClick:()=>e.onClose(null),startIcon:A.createElement(q0,null)},e.cancelText||Z.t(`ra_Cancel`))))}var D5=E5()(Zpl),Qpl={small:`1.25rem`,medium:`1.5rem`,large:`2.1875rem`,inherit:`inherit`},$pl=`iob-animated-icons`,eml=`
|
|
523
|
+
`;function tfl(){try{return window.self!==window.top}catch{return!0}}var nfl=class e extends j8{constructor(t,n){let r=t.Connection||(n==null?void 0:n.Connection)||PS;if(!window.document.getElementById(`generic-app-iobroker-component`)){let e=window.document.createElement(`style`);e.setAttribute(`id`,`generic-app-iobroker-component`),e.innerHTML=efl,window.document.head.appendChild(e)}if(!e.isWeb()&&window.io&&window.location.port===`3000`)try{let e=new window.SocketClient;delete window.io,window.io=e}catch{}super(t),J(this,`socket`,void 0),J(this,`isIFrame`,tfl()),J(this,`instance`,void 0),J(this,`adapterName`,void 0),J(this,`instanceId`,void 0),J(this,`newReact`,void 0),J(this,`encryptedFields`,void 0),J(this,`sentryDSN`,void 0),J(this,`alertDialogRendered`,void 0),J(this,`_secret`,void 0),J(this,`_systemConfig`,void 0),J(this,`savedNative`,void 0),J(this,`common`,null),J(this,`sentryStarted`,!1),J(this,`sentryInited`,!1),J(this,`resizeTimer`,null),J(this,`onSystemConfigChanged`,(e,t)=>{if(t&&e===`system.config`){var n,r;this.socket.systemLang!==(t==null?void 0:t.common.language)&&(this.socket.systemLang=(t==null?void 0:t.common.language)||`en`,Z.setLanguage(this.socket.systemLang)),((n=this._systemConfig)==null?void 0:n.expertMode)===!!(t!=null&&(r=t.common)!=null&&r.expertMode)?this._systemConfig=(t==null?void 0:t.common)||{}:(this._systemConfig=(t==null?void 0:t.common)||{},this.setState({expertMode:this.getExpertMode()}))}}),J(this,`onReceiveMessage`,e=>{if(e!=null&&e.data){if(typeof e.data==`string`&&e.data===`updateTheme`||e.data&&typeof e.data==`object`&&e.data.type===`updateTheme`){let e=F8.getThemeName();F8.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e),this.onThemeChanged&&this.onThemeChanged(e)})}else e.data===`updateExpertMode`?this.onToggleExpertMode&&this.onToggleExpertMode(this.getExpertMode()):e.data!==`chartReady`&&console.debug(`Received unknown message: "${JSON.stringify(e.data)}". May be it will be processed later`)}}),J(this,`onResize`,()=>{this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.resizeTimer=null,this.setState({width:e.getWidth()})},200)}),Cdl();let i=(window.location.search||``).replace(/^\?/,``).replace(/#.*$/,``),a={};i.trim().split(`&`).filter(e=>e.trim()).forEach(e=>{let t=e.split(`=`),[n,r]=t;a[n]=t.length!==2||r,a[n]===`true`?a[n]=!0:a[n]===`false`&&(a[n]=!1)}),this.instance=(n==null?void 0:n.instance)??t.instance??(a.instance===void 0?parseInt(window.location.search.slice(1),10)||0:parseInt(a.instance,10)||0);let o=window.location.pathname.split(`/`);this.adapterName=(n==null?void 0:n.adapterName)||t.adapterName||window.adapterName||o[o.length-2]||`iot`,this.instanceId=`system.adapter.${this.adapterName}.${this.instance}`,this.newReact=a.newReact===!0;let s=j8.getLocation();s.tab=s.tab||(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``;let c=this.createTheme(a.theme);this.state={...this.state,selectedTab:(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||``,selectedTabNum:-1,native:{},errorText:``,changed:!1,connected:!1,loaded:!1,isConfigurationError:``,expertMode:!1,toast:``,theme:c,themeName:this.getThemeName(c),themeType:this.getThemeType(c),bottomButtons:(n&&n.bottomButtons)!==!1&&(t==null?void 0:t.bottomButtons)!==!1,width:e.getWidth(),confirmClose:!1,_alert:!1,_alertType:`info`,_alertMessage:``};let l=$dl;n!=null&&n.translations?Object.keys(n.translations).forEach(e=>{n.translations&&(l[e]=Object.assign(l[e],n.translations[e]||{}))}):t.translations&&Object.keys(t.translations).forEach(e=>{t.translations&&(l[e]=Object.assign(l[e],t.translations[e]||{}))}),Z.setTranslations(l),this.savedNative={},this.encryptedFields=t.encryptedFields||(n==null?void 0:n.encryptedFields)||[],this.sentryDSN=(n==null?void 0:n.sentryDSN)||t.sentryDSN,window.socketUrl&&(window.socketUrl.startsWith(`:`)?window.socketUrl=`${window.location.protocol}//${window.location.hostname}${window.socketUrl}`:!window.socketUrl.startsWith(`http://`)&&!window.socketUrl.startsWith(`https://`)&&(window.socketUrl=`${window.location.protocol}//${window.socketUrl}`)),this.alertDialogRendered=!1,window.iobOldAlert||(window.iobOldAlert=window.alert),window.alert=e=>{this.alertDialogRendered?e!=null&&e.toString().toLowerCase().includes(`error`)?(console.error(e),this.showAlert(e.toString(),`error`)):(console.log(e),this.showAlert(e.toString(),`info`)):window.iobOldAlert(e)},this.socket=new r({...(t==null?void 0:t.socket)||(n==null?void 0:n.socket),name:this.adapterName,doNotLoadAllObjects:n==null?void 0:n.doNotLoadAllObjects,onProgress:e=>{e===MS.CONNECTING?this.setState({connected:!1}):(MS.READY,this.setState({connected:!0}))},onReady:()=>{Z.setLanguage(this.socket.systemLang),Promise.all([this.socket.subscribeObject(`system.config`,this.onSystemConfigChanged),this.getSystemConfig(),this.socket.getObject(this.instanceId),this.socket.getState(`${this.instanceId}.plugins.sentry.enabled`)]).then(([,e,t,n])=>{var r;this._secret=e!==void 0&&e.native&&e.native.secret||`Zgfr56gFe87jJOM`,this._systemConfig=(e==null?void 0:e.common)||{};let i=t,a=(n==null?void 0:n.val)!==!1&&((r=this._systemConfig)==null?void 0:r.diag)!==`none`&&(i==null?void 0:i.common)&&i.common.name&&i.common.version&&!i.common.disableDataReporting&&window.location.host!==`localhost:3000`;!this.sentryInited&&a&&(this.sentryInited=!0,this.startSentry(i)),i?(this.common=i==null?void 0:i.common,this.onPrepareLoad(i.native,i.encryptedNative),this.savedNative=JSON.parse(JSON.stringify(i.native)),this.setState({native:i.native,loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady())):(console.warn(`Cannot load instance settings`),this.setState({native:{},loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady()))}).catch(e=>window.alert(`Cannot settings: ${e}`))},onError:e=>{console.error(e),this.showError(e)}})}startSentry(e){F(()=>import(`./prod-CFBGBQIV.js`).then(async t=>{var n;!this.sentryStarted&&this.sentryDSN&&(this.sentryStarted=!0,t.init({dsn:this.sentryDSN,release:`iobroker.${e.common.name}@${e.common.version}`,integrations:[t.dedupeIntegration()]}),console.log(`Sentry initialized`));let r=await this.socket.getObject(`system.meta.uuid`);r!=null&&(n=r.native)!=null&&n.uuid&&t.getCurrentScope().setUser({id:r.native.uuid})}),__vite__mapDeps([0,1]),import.meta.url).catch(e=>console.warn(`Cannot start Sentry: ${e}`))}static isWeb(){return window.socketUrl!==void 0}showAlert(e,t){t!==`error`&&t!==`warning`&&t!==`info`&&t!==`success`&&(t=`info`),this.setState({_alert:!0,_alertType:t,_alertMessage:e})}renderAlertSnackbar(){return this.alertDialogRendered=!0,A.createElement(mh,{style:this.state._alertType===`error`?{backgroundColor:`#f44336`}:this.state._alertType===`success`?{backgroundColor:`#4caf50`}:void 0,open:this.state._alert,autoHideDuration:6e3,onClose:(e,t)=>t!==`clickaway`&&this.setState({_alert:!1}),message:this.state._alertMessage})}componentDidMount(){window.addEventListener(`resize`,this.onResize,!0),window.addEventListener(`message`,this.onReceiveMessage,!1),super.componentDidMount()}componentWillUnmount(){window.removeEventListener(`resize`,this.onResize,!0),window.removeEventListener(`message`,this.onReceiveMessage,!1),this.resizeTimer&&=(clearTimeout(this.resizeTimer),null),window.iobOldAlert&&(window.alert=window.iobOldAlert,delete window.iobOldAlert),super.componentWillUnmount()}static getWidth(){let e={xs:0,sm:600,md:960,lg:1280,xl:1920},t=window.innerWidth;return Object.keys(e).reverse().find(n=>t>=e[n])||`xs`}createTheme(e){return ES(F8.getThemeName(e))}getThemeName(e){return e.name}getThemeType(e){return e.palette.mode}onThemeChanged(e){}onToggleExpertMode(e){}toggleTheme(e){let t=this.state.themeName;if(e||=F8.toggleTheme(t),e!==t){F8.setThemeName(e);let t=this.createTheme(e);this.setState({theme:t,themeName:this.getThemeName(t),themeType:this.getThemeType(t)},()=>{this.props.onThemeChange&&this.props.onThemeChange(e||`light`),this.onThemeChanged&&this.onThemeChanged(e||`light`)})}}getSystemConfig(){return this.socket.getSystemConfig()}getExpertMode(){var e;return window.sessionStorage.getItem(`App.expertMode`)===`true`||!!((e=this._systemConfig)!=null&&e.expertMode)}onConnectionReady(){}encrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}decrypt(e){let t=``;if(this._secret)for(let n=0;n<e.length;n++)t+=String.fromCharCode(this._secret[n%this._secret.length].charCodeAt(0)^e.charCodeAt(n));return t}onHashChanged(){let e=j8.getLocation();e.tab!==this.state.selectedTab&&this.selectTab(e.tab)}selectTab(e,t){(window._localStorage||window.localStorage).setItem(`${this.adapterName}-adapter`,e),this.setState({selectedTab:e,selectedTabNum:t})}onPrepareSave(e){var t;return(t=this.encryptedFields)==null||t.forEach(t=>{e[t]&&(e[t]=this.encrypt(e[t]))}),!0}onPrepareLoad(e,t){var n;(n=this.encryptedFields)==null||n.forEach(t=>{e[t]&&(e[t]=this.decrypt(e[t]))}),t==null||t.forEach(t=>{this.encryptedFields=this.encryptedFields||[],!this.encryptedFields.includes(t)&&this.encryptedFields.push(t),e[t]&&(e[t]=this.decrypt(e[t]))})}async getExtendableInstances(){try{let e=await this.socket.getObjectViewSystem(`instance`,`system.adapter.`,`system.adapter.香`);return Object.values(e).filter(e=>{var t;return!!(e!=null&&(t=e.common)!=null&&t.webExtendable)})}catch{return[]}}async getIpAddresses(e){var t;let n=await this.socket.getHostByIp(e||((t=this.common)==null?void 0:t.host)||``),r=n.find(e=>e.address===`0.0.0.0`);r&&(r.name=`[IPv4] 0.0.0.0 - ${Z.t(`ra_Listen on all IPs`)}`);let i=n.find(e=>e.address===`::`);return i&&(i.name=`[IPv6] :: - ${Z.t(`ra_Listen on all IPs`)}`),n}onSave(t){let n;this.state.isConfigurationError?this.setState({errorText:this.state.isConfigurationError}):this.socket.getObject(this.instanceId).then(e=>{n=e||{};for(let e in this.state.native)Object.prototype.hasOwnProperty.call(this.state.native,e)&&(this.state.native[e]===null?n.native[e]=null:this.state.native[e]===void 0?delete n.native[e]:n.native[e]=JSON.parse(JSON.stringify(this.state.native[e])));if(this.state.common)for(let e in this.state.common)this.state.common[e]===null?n.common[e]=null:this.state.common[e]===void 0?delete n.common[e]:n.common[e]=JSON.parse(JSON.stringify(this.state.common[e]));return this.onPrepareSave(n.native)===!1?Promise.reject(Error(`Invalid configuration`)):this.socket.setObject(this.instanceId,n)}).then(()=>{this.savedNative=n.native,globalThis.changed=!1;try{window.parent.postMessage(`nochange`,`*`)}catch{}this.setState({changed:!1},()=>{t&&e.onClose()})}).catch(e=>console.error(`Cannot save configuration: ${e}`))}renderToast(){return this.state.toast?A.createElement(mh,{anchorOrigin:{vertical:`bottom`,horizontal:`left`},open:!0,autoHideDuration:6e3,onClose:()=>this.setState({toast:``}),slotProps:{content:{"aria-describedby":`message-id`}},message:A.createElement(`span`,{id:`message-id`},this.state.toast),action:[A.createElement(Om,{key:`close`,"aria-label":`Close`,color:`inherit`,onClick:()=>this.setState({toast:``}),size:`large`},A.createElement(q0,null))]}):null}static onClose(){if(window.parent!==void 0&&window.parent)try{window.parent.$iframeDialog&&typeof window.parent.$iframeDialog.close==`function`?window.parent.$iframeDialog.close():window.parent.postMessage(`close`,`*`)}catch{window.parent.postMessage(`close`,`*`)}}renderError(){return this.state.errorText?A.createElement(z8,{text:this.state.errorText,onClose:()=>this.setState({errorText:``})}):null}getIsChanged(e){e||=this.state.native;let t=JSON.stringify(e)!==JSON.stringify(this.savedNative);return globalThis.changed=t,t}onLoadConfig(e){JSON.stringify(e)!==JSON.stringify(this.state.native)&&this.setState({native:e,changed:this.getIsChanged(e)})}setConfigurationError(e){this.state.isConfigurationError!==e&&this.setState({isConfigurationError:e})}renderSaveCloseButtons(){return!this.state.confirmClose&&!this.state.bottomButtons?null:A.createElement(A.Fragment,null,this.state.bottomButtons?A.createElement(Zdl,{theme:this.state.theme,newReact:this.newReact,noTextOnButtons:this.state.width===`xs`||this.state.width===`sm`||this.state.width===`md`,changed:this.state.changed,onSave:e=>this.onSave(e),onClose:()=>{this.state.changed?this.setState({confirmClose:!0}):e.onClose()},error:!!this.state.isConfigurationError}):null,this.state.confirmClose?A.createElement(L8,{title:Z.t(`ra_Please confirm`),text:Z.t(`ra_Some data are not stored. Discard?`),ok:Z.t(`ra_Discard`),cancel:Z.t(`ra_Cancel`),onClose:t=>this.setState({confirmClose:!1},()=>t&&e.onClose())}):null)}_updateNativeValue(e,t,n){typeof t!=`object`&&(t=t.split(`.`));let r=t.shift()||``;if(!t.length)return n&&typeof n==`object`?JSON.stringify(e[r])!==JSON.stringify(n)&&(e[r]=n,!0):e[r]!==n&&(e[r]=n,!0);if(e[r]=e[r]||{},typeof e[r]!=`object`)throw Error(`attribute ${r} is no object, but ${typeof e[r]}`);return this._updateNativeValue(e[r],t,n)}updateNativeValue(e,t,n){let r=JSON.parse(JSON.stringify(this.state.native));if(this._updateNativeValue(r,e,t)){let e=this.getIsChanged(r);if(e!==this.state.changed)try{window.parent.postMessage(e?`change`:`nochange`,`*`)}catch{}this.setState({native:r,changed:e},n)}}showError(e){this.setState({errorText:e})}showToast(e){this.setState({toast:e})}renderHelperDialogs(){return A.createElement(A.Fragment,null,this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar())}render(){return this.state.loaded?A.createElement(`div`,{className:`App`},this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar()):A.createElement(Hdl,{themeType:this.state.themeType})}};function B8(){return(B8=Object.assign||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}).apply(this,arguments)}function V8(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}function H8(e){var t=d(e),n=d(function(e){t.current&&t.current(e)});return t.current=e,n.current}var U8=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e<t?t:e},W8=function(e){return`touches`in e},G8=function(e){return e&&e.ownerDocument.defaultView||self},rfl=function(e,t,n){var r=e.getBoundingClientRect(),i=W8(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:U8((i.pageX-(r.left+G8(e).pageXOffset))/r.width),top:U8((i.pageY-(r.top+G8(e).pageYOffset))/r.height)}},ifl=function(e){!W8(e)&&e.preventDefault()},K8=A.memo(function(e){var t=e.onMove,n=e.onKey,r=e.onEnd,i=V8(e,[`onMove`,`onKey`,`onEnd`]),a=d(null),o=H8(t),s=H8(n),l=H8(r),u=d(null),f=d(!1),p=c(function(){var e=function(e){ifl(e),(W8(e)?e.touches.length>0:e.buttons>0)&&a.current?o(rfl(a.current,e,u.current)):(n(!1),l())},t=function(){n(!1),l()};function n(n){var r=f.current,i=G8(a.current),o=n?i.addEventListener:i.removeEventListener;o(r?`touchmove`:`mousemove`,e),o(r?`touchend`:`mouseup`,t)}return[function(e){var t=e.nativeEvent,r=a.current;if(r&&(ifl(t),!function(e,t){return t&&!W8(e)}(t,f.current)&&r)){if(W8(t)){f.current=!0;var i=t.changedTouches||[];i.length&&(u.current=i[0].identifier)}r.focus(),o(rfl(r,t,u.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),s({left:t===39?.05:t===37?-.05:0,top:t===40?.05:t===38?-.05:0}))},function(e){var t=e.which||e.keyCode;t>=37&&t<=40&&l()},n]},[s,o,l]),m=p[0],h=p[1],g=p[2],_=p[3];return S(function(){return _},[_]),A.createElement(`div`,B8({},i,{onTouchStart:m,onMouseDown:m,className:`react-colorful__interactive`,ref:a,onKeyDown:h,onKeyUp:g,tabIndex:0,role:`slider`}))}),q8=function(e){return e.filter(Boolean).join(` `)},J8=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,a=q8([`react-colorful__pointer`,e.className]);return A.createElement(`div`,{className:a,style:{top:100*i+`%`,left:100*n+`%`}},A.createElement(`div`,{className:`react-colorful__pointer-fill`,style:{backgroundColor:t}}))},Y8=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=10**t),Math.round(n*e)/n},afl=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:Y8(e.h),s:Y8(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:Y8(i/2),a:Y8(r,2)}},X8=function(e){var t=afl(e);return`hsl(`+t.h+`, `+t.s+`%, `+t.l+`%)`},Z8=function(e){var t=afl(e);return`hsla(`+t.h+`, `+t.s+`%, `+t.l+`%, `+t.a+`)`},ofl=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),o=r*(1-n),s=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),l=a%6;return{r:Y8(255*[r,s,o,o,c,r][l]),g:Y8(255*[c,r,r,s,o,o][l]),b:Y8(255*[o,o,c,r,r,s][l]),a:Y8(i,2)}},sfl=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=Math.max(t,n,r),o=a-Math.min(t,n,r),s=o?a===t?(n-r)/o:a===n?2+(r-t)/o:4+(t-n)/o:0;return{h:60*(s<0?s+6:s),s:a?o/a*100:0,v:a/255*100,a:i}},cfl=A.memo(function(e){var t=e.hue,n=e.onChange,r=e.onChangeEnd,i=q8([`react-colorful__hue`,e.className]);return A.createElement(`div`,{className:i},A.createElement(K8,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:U8(t+360*e.left,0,360)})},onEnd:r,"aria-label":`Hue`,"aria-valuenow":Y8(t),"aria-valuemax":`360`,"aria-valuemin":`0`},A.createElement(J8,{className:`react-colorful__hue-pointer`,left:t/360,color:X8({h:t,s:100,v:100,a:1})})))}),lfl=A.memo(function(e){var t=e.hsva,n=e.onChange,r=e.onChangeEnd,i={backgroundColor:X8({h:t.h,s:100,v:100,a:1})};return A.createElement(`div`,{className:`react-colorful__saturation`,style:i},A.createElement(K8,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:U8(t.s+100*e.left,0,100),v:U8(t.v-100*e.top,0,100)})},onEnd:r,"aria-label":`Color`,"aria-valuetext":`Saturation `+Y8(t.s)+`%, Brightness `+Y8(t.v)+`%`},A.createElement(J8,{className:`react-colorful__saturation-pointer`,top:1-t.v/100,left:t.s/100,color:X8(t)})))}),Q8=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function ufl(e,t,n,r){var i=H8(n),a=H8(r),o=g(function(){return e.toHsva(t)}),s=o[0],c=o[1],l=d({color:t,hsva:s}),u=d(!1);return S(function(){if(!e.equal(t,l.current.color)){var n=e.toHsva(t);l.current={hsva:n,color:t},c(n),u.current=!1}},[t,e]),S(function(){var t;Q8(s,l.current.hsva)||e.equal(t=e.fromHsva(s),l.current.color)||(l.current={hsva:s,color:t},i(t),u.current=!0)},[s,e,i]),[s,m(function(e){c(function(t){return Object.assign({},t,e)})},[]),m(function(){u.current&&(u.current=!1,a(l.current.color))},[a])]}var dfl=typeof window<`u`?h:S,ffl=function(){return typeof __webpack_nonce__<`u`?__webpack_nonce__:void 0},pfl=new WeakMap,mfl=function(e){dfl(function(){var t=e.current;if(typeof document<`u`&&t){var n=t.getRootNode?t.getRootNode():t.ownerDocument,r=n&&(`head`in n||`host`in n)?n:t.ownerDocument;if(!pfl.has(r)){var i=`head`in r?r.head:r,a=(i.ownerDocument||document).createElement(`style`);a.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`;var o=ffl();o&&a.setAttribute(`nonce`,o),pfl.set(r,a),i.appendChild(a)}}},[])},hfl=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,a=e.onChange,o=e.onChangeEnd,s=V8(e,[`className`,`colorModel`,`color`,`onChange`,`onChangeEnd`]),c=d(null);mfl(c);var l=ufl(n,i,a,o),u=l[0],f=l[1],p=l[2],m=q8([`react-colorful`,t]);return A.createElement(`div`,B8({},s,{ref:c,className:m}),A.createElement(lfl,{hsva:u,onChange:f,onChangeEnd:p}),A.createElement(cfl,{hue:u.h,onChange:f,onChangeEnd:p,className:`react-colorful__last-control`}))},gfl=function(e){var t=e.className,n=e.hsva,r=e.onChange,i=e.onChangeEnd,a={backgroundImage:`linear-gradient(90deg, `+Z8(Object.assign({},n,{a:0}))+`, `+Z8(Object.assign({},n,{a:1}))+`)`},o=q8([`react-colorful__alpha`,t]),s=Y8(100*n.a);return A.createElement(`div`,{className:o},A.createElement(`div`,{className:`react-colorful__alpha-gradient`,style:a}),A.createElement(K8,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:U8(n.a+e.left)})},onEnd:i,"aria-label":`Alpha`,"aria-valuetext":s+`%`,"aria-valuenow":s,"aria-valuemin":`0`,"aria-valuemax":`100`},A.createElement(J8,{className:`react-colorful__alpha-pointer`,left:n.a,color:Z8(n)})))},_fl=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,a=e.onChange,o=e.onChangeEnd,s=V8(e,[`className`,`colorModel`,`color`,`onChange`,`onChangeEnd`]),c=d(null);mfl(c);var l=ufl(n,i,a,o),u=l[0],f=l[1],p=l[2],m=q8([`react-colorful`,t]);return A.createElement(`div`,B8({},s,{ref:c,className:m}),A.createElement(lfl,{hsva:u,onChange:f,onChangeEnd:p}),A.createElement(cfl,{hue:u.h,onChange:f,onChangeEnd:p}),A.createElement(gfl,{hsva:u,onChange:f,onChangeEnd:p,className:`react-colorful__last-control`}))},vfl={defaultColor:{r:0,g:0,b:0,a:1},toHsva:sfl,fromHsva:ofl,equal:Q8},yfl=function(e){return A.createElement(_fl,B8({},e,{colorModel:vfl}))},bfl={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return sfl({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(t=ofl(e)).r,g:t.g,b:t.b};var t},equal:Q8},xfl=function(e){return A.createElement(hfl,B8({},e,{colorModel:bfl}))},Sfl=`iob-color-picker-recent`,Cfl=12,$8=`linear-gradient(45deg, #c0c0c0 25%, transparent 25%), linear-gradient(-45deg, #c0c0c0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #c0c0c0 75%), linear-gradient(-45deg, transparent 75%, #c0c0c0 75%)`,e5=`8px 8px`,t5=`0 0, 0 4px, 4px -4px, -4px 0px`,n5={swatch:{mt:`16px`,p:`4px`,backgroundColor:`background.paper`,borderRadius:`6px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35)`,display:`inline-block`,cursor:`pointer`,verticalAlign:`middle`,transition:`box-shadow 0.15s ease-in-out`,"&:hover":{boxShadow:`0 0 0 2px rgba(128,128,128,.6)`}},swatchDisabled:{opacity:.5,cursor:`default`,"&:hover":{boxShadow:`0 0 0 1px rgba(128,128,128,.35)`}},color:{height:14,borderRadius:`3px`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},delButton:{marginTop:16},textDense:{mt:0,mb:0},popover:{"& .MuiPaper-root":{borderRadius:`12px`}},pickerWrapper:e=>({p:`12px`,backgroundColor:e.palette.background.paper,borderRadius:`12px`,display:`flex`,flexDirection:`column`,gap:`10px`,"& .react-colorful":{width:`100%`,height:`auto`,gap:`10px`},"& .react-colorful__saturation":{borderRadius:`8px`,border:`none`,height:150,boxShadow:`none`},"& .react-colorful__hue, & .react-colorful__alpha":{height:14,borderRadius:`7px`},"& .react-colorful__alpha":{backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},"& .react-colorful__last-control":{borderRadius:`7px`},"& .react-colorful__pointer":{width:18,height:18,borderWidth:2},"& .react-colorful__saturation-pointer":{width:20,height:20}}),controlRow:{display:`flex`,alignItems:`center`,gap:`6px`},preview:{width:28,height:28,flexShrink:0,borderRadius:`6px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35) inset`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5},valueInput:{flexGrow:1,minWidth:60,"& .MuiInputBase-input":{fontFamily:`monospace`,fontSize:`0.75rem`,textOverflow:`ellipsis`}},formatSelect:{flexShrink:0,fontSize:`0.7rem`,opacity:.75,"& .MuiSelect-select":{py:`4px`,pl:`2px`,pr:`18px !important`},"& .MuiSelect-icon":{right:0}},sectionTitle:{fontSize:`0.7rem`,opacity:.6,textTransform:`uppercase`,letterSpacing:`0.06em`},swatchRow:{display:`flex`,flexWrap:`wrap`,gap:`4px`,mt:`4px`},paletteItem:{width:22,height:22,p:0,minWidth:22,borderRadius:`5px`,boxShadow:`0 0 0 1px rgba(128,128,128,.35) inset`,backgroundImage:$8,backgroundSize:e5,backgroundPosition:t5,"&:hover":{boxShadow:`0 0 0 2px rgba(128,128,128,.7) inset`}},fill:{width:`100%`,height:`100%`,borderRadius:`inherit`}},r5={r:0,g:0,b:0,a:1},i5;function wfl(e){if(i5===void 0&&(i5=typeof document>`u`?null:document.createElement(`canvas`).getContext(`2d`)),!i5)return null;i5.fillStyle=`#000000`,i5.fillStyle=e;let t=i5.fillStyle;return i5.fillStyle=`#ffffff`,i5.fillStyle=e,t===i5.fillStyle?t:null}function Tfl(e,t,n){if(!t){let e=Math.round(n*255);return{r:e,g:e,b:e}}let r=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&--r,r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e},i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;return{r:Math.round(r(a,i,e+1/3)*255),g:Math.round(r(a,i,e)*255),b:Math.round(r(a,i,e-1/3)*255)}}function Efl(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2;if(i===a)return{h:0,s:0,l:Math.round(o*100)};let s=i-a,c=o>.5?s/(2-i-a):s/(i+a),l;return l=i===t?(n-r)/s+(n<r?6:0):i===n?(r-t)/s+2:(t-n)/s+4,{h:Math.round(l/6*360),s:Math.round(c*100),l:Math.round(o*100)}}function a5(e,t,n){return Math.min(n,Math.max(t,e))}function o5(e,t){let n=e.trim(),r=parseFloat(n);return Number.isNaN(r)?0:a5(Math.round(n.endsWith(`%`)?r/100*t:r),0,t)}function Dfl(e){if(e===void 0||e===``)return 1;let t=e.trim(),n=t.endsWith(`%`)?parseFloat(t)/100:parseFloat(t);return Number.isNaN(n)?1:a5(n,0,1)}function s5(e){if(!e||typeof e!=`string`)return null;let t=e.trim().toLowerCase();if(!t)return null;if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=/^#([\da-f]{3,8})$/.exec(t);if(n){let e=n[1];return e.length===3||e.length===4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Math.round(parseInt(e[3]+e[3],16)/255*100)/100:1}:e.length===6||e.length===8?{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Math.round(parseInt(e.substring(6,8),16)/255*100)/100:1}:null}let r=/^(rgba?|hsla?)\(([^)]*)\)$/.exec(t);if(r){let e=r[2].replace(`/`,`,`).split(/[\s,]+/).filter(e=>e!==``);return e.length<3?null:r[1].startsWith(`rgb`)?{r:o5(e[0],255),g:o5(e[1],255),b:o5(e[2],255),a:Dfl(e[3])}:{...Tfl((parseFloat(e[0])%360+360)%360/360,a5(parseFloat(e[1])/100,0,1),a5(parseFloat(e[2])/100,0,1)),a:Dfl(e[3])}}let i=wfl(t);return i&&i!==t?s5(i):null}function c5(e,t,n){let r=n?1:e.a??1,i=r>=1,a=Math.round(r*100)/100;if(t===`hex`){let t=`#${e.r.toString(16).padStart(2,`0`)}${e.g.toString(16).padStart(2,`0`)}${e.b.toString(16).padStart(2,`0`)}`,n=Math.round(r*255).toString(16).padStart(2,`0`);return i?t:`${t}${n}`}if(t===`hsl`){let{h:t,s:n,l:r}=Efl(e);return i?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${a})`}return i?`rgb(${e.r}, ${e.g}, ${e.b})`:`rgba(${e.r}, ${e.g}, ${e.b}, ${a})`}function Ofl(e){let t=(e||``).trim().toLowerCase();return t.startsWith(`#`)?`hex`:t.startsWith(`rgb`)?`rgb`:t.startsWith(`hsl`)?`hsl`:null}function kfl(){if(typeof window<`u`)return window.EyeDropper}var Afl=class e extends s{constructor(t){super(t),J(this,`handleClick`,t=>{let n=!this.state.displayColorPicker;this.setState({displayColorPicker:n,anchorEl:n?t.currentTarget:null,recentColors:n&&!this.props.noRecentColors?e.readRecentColors():this.state.recentColors})}),J(this,`handleClose`,()=>{this.storeRecentColor(this.state.textValue),this.setState({displayColorPicker:!1,anchorEl:null})}),J(this,`handleColorChange`,e=>{let t=c5(e,this.state.format,this.props.noAlpha);this.setState({rgba:e,textValue:t},()=>{var e,n;return(e=(n=this.props).onChange)==null?void 0:e.call(n,t)})}),J(this,`handleTextChange`,e=>{let t=s5(e);this.setState({textValue:e,rgba:t||this.state.rgba},()=>{var t,n;return(t=(n=this.props).onChange)==null?void 0:t.call(n,e)})}),J(this,`handleFormatChange`,e=>{if(!this.state.textValue){this.setState({format:e});return}let t=c5(this.state.rgba,e,this.props.noAlpha);this.setState({format:e,textValue:t},()=>{var e,n;return(e=(n=this.props).onChange)==null?void 0:e.call(n,t)})}),J(this,`handleClear`,()=>{this.setState({textValue:``,rgba:{...r5}},()=>{var e,t;return(e=(t=this.props).onChange)==null?void 0:e.call(t,``)})}),J(this,`handleEyeDropper`,()=>{let e=kfl();e&&new e().open().then(e=>{let t=s5(e.sRGBHex);t&&this.handleColorChange({...t,a:this.props.noAlpha?1:this.state.rgba.a??1})}).catch(()=>{})});let n=t.value||t.color||``;this.state={displayColorPicker:!1,rgba:s5(n)||{...r5},textValue:n,format:t.format||Ofl(n)||`rgb`,anchorEl:null,recentColors:[]}}componentDidUpdate(e){let t=e.value??e.color??``,n=this.props.value??this.props.color??``;t!==n&&n!==this.state.textValue?this.setState({rgba:s5(n)||{...r5},textValue:n,format:this.props.format||Ofl(n)||this.state.format}):this.props.format&&this.props.format!==e.format&&this.setState({format:this.props.format})}static getColor(t,n){if(t&&typeof t==`object`){let e=t,r=e.rgb?e.rgb:t;return n?`#${r.r.toString(16).padStart(2,`0`)}${r.g.toString(16).padStart(2,`0`)}${r.b.toString(16).padStart(2,`0`)}`:`rgba(${r.r},${r.g},${r.b},${r.a??1})`}return typeof t==`string`?n?e.rgb2hex(t||``):t||``:``}static rgb2hex(e){let t=/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i.exec(e);if(t){let n=parseInt(t[1],10).toString(16).padStart(2,`0`),r=parseInt(t[2],10).toString(16).padStart(2,`0`),i=parseInt(t[3],10).toString(16).padStart(2,`0`);return(t==null?void 0:t.length)===4?`#${n}${r}${i}`:e}return e}static readRecentColors(){try{let e=window.localStorage.getItem(Sfl),t=e?JSON.parse(e):null;if(Array.isArray(t))return t.filter(e=>typeof e==`string`).slice(0,Cfl)}catch{}return[]}storeRecentColor(e){if(this.props.noRecentColors||!e||this.state.recentColors[0]===e)return;let t=[e,...this.state.recentColors.filter(t=>t!==e)].slice(0,Cfl);this.setState({recentColors:t});try{window.localStorage.setItem(Sfl,JSON.stringify(t))}catch{}}renderSwatches(e,t){return e.length?A.createElement(Gp,{component:`div`},A.createElement(Gp,{component:`div`,sx:n5.sectionTitle},t),A.createElement(Gp,{component:`div`,sx:n5.swatchRow},e.map((e,t)=>A.createElement(qp,{sx:n5.paletteItem,key:`${e}_${t}`,title:e,onClick:()=>{let t=s5(e);t?this.handleColorChange(t):this.handleTextChange(e)}},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:e}}))))):null}renderPicker(){let{rgba:e,textValue:t,format:n}=this.state,r=this.props.noAlpha?xfl:yfl;return A.createElement(Gp,{component:`div`,sx:n5.pickerWrapper,style:{width:this.props.pickerWidth||280}},A.createElement(r,{color:e,onChange:t=>this.handleColorChange({a:e.a??1,...t})}),A.createElement(Gp,{component:`div`,sx:n5.controlRow},kfl()?A.createElement(Jh,{title:Z.t(`ra_Pick color from screen`)},A.createElement(Om,{size:`small`,onClick:this.handleEyeDropper},A.createElement(X4,{fontSize:`small`}))):null,A.createElement(Gp,{component:`div`,sx:n5.preview},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:t||`transparent`}})),A.createElement(Uh,{variant:`standard`,size:`small`,sx:n5.valueInput,value:t,placeholder:Z.t(`ra_Select color`),onChange:e=>this.handleTextChange(e.target.value)}),A.createElement(uh,{variant:`standard`,disableUnderline:!0,sx:n5.formatSelect,value:n,onChange:e=>this.handleFormatChange(e.target.value)},A.createElement(qm,{value:`hex`},`HEX`),A.createElement(qm,{value:`rgb`},`RGB`),A.createElement(qm,{value:`hsl`},`HSL`)),A.createElement(Jh,{title:Z.t(`ra_Clear color`)},A.createElement(`span`,null,A.createElement(Om,{size:`small`,disabled:!t,onClick:this.handleClear},A.createElement(e6,{fontSize:`small`}))))),this.renderSwatches(this.props.customPalette||[],Z.t(`ra_Palette`)),this.renderSwatches(this.props.noRecentColors?[]:this.state.recentColors,Z.t(`ra_Recently used colors`)))}render(){let e={...this.props.style||{}};e.position=`relative`;let{textValue:t}=this.state,n=!!(this.props.label||this.props.name);return A.createElement(Gp,{component:`div`,style:e,sx:this.props.sx||void 0,className:this.props.className||``},this.props.noInputField?null:A.createElement(Uh,{disabled:this.props.disabled,variant:`standard`,id:this.props.id||`ar_color_picker_name`,label:this.props.label||this.props.name,value:t,margin:`dense`,sx:{"&.MuiFormControl-root":n5.textDense,width:t?`calc(100% - 80px)`:`calc(100% - 56px)`,mr:t?void 0:1},onChange:e=>this.handleTextChange(e.target.value)}),!this.props.noInputField&&t?A.createElement(Om,{disabled:this.props.disabled,onClick:this.handleClear,size:`small`,style:n?n5.delButton:void 0},A.createElement(e6,null)):null,A.createElement(Gp,{component:`div`,onClick:e=>!this.props.disabled&&this.handleClick(e),title:Z.t(`ra_Select color`),sx:{...n5.swatch,...this.props.disabled?n5.swatchDisabled:void 0,marginTop:this.props.noInputField||!n?0:void 0}},A.createElement(Gp,{component:`div`,sx:{...n5.color,border:t?void 0:`1px dashed #888`,boxSizing:`border-box`},style:{width:this.props.noInputField?this.props.barWidth||16:this.props.barWidth||36}},A.createElement(Gp,{component:`div`,sx:n5.fill,style:{background:t||`transparent`}}))),this.state.displayColorPicker&&!this.props.disabled?A.createElement(rh,{sx:n5.popover,anchorEl:this.state.anchorEl,open:!0,onClose:this.handleClose,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`}},this.renderPicker()):null)}},l5=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>{var e={6949(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(9515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 JAN *`,"@annually":`0 0 1 JAN *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * SUN`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),!this.monthStartIndexZero&&e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d+)|([^#/\s\d]\d+)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||/[-+]/.test(e[3]))&&!/^\d{1,2}W[+-]\d{1,2}$/.test(e[3]))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s\d]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3].replace(/^(\d{1,2}W)[+-]\d{1,2}$/,`$1`),`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){e.forEach(function(e){return r.default.stepRange(e)}),r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()},8333(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var r=n(1823),i=n(6949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0||i,o=r.verbose,s=o!==void 0&&o,c=r.dayOfWeekStartIndexZero,l=c===void 0||c,u=r.monthStartIndexZero,d=u!==void 0&&u,f=r.use24HourTimeFormat,p=r.trimHoursLeadingZero,m=p!==void 0&&p,h=r.locale,g=h===void 0?null:h,_=r.logicalAndDayFields,v={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,trimHoursLeadingZero:m,locale:g,logicalAndDayFields:_!==void 0&&_};return v.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,v).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t,n=``;try{var r=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),this.expressionParts[0]===`@reboot`)return((t=(e=this.i18n).atReboot)==null?void 0:t.call(e))||`Run once, at startup`;var a=this.getTimeOfDayDescription(),o=this.getDayOfMonthDescription(),s=this.getMonthDescription(),c=this.getDayOfWeekDescription(),l=this.getYearDescription();n+=a+o+c+s+l,n=this.transformVerbosity(n,!!this.options.verbose),n=n.charAt(0).toLocaleUpperCase()+n.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return n},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a&&(a+=` `),a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)},{min:0,max:59})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){var i,a;try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():r==`0`?((a=(i=e.i18n).onTheHour)==null?void 0:a.call(i))||e.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}},{min:0,max:59})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()},{min:0,max:23})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l)}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t,n,i,a,o=null,s=this.expressionParts[3];switch(s){case`L`:o=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:o=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var c=s.match(/^(?:(\d{1,2})W|W(\d{1,2}))(?:([+-])(\d{1,2}))?$/);if(c){var l=parseInt(c[1]||c[2]),u=l==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),l.toString()),d=c[4];o=d?c[3]==`-`?r.StringUtilities.format(((n=(t=this.i18n).commaDaysBeforeTheX0OfTheMonth)==null?void 0:n.call(t,d))||`, %s days before the %s of the month`,d,u):r.StringUtilities.format(((a=(i=this.i18n).commaDaysAfterTheX0OfTheMonth)==null?void 0:a.call(i,d))||`, %s days after the %s of the month`,d,u):r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),u);break}var f=s.match(/L-(\d{1,2})/);if(f){var p=f[1];o=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(p),p);break}if(s==`*`&&this.expressionParts[5]!=`*`)return``;o=this.getSegmentDescription(s,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)})}return o},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o,s){var c=null,l=e.indexOf(`/`)>-1,u=e.indexOf(`-`)>-1,d=e.indexOf(`,`)>-1;if(!e)c=``;else if(e===`*`)c=t;else if(!l&&!u&&!d)c=r.StringUtilities.format(o(e),n(e));else if(d){for(var f=e.split(`,`),p=``,m=this.i18n.spaceAnd(),h=0;h<f.length;h++)if(h>0&&f.length>2&&(p+=`,`,h<f.length-1&&(p+=` `)),h>0&&f.length>1&&(h==f.length-1||f.length==2)&&(p+=m==`,`&&f.length>2?` `:`${m} `),f[h].indexOf(`/`)>-1||f[h].indexOf(`-`)>-1){var g=f[h].indexOf(`-`)>-1&&f[h].indexOf(`/`)==-1,_=this.getSegmentDescription(f[h],t,n,i,g?this.i18n.commaX0ThroughX1:a,o);g?_=_.replace(`, `,``):h>0&&_.startsWith(`, `)&&(_=_.substring(2)),p+=_}else if(!l)p+=n(f[h]);else{var v=this.getSegmentDescription(f[h],t,n,i,a,o);h>0&&v&&v.startsWith(`, `)&&(v=v.substring(2)),p+=v}c=l?p:r.StringUtilities.format(o(e),p)}else if(l){var f=e.split(`/`);if(c=r.StringUtilities.format(i(f[1]),f[1]),f[0].indexOf(`-`)>-1){var y=this.generateRangeSegmentDescription(f[0],a,n);y.indexOf(`, `)!=0&&(c+=`, `),c+=y}else if(f[0].indexOf(`*`)==-1){var b=r.StringUtilities.format(o(f[0]),n(f[0]));b=b.replace(`, `,``),c+=r.StringUtilities.format(this.i18n.commaStartingX0(),b)}c+=this.getWrappingIncrementDescription(e,s,t,n,i,a,o)}else u&&(c=this.generateRangeSegmentDescription(e,a,n));return c},e.prototype.getWrappingIncrementDescription=function(e,t,n,r,i,a,o){if(!this.options.verbose||!t)return``;var s=e.split(`/`),c=s[0],l=s[1],u=parseInt(l),d=t.max-t.min+1,f=c===`*`,p=Number.isInteger(u)&&u>1,m=p&&d%u===0;if(!f||!p||m)return``;for(var h=[],g=t.min;g<=t.max;g+=u)h.push(g);if(h.length<2)return``;var _=this.getSegmentDescription(h.join(`,`),n,r,i,a,o);return _?`, ${_}`:``},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;n&&(l=`:${(`00`+n).substring(n.length)}`);var u=a.toString(),d=(`00`+u).substring(u.length),f=o.toString(),p=(`00`+f).substring(f.length),m=this.options.trimHoursLeadingZero?u:d;return`${c?s:``}${m}:${p}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()},3747(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var r=n(9486);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new r.en},e}()},9486(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var n=function(e){return Number(e)===1};t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(e){return n(e)?`every %s second`:`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(e){return n(e)?`at %s second past the minute`:`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(e){return n(e)?`every %s minute`:`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(e){return n(e)?`at %s minute past the hour`:`at %s minutes past the hour`},e.prototype.everyX0Hours=function(e){return n(e)?`every %s hour`:`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return n(e)?`, %s day before the last day of the month`:`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaDaysBeforeTheX0OfTheMonth=function(e){return n(e)?`, %s day before the %s of the month`:`, %s days before the %s of the month`},e.prototype.commaDaysAfterTheX0OfTheMonth=function(e){return n(e)?`, %s day after the %s of the month`:`, %s days after the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days in a month`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(e){return n(e)?`, every %s year`:`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e.prototype.onTheHour=function(){return`on the hour`},e}()},9515(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(e,t){if(!e)throw Error(t)}function r(e){var t=[];if(!isNaN(parseInt(e,10))){t.push(parseInt(e,10));var n=e.match(/^\d+-(-?\d+)/);n&&t.push(parseInt(n[1],10))}return t}t.default=function(){function e(){}return e.stepRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++){var i=t[r].split(`/`)[1];n(i===void 0||!/^0+$/.test(i),`step value must be greater than 0`)}},e.secondRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=0&&s<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),i=0;i<t.length;i++)for(var a=0,o=r(t[i]);a<o.length;a++){var s=o[a];n(s>=1&&s<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var i=e.split(`,`),a=0;a<i.length;a++)for(var o=0,s=r(i[a]);o<s.length;o++){var c=s[o];n(c>=1&&c<=12,t?`month part must be >= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var i=e.split(`,`),a=0;a<i.length;a++){if(i[a].indexOf(`#`)>-1){var o=i[a].substring(i[a].indexOf(`#`)+1);n(/^[1-5]$/.test(o),`DOW nth weekday must be >= 1 and <= 5`)}for(var s=0,c=r(i[a]);s<c.length;s++){var l=c[s];n(l>=0&&l<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}}},e}()},1823(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(8333),i=n(3747);t.ExpressionDescriptor.initialize(new i.enLocaleLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),jfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/fr`,[`cronstrue`],r):typeof e==`object`?e["locales/fr"]=r(l5()):n[`locales/fr`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.fr=void 0;var c=function(){function e(){}return e.prototype.conciseVerbosityReplacements=function(){return{"de le":`du`}},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Une erreur est survenue en générant la description de l'expression cron. Vérifiez sa syntaxe.`},e.prototype.everyMinute=function(){return`toutes les minutes`},e.prototype.everyHour=function(){return`toutes les heures`},e.prototype.atSpace=function(){return`À `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Toutes les minutes entre %s et %s`},e.prototype.at=function(){return`À`},e.prototype.spaceAnd=function(){return` et`},e.prototype.everySecond=function(){return`toutes les secondes`},e.prototype.everyX0Seconds=function(){return`toutes les %s secondes`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`les secondes entre %s et %s après la minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`%s secondes après la minute`},e.prototype.everyX0Minutes=function(){return`toutes les %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`les minutes entre %s et %s après l'heure`},e.prototype.atX0MinutesPastTheHour=function(){return`%s minutes après l'heure`},e.prototype.everyX0Hours=function(){return`toutes les %s heures`},e.prototype.betweenX0AndX1=function(){return`de %s à %s`},e.prototype.atX0=function(){return`%s`},e.prototype.commaEveryDay=function(){return`, tous les jours`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, tous les %s jours de la semaine`},e.prototype.commaX0ThroughX1=function(){return`, de %s à %s`},e.prototype.commaAndX0ThroughX1=function(){return`, et de %s à %s`},e.prototype.first=function(){return`premier`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`troisième`},e.prototype.fourth=function(){return`quatrième`},e.prototype.fifth=function(){return`cinquième`},e.prototype.commaOnThe=function(){return`, le `},e.prototype.spaceX0OfTheMonth=function(){return` %s du mois`},e.prototype.lastDay=function(){return`le dernier jour`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, le dernier %s du mois`},e.prototype.commaOnlyOnX0=function(){return`, uniquement le %s`},e.prototype.commaAndOnX0=function(){return`, et %s`},e.prototype.commaEveryX0Months=function(){return`, tous les %s mois`},e.prototype.commaOnlyInX0=function(){return`, uniquement en %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, le dernier jour du mois`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, le dernier jour ouvrable du mois`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s jours avant le dernier jour du mois`},e.prototype.firstWeekday=function(){return`premier jour ouvrable`},e.prototype.weekdayNearestDayX0=function(){return`jour ouvrable le plus proche du %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryX0Days=function(){return`, tous les %s jours`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, du %s au %s du mois`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, le %s du mois`},e.prototype.commaEveryHour=function(){return`, chaque heure`},e.prototype.commaEveryX0Years=function(){return`, tous les %s ans`},e.prototype.commaDaysX0ThroughX1=function(){return`, du %s au %s`},e.prototype.commaStartingX0=function(){return`, à partir de %s`},e.prototype.daysOfTheWeek=function(){return[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`]},e.prototype.monthsOfTheYear=function(){return[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`]},e.prototype.atReboot=function(){return`Exécuter une fois, au démarrage`},e.prototype.onTheHour=function(){return`à l'heure pile`},e}();return s.fr=c,o().locales.fr=new c,i})())})),Mfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/es`,[`cronstrue`],r):typeof e==`object`?e["locales/es"]=r(l5()):n[`locales/es`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.es=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocurrió un error mientras se generaba la descripción de la expresión. Revise la sintaxis de la expresión de cron.`},e.prototype.at=function(){return`A las`},e.prototype.atSpace=function(){return`A las `},e.prototype.atX0=function(){return`a las %s`},e.prototype.atX0MinutesPastTheHour=function(){return`a los %s minutos de la hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`a los %s segundos del minuto`},e.prototype.betweenX0AndX1=function(){return`entre las %s y las %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre los días %s y %s del mes`},e.prototype.commaEveryDay=function(){return`, cada día`},e.prototype.commaEveryX0Days=function(){return`, cada %s días`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, cada %s días de la semana`},e.prototype.commaEveryX0Months=function(){return`, cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, el día %s del mes`},e.prototype.commaOnlyInX0=function(){return`, sólo en %s`},e.prototype.commaOnlyOnX0=function(){return`, sólo el %s`},e.prototype.commaAndOnX0=function(){return`, y el %s`},e.prototype.commaOnThe=function(){return`, en el `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, en el último día del mes`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, en el último día de la semana del mes`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s días antes del último día del mes`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, en el último %s del mes`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, en el %s del mes`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, y de %s a %s`},e.prototype.everyHour=function(){return`cada hora`},e.prototype.everyMinute=function(){return`cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`cada minuto entre las %s y las %s`},e.prototype.everySecond=function(){return`cada segundo`},e.prototype.everyX0Hours=function(){return`cada %s horas`},e.prototype.everyX0Minutes=function(){return`cada %s minutos`},e.prototype.everyX0Seconds=function(){return`cada %s segundos`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primero`},e.prototype.firstWeekday=function(){return`primer día de la semana`},e.prototype.fourth=function(){return`cuarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`del minuto %s al %s pasada la hora`},e.prototype.second=function(){return`segundo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`En los segundos %s al %s de cada minuto`},e.prototype.spaceAnd=function(){return` y`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mes`},e.prototype.lastDay=function(){return`el último día`},e.prototype.third=function(){return`tercer`},e.prototype.weekdayNearestDayX0=function(){return`día de la semana más próximo al %s`},e.prototype.commaEveryX0Years=function(){return`, cada %s años`},e.prototype.commaStartingX0=function(){return`, comenzando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`lunes`,`martes`,`miércoles`,`jueves`,`viernes`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`enero`,`febrero`,`marzo`,`abril`,`mayo`,`junio`,`julio`,`agosto`,`septiembre`,`octubre`,`noviembre`,`diciembre`]},e.prototype.atReboot=function(){return`Ejecutar una vez, al iniciar`},e.prototype.onTheHour=function(){return`en punto`},e}();return s.es=c,o().locales.es=new c,i})())})),Nfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/de`,[`cronstrue`],r):typeof e==`object`?e["locales/de"]=r(l5()):n[`locales/de`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.de=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`jede Minute`},e.prototype.everyHour=function(){return`jede Stunde`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. Überprüfen Sie die Syntax des Cron-Ausdrucks.`},e.prototype.atSpace=function(){return`Um `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Jede Minute zwischen %s und %s`},e.prototype.at=function(){return`Um`},e.prototype.spaceAnd=function(){return` und`},e.prototype.everySecond=function(){return`Jede Sekunde`},e.prototype.everyX0Seconds=function(){return`alle %s Sekunden`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`Sekunden %s bis %s`},e.prototype.atX0SecondsPastTheMinute=function(){return`bei Sekunde %s`},e.prototype.everyX0Minutes=function(){return`alle %s Minuten`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`Minuten %s bis %s`},e.prototype.atX0MinutesPastTheHour=function(){return`bei Minute %s`},e.prototype.everyX0Hours=function(){return`alle %s Stunden`},e.prototype.betweenX0AndX1=function(){return`zwischen %s und %s`},e.prototype.atX0=function(){return`um %s`},e.prototype.commaEveryDay=function(){return`, jeden Tag`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, alle %s Tage der Woche`},e.prototype.commaX0ThroughX1=function(){return`, %s bis %s`},e.prototype.commaAndX0ThroughX1=function(){return`, und %s bis %s`},e.prototype.first=function(){return`ersten`},e.prototype.second=function(){return`zweiten`},e.prototype.third=function(){return`dritten`},e.prototype.fourth=function(){return`vierten`},e.prototype.fifth=function(){return`fünften`},e.prototype.commaOnThe=function(){return`, am `},e.prototype.spaceX0OfTheMonth=function(){return` %s des Monats`},e.prototype.lastDay=function(){return`der letzte Tag`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, am letzten %s des Monats`},e.prototype.commaOnlyOnX0=function(){return`, nur jeden %s`},e.prototype.commaAndOnX0=function(){return`, und jeden %s`},e.prototype.commaEveryX0Months=function(){return`, alle %s Monate`},e.prototype.commaOnlyInX0=function(){return`, nur im %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, am letzten Tag des Monats`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, am letzten Werktag des Monats`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s tage vor dem letzten Tag des Monats`},e.prototype.firstWeekday=function(){return`ersten Werktag`},e.prototype.weekdayNearestDayX0=function(){return`Werktag am nächsten zum %s Tag`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, am %s des Monats`},e.prototype.commaEveryX0Days=function(){return`, alle %s Tage`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, zwischen Tag %s und %s des Monats`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, an Tag %s des Monats`},e.prototype.commaEveryX0Years=function(){return`, alle %s Jahre`},e.prototype.commaStartingX0=function(){return`, beginnend %s`},e.prototype.daysOfTheWeek=function(){return[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`]},e.prototype.monthsOfTheYear=function(){return[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`]},e.prototype.atReboot=function(){return`Einmal ausführen, beim Start`},e.prototype.onTheHour=function(){return`zur vollen Stunde`},e}();return s.de=c,o().locales.de=new c,i})())})),Pfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/it`,[`cronstrue`],r):typeof e==`object`?e["locales/it"]=r(l5()):n[`locales/it`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.it=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`È verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron.`},e.prototype.at=function(){return`Alle`},e.prototype.atSpace=function(){return`Alle `},e.prototype.atX0=function(){return`alle %s`},e.prototype.atX0MinutesPastTheHour=function(){return`al %s minuto passata l'ora`},e.prototype.atX0SecondsPastTheMinute=function(){return`al %s secondo passato il minuto`},e.prototype.betweenX0AndX1=function(){return`tra le %s e le %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, tra il giorno %s e %s del mese`},e.prototype.commaEveryDay=function(){return`, ogni giorno`},e.prototype.commaEveryX0Days=function(){return`, ogni %s giorni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, ogni %s giorni della settimana`},e.prototype.commaEveryX0Months=function(){return`, ogni %s mesi`},e.prototype.commaEveryX0Years=function(){return`, ogni %s anni`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, il giorno %s del mese`},e.prototype.commaOnlyInX0=function(){return`, solo in %s`},e.prototype.commaOnlyOnX0=function(){return`, solo il %s`},e.prototype.commaAndOnX0=function(){return`, e il %s`},e.prototype.commaOnThe=function(){return`, il `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, l'ultimo giorno del mese`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, nell'ultima settimana del mese`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s giorni prima dell'ultimo giorno del mese`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, l'ultimo %s del mese`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, il %s del mese`},e.prototype.commaX0ThroughX1=function(){return`, %s al %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e %s al %s`},e.prototype.everyHour=function(){return`ogni ora`},e.prototype.everyMinute=function(){return`ogni minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Ogni minuto tra le %s e le %s`},e.prototype.everySecond=function(){return`ogni secondo`},e.prototype.everyX0Hours=function(){return`ogni %s ore`},e.prototype.everyX0Minutes=function(){return`ogni %s minuti`},e.prototype.everyX0Seconds=function(){return`ogni %s secondi`},e.prototype.fifth=function(){return`quinto`},e.prototype.first=function(){return`primo`},e.prototype.firstWeekday=function(){return`primo giorno della settimana`},e.prototype.fourth=function(){return`quarto`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuti %s al %s dopo l'ora`},e.prototype.second=function(){return`secondo`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`secondi %s al %s oltre il minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s del mese`},e.prototype.lastDay=function(){return`l'ultimo giorno`},e.prototype.third=function(){return`terzo`},e.prototype.weekdayNearestDayX0=function(){return`giorno della settimana più vicino al %s`},e.prototype.commaStartingX0=function(){return`, a partire %s`},e.prototype.daysOfTheWeek=function(){return[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`]},e.prototype.monthsOfTheYear=function(){return[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`]},e.prototype.atReboot=function(){return`Esegui una volta, all'avvio`},e.prototype.onTheHour=function(){return`all'ora esatta`},e}();return s.it=c,o().locales.it=new c,i})())})),Ffl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/ru`,[`cronstrue`],r):typeof e==`object`?e["locales/ru"]=r(l5()):n[`locales/ru`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.ru=void 0;var c=function(e,t){var n=Number(e);return n===void 0?t[2]:t[n%100>4&&n%100<20?2:[2,0,1,1,1,2][n%10<5?Math.abs(n)%10:5]]},l=function(e,t){var n=Number(e);return n===void 0?t[1]:t[n===0?0:n===1||n===2||n===4?1:2]},u=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`каждую минуту`},e.prototype.everyHour=function(){return`каждый час`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Произошла ошибка во время генерации описания выражения. Проверьте синтаксис крон-выражения.`},e.prototype.atSpace=function(){return`В `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Каждую минуту с %s по %s`},e.prototype.at=function(){return`В`},e.prototype.spaceAnd=function(){return` и`},e.prototype.everySecond=function(){return`каждую секунду`},e.prototype.everyX0Seconds=function(e){return c(e,[`каждую %s секунду`,`каждые %s секунды`,`каждые %s секунд`])},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`секунды с %s по %s`},e.prototype.atX0SecondsPastTheMinute=function(e){return c(e,[`в %s секунду`,`в %s секунды`,`в %s секунд`])},e.prototype.everyX0Minutes=function(e){return c(e,[`каждую %s минуту`,`каждые %s минуты`,`каждые %s минут`])},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`минуты с %s по %s`},e.prototype.atX0MinutesPastTheHour=function(e){return c(e,[`в %s минуту`,`в %s минуты`,`в %s минут`])},e.prototype.everyX0Hours=function(e){return c(e,[`каждый %s час`,`каждые %s часа`,`каждые %s часов`])},e.prototype.betweenX0AndX1=function(){return`с %s по %s`},e.prototype.atX0=function(){return`в %s`},e.prototype.commaEveryDay=function(){return`, каждый день`},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return c(e,[`, каждый %s день недели`,`, каждые %s дня недели`,`, каждые %s дней недели`])},e.prototype.commaX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?`, со %s по %s`:`, с %s по %s`},e.prototype.commaAndX0ThroughX1=function(e){return e&&(e[0]==`2`||e[0]==`3`)?` и со %s по %s`:` и с %s по %s`},e.prototype.first=function(e){return l(e,[`первое`,`первый`,`первую`])},e.prototype.second=function(e){return l(e,[`второе`,`второй`,`вторую`])},e.prototype.third=function(e){return l(e,[`третье`,`третий`,`третью`])},e.prototype.fourth=function(e){return l(e,[`четвертое`,`четвертый`,`четвертую`])},e.prototype.fifth=function(e){return l(e,[`пятое`,`пятый`,`пятую`])},e.prototype.commaOnThe=function(e){return e===`2`?`, во `:`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s месяца`},e.prototype.lastDay=function(){return`последний день`},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return l(e,[`, в последнее %s месяца`,`, в последний %s месяца`,`, в последнюю %s месяца`])},e.prototype.commaOnlyOnX0=function(e){return e&&e[0]===`2`?`, только во %s`:`, только в %s`},e.prototype.commaAndOnX0=function(){return`, и %s`},e.prototype.commaEveryX0Months=function(e){return c(e,[``,` каждые %s месяца`,` каждые %s месяцев`])},e.prototype.commaOnlyInMonthX0=function(){return`, только %s`},e.prototype.commaOnlyInX0=function(){return`, только в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в последний день месяца`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в последний будний день месяца`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return c(e,[`, за %s день до конца месяца`,`, за %s дня до конца месяца`,`, за %s дней до конца месяца`])},e.prototype.firstWeekday=function(){return`первый будний день`},e.prototype.weekdayNearestDayX0=function(){return`ближайший будний день к %s числу`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s месяца`},e.prototype.commaEveryX0Days=function(e){return c(e,[`, каждый %s день`,`, каждые %s дня`,`, каждые %s дней`])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){return e&&e.substring(0,e.indexOf(`-`))==`2`?`, со %s по %s число месяца`:`, с %s по %s число месяца`},e.prototype.commaOnDayX0OfTheMonth=function(e){return e&&e[0]==`2`?`, во %s число месяца`:`, в %s число месяца`},e.prototype.commaEveryX0Years=function(e){return c(e,[`, каждый %s год`,`, каждые %s года`,`, каждые %s лет`])},e.prototype.commaStartingX0=function(){return`, начало %s`},e.prototype.daysOfTheWeek=function(){return[`воскресенье`,`понедельник`,`вторник`,`среда`,`четверг`,`пятница`,`суббота`]},e.prototype.daysOfTheWeekInCase=function(e){return e===void 0&&(e=2),e==1?[`воскресенья`,`понедельника`,`вторника`,`среды`,`четверга`,`пятницы`,`субботы`]:[`воскресенье`,`понедельник`,`вторник`,`среду`,`четверг`,`пятницу`,`субботу`]},e.prototype.monthsOfTheYear=function(){return[`январь`,`февраль`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`]},e.prototype.monthsOfTheYearInCase=function(e){return e==1?[`января`,`февраля`,`марта`,`апреля`,`мая`,`июня`,`июля`,`августа`,`сентября`,`октября`,`ноября`,`декабря`]:this.monthsOfTheYear()},e.prototype.atReboot=function(){return`Выполнить один раз, при запуске`},e.prototype.onTheHour=function(){return`ровно в час`},e}();return s.ru=u,o().locales.ru=new u,i})())})),Ifl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/zh_CN`,[`cronstrue`],r):typeof e==`object`?e["locales/zh_CN"]=r(l5()):n[`locales/zh_CN`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.zh_CN=void 0;var c=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`下午`},e.prototype.am=function(){return`上午`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, 从%s年至%s年`},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`每分钟`},e.prototype.everyHour=function(){return`每小时`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`生成表达式描述时发生了错误,请检查cron表达式语法。`},e.prototype.atSpace=function(){return`在`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`在 %s 至 %s 之间的每分钟`},e.prototype.at=function(){return`在`},e.prototype.spaceAnd=function(){return` 和`},e.prototype.everySecond=function(){return`每秒`},e.prototype.everyX0Seconds=function(){return`每隔 %s 秒`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`在一分钟后的第 %s 到 %s 秒`},e.prototype.atX0SecondsPastTheMinute=function(){return`在一分钟后的第 %s 秒`},e.prototype.everyX0Minutes=function(){return`每隔 %s 分钟`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`在整点后的第 %s 到 %s 分钟`},e.prototype.atX0MinutesPastTheHour=function(){return`在整点后的第 %s 分钟`},e.prototype.everyX0Hours=function(){return`每隔 %s 小时`},e.prototype.betweenX0AndX1=function(){return`在 %s 和 %s 之间`},e.prototype.atX0=function(){return`在%s`},e.prototype.commaEveryDay=function(){return`, 每天`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, 每周的每 %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %s至%s`},e.prototype.commaAndX0ThroughX1=function(){return`, 和%s至%s`},e.prototype.first=function(){return`第一个`},e.prototype.second=function(){return`第二个`},e.prototype.third=function(){return`第三个`},e.prototype.fourth=function(){return`第四个`},e.prototype.fifth=function(){return`第五个`},e.prototype.commaOnThe=function(){return`, 限每月的`},e.prototype.spaceX0OfTheMonth=function(){return`%s`},e.prototype.lastDay=function(){return`本月最后一天`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, 限每月的最后一个%s`},e.prototype.commaOnlyOnX0=function(){return`, 仅%s`},e.prototype.commaAndOnX0=function(){return`, 或者为%s`},e.prototype.commaEveryX0Months=function(){return`, 每隔 %s 个月`},e.prototype.commaOnlyInX0=function(){return`, 仅限%s`},e.prototype.commaOnlyInMonthX0=function(){return`, 仅于%s份`},e.prototype.commaOnlyInYearX0=function(){return`, 仅于 %s 年`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, 限每月的最后一天`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 限每月的最后一个工作日`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, 限每月最后%s天`},e.prototype.firstWeekday=function(){return`第一个工作日`},e.prototype.weekdayNearestDayX0=function(){return`最接近 %s 号的工作日`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 限每月的%s`},e.prototype.commaEveryX0Days=function(){return`, 每隔 %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 限每月的 %s 至 %s 之间`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 限每月%s`},e.prototype.commaEveryX0Years=function(){return`, 每隔 %s 年`},e.prototype.commaStartingX0=function(){return`, %s开始`},e.prototype.dayX0=function(){return` %s 号`},e.prototype.daysOfTheWeek=function(){return[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`]},e.prototype.monthsOfTheYear=function(){return[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`]},e.prototype.atReboot=function(){return`开机时运行一次`},e.prototype.onTheHour=function(){return`整点`},e}();return s.zh_CN=c,o().locales.zh_CN=new c,i})())})),Lfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/uk`,[`cronstrue`],r):typeof e==`object`?e["locales/uk"]=r(l5()):n[`locales/uk`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.uk=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return`щохвилини`},e.prototype.everyHour=function(){return`щогодини`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`ВІдбулася помилка підчас генерації опису. Перевірта правильність написання cron виразу.`},e.prototype.atSpace=function(){return`О `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Щохвилини між %s та %s`},e.prototype.at=function(){return`О`},e.prototype.spaceAnd=function(){return` та`},e.prototype.everySecond=function(){return`Щосекунди`},e.prototype.everyX0Seconds=function(){return`кожні %s секунд`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`з %s по %s секунду`},e.prototype.atX0SecondsPastTheMinute=function(){return`о %s секунді`},e.prototype.everyX0Minutes=function(){return`кожні %s хвилин`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`з %s по %s хвилину`},e.prototype.atX0MinutesPastTheHour=function(){return`о %s хвилині`},e.prototype.everyX0Hours=function(){return`кожні %s годин`},e.prototype.betweenX0AndX1=function(){return`між %s та %s`},e.prototype.atX0=function(){return`о %s`},e.prototype.commaEveryDay=function(){return`, щоденно`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, кожен %s день тижня`},e.prototype.commaX0ThroughX1=function(){return`, %s по %s`},e.prototype.commaAndX0ThroughX1=function(){return`, та %s по %s`},e.prototype.first=function(){return`перший`},e.prototype.second=function(){return`другий`},e.prototype.third=function(){return`третій`},e.prototype.fourth=function(){return`четвертий`},e.prototype.fifth=function(){return`п'ятий`},e.prototype.commaOnThe=function(){return`, в `},e.prototype.spaceX0OfTheMonth=function(){return` %s місяця`},e.prototype.lastDay=function(){return`останній день`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, в останній %s місяця`},e.prototype.commaOnlyOnX0=function(){return`, тільки в %s`},e.prototype.commaAndOnX0=function(){return`, і в %s`},e.prototype.commaEveryX0Months=function(){return`, кожен %s місяць`},e.prototype.commaOnlyInX0=function(){return`, тільки в %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, в останній день місяця`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, в останній будень місяця`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s днів до останнього дня місяця`},e.prototype.firstWeekday=function(){return`перший будень`},e.prototype.weekdayNearestDayX0=function(){return`будень найближчий до %s дня`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, в %s місяця`},e.prototype.commaEveryX0Days=function(){return`, кожен %s день`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, між %s та %s днями місяця`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, на %s день місяця`},e.prototype.commaEveryX0Years=function(){return`, кожні %s роки`},e.prototype.commaStartingX0=function(){return`, початок %s`},e.prototype.daysOfTheWeek=function(){return[`неділя`,`понеділок`,`вівторок`,`середа`,`четвер`,`п'ятниця`,`субота`]},e.prototype.monthsOfTheYear=function(){return[`січень`,`лютий`,`березень`,`квітень`,`травень`,`червень`,`липень`,`серпень`,`вересень`,`жовтень`,`листопад`,`грудень`]},e.prototype.atReboot=function(){return`Виконати один раз, при запуску`},e.prototype.onTheHour=function(){return`рівно о годині`},e}();return s.uk=c,o().locales.uk=new c,i})())})),Rfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/pt_BR`,[`cronstrue`],r):typeof e==`object`?e["locales/pt_BR"]=r(l5()):n[`locales/pt_BR`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pt_BR=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Ocorreu um erro ao gerar a descrição da expressão Cron.`},e.prototype.at=function(){return`às`},e.prototype.atSpace=function(){return`às `},e.prototype.atX0=function(){return`Às %s`},e.prototype.atX0MinutesPastTheHour=function(){return`aos %s minutos da hora`},e.prototype.atX0SecondsPastTheMinute=function(){return`aos %s segundos do minuto`},e.prototype.betweenX0AndX1=function(){return`entre %s e %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, entre os dias %s e %s do mês`},e.prototype.commaEveryDay=function(){return`, a cada dia`},e.prototype.commaEveryX0Days=function(){return`, a cada %s dias`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, a cada %s dias de semana`},e.prototype.commaEveryX0Months=function(){return`, a cada %s meses`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, no dia %s do mês`},e.prototype.commaOnlyInX0=function(e){return e&&e.length>1&&e[1]===`-`?`somente %s`:`, somente em %s`},e.prototype.commaOnlyOnX0=function(e){return e&&e.length>1&&e[1]===`-`?`, somente %s`:`, somente de %s`},e.prototype.commaAndOnX0=function(){return`, e de %s`},e.prototype.commaOnThe=function(e,t){return t===`6`||t===`0`?`, no`:`, na `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, no último dia do mês`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, no último dia da semana do mês`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dias antes do último dia do mês`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, na última %s do mês`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, no %s do mês`},e.prototype.commaX0ThroughX1=function(){return`, de %s a %s`},e.prototype.commaAndX0ThroughX1=function(){return`, e de %s a %s`},e.prototype.everyHour=function(){return`a cada hora`},e.prototype.everyMinute=function(){return`a cada minuto`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`a cada minuto entre %s e %s`},e.prototype.everySecond=function(){return`a cada segundo`},e.prototype.everyX0Hours=function(){return`a cada %s horas`},e.prototype.everyX0Minutes=function(){return`a cada %s minutos`},e.prototype.everyX0Seconds=function(){return`a cada %s segundos`},e.prototype.fifth=function(e){return e===`6`||e===`0`?`quinto`:`quinta`},e.prototype.first=function(e){return e===`6`||e===`0`?`primeiro`:`primeira`},e.prototype.firstWeekday=function(){return`primeiro dia da semana`},e.prototype.fourth=function(e){return e===`6`||e===`0`?`quarto`:`quarta`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`do minuto %s até %s de cada hora`},e.prototype.second=function(e){return e===`6`||e===`0`?`segundo`:`segunda`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`No segundo %s até %s de cada minuto`},e.prototype.spaceAnd=function(){return` e`},e.prototype.spaceX0OfTheMonth=function(){return` %s do mês`},e.prototype.lastDay=function(){return`o último dia`},e.prototype.third=function(e){return e===`6`||e===`0`?`terceiro`:`terceira`},e.prototype.weekdayNearestDayX0=function(){return`dia da semana mais próximo do dia %s`},e.prototype.commaEveryX0Years=function(){return`, a cada %s anos`},e.prototype.commaStartingX0=function(){return`, iniciando %s`},e.prototype.daysOfTheWeek=function(){return[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`]},e.prototype.monthsOfTheYear=function(){return[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`]},e.prototype.atReboot=function(){return`Executar uma vez, na inicialização`},e.prototype.onTheHour=function(){return`na hora certa`},e}();return s.pt_BR=c,o().locales.pt_BR=new c,i})())})),zfl=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(l5()):typeof define==`function`&&define.amd?define(`locales/pl`,[`cronstrue`],r):typeof e==`object`?e["locales/pl"]=r(l5()):n[`locales/pl`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93(t){t.exports=e}},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.pl=void 0;var c=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`Wystąpił błąd podczas generowania opisu wyrażenia cron. Sprawdź składnię wyrażenia cron.`},e.prototype.at=function(){return`O`},e.prototype.atSpace=function(){return`O `},e.prototype.atX0=function(){return`o %s`},e.prototype.atX0MinutesPastTheHour=function(){return`w %s minucie`},e.prototype.atX0SecondsPastTheMinute=function(){return`w %s sekundzie`},e.prototype.betweenX0AndX1=function(){return`od %s do %s`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, od %s-ego do %s-ego dnia miesiąca`},e.prototype.commaEveryDay=function(){return`, co dzień`},e.prototype.commaEveryX0Days=function(){return`, co %s dni`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, co %s dni tygodnia`},e.prototype.commaEveryX0Months=function(){return`, co %s miesięcy`},e.prototype.commaEveryX0Years=function(){return`, co %s lat`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, %s-ego dnia miesiąca`},e.prototype.commaOnlyInX0=function(){return`, tylko %s`},e.prototype.commaOnlyOnX0=function(){return`, tylko %s`},e.prototype.commaAndOnX0=function(){return`, i %s`},e.prototype.commaOnThe=function(){return`, `},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, ostatni dzień miesiąca`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, ostatni dzień roboczy miesiąca`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s dni przed ostatnim dniem miesiąca`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, ostatni %s miesiąca`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, %s miesiąca`},e.prototype.commaX0ThroughX1=function(){return`, od %s do %s`},e.prototype.commaAndX0ThroughX1=function(){return`, i od %s do %s`},e.prototype.everyHour=function(){return`co godzinę`},e.prototype.everyMinute=function(){return`co minutę`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Co minutę od %s do %s`},e.prototype.everySecond=function(){return`co sekundę`},e.prototype.everyX0Hours=function(){return`co %s godzin`},e.prototype.everyX0Minutes=function(){return`co %s minut`},e.prototype.everyX0Seconds=function(){return`co %s sekund`},e.prototype.fifth=function(){return`piąty`},e.prototype.first=function(){return`pierwszy`},e.prototype.firstWeekday=function(){return`pierwszy dzień roboczy`},e.prototype.fourth=function(){return`czwarty`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minuty od %s do %s`},e.prototype.second=function(){return`drugi`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`sekundy od %s do %s`},e.prototype.spaceAnd=function(){return` i`},e.prototype.spaceX0OfTheMonth=function(){return` %s miesiąca`},e.prototype.lastDay=function(){return`ostatni dzień`},e.prototype.third=function(){return`trzeci`},e.prototype.weekdayNearestDayX0=function(){return`dzień roboczy najbliższy %s-ego dnia`},e.prototype.commaStartingX0=function(){return`, startowy %s`},e.prototype.daysOfTheWeek=function(){return[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`]},e.prototype.monthsOfTheYear=function(){return[`styczeń`,`luty`,`marzec`,`kwiecień`,`maj`,`czerwiec`,`lipiec`,`sierpień`,`wrzesień`,`październik`,`listopad`,`grudzień`]},e.prototype.atReboot=function(){return`Uruchom raz, przy starcie`},e.prototype.onTheHour=function(){return`o pełnej godzinie`},e}();return s.pl=c,o().locales.pl=new c,i})())})),Bfl=e(l5());jfl(),Mfl(),Nfl(),Pfl(),Ffl(),Ifl(),Lfl(),Rfl(),zfl();function u5(e,t){return Bfl.default.toString(e,{locale:t})}var d5={mainDiv:{width:`100%`,height:`100%`},periodSelect:{display:`block`,width:250},slider:{marginTop:20,display:`block`,width:`100%`},tabContent:{padding:20,height:`calc(100% - 240px)`,overflow:`auto`},numberButton:{padding:4,minWidth:40,margin:5},numberButtonBreak:{display:`block`},appBar:{color:`white`},warning:{marginLeft:16,color:`red`,fontSize:12}},Vfl=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],Hfl=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];function Ufl(e,t){let n=[];if(e===`*`){if(t===24||t===60||t===7)for(let e=0;e<t;e++)n.push(e);else for(let e=1;e<=t;e++)n.push(e);return n}let r=(e||``).toString().split(`,`);for(let e=0;e<r.length;e++){if(!r[e].trim().length)continue;let t=r[e].trim().split(`-`);if(t.length>1){let e=parseInt(t[1],10);for(let r=parseInt(t[0],10);r<=e;r++)n.push(r)}else n.push(parseInt(r[e],10))}n.sort();for(let e=n.length-1;e>=0;e--)n[e]===n[e+1]&&n.splice(e+1,1);return n}function Wfl(e,t){if(typeof e!=`object`&&(e=[e]),e.length===t)return`*`;let n=[];if(!e.length)return`-`;e=e.map(e=>parseInt(e,10)),e.sort((e,t)=>e-t);let r=e[0],i=e[0];for(let t=1;t<e.length;t++)e[t]-1!==parseInt(e[t-1],10)&&(r===i?n.push(r):i-1===r?n.push(`${r},${i}`):n.push(`${r}-${i}`),r=e[t]),i=e[t];return r===i?n.push(r):i-1===r?n.push(`${r},${i}`):n.push(`${r}-${i}`),n.join(`,`)}var f5=class e extends s{constructor(t){super(t);let n=typeof this.props.cronExpression==`string`?this.props.cronExpression.replace(/^["']/,``).replace(/["']\n?$/,``):``;n[0]===`{`&&(n=``);let r=e.cron2state(n||`* * * * *`);this.state={extended:!1,tab:r.seconds===!1?0:1,cron:e.state2cron(r),modes:{seconds:null,minutes:null,hours:null,dates:null,months:null,dow:null}},Object.assign(this.state,r),this.state.cron!==this.props.cronExpression&&setTimeout(()=>this.props.onChange&&this.props.onChange(this.state.cron),100)}static cron2state(e){e=e.replace(/['"]/g,``).trim();let t=e.split(` `).map(e=>e.trim()),n;return n=t.length===6?{seconds:t[0]||`*`,minutes:t[1]||`*`,hours:t[2]||`*`,dates:t[3]||`*`,months:t[4]||`*`,dow:t[5]||`*`}:{seconds:!1,minutes:t[0]||`*`,hours:t[1]||`*`,dates:t[2]||`*`,months:t[3]||`*`,dow:t[4]||`*`},n}static state2cron(e){let t=`${e.minutes} ${e.hours} ${e.dates} ${e.months} ${e.dow}`;return e.seconds!==!1&&(t=`${e.seconds} ${t}`),t}recalcCron(){let t=e.state2cron(this.state);t!==this.state.cron&&this.setState({cron:t},()=>this.props.onChange&&this.props.onChange(this.state.cron))}onToggle(e,t,n){if(e===!0)this.setCronAttr(t,`*`);else if(e===!1)n===60||n===24?this.setCronAttr(t,`0`):this.setCronAttr(t,`1`);else{let r=Ufl(this.state[t],n),i=r.indexOf(e);i===-1?(r.push(e),r.sort()):r.splice(i,1),this.setCronAttr(t,Wfl(r,n))}}getDigitsSelector(e,t){let n=[];if(t===7)n=[1,2,3,4,5,6,0];else if(t===60||t===24)for(let e=0;e<t;e++)n.push(e);else for(let e=1;e<=t;e++)n.push(e);let r=Ufl(this.state[e],t);return[A.createElement(qp,{key:`removeall`,variant:`outlined`,style:d5.numberButton,color:`primary`,onClick:()=>this.onToggle(!1,e,t)},Z.t(`ra_Deselect all`)),A.createElement(qp,{key:`addall`,variant:`contained`,style:d5.numberButton,color:`secondary`,onClick:()=>this.onToggle(!0,e,t)},Z.t(`ra_Select all`)),A.createElement(`div`,{key:`all`},n.map(n=>[t===7&&n===4||t===12&&n===7||t===31&&!((n-1)%10)||t===60&&n&&!(n%10)||t===24&&n&&!(n%6)?A.createElement(`div`,{key:`allInner${n}`,style:{width:`100%`}}):null,A.createElement(qp,{key:`_${n}`,variant:r.indexOf(n)===-1?`outlined`:`contained`,style:d5.numberButton,color:r.indexOf(n)===-1?`primary`:`secondary`,onClick:()=>this.onToggle(n,e,t)},t===7?Z.t(Vfl[n]):t===12?Hfl[n-1]:n)]))]}getPeriodsTab(e,t){let n=this.state[e],r=n===`*`,i=n!=null&&n.toString().includes(`/`),a;if(this.state.modes[e]===null){a=r?`every`:i?`everyN`:`specific`;let t=JSON.parse(JSON.stringify(this.state.modes));return t[e]=a,setTimeout(()=>this.setState({modes:t},()=>this.recalcCron()),100),null}r=this.state.modes[e]===`every`,i=this.state.modes[e]===`everyN`,a=this.state.modes[e];let o=1;return i&&n&&(o=parseInt(n.replace(`*/`,``),10)||1),A.createElement(`div`,null,A.createElement(uh,{variant:`standard`,style:{...d5.periodSelect,verticalAlign:`bottom`},value:a,onChange:n=>{let r=JSON.parse(JSON.stringify(this.state.modes));if(r[e]=n.target.value,n.target.value===`every`)this.setCronAttr(e,`*`,r);else if(n.target.value===`everyN`){let t=parseInt((this.state[e]||``).toString().replace(`*/`,``),10)||1;this.setCronAttr(e,`*/${t}`,r)}else if(n.target.value===`specific`){let n=parseInt((this.state[e]||``).toString().split(`,`)[0],10)||0;n||e!==`months`&&e!==`dates`||(n=1),this.setCronAttr(e,Wfl(n,t),r)}}},A.createElement(qm,{key:`every`,value:`every`},Z.t(`sc_every_${e}`)),A.createElement(qm,{key:`everyN`,value:`everyN`},Z.t(`sc_everyN_${e}`)),A.createElement(qm,{key:`specific`,value:`specific`},Z.t(`sc_specific_${e}`))),i&&A.createElement(Uh,{variant:`standard`,key:`interval`,label:Z.t(`sc_${e}`),value:o,slotProps:{htmlInput:{min:1,max:t},inputLabel:{shrink:!0}},onChange:t=>{this.setState({[e]:`*/${t.target.value}`},()=>this.recalcCron())},type:`number`,margin:`normal`}),!r&&!i&&this.getDigitsSelector(e,t))}static convertCronToText(e,t){return e.split(` `).includes(`-`)?Z.t(`ra_Invalid CRON`):u5(e,t)}setCronAttr(e,t,n){n?e===`seconds`?this.setState({seconds:t,modes:n},()=>this.recalcCron()):e===`minutes`?this.setState({minutes:t,modes:n},()=>this.recalcCron()):e===`hours`?this.setState({hours:t,modes:n},()=>this.recalcCron()):e===`dates`?this.setState({dates:t,modes:n},()=>this.recalcCron()):e===`months`?this.setState({months:t,modes:n},()=>this.recalcCron()):e===`dow`?this.setState({dow:t,modes:n},()=>this.recalcCron()):this.setState({modes:n},()=>this.recalcCron()):e===`seconds`?this.setState({seconds:t},()=>this.recalcCron()):e===`minutes`?this.setState({minutes:t},()=>this.recalcCron()):e===`hours`?this.setState({hours:t},()=>this.recalcCron()):e===`dates`?this.setState({dates:t},()=>this.recalcCron()):e===`months`?this.setState({months:t},()=>this.recalcCron()):e===`dow`&&this.setState({dow:t},()=>this.recalcCron())}render(){let t=this.state.seconds===!1?this.state.tab+1:this.state.tab,n=this.state.minutes===`*`||this.state.minutes===`*/1`,r=this.state.seconds===`*`||this.state.seconds===`*/1`;return A.createElement(`div`,{style:d5.mainDiv},A.createElement(`div`,{style:{paddingLeft:8,width:`calc(100% - 8px)`}},A.createElement(Uh,{variant:`standard`,style:{width:`100%`},value:this.state.cron,disabled:!0})),A.createElement(`div`,{style:{paddingLeft:8,width:`calc(100% - 8px)`,height:60}},e.convertCronToText(this.state.cron,this.props.language||`en`),A.createElement(`span`,{style:d5.warning},r?Z.t(`ra_warning_every_second`):n?Z.t(`ra_warning_every_minute`):``)),A.createElement(xm,{control:A.createElement(nm,{checked:!!this.state.seconds,onChange:e=>this.setState({seconds:e.target.checked?`*`:!1},()=>this.recalcCron())}),label:Z.t(`ra_use seconds`)}),A.createElement(Lp,{position:`static`,sx:{"&.MuiAppBar-root":d5.appBar},color:`secondary`},A.createElement(Vh,{value:this.state.tab,style:d5.appBar,color:`secondary`,onChange:(e,t)=>this.setState({tab:t})},this.state.seconds!==!1&&A.createElement(Ah,{id:`sc_seconds`,label:Z.t(`sc_seconds`)}),A.createElement(Ah,{id:`minutes`,label:Z.t(`sc_minutes`)}),A.createElement(Ah,{id:`hours`,label:Z.t(`sc_hours`)}),A.createElement(Ah,{id:`dates`,label:Z.t(`sc_dates`)}),A.createElement(Ah,{id:`months`,label:Z.t(`sc_months`)}),A.createElement(Ah,{id:`dow`,label:Z.t(`sc_dows`)}))),t===0&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`seconds`,60)),t===1&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`minutes`,60)),t===2&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`hours`,24)),t===3&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`dates`,31)),t===4&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`months`,12)),t===5&&A.createElement(`div`,{style:d5.tabContent},this.getPeriodsTab(`dow`,7)))}},p5={modalDialog:{minWidth:400,maxWidth:800},overflowHidden:{display:`flex`,overflow:`hidden`},titleIcon:{marginRight:5},content:{fontSize:16},languageButton:{position:`absolute`,right:8,top:8},languageButtonActive:e=>({color:e.palette.primary.main})};function Gfl(e){let{open:t,toggleTranslation:n,noTranslation:r,title:i,fullWidth:a,help:o,maxWidth:s,progress:c,icon:l,applyDisabled:u,applyButton:d,onClose:f,children:p,titleButtonApply:m,titleButtonClose:h,onApply:_,textInput:v,defaultValue:y,overflowHidden:b}=e,[x,C]=g(y||``);S(()=>{C(y||``)},[y]);let w=Fg(),T=Xh(w.breakpoints.down(`md`)),E=null;return l&&(E=l),A.createElement(um,{open:t,maxWidth:T?!1:s||`md`,fullWidth:!!a,fullScreen:T,onClose:f,sx:{"& .MuiDialog-paper":T?{}:p5.modalDialog}},i&&A.createElement(mm,null,l?A.createElement(E,{style:p5.titleIcon}):null,i,Z.getLanguage()!==`en`&&n?A.createElement(Om,{size:`large`,sx:F8.getStyle(e.theme,p5.languageButton,r&&p5.languageButtonActive),onClick:()=>n(),title:Z.t(`Disable/Enable translation`)},A.createElement(j6,null)):null),A.createElement(fm,{style:{...p5.content,...b?p5.overflowHidden:void 0,paddingTop:8}},v&&A.createElement(Uh,{autoComplete:`off`,fullWidth:!0,autoFocus:!0,variant:`outlined`,size:`medium`,multiline:!0,value:x,onChange:e=>C(e.target.value)}),p,o?A.createElement(`div`,null,o):null),A.createElement(dm,null,d!==!1&&A.createElement(qp,{startIcon:A.createElement(Z$,null),disabled:c||u&&y===x,onClick:()=>_(v?x:``),variant:`contained`,color:`primary`},Z.t(m||`ra_Ok`)),A.createElement(qp,{color:`grey`,onClick:f,disabled:c,variant:`contained`,startIcon:A.createElement(q0,null)},Z.t(h||`ra_Cancel`))))}var Kfl=new Map([[`avif`,`image/avif`],[`bmp`,`image/bmp`],[`css`,`text/css`],[`csv`,`text/csv`],[`doc`,`application/msword`],[`docx`,`application/vnd.openxmlformats-officedocument.wordprocessingml.document`],[`gif`,`image/gif`],[`gz`,`application/gzip`],[`htm`,`text/html`],[`html`,`text/html`],[`ico`,`image/x-icon`],[`jpeg`,`image/jpeg`],[`jpg`,`image/jpeg`],[`js`,`application/javascript`],[`json`,`application/json`],[`md`,`text/markdown`],[`mjs`,`application/javascript`],[`mp3`,`audio/mpeg`],[`mp4`,`video/mp4`],[`ogg`,`audio/ogg`],[`pdf`,`application/pdf`],[`png`,`image/png`],[`ppt`,`application/powerpoint`],[`pptx`,`application/vnd.openxmlformats-officedocument.presentationml.presentation`],[`svg`,`image/svg+xml`],[`tif`,`image/tiff`],[`tiff`,`image/tiff`],[`txt`,`text/plain`],[`wasm`,`application/wasm`],[`wav`,`audio/x-wav`],[`weba`,`audio/webm`],[`webm`,`video/webm`],[`webp`,`image/webp`],[`xls`,`application/vnd.ms-excel`],[`xlsx`,`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`],[`xml`,`application/xml`],[`zip`,`application/zip`]]),qfl=class extends Error{constructor(e){super(`DataTransferItem is not a file`),this.item=e,this.name=`UnexpectedObjectError`}};function m5(e,t,n){let r=e,{webkitRelativePath:i}=e,a=typeof t==`string`?t:typeof i==`string`&&i.length>0?i:`./${e.name}`;return typeof r.path!=`string`&&Yfl(r,`path`,a),n!==void 0&&Object.defineProperty(r,"handle",{value:n,writable:!1,configurable:!1,enumerable:!0}),Yfl(r,`relativePath`,a),r}function Jfl(e,t=Kfl){let{name:n}=e;if(n&&n.lastIndexOf(`.`)!==-1&&!e.type){let r=n.split(`.`).pop().toLowerCase(),i=t.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}function Yfl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!1,configurable:!1,enumerable:!0})}var Xfl=[`.DS_Store`,`Thumbs.db`];async function Zfl(e,{mimeTypes:t=Kfl}={}){return(await Qfl(e)).map(e=>e instanceof File?Jfl(e,t):e)}async function Qfl(e){return h5(e)&&$fl(e.dataTransfer)?ipl(e.dataTransfer,e.type):epl(e)?apl(e.clipboardData):tpl(e)?npl(e):Array.isArray(e)&&e.every(e=>`getFile`in e&&typeof e.getFile==`function`)?rpl(e):[]}function $fl(e){return h5(e)}function epl(e){return h5(e)&&$fl(e.clipboardData)}function tpl(e){return h5(e)&&h5(e.target)}function h5(e){return typeof e==`object`&&!!e}function npl(e){return g5(e.target.files).map(e=>m5(e))}async function rpl(e){return(await Promise.all(e.map(e=>e.getFile()))).map(e=>m5(e))}async function ipl(e,t){let n=g5(e.items).filter(e=>e.kind===`file`);return t===`drop`?opl(cpl(await Promise.all(n.map(spl)))):n}function apl(e){let t=g5(e.items).filter(e=>e.kind===`file`).map(e=>e.getAsFile()).filter(e=>e!==null);return opl((t.length>0?t:g5(e.files)).map(e=>m5(e)))}function opl(e){return e.filter(e=>Xfl.indexOf(e.name)===-1)}function g5(e){return e===null?[]:Array.from(e)}async function spl(e){if(typeof e.webkitGetAsEntry!=`function`)return lpl(e);let t=e.webkitGetAsEntry();if(t!=null&&t.isDirectory){let n=await upl(e);return(n==null?void 0:n.kind)===`directory`?dpl(n,`/${n.name}`):ppl(t)}return lpl(e,t)}function cpl(e){let t=[];for(let n of e)Array.isArray(n)?t.push(...cpl(n)):t.push(n);return t}async function lpl(e,t){let n=e.getAsFile(),r=await upl(e);if(r!=null){let e=n??await r.getFile();return e.handle=r,m5(e)}if(!n)throw new qfl(e);return m5(n,(t==null?void 0:t.fullPath)??void 0)}async function upl(e){if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle==`function`)return e.getAsFileSystemHandle()}async function dpl(e,t){let n=[];for await(let r of e.values()){let e=`${t}/${r.name}`;if(r.kind===`directory`)n.push(...await dpl(r,e));else{let t=await r.getFile();n.push(m5(t,e,r))}}return n}async function fpl(e){return e.isDirectory?ppl(e):mpl(e)}function ppl(e){let t=e.createReader();return new Promise((e,n)=>{let r=[];function i(){t.readEntries(async t=>{if(t.length){let e=Promise.all(t.map(fpl));r.push(e),i()}else try{e(await Promise.all(r))}catch(e){n(e)}},e=>{n(e)})}i()})}async function mpl(e){return new Promise((t,n)=>{e.file(n=>{t(m5(n,e.fullPath))},e=>{n(e)})})}function _5(e,t){if(e&&t){let n=(Array.isArray(t)?t:t.split(`,`)).filter(e=>e.trim()!==``);if(n.length===0)return!0;let r=e.name||``,i=(e.type||``).toLowerCase(),a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim().toLowerCase();return t.charAt(0)===`.`?r.toLowerCase().endsWith(t):t.endsWith(`/*`)?a===t.replace(/\/.*$/,``):i===t})}return!0}var hpl=typeof _5==`function`?_5:_5.default,gpl=`file-invalid-type`,_pl=`file-too-large`,vpl=`file-too-small`,ypl=`too-many-files`;function bpl(e=``){let t=e.split(`,`);return{code:gpl,message:`File type must be ${t.length>1?`one of ${t.join(`, `)}`:t[0]}`}}var xpl=[`KB`,`MB`,`GB`,`TB`,`PB`];function Spl(e){if(e<1024)return`${e} ${e===1?`byte`:`bytes`}`;let t=e/1024,n=0;for(;t>=1024&&n<xpl.length-1;)t/=1024,n++;return`${Number(t.toFixed(2))} ${xpl[n]}`}function Cpl(e){return{code:_pl,message:`File is larger than ${Spl(e)}`}}function wpl(e){return{code:vpl,message:`File is smaller than ${Spl(e)}`}}var Tpl={code:ypl,message:`Too many files`};function Epl(e){return e.type===``&&typeof e.getAsFile==`function`}function Dpl(e,t){let n=e.type===`application/x-moz-file`||hpl(e,t??``)||Epl(e);return[n,n?null:bpl(t)]}function Opl(e,t,n){if(v5(e.size)){if(v5(t)&&v5(n)){if(e.size>n)return[!1,Cpl(n)];if(e.size<t)return[!1,wpl(t)]}else if(v5(t)&&e.size<t)return[!1,wpl(t)];else if(v5(n)&&e.size>n)return[!1,Cpl(n)]}return[!0,null]}function v5(e){return e!=null}function kpl(e){return e!=null&&typeof e.then==`function`}function Apl({files:e,accept:t,minSize:n,maxSize:r,multiple:i,maxFiles:a=0,validator:o,getErrorMessage:s}){let c=[],l=[],u=(e,t)=>s&&typeof File<`u`&&t instanceof File?{...e,message:s(e,t)}:e;e.forEach(e=>{let[i,a]=Dpl(e,t),[o,s]=Opl(e,n,r);i&&o?c.push(e):l.push({file:e,errors:[a,s].filter(e=>e!=null).map(t=>u(t,e))})});let d=i?a>=1?a:1/0:1;return c.length>d&&c.slice(d).forEach(e=>{l.push({file:e,errors:[u(Tpl,e)]})}),l.length>0?{verdict:`reject`,rejections:l}:{verdict:o?`unknown`:`accept`,rejections:l}}function y5(e){return typeof e.isPropagationStopped==`function`?e.isPropagationStopped():e.cancelBubble!==void 0&&e.cancelBubble}function b5(e){let t=e.dataTransfer??e.clipboardData;return t?Array.prototype.some.call(t.types,e=>e===`Files`||e===`application/x-moz-file`)||Array.prototype.some.call(t.items??[],jpl):!!e.target&&!!e.target.files}function jpl(e){return typeof e==`object`&&!!e&&e.kind===`file`}function Mpl(e){e.preventDefault()}function Npl(e){return e.indexOf(`MSIE`)!==-1||e.indexOf(`Trident/`)!==-1}function Ppl(e){return e.indexOf(`Edge/`)!==-1}function Fpl(e=window.navigator.userAgent){return Npl(e)||Ppl(e)}function x5(...e){return(t,...n)=>e.some(e=>(!y5(t)&&e&&e(t,...n),y5(t)))}function Ipl(){return`showOpenFilePicker`in window}function S5(e){return Array.isArray(e)?e:typeof e==`string`?[e]:[]}function Lpl(e){if(v5(e))return Array.isArray(e)?e.filter(e=>v5(e)&&v5(e.accept)):[{accept:e}]}function Rpl(e){let t=[],n=Object.keys(e);for(let n of Object.values(e))for(let e of S5(n))t.includes(e)||t.push(e);return t.length>0?t.join(`, `):n.length>0?n.join(`, `):`Files`}function zpl(e){let t=Lpl(e);if(!v5(t))return;let n={};for(let e of t)for(let[t,r]of Object.entries(e.accept)){let e=n[t]??(n[t]=[]);for(let t of S5(r))e.includes(t)||e.push(t)}return n}function Bpl(e){let t=Lpl(e);if(!v5(t))return;let n=t.map(e=>{let t=Object.entries(e.accept).filter(([e,t])=>{let n=!0;return Gpl(e)||(console.warn(`Skipped "${e}" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.`),n=!1),(Array.isArray(t)||typeof t==`string`)&&S5(t).every(C5)||(console.warn(`Skipped "${e}" because an invalid file extension was provided.`),n=!1),n}).reduce((e,[t,n])=>(e[t]=S5(n),e),{});return{description:v5(e.description)&&e.description!==``?e.description:Rpl(t),accept:t}}).filter(e=>Object.keys(e.accept).length>0);return n.length>0?n:void 0}function Vpl(e,{omitWildcardMimeTypesWithExtensions:t=!1}={}){if(v5(e))return Object.entries(e).reduce((e,[n,r])=>{let i=S5(r);return t&&Kpl(n)&&i.some(C5)?e.push(...i):e.push(n,...i),e},[]).filter(e=>Gpl(e)||C5(e)).join(`,`)}function Hpl(e){return e instanceof DOMException&&(e.name===`AbortError`||e.code===e.ABORT_ERR)}function Upl(e){return e instanceof DOMException&&(e.name===`SecurityError`||e.code===e.SECURITY_ERR)}function Wpl(e){return e instanceof DOMException&&e.name===`NotAllowedError`}function Gpl(e){return e===`audio/*`||e===`video/*`||e===`image/*`||e===`text/*`||e===`application/*`||/\w+\/[-+.\w]+/g.test(e)}function Kpl(e){return e.endsWith(`/*`)}function C5(e){return/^.*\.[\w]+$/.test(e)}var w5=j(({children:e,...t},n)=>{let{open:r,...i}=qpl(t);return f(n,()=>({open:r}),[r]),R(be,{children:e==null?void 0:e({...i,open:r})})});w5.displayName=`Dropzone`;var T5={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,isDragGlobal:!1,isProcessing:!1,acceptedFiles:[],fileRejections:[],dragFileRejections:[]};function qpl(e={}){let{accept:t,disabled:n=!1,getFilesFromEvent:r=Zfl,maxSize:i=1/0,minSize:a=0,multiple:o=!0,maxFiles:s=0,onDragEnter:l,onDragLeave:f,onDragOver:p,onDrop:h,onDropAccepted:g,onDropRejected:_,onFileDialogCancel:v,onFileDialogOpen:y,useFsAccessApi:b=!1,autoFocus:x=!1,preventDropOnDocument:C=!0,noClick:w=!1,noKeyboard:T=!1,noDrag:E=!1,noDragEventsBubbling:D=!1,noPaste:O=!1,onError:k,validator:A,getErrorMessage:j}=e,M=c(()=>zpl(t),[t]),N=c(()=>Vpl(M),[M]),P=c(()=>Vpl(M,{omitWildcardMimeTypesWithExtensions:!0}),[M]),F=c(()=>Bpl(t),[t]),ee=c(()=>typeof y==`function`?y:Ypl,[y]),te=c(()=>typeof v==`function`?v:Ypl,[v]),ne=d(null),re=d(null),[ie,ae]=u(Jpl,T5),{isFocused:oe,isFileDialogActive:se}=ie,ce=d(se);ce.current=se;let le=d(null),ue=m(()=>{var e;(e=le.current)==null||e.abort();let t=new AbortController;return le.current=t,ae({type:`setProcessing`,isProcessing:!0}),t.signal},[]),I=m(e=>{e.aborted||ae({type:`setProcessing`,isProcessing:!1})},[]);S(()=>()=>{var e;return(e=le.current)==null?void 0:e.abort()},[]);let de=d(typeof window<`u`&&window.isSecureContext&&b&&Ipl()),fe=()=>{!de.current&&se&&setTimeout(()=>{if(re.current){let{files:e}=re.current;e!=null&&e.length||(ae({type:`closeDialog`}),te())}},300)};S(()=>(window.addEventListener(`focus`,fe,!1),()=>{window.removeEventListener(`focus`,fe,!1)}),[re,se,te,de]);let L=d([]),pe=d([]),me=e=>{ne.current&&e.target&&ne.current.contains(e.target)&&e.defaultPrevented||(e.preventDefault(),L.current=[])};S(()=>(C&&(document.addEventListener(`dragover`,Mpl,!1),document.addEventListener(`drop`,me,!1)),()=>{C&&(document.removeEventListener(`dragover`,Mpl),document.removeEventListener(`drop`,me))}),[ne,C]),S(()=>{let e=e=>{e.target&&(pe.current=[...pe.current,e.target]),b5(e)&&ae({isDragGlobal:!0,type:`setDragGlobal`})},t=e=>{pe.current=pe.current.filter(t=>t!==e.target&&t!==null),pe.current.length>0||ae({isDragGlobal:!1,type:`setDragGlobal`})},n=()=>{pe.current=[],ae({isDragGlobal:!1,type:`setDragGlobal`})},r=()=>{pe.current=[],ae({isDragGlobal:!1,type:`setDragGlobal`})};return document.addEventListener(`dragenter`,e,!1),document.addEventListener(`dragleave`,t,!1),document.addEventListener(`dragend`,n,!1),document.addEventListener(`drop`,r,!1),()=>{document.removeEventListener(`dragenter`,e),document.removeEventListener(`dragleave`,t),document.removeEventListener(`dragend`,n),document.removeEventListener(`drop`,r)}},[ne]),S(()=>(!n&&x&&ne.current&&ne.current.focus(),()=>{}),[ne,x,n]);let he=m(e=>{k?k(e):console.error(e)},[k]),ge=m(e=>{var t;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),ce.current||(L.current=[...L.current,e.target],b5(e)&&Promise.resolve(r(e)).then(t=>{if(y5(e)&&!D)return;let n=t.length>0?Apl({files:t,accept:N,minSize:a,maxSize:i,multiple:o,maxFiles:s,validator:A,getErrorMessage:j}):null;ae({isDragAccept:(n==null?void 0:n.verdict)===`accept`,isDragReject:(n==null?void 0:n.verdict)===`reject`,isDragUnknown:(n==null?void 0:n.verdict)===`unknown`,isDragActive:!0,dragFileRejections:(n==null?void 0:n.rejections)??[],type:`setDraggedFiles`}),l&&l(e)}).catch(e=>he(e)))},[r,l,he,D,N,a,i,o,s,A,j]),_e=m(e=>{var t;if(e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),ce.current)return!1;let n=b5(e);if(n&&e.dataTransfer)try{e.dataTransfer.dropEffect=`copy`}catch{}return n&&p&&p(e),!1},[p,D]),ve=m(e=>{var t;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e);let n=L.current.filter(e=>{var t;return(t=ne.current)==null?void 0:t.contains(e)}),r=n.indexOf(e.target);r!==-1&&n.splice(r,1),L.current=n,n.length>0||(ae({type:`setDraggedFiles`,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragUnknown:!1,dragFileRejections:[]}),b5(e)&&f&&f(e))},[ne,f,D]),ye=m(async(e,t,n)=>{let r=(e,t)=>j?{...e,message:j(e,t)}:e,c=e=>{let n=[],i=[];e.forEach(({file:e,accepted:t,acceptError:a,sizeMatch:o,sizeError:s,customErrors:c})=>{let l=!c||Array.isArray(c)&&c.length===0;if(t&&o&&l)n.push(e);else{let t=[a,s];c&&(t=t.concat(c)),i.push({file:e,errors:t.filter(e=>e!=null).map(t=>r(t,e))})}});let a=o?s>=1?s:1/0:1;n.length>a&&n.splice(a).forEach(e=>{i.push({file:e,errors:[r(Tpl,e)]})}),ae({acceptedFiles:n,fileRejections:i,type:`setFiles`}),h&&h(n,i,t),i.length>0&&_&&_(i,t),n.length>0&&g&&g(n,t)},l=e.map(e=>{let[t,n]=Dpl(e,P),[r,o]=Opl(e,a,i);return{file:e,accepted:t,acceptError:n,sizeMatch:r,sizeError:o,customErrors:A?A(e):null}});if(!l.some(({customErrors:e})=>kpl(e))){c(l);return}let u;try{u=await Promise.all(l.map(async({customErrors:e,...t})=>({...t,customErrors:await e})))}catch(e){n.aborted||(I(n),he(e));return}n.aborted||c(u)},[ae,o,P,a,i,s,h,g,_,A,j,he,I]),be=m(e=>{var t;if(e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e),L.current=[],!(ce.current&&e.dataTransfer)&&(ae({type:`reset`}),b5(e))){let t=ue();Promise.resolve(r(e)).then(n=>{if(!t.aborted){if(y5(e)&&!D)I(t);else return ye(n,e,t)}}).catch(e=>{t.aborted||(I(t),he(e))})}},[r,ye,he,D,ue,I]),R=m(e=>{var t;if(!b5(e))return;e.preventDefault(),(t=e.persist)==null||t.call(e),ke(e);let n=ue();Promise.resolve(r(e)).then(t=>{if(!n.aborted){if(y5(e)&&!D)I(n);else return ye(t,e,n)}}).catch(e=>{n.aborted||(I(n),he(e))})},[r,ye,he,D,ue,I]),z=m(()=>{if(de.current){ae({type:`openDialog`}),ee();let e={multiple:o,types:F},t;window.showOpenFilePicker(e).then(e=>(t=ue(),r(e))).then(e=>{if(ae({type:`closeDialog`}),!t.aborted)return ye(e,null,t)}).catch(e=>{t&&I(t),Hpl(e)?(te(e),ae({type:`closeDialog`})):Upl(e)||Wpl(e)?(de.current=!1,re.current?(re.current.value=``,re.current.click()):he(Error(`Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.`))):he(e)})}else re.current&&(ae({type:`openDialog`}),ee(),re.current.value=``,re.current.click())},[ae,ee,te,b,ye,he,F,o,ue,I]),xe=m(e=>{var t;(t=ne.current)!=null&&t.isEqualNode(e.target)&&(e.key===` `||e.key===`Enter`||e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),z())},[ne,z]),Se=m(()=>{ae({type:`focus`})},[]),Ce=m(()=>{ae({type:`blur`})},[]),we=m(()=>{w||(Fpl()?setTimeout(z,0):z())},[w,z]),Te=e=>n?null:e,Ee=e=>T?null:Te(e),De=e=>E?null:Te(e),Oe=e=>O?null:Te(e),ke=e=>{D&&e.stopPropagation()},Ae=c(()=>({refKey:e=`ref`,role:t,onKeyDown:r,onFocus:i,onBlur:a,onClick:o,onDragEnter:s,onDragOver:c,onDragLeave:l,onDrop:u,onPaste:d,...f}={})=>({onKeyDown:Ee(x5(r,xe)),onFocus:Ee(x5(i,Se)),onBlur:Ee(x5(a,Ce)),onClick:Te(x5(o,we)),onDragEnter:De(x5(s,ge)),onDragOver:De(x5(c,_e)),onDragLeave:De(x5(l,ve)),onDrop:De(x5(u,be)),onPaste:Oe(x5(d,R)),role:typeof t==`string`&&t!==``?t:`presentation`,[e]:ne,...!n&&!T?{tabIndex:0}:{},...n?{"aria-disabled":!0}:{},...f}),[ne,xe,Se,Ce,we,ge,_e,ve,be,R,T,E,O,n]),je=m(e=>{e.stopPropagation()},[]),Me=c(()=>({refKey:e=`ref`,onChange:t,onClick:n,...r}={})=>({accept:P,multiple:o,type:`file`,"aria-label":`file upload`,style:{border:0,display:`block`,height:0,margin:0,maxWidth:0,opacity:0,overflow:`hidden`,padding:0,width:0},onChange:Te(x5(t,be)),onClick:Te(x5(n,je)),tabIndex:-1,[e]:re,...r}),[re,t,o,be,n]);return{...ie,isFocused:oe&&!n,getRootProps:Ae,getInputProps:Me,rootRef:ne,inputRef:re,open:Te(z)}}function Jpl(e,t){switch(t.type){case`focus`:return{...e,isFocused:!0};case`blur`:return{...e,isFocused:!1};case`openDialog`:return{...T5,isFileDialogActive:!0};case`closeDialog`:return{...e,isFileDialogActive:!1};case`setDraggedFiles`:return{...e,isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject,isDragUnknown:t.isDragUnknown,dragFileRejections:t.dragFileRejections};case`setProcessing`:return{...e,isProcessing:t.isProcessing};case`setFiles`:return{...e,acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,dragFileRejections:[],isProcessing:!1,isDragReject:!1,isDragUnknown:!1};case`setDragGlobal`:return{...e,isDragGlobal:t.isDragGlobal};case`reset`:return{...T5};default:return e}}function Ypl(){}function Xpl(){let e=ui();return[...e.breakpoints.keys].reverse().reduce((t,n)=>{let r=Xh(e.breakpoints.up(n));return!t&&r?n:t},null)||`xs`}function E5(){return e=>function(t){let n=Xpl();return A.createElement(e,{...t,width:n})}}function Zpl(e){let[t,n]=A.useState(e.input||e.value||``),[r,i]=A.useState(``);return A.createElement(um,{open:!0,onClose:()=>e.onClose(null),"aria-labelledby":`form-dialog-title`,fullWidth:e.fullWidth!==void 0&&e.fullWidth},A.createElement(mm,{id:`form-dialog-title`},e.titleText),A.createElement(fm,null,A.createElement(pm,null,e.promptText),A.createElement(Uh,{variant:`standard`,autoFocus:!0,margin:`dense`,error:!!r,helperText:r===!0||!r?``:r,value:t,label:e.labelText||``,type:e.type||`text`,onKeyUp:n=>n.code===`Enter`&&t&&e.onClose(t),onChange:t=>{let r=``;e.verify&&(r=e.verify(t.target.value)),e.rule?n(e.rule(t.target.value)):n(t.target.value),i(r)},fullWidth:!0})),A.createElement(dm,null,A.createElement(qp,{variant:`contained`,disabled:!t||!!r,onClick:()=>e.onClose(t),color:`primary`,startIcon:A.createElement(Z$,null)},e.applyText||Z.t(`ra_Ok`)),A.createElement(qp,{color:`grey`,variant:`contained`,onClick:()=>e.onClose(null),startIcon:A.createElement(q0,null)},e.cancelText||Z.t(`ra_Cancel`))))}var D5=E5()(Zpl),Qpl={small:`1.25rem`,medium:`1.5rem`,large:`2.1875rem`,inherit:`inherit`},$pl=`iob-animated-icons`,eml=`
|
|
524
524
|
/* zero specificity: MUI may set the size, e.g. 20 px for the start icon of a Button, like for its own icons */
|
|
525
525
|
:where(.iob-ani) { font-size: 1.5rem; }
|
|
526
526
|
.iob-ani { display: inline-block; position: relative; width: 1em; height: 1em; flex-shrink: 0; vertical-align: middle; line-height: 0; user-select: none; }
|