@editora/core 1.0.6 → 1.0.8

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 (60) hide show
  1. package/LICENSE +21 -0
  2. package/dist/{AnchorPlugin.native-C1Rw5m04.mjs → AnchorPlugin.native-BcYGEtd9.mjs} +129 -105
  3. package/dist/ApprovalWorkflowPlugin.native-C3jtAYjG.mjs +1076 -0
  4. package/dist/{BackgroundColorPlugin.native-BE-p9DRd.mjs → BackgroundColorPlugin.native-50iAT9xU.mjs} +119 -122
  5. package/dist/BlocksLibraryPlugin.native-HMWKxWNs.mjs +1327 -0
  6. package/dist/CitationsPlugin.native-BnU0qCwR.mjs +1464 -0
  7. package/dist/CodePlugin.native-DlpTPdkd.mjs +2691 -0
  8. package/dist/{CommentsPlugin.native-tMnWn8a2.mjs → CommentsPlugin.native-DPSqTkiv.mjs} +153 -135
  9. package/dist/ConditionalContentPlugin.native-CfhY46rU.mjs +1367 -0
  10. package/dist/ContentRulesPlugin.native-nBLQ8QFZ.mjs +1099 -0
  11. package/dist/DataBindingPlugin.native-jQ1JPRTp.mjs +917 -0
  12. package/dist/DocSchemaPlugin.native-CHOge18O.mjs +1325 -0
  13. package/dist/{DocumentManagerPlugin.native-BvZL5CSG.mjs → DocumentManagerPlugin.native-C2cs_1w4.mjs} +43 -43
  14. package/dist/{EmbedIframePlugin.native-CSWIB1jm.mjs → EmbedIframePlugin.native-DKJx2OS7.mjs} +61 -58
  15. package/dist/{EmojisPlugin.native-DxTm_DL-.mjs → EmojisPlugin.native-CitxxlWX.mjs} +135 -104
  16. package/dist/{LinkPlugin.native-CS2g-G18.mjs → LinkPlugin.native-DYCIcdTm.mjs} +47 -45
  17. package/dist/{MathPlugin.native-KUxz0o8C.mjs → MathPlugin.native-f_mDp8VL.mjs} +149 -108
  18. package/dist/{MediaManagerPlugin.native-CgP5iInD.mjs → MediaManagerPlugin.native-BiXiK8FC.mjs} +238 -217
  19. package/dist/MentionPlugin.native-BMDlOqur.mjs +734 -0
  20. package/dist/MergeTagPlugin.native-C3eOfEgw.mjs +559 -0
  21. package/dist/PIIRedactionPlugin.native-DcsjmtV1.mjs +1396 -0
  22. package/dist/{PageBreakPlugin.native-CGiQxXqR.mjs → PageBreakPlugin.native-DijGuHJZ.mjs} +86 -77
  23. package/dist/{PreviewPlugin.native-DBvfpmIv.mjs → PreviewPlugin.native-WuIwOAOR.mjs} +30 -30
  24. package/dist/SlashCommandsPlugin.native-CmxvMEaE.mjs +755 -0
  25. package/dist/SmartPastePlugin.native-BOKKtF07.mjs +1398 -0
  26. package/dist/{SpecialCharactersPlugin.native-DANrbExJ.mjs → SpecialCharactersPlugin.native-CZDato89.mjs} +143 -98
  27. package/dist/{SpellCheckPlugin.native-C8bPvRHy.mjs → SpellCheckPlugin.native-BZB9AewP.mjs} +239 -219
  28. package/dist/{TemplatePlugin.native-4lKEm-WY.mjs → TemplatePlugin.native-CrpfKRJ8.mjs} +167 -143
  29. package/dist/{TextColorPlugin.native-Clgtb50j.mjs → TextColorPlugin.native-Bwl_bSmc.mjs} +134 -118
  30. package/dist/TrackChangesPlugin.native-Bghu2q4a.mjs +761 -0
  31. package/dist/TranslationWorkflowPlugin.native-Bz6jDGvj.mjs +1728 -0
  32. package/dist/VersionDiffPlugin.native-Bvxgy--t.mjs +776 -0
  33. package/dist/_commonjsHelpers-DOllISpa.mjs +32 -0
  34. package/dist/anchoredPopover-Bxds0VoB.mjs +110 -0
  35. package/dist/documentManager-vQ1VkbUY.mjs +8418 -0
  36. package/dist/editora.min.js +13 -13
  37. package/dist/editora.umd.js +13 -13
  38. package/dist/html2canvas.esm-AYkPY5LS.mjs +4803 -0
  39. package/dist/index-BslAFzmv.mjs +16544 -0
  40. package/dist/index-D1LOqg5C.js +10 -0
  41. package/dist/{index-OwnkG39N.mjs → index-DqC57IEH.mjs} +438 -328
  42. package/dist/index.cjs.js +1 -1
  43. package/dist/{index.es-CuicffkQ.mjs → index.es-BYD2KEo6.mjs} +5 -4
  44. package/dist/index.esm.js +2 -2
  45. package/dist/jspdf.es.min-BJGtOnRT.mjs +7890 -0
  46. package/dist/plugin-loader.js +77 -40
  47. package/dist/webcomponent-core.js +456 -346
  48. package/dist/webcomponent-core.min.css +1 -1
  49. package/dist/webcomponent-core.min.js +87 -107
  50. package/dist/webcomponent.cjs.js +1 -1
  51. package/dist/webcomponent.esm.js +1 -1
  52. package/dist/webcomponent.js +503 -356
  53. package/dist/webcomponent.min.css +1 -1
  54. package/dist/webcomponent.min.js +6003 -658
  55. package/package.json +2 -2
  56. package/dist/CodePlugin.native-B263UI8O.mjs +0 -2173
  57. package/dist/MergeTagPlugin.native-DIGWhdnF.mjs +0 -419
  58. package/dist/colorSelectionApply-CK1My9N2.mjs +0 -67
  59. package/dist/documentManager-irzj9n3V.mjs +0 -37627
  60. package/dist/index-CqWQFb3D.js +0 -10
