@elcrm/form 0.0.33 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_121gi_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_121gi_13[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_121gi_13[data-field=group] div:last-child{border-bottom:0}._l_121gi_13 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_121gi_13 [placeholder]:focus:before{display:none}._f_121gi_37{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_121gi_37>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_121gi_55{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_121gi_60>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_121gi_60>div::-webkit-scrollbar{width:0;height:0}._t_121gi_70{color:var(--field-label-color);padding-bottom:8px}._g_121gi_75{flex-direction:column}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
1
+ @charset "UTF-8";:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_zoh94_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_zoh94_13[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_zoh94_13[data-field=group] div:last-child{border-bottom:0}._l_zoh94_13 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_zoh94_13 [placeholder]:focus:before{display:none}._f_zoh94_37{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_zoh94_37>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_zoh94_55{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_zoh94_60>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_zoh94_60>div::-webkit-scrollbar{width:0;height:0}._t_zoh94_70{color:var(--field-label-color);padding-bottom:8px}._g_zoh94_75{flex-direction:column}._h_zoh94_79{--field-border: 0}._h_zoh94_79 div{border:var(--field-check-box-border, --field-border);width:var(--field-height);height:var(--field-height);border-radius:var(--field-radius);background:var(--field-background)}._h_zoh94_79 div[aria-checked=true]{background:var(--field-background-active)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import W, { forwardRef as Jt, useEffect as Zt } from "react";
2
2
  import { createPortal as Mt } from "react-dom";
3
- import './index.css';const Vt = "0.0.33", Xt = {
3
+ import './index.css';const Vt = "0.0.34", Xt = {
4
4
  version: Vt
5
5
  };
6
6
  var Tt = { exports: {} }, mt = {};
@@ -670,7 +670,7 @@ te.Blur = (n) => {
670
670
  n.target.scrollLeft = 0, n.target.querySelector("br") !== null && n.target.querySelector("br").remove();
671
671
  };
672
672
  te.ContentEditable = "plaintext-only";
673
- const tr = "_l_121gi_13", rr = "_f_121gi_37", ar = "_n_121gi_55", nr = "_w_121gi_60", or = "_t_121gi_70", ir = "_g_121gi_75", V = {
673
+ const tr = "_l_zoh94_13", rr = "_f_zoh94_37", ar = "_n_zoh94_55", nr = "_w_zoh94_60", or = "_t_zoh94_70", ir = "_g_zoh94_75", V = {
674
674
  l: tr,
675
675
  f: rr,
676
676
  n: ar,
@@ -5596,14 +5596,14 @@ export {
5596
5596
  ja as Modal,
5597
5597
  Da as Money,
5598
5598
  Ta as Month,
5599
- Ra as Note,
5600
- Ca as Number,
5599
+ Ca as Numeric,
5601
5600
  ka as Options,
5602
5601
  xa as Password,
5603
5602
  Ea as Phone,
5604
5603
  ha as Progress,
5605
5604
  wa as Select,
5606
5605
  ba as String,
5606
+ Ra as Textarea,
5607
5607
  Fa as runReload,
5608
5608
  Na as setValue,
5609
5609
  Pa as useData,
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(V,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],B):(V=typeof globalThis<"u"?globalThis:V||self,B((V.elCRM=V.elCRM||{},V.elCRM.components={}),V.React,V.ReactDOM))})(this,function(V,B,Ot){"use strict";var At=document.createElement("style");At.textContent=`@charset "UTF-8";:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_121gi_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_121gi_13[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_121gi_13[data-field=group] div:last-child{border-bottom:0}._l_121gi_13 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_121gi_13 [placeholder]:focus:before{display:none}._f_121gi_37{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_121gi_37>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_121gi_55{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_121gi_60>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_121gi_60>div::-webkit-scrollbar{width:0;height:0}._t_121gi_70{color:var(--field-label-color);padding-bottom:8px}._g_121gi_75{flex-direction:column}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
2
- /*$vite$:1*/`,document.head.appendChild(At);const Vt={version:"0.0.33"};var Tt={exports:{}},yt={};/**
1
+ (function(V,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],B):(V=typeof globalThis<"u"?globalThis:V||self,B((V.elCRM=V.elCRM||{},V.elCRM.components={}),V.React,V.ReactDOM))})(this,function(V,B,Ot){"use strict";var At=document.createElement("style");At.textContent=`@charset "UTF-8";:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 0px 14px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a;--field-placeholder: #84919a}._l_zoh94_13{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._l_zoh94_13[data-field=group] div{cursor:pointer;border-bottom:var(--field-border);margin:0;padding:var(--field-padding)}._l_zoh94_13[data-field=group] div:last-child{border-bottom:0}._l_zoh94_13 [placeholder]:empty:before{content:attr(placeholder);display:block;color:var(--field-placeholder)}._l_zoh94_13 [placeholder]:focus:before{display:none}._f_zoh94_37{box-sizing:border-box;display:flex;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);padding:0;min-height:var(--field-height);line-height:var(--field-height)}._f_zoh94_37>div{outline:0;flex:1;margin:var(--field-padding);text-wrap:pretty}._n_zoh94_55{min-height:var(--field-note-height);line-height:var(--field-note-line-height)}._w_zoh94_60>div{text-wrap:nowrap;overflow:hidden;overflow-x:scroll}._w_zoh94_60>div::-webkit-scrollbar{width:0;height:0}._t_zoh94_70{color:var(--field-label-color);padding-bottom:8px}._g_zoh94_75{flex-direction:column}._h_zoh94_79{--field-border: 0}._h_zoh94_79 div{border:var(--field-check-box-border, --field-border);width:var(--field-height);height:var(--field-height);border-radius:var(--field-radius);background:var(--field-background)}._h_zoh94_79 div[aria-checked=true]{background:var(--field-background-active)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_oqfdb_1;animation-name:_shake_oqfdb_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_oqfdb_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_oqfdb_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_oqfdb_79 ._sa_oqfdb_89{width:auto;margin:auto 20px}._modal_oqfdb_79 ._ss_oqfdb_94{width:400px}._modal_oqfdb_79 ._sm_oqfdb_98{width:500px}._modal_oqfdb_79 ._sl_oqfdb_102{width:800px}._modal_oqfdb_79 ._sx_oqfdb_106{width:1000px}._modal_oqfdb_79 ._sf_oqfdb_110{width:100%;max-width:1200px;min-width:910px}._o_oqfdb_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._b_oqfdb_28{padding:15px 30px 30px;margin:auto}._w_oqfdb_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_oqfdb_146{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_oqfdb_160{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_oqfdb_160 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_oqfdb_160 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_oqfdb_160 li:last-child{border-bottom:0}._l_oqfdb_160 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_oqfdb_197{padding-right:10px}._x_oqfdb_201{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_oqfdb_201 svg{width:20px}._x_oqfdb_201:hover{opacity:1}._s_oqfdb_89{flex:1;overflow-y:scroll}._c_oqfdb_219{text-align:center;margin:20px}._f_oqfdb_224{display:flex;padding:15px 30px 30px}._f_oqfdb_224 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_oqfdb_224._r__oqfdb_235{flex-direction:row}._f_oqfdb_224._r__oqfdb_235 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_oqfdb_224._r__oqfdb_235 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_oqfdb_224._c__oqfdb_250{flex-direction:column;gap:15px}._f_oqfdb_224._c__oqfdb_250 dt{padding-bottom:8px;margin-left:7px}._g_oqfdb_259{display:flex;gap:10px;overflow:hidden}._c_oqfdb_219{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_oqfdb_219:first-child{margin-left:20px}._c_oqfdb_219:last-child{margin-right:20px}._c_oqfdb_219:hover{opacity:1;background:var(--tinge)}._c_oqfdb_219 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_oqfdb_219 b{text-align:center;display:block;color:var(--color)}._c_oqfdb_219 p{text-align:center;font-size:15px;color:var(--text)}._m_oqfdb_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1wehm_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1wehm_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1wehm_22::-webkit-scrollbar{width:0;height:0}._l_1wehm_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1wehm_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:0 15px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}._l_1wehm_22 li:hover{opacity:1}._l_1wehm_22 li:last-child{border-bottom:0}._i_1wehm_72{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1wehm_81{cursor:pointer}._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}._o_1c9e1_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_1c9e1_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_1c9e1_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_1c9e1_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_1c9e1_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_1c9e1_11 b.__active_1c9e1_41{background:var(--bg-select-active)}._c_1c9e1_11 b:hover{background:var(--bg-select-hover)}._c_1c9e1_11 p{color:var(--color-placeholder);text-align:center;padding:0;cursor:default;pointer-events:none}._c_1c9e1_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_1c9e1_11 i:hover{background:var(--bg-select-hover)}._c_1c9e1_11 i:before{cursor:pointer;display:block}._c_1c9e1_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_1c9e1_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_1c9e1_11 span{padding:2px;text-align:center}._c_1c9e1_11 span p{padding:8px 5px;color:var(--color-placeholder)}._c_1c9e1_11 ._as_1c9e1_94{cursor:ns-resize}._c_1c9e1_11 ._ap_1c9e1_97{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password][show] dd{-webkit-text-security:none}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}[field=color] dd{display:flex;border:0;padding:0;gap:3px}[field=color] dd s{border:1px solid #dde2e4;border-radius:6px;flex:1;cursor:pointer;opacity:.6}[field=color] dd s:hover{opacity:.9}[field=color] dd s[active=true]{opacity:1}
2
+ /*$vite$:1*/`,document.head.appendChild(At);const Vt={version:"0.0.34"};var Tt={exports:{}},yt={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var qt;function Xt(){if(qt)return yt;qt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,v){var o,u={},h=null,C=null;v!==void 0&&(h=""+v),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:h,ref:C,props:u,_owner:g.current}}return yt.Fragment=c,yt.jsx=P,yt.jsxs=P,yt}var gt={};/**
10
+ */var qt;function Xt(){if(qt)return yt;qt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,v=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,g){var o,u={},b=null,C=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:b,ref:C,props:u,_owner:v.current}}return yt.Fragment=c,yt.jsx=P,yt.jsxs=P,yt}var vt={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,20 +15,20 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Bt;function Qt(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var U=!1,Y=!1,L=!1,z=!1,R=!1,D;D=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===g||e===v||e===o||z||e===C||U||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function b(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return b(t)+".Consumer";case P:var r=e;return b(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case h:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ve,be,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ve=console.error,be=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function Ue(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ve}),group:$({},e,{value:be}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
19
- `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
18
+ */var Bt;function Qt(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var W=!1,Y=!1,L=!1,U=!1,R=!1,D;D=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===v||e===g||e===o||U||e===C||W||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function h(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case v:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return h(t)+".Consumer";case P:var r=e;return h(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case b:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function ze(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function We(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ge}),group:$({},e,{value:he}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
19
+ `+de+e}}var ue=!1,ne;{var Ue=typeof WeakMap=="function"?WeakMap:Map;ne=new Ue}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,ze();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
20
20
  `),T=a.stack.split(`
21
21
  `),x=_.length-1,w=T.length-1;x>=1&&w>=0&&_[x]!==T[w];)w--;for(;x>=1&&w>=0;x--,w--)if(_[x]!==T[w]){if(x!==1||w!==1)do if(x--,w--,w<0||_[x]!==T[w]){var q=`
22
- `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,Ue(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case v:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case h:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t,f));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
22
+ `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,We(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case b:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t,f));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
23
23
 
24
24
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
25
25
 
26
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=W(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ge=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ge]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=z(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
27
27
  let props = %s;
28
28
  <%s {...props} />
29
29
  React keys must be passed directly to JSX without using spread:
30
30
  let props = %s;
31
- <%s key={someKey} {...props} />`,ge,G,ft,G),Ae[G+ge]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;gt.Fragment=d,gt.jsx=dt,gt.jsxs=ut}()),gt}process.env.NODE_ENV==="production"?Tt.exports=Xt():Tt.exports=Qt();var y=Tt.exports;function er({name:n,value:i,title:c,style:d,className:g}){let S={field:"progress"};return d&&(S.style=d),g&&(S.className=g),y.jsxs("dl",{...S,children:[c&&y.jsx("dt",{children:c}),y.jsx("dd",{})]})}let re={};re.KeyDown=n=>{n.key==="Enter"&&n.preventDefault()},re.PasteOne=n=>{n.preventDefault(),navigator.clipboard.readText().then(i=>{i=i.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,i)}).catch(i=>{})},re.Paste=(n,i)=>{i.preventDefault(),navigator.clipboard.readText().then(c=>{if(n){let d=i.target.textContent.length;if(d>=n)return;n-=d,c=c.slice(0,n)}window.document.execCommand("insertText",!1,c.replace(/(\r\n|\n|\r)/gm," "))}).catch(c=>{})},re.Focus=n=>{n.target.textContent.length===0&&(n.target.innerHTML="<br>")},re.Blur=n=>{n.target.scrollLeft=0,n.target.querySelector("br")!==null&&n.target.querySelector("br").remove()},re.ContentEditable="plaintext-only";const X={l:"_l_121gi_13",f:"_f_121gi_37",n:"_n_121gi_55",w:"_w_121gi_60",t:"_t_121gi_70",g:"_g_121gi_75"},mt=B.forwardRef(({element_blok:n,element_input:i,type:c="input",title:d,before:g,after:S,children:P},j)=>y.jsxs("dl",{"data-field":c,...i.props,className:[X.l,...n.className].filter(l=>l!==void 0).join(" "),children:[d?y.jsx("dt",{className:X.t,children:d}):"",g,y.jsx("dd",{ref:j,className:[X.f,...i.className].join(" "),...i.props,children:P}),S]}));function tr({id:n,value:i,onValue:c,name:d,placeholder:g="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:v=!0,after:o="",before:u="",show:h=!0,maxLength:C,onSave:N,className:A="",isCopy:M=!0,isReload:O=!1}){let p=!!(j&&(i===""||i===void 0)),I=R=>{c&&c({value:R.target.textContent.trim(),name:d,reload:O})},U=R=>{C&&R.target.textContent.trim().length>=C&&R.key!=="Backspace"&&R.preventDefault(),R.key==="Enter"&&R.preventDefault()},Y=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(C){let W=R.target.textContent.length;if(W>=C)return;C-=W,D=D.slice(0,C)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})};if(!(l&&v)&&!h||!(l&&v)&&p)return"";const L={};g&&(L.placeholder=g),l&&v&&(L.edit="");const z=R=>{re.Blur(R),N==null||N({value:R.target.textContent.trim(),name:d})};return y.jsx(mt,{type:"input",title:S,element_blok:{className:[A]},element_input:{className:[X.w]},children:y.jsx("div",{onBlur:z,onPaste:Y,onInput:I,onKeyDown:U,spellCheck:"true",contentEditable:l&&v?re.ContentEditable:"false",suppressContentEditableWarning:!0,...L,children:i})})}var Dt={exports:{}},vt={};/**
31
+ <%s key={someKey} {...props} />`,ve,G,ft,G),Ae[G+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;vt.Fragment=d,vt.jsx=dt,vt.jsxs=ut}()),vt}process.env.NODE_ENV==="production"?Tt.exports=Xt():Tt.exports=Qt();var y=Tt.exports;function er({name:n,value:i,title:c,style:d,className:v}){let S={field:"progress"};return d&&(S.style=d),v&&(S.className=v),y.jsxs("dl",{...S,children:[c&&y.jsx("dt",{children:c}),y.jsx("dd",{})]})}let re={};re.KeyDown=n=>{n.key==="Enter"&&n.preventDefault()},re.PasteOne=n=>{n.preventDefault(),navigator.clipboard.readText().then(i=>{i=i.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,i)}).catch(i=>{})},re.Paste=(n,i)=>{i.preventDefault(),navigator.clipboard.readText().then(c=>{if(n){let d=i.target.textContent.length;if(d>=n)return;n-=d,c=c.slice(0,n)}window.document.execCommand("insertText",!1,c.replace(/(\r\n|\n|\r)/gm," "))}).catch(c=>{})},re.Focus=n=>{n.target.textContent.length===0&&(n.target.innerHTML="<br>")},re.Blur=n=>{n.target.scrollLeft=0,n.target.querySelector("br")!==null&&n.target.querySelector("br").remove()},re.ContentEditable="plaintext-only";const X={l:"_l_zoh94_13",f:"_f_zoh94_37",n:"_n_zoh94_55",w:"_w_zoh94_60",t:"_t_zoh94_70",g:"_g_zoh94_75"},mt=B.forwardRef(({element_blok:n,element_input:i,type:c="input",title:d,before:v,after:S,children:P},j)=>y.jsxs("dl",{"data-field":c,...i.props,className:[X.l,...n.className].filter(l=>l!==void 0).join(" "),children:[d?y.jsx("dt",{className:X.t,children:d}):"",v,y.jsx("dd",{ref:j,className:[X.f,...i.className].join(" "),...i.props,children:P}),S]}));function tr({id:n,value:i,onValue:c,name:d,placeholder:v="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",before:u="",show:b=!0,maxLength:C,onSave:N,className:A="",isCopy:M=!0,isReload:O=!1}){let p=!!(j&&(i===""||i===void 0)),I=R=>{c&&c({value:R.target.textContent.trim(),name:d,reload:O})},W=R=>{C&&R.target.textContent.trim().length>=C&&R.key!=="Backspace"&&R.preventDefault(),R.key==="Enter"&&R.preventDefault()},Y=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(C){let z=R.target.textContent.length;if(z>=C)return;C-=z,D=D.slice(0,C)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})};if(!(l&&g)&&!b||!(l&&g)&&p)return"";const L={};v&&(L.placeholder=v),l&&g&&(L.edit="");const U=R=>{re.Blur(R),N==null||N({value:R.target.textContent.trim(),name:d})};return y.jsx(mt,{type:"input",title:S,element_blok:{className:[A]},element_input:{className:[X.w]},children:y.jsx("div",{onBlur:U,onPaste:Y,onInput:I,onKeyDown:W,spellCheck:"true",contentEditable:l&&g?re.ContentEditable:"false",suppressContentEditableWarning:!0,...L,children:i})})}var Dt={exports:{}},gt={};/**
32
32
  * @license React
33
33
  * react-jsx-runtime.production.min.js
34
34
  *
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
36
36
  *
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
- */var Lt;function rr(){if(Lt)return vt;Lt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,v){var o,u={},h=null,C=null;v!==void 0&&(h=""+v),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:h,ref:C,props:u,_owner:g.current}}return vt.Fragment=c,vt.jsx=P,vt.jsxs=P,vt}var xt={};/**
39
+ */var Lt;function rr(){if(Lt)return gt;Lt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,v=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,g){var o,u={},b=null,C=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:b,ref:C,props:u,_owner:v.current}}return gt.Fragment=c,gt.jsx=P,gt.jsxs=P,gt}var xt={};/**
40
40
  * @license React
41
41
  * react-jsx-runtime.development.js
42
42
  *
@@ -44,20 +44,20 @@ React keys must be passed directly to JSX without using spread:
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var Wt;function ar(){return Wt||(Wt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var U=!1,Y=!1,L=!1,z=!1,R=!1,D;D=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===g||e===v||e===o||z||e===C||U||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function b(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return b(t)+".Consumer";case P:var r=e;return b(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case h:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ve,be,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ve=console.error,be=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function Ue(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ve}),group:$({},e,{value:be}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
48
- `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
47
+ */var zt;function ar(){return zt||(zt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var W=!1,Y=!1,L=!1,U=!1,R=!1,D;D=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===v||e===g||e===o||U||e===C||W||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function h(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case v:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return h(t)+".Consumer";case P:var r=e;return h(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case b:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function ze(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function We(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ge}),group:$({},e,{value:he}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
48
+ `+de+e}}var ue=!1,ne;{var Ue=typeof WeakMap=="function"?WeakMap:Map;ne=new Ue}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,ze();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
49
49
  `),T=a.stack.split(`
50
50
  `),x=_.length-1,w=T.length-1;x>=1&&w>=0&&_[x]!==T[w];)w--;for(;x>=1&&w>=0;x--,w--)if(_[x]!==T[w]){if(x!==1||w!==1)do if(x--,w--,w<0||_[x]!==T[w]){var q=`
51
- `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,Ue(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case v:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case h:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
51
+ `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,We(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case b:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
52
52
 
53
53
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
54
54
 
55
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=W(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ge=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ge]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
55
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=z(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
56
56
  let props = %s;
57
57
  <%s {...props} />
58
58
  React keys must be passed directly to JSX without using spread:
59
59
  let props = %s;
60
- <%s key={someKey} {...props} />`,ge,G,ft,G),Ae[G+ge]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;xt.Fragment=d,xt.jsx=dt,xt.jsxs=ut}()),xt}process.env.NODE_ENV==="production"?Dt.exports=rr():Dt.exports=ar();var H=Dt.exports;const nr="_shake_oqfdb_1",or="_modal_oqfdb_79",ir="_sa_oqfdb_89",_r="_ss_oqfdb_94",lr="_sm_oqfdb_98",sr="_sl_oqfdb_102",cr="_sx_oqfdb_106",dr="_sf_oqfdb_110",ur="_o_oqfdb_116",fr="_b_oqfdb_28",pr="_w_oqfdb_15",mr="_h_oqfdb_146",yr="_l_oqfdb_160",gr="_t_oqfdb_197",vr="_x_oqfdb_201",br="_s_oqfdb_89",hr="_c_oqfdb_219",kr="_f_oqfdb_224",xr="_r__oqfdb_235",wr="_c__oqfdb_250",jr="_g_oqfdb_259",Cr="_m_oqfdb_79",le={shake:nr,modal:or,sa:ir,ss:_r,sm:lr,sl:sr,sx:cr,sf:dr,o:ur,b:fr,w:pr,h:mr,l:yr,t:gr,x:vr,s:br,c:hr,f:kr,r_:xr,c_:wr,g:jr,m:Cr};function Sr({children:n,className:i}){return H.jsx("div",{className:[le.l,i].filter(c=>c!==void 0).join(" "),children:H.jsx("ul",{children:n})})}function Er({children:n,className:i}){return H.jsx("div",{className:[le.s,i].filter(c=>c!==void 0).join(" "),children:n})}function Rr({children:n,direction:i="column",className:c}){return H.jsx("ul",{className:[le.f,le[i==="row"?"r_":"c_"],c].filter(d=>d!==void 0).join(" "),children:n})}function Or({children:n,className:i}){return H.jsx("div",{className:[le.c,i].filter(c=>c!==void 0).join(" "),children:n})}function Tr({children:n,className:i}){return H.jsx("div",{className:[le.g,i].filter(c=>c!==void 0).join(" "),children:n})}function Dr(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}function Ut(n){return Dr().IMPORT_MODULES}var Pt={exports:{}},bt={};/**
60
+ <%s key={someKey} {...props} />`,ve,G,ft,G),Ae[G+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;xt.Fragment=d,xt.jsx=dt,xt.jsxs=ut}()),xt}process.env.NODE_ENV==="production"?Dt.exports=rr():Dt.exports=ar();var H=Dt.exports;const nr="_shake_oqfdb_1",or="_modal_oqfdb_79",ir="_sa_oqfdb_89",_r="_ss_oqfdb_94",lr="_sm_oqfdb_98",sr="_sl_oqfdb_102",cr="_sx_oqfdb_106",dr="_sf_oqfdb_110",ur="_o_oqfdb_116",fr="_b_oqfdb_28",pr="_w_oqfdb_15",mr="_h_oqfdb_146",yr="_l_oqfdb_160",vr="_t_oqfdb_197",gr="_x_oqfdb_201",hr="_s_oqfdb_89",br="_c_oqfdb_219",kr="_f_oqfdb_224",xr="_r__oqfdb_235",wr="_c__oqfdb_250",jr="_g_oqfdb_259",Cr="_m_oqfdb_79",le={shake:nr,modal:or,sa:ir,ss:_r,sm:lr,sl:sr,sx:cr,sf:dr,o:ur,b:fr,w:pr,h:mr,l:yr,t:vr,x:gr,s:hr,c:br,f:kr,r_:xr,c_:wr,g:jr,m:Cr};function Sr({children:n,className:i}){return H.jsx("div",{className:[le.l,i].filter(c=>c!==void 0).join(" "),children:H.jsx("ul",{children:n})})}function Er({children:n,className:i}){return H.jsx("div",{className:[le.s,i].filter(c=>c!==void 0).join(" "),children:n})}function Rr({children:n,direction:i="column",className:c}){return H.jsx("ul",{className:[le.f,le[i==="row"?"r_":"c_"],c].filter(d=>d!==void 0).join(" "),children:n})}function Or({children:n,className:i}){return H.jsx("div",{className:[le.c,i].filter(c=>c!==void 0).join(" "),children:n})}function Tr({children:n,className:i}){return H.jsx("div",{className:[le.g,i].filter(c=>c!==void 0).join(" "),children:n})}function Dr(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}function Wt(n){return Dr().IMPORT_MODULES}var Pt={exports:{}},ht={};/**
61
61
  * @license React
62
62
  * react-jsx-runtime.production.min.js
63
63
  *
@@ -65,7 +65,7 @@ React keys must be passed directly to JSX without using spread:
65
65
  *
66
66
  * This source code is licensed under the MIT license found in the
67
67
  * LICENSE file in the root directory of this source tree.
68
- */var zt;function Pr(){if(zt)return bt;zt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,v){var o,u={},h=null,C=null;v!==void 0&&(h=""+v),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:h,ref:C,props:u,_owner:g.current}}return bt.Fragment=c,bt.jsx=P,bt.jsxs=P,bt}var wt={};/**
68
+ */var Ut;function Pr(){if(Ut)return ht;Ut=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,v=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,g){var o,u={},b=null,C=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:b,ref:C,props:u,_owner:v.current}}return ht.Fragment=c,ht.jsx=P,ht.jsxs=P,ht}var wt={};/**
69
69
  * @license React
70
70
  * react-jsx-runtime.development.js
71
71
  *
@@ -73,20 +73,20 @@ React keys must be passed directly to JSX without using spread:
73
73
  *
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
- */var Kt;function Nr(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var U=!1,Y=!1,L=!1,z=!1,R=!1,D;D=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===g||e===v||e===o||z||e===C||U||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function b(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return b(t)+".Consumer";case P:var r=e;return b(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case h:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ve,be,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ve=console.error,be=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function Ue(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ve}),group:$({},e,{value:be}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
77
- `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
76
+ */var Kt;function Nr(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var W=!1,Y=!1,L=!1,U=!1,R=!1,D;D=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===v||e===g||e===o||U||e===C||W||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function h(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case v:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return h(t)+".Consumer";case P:var r=e;return h(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case b:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function ze(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function We(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ge}),group:$({},e,{value:he}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
77
+ `+de+e}}var ue=!1,ne;{var Ue=typeof WeakMap=="function"?WeakMap:Map;ne=new Ue}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,ze();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
78
78
  `),T=a.stack.split(`
79
79
  `),x=_.length-1,w=T.length-1;x>=1&&w>=0&&_[x]!==T[w];)w--;for(;x>=1&&w>=0;x--,w--)if(_[x]!==T[w]){if(x!==1||w!==1)do if(x--,w--,w<0||_[x]!==T[w]){var q=`
80
- `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,Ue(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case v:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case h:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
80
+ `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,We(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case b:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
81
81
 
82
82
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
83
83
 
84
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=W(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ge=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ge]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
84
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=z(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
85
85
  let props = %s;
86
86
  <%s {...props} />
87
87
  React keys must be passed directly to JSX without using spread:
88
88
  let props = %s;
89
- <%s key={someKey} {...props} />`,ge,G,ft,G),Ae[G+ge]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;wt.Fragment=d,wt.jsx=dt,wt.jsxs=ut}()),wt}process.env.NODE_ENV==="production"?Pt.exports=Pr():Pt.exports=Nr();var Nt=Pt.exports;const Fr="_btn_1k1b3_1",Mr="_confirm_1k1b3_15",Ir="_cancel_1k1b3_20",$r="_action_1k1b3_25",Ar="_disabled_1k1b3_30",qr="_m_1k1b3_44",Br="_l_1k1b3_48",jt={btn:Fr,confirm:Mr,cancel:Ir,action:$r,disabled:Ar,await:"_await_1k1b3_37",m:qr,l:Br},Lr=({onClick:n,onSend:i,size:c="m",view:d="confirm",children:g,isDisabled:S=!1,className:P,after:j,before:l,label:v,onRef:o,awaitText:u="Ожидайте"})=>{let[h,C]=B.useState(!1);const N=M=>{if(n)return n();h||(i?(C(!0),i(C)):M.preventDefault())};let A={};return(S||h)&&(A.disabled=!0),Nt.jsx("button",{...A,ref:o,className:[jt.btn,h?jt.disabled:jt[d],c&&jt[c],P].filter(M=>M!="").join(" "),onClick:N,children:h?u:Nt.jsxs(Nt.Fragment,{children:[l||""," ",v," ",j||""]})||g})};let ke={};function Wr({children:n}){return H.jsx(H.Fragment,{children:n})}var Ct;(n=>{function i({import_modules:o}){let[u,h]=B.useState([]);return ke.x=C=>{h(C?u.filter(N=>N.key!==C):[])},B.useEffect(()=>{o&&(ke.i=o)},[]),ke.add=(C,N=Date.now())=>{h([...u,{key:N,item:C}])},H.jsx(H.Fragment,{children:u.map(C=>C.item)})}n.Init=i;function c(o){return o&&(ke.i=o),ke.i}n.Import=c,n.List=Sr,n.Scroll=Er,n.Form=Rr,n.Center=Or,n.Column=Tr;function d(o,u,h){ke.i?ke.i(`${o}/modal/${u}.tsx`).then(C=>{C.default.Open(h)}):Ut()(`${o}/modal/${u}.tsx`).then(C=>{C.default.Open(h)})}n.Open=d;function g({type:o,name:u,params:h}){let[C,N]=B.useState(null);return B.useEffect(()=>{ke.i?ke.i(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(h))}):Ut()(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(h))})},[h.id]),H.jsx(H.Fragment,{children:C})}n.Icon=g;function S(o,u){ke.add(H.jsx(Wr,{children:o},String(Date.now())),u)}n.Add=S;function P(o){ke.x(o)}n.Close=P;function j(o){if(o.target.classList[0]!=="modal")return;let u=o.target.children[0];u.setAttribute("shake",!0),setTimeout(()=>{u.setAttribute("shake",!1)},1e3)}n.Shake=j;function l(o,u){const h=C=>{n.Add(H.jsx(o,{...C},new Date().getTime()))};return{Icon:C=>H.jsx("i",{onClick:()=>h(C),children:u&&H.jsx(u,{})}),Open:h}}n.Create=l;function v({title:o,children:u,button:h,tabs:C,size:N="m",className:A="",shake:M=!0,menu:O}){const[p,I]=B.useState(!0),U=B.useRef(),Y=z=>{if(h){if(h.onClick)return z(!1),h.onClick({setOpen:I});if(h.onSend)return h.onSend({setOpen:I,disabled:z})}},L=()=>{if(!M)return I(!1);U.current.setAttribute("shake",!0),setTimeout(()=>{U.current.setAttribute("shake",!1)},1e3)};return p?H.jsxs("div",{className:`${le.modal}`,children:[H.jsx("div",{className:le.o,onClick:L}),H.jsxs("div",{className:[le.w,le[`s${N}`],A].filter(z=>z!="").join(" "),ref:U,children:[H.jsxs("div",{className:le.h,children:[H.jsx("div",{className:le.t,children:o}),H.jsxs("div",{className:le.m,children:[C&&H.jsx("nav",{children:C.map((z,R)=>H.jsx("span",{onClick:z.onClick,className:z.active?"active":"",children:z.name},R))}),O]}),H.jsx("div",{className:le.x,onClick:()=>{I(!1)},children:H.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:H.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u,h&&H.jsx("div",{className:le.b,children:H.jsx(Lr,{label:h.label,onSend:Y,className:le.btn,size:h.size})})]})]}):""}n.Main=v})(Ct||(Ct={}));const Ur=(n,i=",")=>(n=n!==void 0&&n!==""?n.split(i):[],n.filter(c=>c!=="").reduce((c,d)=>(c[d]=!0,c),{}));function zr({value:n,onValue:i,name:c,placeholder:d="",separator:g=",",title:S,error:P,hide:j=!1,edit:l=!0,active:v=!0,outFormat:o="object",after:u="",modal:h,options:C,className:N}){const[A,M]=B.useState(Ur(n,g)),O=p=>{if(!(l&&v)||!h)return;let I=h.split(".");Ct.Open(I[0],I[1],{callback:U=>{if(i)switch(o){case"array":i({value:Object.keys(U),name:c});break;case"string":i({value:Object.keys(U).filter(Y=>U[Y]).join(g),name:c});break;default:i({value:U,name:c})}M(Object.fromEntries(Object.entries(U).filter(([Y,L])=>L!==!1)))},onValue:i,options:C,name:c,value:A})};return j?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"group",title:S,element_blok:{className:[N]},element_input:{className:[X.g],props:{onClick:O}},children:Object.keys(A).map(p=>{var I;return y.jsx("div",{children:(I=C[p])==null?void 0:I.label},p)})})}const Ft={o:"_o_1wehm_12",l:"_l_1wehm_22",f:"_f_1wehm_81"};function Kr({title:n,error:i,edit:c=!0,active:d=!0,hide:g,value:S=0,onValue:P,options:j,placeholder:l="",className:v,isIcon:o=!0,name:u,after:h,view:C,order:N,isReload:A=!1}){var E,b;const M=B.useRef(null),[O,p]=B.useState(S),[I,U]=B.useState(j),[Y,L]=B.useState(!1);B.useEffect(()=>{p(S),U(j)},[S,j]),g=!!(g&&(S===0||((E=I==null?void 0:I[S])==null?void 0:E.n)===void 0))&&!(c&&d);let R=k=>{p(k),P&&P({value:k,name:u,reload:A})},D=k=>{Object.keys(I||{}).length!==0&&c&&d&&(M.position=M.current.getBoundingClientRect(),L(!0))},W={};return l&&(W.placeholder=l),g?"":y.jsxs(y.Fragment,{children:[y.jsx(mt,{type:"select",title:n,element_blok:{className:[v]},element_input:{className:[Ft.f],props:{onClick:D}},ref:M,children:y.jsx("div",{...W,children:(b=I==null?void 0:I[O])==null?void 0:b.n})}),Y&&Ot.createPortal(y.jsx(Yr,{parent:M.position,onValue:R,view:C,className:v,options:I,order:N,setOpen:L},new Date().getTime()),document.body)]})}const Yr=({onValue:n,parent:i,className:c,options:d,order:g,setOpen:S})=>{let P=()=>{S(!1)},j=o=>{S(!1),n(o)},l=window.innerHeight-i.y+i.height<320?i.y-312:i.y+33,v=window.innerWidth-i.x<265?i.x-235:i.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Ft.o,onClick:P},new Date().getTime()),y.jsx("div",{className:[Ft.l,c].filter(o=>o!==void 0).join(" "),style:{top:l+"px",left:v+"px",width:i.width},children:y.jsx(Gr,{order:g,options:d,link:j})})]})},Gr=({order:n,options:i,link:c})=>n?y.jsx("ul",{children:n.map((d,g)=>i[d].s!==0?y.jsx("li",{onClick:()=>{c(d)},children:i[d].n},g):"")}):y.jsx("ul",{children:Object.keys(i).map((d,g)=>i[d].s!==0?y.jsx("li",{onClick:()=>{c(d)},children:i[d].n},g):"")});function Hr({value:n,onValue:i,name:c,placeholder:d="",title:g,error:S,hide:P=!1,edit:j=!0,show:l=!0,active:v=!0,after:o="",view:u,modal:h,module:C,options:N,className:A}){let[M,O]=B.useState(n),p=Y=>{if(!(j&&v)||!h)return;let L=h.split(".");Ct.Open(L[0],L[1],{callback:z=>{i&&i({value:z,name:c}),O(z)},onValue:i,options:N,name:c,value:n})};const I={};I.field="input",A&&(I.className=A);const U={};return d&&(U.placeholder=d),P?y.jsx(y.Fragment,{}):y.jsxs("dl",{...I,children:[g&&y.jsx("dt",{children:g}),y.jsx("dd",{...U,onClick:p,edit:(j&&v)+"","data-after":o,children:M}),S&&y.jsx("em",{children:S})]})}function Jr({value:n,onValue:i,onSave:c,name:d,placeholder:g="",className:S,title:P,error:j,edit:l=!0,active:v=!0,reload:o=!1,native:u=!1,isShow:h=!1,maxLength:C,eyes:N=[],after:A=""}){const[M,O]=B.useState(h);let p=R=>{i&&i({value:R.target.textContent,name:d,reload:o})},I=R=>{R.key==="Enter"&&R.preventDefault()},U=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(C){let W=R.target.textContent.length;if(W>=C)return;C-=W,D=D.slice(0,C)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})},Y=R=>{re.Blur(R),c==null||c({value:R.target.textContent.trim(),name:d})};const L={};L.field="password",M&&(L.show=""),S&&(L.className=S);const z={};return g&&(z.placeholder=g),u?"":y.jsxs("dl",{...L,children:[P?y.jsx("dt",{children:P}):"",y.jsx("dd",{onPaste:U,onInput:p,onKeyDown:I,onBlur:Y,contentEditable:l&&v?re.ContentEditable:"false",...z,suppressContentEditableWarning:!0,children:n}),N[0]&&y.jsx("i",{onClick:()=>O(!M),children:M?N[1]:N[0]}),A,j?y.jsx("em",{children:j}):""]})}function Zr({onValue:n,onSave:i,active:c,max:d,edit:g,title:S,error:P,show:j,hide:l,value:v,placeholder:o,className:u,maxLength:h,name:C,after:N="",before:A="",view:M}){g=g!==void 0?g:!0,c=c!==void 0?c:!0,l=!!(l&&(v===""||v===void 0))&&!(g&&c),o=o!==void 0?o:"",d=d!==void 0?d:99;let p=!1,I=D=>{n==null||n({value:D.target.textContent,name:C})},U=D=>{if(!(p&&D.which===86)){if(D.which===17||D.which===91)return p=!0;D.key!=="Backspace"&&(D.target.textContent.length===d&&D.preventDefault(),D.key==="Enter"&&D.preventDefault(),isNaN(D.key)&&D.preventDefault())}},Y=D=>{if(D.which===17||D.which===91)return p=!1},L=D=>{D.preventDefault(),navigator.clipboard.readText().then(W=>{if(W=W.replace(/(?!^\+|\d)./g,""),h){let E=D.target.textContent.length;if(E>=h)return;h-=E,W=W.slice(0,h)}window.document.execCommand("insertText",!1,""+W)}).catch(W=>{})};const z=D=>{re.Blur(D),i==null||i({value:D.target.textContent,name:C})};let R={};return g&&c?(R.edit="true",R.contentEditable=re.ContentEditable):R.contentEditable="false",R.inputMode="decimal",o&&(R.placeholder=o),l?y.jsx(y.Fragment,{}):y.jsxs("dl",{"data-field":"input",className:[X.l,u].filter(D=>D!==void 0).join(" "),children:[S?y.jsx("dt",{className:X.t,children:S}):"",A,y.jsx("dd",{className:[X.f,X.w].join(" "),onPaste:L,onInput:I,onBlur:z,onKeyDown:U,onKeyUp:Y,suppressContentEditableWarning:!0,...R,children:v}),N,P&&y.jsx("em",{children:P})]})}var Mt={exports:{}},ht={};/**
89
+ <%s key={someKey} {...props} />`,ve,G,ft,G),Ae[G+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;wt.Fragment=d,wt.jsx=dt,wt.jsxs=ut}()),wt}process.env.NODE_ENV==="production"?Pt.exports=Pr():Pt.exports=Nr();var Nt=Pt.exports;const Fr="_btn_1k1b3_1",Mr="_confirm_1k1b3_15",Ir="_cancel_1k1b3_20",$r="_action_1k1b3_25",Ar="_disabled_1k1b3_30",qr="_m_1k1b3_44",Br="_l_1k1b3_48",jt={btn:Fr,confirm:Mr,cancel:Ir,action:$r,disabled:Ar,await:"_await_1k1b3_37",m:qr,l:Br},Lr=({onClick:n,onSend:i,size:c="m",view:d="confirm",children:v,isDisabled:S=!1,className:P,after:j,before:l,label:g,onRef:o,awaitText:u="Ожидайте"})=>{let[b,C]=B.useState(!1);const N=M=>{if(n)return n();b||(i?(C(!0),i(C)):M.preventDefault())};let A={};return(S||b)&&(A.disabled=!0),Nt.jsx("button",{...A,ref:o,className:[jt.btn,b?jt.disabled:jt[d],c&&jt[c],P].filter(M=>M!="").join(" "),onClick:N,children:b?u:Nt.jsxs(Nt.Fragment,{children:[l||""," ",g," ",j||""]})||v})};let ke={};function zr({children:n}){return H.jsx(H.Fragment,{children:n})}var Ct;(n=>{function i({import_modules:o}){let[u,b]=B.useState([]);return ke.x=C=>{b(C?u.filter(N=>N.key!==C):[])},B.useEffect(()=>{o&&(ke.i=o)},[]),ke.add=(C,N=Date.now())=>{b([...u,{key:N,item:C}])},H.jsx(H.Fragment,{children:u.map(C=>C.item)})}n.Init=i;function c(o){return o&&(ke.i=o),ke.i}n.Import=c,n.List=Sr,n.Scroll=Er,n.Form=Rr,n.Center=Or,n.Column=Tr;function d(o,u,b){ke.i?ke.i(`${o}/modal/${u}.tsx`).then(C=>{C.default.Open(b)}):Wt()(`${o}/modal/${u}.tsx`).then(C=>{C.default.Open(b)})}n.Open=d;function v({type:o,name:u,params:b}){let[C,N]=B.useState(null);return B.useEffect(()=>{ke.i?ke.i(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(b))}):Wt()(`${o}/modal/${u}.tsx`).then(A=>{N(A.default.Icon(b))})},[b.id]),H.jsx(H.Fragment,{children:C})}n.Icon=v;function S(o,u){ke.add(H.jsx(zr,{children:o},String(Date.now())),u)}n.Add=S;function P(o){ke.x(o)}n.Close=P;function j(o){if(o.target.classList[0]!=="modal")return;let u=o.target.children[0];u.setAttribute("shake",!0),setTimeout(()=>{u.setAttribute("shake",!1)},1e3)}n.Shake=j;function l(o,u){const b=C=>{n.Add(H.jsx(o,{...C},new Date().getTime()))};return{Icon:C=>H.jsx("i",{onClick:()=>b(C),children:u&&H.jsx(u,{})}),Open:b}}n.Create=l;function g({title:o,children:u,button:b,tabs:C,size:N="m",className:A="",shake:M=!0,menu:O}){const[p,I]=B.useState(!0),W=B.useRef(),Y=U=>{if(b){if(b.onClick)return U(!1),b.onClick({setOpen:I});if(b.onSend)return b.onSend({setOpen:I,disabled:U})}},L=()=>{if(!M)return I(!1);W.current.setAttribute("shake",!0),setTimeout(()=>{W.current.setAttribute("shake",!1)},1e3)};return p?H.jsxs("div",{className:`${le.modal}`,children:[H.jsx("div",{className:le.o,onClick:L}),H.jsxs("div",{className:[le.w,le[`s${N}`],A].filter(U=>U!="").join(" "),ref:W,children:[H.jsxs("div",{className:le.h,children:[H.jsx("div",{className:le.t,children:o}),H.jsxs("div",{className:le.m,children:[C&&H.jsx("nav",{children:C.map((U,R)=>H.jsx("span",{onClick:U.onClick,className:U.active?"active":"",children:U.name},R))}),O]}),H.jsx("div",{className:le.x,onClick:()=>{I(!1)},children:H.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:H.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u,b&&H.jsx("div",{className:le.b,children:H.jsx(Lr,{label:b.label,onSend:Y,className:le.btn,size:b.size})})]})]}):""}n.Main=g})(Ct||(Ct={}));const Wr=(n,i=",")=>(n=n!==void 0&&n!==""?n.split(i):[],n.filter(c=>c!=="").reduce((c,d)=>(c[d]=!0,c),{}));function Ur({value:n,onValue:i,name:c,placeholder:d="",separator:v=",",title:S,error:P,hide:j=!1,edit:l=!0,active:g=!0,outFormat:o="object",after:u="",modal:b,options:C,className:N}){const[A,M]=B.useState(Wr(n,v)),O=p=>{if(!(l&&g)||!b)return;let I=b.split(".");Ct.Open(I[0],I[1],{callback:W=>{if(i)switch(o){case"array":i({value:Object.keys(W),name:c});break;case"string":i({value:Object.keys(W).filter(Y=>W[Y]).join(v),name:c});break;default:i({value:W,name:c})}M(Object.fromEntries(Object.entries(W).filter(([Y,L])=>L!==!1)))},onValue:i,options:C,name:c,value:A})};return j?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"group",title:S,element_blok:{className:[N]},element_input:{className:[X.g],props:{onClick:O}},children:Object.keys(A).map(p=>{var I;return y.jsx("div",{children:(I=C[p])==null?void 0:I.label},p)})})}const Ft={o:"_o_1wehm_12",l:"_l_1wehm_22",f:"_f_1wehm_81"};function Kr({title:n,error:i,edit:c=!0,active:d=!0,hide:v,value:S=0,onValue:P,options:j,placeholder:l="",className:g,isIcon:o=!0,name:u,after:b,view:C,order:N,isReload:A=!1}){var E,h;const M=B.useRef(null),[O,p]=B.useState(S),[I,W]=B.useState(j),[Y,L]=B.useState(!1);B.useEffect(()=>{p(S),W(j)},[S,j]),v=!!(v&&(S===0||((E=I==null?void 0:I[S])==null?void 0:E.n)===void 0))&&!(c&&d);let R=k=>{p(k),P&&P({value:k,name:u,reload:A})},D=k=>{Object.keys(I||{}).length!==0&&c&&d&&(M.position=M.current.getBoundingClientRect(),L(!0))},z={};return l&&(z.placeholder=l),v?"":y.jsxs(y.Fragment,{children:[y.jsx(mt,{type:"select",title:n,element_blok:{className:[g]},element_input:{className:[Ft.f],props:{onClick:D}},ref:M,children:y.jsx("div",{...z,children:(h=I==null?void 0:I[O])==null?void 0:h.n})}),Y&&Ot.createPortal(y.jsx(Yr,{parent:M.position,onValue:R,view:C,className:g,options:I,order:N,setOpen:L},new Date().getTime()),document.body)]})}const Yr=({onValue:n,parent:i,className:c,options:d,order:v,setOpen:S})=>{let P=()=>{S(!1)},j=o=>{S(!1),n(o)},l=window.innerHeight-i.y+i.height<320?i.y-312:i.y+33,g=window.innerWidth-i.x<265?i.x-235:i.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Ft.o,onClick:P},new Date().getTime()),y.jsx("div",{className:[Ft.l,c].filter(o=>o!==void 0).join(" "),style:{top:l+"px",left:g+"px",width:i.width},children:y.jsx(Gr,{order:v,options:d,link:j})})]})},Gr=({order:n,options:i,link:c})=>n?y.jsx("ul",{children:n.map((d,v)=>i[d].s!==0?y.jsx("li",{onClick:()=>{c(d)},children:i[d].n},v):"")}):y.jsx("ul",{children:Object.keys(i).map((d,v)=>i[d].s!==0?y.jsx("li",{onClick:()=>{c(d)},children:i[d].n},v):"")});function Hr({value:n,onValue:i,name:c,placeholder:d="",title:v,error:S,hide:P=!1,edit:j=!0,show:l=!0,active:g=!0,after:o="",view:u,modal:b,module:C,options:N,className:A}){let[M,O]=B.useState(n),p=Y=>{if(!(j&&g)||!b)return;let L=b.split(".");Ct.Open(L[0],L[1],{callback:U=>{i&&i({value:U,name:c}),O(U)},onValue:i,options:N,name:c,value:n})};const I={};I.field="input",A&&(I.className=A);const W={};return d&&(W.placeholder=d),P?y.jsx(y.Fragment,{}):y.jsxs("dl",{...I,children:[v&&y.jsx("dt",{children:v}),y.jsx("dd",{...W,onClick:p,edit:(j&&g)+"","data-after":o,children:M}),S&&y.jsx("em",{children:S})]})}function Jr({value:n,onValue:i,onSave:c,name:d,placeholder:v="",className:S,title:P,error:j,edit:l=!0,active:g=!0,reload:o=!1,native:u=!1,isShow:b=!1,maxLength:C,eyes:N=[],after:A=""}){const[M,O]=B.useState(b);let p=R=>{i&&i({value:R.target.textContent,name:d,reload:o})},I=R=>{R.key==="Enter"&&R.preventDefault()},W=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(C){let z=R.target.textContent.length;if(z>=C)return;C-=z,D=D.slice(0,C)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})},Y=R=>{re.Blur(R),c==null||c({value:R.target.textContent.trim(),name:d})};const L={};L.field="password",M&&(L.show=""),S&&(L.className=S);const U={};return v&&(U.placeholder=v),u?"":y.jsxs("dl",{...L,children:[P?y.jsx("dt",{children:P}):"",y.jsx("dd",{onPaste:W,onInput:p,onKeyDown:I,onBlur:Y,contentEditable:l&&g?re.ContentEditable:"false",...U,suppressContentEditableWarning:!0,children:n}),N[0]&&y.jsx("i",{onClick:()=>O(!M),children:M?N[1]:N[0]}),A,j?y.jsx("em",{children:j}):""]})}function Zr({onValue:n,onSave:i,active:c,max:d,edit:v,title:S,error:P,show:j,hide:l,value:g,placeholder:o,className:u,maxLength:b,name:C,after:N="",before:A="",view:M}){v=v!==void 0?v:!0,c=c!==void 0?c:!0,l=!!(l&&(g===""||g===void 0))&&!(v&&c),o=o!==void 0?o:"",d=d!==void 0?d:99;let p=!1,I=D=>{n==null||n({value:D.target.textContent,name:C})},W=D=>{if(!(p&&D.which===86)){if(D.which===17||D.which===91)return p=!0;D.key!=="Backspace"&&(D.target.textContent.length===d&&D.preventDefault(),D.key==="Enter"&&D.preventDefault(),isNaN(D.key)&&D.preventDefault())}},Y=D=>{if(D.which===17||D.which===91)return p=!1},L=D=>{D.preventDefault(),navigator.clipboard.readText().then(z=>{if(z=z.replace(/(?!^\+|\d)./g,""),b){let E=D.target.textContent.length;if(E>=b)return;b-=E,z=z.slice(0,b)}window.document.execCommand("insertText",!1,""+z)}).catch(z=>{})};const U=D=>{re.Blur(D),i==null||i({value:D.target.textContent,name:C})};let R={};return v&&c?(R.edit="true",R.contentEditable=re.ContentEditable):R.contentEditable="false",R.inputMode="decimal",o&&(R.placeholder=o),l?y.jsx(y.Fragment,{}):y.jsxs("dl",{"data-field":"input",className:[X.l,u].filter(D=>D!==void 0).join(" "),children:[S?y.jsx("dt",{className:X.t,children:S}):"",A,y.jsx("dd",{className:[X.f,X.w].join(" "),onPaste:L,onInput:I,onBlur:U,onKeyDown:W,onKeyUp:Y,suppressContentEditableWarning:!0,...R,children:g}),N,P&&y.jsx("em",{children:P})]})}var Mt={exports:{}},bt={};/**
90
90
  * @license React
91
91
  * react-jsx-runtime.production.min.js
92
92
  *
@@ -94,7 +94,7 @@ React keys must be passed directly to JSX without using spread:
94
94
  *
95
95
  * This source code is licensed under the MIT license found in the
96
96
  * LICENSE file in the root directory of this source tree.
97
- */var Yt;function Vr(){if(Yt)return ht;Yt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,g=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,v){var o,u={},h=null,C=null;v!==void 0&&(h=""+v),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:h,ref:C,props:u,_owner:g.current}}return ht.Fragment=c,ht.jsx=P,ht.jsxs=P,ht}var St={};/**
97
+ */var Yt;function Vr(){if(Yt)return bt;Yt=1;var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,v=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function P(j,l,g){var o,u={},b=null,C=null;g!==void 0&&(b=""+g),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(C=l.ref);for(o in l)d.call(l,o)&&!S.hasOwnProperty(o)&&(u[o]=l[o]);if(j&&j.defaultProps)for(o in l=j.defaultProps,l)u[o]===void 0&&(u[o]=l[o]);return{$$typeof:i,type:j,key:b,ref:C,props:u,_owner:v.current}}return bt.Fragment=c,bt.jsx=P,bt.jsxs=P,bt}var St={};/**
98
98
  * @license React
99
99
  * react-jsx-runtime.development.js
100
100
  *
@@ -102,17 +102,17 @@ React keys must be passed directly to JSX without using spread:
102
102
  *
103
103
  * This source code is licensed under the MIT license found in the
104
104
  * LICENSE file in the root directory of this source tree.
105
- */var Gt;function Xr(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var U=!1,Y=!1,L=!1,z=!1,R=!1,D;D=Symbol.for("react.module.reference");function W(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===g||e===v||e===o||z||e===C||U||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function b(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case g:return"StrictMode";case v:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return b(t)+".Consumer";case P:var r=e;return b(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case h:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ve,be,xe,we;function je(){}je.__reactDisabledLog=!0;function We(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ve=console.error,be=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function Ue(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ve}),group:$({},e,{value:be}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
106
- `+de+e}}var ue=!1,ne;{var ze=typeof WeakMap=="function"?WeakMap:Map;ne=new ze}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,We();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
105
+ */var Gt;function Xr(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var n=B,i=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),j=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),N=Symbol.iterator,A="@@iterator";function M(e){if(e===null||typeof e!="object")return null;var t=N&&e[N]||e[A];return typeof t=="function"?t:null}var O=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];I("error",e,r)}}function I(e,t,r){{var a=O.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var m=r.map(function(s){return String(s)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var W=!1,Y=!1,L=!1,U=!1,R=!1,D;D=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===S||R||e===v||e===g||e===o||U||e===C||W||Y||L||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===u||e.$$typeof===P||e.$$typeof===j||e.$$typeof===l||e.$$typeof===D||e.getModuleId!==void 0))}function E(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function h(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case c:return"Portal";case S:return"Profiler";case v:return"StrictMode";case g:return"Suspense";case o:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var t=e;return h(t)+".Consumer";case P:var r=e;return h(r._context)+".Provider";case l:return E(e,e.render,"ForwardRef");case u:var a=e.displayName||null;return a!==null?a:k(e.type)||"Memo";case b:{var f=e,m=f._payload,s=f._init;try{return k(s(m))}catch{return null}}}return null}var $=Object.assign,K=0,te,_e,se,ge,he,xe,we;function je(){}je.__reactDisabledLog=!0;function ze(){{if(K===0){te=console.log,_e=console.info,se=console.warn,ge=console.error,he=console.group,xe=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}K++}}function We(){{if(K--,K===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},e,{value:te}),info:$({},e,{value:_e}),warn:$({},e,{value:se}),error:$({},e,{value:ge}),group:$({},e,{value:he}),groupCollapsed:$({},e,{value:xe}),groupEnd:$({},e,{value:we})})}K<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=O.ReactCurrentDispatcher,de;function ae(e,t,r){{if(de===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
106
+ `+de+e}}var ue=!1,ne;{var Ue=typeof WeakMap=="function"?WeakMap:Map;ne=new Ue}function Ce(e,t){if(!e||ue)return"";{var r=ne.get(e);if(r!==void 0)return r}var a;ue=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ce.current,ce.current=null,ze();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(F){a=F}Reflect.construct(e,[],s)}else{try{s.call()}catch(F){a=F}e.call(s.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var _=F.stack.split(`
107
107
  `),T=a.stack.split(`
108
108
  `),x=_.length-1,w=T.length-1;x>=1&&w>=0&&_[x]!==T[w];)w--;for(;x>=1&&w>=0;x--,w--)if(_[x]!==T[w]){if(x!==1||w!==1)do if(x--,w--,w<0||_[x]!==T[w]){var q=`
109
- `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,Ue(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case v:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case h:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
109
+ `+_[x].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,q),q}while(x>=1&&w>=0);break}}}finally{ue=!1,ce.current=m,We(),Error.prepareStackTrace=f}var Z=e?e.displayName||e.name:"",G=Z?ae(Z):"";return typeof e=="function"&&ne.set(e,G),G}function Ke(e,t,r){return Ce(e,!1)}function Ye(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ce(e,Ye(e));if(typeof e=="string")return ae(e);switch(e){case g:return ae("Suspense");case o:return ae("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ke(e.render);case u:return oe(e.type,t,r);case b:{var a=e,f=a._payload,m=a._init;try{return oe(m(f),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Se={},Ee=O.ReactDebugCurrentFrame;function ie(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ee.setExtraStackFrame(r)}else Ee.setExtraStackFrame(null)}function Ge(e,t,r,a,f){{var m=Function.call.bind(Q);for(var s in e)if(m(e,s)){var _=void 0;try{if(typeof e[s]!="function"){var T=Error((a||"React class")+": "+r+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){_=x}_&&!(_ instanceof Error)&&(ie(f),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",r,s,typeof _),ie(null)),_ instanceof Error&&!(_.message in Se)&&(Se[_.message]=!0,ie(f),p("Failed %s type: %s",r,_.message),ie(null))}}}var He=Array.isArray;function fe(e){return He(e)}function Je(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function Ze(e){try{return Re(e),!1}catch{return!0}}function Re(e){return""+e}function Oe(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Re(e)}var Te=O.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},De,Pe;function Xe(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function et(e,t){typeof e.ref=="string"&&Te.current}function tt(e,t){{var r=function(){De||(De=!0,p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function rt(e,t){{var r=function(){Pe||(Pe=!0,p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var at=function(e,t,r,a,f,m,s){var _={$$typeof:i,type:e,key:t,ref:r,props:s,_owner:m};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function nt(e,t,r,a,f){{var m,s={},_=null,T=null;r!==void 0&&(Oe(r),_=""+r),Qe(t)&&(Oe(t.key),_=""+t.key),Xe(t)&&(T=t.ref,et(t));for(m in t)Q.call(t,m)&&!Ve.hasOwnProperty(m)&&(s[m]=t[m]);if(e&&e.defaultProps){var x=e.defaultProps;for(m in x)s[m]===void 0&&(s[m]=x[m])}if(_||T){var w=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&tt(s,w),T&&rt(s,w)}return at(e,_,T,f,a,Te.current,s)}}var pe=O.ReactCurrentOwner,Ne=O.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);Ne.setExtraStackFrame(r)}else Ne.setExtraStackFrame(null)}var me;me=!1;function ye(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(pe.current){var e=k(pe.current.type);if(e)return`
110
110
 
111
111
  Check the render method of \``+e+"`."}return""}}function ot(e){return""}var Me={};function it(e){{var t=Fe();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
112
112
 
113
- Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=W(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ge=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ge]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
113
+ Check the top-level render call using <`+r+">.")}return t}}function Ie(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=it(t);if(Me[r])return;Me[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+k(e._owner.type)+"."),J(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,a),J(null)}}function $e(e,t){{if(typeof e!="object")return;if(fe(e))for(var r=0;r<e.length;r++){var a=e[r];ye(a)&&Ie(a,t)}else if(ye(e))e._store&&(e._store.validated=!0);else if(e){var f=M(e);if(typeof f=="function"&&f!==e.entries)for(var m=f.call(e),s;!(s=m.next()).done;)ye(s.value)&&Ie(s.value,t)}}}function _t(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===l||t.$$typeof===u))r=t.propTypes;else return;if(r){var a=k(t);Ge(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=k(t);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){J(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),J(null);break}}e.ref!==null&&(J(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Ae={};function qe(e,t,r,a,f,m){{var s=z(e);if(!s){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ot();T?_+=T:_+=Fe();var x;e===null?x="null":fe(e)?x="array":e!==void 0&&e.$$typeof===i?(x="<"+(k(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,_)}var w=nt(e,t,r,f,m);if(w==null)return w;if(s){var q=t.children;if(q!==void 0)if(a)if(fe(q)){for(var Z=0;Z<q.length;Z++)$e(q[Z],e);Object.freeze&&Object.freeze(q)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $e(q,e)}if(Q.call(t,"key")){var G=k(e),F=Object.keys(t).filter(function(pt){return pt!=="key"}),ve=F.length>0?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}";if(!Ae[G+ve]){var ft=F.length>0?"{"+F.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
114
114
  let props = %s;
115
115
  <%s {...props} />
116
116
  React keys must be passed directly to JSX without using spread:
117
117
  let props = %s;
118
- <%s key={someKey} {...props} />`,ge,G,ft,G),Ae[G+ge]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;St.Fragment=d,St.jsx=dt,St.jsxs=ut}()),St}process.env.NODE_ENV==="production"?Mt.exports=Vr():Mt.exports=Xr();var ee=Mt.exports;const Qr="_notice_13j98_2",ea="_error_13j98_11",ta="_success_13j98_14",ra="_remark_13j98_17",aa="_copy_13j98_20",Ht={notice:Qr,error:ea,success:ta,remark:ra,copy:aa,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let Be={};function kt({data:n}){let[i,c]=B.useState("show");B.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]);let d,g;switch(n.type){case"error":d=ee.jsx(Le.error,{}),g="Ошибка:";break;case"success":d=ee.jsx(Le.success,{}),g="Информация:";break;case"copy":d=ee.jsx(Le.success,{}),g="Копирование:";break;case"remark":d=ee.jsx(Le.success,{}),g="Подсказка:";break;default:d=ee.jsx(Le.success,{}),g="Предупреждение:";break}return ee.jsxs("li",{className:Ht[n.type],"data-status":i,children:[d,ee.jsx("b",{children:g}),ee.jsx("p",{children:n.text})]})}function na({data:n}){let[i,c]=B.useState("show");return B.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]),ee.jsx("li",{className:"item","data-status":i,children:n.text})}const Le={};Le.error=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),ee.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Le.success=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),ee.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var Et;(n=>{function i(){let[l,v]=B.useState([]);return Be.set=o=>{v([...l,o])},Be.del=o=>{v(l.filter(u=>u.key!==o))},l.length===0?"":ee.jsx("ul",{className:Ht.notice,children:l.map(o=>o.item)})}n.Init=i;function c(l,v=!0){let o=Date.now(),u={key:o,text:l,hide:v,type:"error"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Error=c;function d(l,v=!0){let o=Date.now(),u={key:o,text:l,hide:v,type:"success"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Success=d;function g(l,v=!0){let o=Date.now(),u={key:o,hide:v,text:l};Be.set({item:ee.jsx(na,{data:u},o),key:o})}n.Custom=g;function S(l){let v=Date.now(),o={key:v,hide:!0,...l};Be.set({item:ee.jsx(kt,{data:o},v),key:v})}n.Send=S;function P(l,v=!0){let o=Date.now(),u={key:o,text:l,hide:v,type:"remark"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Remark=P;function j(l,v=!0){let o=Date.now(),u={key:o,text:l,hide:v,type:"copy"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Copy=j})(Et||(Et={}));function oa({value:n="",onValue:i,onSave:c,name:d,format:g="+_(___) ___-__-__",placeholder:S="",title:P="",error:j="",hide:l=!1,edit:v=!0,active:o=!0,after:u="",show:h=!0,view:C,className:N=""}){v=v!==void 0?v:!0,o=o!==void 0?o:!0,l=!!(l&&(n===""||n===void 0))&&!(v&&o),B.useRef(null);let M=g,O=!0,p=0,I=(b,k)=>{let $=document.createRange(),K=window.getSelection();$.setStart(k.childNodes[0],b),$.collapse(!0),K.removeAllRanges(),K.addRange($),k.focus()},U=b=>{b.preventDefault(),navigator.clipboard.readText().then(k=>{window.document.execCommand("insertText",!1,k)}).catch(k=>{})},Y=b=>{let k=0,$="",K=b.replace(/\D/g,"");K===""&&(O=!0);let te=K.split(""),_e="";te.forEach(be=>{O&&(_e+=be,O&&(p=(""+_e).length,M=g.replace(new RegExp("[0-9]","g"),"_"),$=""),p>(""+_e).length&&(O=!0,M=g.replace(new RegExp("[0-9]","g"),"_"),$=""))});let se=M.replace(/\D/g,"");return se.length>=K.length&&(K=se),{q:M.replace(/[_\d]/g,function(){return K.charAt(k++)||"_"}),i:k,v:K,f:$}},L=b=>{b.preventDefault(),navigator.clipboard.writeText(b.target.textContent.replace(/\D/g,"")).then(function(){Et.Copy("Данные в буфер обмене")},function(k){})},z=Y(n),R=b=>{let k=Y(b.target.textContent);b.target.textContent=k.q,k.i=k.q.lastIndexOf(k.v.substr(-1)),k.i<k.q.length&&k.q!==M?k.i++:k.i=k.q.indexOf("_"),I(k.i,b.target),i&&i({value:k.q.replace(/\D/g,""),name:d})},D=b=>{b.key==="Enter"&&b.preventDefault()};const W=b=>{re.Blur(b),c&&c({value:b.target.textContent.replace(/\D/g,""),name:d})};let E={};return v&&o?(E.edit="true",E.contentEditable=re.ContentEditable):E.contentEditable="false",S&&(E.placeholder=S),u&&(E.after=u),l?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"input",title:P,element_blok:{className:[N]},element_input:{className:[X.w]},children:y.jsx("div",{onPaste:U,onInput:R,onKeyDown:D,onContextMenu:L,onBlur:W,suppressContentEditableWarning:!0,...E,children:z.q})})}function ia({id:n,value:i,onValue:c,name:d,placeholder:g="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:v=!0,after:o="",show:u=!0,maxLength:h,view:C,onSave:N,className:A="",isCopy:M=!0}){let[O,p]=B.useState(!1);O=l?!0:O;let I=R=>{c==null||c({value:R.target.innerText,name:d})},U=R=>{h&&R.target.textContent.trim().length>=h&&R.key!=="Backspace"&&R.preventDefault(),R.key==="Enter"&&R.preventDefault()},Y=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(h){let W=R.target.textContent.length;if(W>=h)return;h-=W,D=D.slice(0,h)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})};if(j)return y.jsx(y.Fragment,{});if(!(l&&v)&&!u)return"";const L={};g&&(L.placeholder=g),l&&v&&(L.edit=""),O&&(L.open="");const z=R=>{re.Blur(R),N==null||N({value:R.target.textContent.trim(),name:d})};return y.jsx(mt,{type:"note",title:S,element_blok:{className:[A]},element_input:{className:[X.n]},children:y.jsx("div",{onPaste:Y,onInput:I,onBlur:z,onKeyDown:U,contentEditable:l&&v?re.ContentEditable:"false",suppressContentEditableWarning:!0,...L,children:i})})}const It={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function _a({value:n,onValue:i,onSave:c,name:d,placeholder:g="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:v=!0,after:o="",show:u=!0,view:h,className:C=""}){l=l!==void 0?l:!0,v=v!==void 0?v:!0,j=!!(j&&(n===""||n===void 0))&&!(l&&v),B.useRef(null);let A="+_(___) ___-__-__",M=!0,O=0,p=(E,b)=>{let k=document.createRange(),$=window.getSelection();k.setStart(b.childNodes[0],E),k.collapse(!0),$.removeAllRanges(),$.addRange(k),b.focus()},I=E=>{let b=Y(E.target.textContent);E.target.textContent=b.q,b.i=b.q.lastIndexOf(b.v.substr(-1)),b.i<b.q.length&&b.q!==A?b.i++:b.i=b.q.indexOf("_"),p(b.i,E.target),i&&i({value:b.q.replace(/\D/g,""),name:d})},U=E=>{E.preventDefault(),navigator.clipboard.readText().then(b=>{window.document.execCommand("insertText",!1,b)}).catch(b=>{})},Y=E=>{let b=0,k="",$=E.replace(/\D/g,"");$===""&&(M=!0);let K=$.split(""),te="";K.forEach(ve=>{M&&(te+=ve,It[te]!==void 0&&M?(M=!1,A=It[te].mask.replace(new RegExp("[0-9]","g"),"_"),k=It[te].code):(M&&(O=(""+te).length,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),k=""),O>(""+te).length&&(M=!0,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),k="")))});let _e=A.replace(/\D/g,"");return _e.length>=$.length&&($=_e),{q:A.replace(/[_\d]/g,function(){return $.charAt(b++)||"_"}),i:b,v:$,f:k}},L=E=>{E.preventDefault(),navigator.clipboard.writeText(E.target.textContent.replace(/\D/g,"")).then(function(){Et.Copy("Данные в буфер обмене")},function(b){})},z=Y(n),R=E=>{E.key==="Enter"&&E.preventDefault()};const D=E=>{re.Blur(E),c&&c({value:E.target.textContent.replace(/\D/g,""),name:d})};let W={};return l&&v?(W.edit="true",W.contentEditable=re.ContentEditable):W.contentEditable="false",g&&(W.placeholder=g),j?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"input",title:S,element_blok:{className:C},element_input:{className:[X.w]},children:y.jsx("div",{onPaste:U,onInput:I,onKeyDown:R,onContextMenu:L,onBlur:D,suppressContentEditableWarning:!0,...W,children:z.q})})}const Rt={o:"_o_1c9e1_1",c:"_c_1c9e1_11"};function la({title:n,error:i,edit:c=!0,active:d=!0,className:g,placeholder:S,max:P,min:j,onValue:l,icon:v,name:o,value:u,after:h}){let[C,N]=B.useState(u===void 0?new Date:u);const A=B.useRef(null),[M,O]=B.useState(!1);let p=!c&&d;B.useEffect(()=>{N(u===void 0?new Date:u)},[u]);let I=L=>{N(L),l==null||l({value:L,name:o})},U=L=>{const z=L.target.getBoundingClientRect(),R=z.left,D=z.bottom,W=z.top;A.position={x:R,b:D,y:W},O(!0)};const Y={};return S&&(Y.placeholder=S),p?y.jsx(y.Fragment,{}):y.jsxs(y.Fragment,{children:[v?v():y.jsxs("dl",{"data-field":"date",className:[X.l,g].filter(L=>L!==void 0).join(" "),children:[n?y.jsx("dt",{className:X.t,children:n}):"",y.jsxs("dd",{onClick:U,className:[X.f,X.w].join(" "),...Y,"data-edit":(c&&d)+"",children:[da(C,"dd.mm.yyyy"),h]}),i&&y.jsx("em",{children:i})]}),M&&Ot.createPortal(y.jsx(sa,{position:A.position,onValue:I,date:C,max:P,min:j,onOpen:O,className:g},new Date().getTime()),document.body)]})}const sa=({date:n,onValue:i,position:c,max:d,min:g,className:S,onOpen:P})=>{let j=new Date,l=new Date(n),v={y:parseInt(j.getFullYear()),d:parseInt(j.getDate()),m:parseInt(j.getMonth())+1},o={y:parseInt(l.getFullYear()),d:parseInt(l.getDate()),m:parseInt(l.getMonth())+1},[u,h]=B.useState({y:o.y,m:o.m}),C=b=>{let k=b.getDay();return k===0&&(k=7),k-1},N=["пн","вт","ср","чт","пт","сб","вс"],A=u.m-1,M=new Date(u.y,A),O=[];for(let b=0;b<C(M);b++)O.push(0);for(;M.getMonth()===A;)O.push(M.getDate()),M.setDate(M.getDate()+1);let p=()=>{P(!1)},I=()=>{L(u.m+1,u.y)},U=()=>{L(u.m-1,u.y)},Y=b=>{i(u.y+"-"+Jt(2,u.m)+"-"+Jt(2,b)),p()},L=(b,k)=>{k=b>12?k+1:b<1?k-1:k,b=b>12?1:b<1?12:b,h({y:k,m:b})};const z=b=>v.y===u.y&&v.m===u.m&&v.d===b?{"data-active":"true"}:{},R=b=>o.y===u.y&&o.m===u.m&&o.d===b?{"data-current":"true"}:{},D=b=>{let k=!0;if(d){let $=d.getTime(),K=new Date(u.y,u.m-1,b).getTime();$<K&&(k=!1)}if(g){let $=g.getTime(),K=new Date(u.y,u.m-1,b).getTime();$>K&&(k=!1)}return k};let W=window.innerHeight-c.y<320?c.y-312:c.b,E=window.innerWidth-c.x<265?c.x-235:c.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Rt.o,onClick:()=>p()}),y.jsxs("div",{className:[Rt.c,S&&S+"-backdrop"].join(" "),style:{top:W+"px",left:E+"px"},children:[y.jsxs("s",{children:[y.jsx("i",{onClick:U,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),y.jsxs("h2",{children:[ca(u.m).name," ",u.y]}),y.jsx("i",{onClick:I,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),y.jsxs("div",{"grid-calendar":"",children:[N.map((b,k)=>y.jsx("p",{children:b},"v"+k)),O.map((b,k)=>y.jsx("span",{children:b!==0&&D(b)?y.jsx("b",{...z(b),...R(b),onClick:()=>Y(b),children:b}):y.jsx("p",{...z(b),...R(b),children:b!==0?b:""})},k))]})]})]})};function ca(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function Jt(n,i){let c=i+"";for(;c.length<n;)c="0"+c;return c}function da(n,i){i===void 0?(i=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)i=i.replace(d,c[d]);return i}function ua({value:n,onValue:i,name:c,error:d,icon:g,edit:S=!0,active:P=!0,title:j,placeholder:l="",className:v}){let[o,u]=B.useState(n);const h=B.useRef(null),[C,N]=B.useState(!1);B.useEffect(()=>{u(n)},[n]);let A=p=>{u(p),i&&i({value:p,name:c})},M=p=>{if(!S||!P)return;const I=p.target.getBoundingClientRect(),U=I.left,Y=I.top;h.position={x:U,y:Y},N(!0)};const O={};return l&&(O.placeholder=l),g||y.jsxs(y.Fragment,{children:[y.jsxs("dl",{"data-field":"date",className:[X.l,v].filter(p=>p!==void 0).join(" "),children:[j?y.jsx("dt",{className:X.t,children:j}):"",y.jsx("dd",{onClick:M,...O,className:[X.f,X.w].join(" "),children:pa(o,"mm.yyyy")}),d&&y.jsx("em",{children:d})]}),C&&Ot.createPortal(y.jsx(fa,{position:h.position,onValue:A,date:o,onOpen:N},new Date().getTime()),document.body)]})}const fa=({onOpen:n,date:i,onValue:c,position:d})=>{let g=new Date,S=new Date(i),P={y:parseInt(g.getFullYear()),m:parseInt(g.getMonth())+1},j={y:parseInt(S.getFullYear()),m:parseInt(S.getMonth())+1},[l,v]=B.useState(j.y),o=()=>{n(!1)},u=()=>{v(l+1)},h=()=>{v(l-1)},C=p=>{c(l+"-"+ma(2,p)),o()},N=p=>P.y===j.y&&P.m===p?"_FFEB3B":"",A=Array(12).fill("").map((p,I)=>I+1),M=window.innerHeight-d.y+33<320?d.y-312:d.y+33,O=window.innerWidth-d.x<265?d.x-235:d.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Rt.o,onClick:o}),y.jsxs("div",{className:Rt.c,style:{top:M+"px",left:O+"px"},children:[y.jsxs("s",{children:[y.jsx("i",{onClick:h,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),y.jsx("h2",{children:l}),y.jsx("i",{onClick:u,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),y.jsx("div",{"grid-month":"",children:A.map((p,I)=>y.jsx("span",{onClick:()=>{C(p)},color:N(p),children:y.jsx("b",{children:ya(p).abc})},I))})]})]})};function pa(n,i){i===void 0?(i=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)i=i.replace(d,c[d]);return i}function ma(n,i){let c=i+"";for(;c.length<n;)c="0"+c;return c}function ya(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function ga({value:n,onValue:i,name:c,placeholder:d="",title:g="",error:S="",hide:P=!1,edit:j=!0,active:l=!0,after:v="",show:o=!0,course:u=100,view:h,type:C,onSave:N,className:A="",isClear:M=!1}){let O=!!(P&&(n===""||n===void 0)),p=E=>C==="multi"?E.replace(/[^+\d.+-]/g,""):E.replace(/[^+\d.]/g,""),I=(E,b)=>{let k=document.createRange(),$=window.getSelection();k.setStart(b.childNodes[0],E),k.collapse(!0),$.removeAllRanges(),$.addRange(k),b.focus()},U=E=>{i==null||i({value:p(E.target.textContent)*u,name:c}),E.target.textContent=p(E.target.textContent),E.target.textContent.length>0&&I(E.target.textContent.length,E.target)},Y=E=>{re.Blur(E),E.target.textContent===""&&(E.target.textContent=0),N==null||N({value:p(E.target.textContent)*u,name:c}),i==null||i({value:p(E.target.textContent)*u,name:c}),E.target.textContent=Zt(E.target.textContent)},L=E=>{E.target.textContent=p(E.target.textContent)},z=E=>{E.currentTarget.previousElementSibling.textContent="",i==null||i({value:0,name:c})},R=E=>{E.key==="Enter"&&E.preventDefault()},D=E=>{E.preventDefault(),navigator.clipboard.readText().then(b=>{b=b.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,b)}).catch(b=>{})};if(!(j&&l)&&!o||!(j&&l)&&O)return"";const W={};return W.inputMode="decimal",d&&(W.placeholder=d),j&&l&&(W.edit=""),y.jsxs("dl",{"data-field":"date",className:[X.l,A].filter(E=>E!==void 0).join(" "),children:[g?y.jsx("dt",{className:X.t,children:g}):"",y.jsx("dd",{...W,className:[X.f,X.w].join(" "),onInput:U,onPaste:D,onBlur:Y,onKeyDown:R,onFocus:L,contentEditable:j&&l?re.ContentEditable:"false",suppressContentEditableWarning:!0,"data-after":v,children:!d||n?Zt(n):""}),M&&y.jsx("svg",{"action-type":"delete",onClick:z,viewBox:"0 0 24 24",children:y.jsx("path",{d:"M17 6L6 17M6 6L17 17"})}),S?y.jsx("em",{children:S}):""]})}function Zt(n,i){return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}const he={};function va(n){const[i,c]=B.useState({}),d=B.useRef(n);return he.u=g=>{d.current={...d.current,[g.name]:g.value}},he.n=g=>{d.current=g,c(Date.now())},he.r=()=>{c(Date.now())},[d.current,he.n]}function ba(n){he.u(n),n.reload&&he.r()}function ha(){he.r&&he.r()}function ka(n){const[i,c]=B.useState({}),d=B.useRef(n);return he.u=g=>{d.current={...d.current,[g.name]:g.value}},he.n=g=>{Object.keys(g).length>0?Object.keys(g).forEach(S=>{d.current[S]=g[S]}):d.current={},c(Date.now())},he.r=()=>{c(Date.now())},[d.current,he.n]}function $t(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}$t().elcrm||($t().elcrm={}),Object.assign($t().elcrm,{form:Vt.version}),V.Date=la,V.Mask=oa,V.Modal=Hr,V.Money=ga,V.Month=ua,V.Note=ia,V.Number=Zr,V.Options=zr,V.Password=Jr,V.Phone=_a,V.Progress=er,V.Select=Kr,V.String=tr,V.runReload=ha,V.setValue=ba,V.useData=va,V.useError=ka,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
118
+ <%s key={someKey} {...props} />`,ve,G,ft,G),Ae[G+ve]=!0}}return e===d?lt(w):_t(w),w}}function st(e,t,r){return qe(e,t,r,!0)}function ct(e,t,r){return qe(e,t,r,!1)}var dt=ct,ut=st;St.Fragment=d,St.jsx=dt,St.jsxs=ut}()),St}process.env.NODE_ENV==="production"?Mt.exports=Vr():Mt.exports=Xr();var ee=Mt.exports;const Qr="_notice_13j98_2",ea="_error_13j98_11",ta="_success_13j98_14",ra="_remark_13j98_17",aa="_copy_13j98_20",Ht={notice:Qr,error:ea,success:ta,remark:ra,copy:aa,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let Be={};function kt({data:n}){let[i,c]=B.useState("show");B.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]);let d,v;switch(n.type){case"error":d=ee.jsx(Le.error,{}),v="Ошибка:";break;case"success":d=ee.jsx(Le.success,{}),v="Информация:";break;case"copy":d=ee.jsx(Le.success,{}),v="Копирование:";break;case"remark":d=ee.jsx(Le.success,{}),v="Подсказка:";break;default:d=ee.jsx(Le.success,{}),v="Предупреждение:";break}return ee.jsxs("li",{className:Ht[n.type],"data-status":i,children:[d,ee.jsx("b",{children:v}),ee.jsx("p",{children:n.text})]})}function na({data:n}){let[i,c]=B.useState("show");return B.useEffect(()=>{n.hide&&(setTimeout(function(){c("hide")},1800),setTimeout(function(){Be.del(n.key)},2500))},[n.key]),ee.jsx("li",{className:"item","data-status":i,children:n.text})}const Le={};Le.error=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),ee.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Le.success=()=>ee.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[ee.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),ee.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var Et;(n=>{function i(){let[l,g]=B.useState([]);return Be.set=o=>{g([...l,o])},Be.del=o=>{g(l.filter(u=>u.key!==o))},l.length===0?"":ee.jsx("ul",{className:Ht.notice,children:l.map(o=>o.item)})}n.Init=i;function c(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"error"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Error=c;function d(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"success"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Success=d;function v(l,g=!0){let o=Date.now(),u={key:o,hide:g,text:l};Be.set({item:ee.jsx(na,{data:u},o),key:o})}n.Custom=v;function S(l){let g=Date.now(),o={key:g,hide:!0,...l};Be.set({item:ee.jsx(kt,{data:o},g),key:g})}n.Send=S;function P(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"remark"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Remark=P;function j(l,g=!0){let o=Date.now(),u={key:o,text:l,hide:g,type:"copy"};Be.set({item:ee.jsx(kt,{data:u},o),key:o})}n.Copy=j})(Et||(Et={}));function oa({value:n="",onValue:i,onSave:c,name:d,format:v="+_(___) ___-__-__",placeholder:S="",title:P="",error:j="",hide:l=!1,edit:g=!0,active:o=!0,after:u="",show:b=!0,view:C,className:N=""}){g=g!==void 0?g:!0,o=o!==void 0?o:!0,l=!!(l&&(n===""||n===void 0))&&!(g&&o),B.useRef(null);let M=v,O=!0,p=0,I=(h,k)=>{let $=document.createRange(),K=window.getSelection();$.setStart(k.childNodes[0],h),$.collapse(!0),K.removeAllRanges(),K.addRange($),k.focus()},W=h=>{h.preventDefault(),navigator.clipboard.readText().then(k=>{window.document.execCommand("insertText",!1,k)}).catch(k=>{})},Y=h=>{let k=0,$="",K=h.replace(/\D/g,"");K===""&&(O=!0);let te=K.split(""),_e="";te.forEach(he=>{O&&(_e+=he,O&&(p=(""+_e).length,M=v.replace(new RegExp("[0-9]","g"),"_"),$=""),p>(""+_e).length&&(O=!0,M=v.replace(new RegExp("[0-9]","g"),"_"),$=""))});let se=M.replace(/\D/g,"");return se.length>=K.length&&(K=se),{q:M.replace(/[_\d]/g,function(){return K.charAt(k++)||"_"}),i:k,v:K,f:$}},L=h=>{h.preventDefault(),navigator.clipboard.writeText(h.target.textContent.replace(/\D/g,"")).then(function(){Et.Copy("Данные в буфер обмене")},function(k){})},U=Y(n),R=h=>{let k=Y(h.target.textContent);h.target.textContent=k.q,k.i=k.q.lastIndexOf(k.v.substr(-1)),k.i<k.q.length&&k.q!==M?k.i++:k.i=k.q.indexOf("_"),I(k.i,h.target),i&&i({value:k.q.replace(/\D/g,""),name:d})},D=h=>{h.key==="Enter"&&h.preventDefault()};const z=h=>{re.Blur(h),c&&c({value:h.target.textContent.replace(/\D/g,""),name:d})};let E={};return g&&o?(E.edit="true",E.contentEditable=re.ContentEditable):E.contentEditable="false",S&&(E.placeholder=S),u&&(E.after=u),l?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"input",title:P,element_blok:{className:[N]},element_input:{className:[X.w]},children:y.jsx("div",{onPaste:W,onInput:R,onKeyDown:D,onContextMenu:L,onBlur:z,suppressContentEditableWarning:!0,...E,children:U.q})})}function ia({id:n,value:i,onValue:c,name:d,placeholder:v="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",show:u=!0,maxLength:b,view:C,onSave:N,className:A="",isCopy:M=!0}){let[O,p]=B.useState(!1);O=l?!0:O;let I=R=>{c==null||c({value:R.target.innerText,name:d})},W=R=>{b&&R.target.textContent.trim().length>=b&&R.key!=="Backspace"&&R.preventDefault(),R.key==="Enter"&&R.preventDefault()},Y=R=>{R.preventDefault(),navigator.clipboard.readText().then(D=>{if(b){let z=R.target.textContent.length;if(z>=b)return;b-=z,D=D.slice(0,b)}window.document.execCommand("insertText",!1,D.replace(/(\r\n|\n|\r)/gm," "))}).catch(D=>{})};if(j)return y.jsx(y.Fragment,{});if(!(l&&g)&&!u)return"";const L={};v&&(L.placeholder=v),l&&g&&(L.edit=""),O&&(L.open="");const U=R=>{re.Blur(R),N==null||N({value:R.target.textContent.trim(),name:d})};return y.jsx(mt,{type:"note",title:S,element_blok:{className:[A]},element_input:{className:[X.n]},children:y.jsx("div",{onPaste:Y,onInput:I,onBlur:U,onKeyDown:W,contentEditable:l&&g?re.ContentEditable:"false",suppressContentEditableWarning:!0,...L,children:i})})}const It={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function _a({value:n,onValue:i,onSave:c,name:d,placeholder:v="",title:S="",error:P="",hide:j=!1,edit:l=!0,active:g=!0,after:o="",show:u=!0,view:b,className:C=""}){l=l!==void 0?l:!0,g=g!==void 0?g:!0,j=!!(j&&(n===""||n===void 0))&&!(l&&g),B.useRef(null);let A="+_(___) ___-__-__",M=!0,O=0,p=(E,h)=>{let k=document.createRange(),$=window.getSelection();k.setStart(h.childNodes[0],E),k.collapse(!0),$.removeAllRanges(),$.addRange(k),h.focus()},I=E=>{let h=Y(E.target.textContent);E.target.textContent=h.q,h.i=h.q.lastIndexOf(h.v.substr(-1)),h.i<h.q.length&&h.q!==A?h.i++:h.i=h.q.indexOf("_"),p(h.i,E.target),i&&i({value:h.q.replace(/\D/g,""),name:d})},W=E=>{E.preventDefault(),navigator.clipboard.readText().then(h=>{window.document.execCommand("insertText",!1,h)}).catch(h=>{})},Y=E=>{let h=0,k="",$=E.replace(/\D/g,"");$===""&&(M=!0);let K=$.split(""),te="";K.forEach(ge=>{M&&(te+=ge,It[te]!==void 0&&M?(M=!1,A=It[te].mask.replace(new RegExp("[0-9]","g"),"_"),k=It[te].code):(M&&(O=(""+te).length,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),k=""),O>(""+te).length&&(M=!0,A=`+${te}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),k="")))});let _e=A.replace(/\D/g,"");return _e.length>=$.length&&($=_e),{q:A.replace(/[_\d]/g,function(){return $.charAt(h++)||"_"}),i:h,v:$,f:k}},L=E=>{E.preventDefault(),navigator.clipboard.writeText(E.target.textContent.replace(/\D/g,"")).then(function(){Et.Copy("Данные в буфер обмене")},function(h){})},U=Y(n),R=E=>{E.key==="Enter"&&E.preventDefault()};const D=E=>{re.Blur(E),c&&c({value:E.target.textContent.replace(/\D/g,""),name:d})};let z={};return l&&g?(z.edit="true",z.contentEditable=re.ContentEditable):z.contentEditable="false",v&&(z.placeholder=v),j?y.jsx(y.Fragment,{}):y.jsx(mt,{type:"input",title:S,element_blok:{className:C},element_input:{className:[X.w]},children:y.jsx("div",{onPaste:W,onInput:I,onKeyDown:R,onContextMenu:L,onBlur:D,suppressContentEditableWarning:!0,...z,children:U.q})})}const Rt={o:"_o_1c9e1_1",c:"_c_1c9e1_11"};function la({title:n,error:i,edit:c=!0,active:d=!0,className:v,placeholder:S,max:P,min:j,onValue:l,icon:g,name:o,value:u,after:b}){let[C,N]=B.useState(u===void 0?new Date:u);const A=B.useRef(null),[M,O]=B.useState(!1);let p=!c&&d;B.useEffect(()=>{N(u===void 0?new Date:u)},[u]);let I=L=>{N(L),l==null||l({value:L,name:o})},W=L=>{const U=L.target.getBoundingClientRect(),R=U.left,D=U.bottom,z=U.top;A.position={x:R,b:D,y:z},O(!0)};const Y={};return S&&(Y.placeholder=S),p?y.jsx(y.Fragment,{}):y.jsxs(y.Fragment,{children:[g?g():y.jsxs("dl",{"data-field":"date",className:[X.l,v].filter(L=>L!==void 0).join(" "),children:[n?y.jsx("dt",{className:X.t,children:n}):"",y.jsxs("dd",{onClick:W,className:[X.f,X.w].join(" "),...Y,"data-edit":(c&&d)+"",children:[da(C,"dd.mm.yyyy"),b]}),i&&y.jsx("em",{children:i})]}),M&&Ot.createPortal(y.jsx(sa,{position:A.position,onValue:I,date:C,max:P,min:j,onOpen:O,className:v},new Date().getTime()),document.body)]})}const sa=({date:n,onValue:i,position:c,max:d,min:v,className:S,onOpen:P})=>{let j=new Date,l=new Date(n),g={y:parseInt(j.getFullYear()),d:parseInt(j.getDate()),m:parseInt(j.getMonth())+1},o={y:parseInt(l.getFullYear()),d:parseInt(l.getDate()),m:parseInt(l.getMonth())+1},[u,b]=B.useState({y:o.y,m:o.m}),C=h=>{let k=h.getDay();return k===0&&(k=7),k-1},N=["пн","вт","ср","чт","пт","сб","вс"],A=u.m-1,M=new Date(u.y,A),O=[];for(let h=0;h<C(M);h++)O.push(0);for(;M.getMonth()===A;)O.push(M.getDate()),M.setDate(M.getDate()+1);let p=()=>{P(!1)},I=()=>{L(u.m+1,u.y)},W=()=>{L(u.m-1,u.y)},Y=h=>{i(u.y+"-"+Jt(2,u.m)+"-"+Jt(2,h)),p()},L=(h,k)=>{k=h>12?k+1:h<1?k-1:k,h=h>12?1:h<1?12:h,b({y:k,m:h})};const U=h=>g.y===u.y&&g.m===u.m&&g.d===h?{"data-active":"true"}:{},R=h=>o.y===u.y&&o.m===u.m&&o.d===h?{"data-current":"true"}:{},D=h=>{let k=!0;if(d){let $=d.getTime(),K=new Date(u.y,u.m-1,h).getTime();$<K&&(k=!1)}if(v){let $=v.getTime(),K=new Date(u.y,u.m-1,h).getTime();$>K&&(k=!1)}return k};let z=window.innerHeight-c.y<320?c.y-312:c.b,E=window.innerWidth-c.x<265?c.x-235:c.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Rt.o,onClick:()=>p()}),y.jsxs("div",{className:[Rt.c,S&&S+"-backdrop"].join(" "),style:{top:z+"px",left:E+"px"},children:[y.jsxs("s",{children:[y.jsx("i",{onClick:W,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),y.jsxs("h2",{children:[ca(u.m).name," ",u.y]}),y.jsx("i",{onClick:I,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),y.jsxs("div",{"grid-calendar":"",children:[N.map((h,k)=>y.jsx("p",{children:h},"v"+k)),O.map((h,k)=>y.jsx("span",{children:h!==0&&D(h)?y.jsx("b",{...U(h),...R(h),onClick:()=>Y(h),children:h}):y.jsx("p",{...U(h),...R(h),children:h!==0?h:""})},k))]})]})]})};function ca(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function Jt(n,i){let c=i+"";for(;c.length<n;)c="0"+c;return c}function da(n,i){i===void 0?(i=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)i=i.replace(d,c[d]);return i}function ua({value:n,onValue:i,name:c,error:d,icon:v,edit:S=!0,active:P=!0,title:j,placeholder:l="",className:g}){let[o,u]=B.useState(n);const b=B.useRef(null),[C,N]=B.useState(!1);B.useEffect(()=>{u(n)},[n]);let A=p=>{u(p),i&&i({value:p,name:c})},M=p=>{if(!S||!P)return;const I=p.target.getBoundingClientRect(),W=I.left,Y=I.top;b.position={x:W,y:Y},N(!0)};const O={};return l&&(O.placeholder=l),v||y.jsxs(y.Fragment,{children:[y.jsxs("dl",{"data-field":"date",className:[X.l,g].filter(p=>p!==void 0).join(" "),children:[j?y.jsx("dt",{className:X.t,children:j}):"",y.jsx("dd",{onClick:M,...O,className:[X.f,X.w].join(" "),children:pa(o,"mm.yyyy")}),d&&y.jsx("em",{children:d})]}),C&&Ot.createPortal(y.jsx(fa,{position:b.position,onValue:A,date:o,onOpen:N},new Date().getTime()),document.body)]})}const fa=({onOpen:n,date:i,onValue:c,position:d})=>{let v=new Date,S=new Date(i),P={y:parseInt(v.getFullYear()),m:parseInt(v.getMonth())+1},j={y:parseInt(S.getFullYear()),m:parseInt(S.getMonth())+1},[l,g]=B.useState(j.y),o=()=>{n(!1)},u=()=>{g(l+1)},b=()=>{g(l-1)},C=p=>{c(l+"-"+ma(2,p)),o()},N=p=>P.y===j.y&&P.m===p?"_FFEB3B":"",A=Array(12).fill("").map((p,I)=>I+1),M=window.innerHeight-d.y+33<320?d.y-312:d.y+33,O=window.innerWidth-d.x<265?d.x-235:d.x;return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:Rt.o,onClick:o}),y.jsxs("div",{className:Rt.c,style:{top:M+"px",left:O+"px"},children:[y.jsxs("s",{children:[y.jsx("i",{onClick:b,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),y.jsx("h2",{children:l}),y.jsx("i",{onClick:u,children:y.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),y.jsx("div",{"grid-month":"",children:A.map((p,I)=>y.jsx("span",{onClick:()=>{C(p)},color:N(p),children:y.jsx("b",{children:ya(p).abc})},I))})]})]})};function pa(n,i){i===void 0?(i=n,n=new Date):n=new Date(n);let c={yyyy:n.getFullYear(),yy:(""+n.getFullYear()).slice(-2),mm:("0"+(n.getMonth()+1)).slice(-2),dd:("0"+n.getDate()).slice(-2),HH:("0"+n.getHours()).slice(-2),MM:("0"+n.getMinutes()).slice(-2),SS:("0"+n.getSeconds()).slice(-2),__:"      ",_:"    "};for(const d in c)i=i.replace(d,c[d]);return i}function ma(n,i){let c=i+"";for(;c.length<n;)c="0"+c;return c}function ya(n){return n=typeof n=="number"?n:new Date(n).getMonth()+1,{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентября",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[n]}function va({value:n,onValue:i,name:c,placeholder:d="",title:v="",error:S="",hide:P=!1,edit:j=!0,active:l=!0,after:g="",show:o=!0,course:u=100,view:b,type:C,onSave:N,className:A="",isClear:M=!1}){let O=!!(P&&(n===""||n===void 0)),p=E=>C==="multi"?E.replace(/[^+\d.+-]/g,""):E.replace(/[^+\d.]/g,""),I=(E,h)=>{let k=document.createRange(),$=window.getSelection();k.setStart(h.childNodes[0],E),k.collapse(!0),$.removeAllRanges(),$.addRange(k),h.focus()},W=E=>{i==null||i({value:p(E.target.textContent)*u,name:c}),E.target.textContent=p(E.target.textContent),E.target.textContent.length>0&&I(E.target.textContent.length,E.target)},Y=E=>{re.Blur(E),E.target.textContent===""&&(E.target.textContent=0),N==null||N({value:p(E.target.textContent)*u,name:c}),i==null||i({value:p(E.target.textContent)*u,name:c}),E.target.textContent=Zt(E.target.textContent)},L=E=>{E.target.textContent=p(E.target.textContent)},U=E=>{E.currentTarget.previousElementSibling.textContent="",i==null||i({value:0,name:c})},R=E=>{E.key==="Enter"&&E.preventDefault()},D=E=>{E.preventDefault(),navigator.clipboard.readText().then(h=>{h=h.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,h)}).catch(h=>{})};if(!(j&&l)&&!o||!(j&&l)&&O)return"";const z={};return z.inputMode="decimal",d&&(z.placeholder=d),j&&l&&(z.edit=""),y.jsxs("dl",{"data-field":"date",className:[X.l,A].filter(E=>E!==void 0).join(" "),children:[v?y.jsx("dt",{className:X.t,children:v}):"",y.jsx("dd",{...z,className:[X.f,X.w].join(" "),onInput:W,onPaste:D,onBlur:Y,onKeyDown:R,onFocus:L,contentEditable:j&&l?re.ContentEditable:"false",suppressContentEditableWarning:!0,"data-after":g,children:!d||n?Zt(n):""}),M&&y.jsx("svg",{"action-type":"delete",onClick:U,viewBox:"0 0 24 24",children:y.jsx("path",{d:"M17 6L6 17M6 6L17 17"})}),S?y.jsx("em",{children:S}):""]})}function Zt(n,i){return parseFloat(n).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}const be={};function ga(n){const[i,c]=B.useState({}),d=B.useRef(n);return be.u=v=>{d.current={...d.current,[v.name]:v.value}},be.n=v=>{d.current=v,c(Date.now())},be.r=()=>{c(Date.now())},[d.current,be.n]}function ha(n){be.u(n),n.reload&&be.r()}function ba(){be.r&&be.r()}function ka(n){const[i,c]=B.useState({}),d=B.useRef(n);return be.u=v=>{d.current={...d.current,[v.name]:v.value}},be.n=v=>{Object.keys(v).length>0?Object.keys(v).forEach(S=>{d.current[S]=v[S]}):d.current={},c(Date.now())},be.r=()=>{c(Date.now())},[d.current,be.n]}function $t(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}$t().elcrm||($t().elcrm={}),Object.assign($t().elcrm,{form:Vt.version}),V.Date=la,V.Mask=oa,V.Modal=Hr,V.Money=va,V.Month=ua,V.Numeric=Zr,V.Options=Ur,V.Password=Jr,V.Phone=_a,V.Progress=er,V.Select=Kr,V.String=tr,V.Textarea=ia,V.runReload=ba,V.setValue=ha,V.useData=ga,V.useError=ka,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
@@ -1,4 +1,4 @@
1
- interface Input {
1
+ type Input = {
2
2
  value?: string;
3
3
  onValue?: Function;
4
4
  onSave?: Function;
@@ -10,11 +10,35 @@ interface Input {
10
10
  hide?: boolean;
11
11
  edit?: boolean;
12
12
  active?: Boolean;
13
- after?: string;
13
+ after?: any;
14
14
  show?: Boolean;
15
15
  view?: string;
16
+ id?: string;
16
17
  className?: string;
18
+ isCopy?: boolean;
17
19
  maxLength?: number;
18
- }
19
- export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, maxLength, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
20
+ };
21
+ /**
22
+ * Input.Notes
23
+ * @param {object} props - параметры
24
+ * @param {string} [props.id] - id
25
+ * @param {string} [props.value] - значение
26
+ * @param {function} [props.onValue] - callback на изменение
27
+ * @param {string} [props.name] - имя
28
+ * @param {string} [props.placeholder] - placeholder
29
+ * @param {string} [props.title] - заголовок
30
+ * @param {string} [props.error] - ошибка
31
+ * @param {boolean} [props.hide] - скрыть
32
+ * @param {boolean} [props.edit] - редактировать
33
+ * @param {boolean} [props.active] - активность
34
+ * @param {string} [props.after] - контент после
35
+ * @param {boolean} [props.show] - отображать
36
+ * @param {number} [props.maxLength] - максимальная длина
37
+ * @param {string} [props.view] - тип view
38
+ * @param {function} [props.onSave] - callback на save
39
+ * @param {string} [props.className] - css class
40
+ * @param {boolean} [props.isCopy] - разрешить копирование
41
+ * @return {ReactElement} - поле ввода
42
+ */
43
+ export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, show, maxLength, view, onSave, className, isCopy, }: Input): "" | import("react/jsx-runtime").JSX.Element;
20
44
  export {};
@@ -0,0 +1,20 @@
1
+ interface Input {
2
+ value?: string;
3
+ onValue?: Function;
4
+ onSave?: Function;
5
+ name?: string;
6
+ placeholder?: string;
7
+ title?: string;
8
+ label?: string;
9
+ error?: string;
10
+ hide?: boolean;
11
+ edit?: boolean;
12
+ active?: Boolean;
13
+ after?: string;
14
+ show?: Boolean;
15
+ view?: string;
16
+ className?: string;
17
+ maxLength?: number;
18
+ }
19
+ export default function ({ value, onValue, name, placeholder, title, error, hide, edit, active, after, show, view, maxLength, onSave, className, }: Input): "" | import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -4,9 +4,9 @@ export { default as Options } from './Options';
4
4
  export { default as Select } from './Select';
5
5
  export { default as Modal } from './Modal';
6
6
  export { default as Password } from './Password';
7
- export { default as Number } from './Number';
7
+ export { default as Numeric } from './Numeric';
8
8
  export { default as Mask } from './Mask';
9
- export { default as Note } from './Note';
9
+ export { default as Textarea } from './Textarea';
10
10
  export { default as Phone } from './Phone';
11
11
  export { default as Date } from './Date';
12
12
  export { default as Month } from './Month';
@@ -2,7 +2,7 @@ export declare function useData(f?: {}): any[];
2
2
  type Value = {
3
3
  value: any;
4
4
  name: string;
5
- reload: boolean;
5
+ reload?: boolean;
6
6
  };
7
7
  export declare function setValue(f: Value): void;
8
8
  export declare function runReload(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elcrm/form",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "plugin for elCRM",
5
5
  "type": "module",
6
6
  "author": "MaSkal <dev@elcrm.online>",
@@ -1,44 +0,0 @@
1
- type Input = {
2
- value?: string;
3
- onValue?: Function;
4
- onSave?: Function;
5
- name?: string;
6
- placeholder?: string;
7
- title?: string;
8
- label?: string;
9
- error?: string;
10
- hide?: boolean;
11
- edit?: boolean;
12
- active?: Boolean;
13
- after?: any;
14
- show?: Boolean;
15
- view?: string;
16
- id?: string;
17
- className?: string;
18
- isCopy?: boolean;
19
- maxLength?: number;
20
- };
21
- /**
22
- * Input.Notes
23
- * @param {object} props - параметры
24
- * @param {string} [props.id] - id
25
- * @param {string} [props.value] - значение
26
- * @param {function} [props.onValue] - callback на изменение
27
- * @param {string} [props.name] - имя
28
- * @param {string} [props.placeholder] - placeholder
29
- * @param {string} [props.title] - заголовок
30
- * @param {string} [props.error] - ошибка
31
- * @param {boolean} [props.hide] - скрыть
32
- * @param {boolean} [props.edit] - редактировать
33
- * @param {boolean} [props.active] - активность
34
- * @param {string} [props.after] - контент после
35
- * @param {boolean} [props.show] - отображать
36
- * @param {number} [props.maxLength] - максимальная длина
37
- * @param {string} [props.view] - тип view
38
- * @param {function} [props.onSave] - callback на save
39
- * @param {string} [props.className] - css class
40
- * @param {boolean} [props.isCopy] - разрешить копирование
41
- * @return {ReactElement} - поле ввода
42
- */
43
- export default function ({ id, value, onValue, name, placeholder, title, error, hide, edit, active, after, show, maxLength, view, onSave, className, isCopy, }: Input): "" | import("react/jsx-runtime").JSX.Element;
44
- export {};
File without changes