@chaibuilder/sdk 1.2.23 → 1.2.25

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 (186) hide show
  1. package/README.md +6 -5
  2. package/dist/AddBlocks-Ol3iIVKa.js +207 -0
  3. package/dist/AddBlocks-a1c-7Ewz.cjs +1 -0
  4. package/dist/BrandingOptions-6rnt0UaA.cjs +1 -0
  5. package/dist/{BrandingOptions-eUSoIgjj.js → BrandingOptions-iTyWpwTs.js} +40 -54
  6. package/dist/CanvasArea-R4ogF9AT.cjs +55 -0
  7. package/dist/{CanvasArea-ulUy_rmB.js → CanvasArea-dZjng782.js} +340 -324
  8. package/dist/ChaiBuilderEditor-m30yoOgJ.cjs +163 -0
  9. package/dist/ChaiBuilderEditor-vP4at00I.js +27974 -0
  10. package/dist/{Class-lGzsNBOK.js → Class-ahc3NIbq.js} +26 -29
  11. package/dist/Class-eieto7e-.cjs +1 -0
  12. package/dist/Controls-3Cc1XYXg.js +105 -0
  13. package/dist/Controls-ky25Ebo3.cjs +1 -0
  14. package/dist/CurrentPage-3gQTH0Zt.cjs +1 -0
  15. package/dist/{CurrentPage-SFhXzQMy.js → CurrentPage-Kmfp-kFk.js} +41 -55
  16. package/dist/Functions-Hvon6AMZ.cjs +1 -0
  17. package/dist/Functions-NzT2Six_.js +15 -0
  18. package/dist/ImagesPanel-J1RlG7xG.cjs +1 -0
  19. package/dist/ImagesPanel-Wb0GF_NA.js +29 -0
  20. package/dist/ListTree-CZ-mtjZ9.cjs +1 -0
  21. package/dist/{ListTree-ZeVWczTF.js → ListTree-N3jeD790.js} +92 -102
  22. package/dist/{MODIFIERS-dytZ-osO.js → MODIFIERS-CNqNUapY.js} +10 -4
  23. package/dist/MODIFIERS-o1p3VnpS.cjs +1 -0
  24. package/dist/PagesPanel-Gi0z6gaf.cjs +1 -0
  25. package/dist/PagesPanel-u1IB-nRr.js +48 -0
  26. package/dist/ProjectPanel-EydGZmMW.js +71 -0
  27. package/dist/ProjectPanel-kiiljG4H.cjs +1 -0
  28. package/dist/{STRINGS--j49GZJP.js → STRINGS-b432aBJJ.js} +2 -2
  29. package/dist/Settings-8ilCSH8b.cjs +1 -0
  30. package/dist/{Settings-FZWm8Fc3.js → Settings-jCcd-VE6.js} +407 -401
  31. package/dist/SidePanels-T36C6Lhc.cjs +1 -0
  32. package/dist/{SidePanels-wrkkpcGE.js → SidePanels-pHMYprpW.js} +107 -117
  33. package/dist/Topbar-CvWQuspR.cjs +1 -0
  34. package/dist/Topbar-pbIDUE_B.js +122 -0
  35. package/dist/UnsplashImages-KBZPd9dv.cjs +1 -0
  36. package/dist/{UnsplashImages-eZedbK2J.js → UnsplashImages-L7x_3RQf.js} +50 -63
  37. package/dist/UploadImages-GkkJVAgG.cjs +1 -0
  38. package/dist/{UploadImages-71QziLbr.js → UploadImages-zdEJRLD8.js} +37 -60
  39. package/dist/accordion-oPUeqPCZ.js +42 -0
  40. package/dist/accordion-ynvFtV_p.cjs +1 -0
  41. package/dist/add-page-modal-9SGv2hgc.cjs +1 -0
  42. package/dist/add-page-modal-JCDXZIPW.js +95 -0
  43. package/dist/alert-dialog-P9xMMB6C.cjs +1 -0
  44. package/dist/alert-dialog-rypfO5ly.js +64 -0
  45. package/dist/badge-E-S7CqUt.cjs +1 -0
  46. package/dist/badge-tEwO7C51.js +23 -0
  47. package/dist/block-helpers-OKHmRRol.cjs +1 -0
  48. package/dist/block-helpers-oSFpSsGz.js +23 -0
  49. package/dist/command-BxR6jaCI.cjs +1 -0
  50. package/dist/command-Pn3HKDuV.js +97 -0
  51. package/dist/confirm-alert-uNm0lZ0y.cjs +1 -0
  52. package/dist/confirm-alert-wR5_VJ1l.js +36 -0
  53. package/dist/context-menu-8dC9uGXj.js +122 -0
  54. package/dist/context-menu-IgLbIuth.cjs +1 -0
  55. package/dist/{controls-OfJWSEqC.js → controls-IS5qnRce.js} +20 -85
  56. package/dist/controls-L7DPvB0m.cjs +1 -0
  57. package/dist/core.cjs +1 -1
  58. package/dist/core.d.ts +7 -4
  59. package/dist/core.js +150 -75
  60. package/dist/{defaultTheme-D8B4-wHO.js → defaultTheme-4kA60XdB.js} +6 -8
  61. package/dist/defaultTheme-mrkeGFGI.cjs +1 -0
  62. package/dist/delete-page-modal-7KmP1elv.js +67 -0
  63. package/dist/delete-page-modal-SgfwvfNu.cjs +1 -0
  64. package/dist/dropdown-menu-El86_9Uo.js +124 -0
  65. package/dist/dropdown-menu-SiHzqWwZ.cjs +1 -0
  66. package/dist/email-blocks.cjs +1 -1
  67. package/dist/email-blocks.js +3 -292
  68. package/dist/email.cjs +1 -1
  69. package/dist/email.d.ts +5 -2
  70. package/dist/email.js +18 -37
  71. package/dist/{form-zKUMQFuB.js → form-0_RLz2TB.js} +12 -12
  72. package/dist/form-W58AVUdf.cjs +1 -0
  73. package/dist/hover-card-KUwpDkW8.cjs +1 -0
  74. package/dist/hover-card-q138xxXR.js +45 -0
  75. package/dist/{html-to-json-ngX9ef2u.js → html-to-json-2xtb7520.js} +41 -41
  76. package/dist/{html-to-json-efmv1pCj.cjs → html-to-json-uSnxl72F.cjs} +1 -1
  77. package/dist/iconBase-gbUAAO2L.cjs +1 -0
  78. package/dist/iconBase-h4DuR_XT.js +63 -0
  79. package/dist/index-9MmykVSc.cjs +1 -0
  80. package/dist/index-hElOGcFr.js +2200 -0
  81. package/dist/index-lDTsQp7h.js +188 -0
  82. package/dist/index-rq5Y9ZDy.cjs +1 -0
  83. package/dist/jsx-runtime-JYMCiFoE.cjs +27 -0
  84. package/dist/{jsx-runtime-WbnYoNE9.js → jsx-runtime-Sp0orL4X.js} +106 -109
  85. package/dist/label-KaP7MRrs.js +10 -0
  86. package/dist/label-tFm8HZdb.cjs +1 -0
  87. package/dist/lib.cjs +2 -2
  88. package/dist/lib.js +62 -66
  89. package/dist/link-WbcKdQ9k.cjs +1 -0
  90. package/dist/link-xuhP-4dN.js +196 -0
  91. package/dist/page-viewer-Hx5hxHKm.cjs +1 -0
  92. package/dist/{page-viewer-7AwzWRtB.js → page-viewer-NnOwmAmu.js} +44 -58
  93. package/dist/popover-a84pbVhQ.js +23 -0
  94. package/dist/popover-fKjgcRUx.cjs +1 -0
  95. package/dist/{project-general-setting-pYPoqvqd.js → project-general-setting-9ju3TDju.js} +35 -43
  96. package/dist/project-general-setting-FxkwjvJz.cjs +1 -0
  97. package/dist/{project-seo-setting-zXKOcjep.js → project-seo-setting-36CdUszM.js} +23 -40
  98. package/dist/project-seo-setting-RU7qiXxb.cjs +1 -0
  99. package/dist/render.cjs +1 -1
  100. package/dist/render.js +13 -14
  101. package/dist/scroll-area-FiHvy-TZ.cjs +1 -0
  102. package/dist/scroll-area-ewXbxc3n.js +30 -0
  103. package/dist/select-7bjg-rr9.cjs +1 -0
  104. package/dist/select-POGdEDHT.js +75 -0
  105. package/dist/separator-3Civ-6hb.cjs +1 -0
  106. package/dist/separator-SctTn0Qi.js +18 -0
  107. package/dist/single-page-detail-beY0MT1b.cjs +1 -0
  108. package/dist/{single-page-detail-q2TDxN-P.js → single-page-detail-hD1jKZ8k.js} +65 -73
  109. package/dist/skeleton-STeL9VrJ.cjs +1 -0
  110. package/dist/skeleton-lu8e7q2y.js +239 -0
  111. package/dist/studio.cjs +1 -1
  112. package/dist/studio.d.ts +5 -2
  113. package/dist/studio.js +24 -40
  114. package/dist/tabs-_4WbA1cc.cjs +1 -0
  115. package/dist/tabs-yQ3oGziM.js +106 -0
  116. package/dist/textarea-1kZEh7ki.cjs +1 -0
  117. package/dist/textarea-b2QvVhrK.js +73 -0
  118. package/dist/ui.cjs +1 -1
  119. package/dist/ui.js +364 -159
  120. package/dist/useAddBlock-8pxOEYIl.cjs +1 -0
  121. package/dist/useAddBlock-FEKFJNwQ.js +69 -0
  122. package/dist/useChaiExternalData-fkFgoS80.js +6 -0
  123. package/dist/useChaiExternalData-rwoAZ6uU.cjs +1 -0
  124. package/dist/useDarkMode-7i57segK.cjs +1 -0
  125. package/dist/useDarkMode-8VHJlYyE.js +23 -0
  126. package/dist/useSelectedBreakpoints-6NK5qd7T.js +10 -0
  127. package/dist/useSelectedBreakpoints-7ONXb-vN.cjs +1 -0
  128. package/dist/useStylingState-Iuj84yvc.js +186 -0
  129. package/dist/useStylingState-OIvJMV6p.cjs +1 -0
  130. package/dist/useUiLibraries-nCdauJ4N.cjs +1 -0
  131. package/dist/useUiLibraries-psyWFbNc.js +12 -0
  132. package/dist/useUpdateBlocksProps-Unn8lUyj.cjs +1 -0
  133. package/dist/useUpdateBlocksProps-vWcDp-P9.js +23 -0
  134. package/dist/utils-dze1SGvB.js +6 -0
  135. package/dist/utils-qK_SjzzV.cjs +1 -0
  136. package/dist/web-blocks.cjs +1 -6
  137. package/dist/web-blocks.js +3 -1153
  138. package/package.json +1 -1
  139. package/dist/AddBlocks-b0Vk6eqO.js +0 -206
  140. package/dist/AddBlocks-bgu08YJC.cjs +0 -1
  141. package/dist/BrandingOptions-AljW1cXz.cjs +0 -1
  142. package/dist/CanvasArea-dp1tzDkK.cjs +0 -55
  143. package/dist/Class-PoYusiA5.cjs +0 -1
  144. package/dist/CurrentPage-rWHgPomd.cjs +0 -1
  145. package/dist/Functions-7jnEwJyw.js +0 -15
  146. package/dist/Functions-N3yhPYKY.cjs +0 -1
  147. package/dist/ListTree-5n8U4-IF.cjs +0 -1
  148. package/dist/MODIFIERS-0g14w5RS.cjs +0 -1
  149. package/dist/PagesPanel-IkZjy0Gn.js +0 -64
  150. package/dist/PagesPanel-sBN51kKZ.cjs +0 -1
  151. package/dist/ProjectPanel-e98TJLfI.js +0 -85
  152. package/dist/ProjectPanel-lbQH31jc.cjs +0 -1
  153. package/dist/Settings-qytQoyTv.cjs +0 -1
  154. package/dist/SidePanels-YRIM1IPq.cjs +0 -1
  155. package/dist/Topbar-LUyDFBkK.js +0 -129
  156. package/dist/Topbar-NOSnWo7V.cjs +0 -1
  157. package/dist/UnsplashImages-f-ObKOC-.cjs +0 -1
  158. package/dist/UploadImages-oOnccvT9.cjs +0 -1
  159. package/dist/_commonjsHelpers-UyOWmZb0.js +0 -8
  160. package/dist/_commonjsHelpers-wDK0ZLPo.cjs +0 -1
  161. package/dist/add-page-modal-g3fd00P5.cjs +0 -1
  162. package/dist/add-page-modal-yQ6qL6Ui.js +0 -104
  163. package/dist/confirm-alert-3flAvzWH.js +0 -60
  164. package/dist/confirm-alert-LQsGNYz8.cjs +0 -1
  165. package/dist/controls-KK2oLIa8.cjs +0 -1
  166. package/dist/defaultTheme-7VqqhOcp.cjs +0 -1
  167. package/dist/delete-page-modal-iMmkPec0.js +0 -83
  168. package/dist/delete-page-modal-tzZmqGzE.cjs +0 -1
  169. package/dist/empty-slot-ZBlsQi6m.js +0 -15
  170. package/dist/empty-slot-nzYOgZuS.cjs +0 -1
  171. package/dist/form-LBHtTduy.cjs +0 -1
  172. package/dist/index--dUsFH1I.cjs +0 -1
  173. package/dist/index-HD1UKc4P.js +0 -3079
  174. package/dist/index-YpnaudSM.js +0 -63
  175. package/dist/index-bOWwCMRF.cjs +0 -206
  176. package/dist/index-e0c8PmRQ.js +0 -205
  177. package/dist/index-ecnGWzh9.cjs +0 -1
  178. package/dist/index-fvMaxES9.cjs +0 -1
  179. package/dist/index-gi1LIOCw.cjs +0 -1
  180. package/dist/index-m4WGov7e.js +0 -2202
  181. package/dist/index-uLtBNl55.js +0 -39503
  182. package/dist/jsx-runtime-Z_BpKhVy.cjs +0 -27
  183. package/dist/page-viewer-5gTszT-n.cjs +0 -1
  184. package/dist/project-general-setting-52CTYL_w.cjs +0 -1
  185. package/dist/project-seo-setting-jTweI1DX.cjs +0 -1
  186. package/dist/single-page-detail-jy2SPcp1.cjs +0 -1
