bonuspluscomponents 0.0.40 → 0.0.42

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.
@@ -19,6 +19,7 @@ type ProviderApp = {
19
19
  cabinetIsLoading: boolean;
20
20
  apiAxios: AxiosInstance | null;
21
21
  phoneNumber: string | null;
22
+ setPhoneNumber: React.Dispatch<React.SetStateAction<string | null>>;
22
23
  cabinetSettings: CabinetSettings | null;
23
24
  };
24
25
  export declare const AppContext: React.Context<ProviderApp>;
@@ -1 +1 @@
1
- {"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../src/AppContext/Context/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEpC,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;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,eAAe,GAAG,IAAI,CAAA;CAC1C,CAAC;AAWF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AAc3D,eAAO,MAAM,WAAW;cAA4B,WAAW;6CAI9D,CAAC"}
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;AAEpC,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,CAAA;CAC1C,CAAC;AAgBF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AAiB3D,eAAO,MAAM,WAAW;cAA4B,WAAW;6CAI9D,CAAC"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("react");var X={exports:{}},k={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react");var X={exports:{}},A={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Pe;function ur(){if(Pe)return k;Pe=1;var b=D,g=Symbol.for("react.element"),V=Symbol.for("react.fragment"),T=Object.prototype.hasOwnProperty,F=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function x(E,c,P){var d,h={},_=null,$=null;P!==void 0&&(_=""+P),c.key!==void 0&&(_=""+c.key),c.ref!==void 0&&($=c.ref);for(d in c)T.call(c,d)&&!I.hasOwnProperty(d)&&(h[d]=c[d]);if(E&&E.defaultProps)for(d in c=E.defaultProps,c)h[d]===void 0&&(h[d]=c[d]);return{$$typeof:g,type:E,key:_,ref:$,props:h,_owner:F.current}}return k.Fragment=V,k.jsx=x,k.jsxs=x,k}var A={};/**
9
+ */var Pe;function ur(){if(Pe)return A;Pe=1;var d=x,b=Symbol.for("react.element"),V=Symbol.for("react.fragment"),T=Object.prototype.hasOwnProperty,F=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function w(E,c,P){var p,h={},_=null,$=null;P!==void 0&&(_=""+P),c.key!==void 0&&(_=""+c.key),c.ref!==void 0&&($=c.ref);for(p in c)T.call(c,p)&&!I.hasOwnProperty(p)&&(h[p]=c[p]);if(E&&E.defaultProps)for(p in c=E.defaultProps,c)h[p]===void 0&&(h[p]=c[p]);return{$$typeof:b,type:E,key:_,ref:$,props:h,_owner:F.current}}return A.Fragment=V,A.jsx=w,A.jsxs=w,A}var D={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,14 +14,14 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ce;function sr(){return Ce||(Ce=1,process.env.NODE_ENV!=="production"&&function(){var b=D,g=Symbol.for("react.element"),V=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),E=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),Q=Symbol.iterator,Oe="@@iterator";function Se(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[Oe];return typeof r=="function"?r:null}var C=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];xe("error",e,t)}}function xe(e,r,t){{var n=C.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var we=!1,je=!1,ke=!1,Ae=!1,De=!1,ee;ee=Symbol.for("react.module.reference");function Fe(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===I||De||e===F||e===P||e===d||Ae||e===$||we||je||ke||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===x||e.$$typeof===E||e.$$typeof===c||e.$$typeof===ee||e.getModuleId!==void 0))}function Ie(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function re(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case V:return"Portal";case I:return"Profiler";case F:return"StrictMode";case P:return"Suspense";case d:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return re(r)+".Consumer";case x:var t=e;return re(t._context)+".Provider";case c:return Ie(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:m(e.type)||"Memo";case _:{var i=e,u=i._payload,o=i._init;try{return m(o(u))}catch{return null}}}return null}var R=Object.assign,w=0,te,ne,ae,oe,ie,ue,se;function le(){}le.__reactDisabledLog=!0;function $e(){{if(w===0){te=console.log,ne=console.info,ae=console.warn,oe=console.error,ie=console.group,ue=console.groupCollapsed,se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}w++}}function We(){{if(w--,w===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:te}),info:R({},e,{value:ne}),warn:R({},e,{value:ae}),error:R({},e,{value:oe}),group:R({},e,{value:ie}),groupCollapsed:R({},e,{value:ue}),groupEnd:R({},e,{value:se})})}w<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=C.ReactCurrentDispatcher,q;function W(e,r,t){{if(q===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
17
+ */var Ce;function sr(){return Ce||(Ce=1,process.env.NODE_ENV!=="production"&&function(){var d=x,b=Symbol.for("react.element"),V=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),E=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),Q=Symbol.iterator,Se="@@iterator";function Oe(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[Se];return typeof r=="function"?r:null}var C=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];xe("error",e,t)}}function xe(e,r,t){{var n=C.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var we=!1,je=!1,ke=!1,Ae=!1,De=!1,ee;ee=Symbol.for("react.module.reference");function Fe(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===I||De||e===F||e===P||e===p||Ae||e===$||we||je||ke||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===w||e.$$typeof===E||e.$$typeof===c||e.$$typeof===ee||e.getModuleId!==void 0))}function Ie(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function re(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case V:return"Portal";case I:return"Profiler";case F:return"StrictMode";case P:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return re(r)+".Consumer";case w:var t=e;return re(t._context)+".Provider";case c:return Ie(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:m(e.type)||"Memo";case _:{var i=e,u=i._payload,o=i._init;try{return m(o(u))}catch{return null}}}return null}var R=Object.assign,j=0,te,ne,ae,oe,ie,ue,se;function le(){}le.__reactDisabledLog=!0;function $e(){{if(j===0){te=console.log,ne=console.info,ae=console.warn,oe=console.error,ie=console.group,ue=console.groupCollapsed,se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}}function We(){{if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:te}),info:R({},e,{value:ne}),warn:R({},e,{value:ae}),error:R({},e,{value:oe}),group:R({},e,{value:ie}),groupCollapsed:R({},e,{value:ue}),groupEnd:R({},e,{value:se})})}j<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=C.ReactCurrentDispatcher,q;function W(e,r,t){{if(q===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
18
18
  `+q+e}}var B=!1,Y;{var Ye=typeof WeakMap=="function"?WeakMap:Map;Y=new Ye}function ce(e,r){if(!e||B)return"";{var t=Y.get(e);if(t!==void 0)return t}var n;B=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=U.current,U.current=null,$e();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(y){n=y}Reflect.construct(e,[],o)}else{try{o.call()}catch(y){n=y}e.call(o.prototype)}}else{try{throw Error()}catch(y){n=y}e()}}catch(y){if(y&&n&&typeof y.stack=="string"){for(var a=y.stack.split(`
19
19
  `),v=n.stack.split(`
20
- `),s=a.length-1,l=v.length-1;s>=1&&l>=0&&a[s]!==v[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==v[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==v[l]){var p=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,p),p}while(s>=1&&l>=0);break}}}finally{B=!1,U.current=u,We(),Error.prepareStackTrace=i}var S=e?e.displayName||e.name:"",Te=S?W(S):"";return typeof e=="function"&&Y.set(e,Te),Te}function Le(e,r,t){return ce(e,!1)}function Ne(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return ce(e,Ne(e));if(typeof e=="string")return W(e);switch(e){case P:return W("Suspense");case d:return W("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Le(e.render);case h:return L(e.type,r,t);case _:{var n=e,i=n._payload,u=n._init;try{return L(u(i),r,t)}catch{}}}return""}var N=Object.prototype.hasOwnProperty,fe={},ve=C.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);ve.setExtraStackFrame(t)}else ve.setExtraStackFrame(null)}function Me(e,r,t,n,i){{var u=Function.call.bind(N);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var v=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(M(i),f("%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,o,typeof a),M(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,M(i),f("Failed %s type: %s",t,a.message),M(null))}}}var Ve=Array.isArray;function J(e){return Ve(e)}function Ue(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return de(e),!1}catch{return!0}}function de(e){return""+e}function pe(e){if(qe(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ue(e)),de(e)}var j=C.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},be,ge,G;G={};function Je(e){if(N.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(N.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ze(e,r){if(typeof e.ref=="string"&&j.current&&r&&j.current.stateNode!==r){var t=m(j.current.type);G[t]||(f('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',m(j.current.type),e.ref),G[t]=!0)}}function Ke(e,r){{var t=function(){be||(be=!0,f("%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 He(e,r){{var t=function(){ge||(ge=!0,f("%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 Xe=function(e,r,t,n,i,u,o){var a={$$typeof:g,type:e,key:r,ref:t,props:o,_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:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Ze(e,r,t,n,i){{var u,o={},a=null,v=null;t!==void 0&&(pe(t),a=""+t),Ge(r)&&(pe(r.key),a=""+r.key),Je(r)&&(v=r.ref,ze(r,i));for(u in r)N.call(r,u)&&!Be.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ke(o,l),v&&He(o,l)}return Xe(e,a,v,i,n,j.current,o)}}var z=C.ReactCurrentOwner,he=C.ReactDebugCurrentFrame;function O(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}var K;K=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}function me(){{if(z.current){var e=m(z.current.type);if(e)return`
20
+ `),s=a.length-1,l=v.length-1;s>=1&&l>=0&&a[s]!==v[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==v[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==v[l]){var g=`
21
+ `+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,g),g}while(s>=1&&l>=0);break}}}finally{B=!1,U.current=u,We(),Error.prepareStackTrace=i}var O=e?e.displayName||e.name:"",Te=O?W(O):"";return typeof e=="function"&&Y.set(e,Te),Te}function Ne(e,r,t){return ce(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function N(e,r,t){if(e==null)return"";if(typeof e=="function")return ce(e,Le(e));if(typeof e=="string")return W(e);switch(e){case P:return W("Suspense");case p:return W("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Ne(e.render);case h:return N(e.type,r,t);case _:{var n=e,i=n._payload,u=n._init;try{return N(u(i),r,t)}catch{}}}return""}var L=Object.prototype.hasOwnProperty,fe={},ve=C.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);ve.setExtraStackFrame(t)}else ve.setExtraStackFrame(null)}function Me(e,r,t,n,i){{var u=Function.call.bind(L);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var v=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(M(i),f("%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,o,typeof a),M(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,M(i),f("Failed %s type: %s",t,a.message),M(null))}}}var Ve=Array.isArray;function J(e){return Ve(e)}function Ue(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return de(e),!1}catch{return!0}}function de(e){return""+e}function pe(e){if(qe(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ue(e)),de(e)}var k=C.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},be,ge,G;G={};function Je(e){if(L.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(L.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ze(e,r){if(typeof e.ref=="string"&&k.current&&r&&k.current.stateNode!==r){var t=m(k.current.type);G[t]||(f('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',m(k.current.type),e.ref),G[t]=!0)}}function Ke(e,r){{var t=function(){be||(be=!0,f("%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 He(e,r){{var t=function(){ge||(ge=!0,f("%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 Xe=function(e,r,t,n,i,u,o){var a={$$typeof:b,type:e,key:r,ref:t,props:o,_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:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Ze(e,r,t,n,i){{var u,o={},a=null,v=null;t!==void 0&&(pe(t),a=""+t),Ge(r)&&(pe(r.key),a=""+r.key),Je(r)&&(v=r.ref,ze(r,i));for(u in r)L.call(r,u)&&!Be.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ke(o,l),v&&He(o,l)}return Xe(e,a,v,i,n,k.current,o)}}var z=C.ReactCurrentOwner,he=C.ReactDebugCurrentFrame;function S(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}var K;K=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===b}function me(){{if(z.current){var e=m(z.current.type);if(e)return`
22
22
 
23
23
  Check the render method of \``+e+"`."}return""}}function Qe(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
24
 
25
25
  Check your code at `+r+":"+t+"."}return""}}var ye={};function er(e){{var r=me();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
26
 
27
- Check the top-level render call using <`+t+">.")}return r}}function Ee(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ye[t])return;ye[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+m(e._owner.type)+"."),O(e),f('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),O(null)}}function _e(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Ee(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var i=Se(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)H(o.value)&&Ee(o.value,r)}}}function rr(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===c||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=m(r);Me(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!K){K=!0;var i=m(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){O(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),O(null);break}}e.ref!==null&&(O(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),O(null))}}function Re(e,r,t,n,i,u){{var o=Fe(e);if(!o){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 v=Qe(i);v?a+=v:a+=me();var s;e===null?s="null":J(e)?s="array":e!==void 0&&e.$$typeof===g?(s="<"+(m(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=Ze(e,r,t,i,u);if(l==null)return l;if(o){var p=r.children;if(p!==void 0)if(n)if(J(p)){for(var S=0;S<p.length;S++)_e(p[S],e);Object.freeze&&Object.freeze(p)}else f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else _e(p,e)}return e===T?tr(l):rr(l),l}}function nr(e,r,t){return Re(e,r,t,!0)}function ar(e,r,t){return Re(e,r,t,!1)}var or=ar,ir=nr;A.Fragment=T,A.jsx=or,A.jsxs=ir}()),A}process.env.NODE_ENV==="production"?X.exports=ur():X.exports=sr();var Z=X.exports;const lr={popups:[]},cr=D.createContext(lr),fr=()=>{const[b,g]=D.useState([]);return{popups:b}},vr=({children:b})=>{const g=fr();return Z.jsx(cr.Provider,{value:g,children:b})},dr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,cabinetSettings:null},pr=D.createContext(dr),br=()=>({cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:null}),gr=({children:b})=>{const g=br();return Z.jsx(pr.Provider,{value:g,children:b})};const hr=({number:b})=>Z.jsx("div",{children:b});exports.AppProvider=gr;exports.PopupProvider=vr;exports.TestComponent=hr;
27
+ Check the top-level render call using <`+t+">.")}return r}}function Ee(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ye[t])return;ye[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+m(e._owner.type)+"."),S(e),f('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)}}function _e(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Ee(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var i=Oe(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)H(o.value)&&Ee(o.value,r)}}}function rr(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===c||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=m(r);Me(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!K){K=!0;var i=m(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){S(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),S(null);break}}e.ref!==null&&(S(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),S(null))}}function Re(e,r,t,n,i,u){{var o=Fe(e);if(!o){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 v=Qe(i);v?a+=v:a+=me();var s;e===null?s="null":J(e)?s="array":e!==void 0&&e.$$typeof===b?(s="<"+(m(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=Ze(e,r,t,i,u);if(l==null)return l;if(o){var g=r.children;if(g!==void 0)if(n)if(J(g)){for(var O=0;O<g.length;O++)_e(g[O],e);Object.freeze&&Object.freeze(g)}else f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else _e(g,e)}return e===T?tr(l):rr(l),l}}function nr(e,r,t){return Re(e,r,t,!0)}function ar(e,r,t){return Re(e,r,t,!1)}var or=ar,ir=nr;D.Fragment=T,D.jsx=or,D.jsxs=ir}()),D}process.env.NODE_ENV==="production"?X.exports=ur():X.exports=sr();var Z=X.exports;const lr={popups:[]},cr=x.createContext(lr),fr=()=>{const[d,b]=x.useState([]);return{popups:d}},vr=({children:d})=>{const b=fr();return Z.jsx(cr.Provider,{value:b,children:d})},dr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null},pr=x.createContext(dr),br=()=>{const[d,b]=x.useState(null);return{cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:d,setPhoneNumber:b}},gr=({children:d})=>{const b=br();return Z.jsx(pr.Provider,{value:b,children:d})};const hr=({number:d})=>Z.jsx("div",{children:d});exports.AppProvider=gr;exports.PopupProvider=vr;exports.TestComponent=hr;
@@ -1,4 +1,4 @@
1
- import Ce, { createContext as Oe, useState as sr } from "react";
1
+ import Ce, { createContext as Oe, useState as Se } from "react";
2
2
  var H = { exports: {} }, k = {};
3
3
  /**
4
4
  * @license React
@@ -14,16 +14,16 @@ function lr() {
14
14
  if (Te)
15
15
  return k;
16
16
  Te = 1;
17
- var b = Ce, g = Symbol.for("react.element"), V = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, D = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ var d = Ce, b = Symbol.for("react.element"), V = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, D = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function x(y, f, P) {
19
- var d, h = {}, _ = null, I = null;
19
+ var p, h = {}, _ = null, I = null;
20
20
  P !== void 0 && (_ = "" + P), f.key !== void 0 && (_ = "" + f.key), f.ref !== void 0 && (I = f.ref);
21
- for (d in f)
22
- T.call(f, d) && !F.hasOwnProperty(d) && (h[d] = f[d]);
21
+ for (p in f)
22
+ T.call(f, p) && !F.hasOwnProperty(p) && (h[p] = f[p]);
23
23
  if (y && y.defaultProps)
24
- for (d in f = y.defaultProps, f)
25
- h[d] === void 0 && (h[d] = f[d]);
26
- return { $$typeof: g, type: y, key: _, ref: I, props: h, _owner: D.current };
24
+ for (p in f = y.defaultProps, f)
25
+ h[p] === void 0 && (h[p] = f[p]);
26
+ return { $$typeof: b, type: y, key: _, ref: I, props: h, _owner: D.current };
27
27
  }
28
28
  return k.Fragment = V, k.jsx = x, k.jsxs = x, k;
29
29
  }
@@ -40,22 +40,22 @@ var A = {};
40
40
  var Pe;
41
41
  function fr() {
42
42
  return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
43
- var b = Ce, g = Symbol.for("react.element"), V = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), Z = Symbol.iterator, Se = "@@iterator";
44
- function xe(e) {
43
+ var d = Ce, b = Symbol.for("react.element"), V = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), Z = Symbol.iterator, xe = "@@iterator";
44
+ function we(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var r = Z && e[Z] || e[Se];
47
+ var r = Z && e[Z] || e[xe];
48
48
  return typeof r == "function" ? r : null;
49
49
  }
50
- var C = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var C = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function c(e) {
52
52
  {
53
53
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
54
54
  t[n - 1] = arguments[n];
55
- we("error", e, t);
55
+ je("error", e, t);
56
56
  }
57
57
  }
58
- function we(e, r, t) {
58
+ function je(e, r, t) {
59
59
  {
60
60
  var n = C.ReactDebugCurrentFrame, i = n.getStackAddendum();
61
61
  i !== "" && (r += "%s", t = t.concat([i]));
@@ -65,16 +65,16 @@ function fr() {
65
65
  u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
66
66
  }
67
67
  }
68
- var je = !1, ke = !1, Ae = !1, De = !1, Fe = !1, Q;
68
+ var ke = !1, Ae = !1, De = !1, Fe = !1, Ie = !1, Q;
69
69
  Q = Symbol.for("react.module.reference");
70
- function Ie(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === T || e === F || Fe || e === D || e === P || e === d || De || e === I || je || ke || Ae || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === h || e.$$typeof === x || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
70
+ function $e(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === T || e === F || Ie || e === D || e === P || e === p || Fe || e === I || ke || Ae || De || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === h || e.$$typeof === x || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
75
  e.$$typeof === Q || e.getModuleId !== void 0));
76
76
  }
77
- function $e(e, r, t) {
77
+ function We(e, r, t) {
78
78
  var n = e.displayName;
79
79
  if (n)
80
80
  return n;
@@ -102,7 +102,7 @@ function fr() {
102
102
  return "StrictMode";
103
103
  case P:
104
104
  return "Suspense";
105
- case d:
105
+ case p:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
@@ -114,7 +114,7 @@ function fr() {
114
114
  var t = e;
115
115
  return ee(t._context) + ".Provider";
116
116
  case f:
117
- return $e(e, e.render, "ForwardRef");
117
+ return We(e, e.render, "ForwardRef");
118
118
  case h:
119
119
  var n = e.displayName || null;
120
120
  return n !== null ? n : m(e.type) || "Memo";
@@ -133,7 +133,7 @@ function fr() {
133
133
  function se() {
134
134
  }
135
135
  se.__reactDisabledLog = !0;
136
- function We() {
136
+ function Ye() {
137
137
  {
138
138
  if (w === 0) {
139
139
  re = console.log, te = console.info, ne = console.warn, ae = console.error, oe = console.group, ie = console.groupCollapsed, ue = console.groupEnd;
@@ -156,7 +156,7 @@ function fr() {
156
156
  w++;
157
157
  }
158
158
  }
159
- function Ye() {
159
+ function Ne() {
160
160
  {
161
161
  if (w--, w === 0) {
162
162
  var e = {
@@ -223,7 +223,7 @@ function fr() {
223
223
  var i = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var u;
226
- u = M.current, M.current = null, We();
226
+ u = M.current, M.current = null, Ye();
227
227
  try {
228
228
  if (r) {
229
229
  var o = function() {
@@ -267,24 +267,24 @@ function fr() {
267
267
  if (s !== 1 || l !== 1)
268
268
  do
269
269
  if (s--, l--, l < 0 || a[s] !== v[l]) {
270
- var p = `
270
+ var g = `
271
271
  ` + a[s].replace(" at new ", " at ");
272
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, p), p;
272
+ return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, g), g;
273
273
  }
