@nutui/taro-biz 0.0.1-alpha.1 → 0.0.1-alpha.3

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../jdmaterialview.taro-Bs2BVxol.js"),r=require("../jdmaterialsblurtarget.taro-yyxolp5p.js");exports.JDMaterialView=e.JDMaterialView;exports.JDMaterialsBlurTarget=r.JDMaterialsBlurTarget;
@@ -1 +1 @@
1
- "use strict";const s=require("../typings-oda_k1Zf.js"),u=require("classnames"),o={...s.ComponentDefaults},t=e=>{const{className:r,style:a,children:l,blurId:c,...i}={...o,...e},n=u("nut-jdmaterialsblurtarget",r);return s.jsxRuntimeExports.jsx("div",{className:n,style:a,"data-blur-id":c,...i,children:l})};t.displayName="NutJDMaterialsBlurTarget";module.exports=t;
1
+ "use strict";const r=require("../jdmaterialsblurtarget.taro-yyxolp5p.js");module.exports=r.JDMaterialsBlurTarget;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./typings-oda_k1Zf.js"),u=require("classnames"),m=require("@tarojs/components"),p={...t.ComponentDefaults},e=r=>{const{className:a,style:l,children:n,blurId:c,...i}={...p,...r},o=u("nut-jdmaterialsblurtarget",a),s={};return s.blurId=c,t.jsxRuntimeExports.jsx(m.View,{className:o,style:l,...s,...i,children:n})};e.displayName="NutJDMaterialsBlurTarget";exports.JDMaterialsBlurTarget=e;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const b=require("../typings-oda_k1Zf.js"),k=require("react"),G=require("classnames"),p=26;function R(t,r,e){const s=e>=p;switch(t){case"top-solid":return s?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{fallbackStyle:{backgroundColor:r?"#2A2F36":"#FFFFFF"}};case"top-plain":return s?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{};case"top-bar":return{frostedGlass:{style:r?"thick-dark":"thick-light"}};case"promotion-fair":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.85}};case"promotion-deep":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.35}};case"immersive":return s?{liquidGlass:{style:"regular",forceDark:!0,interactive:!0,tintColor:"rgba(0, 0, 0, 0.75)"}}:{frostedGlass:{style:"regular-dark",alpha:.4}};case"bottom-bar":return{gradientBlur:{minBlur:.5,maxBlur:.8,overlayAlpha:.9,overlayColor:r?"rgba(0, 0, 0, 1)":"rgba(255, 255, 255, 1)"}};default:return{}}}function F(t,r){const e=r>=p;switch(t){case"top-bar":case"bottom-bar":return 0;case"top-plain":return e?12:0;case"top-solid":case"promotion-fair":case"promotion-deep":case"immersive":return e?12:8;default:return 0}}const u="255, 255, 255",d="31, 34, 38";function g(t,r){switch(t){case"top-solid":return{blurRadius:40,tintColor:r?"rgba(42, 47, 54, 1)":"rgba(255, 255, 255, 1)"};case"top-plain":return{blurRadius:40};case"top-bar":return{blurRadius:40,tintColor:r?`rgba(${d}, 0.9)`:`rgba(${u}, 0.9)`};case"promotion-fair":return{blurRadius:40,tintColor:`rgba(${u}, 0.85)`};case"promotion-deep":return{blurRadius:40,tintColor:`rgba(${u}, 0.2)`};case"immersive":return{blurRadius:40,tintColor:`rgba(${d}, 0.4)`};case"bottom-bar":return{blurRadius:50,tintColor:r?`rgba(${d}, 0.8)`:`rgba(${u}, 0.8)`};default:return{blurRadius:40}}}const $={...b.ComponentDefaults};function x(t){return t.style.startsWith("thin")?10:t.style.startsWith("thick")?40:20}function q(t){const r={},e=t.maxBlur??0;if(e>0&&(r.backdropFilter=`blur(${e*50}px)`,r.WebkitBackdropFilter=`blur(${e*50}px)`),t.overlayAlpha&&t.overlayAlpha>0){const s=t.overlayColor||"rgba(255,255,255,1)";r.backgroundColor=s,r.opacity=t.overlayAlpha}return r}const f=t=>{const{className:r,style:e,children:s,targetId:y,frostedGlass:l,gradientBlur:o,overlayColor:n,liquidGlass:A,scene:c,...m}={...$,...t},h=G("nut-jdmaterialview",r),v=k.useMemo(()=>{const a={...e};if(c&&!l&&!o){const i=g(c,!1);a.backdropFilter=`blur(${i.blurRadius}px)`,a.WebkitBackdropFilter=`blur(${i.blurRadius}px)`,i.tintColor&&(a.backgroundColor=i.tintColor)}else if(l){const i=x(l);a.backdropFilter=`blur(${i}px)`,a.WebkitBackdropFilter=`blur(${i}px)`,l.alpha!==void 0&&(a.opacity=l.alpha);const C=l.style.endsWith("-dark");a.backgroundColor||(a.backgroundColor=C?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.3)")}else o&&Object.assign(a,q(o));return n&&(a.backgroundColor=n),a},[e,c,l,o,n]);return b.jsxRuntimeExports.jsx("div",{className:h,style:v,"data-target-id":y,...m,children:s})};f.displayName="NutJDMaterialView";exports.default=f;exports.getCornerRadius=F;exports.getFrostedPreset=g;exports.getPreset=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../jdmaterialview.taro-Bs2BVxol.js");exports.default=e.JDMaterialView;exports.getCornerRadius=e.getCornerRadius;exports.getFrostedPreset=e.getFrostedPreset;exports.getPreset=e.getPreset;
@@ -0,0 +1 @@
1
+ "use strict";const y=require("./typings-oda_k1Zf.js"),G=require("react"),A=require("classnames"),$=require("@tarojs/taro"),B=require("@tarojs/components"),M=require("@jdtaro/ui"),C=26;function S(t,r,e){const o=e>=C;switch(t){case"top-solid":return o?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{fallbackStyle:{backgroundColor:r?"#2A2F36":"#FFFFFF"}};case"top-plain":return o?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{};case"top-bar":return{frostedGlass:{style:r?"thick-dark":"thick-light"}};case"promotion-fair":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.85}};case"promotion-deep":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.35}};case"immersive":return o?{liquidGlass:{style:"regular",forceDark:!0,interactive:!0,tintColor:"rgba(0, 0, 0, 0.75)"}}:{frostedGlass:{style:"regular-dark",alpha:.4}};case"bottom-bar":return{gradientBlur:{minBlur:.5,maxBlur:.8,overlayAlpha:.9,overlayColor:r?"rgba(0, 0, 0, 1)":"rgba(255, 255, 255, 1)"}};default:return{}}}function j(t,r){const e=r>=C;switch(t){case"top-bar":case"bottom-bar":return 0;case"top-plain":return e?12:0;case"top-solid":case"promotion-fair":case"promotion-deep":case"immersive":return e?12:8;default:return 0}}const d="255, 255, 255",f="31, 34, 38";function D(t,r){switch(t){case"top-solid":return{blurRadius:40,tintColor:r?"rgba(42, 47, 54, 1)":"rgba(255, 255, 255, 1)"};case"top-plain":return{blurRadius:40};case"top-bar":return{blurRadius:40,tintColor:r?`rgba(${f}, 0.9)`:`rgba(${d}, 0.9)`};case"promotion-fair":return{blurRadius:40,tintColor:`rgba(${d}, 0.85)`};case"promotion-deep":return{blurRadius:40,tintColor:`rgba(${d}, 0.2)`};case"immersive":return{blurRadius:40,tintColor:`rgba(${f}, 0.4)`};case"bottom-bar":return{blurRadius:50,tintColor:r?`rgba(${f}, 0.8)`:`rgba(${d}, 0.8)`};default:return{blurRadius:40}}}const N={...y.ComponentDefaults};function L(t){return t.style.startsWith("thin")?10:t.style.startsWith("thick")?40:20}function P(t){const r={},e=t.maxBlur??0;return e>0&&(r.backdropFilter=`blur(${e*50}px)`),t.overlayAlpha&&t.overlayAlpha>0&&(r.backgroundColor=t.overlayColor||"rgba(255,255,255,1)",r.opacity=t.overlayAlpha),r}function V(){var t;try{const r=$.getSystemInfoSync(),e=String((r==null?void 0:r.platform)||"").toLowerCase(),o=String((r==null?void 0:r.system)||""),i=e==="ios",b=i?parseInt(((t=o.match(/\d+/))==null?void 0:t[0])||"0",10):0,g=String((r==null?void 0:r.theme)||"").toLowerCase()==="dark";return{isIOS:i,iosMajor:b,dark:g}}catch{return{isIOS:!1,iosMajor:0,dark:!1}}}const q=t=>{const{className:r,style:e,children:o,scene:i,targetId:b,liquidGlass:g,frostedGlass:R,gradientBlur:k,overlayColor:c,...p}={...N,...t},m=A("nut-jdmaterialview",r),{isIOS:I,iosMajor:h,dark:v}=G.useMemo(()=>V(),[]),s=G.useMemo(()=>i?S(i,v,h):void 0,[i,v,h]),w=g??(s==null?void 0:s.liquidGlass),l=R??(s==null?void 0:s.frostedGlass),u=k??(s==null?void 0:s.gradientBlur);if(I){const a={...s==null?void 0:s.fallbackStyle,...e};return y.jsxRuntimeExports.jsx(M.JDIOSMaterialView,{className:m,style:a,liquidGlass:w,frostedGlass:l,gradientBlur:u,...p,children:o})}const x=(()=>{const a={...e};if(l){const F=L(l);a.backdropFilter=`blur(${F}px)`,l.alpha!==void 0&&(a.opacity=l.alpha);const O=l.style.endsWith("-dark");a.backgroundColor||(a.backgroundColor=O?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.3)")}else u&&Object.assign(a,P(u));return c&&(a.backgroundColor=c),a})(),n={};return n.targetId=b,i&&(n.scene=i),l&&(n.frostedGlass=JSON.stringify(l)),u&&(n.gradientBlur=JSON.stringify(u)),c&&(n.overlayColor=c),y.jsxRuntimeExports.jsx(B.View,{className:m,style:x,...n,...p,children:o})};q.displayName="NutJDMaterialView";exports.JDMaterialView=q;exports.getCornerRadius=j;exports.getFrostedPreset=D;exports.getPreset=S;
@@ -0,0 +1,6 @@
1
+ import { J as e } from "../jdmaterialview.taro-V4HoLyyS.mjs";
2
+ import { J as o } from "../jdmaterialsblurtarget.taro-DgY8OSIM.mjs";
3
+ export {
4
+ e as JDMaterialView,
5
+ o as JDMaterialsBlurTarget
6
+ };
@@ -1,15 +1,4 @@
1
- import { C as c, j as i } from "../typings-Cti4YWFr.mjs";
2
- import u from "classnames";
3
- const m = {
4
- ...c
5
- }, n = (s) => {
6
- const { className: a, style: t, children: r, blurId: e, ...l } = {
7
- ...m,
8
- ...s
9
- }, o = u("nut-jdmaterialsblurtarget", a);
10
- return /* @__PURE__ */ i.jsx("div", { className: o, style: t, "data-blur-id": e, ...l, children: r });
11
- };
12
- n.displayName = "NutJDMaterialsBlurTarget";
1
+ import { J as r } from "../jdmaterialsblurtarget.taro-DgY8OSIM.mjs";
13
2
  export {
14
- n as default
3
+ r as default
15
4
  };
@@ -1,4 +1,4 @@
1
- import { C as i, j as m } from "../typings-Cti4YWFr.mjs";
1
+ import { C as i, j as m } from "./typings-Cti4YWFr.mjs";
2
2
  import n from "classnames";
3
3
  import { View as u } from "@tarojs/components";
4
4
  const p = {
@@ -12,5 +12,5 @@ const p = {
12
12
  };
13
13
  f.displayName = "NutJDMaterialsBlurTarget";
14
14
  export {
15
- f as default
15
+ f as J
16
16
  };
@@ -1,163 +1,8 @@
1
- import { C as h, j as C } from "../typings-Cti4YWFr.mjs";
2
- import { useMemo as v } from "react";
3
- import k from "classnames";
4
- const d = 26;
5
- function I(t, r, e) {
6
- const s = e >= d;
7
- switch (t) {
8
- case "top-solid":
9
- return s ? {
10
- liquidGlass: {
11
- style: "regular",
12
- interactive: !0,
13
- tintColor: r ? "rgba(0, 0, 0, 0.75)" : "rgba(255, 255, 255, 0.45)",
14
- showTintOverlay: r
15
- }
16
- } : { fallbackStyle: { backgroundColor: r ? "#2A2F36" : "#FFFFFF" } };
17
- case "top-plain":
18
- return s ? {
19
- liquidGlass: {
20
- style: "regular",
21
- interactive: !0,
22
- tintColor: r ? "rgba(0, 0, 0, 0.75)" : "rgba(255, 255, 255, 0.45)",
23
- showTintOverlay: r
24
- }
25
- } : {};
26
- case "top-bar":
27
- return { frostedGlass: { style: r ? "thick-dark" : "thick-light" } };
28
- case "promotion-fair":
29
- return {
30
- liquidGlass: { style: "clear", interactive: !1 },
31
- frostedGlass: { style: "thick-light", alpha: 0.85 }
32
- };
33
- case "promotion-deep":
34
- return {
35
- liquidGlass: { style: "clear", interactive: !1 },
36
- frostedGlass: { style: "thick-light", alpha: 0.35 }
37
- };
38
- case "immersive":
39
- return s ? {
40
- liquidGlass: {
41
- style: "regular",
42
- forceDark: !0,
43
- interactive: !0,
44
- tintColor: "rgba(0, 0, 0, 0.75)"
45
- }
46
- } : { frostedGlass: { style: "regular-dark", alpha: 0.4 } };
47
- case "bottom-bar":
48
- return {
49
- gradientBlur: {
50
- minBlur: 0.5,
51
- maxBlur: 0.8,
52
- overlayAlpha: 0.9,
53
- overlayColor: r ? "rgba(0, 0, 0, 1)" : "rgba(255, 255, 255, 1)"
54
- }
55
- };
56
- default:
57
- return {};
58
- }
59
- }
60
- function N(t, r) {
61
- const e = r >= d;
62
- switch (t) {
63
- case "top-bar":
64
- case "bottom-bar":
65
- return 0;
66
- case "top-plain":
67
- return e ? 12 : 0;
68
- case "top-solid":
69
- case "promotion-fair":
70
- case "promotion-deep":
71
- case "immersive":
72
- return e ? 12 : 8;
73
- default:
74
- return 0;
75
- }
76
- }
77
- const u = "255, 255, 255", b = "31, 34, 38";
78
- function G(t, r) {
79
- switch (t) {
80
- case "top-solid":
81
- return {
82
- blurRadius: 40,
83
- tintColor: r ? "rgba(42, 47, 54, 1)" : "rgba(255, 255, 255, 1)"
84
- };
85
- case "top-plain":
86
- return { blurRadius: 40 };
87
- case "top-bar":
88
- return {
89
- blurRadius: 40,
90
- tintColor: r ? `rgba(${b}, 0.9)` : `rgba(${u}, 0.9)`
91
- };
92
- case "promotion-fair":
93
- return { blurRadius: 40, tintColor: `rgba(${u}, 0.85)` };
94
- case "promotion-deep":
95
- return { blurRadius: 40, tintColor: `rgba(${u}, 0.2)` };
96
- case "immersive":
97
- return { blurRadius: 40, tintColor: `rgba(${b}, 0.4)` };
98
- case "bottom-bar":
99
- return {
100
- blurRadius: 50,
101
- tintColor: r ? `rgba(${b}, 0.8)` : `rgba(${u}, 0.8)`
102
- };
103
- default:
104
- return { blurRadius: 40 };
105
- }
106
- }
107
- const R = {
108
- ...h
109
- };
110
- function x(t) {
111
- return t.style.startsWith("thin") ? 10 : t.style.startsWith("thick") ? 40 : 20;
112
- }
113
- function F(t) {
114
- const r = {}, e = t.maxBlur ?? 0;
115
- if (e > 0 && (r.backdropFilter = `blur(${e * 50}px)`, r.WebkitBackdropFilter = `blur(${e * 50}px)`), t.overlayAlpha && t.overlayAlpha > 0) {
116
- const s = t.overlayColor || "rgba(255,255,255,1)";
117
- r.backgroundColor = s, r.opacity = t.overlayAlpha;
118
- }
119
- return r;
120
- }
121
- const $ = (t) => {
122
- const {
123
- className: r,
124
- style: e,
125
- children: s,
126
- targetId: p,
127
- frostedGlass: l,
128
- gradientBlur: i,
129
- overlayColor: n,
130
- liquidGlass: A,
131
- scene: c,
132
- ...f
133
- } = { ...R, ...t }, g = k("nut-jdmaterialview", r), m = v(() => {
134
- const a = { ...e };
135
- if (c && !l && !i) {
136
- const o = G(c, !1);
137
- a.backdropFilter = `blur(${o.blurRadius}px)`, a.WebkitBackdropFilter = `blur(${o.blurRadius}px)`, o.tintColor && (a.backgroundColor = o.tintColor);
138
- } else if (l) {
139
- const o = x(l);
140
- a.backdropFilter = `blur(${o}px)`, a.WebkitBackdropFilter = `blur(${o}px)`, l.alpha !== void 0 && (a.opacity = l.alpha);
141
- const y = l.style.endsWith("-dark");
142
- a.backgroundColor || (a.backgroundColor = y ? "rgba(0, 0, 0, 0.3)" : "rgba(255, 255, 255, 0.3)");
143
- } else i && Object.assign(a, F(i));
144
- return n && (a.backgroundColor = n), a;
145
- }, [e, c, l, i, n]);
146
- return /* @__PURE__ */ C.jsx(
147
- "div",
148
- {
149
- className: g,
150
- style: m,
151
- "data-target-id": p,
152
- ...f,
153
- children: s
154
- }
155
- );
156
- };
157
- $.displayName = "NutJDMaterialView";
1
+ import { J as r } from "../jdmaterialview.taro-V4HoLyyS.mjs";
2
+ import { g as s, a as o, b as g } from "../jdmaterialview.taro-V4HoLyyS.mjs";
158
3
  export {
159
- $ as default,
160
- N as getCornerRadius,
161
- G as getFrostedPreset,
162
- I as getPreset
4
+ r as default,
5
+ s as getCornerRadius,
6
+ o as getFrostedPreset,
7
+ g as getPreset
163
8
  };
@@ -1,4 +1,4 @@
1
- import { C as q, j as v } from "../typings-Cti4YWFr.mjs";
1
+ import { C as q, j as v } from "./typings-Cti4YWFr.mjs";
2
2
  import { useMemo as G } from "react";
3
3
  import A from "classnames";
4
4
  import F from "@tarojs/taro";
@@ -120,35 +120,35 @@ function L(t) {
120
120
  function M() {
121
121
  var t;
122
122
  try {
123
- const r = F.getSystemInfoSync(), s = String((r == null ? void 0 : r.platform) || "").toLowerCase(), o = String((r == null ? void 0 : r.system) || ""), l = s === "ios", f = l ? parseInt(((t = o.match(/\d+/)) == null ? void 0 : t[0]) || "0", 10) : 0, b = String((r == null ? void 0 : r.theme) || "").toLowerCase() === "dark";
124
- return { isIOS: l, iosMajor: f, dark: b };
123
+ const r = F.getSystemInfoSync(), s = String((r == null ? void 0 : r.platform) || "").toLowerCase(), o = String((r == null ? void 0 : r.system) || ""), l = s === "ios", b = l ? parseInt(((t = o.match(/\d+/)) == null ? void 0 : t[0]) || "0", 10) : 0, f = String((r == null ? void 0 : r.theme) || "").toLowerCase() === "dark";
124
+ return { isIOS: l, iosMajor: b, dark: f };
125
125
  } catch {
126
126
  return { isIOS: !1, iosMajor: 0, dark: !1 };
127
127
  }
128
128
  }
129
- const P = (t) => {
129
+ const J = (t) => {
130
130
  const {
131
131
  className: r,
132
132
  style: s,
133
133
  children: o,
134
134
  scene: l,
135
- targetId: f,
136
- liquidGlass: b,
135
+ targetId: b,
136
+ liquidGlass: f,
137
137
  frostedGlass: S,
138
138
  gradientBlur: k,
139
139
  overlayColor: c,
140
140
  ...g
141
- } = { ...$, ...t }, p = A("nut-jdmaterialview", r), { isIOS: I, iosMajor: y, dark: h } = G(() => M(), []), e = G(
141
+ } = { ...$, ...t }, p = A("nut-jdmaterialview", r), { isIOS: I, iosMajor: y, dark: h } = G(() => M(), []), a = G(
142
142
  () => l ? N(l, h, y) : void 0,
143
143
  [l, h, y]
144
- ), R = b ?? (e == null ? void 0 : e.liquidGlass), i = S ?? (e == null ? void 0 : e.frostedGlass), u = k ?? (e == null ? void 0 : e.gradientBlur);
144
+ ), R = f ?? (a == null ? void 0 : a.liquidGlass), i = S ?? (a == null ? void 0 : a.frostedGlass), u = k ?? (a == null ? void 0 : a.gradientBlur);
145
145
  if (I) {
146
- const a = { ...e == null ? void 0 : e.fallbackStyle, ...s };
146
+ const e = { ...a == null ? void 0 : a.fallbackStyle, ...s };
147
147
  return /* @__PURE__ */ v.jsx(
148
148
  j,
149
149
  {
150
150
  className: p,
151
- style: a,
151
+ style: e,
152
152
  liquidGlass: R,
153
153
  frostedGlass: i,
154
154
  gradientBlur: u,
@@ -158,21 +158,21 @@ const P = (t) => {
158
158
  );
159
159
  }
160
160
  const w = (() => {
161
- const a = { ...s };
161
+ const e = { ...s };
162
162
  if (i) {
163
163
  const x = D(i);
164
- a.backdropFilter = `blur(${x}px)`, i.alpha !== void 0 && (a.opacity = i.alpha);
164
+ e.backdropFilter = `blur(${x}px)`, i.alpha !== void 0 && (e.opacity = i.alpha);
165
165
  const O = i.style.endsWith("-dark");
166
- a.backgroundColor || (a.backgroundColor = O ? "rgba(0, 0, 0, 0.3)" : "rgba(255, 255, 255, 0.3)");
167
- } else u && Object.assign(a, L(u));
168
- return c && (a.backgroundColor = c), a;
166
+ e.backgroundColor || (e.backgroundColor = O ? "rgba(0, 0, 0, 0.3)" : "rgba(255, 255, 255, 0.3)");
167
+ } else u && Object.assign(e, L(u));
168
+ return c && (e.backgroundColor = c), e;
169
169
  })(), n = {};
170
- return n.targetId = f, l && (n.scene = l), i && (n.frostedGlass = JSON.stringify(i)), u && (n.gradientBlur = JSON.stringify(u)), c && (n.overlayColor = c), /* @__PURE__ */ v.jsx(B, { className: p, style: w, ...n, ...g, children: o });
170
+ return n.targetId = b, l && (n.scene = l), i && (n.frostedGlass = JSON.stringify(i)), u && (n.gradientBlur = JSON.stringify(u)), c && (n.overlayColor = c), /* @__PURE__ */ v.jsx(B, { className: p, style: w, ...n, ...g, children: o });
171
171
  };
172
- P.displayName = "NutJDMaterialView";
172
+ J.displayName = "NutJDMaterialView";
173
173
  export {
174
- P as default,
175
- H as getCornerRadius,
176
- K as getFrostedPreset,
177
- N as getPreset
174
+ J,
175
+ K as a,
176
+ N as b,
177
+ H as g
178
178
  };
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@nutui/taro-biz",
3
- "version": "0.0.1-alpha.1",
4
- "main": "dist/cjs/index.js",
5
- "module": "dist/es/index.js",
6
- "typings": "dist/es/index.d.ts",
3
+ "version": "0.0.1-alpha.3",
4
+ "main": "dist/cjs/index/index.js",
5
+ "module": "dist/es/index/index.js",
7
6
  "sideEffects": [
8
7
  "*.scss",
9
8
  "dist/es/**/style/*",
@@ -22,7 +21,6 @@
22
21
  "license": "MIT",
23
22
  "files": [
24
23
  "dist",
25
- "dist-taro",
26
24
  "README.md",
27
25
  "package.json",
28
26
  "LICENSE"
@@ -79,5 +77,19 @@
79
77
  },
80
78
  "dependencies": {
81
79
  "classnames": "^2.3.2"
80
+ },
81
+ "exports": {
82
+ ".": {
83
+ "import": "./dist/es/index/index.js",
84
+ "require": "./dist/cjs/index/index.js"
85
+ },
86
+ "./JDMaterialView": {
87
+ "import": "./dist/es/jdmaterialview/index.js",
88
+ "require": "./dist/cjs/jdmaterialview/index.js"
89
+ },
90
+ "./JDMaterialsBlurTarget": {
91
+ "import": "./dist/es/jdmaterialsblurtarget/index.js",
92
+ "require": "./dist/cjs/jdmaterialsblurtarget/index.js"
93
+ }
82
94
  }
83
95
  }
package/readme.md CHANGED
@@ -1,9 +1,18 @@
1
- 本仓库用于输出 基于京东主站设计的一些仅供内部使用的组件。
1
+ # NutUI Biz 组件库
2
2
 
3
- 1、复用 nutui-react 的脚手架功能
4
- - 是否可以先在 nutui-react 中生成一个用于多端脚手架的 skill?
5
- - nutui-react 在同级目录 nutui-react 目录下
3
+ 当前仅用于站内。目前包含 Taro 及 Web 两个端。
6
4
 
7
- 2、本次实现两个组件,参考文档:https://joyspace.jd.com/pages/WDMtpVWLnrM0L4G5V0n2
8
- - JDMaterialView 组件
9
- - JDMaterialsBlurTarget 组件
5
+ Taro 端会发布为 @nutui/taro-biz; Web 端会发布为 @nutui/biz。
6
+
7
+ ## 组件列表
8
+
9
+ ### 液态玻璃与毛玻璃
10
+
11
+ #### Taro 版本
12
+
13
+ - JDMaterialView
14
+ - JDMaterialsBlurTarget
15
+
16
+ #### Web 端
17
+
18
+ todo
@@ -1 +0,0 @@
1
- "use strict";const t=require("../typings-oda_k1Zf.js"),u=require("classnames"),m=require("@tarojs/components"),p={...t.ComponentDefaults},e=r=>{const{className:a,style:l,children:n,blurId:c,...o}={...p,...r},i=u("nut-jdmaterialsblurtarget",a),s={};return s.blurId=c,t.jsxRuntimeExports.jsx(m.View,{className:i,style:l,...s,...o,children:n})};e.displayName="NutJDMaterialsBlurTarget";module.exports=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("../typings-oda_k1Zf.js"),G=require("react"),A=require("classnames"),M=require("@tarojs/taro"),$=require("@tarojs/components"),j=require("@jdtaro/ui"),C=26;function S(t,r,e){const o=e>=C;switch(t){case"top-solid":return o?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{fallbackStyle:{backgroundColor:r?"#2A2F36":"#FFFFFF"}};case"top-plain":return o?{liquidGlass:{style:"regular",interactive:!0,tintColor:r?"rgba(0, 0, 0, 0.75)":"rgba(255, 255, 255, 0.45)",showTintOverlay:r}}:{};case"top-bar":return{frostedGlass:{style:r?"thick-dark":"thick-light"}};case"promotion-fair":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.85}};case"promotion-deep":return{liquidGlass:{style:"clear",interactive:!1},frostedGlass:{style:"thick-light",alpha:.35}};case"immersive":return o?{liquidGlass:{style:"regular",forceDark:!0,interactive:!0,tintColor:"rgba(0, 0, 0, 0.75)"}}:{frostedGlass:{style:"regular-dark",alpha:.4}};case"bottom-bar":return{gradientBlur:{minBlur:.5,maxBlur:.8,overlayAlpha:.9,overlayColor:r?"rgba(0, 0, 0, 1)":"rgba(255, 255, 255, 1)"}};default:return{}}}function B(t,r){const e=r>=C;switch(t){case"top-bar":case"bottom-bar":return 0;case"top-plain":return e?12:0;case"top-solid":case"promotion-fair":case"promotion-deep":case"immersive":return e?12:8;default:return 0}}const d="255, 255, 255",f="31, 34, 38";function N(t,r){switch(t){case"top-solid":return{blurRadius:40,tintColor:r?"rgba(42, 47, 54, 1)":"rgba(255, 255, 255, 1)"};case"top-plain":return{blurRadius:40};case"top-bar":return{blurRadius:40,tintColor:r?`rgba(${f}, 0.9)`:`rgba(${d}, 0.9)`};case"promotion-fair":return{blurRadius:40,tintColor:`rgba(${d}, 0.85)`};case"promotion-deep":return{blurRadius:40,tintColor:`rgba(${d}, 0.2)`};case"immersive":return{blurRadius:40,tintColor:`rgba(${f}, 0.4)`};case"bottom-bar":return{blurRadius:50,tintColor:r?`rgba(${f}, 0.8)`:`rgba(${d}, 0.8)`};default:return{blurRadius:40}}}const P={...y.ComponentDefaults};function D(t){return t.style.startsWith("thin")?10:t.style.startsWith("thick")?40:20}function L(t){const r={},e=t.maxBlur??0;return e>0&&(r.backdropFilter=`blur(${e*50}px)`),t.overlayAlpha&&t.overlayAlpha>0&&(r.backgroundColor=t.overlayColor||"rgba(255,255,255,1)",r.opacity=t.overlayAlpha),r}function _(){var t;try{const r=M.getSystemInfoSync(),e=String((r==null?void 0:r.platform)||"").toLowerCase(),o=String((r==null?void 0:r.system)||""),i=e==="ios",b=i?parseInt(((t=o.match(/\d+/))==null?void 0:t[0])||"0",10):0,g=String((r==null?void 0:r.theme)||"").toLowerCase()==="dark";return{isIOS:i,iosMajor:b,dark:g}}catch{return{isIOS:!1,iosMajor:0,dark:!1}}}const q=t=>{const{className:r,style:e,children:o,scene:i,targetId:b,liquidGlass:g,frostedGlass:R,gradientBlur:k,overlayColor:c,...p}={...P,...t},m=A("nut-jdmaterialview",r),{isIOS:I,iosMajor:h,dark:v}=G.useMemo(()=>_(),[]),s=G.useMemo(()=>i?S(i,v,h):void 0,[i,v,h]),x=g??(s==null?void 0:s.liquidGlass),l=R??(s==null?void 0:s.frostedGlass),u=k??(s==null?void 0:s.gradientBlur);if(I){const a={...s==null?void 0:s.fallbackStyle,...e};return y.jsxRuntimeExports.jsx(j.JDIOSMaterialView,{className:m,style:a,liquidGlass:x,frostedGlass:l,gradientBlur:u,...p,children:o})}const O=(()=>{const a={...e};if(l){const w=D(l);a.backdropFilter=`blur(${w}px)`,l.alpha!==void 0&&(a.opacity=l.alpha);const F=l.style.endsWith("-dark");a.backgroundColor||(a.backgroundColor=F?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.3)")}else u&&Object.assign(a,L(u));return c&&(a.backgroundColor=c),a})(),n={};return n.targetId=b,i&&(n.scene=i),l&&(n.frostedGlass=JSON.stringify(l)),u&&(n.gradientBlur=JSON.stringify(u)),c&&(n.overlayColor=c),y.jsxRuntimeExports.jsx($.View,{className:m,style:O,...n,...p,children:o})};q.displayName="NutJDMaterialView";exports.default=q;exports.getCornerRadius=B;exports.getFrostedPreset=N;exports.getPreset=S;
@@ -1,30 +0,0 @@
1
- "use strict";const Ce=require("react");var X={exports:{}},k={};/**
2
- * @license React
3
- * react-jsx-runtime.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Te;function lr(){if(Te)return k;Te=1;var V=Ce,P=Symbol.for("react.element"),M=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,F=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A={key:!0,ref:!0,__self:!0,__source:!0};function w(_,f,T){var p,E={},b=null,I=null;T!==void 0&&(b=""+T),f.key!==void 0&&(b=""+f.key),f.ref!==void 0&&(I=f.ref);for(p in f)m.call(f,p)&&!A.hasOwnProperty(p)&&(E[p]=f[p]);if(_&&_.defaultProps)for(p in f=_.defaultProps,f)E[p]===void 0&&(E[p]=f[p]);return{$$typeof:P,type:_,key:b,ref:I,props:E,_owner:F.current}}return k.Fragment=M,k.jsx=w,k.jsxs=w,k}var D={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var Oe;function fr(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&function(){var V=Ce,P=Symbol.for("react.element"),M=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),_=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),H=Symbol.iterator,Se="@@iterator";function Pe(e){if(e===null||typeof e!="object")return null;var r=H&&e[H]||e[Se];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];we("error",e,t)}}function we(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 je=!1,xe=!1,ke=!1,De=!1,Fe=!1,Z;Z=Symbol.for("react.module.reference");function Ae(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===A||Fe||e===F||e===T||e===p||De||e===I||je||xe||ke||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===_||e.$$typeof===f||e.$$typeof===Z||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 Q(e){return e.displayName||"Context"}function y(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 m:return"Fragment";case M:return"Portal";case A:return"Profiler";case F:return"StrictMode";case T:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var r=e;return Q(r)+".Consumer";case w:var t=e;return Q(t._context)+".Provider";case f:return Ie(e,e.render,"ForwardRef");case E:var n=e.displayName||null;return n!==null?n:y(e.type)||"Memo";case b:{var i=e,u=i._payload,o=i._init;try{return y(o(u))}catch{return null}}}return null}var h=Object.assign,j=0,ee,re,te,ne,ae,oe,ie;function ue(){}ue.__reactDisabledLog=!0;function $e(){{if(j===0){ee=console.log,re=console.info,te=console.warn,ne=console.error,ae=console.group,oe=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ue,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:h({},e,{value:ee}),info:h({},e,{value:re}),warn:h({},e,{value:te}),error:h({},e,{value:ne}),group:h({},e,{value:ae}),groupCollapsed:h({},e,{value:oe}),groupEnd:h({},e,{value:ie})})}j<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=O.ReactCurrentDispatcher,N;function $(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
- `+N+e}}var q=!1,W;{var Ye=typeof WeakMap=="function"?WeakMap:Map;W=new Ye}function se(e,r){if(!e||q)return"";{var t=W.get(e);if(t!==void 0)return t}var n;q=!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(d){n=d}Reflect.construct(e,[],o)}else{try{o.call()}catch(d){n=d}e.call(o.prototype)}}else{try{throw Error()}catch(d){n=d}e()}}catch(d){if(d&&n&&typeof d.stack=="string"){for(var a=d.stack.split(`
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 g=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&W.set(e,g),g}while(s>=1&&l>=0);break}}}finally{q=!1,U.current=u,We(),Error.prepareStackTrace=i}var S=e?e.displayName||e.name:"",R=S?$(S):"";return typeof e=="function"&&W.set(e,R),R}function Le(e,r,t){return se(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function Y(e,r,t){if(e==null)return"";if(typeof e=="function")return se(e,Ve(e));if(typeof e=="string")return $(e);switch(e){case T:return $("Suspense");case p:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Le(e.render);case E:return Y(e.type,r,t);case b:{var n=e,i=n._payload,u=n._init;try{return Y(u(i),r,t)}catch{}}}return""}var x=Object.prototype.hasOwnProperty,le={},fe=O.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,t=Y(e.type,e._source,r?r.type:null);fe.setExtraStackFrame(t)}else fe.setExtraStackFrame(null)}function Me(e,r,t,n,i){{var u=Function.call.bind(x);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)&&(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 le)&&(le[a.message]=!0,L(i),c("Failed %s type: %s",t,a.message),L(null))}}}var Ue=Array.isArray;function B(e){return Ue(e)}function Ne(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return ce(e),!1}catch{return!0}}function ce(e){return""+e}function ve(e){if(qe(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ne(e)),ce(e)}var de=O.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},pe,ge;function Je(e){if(x.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){typeof e.ref=="string"&&de.current}function ze(e,r){{var t=function(){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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Xe(e,r){{var t=function(){ge||(ge=!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 He=function(e,r,t,n,i,u,o){var a={$$typeof:P,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&&(ve(t),a=""+t),Ke(r)&&(ve(r.key),a=""+r.key),Je(r)&&(v=r.ref,Ge(r,i));for(u in r)x.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&&ze(o,l),v&&Xe(o,l)}return He(e,a,v,i,n,de.current,o)}}var J=O.ReactCurrentOwner,Ee=O.ReactDebugCurrentFrame;function C(e){if(e){var r=e._owner,t=Y(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var K;K=!1;function G(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function ye(){{if(J.current){var e=y(J.current.type);if(e)return`
22
-
23
- Check the render method of \``+e+"`."}return""}}function Qe(e){return""}var _e={};function er(e){{var r=ye();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
-
25
- Check the top-level render call using <`+t+">.")}return r}}function be(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+y(e._owner.type)+"."),C(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),C(null)}}function he(e,r){{if(typeof e!="object")return;if(B(e))for(var t=0;t<e.length;t++){var n=e[t];G(n)&&be(n,r)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var i=Pe(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)G(o.value)&&be(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===f||r.$$typeof===E))t=r.propTypes;else return;if(t){var n=y(r);Me(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!K){K=!0;var i=y(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 tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){C(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),C(null);break}}e.ref!==null&&(C(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),C(null))}}var Re={};function me(e,r,t,n,i,u){{var o=Ae(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();v?a+=v:a+=ye();var s;e===null?s="null":B(e)?s="array":e!==void 0&&e.$$typeof===P?(s="<"+(y(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=Ze(e,r,t,i,u);if(l==null)return l;if(o){var g=r.children;if(g!==void 0)if(n)if(B(g)){for(var S=0;S<g.length;S++)he(g[S],e);Object.freeze&&Object.freeze(g)}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 he(g,e)}if(x.call(r,"key")){var R=y(e),d=Object.keys(r).filter(function(sr){return sr!=="key"}),z=d.length>0?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}";if(!Re[R+z]){var ur=d.length>0?"{"+d.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
26
- let props = %s;
27
- <%s {...props} />
28
- React keys must be passed directly to JSX without using spread:
29
- let props = %s;
30
- <%s key={someKey} {...props} />`,z,R,ur,R),Re[R+z]=!0}}return e===m?tr(l):rr(l),l}}function nr(e,r,t){return me(e,r,t,!0)}function ar(e,r,t){return me(e,r,t,!1)}var or=ar,ir=nr;D.Fragment=m,D.jsx=or,D.jsxs=ir}()),D}process.env.NODE_ENV==="production"?X.exports=lr():X.exports=fr();var cr=X.exports;const vr={className:"",style:{}};exports.ComponentDefaults=vr;exports.jsxRuntimeExports=cr;
@@ -1,635 +0,0 @@
1
- import Ce from "react";
2
- var X = { exports: {} }, k = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var Te;
13
- function lr() {
14
- if (Te) return k;
15
- Te = 1;
16
- var V = Ce, P = Symbol.for("react.element"), M = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function w(_, f, T) {
18
- var p, y = {}, b = null, I = null;
19
- T !== void 0 && (b = "" + T), f.key !== void 0 && (b = "" + f.key), f.ref !== void 0 && (I = f.ref);
20
- for (p in f) m.call(f, p) && !A.hasOwnProperty(p) && (y[p] = f[p]);
21
- if (_ && _.defaultProps) for (p in f = _.defaultProps, f) y[p] === void 0 && (y[p] = f[p]);
22
- return { $$typeof: P, type: _, key: b, ref: I, props: y, _owner: F.current };
23
- }
24
- return k.Fragment = M, k.jsx = w, k.jsxs = w, k;
25
- }
26
- var D = {};
27
- /**
28
- * @license React
29
- * react-jsx-runtime.development.js
30
- *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */
36
- var Oe;
37
- function fr() {
38
- return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
39
- var V = Ce, P = Symbol.for("react.element"), M = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), _ = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Se = "@@iterator";
40
- function Pe(e) {
41
- if (e === null || typeof e != "object")
42
- return null;
43
- var r = H && e[H] || e[Se];
44
- return typeof r == "function" ? r : null;
45
- }
46
- var O = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function c(e) {
48
- {
49
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
50
- t[n - 1] = arguments[n];
51
- we("error", e, t);
52
- }
53
- }
54
- function we(e, r, t) {
55
- {
56
- var n = O.ReactDebugCurrentFrame, i = n.getStackAddendum();
57
- i !== "" && (r += "%s", t = t.concat([i]));
58
- var u = t.map(function(o) {
59
- return String(o);
60
- });
61
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
62
- }
63
- }
64
- var je = !1, xe = !1, ke = !1, De = !1, Fe = !1, Z;
65
- Z = Symbol.for("react.module.reference");
66
- function Ae(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Fe || e === F || e === T || e === p || De || e === I || je || xe || ke || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === y || e.$$typeof === w || e.$$typeof === _ || e.$$typeof === f || // This needs to include all possible module reference object
68
- // types supported by any Flight configuration anywhere since
69
- // we don't know which Flight build this will end up being used
70
- // with.
71
- e.$$typeof === Z || e.getModuleId !== void 0));
72
- }
73
- function Ie(e, r, t) {
74
- var n = e.displayName;
75
- if (n)
76
- return n;
77
- var i = r.displayName || r.name || "";
78
- return i !== "" ? t + "(" + i + ")" : t;
79
- }
80
- function Q(e) {
81
- return e.displayName || "Context";
82
- }
83
- function E(e) {
84
- if (e == null)
85
- return null;
86
- 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")
87
- return e.displayName || e.name || null;
88
- if (typeof e == "string")
89
- return e;
90
- switch (e) {
91
- case m:
92
- return "Fragment";
93
- case M:
94
- return "Portal";
95
- case A:
96
- return "Profiler";
97
- case F:
98
- return "StrictMode";
99
- case T:
100
- return "Suspense";
101
- case p:
102
- return "SuspenseList";
103
- }
104
- if (typeof e == "object")
105
- switch (e.$$typeof) {
106
- case _:
107
- var r = e;
108
- return Q(r) + ".Consumer";
109
- case w:
110
- var t = e;
111
- return Q(t._context) + ".Provider";
112
- case f:
113
- return Ie(e, e.render, "ForwardRef");
114
- case y:
115
- var n = e.displayName || null;
116
- return n !== null ? n : E(e.type) || "Memo";
117
- case b: {
118
- var i = e, u = i._payload, o = i._init;
119
- try {
120
- return E(o(u));
121
- } catch {
122
- return null;
123
- }
124
- }
125
- }
126
- return null;
127
- }
128
- var h = Object.assign, j = 0, ee, re, te, ne, ae, oe, ie;
129
- function ue() {
130
- }
131
- ue.__reactDisabledLog = !0;
132
- function $e() {
133
- {
134
- if (j === 0) {
135
- ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
136
- var e = {
137
- configurable: !0,
138
- enumerable: !0,
139
- value: ue,
140
- writable: !0
141
- };
142
- Object.defineProperties(console, {
143
- info: e,
144
- log: e,
145
- warn: e,
146
- error: e,
147
- group: e,
148
- groupCollapsed: e,
149
- groupEnd: e
150
- });
151
- }
152
- j++;
153
- }
154
- }
155
- function We() {
156
- {
157
- if (j--, j === 0) {
158
- var e = {
159
- configurable: !0,
160
- enumerable: !0,
161
- writable: !0
162
- };
163
- Object.defineProperties(console, {
164
- log: h({}, e, {
165
- value: ee
166
- }),
167
- info: h({}, e, {
168
- value: re
169
- }),
170
- warn: h({}, e, {
171
- value: te
172
- }),
173
- error: h({}, e, {
174
- value: ne
175
- }),
176
- group: h({}, e, {
177
- value: ae
178
- }),
179
- groupCollapsed: h({}, e, {
180
- value: oe
181
- }),
182
- groupEnd: h({}, e, {
183
- value: ie
184
- })
185
- });
186
- }
187
- j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
- }
189
- }
190
- var U = O.ReactCurrentDispatcher, N;
191
- function $(e, r, t) {
192
- {
193
- if (N === void 0)
194
- try {
195
- throw Error();
196
- } catch (i) {
197
- var n = i.stack.trim().match(/\n( *(at )?)/);
198
- N = n && n[1] || "";
199
- }
200
- return `
201
- ` + N + e;
202
- }
203
- }
204
- var B = !1, W;
205
- {
206
- var Ye = typeof WeakMap == "function" ? WeakMap : Map;
207
- W = new Ye();
208
- }
209
- function se(e, r) {
210
- if (!e || B)
211
- return "";
212
- {
213
- var t = W.get(e);
214
- if (t !== void 0)
215
- return t;
216
- }
217
- var n;
218
- B = !0;
219
- var i = Error.prepareStackTrace;
220
- Error.prepareStackTrace = void 0;
221
- var u;
222
- u = U.current, U.current = null, $e();
223
- try {
224
- if (r) {
225
- var o = function() {
226
- throw Error();
227
- };
228
- if (Object.defineProperty(o.prototype, "props", {
229
- set: function() {
230
- throw Error();
231
- }
232
- }), typeof Reflect == "object" && Reflect.construct) {
233
- try {
234
- Reflect.construct(o, []);
235
- } catch (d) {
236
- n = d;
237
- }
238
- Reflect.construct(e, [], o);
239
- } else {
240
- try {
241
- o.call();
242
- } catch (d) {
243
- n = d;
244
- }
245
- e.call(o.prototype);
246
- }
247
- } else {
248
- try {
249
- throw Error();
250
- } catch (d) {
251
- n = d;
252
- }
253
- e();
254
- }
255
- } catch (d) {
256
- if (d && n && typeof d.stack == "string") {
257
- for (var a = d.stack.split(`
258
- `), v = n.stack.split(`
259
- `), s = a.length - 1, l = v.length - 1; s >= 1 && l >= 0 && a[s] !== v[l]; )
260
- l--;
261
- for (; s >= 1 && l >= 0; s--, l--)
262
- if (a[s] !== v[l]) {
263
- if (s !== 1 || l !== 1)
264
- do
265
- if (s--, l--, l < 0 || a[s] !== v[l]) {
266
- var g = `
267
- ` + a[s].replace(" at new ", " at ");
268
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, g), g;
269
- }
270
- while (s >= 1 && l >= 0);
271
- break;
272
- }
273
- }
274
- } finally {
275
- B = !1, U.current = u, We(), Error.prepareStackTrace = i;
276
- }
277
- var S = e ? e.displayName || e.name : "", R = S ? $(S) : "";
278
- return typeof e == "function" && W.set(e, R), R;
279
- }
280
- function Le(e, r, t) {
281
- return se(e, !1);
282
- }
283
- function Ve(e) {
284
- var r = e.prototype;
285
- return !!(r && r.isReactComponent);
286
- }
287
- function Y(e, r, t) {
288
- if (e == null)
289
- return "";
290
- if (typeof e == "function")
291
- return se(e, Ve(e));
292
- if (typeof e == "string")
293
- return $(e);
294
- switch (e) {
295
- case T:
296
- return $("Suspense");
297
- case p:
298
- return $("SuspenseList");
299
- }
300
- if (typeof e == "object")
301
- switch (e.$$typeof) {
302
- case f:
303
- return Le(e.render);
304
- case y:
305
- return Y(e.type, r, t);
306
- case b: {
307
- var n = e, i = n._payload, u = n._init;
308
- try {
309
- return Y(u(i), r, t);
310
- } catch {
311
- }
312
- }
313
- }
314
- return "";
315
- }
316
- var x = Object.prototype.hasOwnProperty, le = {}, fe = O.ReactDebugCurrentFrame;
317
- function L(e) {
318
- if (e) {
319
- var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
320
- fe.setExtraStackFrame(t);
321
- } else
322
- fe.setExtraStackFrame(null);
323
- }
324
- function Me(e, r, t, n, i) {
325
- {
326
- var u = Function.call.bind(x);
327
- for (var o in e)
328
- if (u(e, o)) {
329
- var a = void 0;
330
- try {
331
- if (typeof e[o] != "function") {
332
- 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`.");
333
- throw v.name = "Invariant Violation", v;
334
- }
335
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (s) {
337
- a = s;
338
- }
339
- 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 le) && (le[a.message] = !0, L(i), c("Failed %s type: %s", t, a.message), L(null));
340
- }
341
- }
342
- }
343
- var Ue = Array.isArray;
344
- function J(e) {
345
- return Ue(e);
346
- }
347
- function Ne(e) {
348
- {
349
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
- return t;
351
- }
352
- }
353
- function Be(e) {
354
- try {
355
- return ce(e), !1;
356
- } catch {
357
- return !0;
358
- }
359
- }
360
- function ce(e) {
361
- return "" + e;
362
- }
363
- function ve(e) {
364
- if (Be(e))
365
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ne(e)), ce(e);
366
- }
367
- var de = O.ReactCurrentOwner, Je = {
368
- key: !0,
369
- ref: !0,
370
- __self: !0,
371
- __source: !0
372
- }, pe, ge;
373
- function qe(e) {
374
- if (x.call(e, "ref")) {
375
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
376
- if (r && r.isReactWarning)
377
- return !1;
378
- }
379
- return e.ref !== void 0;
380
- }
381
- function Ke(e) {
382
- if (x.call(e, "key")) {
383
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
384
- if (r && r.isReactWarning)
385
- return !1;
386
- }
387
- return e.key !== void 0;
388
- }
389
- function Ge(e, r) {
390
- typeof e.ref == "string" && de.current;
391
- }
392
- function ze(e, r) {
393
- {
394
- var t = function() {
395
- 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));
396
- };
397
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
398
- get: t,
399
- configurable: !0
400
- });
401
- }
402
- }
403
- function Xe(e, r) {
404
- {
405
- var t = function() {
406
- ge || (ge = !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));
407
- };
408
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
- get: t,
410
- configurable: !0
411
- });
412
- }
413
- }
414
- var He = function(e, r, t, n, i, u, o) {
415
- var a = {
416
- // This tag allows us to uniquely identify this as a React Element
417
- $$typeof: P,
418
- // Built-in properties that belong on the element
419
- type: e,
420
- key: r,
421
- ref: t,
422
- props: o,
423
- // Record the component responsible for creating this element.
424
- _owner: u
425
- };
426
- return a._store = {}, Object.defineProperty(a._store, "validated", {
427
- configurable: !1,
428
- enumerable: !1,
429
- writable: !0,
430
- value: !1
431
- }), Object.defineProperty(a, "_self", {
432
- configurable: !1,
433
- enumerable: !1,
434
- writable: !1,
435
- value: n
436
- }), Object.defineProperty(a, "_source", {
437
- configurable: !1,
438
- enumerable: !1,
439
- writable: !1,
440
- value: i
441
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
442
- };
443
- function Ze(e, r, t, n, i) {
444
- {
445
- var u, o = {}, a = null, v = null;
446
- t !== void 0 && (ve(t), a = "" + t), Ke(r) && (ve(r.key), a = "" + r.key), qe(r) && (v = r.ref, Ge(r, i));
447
- for (u in r)
448
- x.call(r, u) && !Je.hasOwnProperty(u) && (o[u] = r[u]);
449
- if (e && e.defaultProps) {
450
- var s = e.defaultProps;
451
- for (u in s)
452
- o[u] === void 0 && (o[u] = s[u]);
453
- }
454
- if (a || v) {
455
- var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- a && ze(o, l), v && Xe(o, l);
457
- }
458
- return He(e, a, v, i, n, de.current, o);
459
- }
460
- }
461
- var q = O.ReactCurrentOwner, ye = O.ReactDebugCurrentFrame;
462
- function C(e) {
463
- if (e) {
464
- var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
465
- ye.setExtraStackFrame(t);
466
- } else
467
- ye.setExtraStackFrame(null);
468
- }
469
- var K;
470
- K = !1;
471
- function G(e) {
472
- return typeof e == "object" && e !== null && e.$$typeof === P;
473
- }
474
- function Ee() {
475
- {
476
- if (q.current) {
477
- var e = E(q.current.type);
478
- if (e)
479
- return `
480
-
481
- Check the render method of \`` + e + "`.";
482
- }
483
- return "";
484
- }
485
- }
486
- function Qe(e) {
487
- return "";
488
- }
489
- var _e = {};
490
- function er(e) {
491
- {
492
- var r = Ee();
493
- if (!r) {
494
- var t = typeof e == "string" ? e : e.displayName || e.name;
495
- t && (r = `
496
-
497
- Check the top-level render call using <` + t + ">.");
498
- }
499
- return r;
500
- }
501
- }
502
- function be(e, r) {
503
- {
504
- if (!e._store || e._store.validated || e.key != null)
505
- return;
506
- e._store.validated = !0;
507
- var t = er(r);
508
- if (_e[t])
509
- return;
510
- _e[t] = !0;
511
- var n = "";
512
- e && e._owner && e._owner !== q.current && (n = " It was passed a child from " + E(e._owner.type) + "."), C(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), C(null);
513
- }
514
- }
515
- function he(e, r) {
516
- {
517
- if (typeof e != "object")
518
- return;
519
- if (J(e))
520
- for (var t = 0; t < e.length; t++) {
521
- var n = e[t];
522
- G(n) && be(n, r);
523
- }
524
- else if (G(e))
525
- e._store && (e._store.validated = !0);
526
- else if (e) {
527
- var i = Pe(e);
528
- if (typeof i == "function" && i !== e.entries)
529
- for (var u = i.call(e), o; !(o = u.next()).done; )
530
- G(o.value) && be(o.value, r);
531
- }
532
- }
533
- }
534
- function rr(e) {
535
- {
536
- var r = e.type;
537
- if (r == null || typeof r == "string")
538
- return;
539
- var t;
540
- if (typeof r == "function")
541
- t = r.propTypes;
542
- else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
543
- // Inner props are checked in the reconciler.
544
- r.$$typeof === y))
545
- t = r.propTypes;
546
- else
547
- return;
548
- if (t) {
549
- var n = E(r);
550
- Me(t, e.props, "prop", n, e);
551
- } else if (r.PropTypes !== void 0 && !K) {
552
- K = !0;
553
- var i = E(r);
554
- c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
555
- }
556
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
- }
558
- }
559
- function tr(e) {
560
- {
561
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
562
- var n = r[t];
563
- if (n !== "children" && n !== "key") {
564
- C(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), C(null);
565
- break;
566
- }
567
- }
568
- e.ref !== null && (C(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), C(null));
569
- }
570
- }
571
- var Re = {};
572
- function me(e, r, t, n, i, u) {
573
- {
574
- var o = Ae(e);
575
- if (!o) {
576
- var a = "";
577
- (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.");
578
- var v = Qe();
579
- v ? a += v : a += Ee();
580
- var s;
581
- e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === P ? (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);
582
- }
583
- var l = Ze(e, r, t, i, u);
584
- if (l == null)
585
- return l;
586
- if (o) {
587
- var g = r.children;
588
- if (g !== void 0)
589
- if (n)
590
- if (J(g)) {
591
- for (var S = 0; S < g.length; S++)
592
- he(g[S], e);
593
- Object.freeze && Object.freeze(g);
594
- } else
595
- 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.");
596
- else
597
- he(g, e);
598
- }
599
- if (x.call(r, "key")) {
600
- var R = E(e), d = Object.keys(r).filter(function(sr) {
601
- return sr !== "key";
602
- }), z = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Re[R + z]) {
604
- var ur = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
605
- c(`A props object containing a "key" prop is being spread into JSX:
606
- let props = %s;
607
- <%s {...props} />
608
- React keys must be passed directly to JSX without using spread:
609
- let props = %s;
610
- <%s key={someKey} {...props} />`, z, R, ur, R), Re[R + z] = !0;
611
- }
612
- }
613
- return e === m ? tr(l) : rr(l), l;
614
- }
615
- }
616
- function nr(e, r, t) {
617
- return me(e, r, t, !0);
618
- }
619
- function ar(e, r, t) {
620
- return me(e, r, t, !1);
621
- }
622
- var or = ar, ir = nr;
623
- D.Fragment = m, D.jsx = or, D.jsxs = ir;
624
- }()), D;
625
- }
626
- process.env.NODE_ENV === "production" ? X.exports = lr() : X.exports = fr();
627
- var vr = X.exports;
628
- const dr = {
629
- className: "",
630
- style: {}
631
- };
632
- export {
633
- dr as C,
634
- vr as j
635
- };