@chaibuilder/sdk 1.2.25 → 1.2.26

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.
Files changed (182) hide show
  1. package/dist/AddBlocks-l1JENNvq.js +206 -0
  2. package/dist/AddBlocks-zPPKkeKs.cjs +1 -0
  3. package/dist/BrandingOptions-DkpqGARR.cjs +1 -0
  4. package/dist/{BrandingOptions-iTyWpwTs.js → BrandingOptions-udtH5yJs.js} +54 -40
  5. package/dist/{CanvasArea-dZjng782.js → CanvasArea-h0W-Tyha.js} +324 -340
  6. package/dist/CanvasArea-zme1r3Zi.cjs +55 -0
  7. package/dist/Class-PoYusiA5.cjs +1 -0
  8. package/dist/{Class-ahc3NIbq.js → Class-lGzsNBOK.js} +29 -26
  9. package/dist/CurrentPage-Hl52iub_.cjs +1 -0
  10. package/dist/{CurrentPage-Kmfp-kFk.js → CurrentPage-tJUjXWdb.js} +54 -40
  11. package/dist/Functions-7jnEwJyw.js +15 -0
  12. package/dist/Functions-N3yhPYKY.cjs +1 -0
  13. package/dist/ListTree-WvTjY5rr.cjs +1 -0
  14. package/dist/{ListTree-N3jeD790.js → ListTree-cZ-Ihlt3.js} +96 -86
  15. package/dist/MODIFIERS-0g14w5RS.cjs +1 -0
  16. package/dist/{MODIFIERS-CNqNUapY.js → MODIFIERS-dytZ-osO.js} +4 -10
  17. package/dist/PagesPanel-6rrLXEO-.js +64 -0
  18. package/dist/PagesPanel-WzCocl6u.cjs +1 -0
  19. package/dist/ProjectPanel-o7gdcwPn.cjs +1 -0
  20. package/dist/ProjectPanel-tz3bjdXy.js +85 -0
  21. package/dist/{STRINGS-b432aBJJ.js → STRINGS--j49GZJP.js} +2 -2
  22. package/dist/{Settings-jCcd-VE6.js → Settings-4s2LUVmC.js} +401 -407
  23. package/dist/Settings-AqoKwR92.cjs +1 -0
  24. package/dist/SidePanels-3o6Okmvu.cjs +1 -0
  25. package/dist/{SidePanels-pHMYprpW.js → SidePanels-bugFfInz.js} +118 -108
  26. package/dist/Topbar-CqW7G360.cjs +1 -0
  27. package/dist/Topbar-pWzBEOed.js +132 -0
  28. package/dist/UnsplashImages-NGskB93R.cjs +1 -0
  29. package/dist/{UnsplashImages-L7x_3RQf.js → UnsplashImages-qvwFbV-E.js} +63 -50
  30. package/dist/{UploadImages-zdEJRLD8.js → UploadImages-9NapgXBq.js} +60 -37
  31. package/dist/UploadImages-Oh7Glr9A.cjs +1 -0
  32. package/dist/_commonjsHelpers-UyOWmZb0.js +8 -0
  33. package/dist/_commonjsHelpers-wDK0ZLPo.cjs +1 -0
  34. package/dist/add-page-modal--6TTBRYa.cjs +1 -0
  35. package/dist/add-page-modal-k2Kb92HS.js +104 -0
  36. package/dist/confirm-alert-C4M9eF-o.cjs +1 -0
  37. package/dist/confirm-alert-GUhZ_G8w.js +60 -0
  38. package/dist/controls-KK2oLIa8.cjs +1 -0
  39. package/dist/{controls-IS5qnRce.js → controls-OfJWSEqC.js} +85 -20
  40. package/dist/core.cjs +1 -1
  41. package/dist/core.js +75 -150
  42. package/dist/defaultTheme-7VqqhOcp.cjs +1 -0
  43. package/dist/{defaultTheme-4kA60XdB.js → defaultTheme-D8B4-wHO.js} +8 -6
  44. package/dist/delete-page-modal-cFoL-wdo.cjs +1 -0
  45. package/dist/delete-page-modal-zONvdebd.js +83 -0
  46. package/dist/email-blocks.cjs +1 -1
  47. package/dist/email-blocks.js +292 -3
  48. package/dist/email.cjs +1 -1
  49. package/dist/email.js +37 -18
  50. package/dist/empty-slot-ZBlsQi6m.js +15 -0
  51. package/dist/empty-slot-nzYOgZuS.cjs +1 -0
  52. package/dist/{form-0_RLz2TB.js → form-STUz-6nE.js} +12 -12
  53. package/dist/form-lBQ_76Uw.cjs +1 -0
  54. package/dist/{html-to-json-uSnxl72F.cjs → html-to-json-efmv1pCj.cjs} +1 -1
  55. package/dist/{html-to-json-2xtb7520.js → html-to-json-ngX9ef2u.js} +41 -41
  56. package/dist/index-Gk6sASBd.js +3080 -0
  57. package/dist/index-OB199Izc.cjs +206 -0
  58. package/dist/index-SkyM3d6Q.js +39503 -0
  59. package/dist/index-YpnaudSM.js +63 -0
  60. package/dist/index-e0c8PmRQ.js +205 -0
  61. package/dist/index-ecnGWzh9.cjs +1 -0
  62. package/dist/index-gi1LIOCw.cjs +1 -0
  63. package/dist/index-h-hd6EvN.cjs +1 -0
  64. package/dist/index-llTXLDGE.js +2201 -0
  65. package/dist/index-mbyqq81O.cjs +1 -0
  66. package/dist/{jsx-runtime-Sp0orL4X.js → jsx-runtime-WbnYoNE9.js} +109 -106
  67. package/dist/jsx-runtime-Z_BpKhVy.cjs +27 -0
  68. package/dist/lib.cjs +2 -2
  69. package/dist/lib.js +66 -62
  70. package/dist/page-viewer-2kwnKM6v.cjs +1 -0
  71. package/dist/{page-viewer-NnOwmAmu.js → page-viewer-Pdg9F5Hv.js} +57 -43
  72. package/dist/project-general-setting-CnNL98NM.cjs +1 -0
  73. package/dist/{project-general-setting-9ju3TDju.js → project-general-setting-f8Ebsn6K.js} +43 -35
  74. package/dist/project-seo-setting-mlxL_e2_.cjs +1 -0
  75. package/dist/{project-seo-setting-36CdUszM.js → project-seo-setting-pX34Qsym.js} +40 -23
  76. package/dist/render.cjs +1 -1
  77. package/dist/render.js +14 -13
  78. package/dist/single-page-detail-XfzrGlzA.cjs +1 -0
  79. package/dist/{single-page-detail-hD1jKZ8k.js → single-page-detail-dpe5LT0M.js} +74 -66
  80. package/dist/studio.cjs +1 -1
  81. package/dist/studio.js +40 -24
  82. package/dist/ui.cjs +1 -1
  83. package/dist/ui.js +160 -365
  84. package/dist/web-blocks.cjs +6 -1
  85. package/dist/web-blocks.js +1153 -3
  86. package/package.json +1 -1
  87. package/dist/AddBlocks-Ol3iIVKa.js +0 -207
  88. package/dist/AddBlocks-a1c-7Ewz.cjs +0 -1
  89. package/dist/BrandingOptions-6rnt0UaA.cjs +0 -1
  90. package/dist/CanvasArea-R4ogF9AT.cjs +0 -55
  91. package/dist/ChaiBuilderEditor-m30yoOgJ.cjs +0 -163
  92. package/dist/ChaiBuilderEditor-vP4at00I.js +0 -27974
  93. package/dist/Class-eieto7e-.cjs +0 -1
  94. package/dist/Controls-3Cc1XYXg.js +0 -105
  95. package/dist/Controls-ky25Ebo3.cjs +0 -1
  96. package/dist/CurrentPage-3gQTH0Zt.cjs +0 -1
  97. package/dist/Functions-Hvon6AMZ.cjs +0 -1
  98. package/dist/Functions-NzT2Six_.js +0 -15
  99. package/dist/ImagesPanel-J1RlG7xG.cjs +0 -1
  100. package/dist/ImagesPanel-Wb0GF_NA.js +0 -29
  101. package/dist/ListTree-CZ-mtjZ9.cjs +0 -1
  102. package/dist/MODIFIERS-o1p3VnpS.cjs +0 -1
  103. package/dist/PagesPanel-Gi0z6gaf.cjs +0 -1
  104. package/dist/PagesPanel-u1IB-nRr.js +0 -48
  105. package/dist/ProjectPanel-EydGZmMW.js +0 -71
  106. package/dist/ProjectPanel-kiiljG4H.cjs +0 -1
  107. package/dist/Settings-8ilCSH8b.cjs +0 -1
  108. package/dist/SidePanels-T36C6Lhc.cjs +0 -1
  109. package/dist/Topbar-CvWQuspR.cjs +0 -1
  110. package/dist/Topbar-pbIDUE_B.js +0 -122
  111. package/dist/UnsplashImages-KBZPd9dv.cjs +0 -1
  112. package/dist/UploadImages-GkkJVAgG.cjs +0 -1
  113. package/dist/accordion-oPUeqPCZ.js +0 -42
  114. package/dist/accordion-ynvFtV_p.cjs +0 -1
  115. package/dist/add-page-modal-9SGv2hgc.cjs +0 -1
  116. package/dist/add-page-modal-JCDXZIPW.js +0 -95
  117. package/dist/alert-dialog-P9xMMB6C.cjs +0 -1
  118. package/dist/alert-dialog-rypfO5ly.js +0 -64
  119. package/dist/badge-E-S7CqUt.cjs +0 -1
  120. package/dist/badge-tEwO7C51.js +0 -23
  121. package/dist/block-helpers-OKHmRRol.cjs +0 -1
  122. package/dist/block-helpers-oSFpSsGz.js +0 -23
  123. package/dist/command-BxR6jaCI.cjs +0 -1
  124. package/dist/command-Pn3HKDuV.js +0 -97
  125. package/dist/confirm-alert-uNm0lZ0y.cjs +0 -1
  126. package/dist/confirm-alert-wR5_VJ1l.js +0 -36
  127. package/dist/context-menu-8dC9uGXj.js +0 -122
  128. package/dist/context-menu-IgLbIuth.cjs +0 -1
  129. package/dist/controls-L7DPvB0m.cjs +0 -1
  130. package/dist/defaultTheme-mrkeGFGI.cjs +0 -1
  131. package/dist/delete-page-modal-7KmP1elv.js +0 -67
  132. package/dist/delete-page-modal-SgfwvfNu.cjs +0 -1
  133. package/dist/dropdown-menu-El86_9Uo.js +0 -124
  134. package/dist/dropdown-menu-SiHzqWwZ.cjs +0 -1
  135. package/dist/form-W58AVUdf.cjs +0 -1
  136. package/dist/hover-card-KUwpDkW8.cjs +0 -1
  137. package/dist/hover-card-q138xxXR.js +0 -45
  138. package/dist/iconBase-gbUAAO2L.cjs +0 -1
  139. package/dist/iconBase-h4DuR_XT.js +0 -63
  140. package/dist/index-9MmykVSc.cjs +0 -1
  141. package/dist/index-hElOGcFr.js +0 -2200
  142. package/dist/index-lDTsQp7h.js +0 -188
  143. package/dist/index-rq5Y9ZDy.cjs +0 -1
  144. package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
  145. package/dist/label-KaP7MRrs.js +0 -10
  146. package/dist/label-tFm8HZdb.cjs +0 -1
  147. package/dist/link-WbcKdQ9k.cjs +0 -1
  148. package/dist/link-xuhP-4dN.js +0 -196
  149. package/dist/page-viewer-Hx5hxHKm.cjs +0 -1
  150. package/dist/popover-a84pbVhQ.js +0 -23
  151. package/dist/popover-fKjgcRUx.cjs +0 -1
  152. package/dist/project-general-setting-FxkwjvJz.cjs +0 -1
  153. package/dist/project-seo-setting-RU7qiXxb.cjs +0 -1
  154. package/dist/scroll-area-FiHvy-TZ.cjs +0 -1
  155. package/dist/scroll-area-ewXbxc3n.js +0 -30
  156. package/dist/select-7bjg-rr9.cjs +0 -1
  157. package/dist/select-POGdEDHT.js +0 -75
  158. package/dist/separator-3Civ-6hb.cjs +0 -1
  159. package/dist/separator-SctTn0Qi.js +0 -18
  160. package/dist/single-page-detail-beY0MT1b.cjs +0 -1
  161. package/dist/skeleton-STeL9VrJ.cjs +0 -1
  162. package/dist/skeleton-lu8e7q2y.js +0 -239
  163. package/dist/tabs-_4WbA1cc.cjs +0 -1
  164. package/dist/tabs-yQ3oGziM.js +0 -106
  165. package/dist/textarea-1kZEh7ki.cjs +0 -1
  166. package/dist/textarea-b2QvVhrK.js +0 -73
  167. package/dist/useAddBlock-8pxOEYIl.cjs +0 -1
  168. package/dist/useAddBlock-FEKFJNwQ.js +0 -69
  169. package/dist/useChaiExternalData-fkFgoS80.js +0 -6
  170. package/dist/useChaiExternalData-rwoAZ6uU.cjs +0 -1
  171. package/dist/useDarkMode-7i57segK.cjs +0 -1
  172. package/dist/useDarkMode-8VHJlYyE.js +0 -23
  173. package/dist/useSelectedBreakpoints-6NK5qd7T.js +0 -10
  174. package/dist/useSelectedBreakpoints-7ONXb-vN.cjs +0 -1
  175. package/dist/useStylingState-Iuj84yvc.js +0 -186
  176. package/dist/useStylingState-OIvJMV6p.cjs +0 -1
  177. package/dist/useUiLibraries-nCdauJ4N.cjs +0 -1
  178. package/dist/useUiLibraries-psyWFbNc.js +0 -12
  179. package/dist/useUpdateBlocksProps-Unn8lUyj.cjs +0 -1
  180. package/dist/useUpdateBlocksProps-vWcDp-P9.js +0 -23
  181. package/dist/utils-dze1SGvB.js +0 -6
  182. package/dist/utils-qK_SjzzV.cjs +0 -1
