@aswin.dev/editor 0.7.0 → 0.7.1

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 (169) hide show
  1. package/README.md +3 -3
  2. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-COL6Wm7p.js} +37 -37
  3. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-DWGPVtvC.js} +68 -68
  4. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-duUFSfDf.js} +22 -22
  5. package/dist/{BlockA11yBadge-CXDLqkcJ.js → BlockA11yBadge-Qs6HtXid.js} +12 -12
  6. package/dist/CloudEditor-CFldoCOb.js +1207 -0
  7. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-Bw-lbt61.js} +21 -21
  8. package/dist/CommentsSidebar-BaD5F53-.js +436 -0
  9. package/dist/CountdownBlock-DaYGxKqo.js +92 -0
  10. package/dist/CountdownToolbar-Dg4F8MTk.js +210 -0
  11. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-BSH7uNP_.js} +58 -58
  12. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-Ba2pfF57.js} +2 -2
  13. package/dist/{ModuleBrowserModal-DrUFMTDx.js → ModuleBrowserModal-6phxZSKI.js} +80 -80
  14. package/dist/ModulePreviewCanvas-BW8L3eQX.js +108 -0
  15. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-BpUzQOJt.js} +87 -87
  16. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-DNSzAB-I.js} +182 -182
  17. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-CrqPQdnk.js} +38 -38
  18. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-zMQTpez7.js} +28 -28
  19. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-Do-A5rYU.js} +45 -50
  20. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-CS7o62zS.js} +75 -75
  21. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-DGj_9V1u.js} +28 -28
  22. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-C7IDnAoS.js} +68 -68
  23. package/dist/{TplModal-BwSfxIHf.js → TplModal-BAsVzcTb.js} +14 -14
  24. package/dist/{accessibility-e8JYu_zd.js → accessibility-BU09xZrQ.js} +1 -1
  25. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-C6LDKvmd.js} +19 -5
  26. package/dist/bundle-stats.json +7 -7
  27. package/dist/{check-Da05j8yl.js → check-DJrpDKO_.js} +1 -1
  28. package/dist/{chevron-down-R2uY34iD.js → chevron-down-C5oBUhT8.js} +1 -1
  29. package/dist/chevron-right-BqCptpdp.js +10 -0
  30. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-ZQQc98HC.js} +1 -1
  31. package/dist/{clock-CRp2sIub.js → clock-ik2pRJKG.js} +1 -1
  32. package/dist/{cloud-DEk_b4CR.js → cloud-6ZmAvF0j.js} +485 -427
  33. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-ClREiSx3.js} +6 -6
  34. package/dist/{de-Brqvgr43.js → de-DWcgp-7T.js} +209 -1
  35. package/dist/{dist-BaQIYPsn.js → dist-BUzw1buG.js} +1 -1
  36. package/dist/{dist-DjviJBCi.js → dist-BZyY-SS4.js} +1 -1
  37. package/dist/{dist-D6uC2xhi.js → dist-BadNx4qo.js} +1 -1
  38. package/dist/{dist-aRzjfSRN.js → dist-BesOh2mk.js} +1 -1
  39. package/dist/{dist-D90y8dvT.js → dist-Bz3M4RXG.js} +3 -3
  40. package/dist/dist-C04s_fLA.js +563 -0
  41. package/dist/{dist-DDJIWTRY.js → dist-C3T2AKtB.js} +1 -1
  42. package/dist/{dist-BFawx6IS.js → dist-C9ckKEZL.js} +51 -51
  43. package/dist/{dist-us-RpCWN.js → dist-CBItRG-Z.js} +1 -1
  44. package/dist/{dist-wzMIGj-D.js → dist-COSzWQUs.js} +1 -1
  45. package/dist/dist-CivF9P8b.js +382 -0
  46. package/dist/{dist-Cp0zXPAD.js → dist-DtiDUrX-.js} +1 -1
  47. package/dist/{dist-KoBJjK1G.js → dist-Dzt5foyL.js} +1 -1
  48. package/dist/{en-WDVp87TE.js → en-Cxd4fhNm.js} +209 -1
  49. package/dist/{extensions-CUcl9Ok4.js → extensions-D__hOlV1.js} +106 -106
  50. package/dist/{image-up-MBZKKg9p.js → image-up-DT7gcJLN.js} +1 -1
  51. package/dist/index.d.ts +88 -11
  52. package/dist/{info-CJEC7piy.js → info-BSPGcsSM.js} +1 -1
  53. package/dist/keys-CvX8D-8C.js +10 -0
  54. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-Balo8p3d.js} +1 -1
  55. package/dist/{message-circle-yElBbR2C.js → message-circle-B39qAHxs.js} +1 -1
  56. package/dist/pencil-BZJPNYWR.js +10 -0
  57. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-DwDqGUM0.js} +1 -1
  58. package/dist/{scan-line-D0vcUekt.js → scan-line-CzfFJO1o.js} +1 -1
  59. package/dist/{send-DH4oDQqC.js → send-D2eSo4GH.js} +1 -1
  60. package/dist/{shield-check-CfJgs2Hd.js → shield-check-jkpgcC0-.js} +1 -1
  61. package/dist/{sparkles-CvRXGqFs.js → sparkles-Chm5CZfb.js} +1 -1
  62. package/dist/style.css +1 -1
  63. package/dist/styleConstants-34eUKPOZ.js +55 -0
  64. package/dist/styles-B4tjX5SP.js +5224 -0
  65. package/dist/templatical-editor.js +189 -126
  66. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-CzBnJsW8.js} +1 -1
  67. package/dist/{trash-2-DbP2Y6t2.js → trash-2-CtK2apEH.js} +1 -1
  68. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-KpDVNbpn.js} +1 -1
  69. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-DOKSZql1.js} +2 -2
  70. package/dist/{useEditorCore-C6ost42Q.js → useEditorCore-wslttMH-.js} +2425 -2250
  71. package/dist/{useI18n-lb2DHDiu.js → useI18n-C2xQZ6K9.js} +2 -2
  72. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-DX0XG5V9.js} +5 -5
  73. package/dist/{vue.runtime.esm-bundler-DpvJL-nX.js → vue.runtime.esm-bundler-CjauPXjj.js} +1 -1
  74. package/dist/{x-u2oVmjN_.js → x-BkaOMosX.js} +1 -1
  75. package/package.json +10 -10
  76. package/dist/CloudEditor-BCz1ZTYC.js +0 -1172
  77. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  78. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  79. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  80. package/dist/ModulePreviewCanvas-CHdOwV_4.js +0 -106
  81. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js +0 -97
  82. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js.map +0 -1
  83. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js +0 -59
  84. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js.map +0 -1
  85. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js +0 -33
  86. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js.map +0 -1
  87. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js +0 -1143
  88. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +0 -1
  89. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js +0 -51
  90. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js.map +0 -1
  91. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js +0 -93
  92. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js.map +0 -1
  93. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  94. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js.map +0 -1
  95. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js +0 -195
  96. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js.map +0 -1
  97. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js +0 -107
  98. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js.map +0 -1
  99. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js +0 -423
  100. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js.map +0 -1
  101. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js +0 -544
  102. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js.map +0 -1
  103. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js +0 -106
  104. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js.map +0 -1
  105. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js +0 -119
  106. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js.map +0 -1
  107. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js +0 -171
  108. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js.map +0 -1
  109. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js +0 -22
  110. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js.map +0 -1
  111. package/dist/cdn/chunks/de-Ce-LbJ2J.js +0 -89
  112. package/dist/cdn/chunks/de-Ce-LbJ2J.js.map +0 -1
  113. package/dist/cdn/chunks/de-D8CnZxV9.js +0 -523
  114. package/dist/cdn/chunks/de-D8CnZxV9.js.map +0 -1
  115. package/dist/cdn/chunks/de-RQrZR56a.js +0 -209
  116. package/dist/cdn/chunks/de-RQrZR56a.js.map +0 -1
  117. package/dist/cdn/chunks/draggable-Bcb86AsV.js +0 -11572
  118. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +0 -1
  119. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js +0 -19
  120. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +0 -1
  121. package/dist/cdn/chunks/en-8FHaQv4V.js +0 -523
  122. package/dist/cdn/chunks/en-8FHaQv4V.js.map +0 -1
  123. package/dist/cdn/chunks/en-Bl1ecfRF.js +0 -209
  124. package/dist/cdn/chunks/en-Bl1ecfRF.js.map +0 -1
  125. package/dist/cdn/chunks/en-DiCWK5fG.js +0 -89
  126. package/dist/cdn/chunks/en-DiCWK5fG.js.map +0 -1
  127. package/dist/cdn/chunks/extensions-DIxF31tA.js +0 -598
  128. package/dist/cdn/chunks/extensions-DIxF31tA.js.map +0 -1
  129. package/dist/cdn/chunks/features-DEMb13KS.js +0 -6814
  130. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  131. package/dist/cdn/chunks/icons-CsLTcirh.js +0 -700
  132. package/dist/cdn/chunks/icons-CsLTcirh.js.map +0 -1
  133. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js +0 -3279
  134. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
  135. package/dist/cdn/chunks/media-library-CVaNvhpM.js +0 -6014
  136. package/dist/cdn/chunks/media-library-CVaNvhpM.js.map +0 -1
  137. package/dist/cdn/chunks/pusher-CDbNlZBE.js +0 -2508
  138. package/dist/cdn/chunks/pusher-CDbNlZBE.js.map +0 -1
  139. package/dist/cdn/chunks/quality-BaBfc54_.js +0 -1456
  140. package/dist/cdn/chunks/quality-BaBfc54_.js.map +0 -1
  141. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js +0 -32
  142. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +0 -1
  143. package/dist/cdn/chunks/renderer-CUxvx7ro.js +0 -548
  144. package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +0 -1
  145. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +0 -20
  146. package/dist/cdn/chunks/src-CRaqN-p8.js +0 -497
  147. package/dist/cdn/chunks/src-CRaqN-p8.js.map +0 -1
  148. package/dist/cdn/chunks/styleConstants-DP1VOca8.js +0 -57
  149. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +0 -1
  150. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  151. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  152. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js +0 -14654
  153. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js.map +0 -1
  154. package/dist/cdn/editor.css +0 -2
  155. package/dist/cdn/editor.js +0 -250
  156. package/dist/cdn/editor.js.map +0 -1
  157. package/dist/dist-B1IR0bpH.js +0 -326
  158. package/dist/dist-DJmnUmW9.js +0 -362
  159. package/dist/keys-ciNfSSGj.js +0 -10
  160. package/dist/styleConstants-fWzlIIwN.js +0 -55
  161. package/dist/styles-DEXEkBvg.js +0 -3176
  162. /package/dist/{_plugin-vue_export-helper-B0hnzhyu.js → _plugin-vue_export-helper-BVAJ4lgT.js} +0 -0
  163. /package/dist/{de-DCaaCE5s.js → de-GOtR9DwW.js} +0 -0
  164. /package/dist/{dist-iLBdeBDR.js → dist-DXa1uAMh.js} +0 -0
  165. /package/dist/{emojiData-PQyVa4bU.js → emojiData-DrBuvEoP.js} +0 -0
  166. /package/dist/{en-DXCyK4-X.js → en-dFFQVzNn.js} +0 -0
  167. /package/dist/{formatRelativeTime-BOEf47hq.js → formatRelativeTime-BhhO8yCl.js} +0 -0
  168. /package/dist/{liquid.browser-CdMv1BTn.js → liquid.browser-BvCyLQII.js} +0 -0
  169. /package/dist/{readableTextColor-CY3SiRnt.js → readableTextColor-DVuzNX1y.js} +0 -0