@@ -0,0 +1,917 @@
1
+ const S = ".rte-content, .editora-content", P = '.rte-data-binding[data-binding="true"]', ot = "rte-data-binding-styles", p = "rte-data-binding-dialog-overlay", b = ':is([data-theme="dark"], .dark, .editora-theme-dark, .rte-theme-dark)', pt = {
2
+ dialogTitleInsert: "Insert Data Binding",
3
+ dialogTitleEdit: "Edit Data Binding",
4
+ keyLabel: "Data Key",
5
+ keyPlaceholder: "user.firstName",
6
+ fallbackLabel: "Fallback Text",
7
+ fallbackPlaceholder: "Guest",
8
+ formatLabel: "Format",
9
+ currencyLabel: "Currency",
10
+ currencyPlaceholder: "USD",
11
+ saveText: "Save",
12
+ cancelText: "Cancel",
13
+ previewOnText: "Preview On",
14
+ previewOffText: "Preview Off",
15
+ tokenAriaPrefix: "Data binding token"
16
+ }, v = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap();
17
+ let K = null, k = null, z = 0, O = null, M = null, B = null, V = null;
18
+ function yt(t) {
19
+ return {
20
+ ...pt,
21
+ ...t || {}
22
+ };
23
+ }
24
+ function dt(t = {}) {
25
+ var e;
26
+ const a = (t.locale || (typeof navigator != "undefined" ? navigator.language : "en-US")).trim() || "en-US";
27
+ return {
28
+ data: t.data,
29
+ getData: t.getData,
30
+ api: t.api,
31
+ cacheTtlMs: Math.max(0, Number((e = t.cacheTtlMs) != null ? e : 3e4)),
32
+ labels: yt(t.labels),
33
+ defaultFormat: t.defaultFormat || "text",
34
+ defaultFallback: t.defaultFallback || "",
35
+ locale: a,
36
+ numberFormatOptions: t.numberFormatOptions || {},
37
+ dateFormatOptions: t.dateFormatOptions || { year: "numeric", month: "short", day: "2-digit" }
38
+ };
39
+ }
40
+ function h(t) {
41
+ return t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
42
+ }
43
+ function lt(t) {
44
+ return t ? t.nodeType === Node.ELEMENT_NODE ? t : t.parentElement : null;
45
+ }
46
+ function q(t) {
47
+ return t.closest("[data-editora-editor], .rte-editor, .editora-editor, editora-editor") || t;
48
+ }
49
+ function _(t) {
50
+ return t ? (t.getAttribute("data-theme") || t.getAttribute("theme") || "").toLowerCase() === "dark" ? !0 : t.classList.contains("dark") || t.classList.contains("editora-theme-dark") || t.classList.contains("rte-theme-dark") : !1;
51
+ }
52
+ function ht(t) {
53
+ const a = q(t);
54
+ if (_(a)) return !0;
55
+ const e = a.closest("[data-theme], [theme], .dark, .editora-theme-dark, .rte-theme-dark");
56
+ return _(e) ? !0 : _(document.documentElement) || _(document.body);
57
+ }
58
+ function A(t, a = !0) {
59
+ if ((t == null ? void 0 : t.contentElement) instanceof HTMLElement) return t.contentElement;
60
+ if ((t == null ? void 0 : t.editorElement) instanceof HTMLElement) {
61
+ const n = t.editorElement;
62
+ if (n.matches(S)) return n;
63
+ const i = n.querySelector(S);
64
+ if (i instanceof HTMLElement) return i;
65
+ }
66
+ const e = window.getSelection();
67
+ if (e && e.rangeCount > 0) {
68
+ const n = e.getRangeAt(0).startContainer, i = lt(n), o = i == null ? void 0 : i.closest(S);
69
+ if (o) return o;
70
+ }
71
+ const r = document.activeElement;
72
+ if (r) {
73
+ if (r.matches(S)) return r;
74
+ const n = r.closest(S);
75
+ if (n) return n;
76
+ }
77
+ return k && k.isConnected ? k : a ? document.querySelector(S) : null;
78
+ }
79
+ function H(t) {
80
+ return t.getAttribute("contenteditable") === "false" || t.getAttribute("data-readonly") === "true";
81
+ }
82
+ function st(t) {
83
+ const a = window.getSelection();
84
+ if (!a || a.rangeCount === 0) return null;
85
+ const e = a.getRangeAt(0);
86
+ return t.contains(e.commonAncestorContainer) ? e.cloneRange() : null;
87
+ }
88
+ function ct(t, a) {
89
+ const e = window.getSelection();
90
+ e && (e.removeAllRanges(), e.addRange(a), t.focus({ preventScroll: !0 }));
91
+ }
92
+ function kt(t, a) {
93
+ const e = (a || "").trim();
94
+ if (e)
95
+ return e.split(".").filter(Boolean).reduce((r, n) => {
96
+ if (!(r == null || typeof r != "object"))
97
+ return r[n];
98
+ }, t);
99
+ }
100
+ function vt() {
101
+ if (typeof document == "undefined" || document.getElementById(ot)) return;
102
+ const t = document.createElement("style");
103
+ t.id = ot, t.textContent = `
104
+ .rte-data-binding {
105
+ display: inline-flex;
106
+ align-items: center;
107
+ max-width: 100%;
108
+ gap: 5px;
109
+ padding: 2px 8px 2px 7px;
110
+ border-radius: 999px;
111
+ border: 1px dashed #8b5cf6;
112
+ background: linear-gradient(180deg, #f9f7ff 0%, #f1edff 100%);
113
+ color: #4c1d95;
114
+ font-size: 0.88em;
115
+ font-weight: 600;
116
+ line-height: 1.3;
117
+ vertical-align: baseline;
118
+ white-space: nowrap;
119
+ overflow: hidden;
120
+ text-overflow: ellipsis;
121
+ user-select: all;
122
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
123
+ cursor: pointer;
124
+ }
125
+
126
+ .rte-data-binding::before {
127
+ content: '{}';
128
+ display: inline-flex;
129
+ align-items: center;
130
+ justify-content: center;
131
+ min-width: 14px;
132
+ height: 14px;
133
+ border-radius: 999px;
134
+ background: rgba(139, 92, 246, 0.16);
135
+ color: #5b21b6;
136
+ font-size: 10px;
137
+ font-weight: 700;
138
+ line-height: 1;
139
+ letter-spacing: -0.2px;
140
+ flex: 0 0 auto;
141
+ }
142
+
143
+ .rte-data-binding.rte-data-binding-preview {
144
+ border-style: solid;
145
+ background: #ecfdf5;
146
+ border-color: #34d399;
147
+ color: #065f46;
148
+ user-select: text;
149
+ }
150
+
151
+ .rte-data-binding.rte-data-binding-preview::before {
152
+ content: '=';
153
+ background: rgba(16, 185, 129, 0.15);
154
+ color: #047857;
155
+ letter-spacing: 0;
156
+ }
157
+
158
+ .rte-data-binding.rte-data-binding-missing {
159
+ border-style: dashed;
160
+ border-color: #f87171;
161
+ background: #fef2f2;
162
+ color: #991b1b;
163
+ }
164
+
165
+ .rte-data-binding-dialog-overlay {
166
+ position: fixed;
167
+ inset: 0;
168
+ z-index: 2147483646;
169
+ background: rgba(15, 23, 42, 0.54);
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ padding: 20px;
174
+ }
175
+
176
+ .rte-data-binding-dialog {
177
+ width: min(560px, 96vw);
178
+ max-height: min(86vh, 720px);
179
+ border: 1px solid #dbe3ec;
180
+ border-radius: 8px;
181
+ background: #ffffff;
182
+ box-shadow: 0 24px 50px rgba(15, 23, 42, 0.26);
183
+ display: flex;
184
+ flex-direction: column;
185
+ overflow: hidden;
186
+ }
187
+
188
+ .rte-data-binding-header,
189
+ .rte-data-binding-footer {
190
+ display: flex;
191
+ align-items: center;
192
+ justify-content: space-between;
193
+ gap: 10px;
194
+ padding: 12px 14px;
195
+ background: #f8fafc;
196
+ border-bottom: 1px solid #e2e8f0;
197
+ }
198
+
199
+ .rte-data-binding-footer {
200
+ justify-content: flex-end;
201
+ border-bottom: 0;
202
+ border-top: 1px solid #e2e8f0;
203
+ }
204
+
205
+ .rte-data-binding-title {
206
+ margin: 0;
207
+ font-size: 16px;
208
+ font-weight: 700;
209
+ color: #0f172a;
210
+ }
211
+
212
+ .rte-data-binding-body {
213
+ padding: 14px;
214
+ overflow: auto;
215
+ display: grid;
216
+ gap: 12px;
217
+ grid-template-columns: 1fr;
218
+ }
219
+
220
+ .rte-data-binding-field {
221
+ display: grid;
222
+ gap: 6px;
223
+ }
224
+
225
+ .rte-data-binding-field label {
226
+ font-size: 12px;
227
+ font-weight: 600;
228
+ color: #334155;
229
+ }
230
+
231
+ .rte-data-binding-field input,
232
+ .rte-data-binding-field select {
233
+ width: 100%;
234
+ min-height: 36px;
235
+ border: 1px solid #cbd5e1;
236
+ border-radius: 6px;
237
+ padding: 8px 10px;
238
+ font-size: 13px;
239
+ line-height: 1.4;
240
+ color: #0f172a;
241
+ background: #ffffff;
242
+ box-sizing: border-box;
243
+ }
244
+
245
+ .rte-data-binding-help {
246
+ margin: 0;
247
+ font-size: 12px;
248
+ color: #64748b;
249
+ }
250
+
251
+ .rte-data-binding-btn {
252
+ border: 1px solid #cbd5e1;
253
+ border-radius: 6px;
254
+ min-height: 34px;
255
+ padding: 6px 12px;
256
+ background: #ffffff;
257
+ color: #0f172a;
258
+ font-size: 13px;
259
+ cursor: pointer;
260
+ }
261
+
262
+ .rte-data-binding-btn-primary {
263
+ background: #2563eb;
264
+ border-color: #2563eb;
265
+ color: #ffffff;
266
+ }
267
+
268
+ .rte-data-binding-btn-primary:hover {
269
+ background: #1d4ed8;
270
+ }
271
+
272
+ .rte-toolbar-group-items.data-binding,
273
+ .editora-toolbar-group-items.data-binding {
274
+ display: flex;
275
+ border: 1px solid #cbd5e1;
276
+ border-radius: 6px;
277
+ overflow: hidden;
278
+ background: #ffffff;
279
+ }
280
+
281
+ .rte-toolbar-group-items.data-binding .rte-toolbar-item,
282
+ .editora-toolbar-group-items.data-binding .editora-toolbar-item {
283
+ display: flex;
284
+ }
285
+
286
+ .rte-toolbar-group-items.data-binding .rte-toolbar-button,
287
+ .editora-toolbar-group-items.data-binding .editora-toolbar-button {
288
+ border: 0;
289
+ border-radius: 0;
290
+ border-right: 1px solid #cbd5e1;
291
+ }
292
+
293
+ .rte-toolbar-group-items.data-binding .rte-toolbar-item:last-child .rte-toolbar-button,
294
+ .editora-toolbar-group-items.data-binding .editora-toolbar-item:last-child .editora-toolbar-button {
295
+ border-right: 0;
296
+ }
297
+
298
+ .rte-data-binding-btn:focus-visible,
299
+ .rte-data-binding-field input:focus-visible,
300
+ .rte-data-binding-field select:focus-visible {
301
+ outline: none;
302
+ border-color: #3b82f6;
303
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
304
+ }
305
+
306
+ ${b} .rte-data-binding,
307
+ .${p}.rte-data-binding-theme-dark .rte-data-binding {
308
+ background: linear-gradient(180deg, #3b0764 0%, #2e1065 100%);
309
+ border-color: #a78bfa;
310
+ color: #ede9fe;
311
+ }
312
+
313
+ ${b} .rte-data-binding::before,
314
+ .${p}.rte-data-binding-theme-dark .rte-data-binding::before {
315
+ background: rgba(167, 139, 250, 0.22);
316
+ color: #ddd6fe;
317
+ }
318
+
319
+ ${b} .rte-data-binding.rte-data-binding-preview,
320
+ .${p}.rte-data-binding-theme-dark .rte-data-binding.rte-data-binding-preview {
321
+ background: #064e3b;
322
+ border-color: #10b981;
323
+ color: #d1fae5;
324
+ }
325
+
326
+ ${b} .rte-data-binding.rte-data-binding-missing,
327
+ .${p}.rte-data-binding-theme-dark .rte-data-binding.rte-data-binding-missing {
328
+ background: #7f1d1d;
329
+ border-color: #ef4444;
330
+ color: #fee2e2;
331
+ }
332
+
333
+ ${b} .rte-toolbar-group-items.data-binding,
334
+ ${b} .editora-toolbar-group-items.data-binding {
335
+ display: flex;
336
+ border: 1px solid #566275;
337
+ border-radius: 6px;
338
+ overflow: hidden;
339
+ }
340
+
341
+ ${b} .rte-toolbar-group-items.data-binding .rte-toolbar-button,
342
+ ${b} .editora-toolbar-group-items.data-binding .editora-toolbar-button {
343
+ border-right-color: #566275;
344
+ }
345
+
346
+ ${b} .rte-data-binding-dialog,
347
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-dialog {
348
+ background: #1f2937;
349
+ border-color: #334155;
350
+ }
351
+
352
+ ${b} .rte-data-binding-header,
353
+ ${b} .rte-data-binding-footer,
354
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-header,
355
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-footer {
356
+ background: #111827;
357
+ border-color: #334155;
358
+ }
359
+
360
+ ${b} .rte-data-binding-title,
361
+ ${b} .rte-data-binding-field label,
362
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-title,
363
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-field label {
364
+ color: #e2e8f0;
365
+ }
366
+
367
+ ${b} .rte-data-binding-help,
368
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-help {
369
+ color: #94a3b8;
370
+ }
371
+
372
+ ${b} .rte-data-binding-field input,
373
+ ${b} .rte-data-binding-field select,
374
+ ${b} .rte-data-binding-btn,
375
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-field input,
376
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-field select,
377
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-btn {
378
+ background: #0f172a;
379
+ border-color: #475569;
380
+ color: #e2e8f0;
381
+ }
382
+
383
+ ${b} .rte-data-binding-btn-primary,
384
+ .${p}.rte-data-binding-theme-dark .rte-data-binding-btn-primary {
385
+ background: #2563eb;
386
+ border-color: #2563eb;
387
+ color: #ffffff;
388
+ }
389
+ `, document.head.appendChild(t);
390
+ }
391
+ function Y(t) {
392
+ t.dispatchEvent(new Event("input", { bubbles: !0 }));
393
+ }
394
+ function Q(t, a) {
395
+ if (a === t.innerHTML) return;
396
+ const e = window.execEditorCommand || window.executeEditorCommand;
397
+ if (typeof e == "function")
398
+ try {
399
+ e("recordDomTransaction", t, a, t.innerHTML);
400
+ } catch (r) {
401
+ }
402
+ }
403
+ function j(t, a) {
404
+ var e, r;
405
+ return {
406
+ key: String(t.key || "").trim(),
407
+ fallback: String((r = (e = t.fallback) != null ? e : a.defaultFallback) != null ? r : ""),
408
+ format: t.format || a.defaultFormat || "text",
409
+ currency: String(t.currency || "USD").trim().toUpperCase() || "USD"
410
+ };
411
+ }
412
+ function ut(t) {
413
+ return `{{${t.key}}}`;
414
+ }
415
+ function ft(t, a) {
416
+ const e = document.createElement("span");
417
+ return e.className = "rte-data-binding", e.setAttribute("data-binding", "true"), e.setAttribute("data-binding-key", t.key), e.setAttribute("data-binding-fallback", t.fallback || ""), e.setAttribute("data-binding-format", t.format || "text"), e.setAttribute("data-binding-currency", t.currency || "USD"), e.setAttribute("contenteditable", "false"), e.setAttribute("spellcheck", "false"), e.setAttribute("draggable", "false"), e.setAttribute("tabindex", "0"), e.setAttribute("role", "button"), e.setAttribute("aria-label", `${a.tokenAriaPrefix}: ${t.key}. Press Enter to edit.`), e.textContent = ut(t), e;
418
+ }
419
+ function W(t, a) {
420
+ return j(
421
+ {
422
+ key: t.getAttribute("data-binding-key") || "",
423
+ fallback: t.getAttribute("data-binding-fallback") || a.defaultFallback,
424
+ format: t.getAttribute("data-binding-format") || a.defaultFormat,
425
+ currency: t.getAttribute("data-binding-currency") || "USD"
426
+ },
427
+ a
428
+ );
429
+ }
430
+ function tt(t, a, e) {
431
+ t.classList.add("rte-data-binding"), t.setAttribute("data-binding", "true"), t.setAttribute("data-binding-key", a.key), t.setAttribute("data-binding-fallback", a.fallback || ""), t.setAttribute("data-binding-format", a.format || "text"), t.setAttribute("data-binding-currency", a.currency || "USD"), t.setAttribute("contenteditable", "false"), t.setAttribute("spellcheck", "false"), t.setAttribute("draggable", "false"), t.setAttribute("tabindex", "0"), t.setAttribute("role", "button"), t.setAttribute("aria-label", `${e.tokenAriaPrefix}: ${a.key}. Press Enter to edit.`);
432
+ }
433
+ function G(t, a) {
434
+ const e = Array.from(t.querySelectorAll(P));
435
+ return e.forEach((r) => {
436
+ const n = W(r, a);
437
+ tt(r, n, a.labels);
438
+ }), e;
439
+ }
440
+ function X(t) {
441
+ const a = window.getSelection();
442
+ if (a && a.rangeCount > 0) {
443
+ const n = a.getRangeAt(0).startContainer, i = lt(n), o = i == null ? void 0 : i.closest(P);
444
+ if (o && t.contains(o)) return o;
445
+ }
446
+ const e = document.activeElement, r = e == null ? void 0 : e.closest(P);
447
+ return r && t.contains(r) ? r : null;
448
+ }
449
+ function bt() {
450
+ K && (K.cleanup(), K = null);
451
+ }
452
+ function et(t, a, e) {
453
+ const r = q(t);
454
+ Array.from(r.querySelectorAll('[data-command="toggleDataBindingPreview"]')).forEach((i) => {
455
+ if (i.setAttribute("data-active", a ? "true" : "false"), i.classList.toggle("active", a), i.setAttribute("aria-pressed", a ? "true" : "false"), e) {
456
+ const o = a ? e.labels.previewOnText : e.labels.previewOffText;
457
+ i.setAttribute("title", o), i.setAttribute("aria-label", o);
458
+ }
459
+ });
460
+ }
461
+ function xt(t, a, e) {
462
+ const r = a.format || "text";
463
+ if (t == null) return a.fallback || "";
464
+ if (r === "json") {
465
+ if (typeof t == "string") return t;
466
+ try {
467
+ return JSON.stringify(t);
468
+ } catch (n) {
469
+ return String(t);
470
+ }
471
+ }
472
+ if (r === "date") {
473
+ const n = t instanceof Date ? t : new Date(String(t));
474
+ if (Number.isNaN(n.getTime())) return String(t);
475
+ try {
476
+ return new Intl.DateTimeFormat(e.locale, e.dateFormatOptions).format(n);
477
+ } catch (i) {
478
+ return n.toISOString();
479
+ }
480
+ }
481
+ if (r === "number" || r === "currency") {
482
+ const n = typeof t == "number" ? t : Number(t);
483
+ if (!Number.isFinite(n)) return String(t);
484
+ const i = { ...e.numberFormatOptions };
485
+ if (r === "currency") {
486
+ const o = (a.currency || "USD").toUpperCase();
487
+ Object.assign(i, { style: "currency", currency: o });
488
+ }
489
+ try {
490
+ return new Intl.NumberFormat(e.locale, i).format(n);
491
+ } catch (o) {
492
+ return String(n);
493
+ }
494
+ }
495
+ return String(t);
496
+ }
497
+ function C(t, a, e, r) {
498
+ const n = W(t, a), i = n.key;
499
+ if (t.classList.remove("rte-data-binding-preview", "rte-data-binding-missing"), !e) {
500
+ t.textContent = ut(n), t.setAttribute("aria-label", `${a.labels.tokenAriaPrefix}: ${i}. Press Enter to edit.`);
501
+ return;
502
+ }
503
+ const o = kt(r, i), l = o == null, d = l ? n.fallback || "" : xt(o, n, a);
504
+ t.textContent = d || n.fallback || "", t.classList.add("rte-data-binding-preview"), l && !(n.fallback || "").trim() && t.classList.add("rte-data-binding-missing"), t.setAttribute("aria-label", `${a.labels.tokenAriaPrefix}: ${i} = ${t.textContent || ""}. Press Enter to edit.`);
505
+ }
506
+ function w(t) {
507
+ return typeof t == "object" && t !== null && !Array.isArray(t);
508
+ }
509
+ function wt(t, a) {
510
+ return a ? a.split(".").filter(Boolean).reduce((e, r) => {
511
+ if (!(!w(e) && !Array.isArray(e)))
512
+ return e[r];
513
+ }, t) : t;
514
+ }
515
+ function Et(t, a, e) {
516
+ const r = a.api, n = q(t), i = { editor: t, editorRoot: n, signal: e };
517
+ if (r.buildRequest) {
518
+ const m = r.buildRequest(i);
519
+ return { url: m.url, init: { ...m.init || {}, signal: e } };
520
+ }
521
+ const o = (r.method || "GET").toUpperCase(), l = typeof r.headers == "function" ? r.headers(i) : r.headers || {}, d = typeof r.params == "function" ? r.params(i) : r.params, u = new URL(r.url, window.location.origin);
522
+ d && Object.entries(d).forEach(([m, f]) => {
523
+ f != null && u.searchParams.set(m, String(f));
524
+ });
525
+ const s = {
526
+ method: o,
527
+ headers: { ...l },
528
+ credentials: r.credentials,
529
+ mode: r.mode,
530
+ cache: r.cache,
531
+ signal: e
532
+ };
533
+ if (o !== "GET" && o !== "HEAD") {
534
+ const m = typeof r.body == "function" ? r.body(i) : r.body;
535
+ if (m != null)
536
+ if (w(m)) {
537
+ s.body = JSON.stringify(m);
538
+ const f = s.headers;
539
+ !f["Content-Type"] && !f["content-type"] && (f["Content-Type"] = "application/json");
540
+ } else
541
+ s.body = m;
542
+ }
543
+ return { url: u.toString(), init: s };
544
+ }
545
+ async function Dt(t, a) {
546
+ var d, u;
547
+ const e = a.api;
548
+ if (!e) return {};
549
+ const r = new AbortController(), n = q(t), i = { editor: t, editorRoot: n, signal: r.signal }, o = Math.max(0, Number((d = e.timeoutMs) != null ? d : 1e4));
550
+ let l = null;
551
+ o > 0 && (l = window.setTimeout(() => r.abort(), o));
552
+ try {
553
+ const { url: s, init: m } = Et(t, a, r.signal), f = await fetch(s, { ...m, signal: r.signal });
554
+ if (!f.ok)
555
+ throw new Error(`Data binding API request failed: ${f.status}`);
556
+ const $ = (e.responseType || "json") === "text" ? await f.text() : await f.json();
557
+ if (e.transformResponse) {
558
+ const F = e.transformResponse($, i);
559
+ return w(F) ? F : {};
560
+ }
561
+ const x = wt($, e.responsePath);
562
+ return w(x) ? x : w($) ? $ : { value: x };
563
+ } catch (s) {
564
+ return (s == null ? void 0 : s.name) !== "AbortError" && ((u = e.onError) == null || u.call(e, s, i)), {};
565
+ } finally {
566
+ l !== null && window.clearTimeout(l);
567
+ }
568
+ }
569
+ async function U(t, a) {
570
+ const e = J.get(t);
571
+ if (e) return e;
572
+ const r = R.get(t), n = Date.now();
573
+ if (r && n - r.timestamp <= a.cacheTtlMs)
574
+ return r.data;
575
+ const i = I.get(t);
576
+ if (i) return i;
577
+ const o = (async () => {
578
+ try {
579
+ if (typeof a.getData == "function") {
580
+ const d = await Promise.resolve(a.getData({ editor: t, editorRoot: q(t) }));
581
+ if (w(d)) return d;
582
+ }
583
+ if (a.api) {
584
+ const d = await Dt(t, a);
585
+ if (w(d)) return d;
586
+ }
587
+ if (typeof a.data == "function") {
588
+ const d = await Promise.resolve(a.data());
589
+ if (w(d)) return d;
590
+ }
591
+ return w(a.data) ? a.data : {};
592
+ } finally {
593
+ I.delete(t);
594
+ }
595
+ })();
596
+ I.set(t, o);
597
+ const l = await o;
598
+ return R.set(t, { timestamp: n, data: l }), l;
599
+ }
600
+ async function Z(t, a, e) {
601
+ const r = G(t, a);
602
+ if (v.set(t, e), et(t, e, a), !e) {
603
+ r.forEach((i) => C(i, a, !1));
604
+ return;
605
+ }
606
+ const n = await U(t, a);
607
+ r.forEach((i) => C(i, a, !0, n));
608
+ }
609
+ function gt(t, a) {
610
+ let e = st(t);
611
+ e || (e = document.createRange(), e.selectNodeContents(t), e.collapse(!1)), e.collapsed || e.deleteContents(), e.insertNode(a);
612
+ const r = document.createTextNode(" ");
613
+ a.after(r);
614
+ const n = document.createRange();
615
+ n.setStart(r, 1), n.collapse(!0), ct(t, n), t.normalize();
616
+ }
617
+ function At(t) {
618
+ const a = t.metaKey || t.ctrlKey, e = t.key.toLowerCase(), r = a && t.altKey && t.shiftKey && e === "d", n = !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey && e === "f7";
619
+ return r || n;
620
+ }
621
+ function St(t) {
622
+ const a = t.metaKey || t.ctrlKey, e = t.key.toLowerCase(), r = a && t.altKey && t.shiftKey && e === "b", n = !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey && e === "f8";
623
+ return r || n;
624
+ }
625
+ function L(t, a, e, r, n) {
626
+ bt();
627
+ const i = e === "insert" ? st(t) : null, o = a.labels, l = n ? W(n, a) : j(r || {}, a), d = document.createElement("div");
628
+ d.className = p, ht(t) && d.classList.add("rte-data-binding-theme-dark");
629
+ const u = document.createElement("section");
630
+ u.className = "rte-data-binding-dialog", u.setAttribute("role", "dialog"), u.setAttribute("aria-modal", "true"), u.setAttribute("aria-labelledby", "rte-data-binding-dialog-title"), u.innerHTML = `
631
+ <header class="rte-data-binding-header">
632
+ <h2 id="rte-data-binding-dialog-title" class="rte-data-binding-title">${h(
633
+ e === "edit" ? o.dialogTitleEdit : o.dialogTitleInsert
634
+ )}</h2>
635
+ <button type="button" class="rte-data-binding-btn" data-action="cancel" aria-label="${h(o.cancelText)}">✕</button>
636
+ </header>
637
+ <div class="rte-data-binding-body">
638
+ <div class="rte-data-binding-field">
639
+ <label for="rte-data-binding-key">${h(o.keyLabel)}</label>
640
+ <input id="rte-data-binding-key" class="rte-data-binding-key" type="text" value="${h(l.key)}" placeholder="${h(
641
+ o.keyPlaceholder
642
+ )}" />
643
+ </div>
644
+ <div class="rte-data-binding-field">
645
+ <label for="rte-data-binding-fallback">${h(o.fallbackLabel)}</label>
646
+ <input id="rte-data-binding-fallback" class="rte-data-binding-fallback" type="text" value="${h(
647
+ l.fallback || ""
648
+ )}" placeholder="${h(o.fallbackPlaceholder)}" />
649
+ </div>
650
+ <div class="rte-data-binding-field">
651
+ <label for="rte-data-binding-format">${h(o.formatLabel)}</label>
652
+ <select id="rte-data-binding-format" class="rte-data-binding-format">
653
+ <option value="text" ${l.format === "text" ? "selected" : ""}>Text</option>
654
+ <option value="number" ${l.format === "number" ? "selected" : ""}>Number</option>
655
+ <option value="currency" ${l.format === "currency" ? "selected" : ""}>Currency</option>
656
+ <option value="date" ${l.format === "date" ? "selected" : ""}>Date</option>
657
+ <option value="json" ${l.format === "json" ? "selected" : ""}>JSON</option>
658
+ </select>
659
+ </div>
660
+ <div class="rte-data-binding-field">
661
+ <label for="rte-data-binding-currency">${h(o.currencyLabel)}</label>
662
+ <input id="rte-data-binding-currency" class="rte-data-binding-currency" type="text" maxlength="3" value="${h(
663
+ l.currency || "USD"
664
+ )}" placeholder="${h(o.currencyPlaceholder)}" />
665
+ </div>
666
+ <p class="rte-data-binding-help">Use dot paths like <code>user.name</code> or <code>order.total</code>.</p>
667
+ </div>
668
+ <footer class="rte-data-binding-footer">
669
+ <button type="button" class="rte-data-binding-btn" data-action="cancel">${h(o.cancelText)}</button>
670
+ <button type="button" class="rte-data-binding-btn rte-data-binding-btn-primary" data-action="save">${h(o.saveText)}</button>
671
+ </footer>
672
+ `, d.appendChild(u), document.body.appendChild(d);
673
+ const s = u.querySelector(".rte-data-binding-key"), m = u.querySelector(".rte-data-binding-fallback"), f = u.querySelector(".rte-data-binding-format"), T = u.querySelector(".rte-data-binding-currency"), $ = () => {
674
+ const c = (f == null ? void 0 : f.value) === "currency", y = T == null ? void 0 : T.closest(".rte-data-binding-field");
675
+ y && (y.style.display = c ? "grid" : "none");
676
+ };
677
+ $(), f == null || f.addEventListener("change", $);
678
+ const x = () => {
679
+ d.removeEventListener("click", nt), d.removeEventListener("keydown", rt, !0), document.removeEventListener("keydown", F, !0), d.parentNode && d.parentNode.removeChild(d), K = null, t.focus({ preventScroll: !0 });
680
+ }, F = (c) => {
681
+ c.key === "Escape" && (c.preventDefault(), c.stopPropagation(), x());
682
+ }, nt = (c) => {
683
+ c.target === d && x();
684
+ }, mt = (c) => {
685
+ if (c.key !== "Tab") return;
686
+ const y = Array.from(
687
+ u.querySelectorAll('button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')
688
+ );
689
+ if (y.length === 0) return;
690
+ const E = y[0], D = y[y.length - 1], N = document.activeElement;
691
+ if (c.shiftKey && N === E) {
692
+ c.preventDefault(), D.focus();
693
+ return;
694
+ }
695
+ !c.shiftKey && N === D && (c.preventDefault(), E.focus());
696
+ }, at = async () => {
697
+ const c = ((s == null ? void 0 : s.value) || "").trim();
698
+ if (!c) {
699
+ s == null || s.focus();
700
+ return;
701
+ }
702
+ const y = j(
703
+ {
704
+ key: c,
705
+ fallback: ((m == null ? void 0 : m.value) || "").trim(),
706
+ format: (f == null ? void 0 : f.value) || a.defaultFormat,
707
+ currency: ((T == null ? void 0 : T.value) || "USD").trim().toUpperCase()
708
+ },
709
+ a
710
+ ), E = t.innerHTML;
711
+ if (n) {
712
+ tt(n, y, o);
713
+ const D = v.get(t) === !0, N = D ? await U(t, a) : void 0;
714
+ C(n, a, D, N);
715
+ } else {
716
+ if (i)
717
+ try {
718
+ ct(t, i);
719
+ } catch (it) {
720
+ }
721
+ const D = ft(y, o);
722
+ if (gt(t, D), v.get(t) === !0) {
723
+ const it = await U(t, a);
724
+ C(D, a, !0, it);
725
+ }
726
+ }
727
+ Y(t), Q(t, E), x();
728
+ }, rt = (c) => {
729
+ if (c.key === "Escape") {
730
+ c.preventDefault(), x();
731
+ return;
732
+ }
733
+ mt(c), c.key === "Enter" && !c.shiftKey && c.target instanceof HTMLInputElement && (c.preventDefault(), at());
734
+ };
735
+ u.addEventListener("click", (c) => {
736
+ const y = c.target, E = y == null ? void 0 : y.getAttribute("data-action");
737
+ if (E) {
738
+ if (E === "cancel") {
739
+ x();
740
+ return;
741
+ }
742
+ E === "save" && at();
743
+ }
744
+ }), d.addEventListener("click", nt), d.addEventListener("keydown", rt, !0), document.addEventListener("keydown", F, !0), K = { cleanup: x }, s == null || s.focus();
745
+ }
746
+ function Tt(t) {
747
+ V = t, M || (M = (a) => {
748
+ const e = a.target, r = e == null ? void 0 : e.closest(S);
749
+ if (!r) return;
750
+ k = r, g.has(r) || g.set(r, t);
751
+ const n = g.get(r) || t;
752
+ G(r, n);
753
+ const i = v.get(r) === !0;
754
+ et(r, i, n), i || Array.from(r.querySelectorAll(P)).forEach((l) => C(l, n, !1));
755
+ }, document.addEventListener("focusin", M, !0)), O || (O = (a) => {
756
+ if (document.querySelector(`.${p}`)) return;
757
+ const e = a.target;
758
+ if (e != null && e.closest("input, textarea, select")) return;
759
+ const r = A(void 0, !1);
760
+ if (!r || H(r)) return;
761
+ const n = g.get(r) || V || t, i = e == null ? void 0 : e.closest(P);
762
+ if (i && (a.key === "Enter" || a.key === " ")) {
763
+ a.preventDefault(), a.stopPropagation(), k = r, L(r, n, "edit", void 0, i);
764
+ return;
765
+ }
766
+ if (At(a)) {
767
+ a.preventDefault(), a.stopPropagation();
768
+ const o = X(r);
769
+ o ? L(r, n, "edit", void 0, o) : L(r, n, "insert");
770
+ return;
771
+ }
772
+ if (St(a)) {
773
+ a.preventDefault(), a.stopPropagation();
774
+ const o = v.get(r) !== !0;
775
+ Z(r, n, o);
776
+ }
777
+ }, document.addEventListener("keydown", O, !0)), B || (B = (a) => {
778
+ if (document.querySelector(`.${p}`) || a.defaultPrevented || a.button !== 0 || a.metaKey || a.ctrlKey || a.altKey || a.shiftKey) return;
779
+ const e = a.target, r = e == null ? void 0 : e.closest(P);
780
+ if (!r) return;
781
+ const n = r.closest(S);
782
+ if (!n || H(n)) return;
783
+ const i = g.get(n) || V || t;
784
+ g.set(n, i), k = n, a.preventDefault(), a.stopPropagation(), r.focus({ preventScroll: !0 }), L(n, i, "edit", void 0, r);
785
+ }, document.addEventListener("click", B, !0));
786
+ }
787
+ function $t() {
788
+ M && (document.removeEventListener("focusin", M, !0), M = null), O && (document.removeEventListener("keydown", O, !0), O = null), B && (document.removeEventListener("click", B, !0), B = null), V = null, k = null;
789
+ }
790
+ const Lt = (t = {}) => {
791
+ const a = dt(t);
792
+ return vt(), {
793
+ name: "dataBinding",
794
+ toolbar: [
795
+ {
796
+ id: "dataBindingTools",
797
+ label: "Data Binding",
798
+ type: "group",
799
+ command: "openDataBindingDialog",
800
+ items: [
801
+ {
802
+ id: "dataBinding",
803
+ label: "Data Binding",
804
+ command: "openDataBindingDialog",
805
+ icon: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" focusable="false" aria-hidden="true"><path d="M7 4a3 3 0 0 0-3 3v3h2V7a1 1 0 0 1 1-1h3V4H7Zm10 0h-3v2h3a1 1 0 0 1 1 1v3h2V7a3 3 0 0 0-3-3ZM4 14v3a3 3 0 0 0 3 3h3v-2H7a1 1 0 0 1-1-1v-3H4Zm14 0v3a1 1 0 0 1-1 1h-3v2h3a3 3 0 0 0 3-3v-3h-2ZM8.5 12a1.5 1.5 0 1 1 0-3h7a1.5 1.5 0 0 1 0 3h-7Zm0 4a1.5 1.5 0 1 1 0-3h4a1.5 1.5 0 0 1 0 3h-4Z" fill="currentColor"></path></svg>'
806
+ },
807
+ {
808
+ id: "dataBindingPreview",
809
+ label: "Data Preview",
810
+ command: "toggleDataBindingPreview",
811
+ icon: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" focusable="false" aria-hidden="true"><path d="M12 3c-4.4 0-8 1.3-8 3v12c0 1.7 3.6 3 8 3s8-1.3 8-3V6c0-1.7-3.6-3-8-3Zm0 2c3.9 0 6 .9 6 1s-2.1 1-6 1-6-.9-6-1 2.1-1 6-1Zm0 4c3 0 5.6-.5 7-1.3V11c0 .9-2.7 2-7 2s-7-1.1-7-2V7.7C6.4 8.5 9 9 12 9Zm0 6c-4.3 0-7-1.1-7-2v3c0 .9 2.7 2 7 2s7-1.1 7-2v-3c0 .9-2.7 2-7 2Z" fill="currentColor"></path><path d="M16.5 9.4a1 1 0 0 1 1.4 0l1.1 1.1 1.8-1.8a1 1 0 1 1 1.4 1.4l-2.5 2.5a1 1 0 0 1-1.4 0l-1.8-1.8a1 1 0 0 1 0-1.4Z" fill="currentColor"></path></svg>'
812
+ }
813
+ ]
814
+ }
815
+ ],
816
+ commands: {
817
+ openDataBindingDialog: (e, r) => {
818
+ const n = A(r);
819
+ if (!n || H(n)) return !1;
820
+ k = n;
821
+ const i = g.get(n) || a;
822
+ g.set(n, i), G(n, i);
823
+ const o = e == null ? void 0 : e.target;
824
+ if (o === "insert")
825
+ return L(n, i, "insert", e), !0;
826
+ const l = X(n);
827
+ return o === "edit" || l ? !l && o === "edit" ? !1 : (L(n, i, "edit", e, l || void 0), !0) : (L(n, i, "insert", e), !0);
828
+ },
829
+ insertDataBindingToken: async (e, r) => {
830
+ const n = A(r);
831
+ if (!n || H(n)) return !1;
832
+ k = n;
833
+ const i = g.get(n) || a;
834
+ g.set(n, i);
835
+ const o = j(e || {}, i);
836
+ if (!o.key) return !1;
837
+ const l = n.innerHTML, d = ft(o, i.labels);
838
+ if (gt(n, d), v.get(n) === !0) {
839
+ const s = await U(n, i);
840
+ C(d, i, !0, s);
841
+ }
842
+ return Y(n), Q(n, l), !0;
843
+ },
844
+ editDataBindingToken: async (e, r) => {
845
+ const n = A(r);
846
+ if (!n || H(n)) return !1;
847
+ k = n;
848
+ const i = g.get(n) || a;
849
+ g.set(n, i);
850
+ const o = X(n);
851
+ if (!o) return !1;
852
+ const l = W(o, i), d = j({ ...l, ...e || {} }, i);
853
+ if (!d.key) return !1;
854
+ const u = n.innerHTML;
855
+ tt(o, d, i.labels);
856
+ const s = v.get(n) === !0, m = s ? await U(n, i) : void 0;
857
+ return C(o, i, s, m), Y(n), Q(n, u), !0;
858
+ },
859
+ toggleDataBindingPreview: async (e, r) => {
860
+ const n = A(r);
861
+ if (!n) return !1;
862
+ k = n;
863
+ const i = g.get(n) || a;
864
+ g.set(n, i);
865
+ const o = typeof e == "boolean" ? e : v.get(n) !== !0;
866
+ return await Z(n, i, o), !0;
867
+ },
868
+ setDataBindingData: async (e, r) => {
869
+ const n = A(r);
870
+ if (!n) return !1;
871
+ if (k = n, e && typeof e == "object" ? (J.set(n, e), R.set(n, { timestamp: Date.now(), data: e })) : (J.delete(n), R.delete(n)), v.get(n) === !0) {
872
+ const i = g.get(n) || a;
873
+ await Z(n, i, !0);
874
+ }
875
+ return !0;
876
+ },
877
+ refreshDataBindings: async (e, r) => {
878
+ const n = A(r);
879
+ if (!n) return !1;
880
+ k = n, R.delete(n);
881
+ const i = g.get(n) || a;
882
+ g.set(n, i);
883
+ const o = v.get(n) === !0;
884
+ return await Z(n, i, o), !0;
885
+ }
886
+ },
887
+ keymap: {
888
+ "Mod-Alt-Shift-d": "openDataBindingDialog",
889
+ "Mod-Alt-Shift-D": "openDataBindingDialog",
890
+ "Mod-Alt-Shift-b": "toggleDataBindingPreview",
891
+ "Mod-Alt-Shift-B": "toggleDataBindingPreview",
892
+ F7: "openDataBindingDialog",
893
+ F8: "toggleDataBindingPreview"
894
+ },
895
+ init: function(r) {
896
+ z += 1;
897
+ const n = this && typeof this.__pluginConfig == "object" ? dt({ ...a, ...this.__pluginConfig }) : a;
898
+ Tt(n);
899
+ const i = A(
900
+ r && r.editorElement ? { editorElement: r.editorElement } : void 0,
901
+ !1
902
+ );
903
+ if (i) {
904
+ k = i, g.set(i, n), G(i, n);
905
+ const o = v.get(i) === !0;
906
+ et(i, o, n);
907
+ }
908
+ },
909
+ destroy: () => {
910
+ z = Math.max(0, z - 1), z === 0 && (bt(), $t());
911
+ }
912
+ };
913
+ };
914
+ export {
915
+ Lt as DataBindingPlugin
916
+ };
917
+ //# sourceMappingURL=DataBindingPlugin.native-jQ1JPRTp.mjs.map