@templatical/editor 0.45.0 → 0.46.0

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 (140) hide show
  1. package/dist/{AiChatSidebar-BlFWWhBv.js → AiChatSidebar-DGcH4Lyo.js} +1 -1
  2. package/dist/{AiFeatureMenu-CvWygUmC.js → AiFeatureMenu-B4q-0g1S.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-DwxJOTzH.js → BlockPreviewCanvas-DIZ0KgUD.js} +3 -3
  4. package/dist/{CloudHeaderExtras-BzM1QU1r.js → CloudHeaderExtras-ehMYJP68.js} +1 -1
  5. package/dist/{CloudPanels-d36YXXyn.js → CloudPanels-BwOaAlKz.js} +2 -2
  6. package/dist/{CollaboratorBar-rwXe_Qd2.js → CollaboratorBar-qOZFRNPx.js} +1 -1
  7. package/dist/{CountdownToolbar-lbjCc8ik.js → CountdownToolbar-BeF21SeB.js} +4 -4
  8. package/dist/{DesignReferenceSidebar-zlJQsP0X.js → DesignReferenceSidebar-zH93uB15.js} +1 -1
  9. package/dist/{IssuesPanel-CHx3m8SP.js → IssuesPanel-Dltw9haP.js} +1 -1
  10. package/dist/{LogicTagInsertButton-BvftbkL4.js → LogicTagInsertButton-CHa-UD76.js} +12 -12
  11. package/dist/{MergeTagInput-CR1kcj8X.js → MergeTagInput-B3ntd4dN.js} +1 -1
  12. package/dist/{MergeTagModeToggle-DssKrVYb.js → MergeTagModeToggle-C_06ZL0Q.js} +1 -1
  13. package/dist/{ParagraphEditor-DFizsZRc.js → ParagraphEditor-CxuW3TV0.js} +6 -6
  14. package/dist/{RestoreVersionDialog-Cp3q2mU4.js → RestoreVersionDialog-B1n37M1Z.js} +1 -1
  15. package/dist/{RichTextEditorContent-Cj3oaPMk.js → RichTextEditorContent-CP_uULWB.js} +2 -2
  16. package/dist/{SaveBlockDialog-BR8vW_XF.js → SaveBlockDialog-BSKX_7_v.js} +5 -5
  17. package/dist/{SavedBlocksBrowserModal-DmwbmKxI.js → SavedBlocksBrowserModal-CHKrH1gO.js} +4 -4
  18. package/dist/{SavedBlocksPanels-D4XKrs-a.js → SavedBlocksPanels-B-xDqBcz.js} +1 -1
  19. package/dist/{SavedBlocksPickBar-gfc-o5sR.js → SavedBlocksPickBar-D2J-g82g.js} +1 -1
  20. package/dist/{TemplateSettings-D7aNrd0d.js → TemplateSettings-D07K_Y4m.js} +4 -4
  21. package/dist/{TestEmailModal-DUmtcSm-.js → TestEmailModal-BNPw_lID.js} +5 -5
  22. package/dist/{TestEmailPanel-s9gISTI8.js → TestEmailPanel-8klWo8hE.js} +1 -1
  23. package/dist/{TitleEditor-C-uHqtml.js → TitleEditor-CmC9OuhA.js} +4 -4
  24. package/dist/{ToggleSwitch-CTwwCIVA.js → ToggleSwitch-COeyWGfT.js} +1 -1
  25. package/dist/{Toolbar-CLpA36RO.js → Toolbar-CqhRb6EM.js} +36 -36
  26. package/dist/{TplModal-D6XtxusQ.js → TplModal-BGFawHY9.js} +1 -1
  27. package/dist/{VersionHistoryPanels-Dvowtt7V.js → VersionHistoryPanels-DdbGjEOR.js} +1 -1
  28. package/dist/{WrapperBlock-CzJa2Mxw.js → WrapperBlock-CTkmA887.js} +1 -1
  29. package/dist/{blockTypeIcons-D3aj5u_5.js → blockTypeIcons-CVKo6V_v.js} +1 -1
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js → AiChatSidebar-kCK4NZM9.js} +2 -2
  32. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js.map → AiChatSidebar-kCK4NZM9.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js → AiFeatureMenu-K1dLeDft.js} +2 -2
  34. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js.map → AiFeatureMenu-K1dLeDft.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockPreviewCanvas-hKxE6f-k.js → BlockPreviewCanvas-Djz9YAFx.js} +4 -4
  36. package/dist/cdn/chunks/{BlockPreviewCanvas-hKxE6f-k.js.map → BlockPreviewCanvas-Djz9YAFx.js.map} +1 -1
  37. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js → CloudHeaderExtras-5ONQ1RCa.js} +2 -2
  38. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js.map → CloudHeaderExtras-5ONQ1RCa.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js → CloudPanels-_irSdWbi.js} +3 -3
  40. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js.map → CloudPanels-_irSdWbi.js.map} +1 -1
  41. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js → CollaboratorBar-CZufI1On.js} +2 -2
  42. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js.map → CollaboratorBar-CZufI1On.js.map} +1 -1
  43. package/dist/cdn/chunks/{CountdownToolbar-CvNuDR5Z.js → CountdownToolbar-BaXCefQM.js} +5 -5
  44. package/dist/cdn/chunks/{CountdownToolbar-CvNuDR5Z.js.map → CountdownToolbar-BaXCefQM.js.map} +1 -1
  45. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js → DesignReferenceSidebar-GjkpHylX.js} +2 -2
  46. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js.map → DesignReferenceSidebar-GjkpHylX.js.map} +1 -1
  47. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js → IssuesPanel-C1Lv2y_O.js} +2 -2
  48. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js.map → IssuesPanel-C1Lv2y_O.js.map} +1 -1
  49. package/dist/cdn/chunks/{LogicTagInsertButton-DnHghQHb.js → LogicTagInsertButton-BYjdrDnQ.js} +4 -4
  50. package/dist/cdn/chunks/{LogicTagInsertButton-DnHghQHb.js.map → LogicTagInsertButton-BYjdrDnQ.js.map} +1 -1
  51. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js → MergeTagInput-Cx67J_vg.js} +2 -2
  52. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js.map → MergeTagInput-Cx67J_vg.js.map} +1 -1
  53. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js → MergeTagModeToggle-DZ4EuXVp.js} +2 -2
  54. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js.map → MergeTagModeToggle-DZ4EuXVp.js.map} +1 -1
  55. package/dist/cdn/chunks/{ParagraphEditor-B5DN4Sy4.js → ParagraphEditor-DndEFXmR.js} +7 -7
  56. package/dist/cdn/chunks/{ParagraphEditor-B5DN4Sy4.js.map → ParagraphEditor-DndEFXmR.js.map} +1 -1
  57. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js → RestoreVersionDialog-CFYs13a4.js} +2 -2
  58. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js.map → RestoreVersionDialog-CFYs13a4.js.map} +1 -1
  59. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js → RichTextEditorContent-DKkDQ0dc.js} +3 -3
  60. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js.map → RichTextEditorContent-DKkDQ0dc.js.map} +1 -1
  61. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js → SaveBlockDialog-BOA2RaC_.js} +6 -6
  62. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js.map → SaveBlockDialog-BOA2RaC_.js.map} +1 -1
  63. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js → SavedBlocksBrowserModal-DQDVek3K.js} +4 -4
  64. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js.map → SavedBlocksBrowserModal-DQDVek3K.js.map} +1 -1
  65. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js → SavedBlocksPanels-Lu3tJ3QA.js} +2 -2
  66. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js.map → SavedBlocksPanels-Lu3tJ3QA.js.map} +1 -1
  67. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js → SavedBlocksPickBar-D7MtqG6r.js} +2 -2
  68. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js.map → SavedBlocksPickBar-D7MtqG6r.js.map} +1 -1
  69. package/dist/cdn/chunks/{TemplateSettings-G-yV7C1C.js → TemplateSettings-rZiHmq24.js} +5 -5
  70. package/dist/cdn/chunks/{TemplateSettings-G-yV7C1C.js.map → TemplateSettings-rZiHmq24.js.map} +1 -1
  71. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js → TestEmailModal-DWEyHXH2.js} +6 -6
  72. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js.map → TestEmailModal-DWEyHXH2.js.map} +1 -1
  73. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js → TestEmailPanel-XXMD-Lnr.js} +2 -2
  74. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js.map → TestEmailPanel-XXMD-Lnr.js.map} +1 -1
  75. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js → TitleEditor-D1F0YoE-.js} +4 -4
  76. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js.map → TitleEditor-D1F0YoE-.js.map} +1 -1
  77. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js → ToggleSwitch-B5U9cqhi.js} +2 -2
  78. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js.map → ToggleSwitch-B5U9cqhi.js.map} +1 -1
  79. package/dist/cdn/chunks/{Toolbar-K4tIkpG1.js → Toolbar-C_5HfUQq.js} +55 -55
  80. package/dist/cdn/chunks/{Toolbar-K4tIkpG1.js.map → Toolbar-C_5HfUQq.js.map} +1 -1
  81. package/dist/cdn/chunks/{TplModal-OOT36AjS.js → TplModal-CYBbPCHL.js} +2 -2
  82. package/dist/cdn/chunks/{TplModal-OOT36AjS.js.map → TplModal-CYBbPCHL.js.map} +1 -1
  83. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js → VersionHistoryPanels-Dq12VsTX.js} +2 -2
  84. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js.map → VersionHistoryPanels-Dq12VsTX.js.map} +1 -1
  85. package/dist/cdn/chunks/{WrapperBlock-DdrnwH80.js → WrapperBlock-CJ0CLqi2.js} +2 -2
  86. package/dist/cdn/chunks/{WrapperBlock-DdrnwH80.js.map → WrapperBlock-CJ0CLqi2.js.map} +1 -1
  87. package/dist/cdn/chunks/{cloud-bhW8qTnh.js → cloud-h1vaHp2p.js} +2 -2
  88. package/dist/cdn/chunks/{cloud-bhW8qTnh.js.map → cloud-h1vaHp2p.js.map} +1 -1
  89. package/dist/cdn/chunks/{createCloudRuntime-CeRJkLR2.js → createCloudRuntime-bJN9EM1H.js} +3 -3
  90. package/dist/cdn/chunks/{createCloudRuntime-CeRJkLR2.js.map → createCloudRuntime-bJN9EM1H.js.map} +1 -1
  91. package/dist/cdn/chunks/{extensions-xjRsIjMP.js → extensions-CrmXF4MW.js} +6 -6
  92. package/dist/cdn/chunks/extensions-CrmXF4MW.js.map +1 -0
  93. package/dist/{preRenderCustomBlocks-DAS48ZCp.js → cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js} +5 -3
  94. package/dist/cdn/chunks/{preRenderCustomBlocks-CFwa7nP9.js.map → preRenderCustomBlocks-CyGB3lZr.js.map} +1 -1
  95. package/dist/cdn/chunks/{socialIcons-CsYnPPll.js → socialIcons-ClJVDZwt.js} +82 -101
  96. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +1 -0
  97. package/dist/cdn/chunks/{src-HA9F2kvk.js → src-B0pZeTYO.js} +200 -183
  98. package/dist/cdn/chunks/src-B0pZeTYO.js.map +1 -0
  99. package/dist/cdn/chunks/{src-CkXmV2I2.js → src-BMw3u-iV.js} +213 -215
  100. package/dist/cdn/chunks/src-BMw3u-iV.js.map +1 -0
  101. package/dist/cdn/chunks/{src-BcqNlDMe.js → src-Bh0MoJ67.js} +280 -187
  102. package/dist/cdn/chunks/src-Bh0MoJ67.js.map +1 -0
  103. package/dist/cdn/chunks/{useEditorCore-BF1ZhcGu.js → useEditorCore-DuC7kVti.js} +323 -319
  104. package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +1 -0
  105. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js → useLogicTag-B3uV3XHG.js} +2 -2
  106. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js.map → useLogicTag-B3uV3XHG.js.map} +1 -1
  107. package/dist/cdn/chunks/{useMergeTag-hwifK582.js → useMergeTag-DJLM-7WQ.js} +2 -2
  108. package/dist/cdn/chunks/{useMergeTag-hwifK582.js.map → useMergeTag-DJLM-7WQ.js.map} +1 -1
  109. package/dist/cdn/chunks/{useScrollToBlock-BDNJ25X1.js → useScrollToBlock-CpmB5KxW.js} +2 -3
  110. package/dist/cdn/chunks/useScrollToBlock-CpmB5KxW.js.map +1 -0
  111. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +21 -0
  112. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js.map +1 -0
  113. package/dist/cdn/editor.css +1 -1
  114. package/dist/cdn/editor.js +435 -417
  115. package/dist/cdn/editor.js.map +1 -1
  116. package/dist/{cloud-CVfwPu19.js → cloud-DPGjMGfv.js} +1 -1
  117. package/dist/{createCloudRuntime-GRv_TDb2.js → createCloudRuntime-D0RRgWab.js} +2 -2
  118. package/dist/{dist-CSaWqmWM.js → dist-BI_LeQGl.js} +271 -200
  119. package/dist/{extensions-B65sfZRk.js → extensions-CYigjb1g.js} +13 -13
  120. package/dist/index.d.ts +34 -12
  121. package/dist/{cdn/chunks/preRenderCustomBlocks-CFwa7nP9.js → preRenderCustomBlocks-DokBGA_M.js} +3 -5
  122. package/dist/{socialIcons-CvAixjj8.js → socialIcons-Ct_IoqPQ.js} +107 -126
  123. package/dist/style.css +1 -1
  124. package/dist/templatical-editor.js +456 -438
  125. package/dist/{useEditorCore-DQSeKPE9.js → useEditorCore-BJAQMvNW.js} +482 -478
  126. package/dist/{useLogicTag-BH87j1vZ.js → useLogicTag-B5gjcMzn.js} +1 -1
  127. package/dist/{useMergeTag-DfPKX2Tk.js → useMergeTag-BwsBIDzR.js} +3 -3
  128. package/dist/{useScrollToBlock-Dr7Sb6Tr.js → useScrollToBlock-JRxhT1u_.js} +1 -2
  129. package/dist/withCurrentFont-C9vqrduu.js +19 -0
  130. package/package.json +8 -8
  131. package/dist/cdn/chunks/extensions-xjRsIjMP.js.map +0 -1
  132. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +0 -1
  133. package/dist/cdn/chunks/src-BcqNlDMe.js.map +0 -1
  134. package/dist/cdn/chunks/src-CkXmV2I2.js.map +0 -1
  135. package/dist/cdn/chunks/src-HA9F2kvk.js.map +0 -1
  136. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +0 -1
  137. package/dist/cdn/chunks/useScrollToBlock-BDNJ25X1.js.map +0 -1
  138. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +0 -32
  139. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +0 -1
  140. package/dist/withCurrentFont-DeCbPVaE.js +0 -30