@@ -0,0 +1,563 @@
1
+ //#region ../types/dist/index.js
2
+ var e = {
3
+ 1: 36,
4
+ 2: 28,
5
+ 3: 22,
6
+ 4: 18
7
+ };
8
+ function t(e) {
9
+ return e.type === "custom";
10
+ }
11
+ var n = {
12
+ content: "<p>Enter your title</p>",
13
+ level: 2,
14
+ color: "#1a1a1a",
15
+ textAlign: "left"
16
+ }, r = { content: "<p>Enter your text here</p>" }, i = {
17
+ src: "",
18
+ alt: "",
19
+ width: "full",
20
+ align: "center"
21
+ }, a = {
22
+ text: "Click Here",
23
+ url: "",
24
+ backgroundColor: "#333333",
25
+ textColor: "#ffffff",
26
+ borderRadius: 6,
27
+ fontSize: 15,
28
+ buttonPadding: {
29
+ top: 12,
30
+ right: 24,
31
+ bottom: 12,
32
+ left: 24
33
+ },
34
+ borderWidth: 0,
35
+ borderColor: "#000000",
36
+ borderSides: "all"
37
+ }, ee = {
38
+ inputType: "text",
39
+ name: "field",
40
+ label: "Label",
41
+ placeholder: "",
42
+ defaultValue: "",
43
+ required: !1,
44
+ labelMargin: {
45
+ top: 0,
46
+ right: 0,
47
+ bottom: 8,
48
+ left: 0
49
+ },
50
+ labelPadding: {
51
+ top: 0,
52
+ right: 0,
53
+ bottom: 0,
54
+ left: 0
55
+ },
56
+ labelFontSize: 14,
57
+ labelColor: "#374151",
58
+ labelFontWeight: "normal",
59
+ labelTextAlign: "left",
60
+ inputMargin: {
61
+ top: 0,
62
+ right: 0,
63
+ bottom: 0,
64
+ left: 0
65
+ },
66
+ inputPadding: {
67
+ top: 10,
68
+ right: 12,
69
+ bottom: 10,
70
+ left: 12
71
+ },
72
+ inputBackgroundColor: "#ffffff",
73
+ inputTextColor: "#111827",
74
+ inputPlaceholderColor: "#9ca3af",
75
+ inputFontSize: 15,
76
+ inputBorderRadius: 6,
77
+ inputBorderWidth: 1,
78
+ inputBorderColor: "#d1d5db",
79
+ inputBorderSides: "all",
80
+ inputWidth: "full"
81
+ }, o = {
82
+ lineStyle: "solid",
83
+ color: "#e0e0e0",
84
+ thickness: 1,
85
+ width: "full"
86
+ }, s = { columns: "1" }, c = {
87
+ url: "",
88
+ thumbnailUrl: "",
89
+ alt: "Video",
90
+ width: "full",
91
+ align: "center"
92
+ }, l = {
93
+ iconStyle: "solid",
94
+ iconSize: "medium",
95
+ spacing: 10,
96
+ align: "center"
97
+ }, u = { height: 24 }, d = { content: "" }, f = {
98
+ fontSize: 15,
99
+ color: "#1a1a1a",
100
+ textAlign: "center",
101
+ separator: "|",
102
+ separatorColor: "#e0e0e0",
103
+ spacing: 10
104
+ }, p = {
105
+ hasHeaderRow: !0,
106
+ borderColor: "#e0e0e0",
107
+ borderWidth: 1,
108
+ cellPadding: 8,
109
+ fontSize: 15,
110
+ color: "#1a1a1a",
111
+ textAlign: "left"
112
+ }, m = {
113
+ targetDate: "",
114
+ timezone: "UTC",
115
+ showDays: !0,
116
+ showHours: !0,
117
+ showMinutes: !0,
118
+ showSeconds: !0,
119
+ separator: ":",
120
+ digitFontSize: 32,
121
+ digitColor: "#1a1a1a",
122
+ labelColor: "#6b7280",
123
+ labelFontSize: 12,
124
+ backgroundColor: "#ffffff",
125
+ labelDays: "Days",
126
+ labelHours: "Hours",
127
+ labelMinutes: "Minutes",
128
+ labelSeconds: "Seconds",
129
+ expiredMessage: "This offer has expired",
130
+ expiredImageUrl: "",
131
+ hideOnExpiry: !1
132
+ }, h = {
133
+ width: 600,
134
+ backgroundColor: "#ffffff",
135
+ fontFamily: "Arial",
136
+ locale: "en"
137
+ };
138
+ function g(e) {
139
+ return typeof e == "object" && !!e && !Array.isArray(e) && Object.getPrototypeOf(e) === Object.prototype;
140
+ }
141
+ function _(e, t) {
142
+ let n = { ...e };
143
+ for (let r of Object.keys(t)) {
144
+ let i = e[r], a = t[r];
145
+ a !== void 0 && (g(i) && g(a) ? n[r] = _(i, a) : n[r] = a);
146
+ }
147
+ return n;
148
+ }
149
+ function v(e) {
150
+ if (!e.canvasPages?.length) return e;
151
+ let t = e.activeCanvasPageId ?? e.canvasPages[0].id, n = e.canvasPages.find((e) => e.id === t) ?? e.canvasPages[0];
152
+ return {
153
+ ...e,
154
+ activeCanvasPageId: n.id,
155
+ blocks: n.blocks
156
+ };
157
+ }
158
+ function te(e = "Arial", t) {
159
+ return {
160
+ blocks: [],
161
+ settings: {
162
+ ...h,
163
+ fontFamily: e,
164
+ ...t
165
+ }
166
+ };
167
+ }
168
+ var y = [
169
+ {
170
+ id: "UTC",
171
+ label: "GMT+0000 (Coordinated Universal Time)"
172
+ },
173
+ {
174
+ id: "America/Los_Angeles",
175
+ label: "GMT−0800 (Pacific Time)"
176
+ },
177
+ {
178
+ id: "America/Denver",
179
+ label: "GMT−0700 (Mountain Time)"
180
+ },
181
+ {
182
+ id: "America/Chicago",
183
+ label: "GMT−0600 (Central Time)"
184
+ },
185
+ {
186
+ id: "America/New_York",
187
+ label: "GMT−0500 (Eastern Time)"
188
+ },
189
+ {
190
+ id: "America/Sao_Paulo",
191
+ label: "GMT−0300 (Brasília Time)"
192
+ },
193
+ {
194
+ id: "Europe/London",
195
+ label: "GMT+0000 (United Kingdom)"
196
+ },
197
+ {
198
+ id: "Europe/Paris",
199
+ label: "GMT+0100 (Central European Time)"
200
+ },
201
+ {
202
+ id: "Asia/Dubai",
203
+ label: "GMT+0400 (Gulf Standard Time)"
204
+ },
205
+ {
206
+ id: "Asia/Kolkata",
207
+ label: "GMT+0530 (India Standard Time)"
208
+ },
209
+ {
210
+ id: "Asia/Singapore",
211
+ label: "GMT+0800 (Singapore)"
212
+ },
213
+ {
214
+ id: "Asia/Tokyo",
215
+ label: "GMT+0900 (Japan Standard Time)"
216
+ },
217
+ {
218
+ id: "Australia/Sydney",
219
+ label: "GMT+1000 / GMT+1100 (Australian Eastern)"
220
+ },
221
+ {
222
+ id: "Pacific/Auckland",
223
+ label: "GMT+1200 / GMT+1300 (New Zealand)"
224
+ }
225
+ ], b = {
226
+ small: 380,
227
+ medium: 480,
228
+ large: 600,
229
+ fullscreen: 960,
230
+ fullHeight: 420,
231
+ custom: 600
232
+ };
233
+ function x() {
234
+ return [{
235
+ id: "schedule-slot-1",
236
+ dayPreset: "everyday",
237
+ startTime: "00:00",
238
+ endTime: "23:59"
239
+ }, {
240
+ id: "schedule-slot-2",
241
+ dayPreset: "everyday",
242
+ startTime: "00:00",
243
+ endTime: "23:59"
244
+ }];
245
+ }
246
+ function S() {
247
+ return {
248
+ triggers: {
249
+ onLanding: {
250
+ enabled: !0,
251
+ triggerConditions: !1
252
+ },
253
+ onExit: { enabled: !1 },
254
+ onScroll: {
255
+ enabled: !1,
256
+ scrollPercent: 50,
257
+ triggerConditions: !1
258
+ },
259
+ onClick: {
260
+ enabled: !1,
261
+ clickAnchor: "#popup",
262
+ triggerConditions: !1
263
+ },
264
+ onHover: {
265
+ enabled: !1,
266
+ hoverElementId: "",
267
+ triggerConditions: !1
268
+ },
269
+ onCustomEvent: {
270
+ enabled: !1,
271
+ customEventName: "",
272
+ triggerConditions: !1
273
+ }
274
+ },
275
+ design: {
276
+ sizePreset: "large",
277
+ contentPadding: {
278
+ top: 24,
279
+ right: 24,
280
+ bottom: 24,
281
+ left: 24
282
+ },
283
+ useOverlay: !0,
284
+ overlayImage: !1,
285
+ backgroundImage: !1,
286
+ multiColumnEnabled: !0,
287
+ multiColumnPreset: "two",
288
+ rtl: !1,
289
+ popupPosition: "center",
290
+ displayAnimation: "smooth",
291
+ displayCloseButton: !0,
292
+ closeButtonPosition: "right",
293
+ closeOnOverlayClick: !0
294
+ },
295
+ schedule: {
296
+ timeZone: "Asia/Kolkata",
297
+ startDate: "",
298
+ endDate: "",
299
+ detailedScheduleEnabled: !0,
300
+ slots: x()
301
+ }
302
+ };
303
+ }
304
+ function C(e, t) {
305
+ return !t || Object.keys(t).length === 0 ? e : _(e, t);
306
+ }
307
+ function w() {
308
+ return crypto.randomUUID();
309
+ }
310
+ function T(e = 0) {
311
+ return {
312
+ top: e,
313
+ right: e,
314
+ bottom: e,
315
+ left: e
316
+ };
317
+ }
318
+ function E(e = 10) {
319
+ return {
320
+ padding: T(e),
321
+ margin: T(0)
322
+ };
323
+ }
324
+ function D(e = {}) {
325
+ return C({
326
+ id: w(),
327
+ type: "title",
328
+ ...n,
329
+ styles: E()
330
+ }, e);
331
+ }
332
+ function O(e = {}) {
333
+ return C({
334
+ id: w(),
335
+ type: "paragraph",
336
+ ...r,
337
+ styles: E()
338
+ }, e);
339
+ }
340
+ function k(e = {}) {
341
+ return C({
342
+ id: w(),
343
+ type: "image",
344
+ ...i,
345
+ styles: E()
346
+ }, e);
347
+ }
348
+ function A(e = {}) {
349
+ return C({
350
+ id: w(),
351
+ type: "button",
352
+ ...a,
353
+ styles: E()
354
+ }, e);
355
+ }
356
+ function j(e = {}) {
357
+ return C({
358
+ id: w(),
359
+ type: "input",
360
+ ...ee,
361
+ styles: E()
362
+ }, e);
363
+ }
364
+ function M(e = {}) {
365
+ return C({
366
+ id: w(),
367
+ type: "divider",
368
+ ...o,
369
+ styles: E(20)
370
+ }, e);
371
+ }
372
+ function N(e = {}) {
373
+ return C({
374
+ id: w(),
375
+ type: "section",
376
+ ...s,
377
+ children: [[]],
378
+ styles: E(20)
379
+ }, e);
380
+ }
381
+ function P(e = {}) {
382
+ return C({
383
+ id: w(),
384
+ type: "video",
385
+ ...c,
386
+ styles: E()
387
+ }, e);
388
+ }
389
+ function F(e = {}) {
390
+ return C({
391
+ id: w(),
392
+ type: "social",
393
+ icons: [],
394
+ ...l,
395
+ styles: E()
396
+ }, e);
397
+ }
398
+ function I(e = {}) {
399
+ return C({
400
+ id: w(),
401
+ type: "spacer",
402
+ ...u,
403
+ styles: E(0)
404
+ }, e);
405
+ }
406
+ function L(e = {}) {
407
+ return C({
408
+ id: w(),
409
+ type: "html",
410
+ ...d,
411
+ styles: E()
412
+ }, e);
413
+ }
414
+ function R(e = {}) {
415
+ return C({
416
+ id: w(),
417
+ type: "menu",
418
+ items: [],
419
+ ...f,
420
+ styles: E()
421
+ }, e);
422
+ }
423
+ function z(e, t) {
424
+ return Array.from({ length: t }, () => ({
425
+ id: w(),
426
+ cells: Array.from({ length: e }, () => ({
427
+ id: w(),
428
+ content: ""
429
+ }))
430
+ }));
431
+ }
432
+ function B(e = {}) {
433
+ return C({
434
+ id: w(),
435
+ type: "table",
436
+ rows: z(3, 3),
437
+ ...p,
438
+ styles: E()
439
+ }, e);
440
+ }
441
+ function V(e = {}) {
442
+ return C({
443
+ id: w(),
444
+ type: "countdown",
445
+ ...m,
446
+ styles: E()
447
+ }, e);
448
+ }
449
+ function H(e) {
450
+ return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
451
+ }
452
+ function U(e) {
453
+ let t = {};
454
+ for (let n of e.fields) t[n.key] = H(n);
455
+ return {
456
+ id: w(),
457
+ type: "custom",
458
+ customType: e.type,
459
+ fieldValues: t,
460
+ styles: E(),
461
+ ...e.dataSource ? { dataSourceFetched: !1 } : {}
462
+ };
463
+ }
464
+ function W(e, t) {
465
+ switch (e) {
466
+ case "section": return N(t?.section);
467
+ case "title": return D(t?.title);
468
+ case "paragraph": return O(t?.paragraph);
469
+ case "image": return k(t?.image);
470
+ case "button": return A(t?.button);
471
+ case "input": return j(t?.input);
472
+ case "divider": return M(t?.divider);
473
+ case "video": return P(t?.video);
474
+ case "social": return F(t?.social);
475
+ case "spacer": return I(t?.spacer);
476
+ case "html": return L(t?.html);
477
+ case "menu": return R(t?.menu);
478
+ case "table": return B(t?.table);
479
+ case "countdown": return V(t?.countdown);
480
+ default: throw Error(`Unknown block type: ${e}`);
481
+ }
482
+ }
483
+ function G(e) {
484
+ let t = JSON.parse(JSON.stringify(e));
485
+ return t.id = w(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => G(e)))), t;
486
+ }
487
+ var K = {
488
+ liquid: {
489
+ value: /\{\{.+?\}\}/g,
490
+ logic: /\{%-?\s*(\w+).*?-?%\}/g
491
+ },
492
+ handlebars: {
493
+ value: /\{\{\{?.+?\}?\}\}/g,
494
+ logic: /\{\{[#/](\w+).*?\}\}/g
495
+ },
496
+ mailchimp: {
497
+ value: /\*\|\w+\|\*/g,
498
+ logic: /\*\|(\w+)[:|].*?\|\*/g
499
+ },
500
+ ampscript: {
501
+ value: /%%=.+?=%%/g,
502
+ logic: /%%\[\s*(\w+).*?\]%%/g
503
+ }
504
+ }, q = {
505
+ liquid: "{{",
506
+ handlebars: "{{",
507
+ mailchimp: "*|",
508
+ ampscript: "%%="
509
+ };
510
+ function J(e) {
511
+ for (let t of Object.keys(K)) if (K[t].value.source === e.value.source) return q[t];
512
+ return null;
513
+ }
514
+ function Y(e) {
515
+ return e ? typeof e == "string" ? K[e] ?? K.liquid : e : K.liquid;
516
+ }
517
+ function X(e) {
518
+ let t = e.source, n = e.flags.replace("g", "");
519
+ return RegExp(`^${t}$`, n);
520
+ }
521
+ function Z(e, t) {
522
+ let n = e?.trim() || "";
523
+ return X(t.logic).test(n) ? !1 : X(t.value).test(n);
524
+ }
525
+ function Q(e, t) {
526
+ let n = t.find((t) => t.value === e);
527
+ return n ? n.label : e;
528
+ }
529
+ function ne(e, t) {
530
+ return e.replace(/(<span[^>]*\sdata-merge-tag="([^"]*)"[^>]*>)(.*?)(<\/span>)/g, (e, n, r, i, a) => `${n}${Q(r, t)}${a}`);
531
+ }
532
+ function re(e, t) {
533
+ if (!e) return !1;
534
+ let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
535
+ return n.test(e) || r.test(e);
536
+ }
537
+ function ie(e, t) {
538
+ return X(t.logic).test(e?.trim() || "");
539
+ }
540
+ function $(e, t) {
541
+ let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
542
+ return r && r[1] ? r[1].toUpperCase() : e;
543
+ }
544
+ function ae(e, t) {
545
+ return e.replace(/(<span[^>]*\sdata-logic-merge-tag="([^"]*)"[^>]*>)(.*?)(<\/span>)/g, (e, n, r, i, a) => `${n}${$(r, t)}${a}`);
546
+ }
547
+ var oe = class extends Error {
548
+ constructor(e, t) {
549
+ super(e), this.statusCode = t, this.name = "SdkError";
550
+ }
551
+ statusCode;
552
+ get isNotFound() {
553
+ return this.statusCode === 404;
554
+ }
555
+ get isUnauthorized() {
556
+ return this.statusCode === 401;
557
+ }
558
+ get isServerError() {
559
+ return this.statusCode !== void 0 && this.statusCode >= 500;
560
+ }
561
+ };
562
+ //#endregion
563
+ export { t as A, B as C, $ as D, w as E, ne as F, Y as I, Z as M, v as N, Q as O, ae as P, I as S, P as T, j as _, oe as a, N as b, W as c, U as d, S as f, k as g, L as h, K as i, ie as j, J as k, A as l, M as m, y as n, G as o, te as p, b as r, re as s, e as t, V as u, R as v, D as w, F as x, O as y };
@@ -1,4 +1,4 @@
1
- import { Gt as e, R as t, Ut as n, Y as r, b as i, bn as a, c as o, nt as s, q as c, xn as l } from "./dist-iLBdeBDR.js";
1
+ import { Gt as e, R as t, Ut as n, Y as r, b as i, bn as a, c as o, nt as s, q as c, xn as l } from "./dist-DXa1uAMh.js";
2
2
  //#region ../../node_modules/.pnpm/linkifyjs@4.3.2/node_modules/linkifyjs/dist/linkify.mjs
3
3
  var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", d = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", f = "numeric", p = "ascii", m = "alpha", h = "asciinumeric", g = "alphanumeric", _ = "domain", ee = "emoji", te = "scheme", v = "slashscheme", y = "whitespace";
4
4
  function b(e, t) {