@elcrm/telegram 0.0.63 → 0.0.65

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.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(k,ve){typeof exports=="object"&&typeof module<"u"?module.exports=ve(require("react")):typeof define=="function"&&define.amd?define(["react"],ve):(k=typeof globalThis<"u"?globalThis:k||self,k.elCRM=k.elCRM||{},k.elCRM.components=ve(k.React))})(this,function(k){"use strict";var ve=document.createElement("style");ve.textContent=`*{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0}html{height:-webkit-fill-available}body{background-color:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);-webkit-font-smoothing:antialiased;font-family:sans-serif;font-variant:no-common-ligatures;text-rendering:optimizeLegibility;padding:0;margin:0}body{overflow:hidden!important}body::-webkit-scrollbar{width:0px;height:0px;display:none!important;-ms-overflow-style:none;scrollbar-width:none}body:has(.debug){--tg-viewport-height: calc(100dvh - 50px) }.debug{height:50px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;background:var(--tg-theme-header-bg-color);color:var(--tg-theme-text-color);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--tg-theme-bg-color);z-index:222;position:sticky;top:0}.debug .b,.debug .o{padding:0 15px;cursor:pointer}.mb{bottom:0;position:fixed;left:0;right:0;padding:10px}.mb button{width:100%}.tm{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;width:200px;position:absolute;right:5px;z-index:999;border:1px solid var(--tg-theme-hint-color)}.tm ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}.tm ul:first-child{border-top:0}.tm ol{list-style-type:none;display:none;padding:8px;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;position:absolute;right:100%;left:-180px;z-index:100;width:100%;top:0;flex-direction:column;border:1px solid var(--tg-theme-hint-color)}.tm ol:hover{display:flex}.tm li{position:relative}.tm button{font:inherit;border:0;padding:8px 36px 8px 8px;width:100%;border-radius:8px;text-align:left;display:flex;align-items:center;position:relative;color:var(--tg-theme-text-color);background-color:var(--tg-theme-bg-color)}.tm button:hover{background-color:var(--tg-theme-button-color)}.tm button:hover+ol{display:flex}.ta{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}.ta .--body{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;overflow:hidden;width:270px;height:auto;background-color:#ffffff73;border-radius:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .3s ease}.modal-overlay.closing{animation:fadeOut .3s ease}.modal-popup{position:relative;width:100%;min-height:var(--modal-height);max-width:500px;max-height:var(--modal-height);overflow:hidden;animation:slideUp .3s ease;background:var(--tg-theme-bg-color)}.modal-popup.closing{animation:slideDown .3s ease}.notice{position:fixed;top:0;z-index:999;max-height:0px}.notice .item{display:block;color:#fff;overflow:hidden;cursor:pointer;display:flex;margin:20px 20px 10px;border-radius:10px;padding-left:10px;gap:10px;width:calc(100vw - 40px)}.notice svg{margin-top:7px}.notice .text{padding:9px 0;flex:1}.notice .error{background:#f44336}.notice .success{background:#4caf50}.notice .warning{background:#ff9800}.notice .item.thema{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.notice .item.error.thema svg{color:#f44336}.notice .item.success.thema svg{color:#4caf50}.notice .item.warning.thema svg{color:#ff9800}footer{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;padding:5px 16px 0;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px))}footer button{flex:1}footer.icon-inline{display:flex}footer.icon-inline>div{z-index:1;display:flex;align-items:center;justify-content:center;flex:1;padding:10px 0 0}footer.island{background-color:var(--tg-theme-bg-color);margin:10px;padding:0;border-radius:10px;margin-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom))}footer div[data-active=true]{color:var(--tg-theme-button-color)}.footer-menu-overlay{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;transition:opacity .5s ease-out;opacity:1}.footer-menu-overlay.is-overlay{background:var(--tg-theme-bg-color-alpha);top:0}.footer-menu-overlay.closing{opacity:0}.footer-menu-popup-book{position:relative;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:20px 20px 0 0;width:100%;max-width:500px;max-height:70vh;overflow:hidden;animation:slideUp .3s ease;box-shadow:0 -10px 30px #00000080;box-shadow:0 -.5px #0000001a;background:var(--tg-theme-secondary-bg-color-alpha);margin-bottom:calc(var(--tg-safe-area-inset-bottom) + 40px);border-bottom:1px solid var(--tg-theme-section-separator-color)}.footer-menu-popup-book.closing{animation:slideDown .3s ease}.footer-menu-header{position:relative;display:flex;opacity:.8;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--tg-theme-section-separator-color);z-index:1}.footer-menu-header h3{margin:0;color:var(--tg-theme-text-color);font-size:18px;font-weight:600}.footer-menu-close-btn{background:none;border:none;color:var(--tg-theme-text-color);font-size:20px;cursor:pointer;padding:5px;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease,transform .15s ease-in-out}.footer-menu-close-btn:active{transform:scale(1.1)}.chapters-list{position:relative;max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:10px 0 20px;z-index:1}.chapter-item{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;cursor:pointer;transition:background-color .2s ease,transform .15s ease-in-out;border-bottom:1px solid var(--tg-theme-section-separator-color)}.chapter-item:active{transform:scale(1.02)}.chapter-item:hover{background-color:#ffffff0d}.chapter-item.active{background-color:#ffffff1a}.chapter-info-item{display:flex;align-items:center;gap:12px}.chapter-number{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);min-width:24px;min-height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.chapter-item.active .chapter-number{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.chapter-title{color:var(--tg-theme-text-color);font-size:16px;font-weight:400}.chapter-title p{font-size:10px;color:var(--tg-subtitle_text_color);font-weight:400}.chapter-title b{font-size:16px;font-weight:400}.chapter-duration{color:var(--tg-theme-text-color);opacity:.8;font-size:14px;font-weight:400}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.chapters-list::-webkit-scrollbar{width:6px}.chapters-list::-webkit-scrollbar-track{background:#333}.chapters-list::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.chapters-list::-webkit-scrollbar-thumb:hover{background:#888}@media (max-width: 375px){.chapter-progress{padding:15px 10px 5px}.chapters-popup{max-height:80vh}.chapter-item{padding:12px 15px}.chapter-title{font-size:14px}.chapter-duration{font-size:12px}}
2
- /*$vite$:1*/`,document.head.appendChild(ve);var et={exports:{}},ke={};/**
1
+ (function(q,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],E):(q=typeof globalThis<"u"?globalThis:q||self,E((q.elCRM=q.elCRM||{},q.elCRM.components={}),q.React))})(this,function(q,E){"use strict";var Ct=document.createElement("style");Ct.textContent=`*{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0}html{height:-webkit-fill-available}body{background-color:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);-webkit-font-smoothing:antialiased;font-family:sans-serif;font-variant:no-common-ligatures;text-rendering:optimizeLegibility;padding:0;margin:0}body{overflow:hidden!important}body::-webkit-scrollbar{width:0px;height:0px;display:none!important;-ms-overflow-style:none;scrollbar-width:none}body:has(.debug){--tg-viewport-height: calc(100dvh - 50px) }.debug{height:50px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;background:var(--tg-theme-header-bg-color);color:var(--tg-theme-text-color);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--tg-theme-bg-color);z-index:222;position:sticky;top:0}.debug .b,.debug .o{padding:0 15px;cursor:pointer}.mb{bottom:0;position:fixed;left:0;right:0;padding:10px}.mb button{width:100%}.tm{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;width:200px;position:absolute;right:5px;z-index:999;border:1px solid var(--tg-theme-hint-color)}.tm ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}.tm ul:first-child{border-top:0}.tm ol{list-style-type:none;display:none;padding:8px;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;position:absolute;right:100%;left:-180px;z-index:100;width:100%;top:0;flex-direction:column;border:1px solid var(--tg-theme-hint-color)}.tm ol:hover{display:flex}.tm li{position:relative}.tm button{font:inherit;border:0;padding:8px 36px 8px 8px;width:100%;border-radius:8px;text-align:left;display:flex;align-items:center;position:relative;color:var(--tg-theme-text-color);background-color:var(--tg-theme-bg-color)}.tm button:hover{background-color:var(--tg-theme-button-color)}.tm button:hover+ol{display:flex}.ta{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}.ta .--body{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;overflow:hidden;width:270px;height:auto;background-color:#ffffff73;border-radius:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .3s ease}.modal-overlay.closing{animation:fadeOut .3s ease}.modal-popup{position:relative;width:100%;min-height:var(--modal-height);max-width:500px;max-height:var(--modal-height);overflow:hidden;animation:slideUp .3s ease;background:var(--tg-theme-bg-color)}.modal-popup.closing{animation:slideDown .3s ease}.notice{position:fixed;top:0;z-index:999;max-height:0px}.notice .item{display:block;color:#fff;overflow:hidden;cursor:pointer;display:flex;margin:20px 20px 10px;border-radius:10px;padding-left:10px;gap:10px;width:calc(100vw - 40px)}.notice svg{margin-top:7px}.notice .text{padding:9px 0;flex:1}.notice .error{background:#f44336}.notice .success{background:#4caf50}.notice .warning{background:#ff9800}.notice .item.thema{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.notice .item.error.thema svg{color:#f44336}.notice .item.success.thema svg{color:#4caf50}.notice .item.warning.thema svg{color:#ff9800}.footer-menu-overlay{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;transition:opacity .5s ease-out;opacity:1}.footer-menu-overlay.is-overlay{background:var(--tg-theme-bg-color-alpha);top:0}.footer-menu-overlay.closing{opacity:0}.footer-menu-popup-book{position:relative;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:20px 20px 0 0;width:100%;max-width:500px;max-height:70vh;overflow:hidden;animation:slideUp .3s ease;box-shadow:0 -10px 30px #00000080;box-shadow:0 -.5px #0000001a;background:var(--tg-theme-secondary-bg-color-alpha);margin-bottom:calc(var(--tg-safe-area-inset-bottom) + 40px);border-bottom:1px solid var(--tg-theme-section-separator-color)}.footer-menu-popup-book.closing{animation:slideDown .3s ease}.footer-menu-header{position:relative;display:flex;opacity:.8;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--tg-theme-section-separator-color);z-index:1}.footer-menu-header h3{margin:0;color:var(--tg-theme-text-color);font-size:18px;font-weight:600}.footer-menu-close-btn{background:none;border:none;color:var(--tg-theme-text-color);font-size:20px;cursor:pointer;padding:5px;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease,transform .15s ease-in-out}.footer-menu-close-btn:active{transform:scale(1.1)}.chapters-list{position:relative;max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:10px 0 20px;z-index:1}.chapter-item{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;cursor:pointer;transition:background-color .2s ease,transform .15s ease-in-out;border-bottom:1px solid var(--tg-theme-section-separator-color)}.chapter-item:active{transform:scale(1.02)}.chapter-item:hover{background-color:#ffffff0d}.chapter-item.active{background-color:#ffffff1a}.chapter-info-item{display:flex;align-items:center;gap:12px}.chapter-number{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);min-width:24px;min-height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.chapter-item.active .chapter-number{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.chapter-title{color:var(--tg-theme-text-color);font-size:16px;font-weight:400}.chapter-title p{font-size:10px;color:var(--tg-subtitle_text_color);font-weight:400}.chapter-title b{font-size:16px;font-weight:400}.chapter-duration{color:var(--tg-theme-text-color);opacity:.8;font-size:14px;font-weight:400}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.chapters-list::-webkit-scrollbar{width:6px}.chapters-list::-webkit-scrollbar-track{background:#333}.chapters-list::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.chapters-list::-webkit-scrollbar-thumb:hover{background:#888}@media (max-width: 375px){.chapter-progress{padding:15px 10px 5px}.chapters-popup{max-height:80vh}.chapter-item{padding:12px 15px}.chapter-title{font-size:14px}.chapter-duration{font-size:12px}}._h_rl5ga_1{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;padding:5px 16px 0;gap:10px;background-color:var(--tg-theme-footer-bg);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px))}._h_rl5ga_1._row_rl5ga_14{flex-direction:row}._h_rl5ga_1._column_rl5ga_17{flex-direction:column}._h_rl5ga_1 div[data-active]{flex:1;text-align:center;padding:10px 0 0}._h_rl5ga_1 div[data-active=true]{color:var(--tg-theme-button-color)}._h_rl5ga_1 button{flex:1}
2
+ /*$vite$:1*/`,document.head.appendChild(Ct);var et={exports:{}},ke={};/**
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 Ct;function zt(){if(Ct)return ke;Ct=1;var o=k,n=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,h=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function C(_,d,w){var g,S={},I=null,A=null;w!==void 0&&(I=""+w),d.key!==void 0&&(I=""+d.key),d.ref!==void 0&&(A=d.ref);for(g in d)u.call(d,g)&&!v.hasOwnProperty(g)&&(S[g]=d[g]);if(_&&_.defaultProps)for(g in d=_.defaultProps,d)S[g]===void 0&&(S[g]=d[g]);return{$$typeof:n,type:_,key:I,ref:A,props:S,_owner:h.current}}return ke.Fragment=l,ke.jsx=C,ke.jsxs=C,ke}var _e={};/**
10
+ */var Pt;function Vt(){if(Pt)return ke;Pt=1;var o=E,n=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,h=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function C(_,d,S){var p,k={},I=null,A=null;S!==void 0&&(I=""+S),d.key!==void 0&&(I=""+d.key),d.ref!==void 0&&(A=d.ref);for(p in d)u.call(d,p)&&!v.hasOwnProperty(p)&&(k[p]=d[p]);if(_&&_.defaultProps)for(p in d=_.defaultProps,d)k[p]===void 0&&(k[p]=d[p]);return{$$typeof:n,type:_,key:I,ref:A,props:k,_owner:h.current}}return ke.Fragment=l,ke.jsx=C,ke.jsxs=C,ke}var _e={};/**
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 Pt;function Yt(){return Pt||(Pt=1,process.env.NODE_ENV!=="production"&&function(){var o=k,n=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),_=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),V=Symbol.iterator,Re="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var t=V&&e[V]||e[Re];return typeof t=="function"?t:null}var N=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];xe("error",e,r)}}function xe(e,t,r){{var a=N.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var p=r.map(function(s){return String(s)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,p)}}var je=!1,Oe=!1,b=!1,E=!1,D=!1,F;F=Symbol.for("react.module.reference");function U(e){return!!(typeof e=="string"||typeof e=="function"||e===u||e===v||D||e===h||e===w||e===g||E||e===A||je||Oe||b||typeof e=="object"&&e!==null&&(e.$$typeof===I||e.$$typeof===S||e.$$typeof===C||e.$$typeof===_||e.$$typeof===d||e.$$typeof===F||e.getModuleId!==void 0))}function ae(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function ie(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 u:return"Fragment";case l:return"Portal";case v:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return ie(t)+".Consumer";case C:var r=e;return ie(r._context)+".Provider";case d:return ae(e,e.render,"ForwardRef");case S:var a=e.displayName||null;return a!==null?a:B(e.type)||"Memo";case I:{var f=e,p=f._payload,s=f._init;try{return B(s(p))}catch{return null}}}return null}var M=Object.assign,$=0,K,G,H,Te,Ce,Pe,Ae;function Be(){}Be.__reactDisabledLog=!0;function ot(){{if($===0){K=console.log,G=console.info,H=console.warn,Te=console.error,Ce=console.group,Pe=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function nt(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:K}),info:M({},e,{value:G}),warn:M({},e,{value:H}),error:M({},e,{value:Te}),group:M({},e,{value:Ce}),groupCollapsed:M({},e,{value:Pe}),groupEnd:M({},e,{value:Ae})})}$<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=N.ReactCurrentDispatcher,ue;function ee(e,t,r){{if(ue===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);ue=a&&a[1]||""}return`
19
- `+ue+e}}var fe=!1,te;{var at=typeof WeakMap=="function"?WeakMap:Map;te=new at}function Ie(e,t){if(!e||fe)return"";{var r=te.get(e);if(r!==void 0)return r}var a;fe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ce.current,ce.current=null,ot();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(O){a=O}Reflect.construct(e,[],s)}else{try{s.call()}catch(O){a=O}e.call(s.prototype)}}else{try{throw Error()}catch(O){a=O}e()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var i=O.stack.split(`
20
- `),j=a.stack.split(`
21
- `),y=i.length-1,x=j.length-1;y>=1&&x>=0&&i[y]!==j[x];)x--;for(;y>=1&&x>=0;y--,x--)if(i[y]!==j[x]){if(y!==1||x!==1)do if(y--,x--,x<0||i[y]!==j[x]){var P=`
22
- `+i[y].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&te.set(e,P),P}while(y>=1&&x>=0);break}}}finally{fe=!1,ce.current=p,nt(),Error.prepareStackTrace=f}var Y=e?e.displayName||e.name:"",L=Y?ee(Y):"";return typeof e=="function"&&te.set(e,L),L}function it(e,t,r){return Ie(e,!1)}function st(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function re(e,t,r){if(e==null)return"";if(typeof e=="function")return Ie(e,st(e));if(typeof e=="string")return ee(e);switch(e){case w:return ee("Suspense");case g:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return it(e.render);case S:return re(e.type,t,r);case I:{var a=e,f=a._payload,p=a._init;try{return re(p(f),t,r)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,De={},Me=N.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);Me.setExtraStackFrame(r)}else Me.setExtraStackFrame(null)}function lt(e,t,r,a,f){{var p=Function.call.bind(J);for(var s in e)if(p(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var j=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 j.name="Invariant Violation",j}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){i=y}i&&!(i instanceof Error)&&(oe(f),R("%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 i),oe(null)),i instanceof Error&&!(i.message in De)&&(De[i.message]=!0,oe(f),R("Failed %s type: %s",r,i.message),oe(null))}}}var ct=Array.isArray;function de(e){return ct(e)}function ut(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function ft(e){try{return Fe(e),!1}catch{return!0}}function Fe(e){return""+e}function $e(e){if(ft(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(e)),Fe(e)}var Ne=N.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Le,Ue;function pt(e){if(J.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function gt(e){if(J.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function mt(e,t){typeof e.ref=="string"&&Ne.current}function ht(e,t){{var r=function(){Le||(Le=!0,R("%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 vt(e,t){{var r=function(){Ue||(Ue=!0,R("%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 bt=function(e,t,r,a,f,p,s){var i={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:p};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function yt(e,t,r,a,f){{var p,s={},i=null,j=null;r!==void 0&&($e(r),i=""+r),gt(t)&&($e(t.key),i=""+t.key),pt(t)&&(j=t.ref,mt(t,f));for(p in t)J.call(t,p)&&!dt.hasOwnProperty(p)&&(s[p]=t[p]);if(e&&e.defaultProps){var y=e.defaultProps;for(p in y)s[p]===void 0&&(s[p]=y[p])}if(i||j){var x=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&ht(s,x),j&&vt(s,x)}return bt(e,i,j,f,a,Ne.current,s)}}var pe=N.ReactCurrentOwner,ze=N.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);ze.setExtraStackFrame(r)}else ze.setExtraStackFrame(null)}var ge;ge=!1;function me(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ye(){{if(pe.current){var e=B(pe.current.type);if(e)return`
18
+ */var At;function Jt(){return At||(At=1,process.env.NODE_ENV!=="production"&&function(){var o=E,n=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),_=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),V=Symbol.iterator,Re="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var t=V&&e[V]||e[Re];return typeof t=="function"?t:null}var N=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];xe("error",e,r)}}function xe(e,t,r){{var a=N.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var g=r.map(function(s){return String(s)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var Oe=!1,je=!1,b=!1,w=!1,M=!1,F;F=Symbol.for("react.module.reference");function U(e){return!!(typeof e=="string"||typeof e=="function"||e===u||e===v||M||e===h||e===S||e===p||w||e===A||Oe||je||b||typeof e=="object"&&e!==null&&(e.$$typeof===I||e.$$typeof===k||e.$$typeof===C||e.$$typeof===_||e.$$typeof===d||e.$$typeof===F||e.getModuleId!==void 0))}function ie(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function se(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 u:return"Fragment";case l:return"Portal";case v:return"Profiler";case h:return"StrictMode";case S:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return se(t)+".Consumer";case C:var r=e;return se(r._context)+".Provider";case d:return ie(e,e.render,"ForwardRef");case k:var a=e.displayName||null;return a!==null?a:B(e.type)||"Memo";case I:{var f=e,g=f._payload,s=f._init;try{return B(s(g))}catch{return null}}}return null}var D=Object.assign,$=0,K,G,Z,Te,Ce,Pe,Ae;function Be(){}Be.__reactDisabledLog=!0;function ot(){{if($===0){K=console.log,G=console.info,Z=console.warn,Te=console.error,Ce=console.group,Pe=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function nt(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:K}),info:D({},e,{value:G}),warn:D({},e,{value:Z}),error:D({},e,{value:Te}),group:D({},e,{value:Ce}),groupCollapsed:D({},e,{value:Pe}),groupEnd:D({},e,{value:Ae})})}$<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=N.ReactCurrentDispatcher,fe;function te(e,t,r){{if(fe===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);fe=a&&a[1]||""}return`
19
+ `+fe+e}}var de=!1,re;{var at=typeof WeakMap=="function"?WeakMap:Map;re=new at}function Ie(e,t){if(!e||de)return"";{var r=re.get(e);if(r!==void 0)return r}var a;de=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ue.current,ue.current=null,ot();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(j){a=j}Reflect.construct(e,[],s)}else{try{s.call()}catch(j){a=j}e.call(s.prototype)}}else{try{throw Error()}catch(j){a=j}e()}}catch(j){if(j&&a&&typeof j.stack=="string"){for(var i=j.stack.split(`
20
+ `),O=a.stack.split(`
21
+ `),y=i.length-1,x=O.length-1;y>=1&&x>=0&&i[y]!==O[x];)x--;for(;y>=1&&x>=0;y--,x--)if(i[y]!==O[x]){if(y!==1||x!==1)do if(y--,x--,x<0||i[y]!==O[x]){var P=`
22
+ `+i[y].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,P),P}while(y>=1&&x>=0);break}}}finally{de=!1,ue.current=g,nt(),Error.prepareStackTrace=f}var Y=e?e.displayName||e.name:"",L=Y?te(Y):"";return typeof e=="function"&&re.set(e,L),L}function it(e,t,r){return Ie(e,!1)}function st(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ie(e,st(e));if(typeof e=="string")return te(e);switch(e){case S:return te("Suspense");case p:return te("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return it(e.render);case k:return oe(e.type,t,r);case I:{var a=e,f=a._payload,g=a._init;try{return oe(g(f),t,r)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,Me={},De=N.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);De.setExtraStackFrame(r)}else De.setExtraStackFrame(null)}function lt(e,t,r,a,f){{var g=Function.call.bind(J);for(var s in e)if(g(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var O=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 O.name="Invariant Violation",O}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){i=y}i&&!(i instanceof Error)&&(ne(f),R("%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 i),ne(null)),i instanceof Error&&!(i.message in Me)&&(Me[i.message]=!0,ne(f),R("Failed %s type: %s",r,i.message),ne(null))}}}var ct=Array.isArray;function pe(e){return ct(e)}function ut(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function ft(e){try{return Fe(e),!1}catch{return!0}}function Fe(e){return""+e}function $e(e){if(ft(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(e)),Fe(e)}var Ne=N.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Le,Ue;function pt(e){if(J.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function gt(e){if(J.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function mt(e,t){typeof e.ref=="string"&&Ne.current}function ht(e,t){{var r=function(){Le||(Le=!0,R("%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 vt(e,t){{var r=function(){Ue||(Ue=!0,R("%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 bt=function(e,t,r,a,f,g,s){var i={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:g};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function yt(e,t,r,a,f){{var g,s={},i=null,O=null;r!==void 0&&($e(r),i=""+r),gt(t)&&($e(t.key),i=""+t.key),pt(t)&&(O=t.ref,mt(t,f));for(g in t)J.call(t,g)&&!dt.hasOwnProperty(g)&&(s[g]=t[g]);if(e&&e.defaultProps){var y=e.defaultProps;for(g in y)s[g]===void 0&&(s[g]=y[g])}if(i||O){var x=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&ht(s,x),O&&vt(s,x)}return bt(e,i,O,f,a,Ne.current,s)}}var ge=N.ReactCurrentOwner,ze=N.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);ze.setExtraStackFrame(r)}else ze.setExtraStackFrame(null)}var me;me=!1;function he(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ye(){{if(ge.current){var e=B(ge.current.type);if(e)return`
23
23
 
24
24
  Check the render method of \``+e+"`."}return""}}function xt(e){return""}var We={};function kt(e){{var t=Ye();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 Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=kt(t);if(We[r])return;We[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+B(e._owner.type)+"."),z(e),R('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),z(null)}}function Je(e,t){{if(typeof e!="object")return;if(de(e))for(var r=0;r<e.length;r++){var a=e[r];me(a)&&Ve(a,t)}else if(me(e))e._store&&(e._store.validated=!0);else if(e){var f=Se(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),s;!(s=p.next()).done;)me(s.value)&&Ve(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===d||t.$$typeof===S))r=t.propTypes;else return;if(r){var a=B(t);lt(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!ge){ge=!0;var f=B(t);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){z(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),z(null);break}}e.ref!==null&&(z(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),z(null))}}var qe={};function Ke(e,t,r,a,f,p){{var s=U(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" 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 j=xt();j?i+=j:i+=Ye();var y;e===null?y="null":de(e)?y="array":e!==void 0&&e.$$typeof===n?(y="<"+(B(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,i)}var x=yt(e,t,r,f,p);if(x==null)return x;if(s){var P=t.children;if(P!==void 0)if(a)if(de(P)){for(var Y=0;Y<P.length;Y++)Je(P[Y],e);Object.freeze&&Object.freeze(P)}else R("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 Je(P,e)}if(J.call(t,"key")){var L=B(e),O=Object.keys(t).filter(function(Tt){return Tt!=="key"}),he=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!qe[L+he]){var Ot=O.length>0?"{"+O.join(": ..., ")+": ...}":"{}";R(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+r+">.")}return t}}function Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=kt(t);if(We[r])return;We[r]=!0;var a="";e&&e._owner&&e._owner!==ge.current&&(a=" It was passed a child from "+B(e._owner.type)+"."),z(e),R('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),z(null)}}function Je(e,t){{if(typeof e!="object")return;if(pe(e))for(var r=0;r<e.length;r++){var a=e[r];he(a)&&Ve(a,t)}else if(he(e))e._store&&(e._store.validated=!0);else if(e){var f=Se(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),s;!(s=g.next()).done;)he(s.value)&&Ve(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===d||t.$$typeof===k))r=t.propTypes;else return;if(r){var a=B(t);lt(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=B(t);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){z(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),z(null);break}}e.ref!==null&&(z(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),z(null))}}var qe={};function He(e,t,r,a,f,g){{var s=U(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" 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 O=xt();O?i+=O:i+=Ye();var y;e===null?y="null":pe(e)?y="array":e!==void 0&&e.$$typeof===n?(y="<"+(B(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,i)}var x=yt(e,t,r,f,g);if(x==null)return x;if(s){var P=t.children;if(P!==void 0)if(a)if(pe(P)){for(var Y=0;Y<P.length;Y++)Je(P[Y],e);Object.freeze&&Object.freeze(P)}else R("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 Je(P,e)}if(J.call(t,"key")){var L=B(e),j=Object.keys(t).filter(function(Tt){return Tt!=="key"}),ve=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!qe[L+ve]){var jt=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";R(`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} />`,he,L,Ot,L),qe[L+he]=!0}}return e===u?wt(x):_t(x),x}}function Et(e,t,r){return Ke(e,t,r,!0)}function Rt(e,t,r){return Ke(e,t,r,!1)}var St=Rt,jt=Et;_e.Fragment=u,_e.jsx=St,_e.jsxs=jt}()),_e}process.env.NODE_ENV==="production"?et.exports=zt():et.exports=Yt();var c=et.exports;let q={};var tt;(o=>{function n({children:_}){const[d,w]=k.useState(!1),[g,S]=k.useState(!1);if(q.onClose=()=>{m.BackButton.set(!1),S(!0),setTimeout(()=>{w(!1),S(!1)},300)},k.useEffect(()=>{d?q.onClose():(m.BackButton.set({callback:()=>q.onClose()}),w(!0))},[]),!!d)return c.jsx("div",{className:`modal-overlay ${g?"closing":""}`,children:c.jsx("div",{className:`modal-popup ${g?"closing":""}`,children:c.jsx("div",{children:_})})})}o.Content=n;function l({import_modules:_}){let[d,w]=k.useState([]);return q.x=g=>{w(g?d.filter(S=>S.key!==g):[])},k.useEffect(()=>{_&&(q.i=_)},[]),q.add=(g,S=Date.now())=>{w([...d,{key:S,item:g}])},c.jsx(c.Fragment,{children:d.map(g=>g.item)})}o.Init=l;function u(_,d){q.add(c.jsx(n,{children:_},String(Date.now())),d)}o.Add=u;function h(_){return{Open:g=>{o.Add(c.jsx(_,{...g},new Date().getTime()))}}}o.Create=h;function v(){q.onClose()}o.Close=v;function C(_,d,w){q.i&&q.i(`${_}/modals/${d}.tsx`).then(g=>{g.default.Open(w)})}o.Open=C})(tt||(tt={}));function At(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}const Bt={key:"Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",iterations:7,saltLength:16};function It(o){const n=At();n.CRYPTO_PARAMS?n.CRYPTO_PARAMS={...n.CRYPTO_PARAMS,...o}:n.CRYPTO_PARAMS={...Bt,...o}}function Ge(){return At().CRYPTO_PARAMS||Bt}const He=o=>{let n=0;for(let u=0;u<o.length;u++){const h=o.charCodeAt(u);n=(n<<5)-n+h,n=n&n}n=Math.abs(n);let l="";for(let u=0;u<64;u++){const h=(n^u*197)&255;l+=h.toString(16).padStart(2,"0")}return l},Dt=(o,n)=>{let l=o+n;for(let h=0;h<Ge().iterations;h++)l=He(l);const u=new Uint8Array(32);for(let h=0;h<32;h++)u[h]=parseInt(l.substring(h*2,h*2+2),16);return u},Mt=(o,n)=>{const l=new Uint8Array(o.length),u=new Uint8Array(o.length);let h=0;for(let v=0;v<o.length;v++){const C=v%n.length;h=n[C]+v+h&255,u[v]=h}for(let v=0;v<o.length;v++)l[v]=o[v]^u[v];return l},Wt=o=>new TextEncoder().encode(o),Vt=o=>new TextDecoder().decode(o),Jt=o=>{let n="";for(let l=0;l<o.length;l+=8192){const u=o.slice(l,Math.min(l+8192,o.length));n+=String.fromCharCode.apply(null,Array.from(u))}return btoa(n)},qt=o=>{const n=atob(o),l=new Uint8Array(n.length);for(let u=0;u<n.length;u++)l[u]=n.charCodeAt(u);return l},Kt=o=>{try{const n=He(Date.now().toString()+Math.random()).substring(0,Ge().saltLength*2),l=He(o+n).substring(0,8),u=Dt(Ge().key,n),h=Wt(o),v=Mt(h,u),C=Jt(v);return`${n}.${C}.${l}`}catch{throw new Error("Не удалось зашифровать данные")}},Gt=o=>{try{const n=o.split(".");if(n.length!==3)throw new Error("Неверный формат зашифрованных данных");const l=n[0],u=n[1],h=n[2],v=Dt(Ge().key,l),C=qt(u),_=Mt(C,v),d=Vt(_);if(He(d+l).substring(0,8)!==h)throw new Error("Контрольная сумма не совпадает");return d}catch{return""}};var ne;(o=>{o.setKey=n=>{It({key:n})},o.enCode=n=>{try{const l=JSON.stringify(n);return Kt(l)}catch{throw new Error("Не удалось зашифровать объект")}},o.deCode=n=>{try{if(!n||n.length<10)return!1;const l=Gt(n);return l&&JSON.parse(l)||!1}catch{return!1}},o.setSecurityParams=(n,l)=>{It({iterations:n,saltLength:l})}})(ne||(ne={}));var we={};/**
31
+ <%s key={someKey} {...props} />`,ve,L,jt,L),qe[L+ve]=!0}}return e===u?wt(x):_t(x),x}}function Et(e,t,r){return He(e,t,r,!0)}function Rt(e,t,r){return He(e,t,r,!1)}var St=Rt,Ot=Et;_e.Fragment=u,_e.jsx=St,_e.jsxs=Ot}()),_e}process.env.NODE_ENV==="production"?et.exports=Vt():et.exports=Jt();var c=et.exports;let H={};var tt;(o=>{function n({children:_}){const[d,S]=E.useState(!1),[p,k]=E.useState(!1);if(H.onClose=()=>{m.BackButton.set(!1),k(!0),setTimeout(()=>{S(!1),k(!1)},300)},E.useEffect(()=>{d?H.onClose():(m.BackButton.set({callback:()=>H.onClose()}),S(!0))},[]),!!d)return c.jsx("div",{className:`modal-overlay ${p?"closing":""}`,children:c.jsx("div",{className:`modal-popup ${p?"closing":""}`,children:c.jsx("div",{children:_})})})}o.Content=n;function l({import_modules:_}){let[d,S]=E.useState([]);return H.x=p=>{S(p?d.filter(k=>k.key!==p):[])},E.useEffect(()=>{_&&(H.i=_)},[]),H.add=(p,k=Date.now())=>{S([...d,{key:k,item:p}])},c.jsx(c.Fragment,{children:d.map(p=>p.item)})}o.Init=l;function u(_,d){H.add(c.jsx(n,{children:_},String(Date.now())),d)}o.Add=u;function h(_){return{Open:p=>{o.Add(c.jsx(_,{...p},new Date().getTime()))}}}o.Create=h;function v(){H.onClose()}o.Close=v;function C(_,d,S){H.i&&H.i(`${_}/modals/${d}.tsx`).then(p=>{p.default.Open(S)})}o.Open=C})(tt||(tt={}));function Bt(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}const It={key:"Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",iterations:7,saltLength:16};function Mt(o){const n=Bt();n.CRYPTO_PARAMS?n.CRYPTO_PARAMS={...n.CRYPTO_PARAMS,...o}:n.CRYPTO_PARAMS={...It,...o}}function Ke(){return Bt().CRYPTO_PARAMS||It}const Ge=o=>{let n=0;for(let u=0;u<o.length;u++){const h=o.charCodeAt(u);n=(n<<5)-n+h,n=n&n}n=Math.abs(n);let l="";for(let u=0;u<64;u++){const h=(n^u*197)&255;l+=h.toString(16).padStart(2,"0")}return l},Dt=(o,n)=>{let l=o+n;for(let h=0;h<Ke().iterations;h++)l=Ge(l);const u=new Uint8Array(32);for(let h=0;h<32;h++)u[h]=parseInt(l.substring(h*2,h*2+2),16);return u},Ft=(o,n)=>{const l=new Uint8Array(o.length),u=new Uint8Array(o.length);let h=0;for(let v=0;v<o.length;v++){const C=v%n.length;h=n[C]+v+h&255,u[v]=h}for(let v=0;v<o.length;v++)l[v]=o[v]^u[v];return l},qt=o=>new TextEncoder().encode(o),Ht=o=>new TextDecoder().decode(o),Kt=o=>{let n="";for(let l=0;l<o.length;l+=8192){const u=o.slice(l,Math.min(l+8192,o.length));n+=String.fromCharCode.apply(null,Array.from(u))}return btoa(n)},Gt=o=>{const n=atob(o),l=new Uint8Array(n.length);for(let u=0;u<n.length;u++)l[u]=n.charCodeAt(u);return l},Zt=o=>{try{const n=Ge(Date.now().toString()+Math.random()).substring(0,Ke().saltLength*2),l=Ge(o+n).substring(0,8),u=Dt(Ke().key,n),h=qt(o),v=Ft(h,u),C=Kt(v);return`${n}.${C}.${l}`}catch{throw new Error("Не удалось зашифровать данные")}},Xt=o=>{try{const n=o.split(".");if(n.length!==3)throw new Error("Неверный формат зашифрованных данных");const l=n[0],u=n[1],h=n[2],v=Dt(Ke().key,l),C=Gt(u),_=Ft(C,v),d=Ht(_);if(Ge(d+l).substring(0,8)!==h)throw new Error("Контрольная сумма не совпадает");return d}catch{return""}};var ae;(o=>{o.setKey=n=>{Mt({key:n})},o.enCode=n=>{try{const l=JSON.stringify(n);return Zt(l)}catch{throw new Error("Не удалось зашифровать объект")}},o.deCode=n=>{try{if(!n||n.length<10)return!1;const l=Xt(n);return l&&JSON.parse(l)||!1}catch{return!1}},o.setSecurityParams=(n,l)=>{Mt({iterations:n,saltLength:l})}})(ae||(ae={}));var we={};/**
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 Ft;function Ht(){if(Ft)return we;Ft=1;var o=k,n=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,h=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function C(_,d,w){var g,S={},I=null,A=null;w!==void 0&&(I=""+w),d.key!==void 0&&(I=""+d.key),d.ref!==void 0&&(A=d.ref);for(g in d)u.call(d,g)&&!v.hasOwnProperty(g)&&(S[g]=d[g]);if(_&&_.defaultProps)for(g in d=_.defaultProps,d)S[g]===void 0&&(S[g]=d[g]);return{$$typeof:n,type:_,key:I,ref:A,props:S,_owner:h.current}}return we.Fragment=l,we.jsx=C,we.jsxs=C,we}var Ze={};/**
39
+ */var $t;function Qt(){if($t)return we;$t=1;var o=E,n=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,h=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function C(_,d,S){var p,k={},I=null,A=null;S!==void 0&&(I=""+S),d.key!==void 0&&(I=""+d.key),d.ref!==void 0&&(A=d.ref);for(p in d)u.call(d,p)&&!v.hasOwnProperty(p)&&(k[p]=d[p]);if(_&&_.defaultProps)for(p in d=_.defaultProps,d)k[p]===void 0&&(k[p]=d[p]);return{$$typeof:n,type:_,key:I,ref:A,props:k,_owner:h.current}}return we.Fragment=l,we.jsx=C,we.jsxs=C,we}var Ze={};/**
40
40
  * @license React
41
41
  * react-jsx-runtime.development.js
42
42
  *
@@ -44,17 +44,17 @@ 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 $t;function Zt(){return $t||($t=1,process.env.NODE_ENV!=="production"&&function(){var o=k,n=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),_=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),V=Symbol.iterator,Re="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var t=V&&e[V]||e[Re];return typeof t=="function"?t:null}var N=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];xe("error",e,r)}}function xe(e,t,r){{var a=N.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var p=r.map(function(s){return String(s)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,p)}}var je=!1,Oe=!1,b=!1,E=!1,D=!1,F;F=Symbol.for("react.module.reference");function U(e){return!!(typeof e=="string"||typeof e=="function"||e===u||e===v||D||e===h||e===w||e===g||E||e===A||je||Oe||b||typeof e=="object"&&e!==null&&(e.$$typeof===I||e.$$typeof===S||e.$$typeof===C||e.$$typeof===_||e.$$typeof===d||e.$$typeof===F||e.getModuleId!==void 0))}function ae(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function ie(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 u:return"Fragment";case l:return"Portal";case v:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return ie(t)+".Consumer";case C:var r=e;return ie(r._context)+".Provider";case d:return ae(e,e.render,"ForwardRef");case S:var a=e.displayName||null;return a!==null?a:B(e.type)||"Memo";case I:{var f=e,p=f._payload,s=f._init;try{return B(s(p))}catch{return null}}}return null}var M=Object.assign,$=0,K,G,H,Te,Ce,Pe,Ae;function Be(){}Be.__reactDisabledLog=!0;function ot(){{if($===0){K=console.log,G=console.info,H=console.warn,Te=console.error,Ce=console.group,Pe=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function nt(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:K}),info:M({},e,{value:G}),warn:M({},e,{value:H}),error:M({},e,{value:Te}),group:M({},e,{value:Ce}),groupCollapsed:M({},e,{value:Pe}),groupEnd:M({},e,{value:Ae})})}$<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=N.ReactCurrentDispatcher,ue;function ee(e,t,r){{if(ue===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);ue=a&&a[1]||""}return`
48
- `+ue+e}}var fe=!1,te;{var at=typeof WeakMap=="function"?WeakMap:Map;te=new at}function Ie(e,t){if(!e||fe)return"";{var r=te.get(e);if(r!==void 0)return r}var a;fe=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ce.current,ce.current=null,ot();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(O){a=O}Reflect.construct(e,[],s)}else{try{s.call()}catch(O){a=O}e.call(s.prototype)}}else{try{throw Error()}catch(O){a=O}e()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var i=O.stack.split(`
49
- `),j=a.stack.split(`
50
- `),y=i.length-1,x=j.length-1;y>=1&&x>=0&&i[y]!==j[x];)x--;for(;y>=1&&x>=0;y--,x--)if(i[y]!==j[x]){if(y!==1||x!==1)do if(y--,x--,x<0||i[y]!==j[x]){var P=`
51
- `+i[y].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&te.set(e,P),P}while(y>=1&&x>=0);break}}}finally{fe=!1,ce.current=p,nt(),Error.prepareStackTrace=f}var Y=e?e.displayName||e.name:"",L=Y?ee(Y):"";return typeof e=="function"&&te.set(e,L),L}function it(e,t,r){return Ie(e,!1)}function st(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function re(e,t,r){if(e==null)return"";if(typeof e=="function")return Ie(e,st(e));if(typeof e=="string")return ee(e);switch(e){case w:return ee("Suspense");case g:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return it(e.render);case S:return re(e.type,t,r);case I:{var a=e,f=a._payload,p=a._init;try{return re(p(f),t,r)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,De={},Me=N.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);Me.setExtraStackFrame(r)}else Me.setExtraStackFrame(null)}function lt(e,t,r,a,f){{var p=Function.call.bind(J);for(var s in e)if(p(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var j=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 j.name="Invariant Violation",j}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){i=y}i&&!(i instanceof Error)&&(oe(f),R("%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 i),oe(null)),i instanceof Error&&!(i.message in De)&&(De[i.message]=!0,oe(f),R("Failed %s type: %s",r,i.message),oe(null))}}}var ct=Array.isArray;function de(e){return ct(e)}function ut(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function ft(e){try{return Fe(e),!1}catch{return!0}}function Fe(e){return""+e}function $e(e){if(ft(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(e)),Fe(e)}var Ne=N.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Le,Ue;function pt(e){if(J.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function gt(e){if(J.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function mt(e,t){typeof e.ref=="string"&&Ne.current}function ht(e,t){{var r=function(){Le||(Le=!0,R("%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 vt(e,t){{var r=function(){Ue||(Ue=!0,R("%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 bt=function(e,t,r,a,f,p,s){var i={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:p};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function yt(e,t,r,a,f){{var p,s={},i=null,j=null;r!==void 0&&($e(r),i=""+r),gt(t)&&($e(t.key),i=""+t.key),pt(t)&&(j=t.ref,mt(t));for(p in t)J.call(t,p)&&!dt.hasOwnProperty(p)&&(s[p]=t[p]);if(e&&e.defaultProps){var y=e.defaultProps;for(p in y)s[p]===void 0&&(s[p]=y[p])}if(i||j){var x=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&ht(s,x),j&&vt(s,x)}return bt(e,i,j,f,a,Ne.current,s)}}var pe=N.ReactCurrentOwner,ze=N.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);ze.setExtraStackFrame(r)}else ze.setExtraStackFrame(null)}var ge;ge=!1;function me(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ye(){{if(pe.current){var e=B(pe.current.type);if(e)return`
47
+ */var Nt;function er(){return Nt||(Nt=1,process.env.NODE_ENV!=="production"&&function(){var o=E,n=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),_=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),V=Symbol.iterator,Re="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var t=V&&e[V]||e[Re];return typeof t=="function"?t:null}var N=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];xe("error",e,r)}}function xe(e,t,r){{var a=N.ReactDebugCurrentFrame,f=a.getStackAddendum();f!==""&&(t+="%s",r=r.concat([f]));var g=r.map(function(s){return String(s)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var Oe=!1,je=!1,b=!1,w=!1,M=!1,F;F=Symbol.for("react.module.reference");function U(e){return!!(typeof e=="string"||typeof e=="function"||e===u||e===v||M||e===h||e===S||e===p||w||e===A||Oe||je||b||typeof e=="object"&&e!==null&&(e.$$typeof===I||e.$$typeof===k||e.$$typeof===C||e.$$typeof===_||e.$$typeof===d||e.$$typeof===F||e.getModuleId!==void 0))}function ie(e,t,r){var a=e.displayName;if(a)return a;var f=t.displayName||t.name||"";return f!==""?r+"("+f+")":r}function se(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 u:return"Fragment";case l:return"Portal";case v:return"Profiler";case h:return"StrictMode";case S:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return se(t)+".Consumer";case C:var r=e;return se(r._context)+".Provider";case d:return ie(e,e.render,"ForwardRef");case k:var a=e.displayName||null;return a!==null?a:B(e.type)||"Memo";case I:{var f=e,g=f._payload,s=f._init;try{return B(s(g))}catch{return null}}}return null}var D=Object.assign,$=0,K,G,Z,Te,Ce,Pe,Ae;function Be(){}Be.__reactDisabledLog=!0;function ot(){{if($===0){K=console.log,G=console.info,Z=console.warn,Te=console.error,Ce=console.group,Pe=console.groupCollapsed,Ae=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function nt(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:K}),info:D({},e,{value:G}),warn:D({},e,{value:Z}),error:D({},e,{value:Te}),group:D({},e,{value:Ce}),groupCollapsed:D({},e,{value:Pe}),groupEnd:D({},e,{value:Ae})})}$<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=N.ReactCurrentDispatcher,fe;function te(e,t,r){{if(fe===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);fe=a&&a[1]||""}return`
48
+ `+fe+e}}var de=!1,re;{var at=typeof WeakMap=="function"?WeakMap:Map;re=new at}function Ie(e,t){if(!e||de)return"";{var r=re.get(e);if(r!==void 0)return r}var a;de=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ue.current,ue.current=null,ot();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(j){a=j}Reflect.construct(e,[],s)}else{try{s.call()}catch(j){a=j}e.call(s.prototype)}}else{try{throw Error()}catch(j){a=j}e()}}catch(j){if(j&&a&&typeof j.stack=="string"){for(var i=j.stack.split(`
49
+ `),O=a.stack.split(`
50
+ `),y=i.length-1,x=O.length-1;y>=1&&x>=0&&i[y]!==O[x];)x--;for(;y>=1&&x>=0;y--,x--)if(i[y]!==O[x]){if(y!==1||x!==1)do if(y--,x--,x<0||i[y]!==O[x]){var P=`
51
+ `+i[y].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,P),P}while(y>=1&&x>=0);break}}}finally{de=!1,ue.current=g,nt(),Error.prepareStackTrace=f}var Y=e?e.displayName||e.name:"",L=Y?te(Y):"";return typeof e=="function"&&re.set(e,L),L}function it(e,t,r){return Ie(e,!1)}function st(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oe(e,t,r){if(e==null)return"";if(typeof e=="function")return Ie(e,st(e));if(typeof e=="string")return te(e);switch(e){case S:return te("Suspense");case p:return te("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return it(e.render);case k:return oe(e.type,t,r);case I:{var a=e,f=a._payload,g=a._init;try{return oe(g(f),t,r)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,Me={},De=N.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);De.setExtraStackFrame(r)}else De.setExtraStackFrame(null)}function lt(e,t,r,a,f){{var g=Function.call.bind(J);for(var s in e)if(g(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var O=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 O.name="Invariant Violation",O}i=e[s](t,s,a,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){i=y}i&&!(i instanceof Error)&&(ne(f),R("%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 i),ne(null)),i instanceof Error&&!(i.message in Me)&&(Me[i.message]=!0,ne(f),R("Failed %s type: %s",r,i.message),ne(null))}}}var ct=Array.isArray;function pe(e){return ct(e)}function ut(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function ft(e){try{return Fe(e),!1}catch{return!0}}function Fe(e){return""+e}function $e(e){if(ft(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(e)),Fe(e)}var Ne=N.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Le,Ue;function pt(e){if(J.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function gt(e){if(J.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function mt(e,t){typeof e.ref=="string"&&Ne.current}function ht(e,t){{var r=function(){Le||(Le=!0,R("%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 vt(e,t){{var r=function(){Ue||(Ue=!0,R("%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 bt=function(e,t,r,a,f,g,s){var i={$$typeof:n,type:e,key:t,ref:r,props:s,_owner:g};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function yt(e,t,r,a,f){{var g,s={},i=null,O=null;r!==void 0&&($e(r),i=""+r),gt(t)&&($e(t.key),i=""+t.key),pt(t)&&(O=t.ref,mt(t));for(g in t)J.call(t,g)&&!dt.hasOwnProperty(g)&&(s[g]=t[g]);if(e&&e.defaultProps){var y=e.defaultProps;for(g in y)s[g]===void 0&&(s[g]=y[g])}if(i||O){var x=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&ht(s,x),O&&vt(s,x)}return bt(e,i,O,f,a,Ne.current,s)}}var ge=N.ReactCurrentOwner,ze=N.ReactDebugCurrentFrame;function z(e){if(e){var t=e._owner,r=oe(e.type,e._source,t?t.type:null);ze.setExtraStackFrame(r)}else ze.setExtraStackFrame(null)}var me;me=!1;function he(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ye(){{if(ge.current){var e=B(ge.current.type);if(e)return`
52
52
 
53
53
  Check the render method of \``+e+"`."}return""}}function xt(e){return""}var We={};function kt(e){{var t=Ye();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 Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=kt(t);if(We[r])return;We[r]=!0;var a="";e&&e._owner&&e._owner!==pe.current&&(a=" It was passed a child from "+B(e._owner.type)+"."),z(e),R('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),z(null)}}function Je(e,t){{if(typeof e!="object")return;if(de(e))for(var r=0;r<e.length;r++){var a=e[r];me(a)&&Ve(a,t)}else if(me(e))e._store&&(e._store.validated=!0);else if(e){var f=Se(e);if(typeof f=="function"&&f!==e.entries)for(var p=f.call(e),s;!(s=p.next()).done;)me(s.value)&&Ve(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===d||t.$$typeof===S))r=t.propTypes;else return;if(r){var a=B(t);lt(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!ge){ge=!0;var f=B(t);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){z(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),z(null);break}}e.ref!==null&&(z(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),z(null))}}var qe={};function Ke(e,t,r,a,f,p){{var s=U(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" 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 j=xt();j?i+=j:i+=Ye();var y;e===null?y="null":de(e)?y="array":e!==void 0&&e.$$typeof===n?(y="<"+(B(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,i)}var x=yt(e,t,r,f,p);if(x==null)return x;if(s){var P=t.children;if(P!==void 0)if(a)if(de(P)){for(var Y=0;Y<P.length;Y++)Je(P[Y],e);Object.freeze&&Object.freeze(P)}else R("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 Je(P,e)}if(J.call(t,"key")){var L=B(e),O=Object.keys(t).filter(function(Tt){return Tt!=="key"}),he=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!qe[L+he]){var Ot=O.length>0?"{"+O.join(": ..., ")+": ...}":"{}";R(`A props object containing a "key" prop is being spread into JSX:
55
+ Check the top-level render call using <`+r+">.")}return t}}function Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=kt(t);if(We[r])return;We[r]=!0;var a="";e&&e._owner&&e._owner!==ge.current&&(a=" It was passed a child from "+B(e._owner.type)+"."),z(e),R('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),z(null)}}function Je(e,t){{if(typeof e!="object")return;if(pe(e))for(var r=0;r<e.length;r++){var a=e[r];he(a)&&Ve(a,t)}else if(he(e))e._store&&(e._store.validated=!0);else if(e){var f=Se(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),s;!(s=g.next()).done;)he(s.value)&&Ve(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===d||t.$$typeof===k))r=t.propTypes;else return;if(r){var a=B(t);lt(r,e.props,"prop",a,e)}else if(t.PropTypes!==void 0&&!me){me=!0;var f=B(t);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wt(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var a=t[r];if(a!=="children"&&a!=="key"){z(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),z(null);break}}e.ref!==null&&(z(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),z(null))}}var qe={};function He(e,t,r,a,f,g){{var s=U(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" 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 O=xt();O?i+=O:i+=Ye();var y;e===null?y="null":pe(e)?y="array":e!==void 0&&e.$$typeof===n?(y="<"+(B(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,i)}var x=yt(e,t,r,f,g);if(x==null)return x;if(s){var P=t.children;if(P!==void 0)if(a)if(pe(P)){for(var Y=0;Y<P.length;Y++)Je(P[Y],e);Object.freeze&&Object.freeze(P)}else R("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 Je(P,e)}if(J.call(t,"key")){var L=B(e),j=Object.keys(t).filter(function(Tt){return Tt!=="key"}),ve=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!qe[L+ve]){var jt=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";R(`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} />`,he,L,Ot,L),qe[L+he]=!0}}return e===u?wt(x):_t(x),x}}function Et(e,t,r){return Ke(e,t,r,!0)}function Rt(e,t,r){return Ke(e,t,r,!1)}var St=Rt,jt=Et;Ze.Fragment=u,Ze.jsx=St,Ze.jsxs=jt}()),Ze}process.env.NODE_ENV==="production"?Ht():Zt();const Xt="0.0.37",Nt={version:Xt},Z={},rt={module:"",v:Nt.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{}};function se(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}se().elcrm||(se().elcrm={}),Object.assign(se().elcrm,{router:Nt.version});function X(o){const n=se();n.ROUTER_PARAMS?n.ROUTER_PARAMS={...n.ROUTER_PARAMS,...o}:n.ROUTER_PARAMS={...rt,...o}}function T(){return se().ROUTER_PARAMS||rt}function be(o){const n=se();n.ROUTER_PARAMS?n.ROUTER_PARAMS.LISTENER={...n.ROUTER_PARAMS.LISTENER,...o}:n.ROUTER_PARAMS.LISTENER={...o}}function Q(){return se().ROUTER_PARAMS.LISTENER||rt.LISTENER}var ye;(o=>{function n(){var b;let E=sessionStorage.getItem("f");if(E){if(E=ne.deCode(E),!E)return!1;X({id:E.id,tab:E.tab,page:E.page,module:E.module,time:E.time,payment:{active:!0},module_admin:E.module_admin})}else X({id:0,tab:"",page:(b=localStorage.getItem("d"))!=null&&b.length?T().page:T().auth,module:T().module});return!0}function l(){Z.id=0,Z.tab="",Z.page=T().page,Z.module=T().module}o.Reset=l;function u({module:b=T().module,page:E=T().page,auth:D=T().auth}){X({page:E,module:b,auth:D}),n()}o.Default=u;function h(b){let E=U=>(X({page:U}),U);const[D,F]=k.useState(C()||b&&E(b)||T().page);return be({page:U=>{F(U)}}),D}o.usePage=h;function v(b,E=!0,D={}){X({page:b,...D}),sessionStorage.setItem(T().STORAGE,ne.enCode(T())),E&&Q().page(b)}o.setPage=v;function C(){return T().page}o.getPage=C;function _(b){return T().page===b}o.isPage=_;function d(b,E){const[D,F]=k.useState(g()||b||T().module);return be({module:F}),D}o.useModule=d;function w(b,E=!0){X({module:b}),sessionStorage.setItem(T().STORAGE,ne.enCode(T())),E&&Q().module(b)}o.setModule=w;function g(){return T().module||""}o.getModule=g;function S(b){return T().module===b}o.isModule=S;function I(b,E){if(typeof b!="function"){const[D,F]=k.useState(!E),[U,ae]=k.useState(b||V());return be({tabs:ae}),E&&k.useEffect(()=>{F(!0)},[]),[U,D]}else be({tabs:b})}o.useTabs=I;async function A(b,E=!0){X({tab:b}),sessionStorage.setItem(T().STORAGE,ne.enCode(T())),E&&(Q().tabs&&Q().tabs(b))}o.setTabs=A;function V(){return T().tab}o.getTabs=V;function Re(b){return T().tab===b}o.isTabs=Re;function Se(b){if(typeof b!="function"){const[E,D]=k.useState(b||xe());return be({id:F=>{D(F)}}),E}else be({id:b})}o.useId=Se;function N(b){}o.subId=N;async function R(b,E=!0){X({id:b}),sessionStorage.setItem(T().STORAGE,ne.enCode(T())),E&&Q().id(b)}o.setId=R;function xe(){return T().id}o.getId=xe;function je(b){return Number(T().id)===b}o.isId=je;async function Oe(b){var E,D,F,U,ae,ie,B,M;const{page:$,module:K,tab:G,id:H}=b;$!==void 0&&(Z.page=$),K!==void 0&&(Z.module=K),G!==void 0&&(Z.tab=G),H!==void 0&&(Z.id=H),X({...Z}),H!==void 0&&((D=(E=Q()).id)==null||D.call(E,H)),G!==void 0&&((U=(F=Q()).tabs)==null||U.call(F,G)),K!==void 0&&((ie=(ae=Q()).module)==null||ie.call(ae,K)),$!==void 0&&((M=(B=Q()).page)==null||M.call(B,$)),sessionStorage.setItem(T().STORAGE,ne.enCode(T()))}o.navigate=Oe})(ye||(ye={}));let Xe={};function Qt(){const[o,n]=k.useState([]);return Xe.set=l=>{n([...o,l])},Xe.del=l=>{o.forEach((u,h)=>{u.key===l&&o.splice(h,1)}),n(o)},o.length===0?c.jsx(c.Fragment,{}):c.jsx("div",{className:"notice",children:o.map(l=>l.item)})}function er(o){let n=new Date().getTime();o.key=n,Xe.set({item:c.jsx(tr,{data:o},n),key:n})}function tr(o){const n=o.data;let[l]=k.useState("show"),[u,h]=k.useState(!1);k.useEffect(()=>{setTimeout(function(){h(!0),Xe.del(n.key)},5e3)},[n.key]);let v;switch(n.type){case"error":v=c.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z"});break;case"success":v=c.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z"});break;case"warning":v=c.jsx("path",{d:"M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z"});break;default:v="icon fa fa-exclamation-circle";break}return c.jsx(c.Fragment,{children:u?c.jsx(c.Fragment,{}):c.jsxs("div",{className:"item "+n.type+` ${n.thema!==void 0?" thema":""}`,"data-status":l,children:[c.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:v}),c.jsx("span",{className:"text",children:n.text})]})})}let Qe={Send:er,Init:Qt},Ee=()=>{};const rr=({children:o,title:n,isOverlay:l=!0})=>{const[u,h]=k.useState(!1);return Ee=()=>{h(!0),setTimeout(()=>{Lt.onClose()},300)},c.jsx("div",{className:`footer-menu-overlay ${l?"is-overlay":""} ${u?"closing":""}`,onClick:Ee,children:c.jsxs("div",{className:`footer-menu-popup-book ${u?"closing":""}`,onClick:v=>v.stopPropagation(),children:[c.jsxs("div",{className:"footer-menu-header",children:[c.jsx("h3",{children:n}),c.jsx("button",{className:"footer-menu-close-btn",onClick:Ee,children:"✕"})]}),o]})})},Lt=[],Ut=(o,n)=>o.findIndex(l=>(l==null?void 0:l.page)===n),or=({actions:o,children:n,className:l,page:u,setPage:h})=>{const[v,C]=k.useState(null),[_,d]=k.useState(u?Ut(o||[],u):0);return Lt.onClose=()=>{C(null),d(u?Ut(o||[],u):0)},k.useEffect(()=>{document.addEventListener("blur",()=>{document.querySelector("footer").style.display="flex"}),document.addEventListener("focus",()=>{document.querySelector("footer").style.display="none"})},[]),c.jsxs(c.Fragment,{children:[v,c.jsxs("footer",{className:l,children:[n,o&&c.jsx("div",{className:"actions-book",children:o.map((w,g)=>c.jsx("div",{"data-active":_===g?"true":"false",onClick:()=>{w.page&&(d(g),h==null||h(w.page)),w.callback&&(w.callback(),d(g)),w.component&&(_===g?Ee():(C(w.component),d(g)))},children:w.icon},g))})]})]})},m=window.Telegram.WebApp,le={is:!1,MainButton:{},BackButton:{}};let W={};W.dark={"--tg-theme-subtitle-text-color":"#98989e","--tg-theme-destructive-text-color":"#e53935","--tg-theme-section-separator-color":"#545458","--tg-theme-link-color":"#3e88f7","--tg-theme-accent-text-color":"#3e88f7","--tg-theme-bg-color":"#000000","--tg-theme-secondary-bg-color":"#1c1c1d","--tg-theme-button-color":"#3e88f7","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#1d1d1d","--tg-theme-section-header-text-color":"#8d8e93","--tg-theme-header-bg-color":"#1a1a1a","--tg-theme-hint-color":"#98989e","--tg-theme-text-color":"#ffffff","--tg-theme-section-bg-color":"#2c2c2e"},W.light={"--tg-theme-subtitle-text-color":"#8e8e93","--tg-theme-destructive-text-color":"#ff3b30","--tg-theme-section-separator-color":"#c8c7cc","--tg-theme-link-color":"#007aff","--tg-theme-accent-text-color":"#007aff","--tg-theme-bg-color":"#ffffff","--tg-theme-secondary-bg-color":"#efeff4","--tg-theme-button-color":"#007aff","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#f2f2f2","--tg-theme-section-header-text-color":"#6d6d72","--tg-theme-header-bg-color":"#f8f8f8","--tg-theme-hint-color":"#8e8e93","--tg-theme-text-color":"#000000","--tg-theme-section-bg-color":"#ffffff"},W.users={"--tg-theme-bg-color":"#000000","--tg-theme-text-color":"#ffffff","--tg-theme-hint-color":"#98989e","--tg-theme-link-color":"#ffffff","--tg-theme-button-color":"#ffffff","--tg-theme-button-text-color":"#000000","--tg-theme-secondary-bg-color":"#000000"},m.getUser=()=>{var o;return((o=m.initDataUnsafe)==null?void 0:o.user)===void 0?{}:m.initDataUnsafe},m.Notice=(o,n,l)=>{var u,h;n!==void 0?(Qe.Send({type:o,text:n,thema:l}),(u=m.HapticFeedback)==null||u.notificationOccurred(o)):(Qe.Send(o),(h=m.HapticFeedback)==null||h.notificationOccurred(o.type))},m.MainButton.callback=[],m.MainButton.set=o=>{le.is?le.MainButton.set(o):(m.MainButton.callback.forEach(n=>{m.MainButton.offClick(n)}),m.MainButton.callback=[],typeof o=="boolean"?m.MainButton.isVisible=!1:(m.MainButton.text=o.text,o.color&&(m.MainButton.color=o.color),o.textColor&&(m.MainButton.textColor=o.textColor),m.MainButton.isVisible=!0,m.MainButton.isActive=o.isActive===void 0?!0:o.isActive,m.MainButton.callback.push(()=>{var n;o.page===void 0?(n=o.callback)==null||n.call(o):ye.setPage(o.page)}),m.MainButton.onClick(m.MainButton.callback[0])))},m.BackButton.state=[!1],m.BackButton.listen=[],m.BackButton.router=o=>{o===!1?(m.BackButton.isVisible=!1,m.BackButton.offClick(m.BackButton.listen[0]),m.BackButton.listen.shift(),m.BackButton.state.length!==1&&m.BackButton.state.pop()):(m.BackButton.isVisible=!0,m.BackButton.offClick(m.BackButton.listen[0]),m.BackButton.listen.shift(),m.BackButton.listen.push(()=>{var l;let n=m.BackButton.state.pop();n.page!==void 0?ye.setPage(n.page):(l=n.callback)==null||l.call(n)}),m.BackButton.onClick(m.BackButton.listen[0]))},m.BackButton.set=o=>{le.is?le.BackButton.set(o):(m.BackButton.state.push(o),m.BackButton.router(o))},m.Init=({dev:o})=>{if(o){let[n,l]=k.useState(!1),[u,h]=k.useState(!1),[v,C]=k.useState("dark"),[_,d]=k.useState(!1),[w,g]=k.useState(!1);le.is=!0,le.MainButton.set=l,le.BackButton.set=h,k.useEffect(()=>{W[v]["--tg-theme-bg-color-alpha"]=W[v]["--tg-theme-bg-color"]+"b3",W[v]["--tg-theme-secondary-bg-color-alpha"]=W[v]["--tg-theme-secondary-bg-color"]+"d3";for(let A in W[v])document.documentElement.style.setProperty(A,W[v][A]);m.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let S=A=>{for(let V in W[A])document.documentElement.style.setProperty(V,W[A][V]);C(A),d(!1)},I=()=>{d(!1),g(!0)};return c.jsxs(c.Fragment,{children:[c.jsxs("header",{className:"debug",children:[u===!1?c.jsx("div",{className:"b",children:"Отмена"}):c.jsx("div",{onClick:()=>{var A;u.page===void 0?(A=u.callback)==null||A.call(u):ye.setPage(u.page)},className:"b",children:"Назад"}),c.jsx("div",{className:"o",onClick:()=>d(!_),children:"Меню"})]}),c.jsx(Qe.Init,{}),n&&c.jsx("div",{className:"mb",children:c.jsx("button",{onClick:()=>{n.page&&ye.setPage(n.page),n.callback&&n.callback()},children:n.text})}),_?c.jsxs("div",{className:"tm",children:[c.jsxs("ul",{children:[c.jsx("li",{children:c.jsx("button",{onClick:I,children:"Authorization"})}),c.jsx("li",{})]}),c.jsxs("ul",{children:[c.jsxs("li",{children:[c.jsx("button",{children:"Thema"}),c.jsxs("ol",{children:[c.jsx("li",{children:c.jsx("button",{onClick:()=>S("dark"),children:"Dark"})}),c.jsx("li",{children:c.jsx("button",{onClick:()=>S("light"),children:"Light"})}),c.jsx("li",{children:c.jsx("button",{onClick:()=>S("users"),children:"Users"})})]})]}),c.jsx("li",{children:c.jsx("button",{onClick:()=>d(!_),children:"Closed"})})]})]}):"",w?c.jsx(nr,{setAuthorization:g}):""]})}else return k.useEffect(()=>{document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",m.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",m.themeParams.bg_color+"b3"),m.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),c.jsx(c.Fragment,{children:c.jsx(Qe.Init,{})})},m.Modal=tt,m.Footer=or,m.FooterMenu=rr,m.toggleFooterMenu=Ee;const nr=({setAuthorization:o})=>{let n={},l=()=>{localStorage.setItem("auth",n)};return c.jsx("div",{className:"ta",children:c.jsxs("div",{className:"--body",children:[c.jsx("fieldset",{}),c.jsx("div",{onClick:l,children:" Сохранить "})]})})};return m});
60
+ <%s key={someKey} {...props} />`,ve,L,jt,L),qe[L+ve]=!0}}return e===u?wt(x):_t(x),x}}function Et(e,t,r){return He(e,t,r,!0)}function Rt(e,t,r){return He(e,t,r,!1)}var St=Rt,Ot=Et;Ze.Fragment=u,Ze.jsx=St,Ze.jsxs=Ot}()),Ze}process.env.NODE_ENV==="production"?Qt():er();const tr="0.0.37",Lt={version:tr},X={},rt={module:"",v:Lt.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{}};function le(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}le().elcrm||(le().elcrm={}),Object.assign(le().elcrm,{router:Lt.version});function Q(o){const n=le();n.ROUTER_PARAMS?n.ROUTER_PARAMS={...n.ROUTER_PARAMS,...o}:n.ROUTER_PARAMS={...rt,...o}}function T(){return le().ROUTER_PARAMS||rt}function be(o){const n=le();n.ROUTER_PARAMS?n.ROUTER_PARAMS.LISTENER={...n.ROUTER_PARAMS.LISTENER,...o}:n.ROUTER_PARAMS.LISTENER={...o}}function ee(){return le().ROUTER_PARAMS.LISTENER||rt.LISTENER}var ye;(o=>{function n(){var b;let w=sessionStorage.getItem("f");if(w){if(w=ae.deCode(w),!w)return!1;Q({id:w.id,tab:w.tab,page:w.page,module:w.module,time:w.time,payment:{active:!0},module_admin:w.module_admin})}else Q({id:0,tab:"",page:(b=localStorage.getItem("d"))!=null&&b.length?T().page:T().auth,module:T().module});return!0}function l(){X.id=0,X.tab="",X.page=T().page,X.module=T().module}o.Reset=l;function u({module:b=T().module,page:w=T().page,auth:M=T().auth}){Q({page:w,module:b,auth:M}),n()}o.Default=u;function h(b){let w=U=>(Q({page:U}),U);const[M,F]=E.useState(C()||b&&w(b)||T().page);return be({page:U=>{F(U)}}),M}o.usePage=h;function v(b,w=!0,M={}){Q({page:b,...M}),sessionStorage.setItem(T().STORAGE,ae.enCode(T())),w&&ee().page(b)}o.setPage=v;function C(){return T().page}o.getPage=C;function _(b){return T().page===b}o.isPage=_;function d(b,w){const[M,F]=E.useState(p()||b||T().module);return be({module:F}),M}o.useModule=d;function S(b,w=!0){Q({module:b}),sessionStorage.setItem(T().STORAGE,ae.enCode(T())),w&&ee().module(b)}o.setModule=S;function p(){return T().module||""}o.getModule=p;function k(b){return T().module===b}o.isModule=k;function I(b,w){if(typeof b!="function"){const[M,F]=E.useState(!w),[U,ie]=E.useState(b||V());return be({tabs:ie}),w&&E.useEffect(()=>{F(!0)},[]),[U,M]}else be({tabs:b})}o.useTabs=I;async function A(b,w=!0){Q({tab:b}),sessionStorage.setItem(T().STORAGE,ae.enCode(T())),w&&(ee().tabs&&ee().tabs(b))}o.setTabs=A;function V(){return T().tab}o.getTabs=V;function Re(b){return T().tab===b}o.isTabs=Re;function Se(b){if(typeof b!="function"){const[w,M]=E.useState(b||xe());return be({id:F=>{M(F)}}),w}else be({id:b})}o.useId=Se;function N(b){}o.subId=N;async function R(b,w=!0){Q({id:b}),sessionStorage.setItem(T().STORAGE,ae.enCode(T())),w&&ee().id(b)}o.setId=R;function xe(){return T().id}o.getId=xe;function Oe(b){return Number(T().id)===b}o.isId=Oe;async function je(b){var w,M,F,U,ie,se,B,D;const{page:$,module:K,tab:G,id:Z}=b;$!==void 0&&(X.page=$),K!==void 0&&(X.module=K),G!==void 0&&(X.tab=G),Z!==void 0&&(X.id=Z),Q({...X}),Z!==void 0&&((M=(w=ee()).id)==null||M.call(w,Z)),G!==void 0&&((U=(F=ee()).tabs)==null||U.call(F,G)),K!==void 0&&((se=(ie=ee()).module)==null||se.call(ie,K)),$!==void 0&&((D=(B=ee()).page)==null||D.call(B,$)),sessionStorage.setItem(T().STORAGE,ae.enCode(T()))}o.navigate=je})(ye||(ye={}));let Xe={};function rr(){const[o,n]=E.useState([]);return Xe.set=l=>{n([...o,l])},Xe.del=l=>{o.forEach((u,h)=>{u.key===l&&o.splice(h,1)}),n(o)},o.length===0?c.jsx(c.Fragment,{}):c.jsx("div",{className:"notice",children:o.map(l=>l.item)})}function or(o){let n=new Date().getTime();o.key=n,Xe.set({item:c.jsx(nr,{data:o},n),key:n})}function nr(o){const n=o.data;let[l]=E.useState("show"),[u,h]=E.useState(!1);E.useEffect(()=>{setTimeout(function(){h(!0),Xe.del(n.key)},5e3)},[n.key]);let v;switch(n.type){case"error":v=c.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z"});break;case"success":v=c.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z"});break;case"warning":v=c.jsx("path",{d:"M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z"});break;default:v="icon fa fa-exclamation-circle";break}return c.jsx(c.Fragment,{children:u?c.jsx(c.Fragment,{}):c.jsxs("div",{className:"item "+n.type+` ${n.thema!==void 0?" thema":""}`,"data-status":l,children:[c.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:v}),c.jsx("span",{className:"text",children:n.text})]})})}let Qe={Send:or,Init:rr},Ee=()=>{};const ar=({children:o,title:n,isOverlay:l=!0})=>{const[u,h]=E.useState(!1);return Ee=()=>{h(!0),setTimeout(()=>{zt.onClose()},300)},c.jsx("div",{className:`footer-menu-overlay ${l?"is-overlay":""} ${u?"closing":""}`,onClick:Ee,children:c.jsxs("div",{className:`footer-menu-popup-book ${u?"closing":""}`,onClick:v=>v.stopPropagation(),children:[c.jsxs("div",{className:"footer-menu-header",children:[c.jsx("h3",{children:n}),c.jsx("button",{className:"footer-menu-close-btn",onClick:Ee,children:"✕"})]}),o]})})},Ut={h:"_h_rl5ga_1",row:"_row_rl5ga_14",column:"_column_rl5ga_17"},zt=[],Yt=(o,n)=>o.findIndex(l=>(l==null?void 0:l.page)===n),Wt=({actions:o,children:n,className:l,page:u,setPage:h,direction:v="row"})=>{const[C,_]=E.useState(null),[d,S]=E.useState(u?Yt(o||[],u):0);return zt.onClose=()=>{_(null),S(u?Yt(o||[],u):0)},E.useEffect(()=>{document.addEventListener("blur",()=>{document.querySelector("footer").style.display="flex"}),document.addEventListener("focus",()=>{document.querySelector("footer").style.display="none"})},[]),c.jsxs(c.Fragment,{children:[C,c.jsxs("footer",{className:`${Ut.h} ${Ut[v]} ${l} `,children:[n,o&&o.map((p,k)=>c.jsx("div",{"data-active":d===k?"true":"false",onClick:()=>{p.page&&(S(k),h==null||h(p.page)),p.callback&&(p.callback(),S(k)),p.component&&(d===k?Ee():(_(p.component),S(k)))},children:p.icon},k))]})]})},m=window.Telegram.WebApp,ce={is:!1,MainButton:{},BackButton:{}};let W={};W.dark={"--tg-theme-subtitle-text-color":"#98989e","--tg-theme-destructive-text-color":"#e53935","--tg-theme-section-separator-color":"#545458","--tg-theme-link-color":"#3e88f7","--tg-theme-accent-text-color":"#3e88f7","--tg-theme-bg-color":"#000000","--tg-theme-secondary-bg-color":"#1c1c1d","--tg-theme-button-color":"#3e88f7","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#1d1d1d","--tg-theme-section-header-text-color":"#8d8e93","--tg-theme-header-bg-color":"#1a1a1a","--tg-theme-hint-color":"#98989e","--tg-theme-text-color":"#ffffff","--tg-theme-section-bg-color":"#2c2c2e"},W.light={"--tg-theme-subtitle-text-color":"#8e8e93","--tg-theme-destructive-text-color":"#ff3b30","--tg-theme-section-separator-color":"#c8c7cc","--tg-theme-link-color":"#007aff","--tg-theme-accent-text-color":"#007aff","--tg-theme-bg-color":"#ffffff","--tg-theme-secondary-bg-color":"#efeff4","--tg-theme-button-color":"#007aff","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#f2f2f2","--tg-theme-section-header-text-color":"#6d6d72","--tg-theme-header-bg-color":"#f8f8f8","--tg-theme-hint-color":"#8e8e93","--tg-theme-text-color":"#000000","--tg-theme-section-bg-color":"#ffffff"},W.users={"--tg-theme-bg-color":"#000000","--tg-theme-text-color":"#ffffff","--tg-theme-hint-color":"#98989e","--tg-theme-link-color":"#ffffff","--tg-theme-button-color":"#ffffff","--tg-theme-button-text-color":"#000000","--tg-theme-secondary-bg-color":"#000000"},m.getUser=()=>{var o;return((o=m.initDataUnsafe)==null?void 0:o.user)===void 0?{}:m.initDataUnsafe},m.Notice=(o,n,l)=>{var u,h;n!==void 0?(Qe.Send({type:o,text:n,thema:l}),(u=m.HapticFeedback)==null||u.notificationOccurred(o)):(Qe.Send(o),(h=m.HapticFeedback)==null||h.notificationOccurred(o.type))},m.MainButton.callback=[],m.MainButton.set=o=>{ce.is?ce.MainButton.set(o):(m.MainButton.callback.forEach(n=>{m.MainButton.offClick(n)}),m.MainButton.callback=[],typeof o=="boolean"?m.MainButton.isVisible=!1:(m.MainButton.text=o.text,o.color&&(m.MainButton.color=o.color),o.textColor&&(m.MainButton.textColor=o.textColor),m.MainButton.isVisible=!0,m.MainButton.isActive=o.isActive===void 0?!0:o.isActive,m.MainButton.callback.push(()=>{var n;o.page===void 0?(n=o.callback)==null||n.call(o):ye.setPage(o.page)}),m.MainButton.onClick(m.MainButton.callback[0])))},m.BackButton.state=[!1],m.BackButton.listen=[],m.BackButton.router=o=>{o===!1?(m.BackButton.isVisible=!1,m.BackButton.offClick(m.BackButton.listen[0]),m.BackButton.listen.shift(),m.BackButton.state.length!==1&&m.BackButton.state.pop()):(m.BackButton.isVisible=!0,m.BackButton.offClick(m.BackButton.listen[0]),m.BackButton.listen.shift(),m.BackButton.listen.push(()=>{var l;let n=m.BackButton.state.pop();n.page!==void 0?ye.setPage(n.page):(l=n.callback)==null||l.call(n)}),m.BackButton.onClick(m.BackButton.listen[0]))},m.BackButton.set=o=>{ce.is?ce.BackButton.set(o):(m.BackButton.state.push(o),m.BackButton.router(o))},m.Header=({dev:o})=>{if(o){let[n,l]=E.useState(!1),[u,h]=E.useState(!1),[v,C]=E.useState("dark"),[_,d]=E.useState(!1),[S,p]=E.useState(!1);ce.is=!0,ce.MainButton.set=l,ce.BackButton.set=h,E.useEffect(()=>{W[v]["--tg-theme-bg-color-alpha"]=W[v]["--tg-theme-bg-color"]+"b3",W[v]["--tg-theme-secondary-bg-color-alpha"]=W[v]["--tg-theme-secondary-bg-color"]+"d3";for(let A in W[v])document.documentElement.style.setProperty(A,W[v][A]);m.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let k=A=>{for(let V in W[A])document.documentElement.style.setProperty(V,W[A][V]);C(A),d(!1)},I=()=>{d(!1),p(!0)};return c.jsxs(c.Fragment,{children:[c.jsxs("header",{className:"debug",children:[u===!1?c.jsx("div",{className:"b",children:"Отмена"}):c.jsx("div",{onClick:()=>{var A;u.page===void 0?(A=u.callback)==null||A.call(u):ye.setPage(u.page)},className:"b",children:"Назад"}),c.jsx("div",{className:"o",onClick:()=>d(!_),children:"Меню"})]}),c.jsx(Qe.Init,{}),n&&c.jsx("div",{className:"mb",children:c.jsx("button",{onClick:()=>{n.page&&ye.setPage(n.page),n.callback&&n.callback()},children:n.text})}),_?c.jsxs("div",{className:"tm",children:[c.jsxs("ul",{children:[c.jsx("li",{children:c.jsx("button",{onClick:I,children:"Authorization"})}),c.jsx("li",{})]}),c.jsxs("ul",{children:[c.jsxs("li",{children:[c.jsx("button",{children:"Thema"}),c.jsxs("ol",{children:[c.jsx("li",{children:c.jsx("button",{onClick:()=>k("dark"),children:"Dark"})}),c.jsx("li",{children:c.jsx("button",{onClick:()=>k("light"),children:"Light"})}),c.jsx("li",{children:c.jsx("button",{onClick:()=>k("users"),children:"Users"})})]})]}),c.jsx("li",{children:c.jsx("button",{onClick:()=>d(!_),children:"Closed"})})]})]}):"",S?c.jsx(ir,{setAuthorization:p}):""]})}else return E.useEffect(()=>{document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",m.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",m.themeParams.bg_color+"b3"),m.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),c.jsx(c.Fragment,{children:c.jsx(Qe.Init,{})})},m.Modal=tt,m.Footer=Wt,m.FooterMenu=ar,m.toggleFooterMenu=Ee;const ir=({setAuthorization:o})=>{let n={},l=()=>{localStorage.setItem("auth",n)};return c.jsx("div",{className:"ta",children:c.jsxs("div",{className:"--body",children:[c.jsx("fieldset",{}),c.jsx("div",{onClick:l,children:" Сохранить "})]})})};q.Footer=Wt,q.default=m,Object.defineProperties(q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elcrm/telegram",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "description": "plugin for elCRM to work with telegram",
5
5
  "type": "module",
6
6
  "author": "MaSkal <dev@elcrm.online>",