@@ -205,7 +205,7 @@ var h = {
205
205
  alt: "",
206
206
  width: "full",
207
207
  align: "center"
208
- }, v = {
208
+ }, ge = {
209
209
  text: "Click Here",
210
210
  url: "",
211
211
  backgroundColor: "#333333",
@@ -219,36 +219,36 @@ var h = {
219
219
  left: 24
220
220
  },
221
221
  align: "center"
222
- }, ge = {
222
+ }, v = {
223
223
  lineStyle: "solid",
224
224
  color: "#e0e0e0",
225
225
  thickness: 1,
226
226
  width: "full"
227
- }, _e = { columns: "1" }, ve = {
227
+ }, y = { columns: "1" }, b = {
228
228
  url: "",
229
229
  thumbnailUrl: "",
230
230
  alt: "Video",
231
231
  width: "full",
232
232
  align: "center"
233
- }, y = {
233
+ }, x = {
234
234
  iconStyle: "solid",
235
235
  iconSize: "medium",
236
236
  spacing: 10,
237
237
  align: "center"
238
- }, b = { height: 24 }, x = { content: "" }, S = {
238
+ }, S = { height: 24 }, C = { content: "" }, w = {
239
239
  fontSize: 15,
240
240
  textAlign: "center",
241
241
  separator: "|",
242
242
  separatorColor: "#e0e0e0",
243
243
  spacing: 10
244
- }, C = {
244
+ }, T = {
245
245
  hasHeaderRow: !0,
246
246
  borderColor: "#e0e0e0",
247
247
  borderWidth: 1,
248
248
  cellPadding: 8,
249
249
  fontSize: 15,
250
250
  textAlign: "left"
251
- }, w = {
251
+ }, E = {
252
252
  targetDate: "",
253
253
  timezone: "UTC",
254
254
  showDays: !0,
@@ -268,21 +268,21 @@ var h = {
268
268
  expiredMessage: "This offer has expired",
269
269
  expiredImageUrl: "",
270
270
  hideOnExpiry: !1
271
- }, ye = {
271
+ }, _e = {
272
272
  title: h,
273
273
  paragraph: g,
274
274
  image: _,
275
- button: v,
276
- divider: ge,
277
- section: _e,
278
- video: ve,
279
- social: y,
280
- spacer: b,
281
- html: x,
282
- menu: S,
283
- table: C,
284
- countdown: w
285
- }, T = {
275
+ button: ge,
276
+ divider: v,
277
+ section: y,
278
+ video: b,
279
+ social: x,
280
+ spacer: S,
281
+ html: C,
282
+ menu: w,
283
+ table: T,
284
+ countdown: E
285
+ }, D = {
286
286
  width: 600,
287
287
  backgroundColor: "#ffffff",
288
288
  textColor: "#1a1a1a",
@@ -290,24 +290,24 @@ var h = {
290
290
  fontFamily: "Arial",
291
291
  locale: "en"
292
292
  };
293
- function E(e) {
293
+ function O(e) {
294
294
  return typeof e == "object" && !!e && !Array.isArray(e) && Object.getPrototypeOf(e) === Object.prototype;
295
295
  }
296
- function D(e, t) {
296
+ function k(e, t) {
297
297
  let n = { ...e };
298
298
  for (let r of Object.keys(t)) {
299
299
  let i = e[r], a = t[r];
300
- a !== void 0 && (n[r] = E(i) && E(a) ? D(i, a) : a);
300
+ a !== void 0 && (n[r] = O(i) && O(a) ? k(i, a) : a);
301
301
  }
302
302
  return n;
303
303
  }
304
304
  //#endregion
305
305
  //#region ../types/src/template.ts
306
- function be(e = "Arial", t) {
306
+ function ve(e = "Arial", t) {
307
307
  return {
308
308
  blocks: [],
309
309
  settings: {
310
- ...T,
310
+ ...D,
311
311
  fontFamily: e,
312
312
  ...t
313
313
  }
@@ -315,7 +315,7 @@ function be(e = "Arial", t) {
315
315
  }
316
316
  //#endregion
317
317
  //#region ../types/src/direction.ts
318
- var xe = [
318
+ var ye = [
319
319
  "ar",
320
320
  "he",
321
321
  "iw",
@@ -329,22 +329,36 @@ var xe = [
329
329
  "ckb",
330
330
  "ks"
331
331
  ];
332
- function Se(e) {
332
+ function be(e) {
333
333
  let t = e?.trim().replace(/_/g, "-").split("-")[0]?.toLowerCase();
334
- return !!t && xe.includes(t);
334
+ return !!t && ye.includes(t);
335
+ }
336
+ function xe(e) {
337
+ return e.direction === "ltr" || e.direction === "rtl" ? e.direction : be(e.locale) ? "rtl" : "ltr";
335
338
  }
336
- function Ce(e) {
337
- return e.direction === "ltr" || e.direction === "rtl" ? e.direction : Se(e.locale) ? "rtl" : "ltr";
339
+ //#endregion
340
+ //#region ../types/src/clone.ts
341
+ function A(e) {
342
+ let t = [];
343
+ return JSON.parse(JSON.stringify(e, function(e, n) {
344
+ if (typeof n != "object" || !n) return n;
345
+ for (; t.length > 0 && t[t.length - 1] !== this;) t.pop();
346
+ if (!t.includes(n)) return t.push(n), n;
347
+ }));
338
348
  }
339
349
  //#endregion
340
350
  //#region ../types/src/factory.ts
341
- function O(e, t) {
342
- return !t || Object.keys(t).length === 0 ? e : D(e, t);
351
+ function j(e, t) {
352
+ let n = A(e);
353
+ return !t || Object.keys(t).length === 0 ? n : k(n, t);
343
354
  }
344
- function k() {
355
+ function M(e) {
356
+ return e === void 0 ? void 0 : A(e);
357
+ }
358
+ function N() {
345
359
  return crypto.randomUUID();
346
360
  }
347
- function we(e = 0) {
361
+ function Se(e = 0) {
348
362
  return {
349
363
  top: e,
350
364
  right: e,
@@ -352,135 +366,135 @@ function we(e = 0) {
352
366
  left: e
353
367
  };
354
368
  }
355
- function A(e = 10) {
356
- return { padding: we(e) };
369
+ function P(e = 10) {
370
+ return { padding: Se(e) };
357
371
  }
358
- function j(e = {}) {
359
- return O({
360
- id: k(),
372
+ function F(e = {}) {
373
+ return j({
374
+ id: N(),
361
375
  type: "title",
362
376
  ...h,
363
- styles: A()
377
+ styles: P()
364
378
  }, e);
365
379
  }
366
- function M(e = {}) {
367
- return O({
368
- id: k(),
380
+ function I(e = {}) {
381
+ return j({
382
+ id: N(),
369
383
  type: "paragraph",
370
384
  ...g,
371
- styles: A()
385
+ styles: P()
372
386
  }, e);
373
387
  }
374
- function N(e = {}) {
375
- return O({
376
- id: k(),
388
+ function L(e = {}) {
389
+ return j({
390
+ id: N(),
377
391
  type: "image",
378
392
  ..._,
379
- styles: A()
393
+ styles: P()
380
394
  }, e);
381
395
  }
382
- function P(e = {}) {
383
- return O({
384
- id: k(),
396
+ function R(e = {}) {
397
+ return j({
398
+ id: N(),
385
399
  type: "button",
386
- ...v,
387
- styles: A()
400
+ ...ge,
401
+ styles: P()
388
402
  }, e);
389
403
  }
390
- function F(e = {}) {
391
- return O({
392
- id: k(),
404
+ function z(e = {}) {
405
+ return j({
406
+ id: N(),
393
407
  type: "divider",
394
- ...ge,
395
- styles: A(20)
408
+ ...v,
409
+ styles: P(20)
396
410
  }, e);
397
411
  }
398
- function I(e = {}) {
399
- return O({
400
- id: k(),
412
+ function B(e = {}) {
413
+ return j({
414
+ id: N(),
401
415
  type: "section",
402
- ..._e,
416
+ ...y,
403
417
  children: [[]],
404
- styles: A(20)
418
+ styles: P(20)
405
419
  }, e);
406
420
  }
407
- function L(e = {}) {
408
- return O({
409
- id: k(),
421
+ function V(e = {}) {
422
+ return j({
423
+ id: N(),
410
424
  type: "video",
411
- ...ve,
412
- styles: A()
425
+ ...b,
426
+ styles: P()
413
427
  }, e);
414
428
  }
415
- function R(e = {}) {
416
- return O({
417
- id: k(),
429
+ function H(e = {}) {
430
+ return j({
431
+ id: N(),
418
432
  type: "social",
419
433
  icons: [],
420
- ...y,
421
- styles: A()
434
+ ...x,
435
+ styles: P()
422
436
  }, e);
423
437
  }
424
- function z(e = {}) {
425
- return O({
426
- id: k(),
438
+ function U(e = {}) {
439
+ return j({
440
+ id: N(),
427
441
  type: "spacer",
428
- ...b,
429
- styles: A(0)
442
+ ...S,
443
+ styles: P(0)
430
444
  }, e);
431
445
  }
432
- function Te(e = {}) {
433
- return O({
434
- id: k(),
446
+ function W(e = {}) {
447
+ return j({
448
+ id: N(),
435
449
  type: "html",
436
- ...x,
437
- styles: A()
450
+ ...C,
451
+ styles: P()
438
452
  }, e);
439
453
  }
440
- function B(e = {}) {
441
- return O({
442
- id: k(),
454
+ function G(e = {}) {
455
+ return j({
456
+ id: N(),
443
457
  type: "menu",
444
458
  items: [],
445
- ...S,
446
- styles: A()
459
+ ...w,
460
+ styles: P()
447
461
  }, e);
448
462
  }
449
- function Ee(e, t) {
463
+ function Ce(e, t) {
450
464
  return Array.from({ length: t }, () => ({
451
- id: k(),
465
+ id: N(),
452
466
  cells: Array.from({ length: e }, () => ({
453
- id: k(),
467
+ id: N(),
454
468
  content: ""
455
469
  }))
456
470
  }));
457
471
  }
458
- function V(e = {}) {
459
- return O({
460
- id: k(),
472
+ function we(e = {}) {
473
+ return j({
474
+ id: N(),
461
475
  type: "table",
462
- rows: Ee(3, 3),
463
- ...C,
464
- styles: A()
476
+ rows: Ce(3, 3),
477
+ ...T,
478
+ styles: P()
465
479
  }, e);
466
480
  }
467
- function H(e = {}) {
468
- return O({
469
- id: k(),
481
+ function Te(e = {}) {
482
+ return j({
483
+ id: N(),
470
484
  type: "countdown",
471
- ...w,
472
- styles: A()
485
+ ...E,
486
+ styles: P()
473
487
  }, e);
474
488
  }
475
- function De(e) {
489
+ function Ee(e) {
476
490
  return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
477
491
  }
478
- function Oe(e) {
492
+ function De(e) {
479
493
  let t = {};
480
- for (let n of e.fields) t[n.key] = De(n);
481
- let n = O(A(), e.defaultStyles);
494
+ for (let n of e.fields) t[n.key] = M(Ee(n));
495
+ let n = j(P(), M(e.defaultStyles));
482
496
  return {
483
- id: k(),
497
+ id: N(),
484
498
  type: "custom",
485
499
  customType: e.type,
486
500
  fieldValues: t,
@@ -488,98 +502,94 @@ function Oe(e) {
488
502
  ...e.dataSource ? { dataSourceFetched: !1 } : {}
489
503
  };
490
504
  }
491
- function ke() {
505
+ function Oe() {
492
506
  return {
493
- id: k(),
507
+ id: N(),
494
508
  type: "slot",
495
- styles: A(0)
509
+ styles: P(0)
496
510
  };
497
511
  }
498
- function Ae(e = {}) {
499
- return O({
500
- id: k(),
512
+ function ke(e = {}) {
513
+ return j({
514
+ id: N(),
501
515
  type: "wrapper",
502
516
  children: [],
503
- styles: A(0)
517
+ styles: P(0)
504
518
  }, e);
505
519
  }
506
- function je(e, t) {
520
+ function Ae(e, t) {
507
521
  switch (e) {
508
- case "section": return I(t?.section);
509
- case "title": return j(t?.title);
510
- case "paragraph": return M(t?.paragraph);
511
- case "image": return N(t?.image);
512
- case "button": return P(t?.button);
513
- case "divider": return F(t?.divider);
514
- case "video": return L(t?.video);
515
- case "social": return R(t?.social);
516
- case "spacer": return z(t?.spacer);
517
- case "html": return Te(t?.html);
518
- case "menu": return B(t?.menu);
519
- case "table": return V(t?.table);
520
- case "countdown": return H(t?.countdown);
522
+ case "section": return B(M(t?.section));
523
+ case "title": return F(M(t?.title));
524
+ case "paragraph": return I(M(t?.paragraph));
525
+ case "image": return L(M(t?.image));
526
+ case "button": return R(M(t?.button));
527
+ case "divider": return z(M(t?.divider));
528
+ case "video": return V(M(t?.video));
529
+ case "social": return H(M(t?.social));
530
+ case "spacer": return U(M(t?.spacer));
531
+ case "html": return W(M(t?.html));
532
+ case "menu": return G(M(t?.menu));
533
+ case "table": return we(M(t?.table));
534
+ case "countdown": return Te(M(t?.countdown));
521
535
  case "slot": throw Error("[Templatical] slot cannot be inserted into content. Use createSlotBlock() to build a layout.");
522
536
  case "wrapper": throw Error("[Templatical] wrapper cannot be inserted into content. Use createWrapperBlock() to build a layout.");
523
537
  default: throw Error(`Unknown block type: ${e}`);
524
538
  }
525
539
  }
526
- function U(e) {
540
+ function K(e) {
527
541
  let t = JSON.parse(JSON.stringify(e));
528
- return t.id = k(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => U(e)))), t.type === "wrapper" && (t.children = t.children.map((e) => U(e))), t;
529
- }
530
- //#endregion
531
- //#region ../types/src/clone.ts
532
- function W(e) {
533
- let t = [];
534
- return JSON.parse(JSON.stringify(e, function(e, n) {
535
- if (typeof n != "object" || !n) return n;
536
- for (; t.length > 0 && t[t.length - 1] !== this;) t.pop();
537
- if (!t.includes(n)) return t.push(n), n;
538
- }));
542
+ if (t.id = N(), t.type === "table") for (let e of t.rows) {
543
+ e.id = N();
544
+ for (let t of e.cells) t.id = N();
545
+ }
546
+ if (t.type === "menu") for (let e of t.items) e.id = N();
547
+ if (t.type === "social") for (let e of t.icons) e.id = N();
548
+ return t.type === "section" && (t.children = t.children.map((e) => e.map((e) => K(e)))), t.type === "wrapper" && (t.children = t.children.map((e) => K(e))), t;
539
549
  }
540
550
  //#endregion
541
551
  //#region ../types/src/layout.ts
542
- var G = "[Templatical] layout: must contain exactly one slot block", Me = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Ne = "[Templatical] layout: a wrapper cannot contain a wrapper", Pe = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", Fe = "[Templatical] slot is not a valid content block", Ie = "[Templatical] wrapper is not a valid content block";
543
- function K(e, t, n = null, r = !1) {
544
- for (let i of e) if (t(i, n, r), f(i)) for (let e of i.children) K(e, t, i, !0);
545
- else m(i) && K(i.children, t, i, r);
552
+ var je = "[Templatical] layout: must contain exactly one slot block", Me = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Ne = "[Templatical] layout: a wrapper cannot contain a wrapper", Pe = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", Fe = "[Templatical] slot is not a valid content block", Ie = "[Templatical] wrapper is not a valid content block";
553
+ function q(e, t, n = null, r = !1) {
554
+ for (let i of e) if (t(i, n, r), f(i)) for (let e of i.children) q(e, t, i, !0);
555
+ else m(i) && q(i.children, t, i, r);
546
556
  }
547
557
  function Le(e) {
548
558
  let t = 0;
549
- if (K(e.blocks, (e, n, r) => {
559
+ if (q(e.blocks, (e, n, r) => {
550
560
  if (p(e) && (t += 1, r)) throw Error(Me);
551
561
  if (m(e)) {
552
562
  if (r) throw Error(Me);
553
563
  if (e.children.some(m)) throw Error(Ne);
554
564
  }
555
- }), t !== 1) throw Error(G);
565
+ }), t !== 1) throw Error(je);
556
566
  }
557
567
  function Re(e) {
558
- K(e.blocks, (e) => {
568
+ q(e.blocks, (e) => {
559
569
  if (p(e)) throw Error(Fe);
560
570
  });
561
571
  }
562
572
  function ze(e) {
563
- K(e.blocks, (e) => {
573
+ q(e.blocks, (e) => {
564
574
  if (m(e)) throw Error(Ie);
565
575
  });
566
576
  }
567
577
  function Be(e) {
568
578
  let t = !1;
569
- return K(e.blocks, (e, n) => {
579
+ return q(e.blocks, (e, n) => {
570
580
  p(e) && n !== null && m(n) && (t = !0);
571
581
  }), t;
572
582
  }
573
583
  function Ve(e) {
574
584
  if (p(e)) return e;
575
585
  if (m(e)) {
576
- let t = U({
586
+ let t = K({
577
587
  ...e,
578
588
  children: []
579
589
  });
580
590
  return t.children = e.children.map(Ve), t;
581
591
  }
582
- return U(e);
592
+ return K(e);
583
593
  }
584
594
  function He(e) {
585
595
  for (let t = 0; t < e.length; t++) {
@@ -605,11 +615,11 @@ function Ue(e) {
605
615
  function We(e, t) {
606
616
  if (Le(e), Re(t), ze(t), Be(e) && Ue(t.blocks)) throw Error(Pe);
607
617
  let n = e.blocks.map(Ve), r = He(n);
608
- if (!r) throw Error(G);
609
- return r.parent.splice(r.index, 1, ...W(t.blocks)), {
618
+ if (!r) throw Error(je);
619
+ return r.parent.splice(r.index, 1, ...A(t.blocks)), {
610
620
  blocks: n,
611
621
  settings: {
612
- ...W(t.settings),
622
+ ...A(t.settings),
613
623
  backgroundColor: e.settings.backgroundColor
614
624
  }
615
625
  };
@@ -617,7 +627,7 @@ function We(e, t) {
617
627
  //#endregion
618
628
  //#region ../types/src/html-scan.ts
619
629
  var Ge = /* @__PURE__ */ new Set(["\"", "'"]);
620
- function q(e, t) {
630
+ function Ke(e, t) {
621
631
  let n = null;
622
632
  for (let r = t; r < e.length; r++) {
623
633
  let t = e[r];
@@ -627,13 +637,13 @@ function q(e, t) {
627
637
  }
628
638
  return -1;
629
639
  }
630
- function Ke(e) {
640
+ function qe(e) {
631
641
  return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
632
642
  }
633
643
  function J(e) {
634
644
  return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
635
645
  }
636
- var qe = {
646
+ var Je = {
637
647
  amp: "&",
638
648
  lt: "<",
639
649
  gt: ">",
@@ -641,22 +651,22 @@ var qe = {
641
651
  apos: "'",
642
652
  nbsp: "\xA0"
643
653
  };
644
- function Je(e) {
654
+ function Ye(e) {
645
655
  return e.includes("&") ? e.replace(/&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g, (e, t) => {
646
656
  if (t[0] === "#") {
647
657
  let n = t[1] === "x" || t[1] === "X" ? Number.parseInt(t.slice(2), 16) : Number.parseInt(t.slice(1), 10);
648
658
  return !Number.isFinite(n) || n < 1 || n > 1114111 || n >= 55296 && n <= 57343 ? e : String.fromCodePoint(n);
649
659
  }
650
- return qe[t.toLowerCase()] ?? e;
660
+ return Je[t.toLowerCase()] ?? e;
651
661
  }) : e;
652
662
  }
653
- function Ye(e, t) {
663
+ function Xe(e, t) {
654
664
  let n = t.toLowerCase(), r = 0;
655
665
  for (; r < e.length;) {
656
666
  for (; r < e.length && (J(e[r]) || e[r] === "/");) r++;
657
667
  if (r >= e.length) break;
658
668
  let t = r;
659
- for (; r < e.length && Ke(e[r]);) r++;
669
+ for (; r < e.length && qe(e[r]);) r++;
660
670
  let i = e.substring(t, r).toLowerCase();
661
671
  if (i === "") {
662
672
  r++;
@@ -669,17 +679,100 @@ function Ye(e, t) {
669
679
  if (Ge.has(a)) {
670
680
  let t = r + 1, o = e.indexOf(a, t);
671
681
  if (o === -1) return null;
672
- if (i === n) return Je(e.substring(t, o));
682
+ if (i === n) return Ye(e.substring(t, o));
673
683
  r = o + 1;
674
684
  continue;
675
685
  }
676
686
  let o = r;
677
687
  for (; r < e.length && !J(e[r]) && e[r] !== ">";) r++;
678
- if (i === n) return Je(e.substring(o, r));
688
+ if (i === n) return Ye(e.substring(o, r));
679
689
  }
680
690
  return null;
681
691
  }
682
692
  //#endregion
693
+ //#region ../types/src/fonts.ts
694
+ var Ze = {
695
+ arial: "Arial, sans-serif",
696
+ helvetica: "Helvetica, sans-serif",
697
+ georgia: "Georgia, serif",
698
+ "times new roman": "'Times New Roman', serif",
699
+ verdana: "Verdana, sans-serif",
700
+ "trebuchet ms": "'Trebuchet MS', sans-serif",
701
+ "courier new": "'Courier New', monospace",
702
+ tahoma: "Tahoma, sans-serif"
703
+ }, Qe = /* @__PURE__ */ new Set([
704
+ "inherit",
705
+ "initial",
706
+ "unset",
707
+ "revert",
708
+ "revert-layer"
709
+ ]), $e = /* @__PURE__ */ new Set([
710
+ "serif",
711
+ "sans-serif",
712
+ "monospace",
713
+ "cursive",
714
+ "fantasy",
715
+ "system-ui",
716
+ "ui-serif",
717
+ "ui-sans-serif",
718
+ "ui-monospace",
719
+ "ui-rounded",
720
+ "emoji",
721
+ "math",
722
+ "fangsong"
723
+ ]);
724
+ function et(e) {
725
+ return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
726
+ }
727
+ function tt(e) {
728
+ if (typeof e != "string") return [];
729
+ let t = e.replace(/!\s*important\s*$/i, ""), n = [], r = 0;
730
+ for (;;) {
731
+ for (; r < t.length && et(t[r]);) r++;
732
+ if (r >= t.length) return [];
733
+ let e = t[r];
734
+ if (e === "\"" || e === "'") {
735
+ let i = "", a = r + 1, o = !1;
736
+ for (; a < t.length;) {
737
+ let n = t[a];
738
+ if (n === "\\" && a + 1 < t.length) i += t[a + 1], a += 2;
739
+ else {
740
+ if (n === e) {
741
+ o = !0, a++;
742
+ break;
743
+ }
744
+ i += n, a++;
745
+ }
746
+ }
747
+ if (!o) return [];
748
+ for (; a < t.length && et(t[a]);) a++;
749
+ if (a < t.length && t[a] !== ",") return [];
750
+ n.push({
751
+ name: i,
752
+ quoted: !0
753
+ }), r = a;
754
+ } else {
755
+ let e = t.indexOf(",", r), i = e === -1 ? t.length : e, a = t.slice(r, i).trim().split(/\s+/).join(" ");
756
+ if (a === "" || a.includes("\"") || a.includes("'") || Qe.has(a.toLowerCase())) return [];
757
+ n.push({
758
+ name: a,
759
+ quoted: !1
760
+ }), r = i;
761
+ }
762
+ if (r >= t.length) return n;
763
+ r++;
764
+ }
765
+ }
766
+ function nt(e) {
767
+ return `'${e.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
768
+ }
769
+ function rt(e) {
770
+ return !e.quoted && $e.has(e.name.toLowerCase());
771
+ }
772
+ function it(e) {
773
+ return tt(e)[0]?.name ?? "";
774
+ }
775
+ //#endregion
683
776
  //#region ../types/src/merge-tags.ts
684
777
  var Y = {
685
778
  liquid: {
@@ -698,33 +791,33 @@ var Y = {
698
791
  value: /%%=.+?=%%/g,
699
792
  logic: /%%\[\s*(\w+).*?\]%%/g
700
793
  }
701
- }, Xe = {
794
+ }, at = {
702
795
  liquid: "{{",
703
796
  handlebars: "{{",
704
797
  mailchimp: "*|",
705
798
  ampscript: "%%="
706
- }, Ze = {
799
+ }, ot = {
707
800
  liquid: "}}",
708
801
  handlebars: "}}",
709
802
  mailchimp: "|*",
710
803
  ampscript: "=%%"
711
804
  };
712
- function Qe(e) {
713
- for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return Xe[t];
805
+ function st(e) {
806
+ for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return at[t];
714
807
  return null;
715
808
  }
716
- function $e(e) {
717
- for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return Ze[t];
809
+ function ct(e) {
810
+ for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return ot[t];
718
811
  return null;
719
812
  }
720
- function et(e) {
813
+ function lt(e) {
721
814
  return e ? typeof e == "string" ? Y[e] ?? Y.liquid : e : Y.liquid;
722
815
  }
723
816
  function X(e) {
724
817
  let t = e.source, n = e.flags.replace("g", "");
725
818
  return RegExp(`^${t}$`, n);
726
819
  }
727
- function tt(e, t) {
820
+ function ut(e, t) {
728
821
  let n = e?.trim() || "";
729
822
  return !X(t.logic).test(n) && X(t.value).test(n);
730
823
  }
@@ -732,41 +825,41 @@ function Z(e, t) {
732
825
  let n = t.find((t) => t.value === e);
733
826
  return n ? n.label : e;
734
827
  }
735
- function nt(e, t) {
828
+ function dt(e, t) {
736
829
  return $(e, "data-merge-tag", (e) => Z(e, t));
737
830
  }
738
831
  function Q(e, t) {
739
832
  return t.find((t) => t.value === e)?.sample;
740
833
  }
741
- function rt(e, t) {
742
- return $(e, "data-merge-tag", (e) => ot(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
834
+ function ft(e, t) {
835
+ return $(e, "data-merge-tag", (e) => ht(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
743
836
  }
744
- function it(e) {
837
+ function pt(e) {
745
838
  return e.some((e) => e.sample !== void 0);
746
839
  }
747
- function at(e, t) {
840
+ function mt(e, t) {
748
841
  if (!e) return e;
749
842
  let n = e;
750
843
  for (let e of t) e.sample !== void 0 && (n = n.split(e.value).join(e.sample));
751
844
  return n;
752
845
  }
753
- function ot(e) {
846
+ function ht(e) {
754
847
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
755
848
  }
756
- function st(e, t) {
849
+ function gt(e, t) {
757
850
  if (!e) return !1;
758
851
  let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
759
852
  return n.test(e) || r.test(e);
760
853
  }
761
- function ct(e, t) {
854
+ function _t(e, t) {
762
855
  return X(t.logic).test(e?.trim() || "");
763
856
  }
764
- function lt(e, t) {
857
+ function vt(e, t) {
765
858
  let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
766
859
  return r && r[1] ? r[1].toUpperCase() : e;
767
860
  }
768
- function ut(e, t) {
769
- return $(e, "data-logic-merge-tag", (e) => lt(e, t));
861
+ function yt(e, t) {
862
+ return $(e, "data-logic-merge-tag", (e) => vt(e, t));
770
863
  }
771
864
  function $(e, t, n, r) {
772
865
  let i = "", a = 0;
@@ -781,7 +874,7 @@ function $(e, t, n, r) {
781
874
  i += e.substring(a, o + 5), a = o + 5;
782
875
  continue;
783
876
  }
784
- let c = q(e, o + 5);
877
+ let c = Ke(e, o + 5);
785
878
  if (c === -1) {
786
879
  i += e.substring(a);
787
880
  break;
@@ -791,7 +884,7 @@ function $(e, t, n, r) {
791
884
  i += e.substring(a);
792
885
  break;
793
886
  }
794
- let u = Ye(e.substring(o + 5, c), t);
887
+ let u = Xe(e.substring(o + 5, c), t);
795
888
  if (u === null) {
796
889
  i += e.substring(a, o + 5), a = o + 5;
797
890
  continue;
@@ -803,12 +896,12 @@ function $(e, t, n, r) {
803
896
  }
804
897
  //#endregion
805
898
  //#region ../types/src/preview-resolution.ts
806
- function dt(e) {
899
+ function bt(e) {
807
900
  return typeof e != "object" || !e ? !1 : Array.isArray(e.blocks);
808
901
  }
809
902
  //#endregion
810
903
  //#region ../types/src/config.ts
811
- var ft = class extends Error {
904
+ var xt = class extends Error {
812
905
  statusCode;
813
906
  constructor(e, t) {
814
907
  super(e), this.statusCode = t, this.name = "SdkError";
@@ -824,6 +917,6 @@ var ft = class extends Error {
824
917
  }
825
918
  };
826
919
  //#endregion
827
- export { fe as $, Oe as A, V as B, Be as C, t as Ct, je as D, U as E, M as F, Ce as G, L as H, I, T as J, be as K, ke as L, Te as M, N, P as O, B as P, ce as Q, R, ze as S, o as St, W as T, Ae as U, j as V, k as W, se as X, D as Y, he as Z, at as _, e as _t, lt as a, ue as at, We as b, n as bt, $e as c, ie as ct, ct as d, l as dt, oe as et, tt as f, te as ft, rt as g, i as gt, et as h, ne as ht, st as i, p as it, F as j, H as k, Qe as l, le as lt, nt as m, re as mt, dt as n, ae as nt, Z as o, de as ot, ut as p, ee as pt, ye as q, Y as r, f as rt, Q as s, me as st, ft as t, pe as tt, it as u, m as ut, q as v, s as vt, Le as w, Re as x, r as xt, Ye as y, c as yt, z };
920
+ export { D as $, K as A, B, Ke as C, s as Ct, ze as D, o as Dt, Re as E, r as Et, z as F, F as G, H, W as I, N as J, V as K, L, R as M, Te as N, Be as O, t as Ot, De as P, _e as Q, G as R, nt as S, e as St, We as T, n as Tt, U, Oe as V, we as W, xe as X, A as Y, ve as Z, mt as _, te as _t, vt as a, oe as at, rt as b, ne as bt, ct as c, f as ct, _t as d, de as dt, k as et, ut as f, me as ft, ft as g, l as gt, lt as h, m as ht, gt as i, fe as it, Ae as j, Le as k, st as l, p as lt, dt as m, le as mt, bt as n, he as nt, Z as o, pe as ot, yt as p, ie as pt, ke as q, Y as r, ce as rt, Q as s, ae as st, xt as t, se as tt, pt as u, ue as ut, Ze as v, ee as vt, Xe as w, c as wt, tt as x, i as xt, it as y, re as yt, I as z };
828
921
 
829
- //# sourceMappingURL=src-BcqNlDMe.js.map
922
+ //# sourceMappingURL=src-Bh0MoJ67.js.map