@zenpatient-org/healthspan-marketing-ui 0.1.19 → 0.1.20
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/components/index.d.ts +0 -1
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +26 -28
- package/dist/modules/OurProcess/OurProcess.d.ts +2 -2
- package/dist/modules/OurProcess/components/StepCards/StepCards.d.ts +9 -0
- package/dist/modules/OurProcess/components/StepCards/index.d.ts +1 -0
- package/dist/modules/OurProcess/types.d.ts +5 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +12 -4
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +550 -193
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +9 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +28 -0
- package/dist/node_modules/react/jsx-runtime.cjs.js +1 -1
- package/dist/node_modules/react/jsx-runtime.es.js +3 -3
- package/package.json +4 -4
- package/dist/components/StepsCarousel/StepsCarousel.cjs.js +0 -1
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +0 -13
- package/dist/components/StepsCarousel/StepsCarousel.es.js +0 -71
- package/dist/components/StepsCarousel/index.d.ts +0 -1
- package/dist/components/StepsCarousel/stepsCarousel.module.css.cjs.js +0 -1
- package/dist/components/StepsCarousel/stepsCarousel.module.css.es.js +0 -31
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.js +0 -9
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js +0 -35
- /package/dist/_virtual/{react-jsx-runtime.production.cjs.js → react-jsx-runtime.production.min.cjs.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.production.es.js → react-jsx-runtime.production.min.es.js} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const r=require("./styles/typography.module.css.cjs.js"),t=require("./components/Button/Button.cjs.js"),o=require("./components/Label/Label.cjs.js"),n=require("./components/Tag/Tag.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const r=require("./styles/typography.module.css.cjs.js"),t=require("./components/Button/Button.cjs.js"),o=require("./components/Label/Label.cjs.js"),n=require("./components/Tag/Tag.cjs.js"),i=require("./components/Tabs/Tabs.cjs.js"),u=require("./components/Tabs/TabsWithFade.cjs.js"),e=require("./components/TypeBadge/TypeBadge.cjs.js"),s=require("./components/ContentTabs/ContentTabs.cjs.js"),c=require("./components/Icon/Icon.cjs.js"),a=require("./components/Icon/constants.cjs.js"),l=require("./components/ProductGalleryCard/ProductGalleryCard.cjs.js"),q=require("./components/HighlightedTitle/HighlightedTitle.cjs.js"),T=require("./components/Callback/Callback.cjs.js"),d=require("./components/IconButton/IconButton.cjs.js"),y=require("./components/FilterMenu/FilterMenu.cjs.js"),g=require("./components/InfiniteScroll/InfiniteScroll.cjs.js"),p=require("./components/ProductGallery/ProductGallery.cjs.js"),b=require("./components/ProgressButton/ProgressButton.cjs.js"),B=require("./components/TextButton/TextButton.cjs.js"),P=require("./components/Typography/Typography.cjs.js"),h=require("./modules/YourProtocol/YourProtocol.cjs.js"),I=require("./modules/TotalCare/TotalCare.cjs.js"),C=require("./modules/ProductsDisplay/ProductsDisplay.cjs.js"),f=require("./utils/cn.cjs.js"),S=require("./utils/isHsIcon.cjs.js"),m=require("./utils/formatUnits.cjs.js"),F=require("./utils/useSwiper.cjs.js");exports.typography=r.default;exports.Button=t.Button;exports.Label=o.Label;exports.Tag=n.Tag;exports.Tabs=i.Tabs;exports.TabsWithFade=u.TabsWithFade;exports.ETypeBadge=e.ETypeBadge;exports.TypeBadge=e.TypeBadge;exports.ContentTabs=s.ContentTabs;exports.Icon=c.Icon;exports.EIconName=a.EIconName;exports.ProductGalleryCard=l.ProductGalleryCard;exports.HighlightedTitle=q.HighlightedTitle;exports.Callback=T.Callback;exports.IconButton=d.IconButton;exports.FilterMenu=y.FilterMenu;exports.InfiniteScroll=g.InfiniteScroll;exports.ProductGallery=p.ProductGallery;exports.ProgressButton=b.ProgressButton;exports.TextButton=B.TextButton;exports.Typography=P.Typography;exports.YourProtocol=h.YourProtocol;exports.TotalCare=I.TotalCare;exports.ProductsDisplay=C.ProductsDisplay;exports.cn=f.cn;exports.isHsIcon=S.isHsIcon;exports.formatUnits=m.formatUnits;exports.useSwiper=F.useSwiper;
|
package/dist/index.es.js
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { default as x } from "./styles/typography.module.css.es.js";
|
|
7
|
-
import { Button as
|
|
7
|
+
import { Button as i } from "./components/Button/Button.es.js";
|
|
8
8
|
import { Label as n } from "./components/Label/Label.es.js";
|
|
9
|
-
import { Tag as
|
|
9
|
+
import { Tag as c } from "./components/Tag/Tag.es.js";
|
|
10
10
|
import { Tabs as T } from "./components/Tabs/Tabs.es.js";
|
|
11
11
|
import { TabsWithFade as y } from "./components/Tabs/TabsWithFade.es.js";
|
|
12
12
|
import { ETypeBadge as B, TypeBadge as b } from "./components/TypeBadge/TypeBadge.es.js";
|
|
13
|
-
import { ContentTabs as
|
|
14
|
-
import { Icon as
|
|
15
|
-
import { EIconName as
|
|
16
|
-
import { ProductGalleryCard as
|
|
13
|
+
import { ContentTabs as I } from "./components/ContentTabs/ContentTabs.es.js";
|
|
14
|
+
import { Icon as C } from "./components/Icon/Icon.es.js";
|
|
15
|
+
import { EIconName as F } from "./components/Icon/constants.es.js";
|
|
16
|
+
import { ProductGalleryCard as H } from "./components/ProductGalleryCard/ProductGalleryCard.es.js";
|
|
17
17
|
import { HighlightedTitle as k } from "./components/HighlightedTitle/HighlightedTitle.es.js";
|
|
18
18
|
import { Callback as D } from "./components/Callback/Callback.es.js";
|
|
19
19
|
import { IconButton as M } from "./components/IconButton/IconButton.es.js";
|
|
@@ -23,42 +23,40 @@ import { ProductGallery as q } from "./components/ProductGallery/ProductGallery.
|
|
|
23
23
|
import { ProgressButton as z } from "./components/ProgressButton/ProgressButton.es.js";
|
|
24
24
|
import { TextButton as J } from "./components/TextButton/TextButton.es.js";
|
|
25
25
|
import { Typography as O } from "./components/Typography/Typography.es.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { useSwiper as ao } from "./utils/useSwiper.es.js";
|
|
26
|
+
import { YourProtocol as R } from "./modules/YourProtocol/YourProtocol.es.js";
|
|
27
|
+
import { TotalCare as X } from "./modules/TotalCare/TotalCare.es.js";
|
|
28
|
+
import { ProductsDisplay as _ } from "./modules/ProductsDisplay/ProductsDisplay.es.js";
|
|
29
|
+
import { cn as oo } from "./utils/cn.es.js";
|
|
30
|
+
import { isHsIcon as to } from "./utils/isHsIcon.es.js";
|
|
31
|
+
import { formatUnits as po } from "./utils/formatUnits.es.js";
|
|
32
|
+
import { useSwiper as fo } from "./utils/useSwiper.es.js";
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
i as Button,
|
|
36
35
|
D as Callback,
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
I as ContentTabs,
|
|
37
|
+
F as EIconName,
|
|
39
38
|
B as ETypeBadge,
|
|
40
39
|
U as FilterMenu,
|
|
41
40
|
k as HighlightedTitle,
|
|
42
|
-
|
|
41
|
+
C as Icon,
|
|
43
42
|
M as IconButton,
|
|
44
43
|
Y as InfiniteScroll,
|
|
45
44
|
n as Label,
|
|
46
45
|
q as ProductGallery,
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
H as ProductGalleryCard,
|
|
47
|
+
_ as ProductsDisplay,
|
|
49
48
|
z as ProgressButton,
|
|
50
|
-
R as StepsCarousel,
|
|
51
49
|
T as Tabs,
|
|
52
50
|
y as TabsWithFade,
|
|
53
|
-
|
|
51
|
+
c as Tag,
|
|
54
52
|
J as TextButton,
|
|
55
|
-
|
|
53
|
+
X as TotalCare,
|
|
56
54
|
b as TypeBadge,
|
|
57
55
|
O as Typography,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
R as YourProtocol,
|
|
57
|
+
oo as cn,
|
|
58
|
+
po as formatUnits,
|
|
59
|
+
to as isHsIcon,
|
|
62
60
|
x as typography,
|
|
63
|
-
|
|
61
|
+
fo as useSwiper
|
|
64
62
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TStepsCarouselView } from '../../components';
|
|
3
2
|
import { TColorScheme } from '../../types/common';
|
|
3
|
+
import { TOurProcessStep } from './types';
|
|
4
4
|
|
|
5
5
|
export type OurProcessProps = {
|
|
6
6
|
title: ReactNode;
|
|
7
7
|
label: string;
|
|
8
8
|
colorScheme: TColorScheme;
|
|
9
|
-
steps:
|
|
9
|
+
steps: ReadonlyArray<TOurProcessStep>;
|
|
10
10
|
howItWorks?: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const OurProcess: ({ title, label, colorScheme, howItWorks, steps }: OurProcessProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TColorScheme } from '../../../../types/common';
|
|
2
|
+
import { TOurProcessStep } from '../../types';
|
|
3
|
+
|
|
4
|
+
type StepCardsProps = {
|
|
5
|
+
steps: ReadonlyArray<TOurProcessStep>;
|
|
6
|
+
colorScheme: TColorScheme;
|
|
7
|
+
};
|
|
8
|
+
export declare const StepCards: ({ steps, colorScheme }: StepCardsProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StepCards } from './StepCards';
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../_virtual/react-jsx-runtime.development.cjs.js"),ir=require("react");/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
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
|
|
9
|
+
*/var Ee;function or(){return Ee||(Ee=1,process.env.NODE_ENV!=="production"&&function(){var ye=ir,x=Symbol.for("react.element"),_e=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),N=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),Re=Symbol.for("react.offscreen"),q=Symbol.iterator,me="@@iterator";function Te(e){if(e===null||typeof e!="object")return null;var r=q&&e[q]||e[me];return typeof r=="function"?r:null}var h=ye.__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];Se("error",e,t)}}function Se(e,r,t){{var n=h.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ce=!1,Oe=!1,Pe=!1,we=!1,je=!1,G;G=Symbol.for("react.module.reference");function xe(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===B||je||e===U||e===k||e===D||we||e===Re||Ce||Oe||Pe||typeof e=="object"&&e!==null&&(e.$$typeof===F||e.$$typeof===C||e.$$typeof===K||e.$$typeof===N||e.$$typeof===S||e.$$typeof===G||e.getModuleId!==void 0))}function ke(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function J(e){return e.displayName||"Context"}function p(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 _e:return"Portal";case B:return"Profiler";case U:return"StrictMode";case k:return"Suspense";case D:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case N:var r=e;return J(r)+".Consumer";case K:var t=e;return J(t._context)+".Provider";case S:return ke(e,e.render,"ForwardRef");case C:var n=e.displayName||null;return n!==null?n:p(e.type)||"Memo";case F:{var o=e,u=o._payload,i=o._init;try{return p(i(u))}catch{return null}}}return null}var g=Object.assign,_=0,z,X,H,Z,Q,ee,re;function te(){}te.__reactDisabledLog=!0;function De(){{if(_===0){z=console.log,X=console.info,H=console.warn,Z=console.error,Q=console.group,ee=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_++}}function Fe(){{if(_--,_===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:z}),info:g({},e,{value:X}),warn:g({},e,{value:H}),error:g({},e,{value:Z}),group:g({},e,{value:Q}),groupCollapsed:g({},e,{value:ee}),groupEnd:g({},e,{value:re})})}_<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=h.ReactCurrentDispatcher,I;function O(e,r,t){{if(I===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return`
|
|
10
|
+
`+I+e}}var W=!1,P;{var Ae=typeof WeakMap=="function"?WeakMap:Map;P=new Ae}function ne(e,r){if(!e||W)return"";{var t=P.get(e);if(t!==void 0)return t}var n;W=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=A.current,A.current=null,De();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
|
11
|
+
`),c=n.stack.split(`
|
|
12
|
+
`),s=a.length-1,l=c.length-1;s>=1&&l>=0&&a[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==c[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==c[l]){var d=`
|
|
13
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),typeof e=="function"&&P.set(e,d),d}while(s>=1&&l>=0);break}}}finally{W=!1,A.current=u,Fe(),Error.prepareStackTrace=o}var y=e?e.displayName||e.name:"",b=y?O(y):"";return typeof e=="function"&&P.set(e,b),b}function Ie(e,r,t){return ne(e,!1)}function We(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function w(e,r,t){if(e==null)return"";if(typeof e=="function")return ne(e,We(e));if(typeof e=="string")return O(e);switch(e){case k:return O("Suspense");case D:return O("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case S:return Ie(e.render);case C:return w(e.type,r,t);case F:{var n=e,o=n._payload,u=n._init;try{return w(u(o),r,t)}catch{}}}return""}var R=Object.prototype.hasOwnProperty,ae={},ie=h.ReactDebugCurrentFrame;function j(e){if(e){var r=e._owner,t=w(e.type,e._source,r?r.type:null);ie.setExtraStackFrame(t)}else ie.setExtraStackFrame(null)}function Ye(e,r,t,n,o){{var u=Function.call.bind(R);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(j(o),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,i,typeof a),j(null)),a instanceof Error&&!(a.message in ae)&&(ae[a.message]=!0,j(o),f("Failed %s type: %s",t,a.message),j(null))}}}var $e=Array.isArray;function Y(e){return $e(e)}function Me(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ve(e){try{return oe(e),!1}catch{return!0}}function oe(e){return""+e}function ue(e){if(Ve(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Me(e)),oe(e)}var se=h.ReactCurrentOwner,Le={key:!0,ref:!0,__self:!0,__source:!0},le,fe;function Ue(e){if(R.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(R.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ke(e,r){typeof e.ref=="string"&&se.current}function Ne(e,r){{var t=function(){le||(le=!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 qe(e,r){{var t=function(){fe||(fe=!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 Ge=function(e,r,t,n,o,u,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Je(e,r,t,n,o){{var u,i={},a=null,c=null;t!==void 0&&(ue(t),a=""+t),Be(r)&&(ue(r.key),a=""+r.key),Ue(r)&&(c=r.ref,Ke(r,o));for(u in r)R.call(r,u)&&!Le.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||c){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ne(i,l),c&&qe(i,l)}return Ge(e,a,c,o,n,se.current,i)}}var $=h.ReactCurrentOwner,ce=h.ReactDebugCurrentFrame;function E(e){if(e){var r=e._owner,t=w(e.type,e._source,r?r.type:null);ce.setExtraStackFrame(t)}else ce.setExtraStackFrame(null)}var M;M=!1;function V(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function ve(){{if($.current){var e=p($.current.type);if(e)return`
|
|
14
|
+
|
|
15
|
+
Check the render method of \``+e+"`."}return""}}function ze(e){return""}var de={};function Xe(e){{var r=ve();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
16
|
+
|
|
17
|
+
Check the top-level render call using <`+t+">.")}return r}}function pe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Xe(r);if(de[t])return;de[t]=!0;var n="";e&&e._owner&&e._owner!==$.current&&(n=" It was passed a child from "+p(e._owner.type)+"."),E(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),E(null)}}function ge(e,r){{if(typeof e!="object")return;if(Y(e))for(var t=0;t<e.length;t++){var n=e[t];V(n)&&pe(n,r)}else if(V(e))e._store&&(e._store.validated=!0);else if(e){var o=Te(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)V(i.value)&&pe(i.value,r)}}}function He(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===S||r.$$typeof===C))t=r.propTypes;else return;if(t){var n=p(r);Ye(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!M){M=!0;var o=p(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"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 Ze(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){E(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),E(null);break}}e.ref!==null&&(E(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),E(null))}}var be={};function he(e,r,t,n,o,u){{var i=xe(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c=ze();c?a+=c:a+=ve();var s;e===null?s="null":Y(e)?s="array":e!==void 0&&e.$$typeof===x?(s="<"+(p(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=Je(e,r,t,o,u);if(l==null)return l;if(i){var d=r.children;if(d!==void 0)if(n)if(Y(d)){for(var y=0;y<d.length;y++)ge(d[y],e);Object.freeze&&Object.freeze(d)}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 ge(d,e)}if(R.call(r,"key")){var b=p(e),v=Object.keys(r).filter(function(ar){return ar!=="key"}),L=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!be[b+L]){var nr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";f(`A props object containing a "key" prop is being spread into JSX:
|
|
10
18
|
let props = %s;
|
|
11
19
|
<%s {...props} />
|
|
12
20
|
React keys must be passed directly to JSX without using spread:
|
|
13
21
|
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,
|
|
22
|
+
<%s key={someKey} {...props} />`,L,b,nr,b),be[b+L]=!0}}return e===T?Ze(l):He(l),l}}function Qe(e,r,t){return he(e,r,t,!0)}function er(e,r,t){return he(e,r,t,!1)}var rr=er,tr=Qe;m.__exports.Fragment=T,m.__exports.jsx=rr,m.__exports.jsxs=tr}()),m.__exports}exports.__require=or;
|