bonuspluscomponents 0.0.55 → 0.0.57

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.
@@ -17,7 +17,7 @@ interface CabinetSettings {
17
17
  type ProviderApp = {
18
18
  cabinetType: CabinetType | null;
19
19
  cabinetIsLoading: boolean;
20
- apiAxios: AxiosInstance | null;
20
+ apiAxios: () => AxiosInstance;
21
21
  phoneNumber: string | null;
22
22
  setPhoneNumber: React.Dispatch<React.SetStateAction<string | null>>;
23
23
  cabinetSettings: CabinetSettings | null;
@@ -1 +1 @@
1
- {"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../src/AppContext/Context/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAKpC,aAAK,WAAW;IACZ,eAAe,IAAA;IACf,QAAQ,IAAA;IACR,EAAE,IAAA;CACL;AAED,UAAU,eAAe;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;CAClB;AAGD,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAA;IAE9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEpE,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IAExC,SAAS,EAAC,MAAM,GAAC,IAAI,CAAC;IACtB,YAAY,EAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEjE,WAAW,EAAC,CAAC,SAAS,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,KAAG,IAAI,CAAC;CACrD,CAAC;AAqBF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AAiD3D,eAAO,MAAM,WAAW;cAAyC,WAAW;iBAAe,WAAW;6CAIrG,CAAC"}
1
+ {"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../src/AppContext/Context/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAc,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAK3C,aAAK,WAAW;IACZ,eAAe,IAAA;IACf,QAAQ,IAAA;IACR,EAAE,IAAA;CACL;AAED,UAAU,eAAe;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;CAClB;AAGD,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAC,MAAK,aAAa,CAAC;IAE5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEpE,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IAExC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAElE,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D,CAAC;AAqBF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AA0D3D,eAAO,MAAM,WAAW;cAAyC,WAAW;iBAAe,WAAW;6CAIrG,CAAC"}
@@ -1,29 +1,29 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),or=require("axios");var Q={exports:{}},I={};/*
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),ir=require("axios");var Z={exports:{}},I={};/*
2
2
  object-assign
3
3
  (c) Sindre Sorhus
4
4
  @license MIT
5
- */var X,je;function Se(){if(je)return X;je=1;var f=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;function y(E){if(E==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(E)}function w(){try{if(!Object.assign)return!1;var E=new String("abc");if(E[5]="de",Object.getOwnPropertyNames(E)[0]==="5")return!1;for(var O={},l=0;l<10;l++)O["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(O).map(function(s){return O[s]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(s){d[s]=s}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return X=w()?Object.assign:function(E,O){for(var l,c=y(E),d,s=1;s<arguments.length;s++){l=Object(arguments[s]);for(var P in l)_.call(l,P)&&(c[P]=l[P]);if(f){d=f(l);for(var b=0;b<d.length;b++)h.call(l,d[b])&&(c[d[b]]=l[d[b]])}}return c},X}/** @license React v17.0.2
5
+ */var H,Ce;function we(){if(Ce)return H;Ce=1;var f=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;function P(b){if(b==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(b)}function j(){try{if(!Object.assign)return!1;var b=new String("abc");if(b[5]="de",Object.getOwnPropertyNames(b)[0]==="5")return!1;for(var y={},c=0;c<10;c++)y["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(y).map(function(s){return y[s]});if(l.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(s){g[s]=s}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return H=j()?Object.assign:function(b,y){for(var c,l=P(b),g,s=1;s<arguments.length;s++){c=Object(arguments[s]);for(var R in c)_.call(c,R)&&(l[R]=c[R]);if(f){g=f(c);for(var h=0;h<g.length;h++)E.call(c,g[h])&&(l[g[h]]=c[g[h]])}}return l},H}/** @license React v17.0.2
6
6
  * react-jsx-runtime.production.min.js
7
7
  *
8
8
  * Copyright (c) Facebook, Inc. and its affiliates.
9
9
  *
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
- */var Te;function ur(){if(Te)return I;Te=1,Se();var f=T,_=60103;if(I.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var h=Symbol.for;_=h("react.element"),I.Fragment=h("react.fragment")}var y=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function O(l,c,d){var s,P={},b=null,S=null;d!==void 0&&(b=""+d),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(S=c.ref);for(s in c)w.call(c,s)&&!E.hasOwnProperty(s)&&(P[s]=c[s]);if(l&&l.defaultProps)for(s in c=l.defaultProps,c)P[s]===void 0&&(P[s]=c[s]);return{$$typeof:_,type:l,key:b,ref:S,props:P,_owner:y.current}}return I.jsx=O,I.jsxs=O,I}var Z={};/** @license React v17.0.2
12
+ */var je;function or(){if(je)return I;je=1,we();var f=C,_=60103;if(I.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;_=E("react.element"),I.Fragment=E("react.fragment")}var P=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,j=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function y(c,l,g){var s,R={},h=null,S=null;g!==void 0&&(h=""+g),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(S=l.ref);for(s in l)j.call(l,s)&&!b.hasOwnProperty(s)&&(R[s]=l[s]);if(c&&c.defaultProps)for(s in l=c.defaultProps,l)R[s]===void 0&&(R[s]=l[s]);return{$$typeof:_,type:c,key:h,ref:S,props:R,_owner:P.current}}return I.jsx=y,I.jsxs=y,I}var X={};/** @license React v17.0.2
13
13
  * react-jsx-runtime.development.js
14
14
  *
15
15
  * Copyright (c) Facebook, Inc. and its affiliates.
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var we;function sr(){return we||(we=1,function(f){process.env.NODE_ENV!=="production"&&function(){var _=T,h=Se(),y=60103,w=60106;f.Fragment=60107;var E=60108,O=60114,l=60109,c=60110,d=60112,s=60113,P=60120,b=60115,S=60116,L=60121,ee=60122,re=60117,te=60129,ne=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;y=p("react.element"),w=p("react.portal"),f.Fragment=p("react.fragment"),E=p("react.strict_mode"),O=p("react.profiler"),l=p("react.provider"),c=p("react.context"),d=p("react.forward_ref"),s=p("react.suspense"),P=p("react.suspense_list"),b=p("react.memo"),S=p("react.lazy"),L=p("react.block"),ee=p("react.server.block"),re=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),te=p("react.debug_trace_mode"),p("react.offscreen"),ne=p("react.legacy_hidden")}var ae=typeof Symbol=="function"&&Symbol.iterator,De="@@iterator";function Ie(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[De];return typeof r=="function"?r:null}var A=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];$e("error",e,t)}}function $e(e,r,t){{var n=A.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return""+i});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ye=!1;function We(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===O||e===te||e===E||e===s||e===P||e===ne||Ye||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===b||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===re||e.$$typeof===L||e[0]===ee))}function Le(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function ie(e){return e.displayName||"Context"}function x(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentName(). 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 f.Fragment:return"Fragment";case w:return"Portal";case O:return"Profiler";case E:return"StrictMode";case s:return"Suspense";case P:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c:var r=e;return ie(r)+".Consumer";case l:var t=e;return ie(t._context)+".Provider";case d:return Le(e,e.render,"ForwardRef");case b:return x(e.type);case L:return x(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return x(u(o))}catch{return null}}}return null}var Y=0,oe,ue,se,ce,fe,le,de;function ve(){}ve.__reactDisabledLog=!0;function Ne(){{if(Y===0){oe=console.log,ue=console.info,se=console.warn,ce=console.error,fe=console.group,le=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:h({},e,{value:oe}),info:h({},e,{value:ue}),warn:h({},e,{value:se}),error:h({},e,{value:ce}),group:h({},e,{value:fe}),groupCollapsed:h({},e,{value:le}),groupEnd:h({},e,{value:de})})}Y<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=A.ReactCurrentDispatcher,M;function N(e,r,t){{if(M===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);M=n&&n[1]||""}return`
20
- `+M+e}}var B=!1,U;{var Ve=typeof WeakMap=="function"?WeakMap:Map;U=new Ve}function pe(e,r){if(!e||B)return"";{var t=U.get(e);if(t!==void 0)return t}var n;B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ne();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(j){n=j}Reflect.construct(e,[],i)}else{try{i.call()}catch(j){n=j}e.call(i.prototype)}}else{try{throw Error()}catch(j){n=j}e()}}catch(j){if(j&&n&&typeof j.stack=="string"){for(var a=j.stack.split(`
21
- `),R=n.stack.split(`
22
- `),v=a.length-1,g=R.length-1;v>=1&&g>=0&&a[v]!==R[g];)g--;for(;v>=1&&g>=0;v--,g--)if(a[v]!==R[g]){if(v!==1||g!==1)do if(v--,g--,g<0||a[v]!==R[g]){var C=`
23
- `+a[v].replace(" at new "," at ");return typeof e=="function"&&U.set(e,C),C}while(v>=1&&g>=0);break}}}finally{B=!1,q.current=u,Ue(),Error.prepareStackTrace=o}var D=e?e.displayName||e.name:"",Ce=D?N(D):"";return typeof e=="function"&&U.set(e,Ce),Ce}function ge(e,r,t){return pe(e,!1)}function Fe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function V(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,Fe(e));if(typeof e=="string")return N(e);switch(e){case s:return N("Suspense");case P:return N("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return ge(e.render);case b:return V(e.type,r,t);case L:return ge(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return V(u(o),r,t)}catch{}}}return""}var _e={},he=A.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function qe(e,r,t,n,o){{var u=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var R=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){a=v}a&&!(a instanceof Error)&&(F(o),m("%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).",n||"React class",t,i,typeof a),F(null)),a instanceof Error&&!(a.message in _e)&&(_e[a.message]=!0,F(o),m("Failed %s type: %s",t,a.message),F(null))}}}var W=A.ReactCurrentOwner,G=Object.prototype.hasOwnProperty,Me={key:!0,ref:!0,__self:!0,__source:!0},Ee,be,J;J={};function Be(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ge(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Je(e,r){if(typeof e.ref=="string"&&W.current&&r&&W.current.stateNode!==r){var t=x(W.current.type);J[t]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(W.current.type),e.ref),J[t]=!0)}}function ze(e,r){{var t=function(){Ee||(Ee=!0,m("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){be||(be=!0,m("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var He=function(e,r,t,n,o,u,i){var a={$$typeof:y,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Xe(e,r,t,n,o){{var u,i={},a=null,R=null;t!==void 0&&(a=""+t),Ge(r)&&(a=""+r.key),Be(r)&&(R=r.ref,Je(r,o));for(u in r)G.call(r,u)&&!Me.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var v=e.defaultProps;for(u in v)i[u]===void 0&&(i[u]=v[u])}if(a||R){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ze(i,g),R&&Ke(i,g)}return He(e,a,R,o,n,W.current,i)}}var z=A.ReactCurrentOwner,Re=A.ReactDebugCurrentFrame;function k(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}var K;K=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function me(){{if(z.current){var e=x(z.current.type);if(e)return`
19
+ */var Te;function ur(){return Te||(Te=1,function(f){process.env.NODE_ENV!=="production"&&function(){var _=C,E=we(),P=60103,j=60106;f.Fragment=60107;var b=60108,y=60114,c=60109,l=60110,g=60112,s=60113,R=60120,h=60115,S=60116,W=60121,Q=60122,ee=60117,re=60129,te=60131;if(typeof Symbol=="function"&&Symbol.for){var d=Symbol.for;P=d("react.element"),j=d("react.portal"),f.Fragment=d("react.fragment"),b=d("react.strict_mode"),y=d("react.profiler"),c=d("react.provider"),l=d("react.context"),g=d("react.forward_ref"),s=d("react.suspense"),R=d("react.suspense_list"),h=d("react.memo"),S=d("react.lazy"),W=d("react.block"),Q=d("react.server.block"),ee=d("react.fundamental"),d("react.scope"),d("react.opaque.id"),re=d("react.debug_trace_mode"),d("react.offscreen"),te=d("react.legacy_hidden")}var ne=typeof Symbol=="function"&&Symbol.iterator,ke="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[ke];return typeof r=="function"?r:null}var A=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=A.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return""+i});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var $e=!1;function Ye(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===y||e===re||e===b||e===s||e===R||e===te||$e||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===g||e.$$typeof===ee||e.$$typeof===W||e[0]===Q))}function We(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function ae(e){return e.displayName||"Context"}function x(e){if(e==null)return null;if(typeof e.tag=="number"&&O("Received an unexpected object in getComponentName(). 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 f.Fragment:return"Fragment";case j:return"Portal";case y:return"Profiler";case b:return"StrictMode";case s:return"Suspense";case R:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return ae(r)+".Consumer";case c:var t=e;return ae(t._context)+".Provider";case g:return We(e,e.render,"ForwardRef");case h:return x(e.type);case W:return x(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return x(u(o))}catch{return null}}}return null}var $=0,ie,oe,ue,se,ce,fe,le;function ve(){}ve.__reactDisabledLog=!0;function Le(){{if($===0){ie=console.log,oe=console.info,ue=console.warn,se=console.error,ce=console.group,fe=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function Ne(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:ie}),info:E({},e,{value:oe}),warn:E({},e,{value:ue}),error:E({},e,{value:se}),group:E({},e,{value:ce}),groupCollapsed:E({},e,{value:fe}),groupEnd:E({},e,{value:le})})}$<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var F=A.ReactCurrentDispatcher,q;function L(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
20
+ `+q+e}}var M=!1,N;{var Ue=typeof WeakMap=="function"?WeakMap:Map;N=new Ue}function de(e,r){if(!e||M)return"";{var t=N.get(e);if(t!==void 0)return t}var n;M=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=F.current,F.current=null,Le();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(w){n=w}Reflect.construct(e,[],i)}else{try{i.call()}catch(w){n=w}e.call(i.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var a=w.stack.split(`
21
+ `),m=n.stack.split(`
22
+ `),v=a.length-1,p=m.length-1;v>=1&&p>=0&&a[v]!==m[p];)p--;for(;v>=1&&p>=0;v--,p--)if(a[v]!==m[p]){if(v!==1||p!==1)do if(v--,p--,p<0||a[v]!==m[p]){var T=`
23
+ `+a[v].replace(" at new "," at ");return typeof e=="function"&&N.set(e,T),T}while(v>=1&&p>=0);break}}}finally{M=!1,F.current=u,Ne(),Error.prepareStackTrace=o}var D=e?e.displayName||e.name:"",xe=D?L(D):"";return typeof e=="function"&&N.set(e,xe),xe}function pe(e,r,t){return de(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return de(e,Ve(e));if(typeof e=="string")return L(e);switch(e){case s:return L("Suspense");case R:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return pe(e.render);case h:return U(e.type,r,t);case W:return pe(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return U(u(o),r,t)}catch{}}}return""}var ge={},he=A.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Fe(e,r,t,n,o){{var u=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){a=v}a&&!(a instanceof Error)&&(V(o),O("%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).",n||"React class",t,i,typeof a),V(null)),a instanceof Error&&!(a.message in ge)&&(ge[a.message]=!0,V(o),O("Failed %s type: %s",t,a.message),V(null))}}}var Y=A.ReactCurrentOwner,B=Object.prototype.hasOwnProperty,qe={key:!0,ref:!0,__self:!0,__source:!0},_e,Ee,G;G={};function Me(e){if(B.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(B.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){if(typeof e.ref=="string"&&Y.current&&r&&Y.current.stateNode!==r){var t=x(Y.current.type);G[t]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(Y.current.type),e.ref),G[t]=!0)}}function Je(e,r){{var t=function(){_e||(_e=!0,O("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ze(e,r){{var t=function(){Ee||(Ee=!0,O("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ke=function(e,r,t,n,o,u,i){var a={$$typeof:P,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function He(e,r,t,n,o){{var u,i={},a=null,m=null;t!==void 0&&(a=""+t),Be(r)&&(a=""+r.key),Me(r)&&(m=r.ref,Ge(r,o));for(u in r)B.call(r,u)&&!qe.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var v=e.defaultProps;for(u in v)i[u]===void 0&&(i[u]=v[u])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Je(i,p),m&&ze(i,p)}return Ke(e,a,m,o,n,Y.current,i)}}var J=A.ReactCurrentOwner,be=A.ReactDebugCurrentFrame;function k(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}var z;z=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function Re(){{if(J.current){var e=x(J.current.type);if(e)return`
24
24
 
25
- Check the render method of \``+e+"`."}return""}}function Ze(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
25
+ Check the render method of \``+e+"`."}return""}}function Xe(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
26
26
 
27
- Check your code at `+r+":"+t+"."}return""}}var Oe={};function Qe(e){{var r=me();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
27
+ Check your code at `+r+":"+t+"."}return""}}var me={};function Ze(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
28
28
 
29
- Check the top-level render call using <`+t+">.")}return r}}function Pe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Qe(r);if(Oe[t])return;Oe[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+x(e._owner.type)+"."),k(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),k(null)}}function ye(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Pe(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var o=Ie(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)H(i.value)&&Pe(i.value,r)}}}function er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===b))t=r.propTypes;else return;if(t){var n=x(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!K){K=!0;var o=x(r);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){k(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),k(null);break}}e.ref!==null&&(k(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),k(null))}}function xe(e,r,t,n,o,u){{var i=We(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 R=Ze(o);R?a+=R:a+=me();var v;e===null?v="null":Array.isArray(e)?v="array":e!==void 0&&e.$$typeof===y?(v="<"+(x(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,a)}var g=Xe(e,r,t,o,u);if(g==null)return g;if(i){var C=r.children;if(C!==void 0)if(n)if(Array.isArray(C)){for(var D=0;D<C.length;D++)ye(C[D],e);Object.freeze&&Object.freeze(C)}else m("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 ye(C,e)}return e===f.Fragment?rr(g):er(g),g}}function tr(e,r,t){return xe(e,r,t,!0)}function nr(e,r,t){return xe(e,r,t,!1)}var ar=nr,ir=tr;f.jsx=ar,f.jsxs=ir}()}(Z)),Z}process.env.NODE_ENV==="production"?Q.exports=ur():Q.exports=sr();var Ae=Q.exports;const cr={popups:[]},fr=T.createContext(cr),lr=()=>{const[f,_]=T.useState([]);return{popups:f}},dr=({children:f})=>{const _=lr();return Ae.jsx(fr.Provider,{value:_,children:f})},$=or.create(),vr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},ke=T.createContext(vr),pr=({cabinetType:f})=>{const[_,h]=T.useState(null),[y,w]=T.useState(null),[E,O]=T.useState(null);return T.useEffect(()=>{(async()=>{if(!$||!_||f===null)return;const d=await $.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:_,cabinetType:f});O(d.data)})()},[_,$]),{cabinetType:f,apiAxios:$,cabinetIsLoading:!1,cabinetSettings:E,phoneNumber:_,setPhoneNumber:h,authToken:y,setAuthToken:w,createAxios:(c,d)=>{$.defaults.baseURL=d,$.defaults.headers.common.Authorization=c}}},gr=({children:f,cabinetType:_})=>{const h=pr({cabinetType:_});return Ae.jsx(ke.Provider,{value:{...h,cabinetType:_},children:f})};exports.AppContext=ke;exports.AppProvider=gr;exports.PopupProvider=dr;
29
+ Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ze(r);if(me[t])return;me[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+x(e._owner.type)+"."),k(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),k(null)}}function Pe(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&Oe(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var o=De(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)K(i.value)&&Oe(i.value,r)}}}function Qe(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=x(r);Fe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var o=x(r);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function er(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){k(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),k(null);break}}e.ref!==null&&(k(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),k(null))}}function ye(e,r,t,n,o,u){{var i=Ye(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 m=Xe(o);m?a+=m:a+=Re();var v;e===null?v="null":Array.isArray(e)?v="array":e!==void 0&&e.$$typeof===P?(v="<"+(x(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,a)}var p=He(e,r,t,o,u);if(p==null)return p;if(i){var T=r.children;if(T!==void 0)if(n)if(Array.isArray(T)){for(var D=0;D<T.length;D++)Pe(T[D],e);Object.freeze&&Object.freeze(T)}else O("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 Pe(T,e)}return e===f.Fragment?er(p):Qe(p),p}}function rr(e,r,t){return ye(e,r,t,!0)}function tr(e,r,t){return ye(e,r,t,!1)}var nr=tr,ar=rr;f.jsx=nr,f.jsxs=ar}()}(X)),X}process.env.NODE_ENV==="production"?Z.exports=or():Z.exports=ur();var Se=Z.exports;const sr={popups:[]},cr=C.createContext(sr),fr=()=>{const[f,_]=C.useState([]);return{popups:f}},lr=({children:f})=>{const _=fr();return Se.jsx(cr.Provider,{value:_,children:f})},vr={cabinetType:null,cabinetIsLoading:!0,apiAxios:()=>null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},Ae=C.createContext(vr),dr=({cabinetType:f})=>{const[_,E]=C.useState(null),[P,j]=C.useState(null),[b,y]=C.useState(null),c=()=>ir.create({baseURL:b??"",headers:{Authorization:`Bearer ${P}`}}),[l,g]=C.useState(null);return C.useEffect(()=>{(async()=>{if(!P||!_||f===null)return;const h=await c().post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:_,cabinetType:f});g(h.data)})()},[_,P]),{cabinetType:f,apiAxios:c,cabinetIsLoading:!1,cabinetSettings:l,phoneNumber:_,setPhoneNumber:E,authToken:P,setAuthToken:j,createAxios:(R,h)=>{j(R),y(h)}}},pr=({children:f,cabinetType:_})=>{const E=dr({cabinetType:_});return Se.jsx(Ae.Provider,{value:{...E,cabinetType:_},children:f})};exports.AppContext=Ae;exports.AppProvider=pr;exports.PopupProvider=lr;
@@ -1,57 +1,57 @@
1
- import Ae, { createContext as Se, useState as F, useEffect as ur } from "react";
2
- import sr from "axios";
3
- var Q = { exports: {} }, D = {};
1
+ import we, { createContext as Ae, useState as Y, useEffect as or } from "react";
2
+ import ur from "axios";
3
+ var Z = { exports: {} }, D = {};
4
4
  /*
5
5
  object-assign
6
6
  (c) Sindre Sorhus
7
7
  @license MIT
8
8
  */
9
- var X, Ce;
10
- function ke() {
11
- if (Ce)
12
- return X;
13
- Ce = 1;
14
- var f = Object.getOwnPropertySymbols, _ = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
15
- function y(E) {
16
- if (E == null)
9
+ var H, je;
10
+ function Se() {
11
+ if (je)
12
+ return H;
13
+ je = 1;
14
+ var f = Object.getOwnPropertySymbols, _ = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
15
+ function P(b) {
16
+ if (b == null)
17
17
  throw new TypeError("Object.assign cannot be called with null or undefined");
18
- return Object(E);
18
+ return Object(b);
19
19
  }
20
- function T() {
20
+ function j() {
21
21
  try {
22
22
  if (!Object.assign)
23
23
  return !1;
24
- var E = new String("abc");
25
- if (E[5] = "de", Object.getOwnPropertyNames(E)[0] === "5")
24
+ var b = new String("abc");
25
+ if (b[5] = "de", Object.getOwnPropertyNames(b)[0] === "5")
26
26
  return !1;
27
- for (var O = {}, l = 0; l < 10; l++)
28
- O["_" + String.fromCharCode(l)] = l;
29
- var c = Object.getOwnPropertyNames(O).map(function(s) {
30
- return O[s];
27
+ for (var x = {}, c = 0; c < 10; c++)
28
+ x["_" + String.fromCharCode(c)] = c;
29
+ var l = Object.getOwnPropertyNames(x).map(function(s) {
30
+ return x[s];
31
31
  });
32
- if (c.join("") !== "0123456789")
32
+ if (l.join("") !== "0123456789")
33
33
  return !1;
34
- var d = {};
34
+ var g = {};
35
35
  return "abcdefghijklmnopqrst".split("").forEach(function(s) {
36
- d[s] = s;
37
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
36
+ g[s] = s;
37
+ }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
38
38
  } catch {
39
39
  return !1;
40
40
  }
41
41
  }
42
- return X = T() ? Object.assign : function(E, O) {
43
- for (var l, c = y(E), d, s = 1; s < arguments.length; s++) {
44
- l = Object(arguments[s]);
45
- for (var P in l)
46
- _.call(l, P) && (c[P] = l[P]);
42
+ return H = j() ? Object.assign : function(b, x) {
43
+ for (var c, l = P(b), g, s = 1; s < arguments.length; s++) {
44
+ c = Object(arguments[s]);
45
+ for (var R in c)
46
+ _.call(c, R) && (l[R] = c[R]);
47
47
  if (f) {
48
- d = f(l);
49
- for (var b = 0; b < d.length; b++)
50
- h.call(l, d[b]) && (c[d[b]] = l[d[b]]);
48
+ g = f(c);
49
+ for (var h = 0; h < g.length; h++)
50
+ E.call(c, g[h]) && (l[g[h]] = c[g[h]]);
51
51
  }
52
52
  }
53
- return c;
54
- }, X;
53
+ return l;
54
+ }, H;
55
55
  }
56
56
  /** @license React v17.0.2
57
57
  * react-jsx-runtime.production.min.js
@@ -61,30 +61,30 @@ function ke() {
61
61
  * This source code is licensed under the MIT license found in the
62
62
  * LICENSE file in the root directory of this source tree.
63
63
  */
64
- var Te;
65
- function cr() {
66
- if (Te)
64
+ var Ce;
65
+ function sr() {
66
+ if (Ce)
67
67
  return D;
68
- Te = 1, ke();
69
- var f = Ae, _ = 60103;
68
+ Ce = 1, Se();
69
+ var f = we, _ = 60103;
70
70
  if (D.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
71
- var h = Symbol.for;
72
- _ = h("react.element"), D.Fragment = h("react.fragment");
71
+ var E = Symbol.for;
72
+ _ = E("react.element"), D.Fragment = E("react.fragment");
73
73
  }
74
- var y = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = Object.prototype.hasOwnProperty, E = { key: !0, ref: !0, __self: !0, __source: !0 };
75
- function O(l, c, d) {
76
- var s, P = {}, b = null, w = null;
77
- d !== void 0 && (b = "" + d), c.key !== void 0 && (b = "" + c.key), c.ref !== void 0 && (w = c.ref);
78
- for (s in c)
79
- T.call(c, s) && !E.hasOwnProperty(s) && (P[s] = c[s]);
80
- if (l && l.defaultProps)
81
- for (s in c = l.defaultProps, c)
82
- P[s] === void 0 && (P[s] = c[s]);
83
- return { $$typeof: _, type: l, key: b, ref: w, props: P, _owner: y.current };
74
+ var P = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, j = Object.prototype.hasOwnProperty, b = { key: !0, ref: !0, __self: !0, __source: !0 };
75
+ function x(c, l, g) {
76
+ var s, R = {}, h = null, w = null;
77
+ g !== void 0 && (h = "" + g), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (w = l.ref);
78
+ for (s in l)
79
+ j.call(l, s) && !b.hasOwnProperty(s) && (R[s] = l[s]);
80
+ if (c && c.defaultProps)
81
+ for (s in l = c.defaultProps, l)
82
+ R[s] === void 0 && (R[s] = l[s]);
83
+ return { $$typeof: _, type: c, key: h, ref: w, props: R, _owner: P.current };
84
84
  }
85
- return D.jsx = O, D.jsxs = O, D;
85
+ return D.jsx = x, D.jsxs = x, D;
86
86
  }
87
- var Z = {};
87
+ var X = {};
88
88
  /** @license React v17.0.2
89
89
  * react-jsx-runtime.development.js
90
90
  *
@@ -93,33 +93,33 @@ var Z = {};
93
93
  * This source code is licensed under the MIT license found in the
94
94
  * LICENSE file in the root directory of this source tree.
95
95
  */
96
- var we;
97
- function fr() {
98
- return we || (we = 1, function(f) {
96
+ var Te;
97
+ function cr() {
98
+ return Te || (Te = 1, function(f) {
99
99
  process.env.NODE_ENV !== "production" && function() {
100
- var _ = Ae, h = ke(), y = 60103, T = 60106;
100
+ var _ = we, E = Se(), P = 60103, j = 60106;
101
101
  f.Fragment = 60107;
102
- var E = 60108, O = 60114, l = 60109, c = 60110, d = 60112, s = 60113, P = 60120, b = 60115, w = 60116, W = 60121, ee = 60122, re = 60117, te = 60129, ne = 60131;
102
+ var b = 60108, x = 60114, c = 60109, l = 60110, g = 60112, s = 60113, R = 60120, h = 60115, w = 60116, W = 60121, Q = 60122, ee = 60117, re = 60129, te = 60131;
103
103
  if (typeof Symbol == "function" && Symbol.for) {
104
- var p = Symbol.for;
105
- y = p("react.element"), T = p("react.portal"), f.Fragment = p("react.fragment"), E = p("react.strict_mode"), O = p("react.profiler"), l = p("react.provider"), c = p("react.context"), d = p("react.forward_ref"), s = p("react.suspense"), P = p("react.suspense_list"), b = p("react.memo"), w = p("react.lazy"), W = p("react.block"), ee = p("react.server.block"), re = p("react.fundamental"), p("react.scope"), p("react.opaque.id"), te = p("react.debug_trace_mode"), p("react.offscreen"), ne = p("react.legacy_hidden");
104
+ var d = Symbol.for;
105
+ P = d("react.element"), j = d("react.portal"), f.Fragment = d("react.fragment"), b = d("react.strict_mode"), x = d("react.profiler"), c = d("react.provider"), l = d("react.context"), g = d("react.forward_ref"), s = d("react.suspense"), R = d("react.suspense_list"), h = d("react.memo"), w = d("react.lazy"), W = d("react.block"), Q = d("react.server.block"), ee = d("react.fundamental"), d("react.scope"), d("react.opaque.id"), re = d("react.debug_trace_mode"), d("react.offscreen"), te = d("react.legacy_hidden");
106
106
  }
107
- var ae = typeof Symbol == "function" && Symbol.iterator, Ie = "@@iterator";
108
- function $e(e) {
107
+ var ne = typeof Symbol == "function" && Symbol.iterator, De = "@@iterator";
108
+ function Ie(e) {
109
109
  if (e === null || typeof e != "object")
110
110
  return null;
111
- var r = ae && e[ae] || e[Ie];
111
+ var r = ne && e[ne] || e[De];
112
112
  return typeof r == "function" ? r : null;
113
113
  }
114
114
  var A = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
115
- function m(e) {
115
+ function O(e) {
116
116
  {
117
117
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
118
118
  t[n - 1] = arguments[n];
119
- Ye("error", e, t);
119
+ $e("error", e, t);
120
120
  }
121
121
  }
122
- function Ye(e, r, t) {
122
+ function $e(e, r, t) {
123
123
  {
124
124
  var n = A.ReactDebugCurrentFrame, o = n.getStackAddendum();
125
125
  o !== "" && (r += "%s", t = t.concat([o]));
@@ -129,56 +129,56 @@ function fr() {
129
129
  u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
130
130
  }
131
131
  }
132
- var We = !1;
133
- function Le(e) {
134
- return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === O || e === te || e === E || e === s || e === P || e === ne || We || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === b || e.$$typeof === l || e.$$typeof === c || e.$$typeof === d || e.$$typeof === re || e.$$typeof === W || e[0] === ee));
132
+ var Ye = !1;
133
+ function We(e) {
134
+ return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === x || e === re || e === b || e === s || e === R || e === te || Ye || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === h || e.$$typeof === c || e.$$typeof === l || e.$$typeof === g || e.$$typeof === ee || e.$$typeof === W || e[0] === Q));
135
135
  }
136
- function Ne(e, r, t) {
136
+ function Le(e, r, t) {
137
137
  var n = r.displayName || r.name || "";
138
138
  return e.displayName || (n !== "" ? t + "(" + n + ")" : t);
139
139
  }
140
- function ie(e) {
140
+ function ae(e) {
141
141
  return e.displayName || "Context";
142
142
  }
143
- function x(e) {
143
+ function y(e) {
144
144
  if (e == null)
145
145
  return null;
146
- if (typeof e.tag == "number" && m("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
146
+ if (typeof e.tag == "number" && O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
147
147
  return e.displayName || e.name || null;
148
148
  if (typeof e == "string")
149
149
  return e;
150
150
  switch (e) {
151
151
  case f.Fragment:
152
152
  return "Fragment";
153
- case T:
153
+ case j:
154
154
  return "Portal";
155
- case O:
155
+ case x:
156
156
  return "Profiler";
157
- case E:
157
+ case b:
158
158
  return "StrictMode";
159
159
  case s:
160
160
  return "Suspense";
161
- case P:
161
+ case R:
162
162
  return "SuspenseList";
163
163
  }
164
164
  if (typeof e == "object")
165
165
  switch (e.$$typeof) {
166
- case c:
167
- var r = e;
168
- return ie(r) + ".Consumer";
169
166
  case l:
167
+ var r = e;
168
+ return ae(r) + ".Consumer";
169
+ case c:
170
170
  var t = e;
171
- return ie(t._context) + ".Provider";
172
- case d:
173
- return Ne(e, e.render, "ForwardRef");
174
- case b:
175
- return x(e.type);
171
+ return ae(t._context) + ".Provider";
172
+ case g:
173
+ return Le(e, e.render, "ForwardRef");
174
+ case h:
175
+ return y(e.type);
176
176
  case W:
177
- return x(e._render);
177
+ return y(e._render);
178
178
  case w: {
179
179
  var n = e, o = n._payload, u = n._init;
180
180
  try {
181
- return x(u(o));
181
+ return y(u(o));
182
182
  } catch {
183
183
  return null;
184
184
  }
@@ -186,14 +186,14 @@ function fr() {
186
186
  }
187
187
  return null;
188
188
  }
189
- var $ = 0, oe, ue, se, ce, fe, le, de;
189
+ var I = 0, ie, oe, ue, se, ce, fe, le;
190
190
  function ve() {
191
191
  }
192
192
  ve.__reactDisabledLog = !0;
193
- function Ue() {
193
+ function Ne() {
194
194
  {
195
- if ($ === 0) {
196
- oe = console.log, ue = console.info, se = console.warn, ce = console.error, fe = console.group, le = console.groupCollapsed, de = console.groupEnd;
195
+ if (I === 0) {
196
+ ie = console.log, oe = console.info, ue = console.warn, se = console.error, ce = console.group, fe = console.groupCollapsed, le = console.groupEnd;
197
197
  var e = {
198
198
  configurable: !0,
199
199
  enumerable: !0,
@@ -210,65 +210,65 @@ function fr() {
210
210
  groupEnd: e
211
211
  });
212
212
  }
213
- $++;
213
+ I++;
214
214
  }
215
215
  }
216
- function Ve() {
216
+ function Ue() {
217
217
  {
218
- if ($--, $ === 0) {
218
+ if (I--, I === 0) {
219
219
  var e = {
220
220
  configurable: !0,
221
221
  enumerable: !0,
222
222
  writable: !0
223
223
  };
224
224
  Object.defineProperties(console, {
225
- log: h({}, e, {
225
+ log: E({}, e, {
226
+ value: ie
227
+ }),
228
+ info: E({}, e, {
226
229
  value: oe
227
230
  }),
228
- info: h({}, e, {
231
+ warn: E({}, e, {
229
232
  value: ue
230
233
  }),
231
- warn: h({}, e, {
234
+ error: E({}, e, {
232
235
  value: se
233
236
  }),
234
- error: h({}, e, {
237
+ group: E({}, e, {
235
238
  value: ce
236
239
  }),
237
- group: h({}, e, {
240
+ groupCollapsed: E({}, e, {
238
241
  value: fe
239
242
  }),
240
- groupCollapsed: h({}, e, {
243
+ groupEnd: E({}, e, {
241
244
  value: le
242
- }),
243
- groupEnd: h({}, e, {
244
- value: de
245
245
  })
246
246
  });
247
247
  }
248
- $ < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
248
+ I < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
249
249
  }
250
250
  }
251
- var M = A.ReactCurrentDispatcher, q;
251
+ var F = A.ReactCurrentDispatcher, M;
252
252
  function L(e, r, t) {
253
253
  {
254
- if (q === void 0)
254
+ if (M === void 0)
255
255
  try {
256
256
  throw Error();
257
257
  } catch (o) {
258
258
  var n = o.stack.trim().match(/\n( *(at )?)/);
259
- q = n && n[1] || "";
259
+ M = n && n[1] || "";
260
260
  }
261
261
  return `
262
- ` + q + e;
262
+ ` + M + e;
263
263
  }
264
264
  }
265
- var B = !1, N;
265
+ var q = !1, N;
266
266
  {
267
- var Fe = typeof WeakMap == "function" ? WeakMap : Map;
268
- N = new Fe();
267
+ var Ve = typeof WeakMap == "function" ? WeakMap : Map;
268
+ N = new Ve();
269
269
  }
270
- function pe(e, r) {
271
- if (!e || B)
270
+ function de(e, r) {
271
+ if (!e || q)
272
272
  return "";
273
273
  {
274
274
  var t = N.get(e);
@@ -276,11 +276,11 @@ function fr() {
276
276
  return t;
277
277
  }
278
278
  var n;
279
- B = !0;
279
+ q = !0;
280
280
  var o = Error.prepareStackTrace;
281
281
  Error.prepareStackTrace = void 0;
282
282
  var u;
283
- u = M.current, M.current = null, Ue();
283
+ u = F.current, F.current = null, Ne();
284
284
  try {
285
285
  if (r) {
286
286
  var i = function() {
@@ -293,55 +293,55 @@ function fr() {
293
293
  }), typeof Reflect == "object" && Reflect.construct) {
294
294
  try {
295
295
  Reflect.construct(i, []);
296
- } catch (C) {
297
- n = C;
296
+ } catch (T) {
297
+ n = T;
298
298
  }
299
299
  Reflect.construct(e, [], i);
300
300
  } else {
301
301
  try {
302
302
  i.call();
303
- } catch (C) {
304
- n = C;
303
+ } catch (T) {
304
+ n = T;
305
305
  }
306
306
  e.call(i.prototype);
307
307
  }
308
308
  } else {
309
309
  try {
310
310
  throw Error();
311
- } catch (C) {
312
- n = C;
311
+ } catch (T) {
312
+ n = T;
313
313
  }
314
314
  e();
315
315
  }
316
- } catch (C) {
317
- if (C && n && typeof C.stack == "string") {
318
- for (var a = C.stack.split(`
319
- `), R = n.stack.split(`
320
- `), v = a.length - 1, g = R.length - 1; v >= 1 && g >= 0 && a[v] !== R[g]; )
321
- g--;
322
- for (; v >= 1 && g >= 0; v--, g--)
323
- if (a[v] !== R[g]) {
324
- if (v !== 1 || g !== 1)
316
+ } catch (T) {
317
+ if (T && n && typeof T.stack == "string") {
318
+ for (var a = T.stack.split(`
319
+ `), m = n.stack.split(`
320
+ `), v = a.length - 1, p = m.length - 1; v >= 1 && p >= 0 && a[v] !== m[p]; )
321
+ p--;
322
+ for (; v >= 1 && p >= 0; v--, p--)
323
+ if (a[v] !== m[p]) {
324
+ if (v !== 1 || p !== 1)
325
325
  do
326
- if (v--, g--, g < 0 || a[v] !== R[g]) {
327
- var j = `
326
+ if (v--, p--, p < 0 || a[v] !== m[p]) {
327
+ var C = `
328
328
  ` + a[v].replace(" at new ", " at ");
329
- return typeof e == "function" && N.set(e, j), j;
329
+ return typeof e == "function" && N.set(e, C), C;
330
330
  }
331
- while (v >= 1 && g >= 0);
331
+ while (v >= 1 && p >= 0);
332
332
  break;
333
333
  }
334
334
  }
335
335
  } finally {
336
- B = !1, M.current = u, Ve(), Error.prepareStackTrace = o;
336
+ q = !1, F.current = u, Ue(), Error.prepareStackTrace = o;
337
337
  }
338
- var k = e ? e.displayName || e.name : "", je = k ? L(k) : "";
339
- return typeof e == "function" && N.set(e, je), je;
338
+ var k = e ? e.displayName || e.name : "", ye = k ? L(k) : "";
339
+ return typeof e == "function" && N.set(e, ye), ye;
340
340
  }
341
- function ge(e, r, t) {
342
- return pe(e, !1);
341
+ function pe(e, r, t) {
342
+ return de(e, !1);
343
343
  }
344
- function Me(e) {
344
+ function Fe(e) {
345
345
  var r = e.prototype;
346
346
  return !!(r && r.isReactComponent);
347
347
  }
@@ -349,23 +349,23 @@ function fr() {
349
349
  if (e == null)
350
350
  return "";
351
351
  if (typeof e == "function")
352
- return pe(e, Me(e));
352
+ return de(e, Fe(e));
353
353
  if (typeof e == "string")
354
354
  return L(e);
355
355
  switch (e) {
356
356
  case s:
357
357
  return L("Suspense");
358
- case P:
358
+ case R:
359
359
  return L("SuspenseList");
360
360
  }
361
361
  if (typeof e == "object")
362
362
  switch (e.$$typeof) {
363
- case d:
364
- return ge(e.render);
365
- case b:
363
+ case g:
364
+ return pe(e.render);
365
+ case h:
366
366
  return U(e.type, r, t);
367
367
  case W:
368
- return ge(e._render);
368
+ return pe(e._render);
369
369
  case w: {
370
370
  var n = e, o = n._payload, u = n._init;
371
371
  try {
@@ -376,7 +376,7 @@ function fr() {
376
376
  }
377
377
  return "";
378
378
  }
379
- var _e = {}, he = A.ReactDebugCurrentFrame;
379
+ var ge = {}, he = A.ReactDebugCurrentFrame;
380
380
  function V(e) {
381
381
  if (e) {
382
382
  var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
@@ -384,7 +384,7 @@ function fr() {
384
384
  } else
385
385
  he.setExtraStackFrame(null);
386
386
  }
387
- function qe(e, r, t, n, o) {
387
+ function Me(e, r, t, n, o) {
388
388
  {
389
389
  var u = Function.call.bind(Object.prototype.hasOwnProperty);
390
390
  for (var i in e)
@@ -392,50 +392,50 @@ function fr() {
392
392
  var a = void 0;
393
393
  try {
394
394
  if (typeof e[i] != "function") {
395
- var R = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
396
- throw R.name = "Invariant Violation", R;
395
+ var m = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
396
+ throw m.name = "Invariant Violation", m;
397
397
  }
398
398
  a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
399
399
  } catch (v) {
400
400
  a = v;
401
401
  }
402
- a && !(a instanceof Error) && (V(o), m("%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).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in _e) && (_e[a.message] = !0, V(o), m("Failed %s type: %s", t, a.message), V(null));
402
+ a && !(a instanceof Error) && (V(o), O("%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).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in ge) && (ge[a.message] = !0, V(o), O("Failed %s type: %s", t, a.message), V(null));
403
403
  }
404
404
  }
405
405
  }
406
- var Y = A.ReactCurrentOwner, G = Object.prototype.hasOwnProperty, Be = {
406
+ var $ = A.ReactCurrentOwner, B = Object.prototype.hasOwnProperty, qe = {
407
407
  key: !0,
408
408
  ref: !0,
409
409
  __self: !0,
410
410
  __source: !0
411
- }, Ee, be, J;
412
- J = {};
413
- function Ge(e) {
414
- if (G.call(e, "ref")) {
411
+ }, _e, Ee, G;
412
+ G = {};
413
+ function Be(e) {
414
+ if (B.call(e, "ref")) {
415
415
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
416
416
  if (r && r.isReactWarning)
417
417
  return !1;
418
418
  }
419
419
  return e.ref !== void 0;
420
420
  }
421
- function Je(e) {
422
- if (G.call(e, "key")) {
421
+ function Ge(e) {
422
+ if (B.call(e, "key")) {
423
423
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
424
424
  if (r && r.isReactWarning)
425
425
  return !1;
426
426
  }
427
427
  return e.key !== void 0;
428
428
  }
429
- function ze(e, r) {
430
- if (typeof e.ref == "string" && Y.current && r && Y.current.stateNode !== r) {
431
- var t = x(Y.current.type);
432
- J[t] || (m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', x(Y.current.type), e.ref), J[t] = !0);
429
+ function Je(e, r) {
430
+ if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
431
+ var t = y($.current.type);
432
+ G[t] || (O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y($.current.type), e.ref), G[t] = !0);
433
433
  }
434
434
  }
435
- function Ke(e, r) {
435
+ function ze(e, r) {
436
436
  {
437
437
  var t = function() {
438
- Ee || (Ee = !0, m("%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)", r));
438
+ _e || (_e = !0, O("%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)", r));
439
439
  };
440
440
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
441
441
  get: t,
@@ -443,10 +443,10 @@ function fr() {
443
443
  });
444
444
  }
445
445
  }
446
- function He(e, r) {
446
+ function Ke(e, r) {
447
447
  {
448
448
  var t = function() {
449
- be || (be = !0, m("%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)", r));
449
+ Ee || (Ee = !0, O("%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)", r));
450
450
  };
451
451
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
452
452
  get: t,
@@ -454,10 +454,10 @@ function fr() {
454
454
  });
455
455
  }
456
456
  }
457
- var Xe = function(e, r, t, n, o, u, i) {
457
+ var He = function(e, r, t, n, o, u, i) {
458
458
  var a = {
459
459
  // This tag allows us to uniquely identify this as a React Element
460
- $$typeof: y,
460
+ $$typeof: P,
461
461
  // Built-in properties that belong on the element
462
462
  type: e,
463
463
  key: r,
@@ -483,41 +483,41 @@ function fr() {
483
483
  value: o
484
484
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
485
485
  };
486
- function Ze(e, r, t, n, o) {
486
+ function Xe(e, r, t, n, o) {
487
487
  {
488
- var u, i = {}, a = null, R = null;
489
- t !== void 0 && (a = "" + t), Je(r) && (a = "" + r.key), Ge(r) && (R = r.ref, ze(r, o));
488
+ var u, i = {}, a = null, m = null;
489
+ t !== void 0 && (a = "" + t), Ge(r) && (a = "" + r.key), Be(r) && (m = r.ref, Je(r, o));
490
490
  for (u in r)
491
- G.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
491
+ B.call(r, u) && !qe.hasOwnProperty(u) && (i[u] = r[u]);
492
492
  if (e && e.defaultProps) {
493
493
  var v = e.defaultProps;
494
494
  for (u in v)
495
495
  i[u] === void 0 && (i[u] = v[u]);
496
496
  }
497
- if (a || R) {
498
- var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
499
- a && Ke(i, g), R && He(i, g);
497
+ if (a || m) {
498
+ var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
499
+ a && ze(i, p), m && Ke(i, p);
500
500
  }
501
- return Xe(e, a, R, o, n, Y.current, i);
501
+ return He(e, a, m, o, n, $.current, i);
502
502
  }
503
503
  }
504
- var z = A.ReactCurrentOwner, Re = A.ReactDebugCurrentFrame;
504
+ var J = A.ReactCurrentOwner, be = A.ReactDebugCurrentFrame;
505
505
  function S(e) {
506
506
  if (e) {
507
507
  var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
508
- Re.setExtraStackFrame(t);
508
+ be.setExtraStackFrame(t);
509
509
  } else
510
- Re.setExtraStackFrame(null);
510
+ be.setExtraStackFrame(null);
511
511
  }
512
- var K;
513
- K = !1;
514
- function H(e) {
515
- return typeof e == "object" && e !== null && e.$$typeof === y;
512
+ var z;
513
+ z = !1;
514
+ function K(e) {
515
+ return typeof e == "object" && e !== null && e.$$typeof === P;
516
516
  }
517
- function me() {
517
+ function Re() {
518
518
  {
519
- if (z.current) {
520
- var e = x(z.current.type);
519
+ if (J.current) {
520
+ var e = y(J.current.type);
521
521
  if (e)
522
522
  return `
523
523
 
@@ -526,7 +526,7 @@ Check the render method of \`` + e + "`.";
526
526
  return "";
527
527
  }
528
528
  }
529
- function Qe(e) {
529
+ function Ze(e) {
530
530
  {
531
531
  if (e !== void 0) {
532
532
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -537,10 +537,10 @@ Check your code at ` + r + ":" + t + ".";
537
537
  return "";
538
538
  }
539
539
  }
540
- var Oe = {};
541
- function er(e) {
540
+ var me = {};
541
+ function Qe(e) {
542
542
  {
543
- var r = me();
543
+ var r = Re();
544
544
  if (!r) {
545
545
  var t = typeof e == "string" ? e : e.displayName || e.name;
546
546
  t && (r = `
@@ -550,39 +550,39 @@ Check the top-level render call using <` + t + ">.");
550
550
  return r;
551
551
  }
552
552
  }
553
- function Pe(e, r) {
553
+ function Oe(e, r) {
554
554
  {
555
555
  if (!e._store || e._store.validated || e.key != null)
556
556
  return;
557
557
  e._store.validated = !0;
558
- var t = er(r);
559
- if (Oe[t])
558
+ var t = Qe(r);
559
+ if (me[t])
560
560
  return;
561
- Oe[t] = !0;
561
+ me[t] = !0;
562
562
  var n = "";
563
- e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + x(e._owner.type) + "."), S(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
563
+ e && e._owner && e._owner !== J.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
564
564
  }
565
565
  }
566
- function ye(e, r) {
566
+ function Pe(e, r) {
567
567
  {
568
568
  if (typeof e != "object")
569
569
  return;
570
570
  if (Array.isArray(e))
571
571
  for (var t = 0; t < e.length; t++) {
572
572
  var n = e[t];
573
- H(n) && Pe(n, r);
573
+ K(n) && Oe(n, r);
574
574
  }
575
- else if (H(e))
575
+ else if (K(e))
576
576
  e._store && (e._store.validated = !0);
577
577
  else if (e) {
578
- var o = $e(e);
578
+ var o = Ie(e);
579
579
  if (typeof o == "function" && o !== e.entries)
580
580
  for (var u = o.call(e), i; !(i = u.next()).done; )
581
- H(i.value) && Pe(i.value, r);
581
+ K(i.value) && Oe(i.value, r);
582
582
  }
583
583
  }
584
584
  }
585
- function rr(e) {
585
+ function er(e) {
586
586
  {
587
587
  var r = e.type;
588
588
  if (r == null || typeof r == "string")
@@ -590,129 +590,134 @@ Check the top-level render call using <` + t + ">.");
590
590
  var t;
591
591
  if (typeof r == "function")
592
592
  t = r.propTypes;
593
- else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
593
+ else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
594
594
  // Inner props are checked in the reconciler.
595
- r.$$typeof === b))
595
+ r.$$typeof === h))
596
596
  t = r.propTypes;
597
597
  else
598
598
  return;
599
599
  if (t) {
600
- var n = x(r);
601
- qe(t, e.props, "prop", n, e);
602
- } else if (r.PropTypes !== void 0 && !K) {
603
- K = !0;
604
- var o = x(r);
605
- m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
600
+ var n = y(r);
601
+ Me(t, e.props, "prop", n, e);
602
+ } else if (r.PropTypes !== void 0 && !z) {
603
+ z = !0;
604
+ var o = y(r);
605
+ O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
606
606
  }
607
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
607
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
608
608
  }
609
609
  }
610
- function tr(e) {
610
+ function rr(e) {
611
611
  {
612
612
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
613
613
  var n = r[t];
614
614
  if (n !== "children" && n !== "key") {
615
- S(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
615
+ S(e), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
616
616
  break;
617
617
  }
618
618
  }
619
- e.ref !== null && (S(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
619
+ e.ref !== null && (S(e), O("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
620
620
  }
621
621
  }
622
622
  function xe(e, r, t, n, o, u) {
623
623
  {
624
- var i = Le(e);
624
+ var i = We(e);
625
625
  if (!i) {
626
626
  var a = "";
627
627
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
628
- var R = Qe(o);
629
- R ? a += R : a += me();
628
+ var m = Ze(o);
629
+ m ? a += m : a += Re();
630
630
  var v;
631
- e === null ? v = "null" : Array.isArray(e) ? v = "array" : e !== void 0 && e.$$typeof === y ? (v = "<" + (x(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, a);
631
+ e === null ? v = "null" : Array.isArray(e) ? v = "array" : e !== void 0 && e.$$typeof === P ? (v = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, a);
632
632
  }
633
- var g = Ze(e, r, t, o, u);
634
- if (g == null)
635
- return g;
633
+ var p = Xe(e, r, t, o, u);
634
+ if (p == null)
635
+ return p;
636
636
  if (i) {
637
- var j = r.children;
638
- if (j !== void 0)
637
+ var C = r.children;
638
+ if (C !== void 0)
639
639
  if (n)
640
- if (Array.isArray(j)) {
641
- for (var k = 0; k < j.length; k++)
642
- ye(j[k], e);
643
- Object.freeze && Object.freeze(j);
640
+ if (Array.isArray(C)) {
641
+ for (var k = 0; k < C.length; k++)
642
+ Pe(C[k], e);
643
+ Object.freeze && Object.freeze(C);
644
644
  } else
645
- m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
645
+ O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
646
646
  else
647
- ye(j, e);
647
+ Pe(C, e);
648
648
  }
649
- return e === f.Fragment ? tr(g) : rr(g), g;
649
+ return e === f.Fragment ? rr(p) : er(p), p;
650
650
  }
651
651
  }
652
- function nr(e, r, t) {
652
+ function tr(e, r, t) {
653
653
  return xe(e, r, t, !0);
654
654
  }
655
- function ar(e, r, t) {
655
+ function nr(e, r, t) {
656
656
  return xe(e, r, t, !1);
657
657
  }
658
- var ir = ar, or = nr;
659
- f.jsx = ir, f.jsxs = or;
658
+ var ar = nr, ir = tr;
659
+ f.jsx = ar, f.jsxs = ir;
660
660
  }();
661
- }(Z)), Z;
661
+ }(X)), X;
662
662
  }
663
- process.env.NODE_ENV === "production" ? Q.exports = cr() : Q.exports = fr();
664
- var De = Q.exports;
665
- const lr = {
663
+ process.env.NODE_ENV === "production" ? Z.exports = sr() : Z.exports = cr();
664
+ var ke = Z.exports;
665
+ const fr = {
666
666
  popups: []
667
- }, dr = Se(lr), vr = () => {
668
- const [f, _] = F([]);
667
+ }, lr = Ae(fr), vr = () => {
668
+ const [f, _] = Y([]);
669
669
  return {
670
670
  popups: f
671
671
  };
672
- }, br = ({ children: f }) => {
672
+ }, Er = ({ children: f }) => {
673
673
  const _ = vr();
674
- return /* @__PURE__ */ De.jsx(dr.Provider, { value: _, children: f });
675
- }, I = sr.create(), pr = {
674
+ return /* @__PURE__ */ ke.jsx(lr.Provider, { value: _, children: f });
675
+ }, dr = {
676
676
  cabinetType: null,
677
677
  cabinetIsLoading: !0,
678
- apiAxios: null,
678
+ apiAxios: () => null,
679
679
  phoneNumber: null,
680
680
  setPhoneNumber: null,
681
681
  cabinetSettings: null,
682
682
  authToken: null,
683
683
  setAuthToken: null,
684
684
  createAxios: null
685
- }, gr = Se(pr), _r = ({ cabinetType: f }) => {
686
- const [_, h] = F(null), [y, T] = F(null), [E, O] = F(null);
687
- return ur(() => {
685
+ }, pr = Ae(dr), gr = ({ cabinetType: f }) => {
686
+ const [_, E] = Y(null), [P, j] = Y(null), [b, x] = Y(null), c = () => ur.create({
687
+ baseURL: b ?? "",
688
+ headers: {
689
+ Authorization: `Bearer ${P}`
690
+ }
691
+ }), [l, g] = Y(null);
692
+ return or(() => {
688
693
  (async () => {
689
- if (!I || !_ || f === null)
694
+ if (!P || !_ || f === null)
690
695
  return;
691
- const d = await I.post("/externalCustomerCabinet/cabinetInfo", {
696
+ const h = await c().post("/externalCustomerCabinet/cabinetInfo", {
692
697
  phoneNumber: _,
693
698
  cabinetType: f
694
699
  });
695
- O(d.data);
700
+ g(h.data);
696
701
  })();
697
- }, [_, I]), {
702
+ }, [_, P]), {
698
703
  cabinetType: f,
699
- apiAxios: I,
704
+ apiAxios: c,
700
705
  cabinetIsLoading: !1,
701
- cabinetSettings: E,
706
+ cabinetSettings: l,
702
707
  phoneNumber: _,
703
- setPhoneNumber: h,
704
- authToken: y,
705
- setAuthToken: T,
706
- createAxios: (c, d) => {
707
- I.defaults.baseURL = d, I.defaults.headers.common.Authorization = c;
708
+ setPhoneNumber: E,
709
+ authToken: P,
710
+ setAuthToken: j,
711
+ createAxios: (R, h) => {
712
+ j(R), x(h);
708
713
  }
709
714
  };
710
- }, Rr = ({ children: f, cabinetType: _ }) => {
711
- const h = _r({ cabinetType: _ });
712
- return /* @__PURE__ */ De.jsx(gr.Provider, { value: { ...h, cabinetType: _ }, children: f });
715
+ }, br = ({ children: f, cabinetType: _ }) => {
716
+ const E = gr({ cabinetType: _ });
717
+ return /* @__PURE__ */ ke.jsx(pr.Provider, { value: { ...E, cabinetType: _ }, children: f });
713
718
  };
714
719
  export {
715
- gr as AppContext,
716
- Rr as AppProvider,
717
- br as PopupProvider
720
+ pr as AppContext,
721
+ br as AppProvider,
722
+ Er as PopupProvider
718
723
  };
@@ -1,29 +1,29 @@
1
- (function(x,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react"),require("axios")):typeof define=="function"&&define.amd?define(["exports","react","axios"],O):(x=typeof globalThis<"u"?globalThis:x||self,O(x.bonuspluscomponents={},x.require$$1,x.Axios))})(this,function(x,O,Ie){"use strict";var B={exports:{}},k={};/*
1
+ (function(T,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react"),require("axios")):typeof define=="function"&&define.amd?define(["exports","react","axios"],O):(T=typeof globalThis<"u"?globalThis:T||self,O(T.bonuspluscomponents={},T.require$$1,T.axios))})(this,function(T,O,De){"use strict";var B={exports:{}},k={};/*
2
2
  object-assign
3
3
  (c) Sindre Sorhus
4
4
  @license MIT
5
- */var G,re;function te(){if(re)return G;re=1;var f=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;function T(E){if(E==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(E)}function S(){try{if(!Object.assign)return!1;var E=new String("abc");if(E[5]="de",Object.getOwnPropertyNames(E)[0]==="5")return!1;for(var P={},l=0;l<10;l++)P["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(P).map(function(s){return P[s]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(s){d[s]=s}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return G=S()?Object.assign:function(E,P){for(var l,c=T(E),d,s=1;s<arguments.length;s++){l=Object(arguments[s]);for(var y in l)h.call(l,y)&&(c[y]=l[y]);if(f){d=f(l);for(var b=0;b<d.length;b++)_.call(l,d[b])&&(c[d[b]]=l[d[b]])}}return c},G}/** @license React v17.0.2
5
+ */var $,ee;function re(){if(ee)return $;ee=1;var f=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;function y(b){if(b==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(b)}function C(){try{if(!Object.assign)return!1;var b=new String("abc");if(b[5]="de",Object.getOwnPropertyNames(b)[0]==="5")return!1;for(var x={},c=0;c<10;c++)x["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(x).map(function(s){return x[s]});if(l.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(s){g[s]=s}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $=C()?Object.assign:function(b,x){for(var c,l=y(b),g,s=1;s<arguments.length;s++){c=Object(arguments[s]);for(var R in c)_.call(c,R)&&(l[R]=c[R]);if(f){g=f(c);for(var h=0;h<g.length;h++)E.call(c,g[h])&&(l[g[h]]=c[g[h]])}}return l},$}/** @license React v17.0.2
6
6
  * react-jsx-runtime.production.min.js
7
7
  *
8
8
  * Copyright (c) Facebook, Inc. and its affiliates.
9
9
  *
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
- */var ne;function Ye(){if(ne)return k;ne=1,te();var f=O,h=60103;if(k.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;h=_("react.element"),k.Fragment=_("react.fragment")}var T=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(l,c,d){var s,y={},b=null,A=null;d!==void 0&&(b=""+d),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(A=c.ref);for(s in c)S.call(c,s)&&!E.hasOwnProperty(s)&&(y[s]=c[s]);if(l&&l.defaultProps)for(s in c=l.defaultProps,c)y[s]===void 0&&(y[s]=c[s]);return{$$typeof:h,type:l,key:b,ref:A,props:y,_owner:T.current}}return k.jsx=P,k.jsxs=P,k}var q={};/** @license React v17.0.2
12
+ */var te;function Ie(){if(te)return k;te=1,re();var f=O,_=60103;if(k.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;_=E("react.element"),k.Fragment=E("react.fragment")}var y=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C=Object.prototype.hasOwnProperty,b={key:!0,ref:!0,__self:!0,__source:!0};function x(c,l,g){var s,R={},h=null,A=null;g!==void 0&&(h=""+g),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(A=l.ref);for(s in l)C.call(l,s)&&!b.hasOwnProperty(s)&&(R[s]=l[s]);if(c&&c.defaultProps)for(s in l=c.defaultProps,l)R[s]===void 0&&(R[s]=l[s]);return{$$typeof:_,type:c,key:h,ref:A,props:R,_owner:y.current}}return k.jsx=x,k.jsxs=x,k}var G={};/** @license React v17.0.2
13
13
  * react-jsx-runtime.development.js
14
14
  *
15
15
  * Copyright (c) Facebook, Inc. and its affiliates.
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var ae;function We(){return ae||(ae=1,function(f){process.env.NODE_ENV!=="production"&&function(){var h=O,_=te(),T=60103,S=60106;f.Fragment=60107;var E=60108,P=60114,l=60109,c=60110,d=60112,s=60113,y=60120,b=60115,A=60116,U=60121,ue=60122,se=60117,ce=60129,fe=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;T=p("react.element"),S=p("react.portal"),f.Fragment=p("react.fragment"),E=p("react.strict_mode"),P=p("react.profiler"),l=p("react.provider"),c=p("react.context"),d=p("react.forward_ref"),s=p("react.suspense"),y=p("react.suspense_list"),b=p("react.memo"),A=p("react.lazy"),U=p("react.block"),ue=p("react.server.block"),se=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),ce=p("react.debug_trace_mode"),p("react.offscreen"),fe=p("react.legacy_hidden")}var le=typeof Symbol=="function"&&Symbol.iterator,Be="@@iterator";function Ge(e){if(e===null||typeof e!="object")return null;var r=le&&e[le]||e[Be];return typeof r=="function"?r:null}var I=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];qe("error",e,t)}}function qe(e,r,t){{var n=I.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return""+i});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Je=!1;function ze(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===P||e===ce||e===E||e===s||e===y||e===fe||Je||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===b||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===se||e.$$typeof===U||e[0]===ue))}function Ke(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function de(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentName(). 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 f.Fragment:return"Fragment";case S:return"Portal";case P:return"Profiler";case E:return"StrictMode";case s:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c:var r=e;return de(r)+".Consumer";case l:var t=e;return de(t._context)+".Provider";case d:return Ke(e,e.render,"ForwardRef");case b:return j(e.type);case U:return j(e._render);case A:{var n=e,o=n._payload,u=n._init;try{return j(u(o))}catch{return null}}}return null}var L=0,ve,pe,ge,he,_e,Ee,be;function Re(){}Re.__reactDisabledLog=!0;function He(){{if(L===0){ve=console.log,pe=console.info,ge=console.warn,he=console.error,_e=console.group,Ee=console.groupCollapsed,be=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}}function Xe(){{if(L--,L===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},e,{value:ve}),info:_({},e,{value:pe}),warn:_({},e,{value:ge}),error:_({},e,{value:he}),group:_({},e,{value:_e}),groupCollapsed:_({},e,{value:Ee}),groupEnd:_({},e,{value:be})})}L<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=I.ReactCurrentDispatcher,z;function V(e,r,t){{if(z===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);z=n&&n[1]||""}return`
20
- `+z+e}}var K=!1,F;{var Ze=typeof WeakMap=="function"?WeakMap:Map;F=new Ze}function me(e,r){if(!e||K)return"";{var t=F.get(e);if(t!==void 0)return t}var n;K=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=J.current,J.current=null,He();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(w){n=w}Reflect.construct(e,[],i)}else{try{i.call()}catch(w){n=w}e.call(i.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var a=w.stack.split(`
21
- `),R=n.stack.split(`
22
- `),v=a.length-1,g=R.length-1;v>=1&&g>=0&&a[v]!==R[g];)g--;for(;v>=1&&g>=0;v--,g--)if(a[v]!==R[g]){if(v!==1||g!==1)do if(v--,g--,g<0||a[v]!==R[g]){var C=`
23
- `+a[v].replace(" at new "," at ");return typeof e=="function"&&F.set(e,C),C}while(v>=1&&g>=0);break}}}finally{K=!1,J.current=u,Xe(),Error.prepareStackTrace=o}var W=e?e.displayName||e.name:"",De=W?V(W):"";return typeof e=="function"&&F.set(e,De),De}function Oe(e,r,t){return me(e,!1)}function Qe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function M(e,r,t){if(e==null)return"";if(typeof e=="function")return me(e,Qe(e));if(typeof e=="string")return V(e);switch(e){case s:return V("Suspense");case y:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return Oe(e.render);case b:return M(e.type,r,t);case U:return Oe(e._render);case A:{var n=e,o=n._payload,u=n._init;try{return M(u(o),r,t)}catch{}}}return""}var Pe={},ye=I.ReactDebugCurrentFrame;function $(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);ye.setExtraStackFrame(t)}else ye.setExtraStackFrame(null)}function er(e,r,t,n,o){{var u=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var R=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){a=v}a&&!(a instanceof Error)&&($(o),m("%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).",n||"React class",t,i,typeof a),$(null)),a instanceof Error&&!(a.message in Pe)&&(Pe[a.message]=!0,$(o),m("Failed %s type: %s",t,a.message),$(null))}}}var N=I.ReactCurrentOwner,H=Object.prototype.hasOwnProperty,rr={key:!0,ref:!0,__self:!0,__source:!0},xe,Te,X;X={};function tr(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function nr(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ar(e,r){if(typeof e.ref=="string"&&N.current&&r&&N.current.stateNode!==r){var t=j(N.current.type);X[t]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(N.current.type),e.ref),X[t]=!0)}}function ir(e,r){{var t=function(){xe||(xe=!0,m("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function or(e,r){{var t=function(){Te||(Te=!0,m("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ur=function(e,r,t,n,o,u,i){var a={$$typeof:T,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function sr(e,r,t,n,o){{var u,i={},a=null,R=null;t!==void 0&&(a=""+t),nr(r)&&(a=""+r.key),tr(r)&&(R=r.ref,ar(r,o));for(u in r)H.call(r,u)&&!rr.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var v=e.defaultProps;for(u in v)i[u]===void 0&&(i[u]=v[u])}if(a||R){var g=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ir(i,g),R&&or(i,g)}return ur(e,a,R,o,n,N.current,i)}}var Z=I.ReactCurrentOwner,je=I.ReactDebugCurrentFrame;function Y(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===T}function Ce(){{if(Z.current){var e=j(Z.current.type);if(e)return`
19
+ */var ne;function Ye(){return ne||(ne=1,function(f){process.env.NODE_ENV!=="production"&&function(){var _=O,E=re(),y=60103,C=60106;f.Fragment=60107;var b=60108,x=60114,c=60109,l=60110,g=60112,s=60113,R=60120,h=60115,A=60116,N=60121,oe=60122,ue=60117,se=60129,ce=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;y=v("react.element"),C=v("react.portal"),f.Fragment=v("react.fragment"),b=v("react.strict_mode"),x=v("react.profiler"),c=v("react.provider"),l=v("react.context"),g=v("react.forward_ref"),s=v("react.suspense"),R=v("react.suspense_list"),h=v("react.memo"),A=v("react.lazy"),N=v("react.block"),oe=v("react.server.block"),ue=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),se=v("react.debug_trace_mode"),v("react.offscreen"),ce=v("react.legacy_hidden")}var fe=typeof Symbol=="function"&&Symbol.iterator,Be="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var r=fe&&e[fe]||e[Be];return typeof r=="function"?r:null}var D=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ge("error",e,t)}}function Ge(e,r,t){{var n=D.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return""+i});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Je=!1;function qe(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===x||e===se||e===b||e===s||e===R||e===ce||Je||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===g||e.$$typeof===ue||e.$$typeof===N||e[0]===oe))}function ze(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function le(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&P("Received an unexpected object in getComponentName(). 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 f.Fragment:return"Fragment";case C:return"Portal";case x:return"Profiler";case b:return"StrictMode";case s:return"Suspense";case R:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return le(r)+".Consumer";case c:var t=e;return le(t._context)+".Provider";case g:return ze(e,e.render,"ForwardRef");case h:return j(e.type);case N:return j(e._render);case A:{var n=e,o=n._payload,u=n._init;try{return j(u(o))}catch{return null}}}return null}var W=0,de,ve,pe,ge,he,_e,Ee;function be(){}be.__reactDisabledLog=!0;function Ke(){{if(W===0){de=console.log,ve=console.info,pe=console.warn,ge=console.error,he=console.group,_e=console.groupCollapsed,Ee=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})}W++}}function He(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:de}),info:E({},e,{value:ve}),warn:E({},e,{value:pe}),error:E({},e,{value:ge}),group:E({},e,{value:he}),groupCollapsed:E({},e,{value:_e}),groupEnd:E({},e,{value:Ee})})}W<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=D.ReactCurrentDispatcher,q;function U(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
20
+ `+q+e}}var z=!1,V;{var Xe=typeof WeakMap=="function"?WeakMap:Map;V=new Xe}function Re(e,r){if(!e||z)return"";{var t=V.get(e);if(t!==void 0)return t}var n;z=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=J.current,J.current=null,Ke();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(S){n=S}Reflect.construct(e,[],i)}else{try{i.call()}catch(S){n=S}e.call(i.prototype)}}else{try{throw Error()}catch(S){n=S}e()}}catch(S){if(S&&n&&typeof S.stack=="string"){for(var a=S.stack.split(`
21
+ `),m=n.stack.split(`
22
+ `),d=a.length-1,p=m.length-1;d>=1&&p>=0&&a[d]!==m[p];)p--;for(;d>=1&&p>=0;d--,p--)if(a[d]!==m[p]){if(d!==1||p!==1)do if(d--,p--,p<0||a[d]!==m[p]){var w=`
23
+ `+a[d].replace(" at new "," at ");return typeof e=="function"&&V.set(e,w),w}while(d>=1&&p>=0);break}}}finally{z=!1,J.current=u,He(),Error.prepareStackTrace=o}var Y=e?e.displayName||e.name:"",ke=Y?U(Y):"";return typeof e=="function"&&V.set(e,ke),ke}function me(e,r,t){return Re(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function F(e,r,t){if(e==null)return"";if(typeof e=="function")return Re(e,Ze(e));if(typeof e=="string")return U(e);switch(e){case s:return U("Suspense");case R:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return me(e.render);case h:return F(e.type,r,t);case N:return me(e._render);case A:{var n=e,o=n._payload,u=n._init;try{return F(u(o),r,t)}catch{}}}return""}var Oe={},Pe=D.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}function Qe(e,r,t,n,o){{var u=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){a=d}a&&!(a instanceof Error)&&(M(o),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),M(null)),a instanceof Error&&!(a.message in Oe)&&(Oe[a.message]=!0,M(o),P("Failed %s type: %s",t,a.message),M(null))}}}var L=D.ReactCurrentOwner,K=Object.prototype.hasOwnProperty,er={key:!0,ref:!0,__self:!0,__source:!0},ye,xe,H;H={};function rr(e){if(K.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function tr(e){if(K.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function nr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=j(L.current.type);H[t]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(L.current.type),e.ref),H[t]=!0)}}function ar(e,r){{var t=function(){ye||(ye=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ir(e,r){{var t=function(){xe||(xe=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,o,u,i){var a={$$typeof:y,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ur(e,r,t,n,o){{var u,i={},a=null,m=null;t!==void 0&&(a=""+t),tr(r)&&(a=""+r.key),rr(r)&&(m=r.ref,nr(r,o));for(u in r)K.call(r,u)&&!er.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var d=e.defaultProps;for(u in d)i[u]===void 0&&(i[u]=d[u])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ar(i,p),m&&ir(i,p)}return or(e,a,m,o,n,L.current,i)}}var X=D.ReactCurrentOwner,Te=D.ReactDebugCurrentFrame;function I(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function je(){{if(X.current){var e=j(X.current.type);if(e)return`
24
24
 
25
- Check the render method of \``+e+"`."}return""}}function cr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
25
+ Check the render method of \``+e+"`."}return""}}function sr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
26
26
 
27
- Check your code at `+r+":"+t+"."}return""}}var we={};function fr(e){{var r=Ce();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
27
+ Check your code at `+r+":"+t+"."}return""}}var Ce={};function cr(e){{var r=je();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
28
28
 
29
- Check the top-level render call using <`+t+">.")}return r}}function Se(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=fr(r);if(we[t])return;we[t]=!0;var n="";e&&e._owner&&e._owner!==Z.current&&(n=" It was passed a child from "+j(e._owner.type)+"."),Y(e),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),Y(null)}}function Ae(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ee(n)&&Se(n,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=Ge(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)ee(i.value)&&Se(i.value,r)}}}function lr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===b))t=r.propTypes;else return;if(t){var n=j(r);er(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var o=j(r);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){Y(e),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Y(null);break}}e.ref!==null&&(Y(e),m("Invalid attribute `ref` supplied to `React.Fragment`."),Y(null))}}function ke(e,r,t,n,o,u){{var i=ze(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 R=cr(o);R?a+=R:a+=Ce();var v;e===null?v="null":Array.isArray(e)?v="array":e!==void 0&&e.$$typeof===T?(v="<"+(j(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,a)}var g=sr(e,r,t,o,u);if(g==null)return g;if(i){var C=r.children;if(C!==void 0)if(n)if(Array.isArray(C)){for(var W=0;W<C.length;W++)Ae(C[W],e);Object.freeze&&Object.freeze(C)}else m("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 Ae(C,e)}return e===f.Fragment?dr(g):lr(g),g}}function vr(e,r,t){return ke(e,r,t,!0)}function pr(e,r,t){return ke(e,r,t,!1)}var gr=pr,hr=vr;f.jsx=gr,f.jsxs=hr}()}(q)),q}process.env.NODE_ENV==="production"?B.exports=Ye():B.exports=We();var ie=B.exports;const Le={popups:[]},Ne=O.createContext(Le),Ue=()=>{const[f,h]=O.useState([]);return{popups:f}},Ve=({children:f})=>{const h=Ue();return ie.jsx(Ne.Provider,{value:h,children:f})},D=Ie.create(),Fe={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},oe=O.createContext(Fe),Me=({cabinetType:f})=>{const[h,_]=O.useState(null),[T,S]=O.useState(null),[E,P]=O.useState(null);return O.useEffect(()=>{(async()=>{if(!D||!h||f===null)return;const d=await D.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:h,cabinetType:f});P(d.data)})()},[h,D]),{cabinetType:f,apiAxios:D,cabinetIsLoading:!1,cabinetSettings:E,phoneNumber:h,setPhoneNumber:_,authToken:T,setAuthToken:S,createAxios:(c,d)=>{D.defaults.baseURL=d,D.defaults.headers.common.Authorization=c}}},$e=({children:f,cabinetType:h})=>{const _=Me({cabinetType:h});return ie.jsx(oe.Provider,{value:{..._,cabinetType:h},children:f})};x.AppContext=oe,x.AppProvider=$e,x.PopupProvider=Ve,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
29
+ Check the top-level render call using <`+t+">.")}return r}}function we(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=cr(r);if(Ce[t])return;Ce[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+j(e._owner.type)+"."),I(e),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),I(null)}}function Se(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&we(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var o=$e(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)Q(i.value)&&we(i.value,r)}}}function fr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===g||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=j(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var o=j(r);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){I(e),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),I(null);break}}e.ref!==null&&(I(e),P("Invalid attribute `ref` supplied to `React.Fragment`."),I(null))}}function Ae(e,r,t,n,o,u){{var i=qe(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 m=sr(o);m?a+=m:a+=je();var d;e===null?d="null":Array.isArray(e)?d="array":e!==void 0&&e.$$typeof===y?(d="<"+(j(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",d,a)}var p=ur(e,r,t,o,u);if(p==null)return p;if(i){var w=r.children;if(w!==void 0)if(n)if(Array.isArray(w)){for(var Y=0;Y<w.length;Y++)Se(w[Y],e);Object.freeze&&Object.freeze(w)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Se(w,e)}return e===f.Fragment?lr(p):fr(p),p}}function dr(e,r,t){return Ae(e,r,t,!0)}function vr(e,r,t){return Ae(e,r,t,!1)}var pr=vr,gr=dr;f.jsx=pr,f.jsxs=gr}()}(G)),G}process.env.NODE_ENV==="production"?B.exports=Ie():B.exports=Ye();var ae=B.exports;const We={popups:[]},Le=O.createContext(We),Ne=()=>{const[f,_]=O.useState([]);return{popups:f}},Ue=({children:f})=>{const _=Ne();return ae.jsx(Le.Provider,{value:_,children:f})},Ve={cabinetType:null,cabinetIsLoading:!0,apiAxios:()=>null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},ie=O.createContext(Ve),Fe=({cabinetType:f})=>{const[_,E]=O.useState(null),[y,C]=O.useState(null),[b,x]=O.useState(null),c=()=>De.create({baseURL:b??"",headers:{Authorization:`Bearer ${y}`}}),[l,g]=O.useState(null);return O.useEffect(()=>{(async()=>{if(!y||!_||f===null)return;const h=await c().post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:_,cabinetType:f});g(h.data)})()},[_,y]),{cabinetType:f,apiAxios:c,cabinetIsLoading:!1,cabinetSettings:l,phoneNumber:_,setPhoneNumber:E,authToken:y,setAuthToken:C,createAxios:(R,h)=>{C(R),x(h)}}},Me=({children:f,cabinetType:_})=>{const E=Fe({cabinetType:_});return ae.jsx(ie.Provider,{value:{...E,cabinetType:_},children:f})};T.AppContext=ie,T.AppProvider=Me,T.PopupProvider=Ue,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bonuspluscomponents",
3
3
  "private": false,
4
- "version": "0.0.55",
4
+ "version": "0.0.57",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",