@@ -0,0 +1,188 @@
1
+ import { createElement as a, useRef as x, useEffect as M, useState as O } from "react";
2
+ const T = (e) => typeof e == "boolean" || e instanceof Boolean, C = (e) => typeof e == "number" || e instanceof Number, j = (e) => typeof e == "bigint" || e instanceof BigInt, N = (e) => !!e && e instanceof Date, B = (e) => typeof e == "string" || e instanceof String, D = (e) => Array.isArray(e), G = (e) => e instanceof Object && e !== null;
3
+ function J(e) {
4
+ const [n, l] = O(e());
5
+ return [n, () => l((u) => !u), l];
6
+ }
7
+ let L = 1;
8
+ const R = () => L++;
9
+ function K() {
10
+ const e = x();
11
+ return e.current === void 0 && (e.current = `:jsnvw:${R()}:`), e.current;
12
+ }
13
+ function y(e) {
14
+ let {
15
+ field: n,
16
+ value: l,
17
+ data: t,
18
+ lastElement: u,
19
+ openBracket: o,
20
+ closeBracket: c,
21
+ level: r,
22
+ style: s,
23
+ shouldExpandNode: b,
24
+ clickToExpandNode: _
25
+ } = e;
26
+ const m = x(!1), [d, f, I] = J(() => b(r, l, n));
27
+ M(() => {
28
+ m.current ? I(b(r, l, n)) : m.current = !0;
29
+ }, [b]);
30
+ const V = d ? s.collapseIcon : s.expandIcon, v = d ? "collapse JSON" : "expand JSON", h = K(), S = r + 1, F = t.length - 1, g = (p) => {
31
+ p.key === " " && (p.preventDefault(), f());
32
+ };
33
+ return /* @__PURE__ */ a("div", {
34
+ className: s.basicChildStyle,
35
+ role: "list"
36
+ }, /* @__PURE__ */ a("span", {
37
+ className: V,
38
+ onClick: f,
39
+ onKeyDown: g,
40
+ role: "button",
41
+ tabIndex: 0,
42
+ "aria-label": v,
43
+ "aria-expanded": d,
44
+ "aria-controls": d ? h : void 0
45
+ }), n && (_ ? /* @__PURE__ */ a("span", {
46
+ className: s.clickableLabel,
47
+ onClick: f,
48
+ onKeyDown: g,
49
+ role: "button",
50
+ tabIndex: -1
51
+ }, n, ":") : /* @__PURE__ */ a("span", {
52
+ className: s.label
53
+ }, n, ":")), /* @__PURE__ */ a("span", {
54
+ className: s.punctuation
55
+ }, o), d ? /* @__PURE__ */ a("div", {
56
+ id: h
57
+ }, t.map((p, k) => /* @__PURE__ */ a(E, {
58
+ key: p[0] || k,
59
+ field: p[0],
60
+ value: p[1],
61
+ style: s,
62
+ lastElement: k === F,
63
+ level: S,
64
+ shouldExpandNode: b,
65
+ clickToExpandNode: _
66
+ }))) : /* @__PURE__ */ a("span", {
67
+ className: s.collapsedContent,
68
+ onClick: f,
69
+ onKeyDown: g,
70
+ role: "button",
71
+ tabIndex: -1,
72
+ "aria-hidden": !0,
73
+ "aria-label": v,
74
+ "aria-expanded": d
75
+ }), /* @__PURE__ */ a("span", {
76
+ className: s.punctuation
77
+ }, c), !u && /* @__PURE__ */ a("span", {
78
+ className: s.punctuation
79
+ }, ","));
80
+ }
81
+ function A(e) {
82
+ let {
83
+ field: n,
84
+ value: l,
85
+ style: t,
86
+ lastElement: u,
87
+ shouldExpandNode: o,
88
+ clickToExpandNode: c,
89
+ level: r
90
+ } = e;
91
+ return y({
92
+ field: n,
93
+ value: l,
94
+ lastElement: u || !1,
95
+ level: r,
96
+ openBracket: "{",
97
+ closeBracket: "}",
98
+ style: t,
99
+ shouldExpandNode: o,
100
+ clickToExpandNode: c,
101
+ data: Object.keys(l).map((s) => [s, l[s]])
102
+ });
103
+ }
104
+ function Q(e) {
105
+ let {
106
+ field: n,
107
+ value: l,
108
+ style: t,
109
+ lastElement: u,
110
+ level: o,
111
+ shouldExpandNode: c,
112
+ clickToExpandNode: r
113
+ } = e;
114
+ return y({
115
+ field: n,
116
+ value: l,
117
+ lastElement: u || !1,
118
+ level: o,
119
+ openBracket: "[",
120
+ closeBracket: "]",
121
+ style: t,
122
+ shouldExpandNode: c,
123
+ clickToExpandNode: r,
124
+ data: l.map((s) => [void 0, s])
125
+ });
126
+ }
127
+ function w(e) {
128
+ let {
129
+ field: n,
130
+ value: l,
131
+ style: t,
132
+ lastElement: u
133
+ } = e, o = l, c = t.otherValue;
134
+ return l === null ? (o = "null", c = t.nullValue) : l === void 0 ? (o = "undefined", c = t.undefinedValue) : B(l) ? (o = t.noQuotesForStringValues ? l : `"${l}"`, c = t.stringValue) : T(l) ? (o = l ? "true" : "false", c = t.booleanValue) : C(l) ? (o = l.toString(), c = t.numberValue) : j(l) ? (o = `${l.toString()}n`, c = t.numberValue) : N(l) ? o = l.toISOString() : o = l.toString(), n === "" && (n = '""'), /* @__PURE__ */ a("div", {
135
+ className: t.basicChildStyle,
136
+ role: "listitem"
137
+ }, n && /* @__PURE__ */ a("span", {
138
+ className: t.label
139
+ }, n, ":"), /* @__PURE__ */ a("span", {
140
+ className: c
141
+ }, o), !u && /* @__PURE__ */ a("span", {
142
+ className: t.punctuation
143
+ }, ","));
144
+ }
145
+ function E(e) {
146
+ const n = e.value;
147
+ return D(n) ? /* @__PURE__ */ a(Q, Object.assign({}, e)) : G(n) && !N(n) ? /* @__PURE__ */ a(A, Object.assign({}, e)) : /* @__PURE__ */ a(w, Object.assign({}, e));
148
+ }
149
+ var i = { "container-base": "_GzYRV", "punctuation-base": "_3eOF8", pointer: "_1MFti", "expander-base": "_f10Tu _1MFti", "expand-icon": "_1UmXx", "collapse-icon": "_1LId0", "collapsed-content-base": "_1pNG9 _1MFti", "container-light": "_2IvMF _GzYRV", "basic-element-style": "_2bkNM", "label-light": "_1MGIk", "clickable-label-light": "_2YKJg _1MGIk _1MFti", "punctuation-light": "_3uHL6 _3eOF8", "value-null-light": "_2T6PJ", "value-undefined-light": "_1Gho6", "value-string-light": "_vGjyY", "value-number-light": "_1bQdo", "value-boolean-light": "_3zQKs", "value-other-light": "_1xvuR", "collapse-icon-light": "_oLqym _f10Tu _1MFti _1LId0", "expand-icon-light": "_2AXVT _f10Tu _1MFti _1UmXx", "collapsed-content-light": "_2KJWg _1pNG9 _1MFti", "container-dark": "_11RoI _GzYRV", "expand-icon-dark": "_17H2C _f10Tu _1MFti _1UmXx", "collapse-icon-dark": "_3QHg2 _f10Tu _1MFti _1LId0", "collapsed-content-dark": "_3fDAz _1pNG9 _1MFti", "label-dark": "_2bSDX", "clickable-label-dark": "_1RQEj _2bSDX _1MFti", "punctuation-dark": "_gsbQL _3eOF8", "value-null-dark": "_LaAZe", "value-undefined-dark": "_GTKgm", "value-string-dark": "_Chy1W", "value-number-dark": "_2bveF", "value-boolean-dark": "_2vRm-", "value-other-dark": "_1prJR" };
150
+ const X = {
151
+ container: i["container-light"],
152
+ basicChildStyle: i["basic-element-style"],
153
+ label: i["label-light"],
154
+ clickableLabel: i["clickable-label-light"],
155
+ nullValue: i["value-null-light"],
156
+ undefinedValue: i["value-undefined-light"],
157
+ stringValue: i["value-string-light"],
158
+ booleanValue: i["value-boolean-light"],
159
+ numberValue: i["value-number-light"],
160
+ otherValue: i["value-other-light"],
161
+ punctuation: i["punctuation-light"],
162
+ collapseIcon: i["collapse-icon-light"],
163
+ expandIcon: i["expand-icon-light"],
164
+ collapsedContent: i["collapsed-content-light"],
165
+ noQuotesForStringValues: !1
166
+ }, z = () => !0, H = (e) => {
167
+ let {
168
+ data: n,
169
+ style: l = X,
170
+ shouldExpandNode: t = z,
171
+ clickToExpandNode: u = !1
172
+ } = e;
173
+ return /* @__PURE__ */ a("div", {
174
+ className: l.container
175
+ }, /* @__PURE__ */ a(E, {
176
+ value: n,
177
+ style: l,
178
+ lastElement: !0,
179
+ level: 0,
180
+ shouldExpandNode: t,
181
+ clickToExpandNode: u
182
+ }));
183
+ };
184
+ export {
185
+ H as J,
186
+ z as a,
187
+ X as d
188
+ };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react"),O=e=>typeof e=="boolean"||e instanceof Boolean,T=e=>typeof e=="number"||e instanceof Number,R=e=>typeof e=="bigint"||e instanceof BigInt,k=e=>!!e&&e instanceof Date,C=e=>typeof e=="string"||e instanceof String,j=e=>Array.isArray(e),B=e=>e instanceof Object&&e!==null;function D(e){const[t,l]=n.useState(e());return[t,()=>l(u=>!u),l]}let G=1;const J=()=>G++;function L(){const e=n.useRef();return e.current===void 0&&(e.current=`:jsnvw:${J()}:`),e.current}function x(e){let{field:t,value:l,data:a,lastElement:u,openBracket:o,closeBracket:c,level:r,style:s,shouldExpandNode:b,clickToExpandNode:g}=e;const _=n.useRef(!1),[d,f,V]=D(()=>b(r,l,t));n.useEffect(()=>{_.current?V(b(r,l,t)):_.current=!0},[b]);const S=d?s.collapseIcon:s.expandIcon,v=d?"collapse JSON":"expand JSON",h=L(),F=r+1,M=a.length-1,m=p=>{p.key===" "&&(p.preventDefault(),f())};return n.createElement("div",{className:s.basicChildStyle,role:"list"},n.createElement("span",{className:S,onClick:f,onKeyDown:m,role:"button",tabIndex:0,"aria-label":v,"aria-expanded":d,"aria-controls":d?h:void 0}),t&&(g?n.createElement("span",{className:s.clickableLabel,onClick:f,onKeyDown:m,role:"button",tabIndex:-1},t,":"):n.createElement("span",{className:s.label},t,":")),n.createElement("span",{className:s.punctuation},o),d?n.createElement("div",{id:h},a.map((p,E)=>n.createElement(N,{key:p[0]||E,field:p[0],value:p[1],style:s,lastElement:E===M,level:F,shouldExpandNode:b,clickToExpandNode:g}))):n.createElement("span",{className:s.collapsedContent,onClick:f,onKeyDown:m,role:"button",tabIndex:-1,"aria-hidden":!0,"aria-label":v,"aria-expanded":d}),n.createElement("span",{className:s.punctuation},c),!u&&n.createElement("span",{className:s.punctuation},","))}function K(e){let{field:t,value:l,style:a,lastElement:u,shouldExpandNode:o,clickToExpandNode:c,level:r}=e;return x({field:t,value:l,lastElement:u||!1,level:r,openBracket:"{",closeBracket:"}",style:a,shouldExpandNode:o,clickToExpandNode:c,data:Object.keys(l).map(s=>[s,l[s]])})}function w(e){let{field:t,value:l,style:a,lastElement:u,level:o,shouldExpandNode:c,clickToExpandNode:r}=e;return x({field:t,value:l,lastElement:u||!1,level:o,openBracket:"[",closeBracket:"]",style:a,shouldExpandNode:c,clickToExpandNode:r,data:l.map(s=>[void 0,s])})}function A(e){let{field:t,value:l,style:a,lastElement:u}=e,o=l,c=a.otherValue;return l===null?(o="null",c=a.nullValue):l===void 0?(o="undefined",c=a.undefinedValue):C(l)?(o=a.noQuotesForStringValues?l:`"${l}"`,c=a.stringValue):O(l)?(o=l?"true":"false",c=a.booleanValue):T(l)?(o=l.toString(),c=a.numberValue):R(l)?(o=`${l.toString()}n`,c=a.numberValue):k(l)?o=l.toISOString():o=l.toString(),t===""&&(t='""'),n.createElement("div",{className:a.basicChildStyle,role:"listitem"},t&&n.createElement("span",{className:a.label},t,":"),n.createElement("span",{className:c},o),!u&&n.createElement("span",{className:a.punctuation},","))}function N(e){const t=e.value;return j(t)?n.createElement(w,Object.assign({},e)):B(t)&&!k(t)?n.createElement(K,Object.assign({},e)):n.createElement(A,Object.assign({},e))}var i={"container-base":"_GzYRV","punctuation-base":"_3eOF8",pointer:"_1MFti","expander-base":"_f10Tu _1MFti","expand-icon":"_1UmXx","collapse-icon":"_1LId0","collapsed-content-base":"_1pNG9 _1MFti","container-light":"_2IvMF _GzYRV","basic-element-style":"_2bkNM","label-light":"_1MGIk","clickable-label-light":"_2YKJg _1MGIk _1MFti","punctuation-light":"_3uHL6 _3eOF8","value-null-light":"_2T6PJ","value-undefined-light":"_1Gho6","value-string-light":"_vGjyY","value-number-light":"_1bQdo","value-boolean-light":"_3zQKs","value-other-light":"_1xvuR","collapse-icon-light":"_oLqym _f10Tu _1MFti _1LId0","expand-icon-light":"_2AXVT _f10Tu _1MFti _1UmXx","collapsed-content-light":"_2KJWg _1pNG9 _1MFti","container-dark":"_11RoI _GzYRV","expand-icon-dark":"_17H2C _f10Tu _1MFti _1UmXx","collapse-icon-dark":"_3QHg2 _f10Tu _1MFti _1LId0","collapsed-content-dark":"_3fDAz _1pNG9 _1MFti","label-dark":"_2bSDX","clickable-label-dark":"_1RQEj _2bSDX _1MFti","punctuation-dark":"_gsbQL _3eOF8","value-null-dark":"_LaAZe","value-undefined-dark":"_GTKgm","value-string-dark":"_Chy1W","value-number-dark":"_2bveF","value-boolean-dark":"_2vRm-","value-other-dark":"_1prJR"};const y={container:i["container-light"],basicChildStyle:i["basic-element-style"],label:i["label-light"],clickableLabel:i["clickable-label-light"],nullValue:i["value-null-light"],undefinedValue:i["value-undefined-light"],stringValue:i["value-string-light"],booleanValue:i["value-boolean-light"],numberValue:i["value-number-light"],otherValue:i["value-other-light"],punctuation:i["punctuation-light"],collapseIcon:i["collapse-icon-light"],expandIcon:i["expand-icon-light"],collapsedContent:i["collapsed-content-light"],noQuotesForStringValues:!1},I=()=>!0,Q=e=>{let{data:t,style:l=y,shouldExpandNode:a=I,clickToExpandNode:u=!1}=e;return n.createElement("div",{className:l.container},n.createElement(N,{value:t,style:l,lastElement:!0,level:0,shouldExpandNode:a,clickToExpandNode:u}))};exports.JsonView=Q;exports.allExpanded=I;exports.defaultStyles=y;
@@ -0,0 +1,27 @@
1
+ "use strict";const Oe=require("react");var H={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 me;function or(){if(me)return j;me=1;var N=Oe,P=Symbol.for("react.element"),V=Symbol.for("react.fragment"),y=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};function S(h,l,m){var d,g={},R=null,A=null;m!==void 0&&(R=""+m),l.key!==void 0&&(R=""+l.key),l.ref!==void 0&&(A=l.ref);for(d in l)y.call(l,d)&&!F.hasOwnProperty(d)&&(g[d]=l[d]);if(h&&h.defaultProps)for(d in l=h.defaultProps,l)g[d]===void 0&&(g[d]=l[d]);return{$$typeof:P,type:h,key:R,ref:A,props:g,_owner:D.current}}return j.Fragment=V,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(){var N=Oe,P=Symbol.for("react.element"),V=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),h=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),m=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";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=N.__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===y||e===F||De||e===D||e===m||e===d||ke||e===A||we||xe||je||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===g||e.$$typeof===S||e.$$typeof===h||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 y:return"Fragment";case V:return"Portal";case F:return"Profiler";case D:return"StrictMode";case m:return"Suspense";case d:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h: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 R:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var _=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 We(){{if(w--,w===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},e,{value:ee}),info:_({},e,{value:re}),warn:_({},e,{value:te}),error:_({},e,{value:ne}),group:_({},e,{value:ae}),groupCollapsed:_({},e,{value:ie}),groupEnd:_({},e,{value:oe})})}w<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var M=T.ReactCurrentDispatcher,U;function I(e,r,t){{if(U===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);U=n&&n[1]||""}return`
18
+ `+U+e}}var B=!1,W;{var $e=typeof WeakMap=="function"?WeakMap:Map;W=new $e}function se(e,r){if(!e||B)return"";{var t=W.get(e);if(t!==void 0)return t}var n;B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=M.current,M.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(b){n=b}Reflect.construct(e,[],i)}else{try{i.call()}catch(b){n=b}e.call(i.prototype)}}else{try{throw Error()}catch(b){n=b}e()}}catch(b){if(b&&n&&typeof b.stack=="string"){for(var a=b.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"&&W.set(e,p),p}while(s>=1&&f>=0);break}}}finally{B=!1,M.current=u,We(),Error.prepareStackTrace=o}var C=e?e.displayName||e.name:"",ye=C?I(C):"";return typeof e=="function"&&W.set(e,ye),ye}function Ye(e,r,t){return se(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function $(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 m:return I("Suspense");case d:return I("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ye(e.render);case g:return $(e.type,r,t);case R:{var n=e,o=n._payload,u=n._init;try{return $(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=$(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 q(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,Be={key:!0,ref:!0,__self:!0,__source:!0},de,pe,J;J={};function qe(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);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)}}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 Ke(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 He=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),qe(r)&&(v=r.ref,Ge(r,o));for(u in r)Y.call(r,u)&&!Be.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&&Ke(i,f)}return He(e,a,v,o,n,x.current,i)}}var G=T.ReactCurrentOwner,ge=T.ReactDebugCurrentFrame;function O(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}var z;z=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function Ee(){{if(G.current){var e=E(G.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 be={};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 he(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Qe(r);if(be[t])return;be[t]=!0;var n="";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)}}function Re(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&he(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)&&he(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&&!z){z=!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 _e(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":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)}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(q(p)){for(var C=0;C<p.length;C++)Re(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 Re(p,e)}return e===y?rr(f):er(f),f}}function tr(e,r,t){return _e(e,r,t,!0)}function nr(e,r,t){return _e(e,r,t,!1)}var ar=nr,ir=tr;k.Fragment=y,k.jsx=ar,k.jsxs=ir}()),k}process.env.NODE_ENV==="production"?H.exports=or():H.exports=ur();var sr=H.exports;exports.jsxRuntimeExports=sr;