@@ -1,5 +1,6 @@
1
+ import { g as fr } from "./_commonjsHelpers-UyOWmZb0.js";
1
2
  import Oe from "react";
2
- var H = { exports: {} }, j = {};
3
+ var N = { exports: {} }, j = {};
3
4
  /**
4
5
  * @license React
5
6
  * react-jsx-runtime.production.min.js
@@ -14,18 +15,18 @@ function ir() {
14
15
  if (ye)
15
16
  return j;
16
17
  ye = 1;
17
- var N = Oe, P = Symbol.for("react.element"), V = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, D = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function S(_, l, y) {
19
- var d, g = {}, h = null, A = null;
20
- y !== void 0 && (h = "" + y), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (A = l.ref);
18
+ var V = Oe, P = Symbol.for("react.element"), M = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, D = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function S(b, l, y) {
20
+ var d, g = {}, R = null, A = null;
21
+ y !== void 0 && (R = "" + y), l.key !== void 0 && (R = "" + l.key), l.ref !== void 0 && (A = l.ref);
21
22
  for (d in l)
22
- m.call(l, d) && !F.hasOwnProperty(d) && (g[d] = l[d]);
23
- if (_ && _.defaultProps)
24
- for (d in l = _.defaultProps, l)
23
+ h.call(l, d) && !F.hasOwnProperty(d) && (g[d] = l[d]);
24
+ if (b && b.defaultProps)
25
+ for (d in l = b.defaultProps, l)
25
26
  g[d] === void 0 && (g[d] = l[d]);
26
- return { $$typeof: P, type: _, key: h, ref: A, props: g, _owner: D.current };
27
+ return { $$typeof: P, type: b, key: R, ref: A, props: g, _owner: D.current };
27
28
  }
28
- return j.Fragment = V, j.jsx = S, j.jsxs = S, j;
29
+ return j.Fragment = M, j.jsx = S, j.jsxs = S, j;
29
30
  }
30
31
  var k = {};
31
32
  /**
@@ -40,14 +41,15 @@ var k = {};
40
41
  var Te;
41
42
  function ur() {
42
43
  return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
43
- var N = Oe, P = Symbol.for("react.element"), V = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), _ = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
44
+ "use strict";
45
+ var V = Oe, P = Symbol.for("react.element"), M = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
44
46
  function Pe(e) {
45
47
  if (e === null || typeof e != "object")
46
48
  return null;
47
49
  var r = X && e[X] || e[Ce];
48
50
  return typeof r == "function" ? r : null;
49
51
  }
50
- var T = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ var T = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
53
  function c(e) {
52
54
  {
53
55
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
@@ -68,7 +70,7 @@ function ur() {
68
70
  var we = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
69
71
  Z = Symbol.for("react.module.reference");
70
72
  function Fe(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === F || De || e === D || e === y || e === d || ke || e === A || we || xe || je || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === S || e.$$typeof === _ || e.$$typeof === l || // This needs to include all possible module reference object
73
+ return !!(typeof e == "string" || typeof e == "function" || e === h || e === F || De || e === D || e === y || e === d || ke || e === A || we || xe || je || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === g || e.$$typeof === S || e.$$typeof === b || e.$$typeof === l || // This needs to include all possible module reference object
72
74
  // types supported by any Flight configuration anywhere since
73
75
  // we don't know which Flight build this will end up being used
74
76
  // with.
@@ -84,7 +86,7 @@ function ur() {
84
86
  function Q(e) {
85
87
  return e.displayName || "Context";
86
88
  }
87
- function E(e) {
89
+ function m(e) {
88
90
  if (e == null)
89
91
  return null;
90
92
  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")
@@ -92,9 +94,9 @@ function ur() {
92
94
  if (typeof e == "string")
93
95
  return e;
94
96
  switch (e) {
95
- case m:
97
+ case h:
96
98
  return "Fragment";
97
- case V:
99
+ case M:
98
100
  return "Portal";
99
101
  case F:
100
102
  return "Profiler";
@@ -107,7 +109,7 @@ function ur() {
107
109
  }
108
110
  if (typeof e == "object")
109
111
  switch (e.$$typeof) {
110
- case _:
112
+ case b:
111
113
  var r = e;
112
114
  return Q(r) + ".Consumer";
113
115
  case S:
@@ -117,11 +119,11 @@ function ur() {
117
119
  return Ae(e, e.render, "ForwardRef");
118
120
  case g:
119
121
  var n = e.displayName || null;
120
- return n !== null ? n : E(e.type) || "Memo";
121
- case h: {
122
+ return n !== null ? n : m(e.type) || "Memo";
123
+ case R: {
122
124
  var i = e, u = i._payload, o = i._init;
123
125
  try {
124
- return E(o(u));
126
+ return m(o(u));
125
127
  } catch {
126
128
  return null;
127
129
  }
@@ -129,7 +131,7 @@ function ur() {
129
131
  }
130
132
  return null;
131
133
  }
132
- var R = Object.assign, w = 0, ee, re, te, ne, ae, oe, ie;
134
+ var _ = Object.assign, w = 0, ee, re, te, ne, ae, oe, ie;
133
135
  function ue() {
134
136
  }
135
137
  ue.__reactDisabledLog = !0;
@@ -156,7 +158,7 @@ function ur() {
156
158
  w++;
157
159
  }
158
160
  }
159
- function We() {
161
+ function $e() {
160
162
  {
161
163
  if (w--, w === 0) {
162
164
  var e = {
@@ -165,25 +167,25 @@ function ur() {
165
167
  writable: !0
166
168
  };
167
169
  Object.defineProperties(console, {
168
- log: R({}, e, {
170
+ log: _({}, e, {
169
171
  value: ee
170
172
  }),
171
- info: R({}, e, {
173
+ info: _({}, e, {
172
174
  value: re
173
175
  }),
174
- warn: R({}, e, {
176
+ warn: _({}, e, {
175
177
  value: te
176
178
  }),
177
- error: R({}, e, {
179
+ error: _({}, e, {
178
180
  value: ne
179
181
  }),
180
- group: R({}, e, {
182
+ group: _({}, e, {
181
183
  value: ae
182
184
  }),
183
- groupCollapsed: R({}, e, {
185
+ groupCollapsed: _({}, e, {
184
186
  value: oe
185
187
  }),
186
- groupEnd: R({}, e, {
188
+ groupEnd: _({}, e, {
187
189
  value: ie
188
190
  })
189
191
  });
@@ -191,39 +193,39 @@ function ur() {
191
193
  w < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
194
  }
193
195
  }
194
- var M = T.ReactCurrentDispatcher, U;
196
+ var U = T.ReactCurrentDispatcher, B;
195
197
  function I(e, r, t) {
196
198
  {
197
- if (U === void 0)
199
+ if (B === void 0)
198
200
  try {
199
201
  throw Error();
200
202
  } catch (i) {
201
203
  var n = i.stack.trim().match(/\n( *(at )?)/);
202
- U = n && n[1] || "";
204
+ B = n && n[1] || "";
203
205
  }
204
206
  return `
205
- ` + U + e;
207
+ ` + B + e;
206
208
  }
207
209
  }
208
- var B = !1, W;
210
+ var q = !1, $;
209
211
  {
210
- var Ye = typeof WeakMap == "function" ? WeakMap : Map;
211
- W = new Ye();
212
+ var We = typeof WeakMap == "function" ? WeakMap : Map;
213
+ $ = new We();
212
214
  }
213
215
  function se(e, r) {
214
- if (!e || B)
216
+ if (!e || q)
215
217
  return "";
216
218
  {
217
- var t = W.get(e);
219
+ var t = $.get(e);
218
220
  if (t !== void 0)
219
221
  return t;
220
222
  }
221
223
  var n;
222
- B = !0;
224
+ q = !0;
223
225
  var i = Error.prepareStackTrace;
224
226
  Error.prepareStackTrace = void 0;
225
227
  var u;
226
- u = M.current, M.current = null, Ie();
228
+ u = U.current, U.current = null, Ie();
227
229
  try {
228
230
  if (r) {
229
231
  var o = function() {
@@ -236,29 +238,29 @@ function ur() {
236
238
  }), typeof Reflect == "object" && Reflect.construct) {
237
239
  try {
238
240
  Reflect.construct(o, []);
239
- } catch (b) {
240
- n = b;
241
+ } catch (E) {
242
+ n = E;
241
243
  }
242
244
  Reflect.construct(e, [], o);
243
245
  } else {
244
246
  try {
245
247
  o.call();
246
- } catch (b) {
247
- n = b;
248
+ } catch (E) {
249
+ n = E;
248
250
  }
249
251
  e.call(o.prototype);
250
252
  }
251
253
  } else {
252
254
  try {
253
255
  throw Error();
254
- } catch (b) {
255
- n = b;
256
+ } catch (E) {
257
+ n = E;
256
258
  }
257
259
  e();
258
260
  }
259
- } catch (b) {
260
- if (b && n && typeof b.stack == "string") {
261
- for (var a = b.stack.split(`
261
+ } catch (E) {
262
+ if (E && n && typeof E.stack == "string") {
263
+ for (var a = E.stack.split(`
262
264
  `), v = n.stack.split(`
263
265
  `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
264
266
  f--;
@@ -269,26 +271,26 @@ function ur() {
269
271
  if (s--, f--, f < 0 || a[s] !== v[f]) {
270
272
  var p = `
271
273
  ` + a[s].replace(" at new ", " at ");
272
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, p), p;
274
+ return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && $.set(e, p), p;
273
275
  }
274
276
  while (s >= 1 && f >= 0);
275
277
  break;
276
278
  }
277
279
  }
278
280
  } finally {
279
- B = !1, M.current = u, We(), Error.prepareStackTrace = i;
281
+ q = !1, U.current = u, $e(), Error.prepareStackTrace = i;
280
282
  }
281
- var C = e ? e.displayName || e.name : "", me = C ? I(C) : "";
282
- return typeof e == "function" && W.set(e, me), me;
283
+ var C = e ? e.displayName || e.name : "", he = C ? I(C) : "";
284
+ return typeof e == "function" && $.set(e, he), he;
283
285
  }
284
- function $e(e, r, t) {
286
+ function Ye(e, r, t) {
285
287
  return se(e, !1);
286
288
  }
287
289
  function Le(e) {
288
290
  var r = e.prototype;
289
291
  return !!(r && r.isReactComponent);
290
292
  }
291
- function Y(e, r, t) {
293
+ function W(e, r, t) {
292
294
  if (e == null)
293
295
  return "";
294
296
  if (typeof e == "function")
@@ -304,30 +306,30 @@ function ur() {
304
306
  if (typeof e == "object")
305
307
  switch (e.$$typeof) {
306
308
  case l:
307
- return $e(e.render);
309
+ return Ye(e.render);
308
310
  case g:
309
- return Y(e.type, r, t);
310
- case h: {
311
+ return W(e.type, r, t);
312
+ case R: {
311
313
  var n = e, i = n._payload, u = n._init;
312
314
  try {
313
- return Y(u(i), r, t);
315
+ return W(u(i), r, t);
314
316
  } catch {
315
317
  }
316
318
  }
317
319
  }
318
320
  return "";
319
321
  }
320
- var $ = Object.prototype.hasOwnProperty, fe = {}, le = T.ReactDebugCurrentFrame;
322
+ var Y = Object.prototype.hasOwnProperty, fe = {}, le = T.ReactDebugCurrentFrame;
321
323
  function L(e) {
322
324
  if (e) {
323
- var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
325
+ var r = e._owner, t = W(e.type, e._source, r ? r.type : null);
324
326
  le.setExtraStackFrame(t);
325
327
  } else
326
328
  le.setExtraStackFrame(null);
327
329
  }
328
330
  function Ne(e, r, t, n, i) {
329
331
  {
330
- var u = Function.call.bind($);
332
+ var u = Function.call.bind(Y);
331
333
  for (var o in e)
332
334
  if (u(e, o)) {
333
335
  var a = void 0;
@@ -345,7 +347,7 @@ function ur() {
345
347
  }
346
348
  }
347
349
  var Ve = Array.isArray;
348
- function q(e) {
350
+ function J(e) {
349
351
  return Ve(e);
350
352
  }
351
353
  function Me(e) {
@@ -373,10 +375,10 @@ function ur() {
373
375
  ref: !0,
374
376
  __self: !0,
375
377
  __source: !0
376
- }, de, pe, J;
377
- J = {};
378
+ }, de, pe, G;
379
+ G = {};
378
380
  function qe(e) {
379
- if ($.call(e, "ref")) {
381
+ if (Y.call(e, "ref")) {
380
382
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
383
  if (r && r.isReactWarning)
382
384
  return !1;
@@ -384,7 +386,7 @@ function ur() {
384
386
  return e.ref !== void 0;
385
387
  }
386
388
  function Je(e) {
387
- if ($.call(e, "key")) {
389
+ if (Y.call(e, "key")) {
388
390
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
391
  if (r && r.isReactWarning)
390
392
  return !1;
@@ -393,8 +395,8 @@ function ur() {
393
395
  }
394
396
  function Ge(e, r) {
395
397
  if (typeof e.ref == "string" && x.current && r && x.current.stateNode !== r) {
396
- var t = E(x.current.type);
397
- J[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(x.current.type), e.ref), J[t] = !0);
398
+ var t = m(x.current.type);
399
+ G[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', m(x.current.type), e.ref), G[t] = !0);
398
400
  }
399
401
  }
400
402
  function ze(e, r) {
@@ -453,7 +455,7 @@ function ur() {
453
455
  var u, o = {}, a = null, v = null;
454
456
  t !== void 0 && (ve(t), a = "" + t), Je(r) && (ve(r.key), a = "" + r.key), qe(r) && (v = r.ref, Ge(r, i));
455
457
  for (u in r)
456
- $.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
458
+ Y.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
457
459
  if (e && e.defaultProps) {
458
460
  var s = e.defaultProps;
459
461
  for (u in s)
@@ -466,23 +468,23 @@ function ur() {
466
468
  return He(e, a, v, i, n, x.current, o);
467
469
  }
468
470
  }
469
- var G = T.ReactCurrentOwner, ge = T.ReactDebugCurrentFrame;
471
+ var z = T.ReactCurrentOwner, ge = T.ReactDebugCurrentFrame;
470
472
  function O(e) {
471
473
  if (e) {
472
- var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
474
+ var r = e._owner, t = W(e.type, e._source, r ? r.type : null);
473
475
  ge.setExtraStackFrame(t);
474
476
  } else
475
477
  ge.setExtraStackFrame(null);
476
478
  }
477
- var z;
478
- z = !1;
479
- function K(e) {
479
+ var K;
480
+ K = !1;
481
+ function H(e) {
480
482
  return typeof e == "object" && e !== null && e.$$typeof === P;
481
483
  }
482
- function Ee() {
484
+ function me() {
483
485
  {
484
- if (G.current) {
485
- var e = E(G.current.type);
486
+ if (z.current) {
487
+ var e = m(z.current.type);
486
488
  if (e)
487
489
  return `
488
490
 
@@ -502,10 +504,10 @@ Check your code at ` + r + ":" + t + ".";
502
504
  return "";
503
505
  }
504
506
  }
505
- var be = {};
507
+ var Ee = {};
506
508
  function Qe(e) {
507
509
  {
508
- var r = Ee();
510
+ var r = me();
509
511
  if (!r) {
510
512
  var t = typeof e == "string" ? e : e.displayName || e.name;
511
513
  t && (r = `
@@ -515,35 +517,35 @@ Check the top-level render call using <` + t + ">.");
515
517
  return r;
516
518
  }
517
519
  }
518
- function _e(e, r) {
520
+ function be(e, r) {
519
521
  {
520
522
  if (!e._store || e._store.validated || e.key != null)
521
523
  return;
522
524
  e._store.validated = !0;
523
525
  var t = Qe(r);
524
- if (be[t])
526
+ if (Ee[t])
525
527
  return;
526
- be[t] = !0;
528
+ Ee[t] = !0;
527
529
  var n = "";
528
- e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + E(e._owner.type) + "."), O(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), O(null);
530
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + m(e._owner.type) + "."), O(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), O(null);
529
531
  }
530
532
  }
531
- function he(e, r) {
533
+ function Re(e, r) {
532
534
  {
533
535
  if (typeof e != "object")
534
536
  return;
535
- if (q(e))
537
+ if (J(e))
536
538
  for (var t = 0; t < e.length; t++) {
537
539
  var n = e[t];
538
- K(n) && _e(n, r);
540
+ H(n) && be(n, r);
539
541
  }
540
- else if (K(e))
542
+ else if (H(e))
541
543
  e._store && (e._store.validated = !0);
542
544
  else if (e) {
543
545
  var i = Pe(e);
544
546
  if (typeof i == "function" && i !== e.entries)
545
547
  for (var u = i.call(e), o; !(o = u.next()).done; )
546
- K(o.value) && _e(o.value, r);
548
+ H(o.value) && be(o.value, r);
547
549
  }
548
550
  }
549
551
  }
@@ -562,11 +564,11 @@ Check the top-level render call using <` + t + ">.");
562
564
  else
563
565
  return;
564
566
  if (t) {
565
- var n = E(r);
567
+ var n = m(r);
566
568
  Ne(t, e.props, "prop", n, e);
567
- } else if (r.PropTypes !== void 0 && !z) {
568
- z = !0;
569
- var i = E(r);
569
+ } else if (r.PropTypes !== void 0 && !K) {
570
+ K = !0;
571
+ var i = m(r);
570
572
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
571
573
  }
572
574
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -584,16 +586,16 @@ Check the top-level render call using <` + t + ">.");
584
586
  e.ref !== null && (O(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
585
587
  }
586
588
  }
587
- function Re(e, r, t, n, i, u) {
589
+ function _e(e, r, t, n, i, u) {
588
590
  {
589
591
  var o = Fe(e);
590
592
  if (!o) {
591
593
  var a = "";
592
594
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
595
  var v = Ze(i);
594
- v ? a += v : a += Ee();
596
+ v ? a += v : a += me();
595
597
  var s;
596
- e === null ? s = "null" : q(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);
598
+ e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === P ? (s = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
597
599
  }
598
600
  var f = Xe(e, r, t, i, u);
599
601
  if (f == null)
@@ -602,30 +604,31 @@ Check the top-level render call using <` + t + ">.");
602
604
  var p = r.children;
603
605
  if (p !== void 0)
604
606
  if (n)
605
- if (q(p)) {
607
+ if (J(p)) {
606
608
  for (var C = 0; C < p.length; C++)
607
- he(p[C], e);
609
+ Re(p[C], e);
608
610
  Object.freeze && Object.freeze(p);
609
611
  } else
610
612
  c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
613
  else
612
- he(p, e);
614
+ Re(p, e);
613
615
  }
614
- return e === m ? rr(f) : er(f), f;
616
+ return e === h ? rr(f) : er(f), f;
615
617
  }
616
618
  }
617
619
  function tr(e, r, t) {
618
- return Re(e, r, t, !0);
620
+ return _e(e, r, t, !0);
619
621
  }
620
622
  function nr(e, r, t) {
621
- return Re(e, r, t, !1);
623
+ return _e(e, r, t, !1);
622
624
  }
623
625
  var ar = nr, or = tr;
624
- k.Fragment = m, k.jsx = ar, k.jsxs = or;
626
+ k.Fragment = h, k.jsx = ar, k.jsxs = or;
625
627
  }()), k;
626
628
  }
627
- process.env.NODE_ENV === "production" ? H.exports = ir() : H.exports = ur();
628
- var fr = H.exports;
629
+ var cr = N.exports;
630
+ process.env.NODE_ENV === "production" ? N.exports = ir() : N.exports = ur();
631
+ var vr = N.exports;
629
632
  export {
630
- fr as j
633
+ vr as j
631
634
  };
@@ -0,0 +1,27 @@
1
+ "use strict";const fr=require("./_commonjsHelpers-wDK0ZLPo.cjs"),Oe=require("react");var N={exports:{}},j={};/**
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 ye;function or(){if(ye)return j;ye=1;var V=Oe,P=Symbol.for("react.element"),M=Symbol.for("react.fragment"),_=Object.prototype.hasOwnProperty,D=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,F={key:!0,ref:!0,__self:!0,__source:!0};function S(R,l,y){var d,g={},b=null,A=null;y!==void 0&&(b=""+y),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(A=l.ref);for(d in l)_.call(l,d)&&!F.hasOwnProperty(d)&&(g[d]=l[d]);if(R&&R.defaultProps)for(d in l=R.defaultProps,l)g[d]===void 0&&(g[d]=l[d]);return{$$typeof:P,type:R,key:b,ref:A,props:g,_owner:D.current}}return j.Fragment=M,j.jsx=S,j.jsxs=S,j}var k={};/**
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 Te;function ur(){return Te||(Te=1,process.env.NODE_ENV!=="production"&&function(){"use strict";var V=Oe,P=Symbol.for("react.element"),M=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),R=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),X=Symbol.iterator,Ce="@@iterator";function Pe(e){if(e===null||typeof e!="object")return null;var r=X&&e[X]||e[Ce];return typeof r=="function"?r:null}var T=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];Se("error",e,t)}}function Se(e,r,t){{var n=T.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 we=!1,xe=!1,je=!1,ke=!1,De=!1,Z;Z=Symbol.for("react.module.reference");function Fe(e){return!!(typeof e=="string"||typeof e=="function"||e===_||e===F||De||e===D||e===y||e===d||ke||e===A||we||xe||je||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===S||e.$$typeof===R||e.$$typeof===l||e.$$typeof===Z||e.getModuleId!==void 0))}function Ae(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function Q(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case M:return"Portal";case F:return"Profiler";case D:return"StrictMode";case y:return"Suspense";case d:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return Q(r)+".Consumer";case S:var t=e;return Q(t._context)+".Provider";case l:return Ae(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case b:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var h=Object.assign,w=0,ee,re,te,ne,ae,ie,oe;function ue(){}ue.__reactDisabledLog=!0;function Ie(){{if(w===0){ee=console.log,re=console.info,te=console.warn,ne=console.error,ae=console.group,ie=console.groupCollapsed,oe=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})}w++}}function $e(){{if(w--,w===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:ie}),groupEnd:h({},e,{value:oe})})}w<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=T.ReactCurrentDispatcher,q;function I(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
18
+ `+q+e}}var B=!1,$;{var We=typeof WeakMap=="function"?WeakMap:Map;$=new We}function se(e,r){if(!e||B)return"";{var t=$.get(e);if(t!==void 0)return t}var n;B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=U.current,U.current=null,Ie();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(m){n=m}Reflect.construct(e,[],i)}else{try{i.call()}catch(m){n=m}e.call(i.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(m){if(m&&n&&typeof m.stack=="string"){for(var a=m.stack.split(`
19
+ `),v=n.stack.split(`
20
+ `),s=a.length-1,f=v.length-1;s>=1&&f>=0&&a[s]!==v[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==v[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==v[f]){var p=`
21
+ `+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&$.set(e,p),p}while(s>=1&&f>=0);break}}}finally{B=!1,U.current=u,$e(),Error.prepareStackTrace=o}var C=e?e.displayName||e.name:"",_e=C?I(C):"";return typeof e=="function"&&$.set(e,_e),_e}function Ye(e,r,t){return se(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function W(e,r,t){if(e==null)return"";if(typeof e=="function")return se(e,Le(e));if(typeof e=="string")return I(e);switch(e){case y:return I("Suspense");case d:return I("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ye(e.render);case g:return W(e.type,r,t);case b:{var n=e,o=n._payload,u=n._init;try{return W(u(o),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,fe={},le=T.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);le.setExtraStackFrame(t)}else le.setExtraStackFrame(null)}function Ne(e,r,t,n,o){{var u=Function.call.bind(Y);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var v=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 v.name="Invariant Violation",v}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)&&(L(o),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,i,typeof a),L(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,L(o),c("Failed %s type: %s",t,a.message),L(null))}}}var Ve=Array.isArray;function J(e){return Ve(e)}function Me(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ue(e){try{return ce(e),!1}catch{return!0}}function ce(e){return""+e}function ve(e){if(Ue(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Me(e)),ce(e)}var x=T.ReactCurrentOwner,qe={key:!0,ref:!0,__self:!0,__source:!0},de,pe,G;G={};function Be(e){if(Y.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Je(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){if(typeof e.ref=="string"&&x.current&&r&&x.current.stateNode!==r){var t=E(x.current.type);G[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',E(x.current.type),e.ref),G[t]=!0)}}function ze(e,r){{var t=function(){de||(de=!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 He(e,r){{var t=function(){pe||(pe=!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 Ke=function(e,r,t,n,o,u,i){var a={$$typeof:P,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Xe(e,r,t,n,o){{var u,i={},a=null,v=null;t!==void 0&&(ve(t),a=""+t),Je(r)&&(ve(r.key),a=""+r.key),Be(r)&&(v=r.ref,Ge(r,o));for(u in r)Y.call(r,u)&&!qe.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||v){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ze(i,f),v&&He(i,f)}return Ke(e,a,v,o,n,x.current,i)}}var z=T.ReactCurrentOwner,ge=T.ReactDebugCurrentFrame;function O(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}var H;H=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function Ee(){{if(z.current){var e=E(z.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function Ze(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
+
25
+ Check your code at `+r+":"+t+"."}return""}}var me={};function Qe(e){{var r=Ee();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
+
27
+ Check the top-level render call using <`+t+">.")}return r}}function Re(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Qe(r);if(me[t])return;me[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),O(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),O(null)}}function be(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&Re(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var o=Pe(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)K(i.value)&&Re(i.value,r)}}}function er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=E(r);Ne(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var o=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"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 rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){O(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),O(null);break}}e.ref!==null&&(O(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),O(null))}}function he(e,r,t,n,o,u){{var i=Fe(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 v=Ze(o);v?a+=v:a+=Ee();var s;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)}var f=Xe(e,r,t,o,u);if(f==null)return f;if(i){var p=r.children;if(p!==void 0)if(n)if(J(p)){for(var C=0;C<p.length;C++)be(p[C],e);Object.freeze&&Object.freeze(p)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else be(p,e)}return e===_?rr(f):er(f),f}}function tr(e,r,t){return he(e,r,t,!0)}function nr(e,r,t){return he(e,r,t,!1)}var ar=nr,ir=tr;k.Fragment=_,k.jsx=ar,k.jsxs=ir}()),k}var lr=N.exports;process.env.NODE_ENV==="production"?N.exports=or():N.exports=ur();var sr=N.exports;exports.jsxRuntimeExports=sr;
package/dist/lib.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./utils-qK_SjzzV.cjs"),T=require("./Functions-Hvon6AMZ.cjs"),S=require("./html-to-json-uSnxl72F.cjs"),t=require("lodash-es"),k=require("./Class-eieto7e-.cjs"),p=require("./defaultTheme-mrkeGFGI.cjs"),F=require("@bobthered/tailwindcss-palette-generator"),C=require("@mhsdesign/jit-browser-tailwindcss"),$=require("@tailwindcss/forms"),q=require("@tailwindcss/typography"),B=require("@tailwindcss/aspect-ratio"),O=require("./STRINGS-gPz7CUOk.cjs");require("clsx");require("tailwind-merge");require("himalaya");require("./MODIFIERS-o1p3VnpS.cjs");const y={25:"1/4","33.33":"1/3",50:"1/2","66.67":"2/3",75:"3/4",20:"1/5",40:"2/5",60:"3/5",80:"4/5","16.67":"1/6","83.33":"5/6","8.33":"1/12","41.67":"5/12","58.33":"7/12","91.67":"11/12",100:"full"},P={0:"0",1:"px",2:"0.5",4:"1",6:"1.5",8:"2",10:"2.5",12:"3",14:"3.5",16:"4",20:"5",24:"6",28:"7",32:"8",36:"9",40:"10",44:"11",48:"12",56:"14",64:"16",80:"20",96:"24",112:"28",128:"32",144:"36",160:"40",176:"44",192:"48",208:"52",224:"56",240:"60",256:"64",288:"72",320:"80",384:"96"},I=16,V=4;function _(s){return s.indexOf("rem")!==-1&&(s=`${parseFloat(s.replace("rem",""))*I}px`),s}const E=s=>{const c=s.match(/\[.*\]/);if(c===null)return s;const n=k.constructClassObject(s);if(n===null)return s;const{property:i}=n;let e=t.first(c).replace(/\]/i,"").replace(/\[/i,"");const r=s.replace(/\[.*\]/i,"");e=_(e);let a=s;switch(i){case"top":case"right":case"left":case"bottom":case"inset":case"insetX":case"insetY":case"gap":case"gapX":case"gapY":case"padding":case"paddingX":case"paddingY":case"paddingTop":case"paddingRight":case"paddingBottom":case"paddingLeft":case"margin":case"marginX":case"marginY":case"marginTop":case"marginRight":case"marginBottom":case"marginLeft":case"flexBasis":case"width":case"height":case"maxHeight":case"textIndent":case"spaceX":case"spaceY":if(e.indexOf("px")!==-1){const o=t.map(t.keys(P),l=>`${l}px`);if(t.includes(o,e)){const l=t.parseInt(e.replace("px",""),10);l===1?a=`${r}px`:a=r+l/V}}if(e.indexOf("%")!==-1){const o=t.map(t.keys(y),l=>`${l}%`);if(t.includes(o,e)){const l=parseFloat(e.replace("%",""));a=r+t.get(y,l)}}e.indexOf("vw")!==-1&&parseFloat(e.replace("vw",""))===100&&(a=`${r}screen`),e.indexOf("vh")!==-1&&parseFloat(e.replace("vh",""))===100&&(a=`${r}screen`);break;case"minWidth":e.indexOf("%")!==-1&&parseFloat(e.replace("%",""))===100&&(a=`${r}full`),e==="0px"&&(a="min-w-0");break;case"maxWidth":e==="0px"&&(a="max-w-0");const d={"320px":"xs","384px":"sm","448px":"md","512px":"lg","576px":"xl","672px":"2xl","768px":"3xl","896px":"4xl","1024px":"5xl","1152px":"6xl","1280px":"7xl","100%":"full","65ch":"prose","640px":"screen-sm","1536px":"screen-2xl"};t.includes(t.keys(d),e)&&(a=`max-w-${d[e]}`);break;case"minHeight":e.indexOf("%")!==-1&&parseFloat(e.replace("%",""))===100&&(a=`${r}full`),e==="0px"&&(a="min-h-0"),e==="100vh"&&(a="min-h-screen");break;case"fontSize":const u={"12px":"xs","14px":"sm","16px":"base","18px":"lg","20px":"xl","24px":"2xl","30px":"3xl","36px":"4xl","48px":"5xl","60px":"6xl","72px":"7xl","96px":"8xl","128px":"9xl"};t.includes(t.keys(u),e)&&(a=r+u[e]);break;case"lineHeight":const x={"12px":"3","16px":"4","20px":"5","24px":"6","28px":"7","32px":"8","36px":"9","40px":"10",1:"none","1.25":"tight","1.375":"snug","1.5":"normal","1.625":"relaxed",2:"loose"};t.includes(t.keys(x),e)&&(a=r+x[e]);break;case"zIndex":a=["0","10","20","30","40","50"].indexOf(e)!==-1?`${r}${e}`:s;break;case"opacity":const h=["0","5","10","20","25","30","40","50","60","70","75","80","90","95","100"],f=parseFloat(e)*100;t.includes(h,f.toString())&&(a=`opacity-${f}`);break}return a};async function w(s,c,n=[],i="c-",e=!1){const r=t.get(s,"primaryColor","#000"),a=t.get(s,"secondaryColor","#ccc"),d=t.get(s,"headingFont","Inter"),u=t.get(s,"bodyFont","Inter"),x=t.get(s,"roundedCorners","0"),g=F.tailwindcssPaletteGenerator({colors:[r,a],names:["primary","secondary"]});return t.set(g,"primary.DEFAULT",r),t.set(g,"secondary.DEFAULT",a),`${await C.createTailwindcss({tailwindConfig:{darkMode:"class",safelist:n,theme:{fontFamily:{heading:[d,...p.defaultTheme.fontFamily.sans],body:[u,...p.defaultTheme.fontFamily.sans]},extend:{borderRadius:{global:`${x||"0"}px`},colors:g}},plugins:[$,q,B],corePlugins:{preflight:e},...i?{prefix:`${i}`}:{}}}).generateStylesFromContent(` ${e?"@tailwind base;":""}
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./Class-PoYusiA5.cjs"),w=require("./Functions-N3yhPYKY.cjs"),b=require("./html-to-json-efmv1pCj.cjs"),t=require("lodash-es"),p=require("./defaultTheme-7VqqhOcp.cjs"),k=require("@bobthered/tailwindcss-palette-generator"),_=require("@mhsdesign/jit-browser-tailwindcss"),C=require("@tailwindcss/forms"),F=require("@tailwindcss/typography"),$=require("@tailwindcss/aspect-ratio"),O=require("./STRINGS-gPz7CUOk.cjs");require("clsx");require("tailwind-merge");require("./MODIFIERS-0g14w5RS.cjs");require("himalaya");require("./_commonjsHelpers-wDK0ZLPo.cjs");const h={25:"1/4","33.33":"1/3",50:"1/2","66.67":"2/3",75:"3/4",20:"1/5",40:"2/5",60:"3/5",80:"4/5","16.67":"1/6","83.33":"5/6","8.33":"1/12","41.67":"5/12","58.33":"7/12","91.67":"11/12",100:"full"},P={0:"0",1:"px",2:"0.5",4:"1",6:"1.5",8:"2",10:"2.5",12:"3",14:"3.5",16:"4",20:"5",24:"6",28:"7",32:"8",36:"9",40:"10",44:"11",48:"12",56:"14",64:"16",80:"20",96:"24",112:"28",128:"32",144:"36",160:"40",176:"44",192:"48",208:"52",224:"56",240:"60",256:"64",288:"72",320:"80",384:"96"};const I=16,B=4;function q(s){return s.indexOf("rem")!==-1&&(s=`${parseFloat(s.replace("rem",""))*I}px`),s}const E=s=>{const c=s.match(/\[.*\]/);if(c===null)return s;const n=y.constructClassObject(s);if(n===null)return s;const{property:r}=n;let e=t.first(c).replace(/\]/i,"").replace(/\[/i,"");const i=s.replace(/\[.*\]/i,"");e=q(e);let a=s;switch(r){case"top":case"right":case"left":case"bottom":case"inset":case"insetX":case"insetY":case"gap":case"gapX":case"gapY":case"padding":case"paddingX":case"paddingY":case"paddingTop":case"paddingRight":case"paddingBottom":case"paddingLeft":case"margin":case"marginX":case"marginY":case"marginTop":case"marginRight":case"marginBottom":case"marginLeft":case"flexBasis":case"width":case"height":case"maxHeight":case"textIndent":case"spaceX":case"spaceY":if(e.indexOf("px")!==-1){const o=t.map(t.keys(P),l=>`${l}px`);if(t.includes(o,e)){const l=t.parseInt(e.replace("px",""),10);l===1?a=`${i}px`:a=i+l/B}}if(e.indexOf("%")!==-1){const o=t.map(t.keys(h),l=>`${l}%`);if(t.includes(o,e)){const l=parseFloat(e.replace("%",""));a=i+t.get(h,l)}}e.indexOf("vw")!==-1&&parseFloat(e.replace("vw",""))===100&&(a=`${i}screen`),e.indexOf("vh")!==-1&&parseFloat(e.replace("vh",""))===100&&(a=`${i}screen`);break;case"minWidth":e.indexOf("%")!==-1&&parseFloat(e.replace("%",""))===100&&(a=`${i}full`),e==="0px"&&(a="min-w-0");break;case"maxWidth":e==="0px"&&(a="max-w-0");const x={"320px":"xs","384px":"sm","448px":"md","512px":"lg","576px":"xl","672px":"2xl","768px":"3xl","896px":"4xl","1024px":"5xl","1152px":"6xl","1280px":"7xl","100%":"full","65ch":"prose","640px":"screen-sm","1536px":"screen-2xl"};t.includes(t.keys(x),e)&&(a=`max-w-${x[e]}`);break;case"minHeight":e.indexOf("%")!==-1&&parseFloat(e.replace("%",""))===100&&(a=`${i}full`),e==="0px"&&(a="min-h-0"),e==="100vh"&&(a="min-h-screen");break;case"fontSize":const u={"12px":"xs","14px":"sm","16px":"base","18px":"lg","20px":"xl","24px":"2xl","30px":"3xl","36px":"4xl","48px":"5xl","60px":"6xl","72px":"7xl","96px":"8xl","128px":"9xl"};t.includes(t.keys(u),e)&&(a=i+u[e]);break;case"lineHeight":const d={"12px":"3","16px":"4","20px":"5","24px":"6","28px":"7","32px":"8","36px":"9","40px":"10",1:"none","1.25":"tight","1.375":"snug","1.5":"normal","1.625":"relaxed",2:"loose"};t.includes(t.keys(d),e)&&(a=i+d[e]);break;case"zIndex":a=["0","10","20","30","40","50"].indexOf(e)!==-1?`${i}${e}`:s;break;case"opacity":const T=["0","5","10","20","25","30","40","50","60","70","75","80","90","95","100"],g=parseFloat(e)*100;t.includes(T,g.toString())&&(a=`opacity-${g}`);break;default:break}return a};async function S(s,c,n=[],r="c-",e=!1){const i=t.get(s,"primaryColor","#000"),a=t.get(s,"secondaryColor","#ccc"),x=t.get(s,"headingFont","Inter"),u=t.get(s,"bodyFont","Inter"),d=t.get(s,"roundedCorners","0"),m=k.tailwindcssPaletteGenerator({colors:[i,a],names:["primary","secondary"]});return t.set(m,"primary.DEFAULT",i),t.set(m,"secondary.DEFAULT",a),`${await _.createTailwindcss({tailwindConfig:{darkMode:"class",safelist:n,theme:{fontFamily:{heading:[x,...p.defaultTheme.fontFamily.sans],body:[u,...p.defaultTheme.fontFamily.sans]},extend:{borderRadius:{global:`${d||"0"}px`},colors:m}},plugins:[C,F,$],corePlugins:{preflight:e},...r?{prefix:`${r}`}:{}}}).generateStylesFromContent(` ${e?"@tailwind base;":""}
2
2
  @tailwind components;
3
3
  @tailwind utilities;`,c)}
4
- .${i}bg-clip-text{background-clip: text;-webkit-background-clip: text;} h1,h2,h3,h4,h5,h6{font-family: "${d}",${p.defaultTheme.fontFamily.sans.join(", ")};}`}const v=(s,c)=>s.map(n=>{const i={};return Object.keys(n).forEach(e=>{t.startsWith(n[e],O.STYLES_KEY)&&(i[e]=p.addPrefixToClasses(n[e],c))}),i}),m=(s,c,n="c-",i=!1)=>{const e=p.getBrandingClasses(c,n);return w(c,[t.replace(JSON.stringify(v(s,n)),/#styles:/g,"")],e.split(" ").concat(`${n}inline-block`,`${n}w-full`,`${n}h-full`),n,i)},L=async(s,c="c-",n=!1)=>{const i=s.page.blocks;return await m(i,s.project.brandingOptions,c,n)},A=async(s,c,n="c-",i=!1)=>await m(s,c,n,i);exports.cn=b.cn;exports.generateUUID=T.generateUUID;exports.getBreakpointValue=T.getBreakpointValue;exports.getBlocksFromHTML=S.getBlocksFromHTML;exports.addPrefixToClasses=p.addPrefixToClasses;exports.getBrandingClasses=p.getBrandingClasses;exports.convertArbitraryToTailwindClass=E;exports.getBlocksTailwindCSS=m;exports.getStylesForBlocks=A;exports.getStylesForPageData=L;exports.getTailwindCSS=w;
4
+ .${r}bg-clip-text{background-clip: text;-webkit-background-clip: text;} h1,h2,h3,h4,h5,h6{font-family: "${x}",${p.defaultTheme.fontFamily.sans.join(", ")};}`}const V=(s,c)=>s.map(n=>{const r={};return Object.keys(n).forEach(e=>{t.startsWith(n[e],O.STYLES_KEY)&&(r[e]=p.addPrefixToClasses(n[e],c))}),r}),f=(s,c,n="c-",r=!1)=>{const e=p.getBrandingClasses(c,n);return S(c,[t.replace(JSON.stringify(V(s,n)),/#styles:/g,"")],e.split(" ").concat(`${n}inline-block`,`${n}w-full`,`${n}h-full`),n,r)},A=async(s,c="c-",n=!1)=>{const r=s.page.blocks;return await f(r,s.project.brandingOptions,c,n)},L=async(s,c,n="c-",r=!1)=>await f(s,c,n,r);exports.cn=y.cn;exports.generateUUID=w.generateUUID;exports.getBreakpointValue=w.getBreakpointValue;exports.getBlocksFromHTML=b.getBlocksFromHTML;exports.addPrefixToClasses=p.addPrefixToClasses;exports.getBrandingClasses=p.getBrandingClasses;exports.convertArbitraryToTailwindClass=E;exports.getBlocksTailwindCSS=f;exports.getStylesForBlocks=L;exports.getStylesForPageData=A;exports.getTailwindCSS=S;