274
274
  while (s >= 1 && l >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- B = !1, M.current = u, Ye(), Error.prepareStackTrace = i;
279
+ B = !1, M.current = u, Ne(), Error.prepareStackTrace = i;
280
280
  }
281
281
  var S = e ? e.displayName || e.name : "", Re = S ? $(S) : "";
282
282
  return typeof e == "function" && W.set(e, Re), Re;
283
283
  }
284
- function Ne(e, r, t) {
284
+ function Ve(e, r, t) {
285
285
  return le(e, !1);
286
286
  }
287
- function Ve(e) {
287
+ function Me(e) {
288
288
  var r = e.prototype;
289
289
  return !!(r && r.isReactComponent);
290
290
  }
@@ -292,19 +292,19 @@ function fr() {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return le(e, Ve(e));
295
+ return le(e, Me(e));
296
296
  if (typeof e == "string")
297
297
  return $(e);
298
298
  switch (e) {
299
299
  case P:
300
300
  return $("Suspense");
301
- case d:
301
+ case p:
302
302
  return $("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case f:
307
- return Ne(e.render);
307
+ return Ve(e.render);
308
308
  case h:
309
309
  return Y(e.type, r, t);
310
310
  case _: {
@@ -317,17 +317,17 @@ function fr() {
317
317
  }
318
318
  return "";
319
319
  }
320
- var L = Object.prototype.hasOwnProperty, fe = {}, ce = C.ReactDebugCurrentFrame;
321
- function N(e) {
320
+ var N = Object.prototype.hasOwnProperty, fe = {}, ce = C.ReactDebugCurrentFrame;
321
+ function L(e) {
322
322
  if (e) {
323
323
  var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
324
324
  ce.setExtraStackFrame(t);
325
325
  } else
326
326
  ce.setExtraStackFrame(null);
327
327
  }
328
- function Me(e, r, t, n, i) {
328
+ function Ue(e, r, t, n, i) {
329
329
  {
330
- var u = Function.call.bind(L);
330
+ var u = Function.call.bind(N);
331
331
  for (var o in e)
332
332
  if (u(e, o)) {
333
333
  var a = void 0;
@@ -340,21 +340,21 @@ function fr() {
340
340
  } catch (s) {
341
341
  a = s;
342
342
  }
343
- a && !(a instanceof Error) && (N(i), c("%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, o, typeof a), N(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, N(i), c("Failed %s type: %s", t, a.message), N(null));
343
+ a && !(a instanceof Error) && (L(i), c("%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, o, typeof a), L(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, L(i), c("Failed %s type: %s", t, a.message), L(null));
344
344
  }
345
345
  }
346
346
  }
347
- var Ue = Array.isArray;
347
+ var Be = Array.isArray;
348
348
  function q(e) {
349
- return Ue(e);
349
+ return Be(e);
350
350
  }
351
- function Be(e) {
351
+ function qe(e) {
352
352
  {
353
353
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
354
  return t;
355
355
  }
356
356
  }
357
- function qe(e) {
357
+ function Je(e) {
358
358
  try {
359
359
  return ve(e), !1;
360
360
  } catch {
@@ -365,39 +365,39 @@ function fr() {
365
365
  return "" + e;
366
366
  }
367
367
  function de(e) {
368
- if (qe(e))
369
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), ve(e);
368
+ if (Je(e))
369
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(e)), ve(e);
370
370
  }
371
- var j = C.ReactCurrentOwner, Je = {
371
+ var j = C.ReactCurrentOwner, Ge = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
376
  }, pe, be, J;
377
377
  J = {};
378
- function Ge(e) {
379
- if (L.call(e, "ref")) {
378
+ function ze(e) {
379
+ if (N.call(e, "ref")) {
380
380
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
381
  if (r && r.isReactWarning)
382
382
  return !1;
383
383
  }
384
384
  return e.ref !== void 0;
385
385
  }
386
- function ze(e) {
387
- if (L.call(e, "key")) {
386
+ function Ke(e) {
387
+ if (N.call(e, "key")) {
388
388
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
389
  if (r && r.isReactWarning)
390
390
  return !1;
391
391
  }
392
392
  return e.key !== void 0;
393
393
  }
394
- function Ke(e, r) {
394
+ function He(e, r) {
395
395
  if (typeof e.ref == "string" && j.current && r && j.current.stateNode !== r) {
396
396
  var t = m(j.current.type);
397
397
  J[t] || (c('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', m(j.current.type), e.ref), J[t] = !0);
398
398
  }
399
399
  }
400
- function He(e, r) {
400
+ function Xe(e, r) {
401
401
  {
402
402
  var t = function() {
403
403
  pe || (pe = !0, c("%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));
@@ -408,7 +408,7 @@ function fr() {
408
408
  });
409
409
  }
410
410
  }
411
- function Xe(e, r) {
411
+ function Ze(e, r) {
412
412
  {
413
413
  var t = function() {
414
414
  be || (be = !0, c("%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));
@@ -419,10 +419,10 @@ function fr() {
419
419
  });
420
420
  }
421
421
  }
422
- var Ze = function(e, r, t, n, i, u, o) {
422
+ var Qe = function(e, r, t, n, i, u, o) {
423
423
  var a = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: g,
425
+ $$typeof: b,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
428
  key: r,
@@ -448,12 +448,12 @@ function fr() {
448
448
  value: i
449
449
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
450
450
  };
451
- function Qe(e, r, t, n, i) {
451
+ function er(e, r, t, n, i) {
452
452
  {
453
453
  var u, o = {}, a = null, v = null;
454
- t !== void 0 && (de(t), a = "" + t), ze(r) && (de(r.key), a = "" + r.key), Ge(r) && (v = r.ref, Ke(r, i));
454
+ t !== void 0 && (de(t), a = "" + t), Ke(r) && (de(r.key), a = "" + r.key), ze(r) && (v = r.ref, He(r, i));
455
455
  for (u in r)
456
- L.call(r, u) && !Je.hasOwnProperty(u) && (o[u] = r[u]);
456
+ N.call(r, u) && !Ge.hasOwnProperty(u) && (o[u] = r[u]);
457
457
  if (e && e.defaultProps) {
458
458
  var s = e.defaultProps;
459
459
  for (u in s)
@@ -461,9 +461,9 @@ function fr() {
461
461
  }
462
462
  if (a || v) {
463
463
  var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- a && He(o, l), v && Xe(o, l);
464
+ a && Xe(o, l), v && Ze(o, l);
465
465
  }
466
- return Ze(e, a, v, i, n, j.current, o);
466
+ return Qe(e, a, v, i, n, j.current, o);
467
467
  }
468
468
  }
469
469
  var G = C.ReactCurrentOwner, ge = C.ReactDebugCurrentFrame;
@@ -477,7 +477,7 @@ function fr() {
477
477
  var z;
478
478
  z = !1;
479
479
  function K(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === g;
480
+ return typeof e == "object" && e !== null && e.$$typeof === b;
481
481
  }
482
482
  function he() {
483
483
  {
@@ -491,7 +491,7 @@ Check the render method of \`` + e + "`.";
491
491
  return "";
492
492
  }
493
493
  }
494
- function er(e) {
494
+ function rr(e) {
495
495
  {
496
496
  if (e !== void 0) {
497
497
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -503,7 +503,7 @@ Check your code at ` + r + ":" + t + ".";
503
503
  }
504
504
  }
505
505
  var me = {};
506
- function rr(e) {
506
+ function tr(e) {
507
507
  {
508
508
  var r = he();
509
509
  if (!r) {
@@ -520,7 +520,7 @@ Check the top-level render call using <` + t + ">.");
520
520
  if (!e._store || e._store.validated || e.key != null)
521
521
  return;
522
522
  e._store.validated = !0;
523
- var t = rr(r);
523
+ var t = tr(r);
524
524
  if (me[t])
525
525
  return;
526
526
  me[t] = !0;
@@ -540,14 +540,14 @@ Check the top-level render call using <` + t + ">.");
540
540
  else if (K(e))
541
541
  e._store && (e._store.validated = !0);
542
542
  else if (e) {
543
- var i = xe(e);
543
+ var i = we(e);
544
544
  if (typeof i == "function" && i !== e.entries)
545
545
  for (var u = i.call(e), o; !(o = u.next()).done; )
546
546
  K(o.value) && Ee(o.value, r);
547
547
  }
548
548
  }
549
549
  }
550
- function tr(e) {
550
+ function nr(e) {
551
551
  {
552
552
  var r = e.type;
553
553
  if (r == null || typeof r == "string")
@@ -563,7 +563,7 @@ Check the top-level render call using <` + t + ">.");
563
563
  return;
564
564
  if (t) {
565
565
  var n = m(r);
566
- Me(t, e.props, "prop", n, e);
566
+ Ue(t, e.props, "prop", n, e);
567
567
  } else if (r.PropTypes !== void 0 && !z) {
568
568
  z = !0;
569
569
  var i = m(r);
@@ -572,7 +572,7 @@ Check the top-level render call using <` + t + ">.");
572
572
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
573
  }
574
574
  }
575
- function nr(e) {
575
+ function ar(e) {
576
576
  {
577
577
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
578
578
  var n = r[t];
@@ -586,42 +586,42 @@ Check the top-level render call using <` + t + ">.");
586
586
  }
587
587
  function _e(e, r, t, n, i, u) {
588
588
  {
589
- var o = Ie(e);
589
+ var o = $e(e);
590
590
  if (!o) {
591
591
  var a = "";
592
592
  (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.");
593
- var v = er(i);
593
+ var v = rr(i);
594
594
  v ? a += v : a += he();
595
595
  var s;
596
- e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === g ? (s = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
596
+ e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === b ? (s = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
597
597
  }
598
- var l = Qe(e, r, t, i, u);
598
+ var l = er(e, r, t, i, u);
599
599
  if (l == null)
600
600
  return l;
601
601
  if (o) {
602
- var p = r.children;
603
- if (p !== void 0)
602
+ var g = r.children;
603
+ if (g !== void 0)
604
604
  if (n)
605
- if (q(p)) {
606
- for (var S = 0; S < p.length; S++)
607
- ye(p[S], e);
608
- Object.freeze && Object.freeze(p);
605
+ if (q(g)) {
606
+ for (var S = 0; S < g.length; S++)
607
+ ye(g[S], e);
608
+ Object.freeze && Object.freeze(g);
609
609
  } else
610
610
  c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
611
  else
612
- ye(p, e);
612
+ ye(g, e);
613
613
  }
614
- return e === T ? nr(l) : tr(l), l;
614
+ return e === T ? ar(l) : nr(l), l;
615
615
  }
616
616
  }
617
- function ar(e, r, t) {
617
+ function or(e, r, t) {
618
618
  return _e(e, r, t, !0);
619
619
  }
620
- function or(e, r, t) {
620
+ function ir(e, r, t) {
621
621
  return _e(e, r, t, !1);
622
622
  }
623
- var ir = or, ur = ar;
624
- A.Fragment = T, A.jsx = ir, A.jsxs = ur;
623
+ var ur = ir, sr = or;
624
+ A.Fragment = T, A.jsx = ur, A.jsxs = sr;
625
625
  }()), A;
626
626
  }
627
627
  process.env.NODE_ENV === "production" ? H.exports = lr() : H.exports = fr();
@@ -629,30 +629,35 @@ var X = H.exports;
629
629
  const cr = {
630
630
  popups: []
631
631
  }, vr = Oe(cr), dr = () => {
632
- const [b, g] = sr([]);
632
+ const [d, b] = Se([]);
633
633
  return {
634
- popups: b
634
+ popups: d
635
635
  };
636
- }, mr = ({ children: b }) => {
637
- const g = dr();
638
- return /* @__PURE__ */ X.jsx(vr.Provider, { value: g, children: b });
636
+ }, mr = ({ children: d }) => {
637
+ const b = dr();
638
+ return /* @__PURE__ */ X.jsx(vr.Provider, { value: b, children: d });
639
639
  }, pr = {
640
640
  cabinetType: null,
641
641
  cabinetIsLoading: !0,
642
642
  apiAxios: null,
643
643
  phoneNumber: null,
644
+ setPhoneNumber: null,
644
645
  cabinetSettings: null
645
- }, br = Oe(pr), gr = () => ({
646
- cabinetType: 2,
647
- apiAxios: null,
648
- cabinetIsLoading: !1,
649
- cabinetSettings: null,
650
- phoneNumber: null
651
- }), Er = ({ children: b }) => {
652
- const g = gr();
653
- return /* @__PURE__ */ X.jsx(br.Provider, { value: g, children: b });
646
+ }, br = Oe(pr), gr = () => {
647
+ const [d, b] = Se(null);
648
+ return {
649
+ cabinetType: 2,
650
+ apiAxios: null,
651
+ cabinetIsLoading: !1,
652
+ cabinetSettings: null,
653
+ phoneNumber: d,
654
+ setPhoneNumber: b
655
+ };
656
+ }, Er = ({ children: d }) => {
657
+ const b = gr();
658
+ return /* @__PURE__ */ X.jsx(br.Provider, { value: b, children: d });
654
659
  };
655
- const yr = ({ number: b }) => /* @__PURE__ */ X.jsx("div", { children: b });
660
+ const yr = ({ number: d }) => /* @__PURE__ */ X.jsx("div", { children: d });
656
661
  export {
657
662
  Er as AppProvider,
658
663
  mr as PopupProvider,
@@ -1,4 +1,4 @@
1
- (function(h,m){typeof exports=="object"&&typeof module<"u"?m(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],m):(h=typeof globalThis<"u"?globalThis:h||self,m(h.bonuspluscomponents={},h.require$$0))})(this,function(h,m){"use strict";var U={exports:{}},j={};/**
1
+ (function(m,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(m=typeof globalThis<"u"?globalThis:m||self,g(m.bonuspluscomponents={},m.require$$0))})(this,function(m,g){"use strict";var U={exports:{}},j={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var ee;function Se(){if(ee)return j;ee=1;var b=m,g=Symbol.for("react.element"),J=Symbol.for("react.fragment"),C=Object.prototype.hasOwnProperty,I=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,W={key:!0,ref:!0,__self:!0,__source:!0};function A(R,f,O){var v,y={},T=null,Y=null;O!==void 0&&(T=""+O),f.key!==void 0&&(T=""+f.key),f.ref!==void 0&&(Y=f.ref);for(v in f)C.call(f,v)&&!W.hasOwnProperty(v)&&(y[v]=f[v]);if(R&&R.defaultProps)for(v in f=R.defaultProps,f)y[v]===void 0&&(y[v]=f[v]);return{$$typeof:g,type:R,key:T,ref:Y,props:y,_owner:I.current}}return j.Fragment=J,j.jsx=A,j.jsxs=A,j}var k={};/**
9
+ */var ee;function Oe(){if(ee)return j;ee=1;var v=g,b=Symbol.for("react.element"),J=Symbol.for("react.fragment"),C=Object.prototype.hasOwnProperty,I=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,W={key:!0,ref:!0,__self:!0,__source:!0};function A(R,f,S){var p,y={},T=null,Y=null;S!==void 0&&(T=""+S),f.key!==void 0&&(T=""+f.key),f.ref!==void 0&&(Y=f.ref);for(p in f)C.call(f,p)&&!W.hasOwnProperty(p)&&(y[p]=f[p]);if(R&&R.defaultProps)for(p in f=R.defaultProps,f)y[p]===void 0&&(y[p]=f[p]);return{$$typeof:b,type:R,key:T,ref:Y,props:y,_owner:I.current}}return j.Fragment=J,j.jsx=A,j.jsxs=A,j}var k={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,14 +14,14 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var re;function xe(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var b=m,g=Symbol.for("react.element"),J=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),R=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),te=Symbol.iterator,Le="@@iterator";function Ne(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[Le];return typeof r=="function"?r:null}var S=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(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=S.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Me=!1,Ve=!1,Ue=!1,Be=!1,Je=!1,ne;ne=Symbol.for("react.module.reference");function Ge(e){return!!(typeof e=="string"||typeof e=="function"||e===C||e===W||Je||e===I||e===O||e===v||Be||e===Y||Me||Ve||Ue||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===y||e.$$typeof===A||e.$$typeof===R||e.$$typeof===f||e.$$typeof===ne||e.getModuleId!==void 0))}function qe(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case J:return"Portal";case W:return"Profiler";case I:return"StrictMode";case O:return"Suspense";case v:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return ae(r)+".Consumer";case A:var t=e;return ae(t._context)+".Provider";case f:return qe(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case T:{var i=e,u=i._payload,o=i._init;try{return E(o(u))}catch{return null}}}return null}var P=Object.assign,D=0,oe,ie,ue,se,le,fe,ce;function de(){}de.__reactDisabledLog=!0;function ze(){{if(D===0){oe=console.log,ie=console.info,ue=console.warn,se=console.error,le=console.group,fe=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function Ke(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:oe}),info:P({},e,{value:ie}),warn:P({},e,{value:ue}),error:P({},e,{value:se}),group:P({},e,{value:le}),groupCollapsed:P({},e,{value:fe}),groupEnd:P({},e,{value:ce})})}D<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=S.ReactCurrentDispatcher,q;function L(e,r,t){{if(q===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
18
- `+q+e}}var z=!1,N;{var He=typeof WeakMap=="function"?WeakMap:Map;N=new He}function ve(e,r){if(!e||z)return"";{var t=N.get(e);if(t!==void 0)return t}var n;z=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=G.current,G.current=null,ze();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(_){n=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){n=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){n=_}e()}}catch(_){if(_&&n&&typeof _.stack=="string"){for(var a=_.stack.split(`
17
+ */var re;function xe(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var v=g,b=Symbol.for("react.element"),J=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),R=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),te=Symbol.iterator,Ne="@@iterator";function Le(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[Ne];return typeof r=="function"?r:null}var O=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(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=O.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Me=!1,Ve=!1,Ue=!1,Be=!1,Je=!1,ne;ne=Symbol.for("react.module.reference");function Ge(e){return!!(typeof e=="string"||typeof e=="function"||e===C||e===W||Je||e===I||e===S||e===p||Be||e===Y||Me||Ve||Ue||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===y||e.$$typeof===A||e.$$typeof===R||e.$$typeof===f||e.$$typeof===ne||e.getModuleId!==void 0))}function ze(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case J:return"Portal";case W:return"Profiler";case I:return"StrictMode";case S:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return ae(r)+".Consumer";case A:var t=e;return ae(t._context)+".Provider";case f:return ze(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case T:{var i=e,u=i._payload,o=i._init;try{return E(o(u))}catch{return null}}}return null}var P=Object.assign,D=0,oe,ie,ue,se,le,fe,ce;function de(){}de.__reactDisabledLog=!0;function qe(){{if(D===0){oe=console.log,ie=console.info,ue=console.warn,se=console.error,le=console.group,fe=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function Ke(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:oe}),info:P({},e,{value:ie}),warn:P({},e,{value:ue}),error:P({},e,{value:se}),group:P({},e,{value:le}),groupCollapsed:P({},e,{value:fe}),groupEnd:P({},e,{value:ce})})}D<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=O.ReactCurrentDispatcher,z;function N(e,r,t){{if(z===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);z=n&&n[1]||""}return`
18
+ `+z+e}}var q=!1,L;{var He=typeof WeakMap=="function"?WeakMap:Map;L=new He}function ve(e,r){if(!e||q)return"";{var t=L.get(e);if(t!==void 0)return t}var n;q=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=G.current,G.current=null,qe();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(_){n=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){n=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){n=_}e()}}catch(_){if(_&&n&&typeof _.stack=="string"){for(var a=_.stack.split(`
19
19
  `),d=n.stack.split(`
20
- `),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var p=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,p),p}while(s>=1&&l>=0);break}}}finally{z=!1,G.current=u,Ke(),Error.prepareStackTrace=i}var w=e?e.displayName||e.name:"",Oe=w?L(w):"";return typeof e=="function"&&N.set(e,Oe),Oe}function Xe(e,r,t){return ve(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function $(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ze(e));if(typeof e=="string")return L(e);switch(e){case O:return L("Suspense");case v:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Xe(e.render);case y:return $(e.type,r,t);case T:{var n=e,i=n._payload,u=n._init;try{return $(u(i),r,t)}catch{}}}return""}var M=Object.prototype.hasOwnProperty,pe={},be=S.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}function Qe(e,r,t,n,i){{var u=Function.call.bind(M);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(V(i),c("%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,o,typeof a),V(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,V(i),c("Failed %s type: %s",t,a.message),V(null))}}}var er=Array.isArray;function K(e){return er(e)}function rr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function tr(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function he(e){if(tr(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(e)),ge(e)}var F=S.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},me,ye,H;H={};function ar(e){if(M.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function or(e){if(M.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ir(e,r){if(typeof e.ref=="string"&&F.current&&r&&F.current.stateNode!==r){var t=E(F.current.type);H[t]||(c('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',E(F.current.type),e.ref),H[t]=!0)}}function ur(e,r){{var t=function(){me||(me=!0,c("%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 sr(e,r){{var t=function(){ye||(ye=!0,c("%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 lr=function(e,r,t,n,i,u,o){var a={$$typeof:g,type:e,key:r,ref:t,props:o,_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:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function fr(e,r,t,n,i){{var u,o={},a=null,d=null;t!==void 0&&(he(t),a=""+t),or(r)&&(he(r.key),a=""+r.key),ar(r)&&(d=r.ref,ir(r,i));for(u in r)M.call(r,u)&&!nr.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ur(o,l),d&&sr(o,l)}return lr(e,a,d,i,n,F.current,o)}}var X=S.ReactCurrentOwner,Ee=S.ReactDebugCurrentFrame;function x(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}function _e(){{if(X.current){var e=E(X.current.type);if(e)return`
20
+ `),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var h=`
21
+ `+a[s].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&L.set(e,h),h}while(s>=1&&l>=0);break}}}finally{q=!1,G.current=u,Ke(),Error.prepareStackTrace=i}var w=e?e.displayName||e.name:"",Se=w?N(w):"";return typeof e=="function"&&L.set(e,Se),Se}function Xe(e,r,t){return ve(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function $(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ze(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 f:return Xe(e.render);case y:return $(e.type,r,t);case T:{var n=e,i=n._payload,u=n._init;try{return $(u(i),r,t)}catch{}}}return""}var M=Object.prototype.hasOwnProperty,pe={},be=O.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}function Qe(e,r,t,n,i){{var u=Function.call.bind(M);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(V(i),c("%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,o,typeof a),V(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,V(i),c("Failed %s type: %s",t,a.message),V(null))}}}var er=Array.isArray;function K(e){return er(e)}function rr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function tr(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function ge(e){if(tr(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(e)),he(e)}var F=O.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},me,ye,H;H={};function ar(e){if(M.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function or(e){if(M.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ir(e,r){if(typeof e.ref=="string"&&F.current&&r&&F.current.stateNode!==r){var t=E(F.current.type);H[t]||(c('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',E(F.current.type),e.ref),H[t]=!0)}}function ur(e,r){{var t=function(){me||(me=!0,c("%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 sr(e,r){{var t=function(){ye||(ye=!0,c("%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 lr=function(e,r,t,n,i,u,o){var a={$$typeof:b,type:e,key:r,ref:t,props:o,_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:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function fr(e,r,t,n,i){{var u,o={},a=null,d=null;t!==void 0&&(ge(t),a=""+t),or(r)&&(ge(r.key),a=""+r.key),ar(r)&&(d=r.ref,ir(r,i));for(u in r)M.call(r,u)&&!nr.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ur(o,l),d&&sr(o,l)}return lr(e,a,d,i,n,F.current,o)}}var X=O.ReactCurrentOwner,Ee=O.ReactDebugCurrentFrame;function x(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===b}function _e(){{if(X.current){var e=E(X.current.type);if(e)return`
22
22
 
23
23
  Check the render method of \``+e+"`."}return""}}function cr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
24
 
25
25
  Check your code at `+r+":"+t+"."}return""}}var Re={};function dr(e){{var r=_e();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
26
 
27
- Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=dr(r);if(Re[t])return;Re[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),x(e),c('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),x(null)}}function Pe(e,r){{if(typeof e!="object")return;if(K(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&Te(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var i=Ne(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)Q(o.value)&&Te(o.value,r)}}}function vr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=E(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var i=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){x(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),x(null);break}}e.ref!==null&&(x(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),x(null))}}function Ce(e,r,t,n,i,u){{var o=Ge(e);if(!o){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 d=cr(i);d?a+=d:a+=_e();var s;e===null?s="null":K(e)?s="array":e!==void 0&&e.$$typeof===g?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=fr(e,r,t,i,u);if(l==null)return l;if(o){var p=r.children;if(p!==void 0)if(n)if(K(p)){for(var w=0;w<p.length;w++)Pe(p[w],e);Object.freeze&&Object.freeze(p)}else c("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(p,e)}return e===C?pr(l):vr(l),l}}function br(e,r,t){return Ce(e,r,t,!0)}function gr(e,r,t){return Ce(e,r,t,!1)}var hr=gr,mr=br;k.Fragment=C,k.jsx=hr,k.jsxs=mr}()),k}process.env.NODE_ENV==="production"?U.exports=Se():U.exports=xe();var B=U.exports;const we={popups:[]},je=m.createContext(we),ke=()=>{const[b,g]=m.useState([]);return{popups:b}},Ae=({children:b})=>{const g=ke();return B.jsx(je.Provider,{value:g,children:b})},De={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,cabinetSettings:null},Fe=m.createContext(De),Ie=()=>({cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:null}),We=({children:b})=>{const g=Ie();return B.jsx(Fe.Provider,{value:g,children:b})},yr="",Ye=({number:b})=>B.jsx("div",{children:b});h.AppProvider=We,h.PopupProvider=Ae,h.TestComponent=Ye,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
27
+ Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=dr(r);if(Re[t])return;Re[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),x(e),c('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),x(null)}}function Pe(e,r){{if(typeof e!="object")return;if(K(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&Te(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var i=Le(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)Q(o.value)&&Te(o.value,r)}}}function vr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=E(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var i=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){x(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),x(null);break}}e.ref!==null&&(x(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),x(null))}}function Ce(e,r,t,n,i,u){{var o=Ge(e);if(!o){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 d=cr(i);d?a+=d:a+=_e();var s;e===null?s="null":K(e)?s="array":e!==void 0&&e.$$typeof===b?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=fr(e,r,t,i,u);if(l==null)return l;if(o){var h=r.children;if(h!==void 0)if(n)if(K(h)){for(var w=0;w<h.length;w++)Pe(h[w],e);Object.freeze&&Object.freeze(h)}else c("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(h,e)}return e===C?pr(l):vr(l),l}}function br(e,r,t){return Ce(e,r,t,!0)}function hr(e,r,t){return Ce(e,r,t,!1)}var gr=hr,mr=br;k.Fragment=C,k.jsx=gr,k.jsxs=mr}()),k}process.env.NODE_ENV==="production"?U.exports=Oe():U.exports=xe();var B=U.exports;const we={popups:[]},je=g.createContext(we),ke=()=>{const[v,b]=g.useState([]);return{popups:v}},Ae=({children:v})=>{const b=ke();return B.jsx(je.Provider,{value:b,children:v})},De={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null},Fe=g.createContext(De),Ie=()=>{const[v,b]=g.useState(null);return{cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:v,setPhoneNumber:b}},We=({children:v})=>{const b=Ie();return B.jsx(Fe.Provider,{value:b,children:v})},yr="",Ye=({number:v})=>B.jsx("div",{children:v});m.AppProvider=We,m.PopupProvider=Ae,m.TestComponent=Ye,Object.defineProperty(m,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.40",
4
+ "version": "0.0.42",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",