@qobo/banner 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -6
- package/dist/index.js +37 -36
- package/package.json +1 -1
- package/src/QoboBanner.jsx +5 -4
package/dist/index.cjs
CHANGED
|
@@ -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 Se;function cr(){if(Se)return I;Se=1;var j=Y,_=Symbol.for("react.element"),k=Symbol.for("react.fragment"),
|
|
9
|
+
*/var Se;function cr(){if(Se)return I;Se=1;var j=Y,_=Symbol.for("react.element"),k=Symbol.for("react.fragment"),h=Object.prototype.hasOwnProperty,F=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,T={key:!0,ref:!0,__self:!0,__source:!0};function m(y,f,E){var c,b={},w=null,W=null;E!==void 0&&(w=""+E),f.key!==void 0&&(w=""+f.key),f.ref!==void 0&&(W=f.ref);for(c in f)h.call(f,c)&&!T.hasOwnProperty(c)&&(b[c]=f[c]);if(y&&y.defaultProps)for(c in f=y.defaultProps,f)b[c]===void 0&&(b[c]=f[c]);return{$$typeof:_,type:y,key:w,ref:W,props:b,_owner:F.current}}return I.Fragment=k,I.jsx=m,I.jsxs=m,I}var $={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,17 +14,17 @@
|
|
|
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 Pe;function dr(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&function(){var j=Y,_=Symbol.for("react.element"),k=Symbol.for("react.portal"),
|
|
17
|
+
*/var Pe;function dr(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&function(){var j=Y,_=Symbol.for("react.element"),k=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),y=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),Z=Symbol.iterator,xe="@@iterator";function Ce(e){if(e===null||typeof e!="object")return null;var r=Z&&e[Z]||e[xe];return typeof r=="function"?r:null}var O=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function d(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];je("error",e,t)}}function je(e,r,t){{var n=O.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var s=t.map(function(o){return String(o)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var ke=!1,Fe=!1,Ae=!1,De=!1,Ie=!1,ee;ee=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===h||e===T||Ie||e===F||e===E||e===c||De||e===W||ke||Fe||Ae||typeof e=="object"&&e!==null&&(e.$$typeof===w||e.$$typeof===b||e.$$typeof===m||e.$$typeof===y||e.$$typeof===f||e.$$typeof===ee||e.getModuleId!==void 0))}function Ye(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 R(e){if(e==null)return null;if(typeof e.tag=="number"&&d("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 h:return"Fragment";case k:return"Portal";case T:return"Profiler";case F:return"StrictMode";case E:return"Suspense";case c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var r=e;return re(r)+".Consumer";case m:var t=e;return re(t._context)+".Provider";case f:return Ye(e,e.render,"ForwardRef");case b:var n=e.displayName||null;return n!==null?n:R(e.type)||"Memo";case w:{var i=e,s=i._payload,o=i._init;try{return R(o(s))}catch{return null}}}return null}var S=Object.assign,A=0,te,ne,ae,oe,ie,se,ue;function le(){}le.__reactDisabledLog=!0;function We(){{if(A===0){te=console.log,ne=console.info,ae=console.warn,oe=console.error,ie=console.group,se=console.groupCollapsed,ue=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})}A++}}function Be(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S({},e,{value:te}),info:S({},e,{value:ne}),warn:S({},e,{value:ae}),error:S({},e,{value:oe}),group:S({},e,{value:ie}),groupCollapsed:S({},e,{value:se}),groupEnd:S({},e,{value:ue})})}A<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=O.ReactCurrentDispatcher,N;function B(e,r,t){{if(N===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);N=n&&n[1]||""}return`
|
|
18
18
|
`+N+e}}var K=!1,V;{var Ve=typeof WeakMap=="function"?WeakMap:Map;V=new Ve}function fe(e,r){if(!e||K)return"";{var t=V.get(e);if(t!==void 0)return t}var n;K=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=U.current,U.current=null,We();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(p){n=p}Reflect.construct(e,[],o)}else{try{o.call()}catch(p){n=p}e.call(o.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
|
|
19
19
|
`),v=n.stack.split(`
|
|
20
|
-
`),u=a.length-1,l=v.length-1;u>=1&&l>=0&&a[u]!==v[l];)l--;for(;u>=1&&l>=0;u--,l--)if(a[u]!==v[l]){if(u!==1||l!==1)do if(u--,l--,l<0||a[u]!==v[l]){var
|
|
21
|
-
`+a[u].replace(" at new "," at ");return e.displayName&&
|
|
20
|
+
`),u=a.length-1,l=v.length-1;u>=1&&l>=0&&a[u]!==v[l];)l--;for(;u>=1&&l>=0;u--,l--)if(a[u]!==v[l]){if(u!==1||l!==1)do if(u--,l--,l<0||a[u]!==v[l]){var g=`
|
|
21
|
+
`+a[u].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&V.set(e,g),g}while(u>=1&&l>=0);break}}}finally{K=!1,U.current=s,Be(),Error.prepareStackTrace=i}var C=e?e.displayName||e.name:"",P=C?B(C):"";return typeof e=="function"&&V.set(e,P),P}function Le(e,r,t){return fe(e,!1)}function Me(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return fe(e,Me(e));if(typeof e=="string")return B(e);switch(e){case E:return B("Suspense");case c:return B("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Le(e.render);case b:return L(e.type,r,t);case w:{var n=e,i=n._payload,s=n._init;try{return L(s(i),r,t)}catch{}}}return""}var D=Object.prototype.hasOwnProperty,ce={},de=O.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);de.setExtraStackFrame(t)}else de.setExtraStackFrame(null)}function Ue(e,r,t,n,i){{var s=Function.call.bind(D);for(var o in e)if(s(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(u){a=u}a&&!(a instanceof Error)&&(M(i),d("%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 ce)&&(ce[a.message]=!0,M(i),d("Failed %s type: %s",t,a.message),M(null))}}}var Ne=Array.isArray;function q(e){return Ne(e)}function Ke(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return ve(e),!1}catch{return!0}}function ve(e){return""+e}function pe(e){if(qe(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ke(e)),ve(e)}var be=O.ReactCurrentOwner,Je={key:!0,ref:!0,__self:!0,__source:!0},ge,he;function ze(e){if(D.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(D.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&be.current}function Xe(e,r){{var t=function(){ge||(ge=!0,d("%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(){he||(he=!0,d("%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 Ze=function(e,r,t,n,i,s,o){var a={$$typeof:_,type:e,key:r,ref:t,props:o,_owner:s};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 er(e,r,t,n,i){{var s,o={},a=null,v=null;t!==void 0&&(pe(t),a=""+t),Ge(r)&&(pe(r.key),a=""+r.key),ze(r)&&(v=r.ref,Qe(r,i));for(s in r)D.call(r,s)&&!Je.hasOwnProperty(s)&&(o[s]=r[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)o[s]===void 0&&(o[s]=u[s])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Xe(o,l),v&&He(o,l)}return Ze(e,a,v,i,n,be.current,o)}}var J=O.ReactCurrentOwner,ye=O.ReactDebugCurrentFrame;function x(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);ye.setExtraStackFrame(t)}else ye.setExtraStackFrame(null)}var z;z=!1;function G(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}function Ee(){{if(J.current){var e=R(J.current.type);if(e)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+e+"`."}return""}}function rr(e){return""}var _e={};function tr(e){{var r=Ee();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+t+">.")}return r}}function me(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=tr(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),x(e),d('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 Re(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&me(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var i=Ce(e);if(typeof i=="function"&&i!==e.entries)for(var s=i.call(e),o;!(o=s.next()).done;)G(o.value)&&me(o.value,r)}}}function nr(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===b))t=r.propTypes;else return;if(t){var n=R(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var i=R(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(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),d("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),d("Invalid attribute `ref` supplied to `React.Fragment`."),x(null))}}var Te={};function we(e,r,t,n,i,s){{var o=$e(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=rr();v?a+=v:a+=Ee();var u;e===null?u="null":q(e)?u="array":e!==void 0&&e.$$typeof===_?(u="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=er(e,r,t,i,s);if(l==null)return l;if(o){var
|
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function me(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=tr(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+R(e._owner.type)+"."),x(e),d('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 Re(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&me(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var i=Ce(e);if(typeof i=="function"&&i!==e.entries)for(var s=i.call(e),o;!(o=s.next()).done;)G(o.value)&&me(o.value,r)}}}function nr(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===b))t=r.propTypes;else return;if(t){var n=R(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var i=R(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(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),d("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),d("Invalid attribute `ref` supplied to `React.Fragment`."),x(null))}}var Te={};function we(e,r,t,n,i,s){{var o=$e(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=rr();v?a+=v:a+=Ee();var u;e===null?u="null":q(e)?u="array":e!==void 0&&e.$$typeof===_?(u="<"+(R(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=er(e,r,t,i,s);if(l==null)return l;if(o){var g=r.children;if(g!==void 0)if(n)if(q(g)){for(var C=0;C<g.length;C++)Re(g[C],e);Object.freeze&&Object.freeze(g)}else d("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 Re(g,e)}if(D.call(r,"key")){var P=R(e),p=Object.keys(r).filter(function(fr){return fr!=="key"}),Q=p.length>0?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}";if(!Te[P+Q]){var lr=p.length>0?"{"+p.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Q,P,lr,P),Te[P+Q]=!0}}return e===
|
|
30
|
+
<%s key={someKey} {...props} />`,Q,P,lr,P),Te[P+Q]=!0}}return e===h?ar(l):nr(l),l}}function or(e,r,t){return we(e,r,t,!0)}function ir(e,r,t){return we(e,r,t,!1)}var sr=ir,ur=or;$.Fragment=h,$.jsx=sr,$.jsxs=ur}()),$}process.env.NODE_ENV==="production"?H.exports=cr():H.exports=dr();var X=H.exports;function Oe(){const[j,_]=Y.useState(!0),[k,h]=Y.useState(!0);return Y.useEffect(()=>{(async()=>{var T;try{const y="https://api.qobo.dev";console.warn("[QoboBanner] VITE_API_KEY not set, defaulting to visible"),h(!1);return}catch(m){console.warn("[QoboBanner] Error fetching banner visibility, defaulting to visible:",m.message),_(!0)}finally{h(!1)}})()},[]),!j&&!k?null:X.jsxs("div",{className:"w-full bg-gradient-to-r from-cyan-400 to-blue-500 text-white py-2 px-4 text-center text-sm font-medium shadow-md",style:{position:"sticky",top:0,zIndex:9999,minHeight:"50px",background:"linear-gradient(90deg, #FF7A2F 0%, #46C6B9 100%)",color:"#F1F5F9",padding:"12px 16px",textAlign:"center",fontSize:"0.875rem",fontWeight:"500",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",transition:"all 0.3s ease"},children:["Made with"," ",X.jsx("span",{style:{color:"#FF1744",display:"inline-block",margin:"0 0.25rem"},children:"❤️"})," ","by"," ",X.jsx("a",{href:"https://qobo.dev",target:"_blank",rel:"noopener noreferrer",style:{color:"#F1F5F9",textDecoration:"underline",fontWeight:"600",cursor:"pointer"},className:"hover:text-cyan-100 transition-colors",children:"qobo.dev"})]})}exports.QoboBanner=Oe;exports.default=Oe;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Oe, { useState as we, useEffect as cr } from "react";
|
|
2
2
|
var Q = { exports: {} }, I = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -9,11 +9,11 @@ var Q = { exports: {} }, I = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
12
|
+
var xe;
|
|
13
13
|
function dr() {
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var j =
|
|
14
|
+
if (xe) return I;
|
|
15
|
+
xe = 1;
|
|
16
|
+
var j = Oe, _ = Symbol.for("react.element"), k = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, F = j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
17
|
function m(y, f, E) {
|
|
18
18
|
var c, b = {}, w = null, Y = null;
|
|
19
19
|
E !== void 0 && (w = "" + E), f.key !== void 0 && (w = "" + f.key), f.ref !== void 0 && (Y = f.ref);
|
|
@@ -33,17 +33,17 @@ var $ = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var Pe;
|
|
37
37
|
function vr() {
|
|
38
|
-
return
|
|
39
|
-
var j =
|
|
38
|
+
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var j = Oe, _ = Symbol.for("react.element"), k = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), T = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), H = Symbol.iterator, Se = "@@iterator";
|
|
40
40
|
function Ce(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var r = H && e[H] || e[
|
|
43
|
+
var r = H && e[H] || e[Se];
|
|
44
44
|
return typeof r == "function" ? r : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var O = j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
47
|
function d(e) {
|
|
48
48
|
{
|
|
49
49
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -53,7 +53,7 @@ function vr() {
|
|
|
53
53
|
}
|
|
54
54
|
function je(e, r, t) {
|
|
55
55
|
{
|
|
56
|
-
var n =
|
|
56
|
+
var n = O.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
|
57
57
|
i !== "" && (r += "%s", t = t.concat([i]));
|
|
58
58
|
var s = t.map(function(o) {
|
|
59
59
|
return String(o);
|
|
@@ -125,7 +125,7 @@ function vr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var x = Object.assign, A = 0, re, te, ne, ae, oe, ie, se;
|
|
129
129
|
function ue() {
|
|
130
130
|
}
|
|
131
131
|
ue.__reactDisabledLog = !0;
|
|
@@ -161,25 +161,25 @@ function vr() {
|
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
164
|
+
log: x({}, e, {
|
|
165
165
|
value: re
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
167
|
+
info: x({}, e, {
|
|
168
168
|
value: te
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
170
|
+
warn: x({}, e, {
|
|
171
171
|
value: ne
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
173
|
+
error: x({}, e, {
|
|
174
174
|
value: ae
|
|
175
175
|
}),
|
|
176
|
-
group:
|
|
176
|
+
group: x({}, e, {
|
|
177
177
|
value: oe
|
|
178
178
|
}),
|
|
179
|
-
groupCollapsed:
|
|
179
|
+
groupCollapsed: x({}, e, {
|
|
180
180
|
value: ie
|
|
181
181
|
}),
|
|
182
|
-
groupEnd:
|
|
182
|
+
groupEnd: x({}, e, {
|
|
183
183
|
value: se
|
|
184
184
|
})
|
|
185
185
|
});
|
|
@@ -187,7 +187,7 @@ function vr() {
|
|
|
187
187
|
A < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var M =
|
|
190
|
+
var M = O.ReactCurrentDispatcher, U;
|
|
191
191
|
function W(e, r, t) {
|
|
192
192
|
{
|
|
193
193
|
if (U === void 0)
|
|
@@ -274,8 +274,8 @@ function vr() {
|
|
|
274
274
|
} finally {
|
|
275
275
|
N = !1, M.current = s, Be(), Error.prepareStackTrace = i;
|
|
276
276
|
}
|
|
277
|
-
var C = e ? e.displayName || e.name : "",
|
|
278
|
-
return typeof e == "function" && B.set(e,
|
|
277
|
+
var C = e ? e.displayName || e.name : "", P = C ? W(C) : "";
|
|
278
|
+
return typeof e == "function" && B.set(e, P), P;
|
|
279
279
|
}
|
|
280
280
|
function Le(e, r, t) {
|
|
281
281
|
return le(e, !1);
|
|
@@ -313,7 +313,7 @@ function vr() {
|
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var D = Object.prototype.hasOwnProperty, fe = {}, ce =
|
|
316
|
+
var D = Object.prototype.hasOwnProperty, fe = {}, ce = O.ReactDebugCurrentFrame;
|
|
317
317
|
function L(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
@@ -364,7 +364,7 @@ function vr() {
|
|
|
364
364
|
if (qe(e))
|
|
365
365
|
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ke(e)), de(e);
|
|
366
366
|
}
|
|
367
|
-
var pe =
|
|
367
|
+
var pe = O.ReactCurrentOwner, Je = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
@@ -458,8 +458,8 @@ function vr() {
|
|
|
458
458
|
return Ze(e, a, v, i, n, pe.current, o);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var q =
|
|
462
|
-
function
|
|
461
|
+
var q = O.ReactCurrentOwner, ge = O.ReactDebugCurrentFrame;
|
|
462
|
+
function S(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
465
465
|
ge.setExtraStackFrame(t);
|
|
@@ -509,7 +509,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
509
509
|
return;
|
|
510
510
|
Ee[t] = !0;
|
|
511
511
|
var n = "";
|
|
512
|
-
e && e._owner && e._owner !== q.current && (n = " It was passed a child from " + R(e._owner.type) + "."),
|
|
512
|
+
e && e._owner && e._owner !== q.current && (n = " It was passed a child from " + R(e._owner.type) + "."), S(e), d('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);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function me(e, r) {
|
|
@@ -561,11 +561,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
561
561
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
562
562
|
var n = r[t];
|
|
563
563
|
if (n !== "children" && n !== "key") {
|
|
564
|
-
|
|
564
|
+
S(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
e.ref !== null && (
|
|
568
|
+
e.ref !== null && (S(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var Re = {};
|
|
@@ -597,17 +597,17 @@ Check the top-level render call using <` + t + ">.");
|
|
|
597
597
|
me(h, e);
|
|
598
598
|
}
|
|
599
599
|
if (D.call(r, "key")) {
|
|
600
|
-
var
|
|
600
|
+
var P = R(e), p = Object.keys(r).filter(function(fr) {
|
|
601
601
|
return fr !== "key";
|
|
602
602
|
}), G = p.length > 0 ? "{key: someKey, " + p.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
-
if (!Re[
|
|
603
|
+
if (!Re[P + G]) {
|
|
604
604
|
var lr = p.length > 0 ? "{" + p.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
d(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
|
609
609
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`, G,
|
|
610
|
+
<%s key={someKey} {...props} />`, G, P, lr, P), Re[P + G] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
return e === g ? ar(l) : nr(l), l;
|
|
@@ -648,9 +648,10 @@ function br() {
|
|
|
648
648
|
position: "sticky",
|
|
649
649
|
top: 0,
|
|
650
650
|
zIndex: 9999,
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
651
|
+
minHeight: "50px",
|
|
652
|
+
background: "linear-gradient(90deg, #FF7A2F 0%, #46C6B9 100%)",
|
|
653
|
+
color: "#F1F5F9",
|
|
654
|
+
padding: "12px 16px",
|
|
654
655
|
textAlign: "center",
|
|
655
656
|
fontSize: "0.875rem",
|
|
656
657
|
fontWeight: "500",
|
|
@@ -681,7 +682,7 @@ function br() {
|
|
|
681
682
|
target: "_blank",
|
|
682
683
|
rel: "noopener noreferrer",
|
|
683
684
|
style: {
|
|
684
|
-
color: "#
|
|
685
|
+
color: "#F1F5F9",
|
|
685
686
|
textDecoration: "underline",
|
|
686
687
|
fontWeight: "600",
|
|
687
688
|
cursor: "pointer"
|
package/package.json
CHANGED
package/src/QoboBanner.jsx
CHANGED
|
@@ -74,9 +74,10 @@ export function QoboBanner() {
|
|
|
74
74
|
position: 'sticky',
|
|
75
75
|
top: 0,
|
|
76
76
|
zIndex: 9999,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
minHeight: '50px',
|
|
78
|
+
background: 'linear-gradient(90deg, #FF7A2F 0%, #46C6B9 100%)',
|
|
79
|
+
color: '#F1F5F9',
|
|
80
|
+
padding: '12px 16px',
|
|
80
81
|
textAlign: 'center',
|
|
81
82
|
fontSize: '0.875rem',
|
|
82
83
|
fontWeight: '500',
|
|
@@ -100,7 +101,7 @@ export function QoboBanner() {
|
|
|
100
101
|
target="_blank"
|
|
101
102
|
rel="noopener noreferrer"
|
|
102
103
|
style={{
|
|
103
|
-
color: '#
|
|
104
|
+
color: '#F1F5F9',
|
|
104
105
|
textDecoration: 'underline',
|
|
105
106
|
fontWeight: '600',
|
|
106
107
|
cursor: 'pointer',
|