@stll/folio-vue 0.4.0 → 0.5.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.
@@ -1,14 +1,15 @@
1
1
  import { Fragment as e, Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, inject as u, mergeProps as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, provide as v, reactive as y, ref as b, renderList as x, renderSlot as S, toDisplayString as C, toValue as w, unref as T, vModelCheckbox as E, vModelRadio as D, vModelSelect as O, vModelText as k, watch as A, withCtx as j, withDirectives as M, withKeys as N, withModifiers as P } from "vue";
2
- import { generateThemeTintShadeMatrix as F, resolveColor as I, resolveColorToHex as L, resolveHighlightColor as ee } from "@stll/folio-core/utils/colorResolver";
3
- import { getFolioMessages as R } from "@stll/folio-core/i18n/messages";
4
- import { TextSelection as te } from "prosemirror-state";
5
- import { TWIPS_PER_INCH as z } from "@stll/folio-core/utils/units";
2
+ import { generateThemeTintShadeMatrix as F, resolveColor as I, resolveColorToHex as L, resolveHighlightColor as R } from "@stll/folio-core/utils/colorResolver";
3
+ import { getFolioMessages as z } from "@stll/folio-core/i18n/messages";
4
+ import { TextSelection as B } from "prosemirror-state";
5
+ import { SYMBOL_CATEGORIES as ee, filterSymbols as te } from "@stll/folio-core/symbols";
6
+ import { TWIPS_PER_INCH as ne } from "@stll/folio-core/utils/units";
6
7
  //#region \0rolldown/runtime.js
7
- var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), V = (e, t) => {
8
+ var re = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), V = (e, t) => {
8
9
  let n = e.__vccOpts || e;
9
10
  for (let [e, r] of t) n[e] = r;
10
11
  return n;
11
- }, ne = {
12
+ }, H = {
12
13
  undo: ["M280-200v-80h284q63 0 109.5-40T720-420q0-60-46.5-100T564-560H312l104 104-56 56-200-200 200-200 56 56-104 104h252q97 0 166.5 63T800-420q0 94-69.5 157T564-200H280Z"],
13
14
  redo: ["M396-200q-97 0-166.5-63T160-420q0-94 69.5-157T396-640h252L544-744l56-56 200 200-200 200-56-56 104-104H396q-63 0-109.5 40T240-420q0 60 46.5 100T396-280h284v80H396Z"],
14
15
  print: ["M640-640v-120H320v120h-80v-200h480v200h-80Zm-480 80h640-640Zm560 100q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320Zm80 80H240v-160H80v-240q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v240H720v160Zm80-240v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160h80v-80h480v80h80Z"],
@@ -108,7 +109,7 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
108
109
  format_textdirection_l_to_r: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm0-280v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80ZM680-80l-56-56 64-64H120v-80h568l-64-64 56-56 160 160L680-80Z"],
109
110
  format_textdirection_r_to_l: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm-88 160 64 64-56 56-160-160 160-160 56 56-64 64h568v80H272Zm88-440v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80Z"],
110
111
  "agent-sparkle": ["m760-600-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110Zm0 560-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110ZM360-160 260-380 40-480l220-100 100-220 100 220 220 100-220 100-100 220Zm0-194 40-86 86-40-86-40-40-86-40 86-86 40 86 40 40 86Zm0-126Z"]
111
- }, re = ["width", "height"], H = ["d"], U = /* @__PURE__ */ l({
112
+ }, U = ["width", "height"], ie = ["d"], W = /* @__PURE__ */ l({
112
113
  __name: "MaterialSymbol",
113
114
  props: {
114
115
  name: {},
@@ -117,7 +118,7 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
117
118
  style: {}
118
119
  },
119
120
  setup(t) {
120
- let r = t, i = ne, o = n(() => i[r.name] || (typeof console < "u" && console.warn(`Icon not found: ${r.name}`), null));
121
+ let r = t, i = H, o = n(() => i[r.name] || (typeof console < "u" && console.warn(`Icon not found: ${r.name}`), null));
121
122
  return (n, r) => o.value ? (_(), a("svg", {
122
123
  key: 0,
123
124
  xmlns: "http://www.w3.org/2000/svg",
@@ -135,7 +136,7 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
135
136
  }, [(_(!0), a(e, null, x(o.value, (e, t) => (_(), a("path", {
136
137
  key: t,
137
138
  d: e
138
- }, null, 8, H))), 128))], 14, re)) : (_(), a("span", {
139
+ }, null, 8, ie))), 128))], 14, U)) : (_(), a("span", {
139
140
  key: 1,
140
141
  class: p(t.className),
141
142
  style: m({
@@ -147,7 +148,7 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
147
148
  })
148
149
  }, C(t.name), 7));
149
150
  }
150
- }), W = ["disabled"], ie = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", ae = /* @__PURE__ */ l({
151
+ }), ae = ["disabled"], oe = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", se = /* @__PURE__ */ l({
151
152
  __name: "Button",
152
153
  props: {
153
154
  variant: { default: "default" },
@@ -176,7 +177,7 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
176
177
  xs: "h-7 rounded-md px-2 text-xs",
177
178
  "icon-xs": "h-7 w-7"
178
179
  }, o = n(() => [
179
- ie,
180
+ oe,
180
181
  r[t.variant],
181
182
  i[t.size],
182
183
  t.className
@@ -186,9 +187,9 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
186
187
  class: p(o.value),
187
188
  disabled: e.disabled,
188
189
  onClick: n[0] ||= (e) => t.$emit("click", e)
189
- }, [S(t.$slots, "default")], 10, W));
190
+ }, [S(t.$slots, "default")], 10, ae));
190
191
  }
191
- }), oe = ["checked"], se = /*#__PURE__*/ V(/* @__PURE__ */ l({
192
+ }), G = ["checked"], ce = /*#__PURE__*/ V(/* @__PURE__ */ l({
192
193
  __name: "Checkbox",
193
194
  props: {
194
195
  checked: { type: Boolean },
@@ -205,45 +206,45 @@ var B = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
205
206
  class: p(["folio-default-checkbox", e.className]),
206
207
  checked: e.checked,
207
208
  onChange: r
208
- }, null, 42, oe));
209
+ }, null, 42, G));
209
210
  }
210
- }), [["__scopeId", "data-v-cc413720"]]);
211
+ }), [["__scopeId", "data-v-2e4f5470"]]);
211
212
  //#endregion
212
213
  //#region ../../node_modules/.bun/@formatjs+fast-memoize@3.1.6/node_modules/@formatjs/fast-memoize/index.js
213
- function G(e, t) {
214
- let n = t && t.cache ? t.cache : ge, r = t && t.serializer ? t.serializer : me;
215
- return (t && t.strategy ? t.strategy : de)(e, {
214
+ function le(e, t) {
215
+ let n = t && t.cache ? t.cache : ve, r = t && t.serializer ? t.serializer : ge;
216
+ return (t && t.strategy ? t.strategy : pe)(e, {
216
217
  cache: n,
217
218
  serializer: r
218
219
  });
219
220
  }
220
- function ce(e) {
221
+ function K(e) {
221
222
  return e == null || typeof e == "number" || typeof e == "boolean";
222
223
  }
223
- function le(e, t, n, r) {
224
- let i = ce(r) ? r : n(r), a = t.get(i);
224
+ function ue(e, t, n, r) {
225
+ let i = K(r) ? r : n(r), a = t.get(i);
225
226
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
226
227
  }
227
- function K(e, t, n) {
228
+ function de(e, t, n) {
228
229
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
229
230
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
230
231
  }
231
- function ue(e, t, n, r, i) {
232
+ function fe(e, t, n, r, i) {
232
233
  return n.bind(t, e, r, i);
233
234
  }
234
- function de(e, t) {
235
- let n = e.length === 1 ? le : K;
236
- return ue(e, this, n, t.cache.create(), t.serializer);
235
+ function pe(e, t) {
236
+ let n = e.length === 1 ? ue : de;
237
+ return fe(e, this, n, t.cache.create(), t.serializer);
237
238
  }
238
- function fe(e, t) {
239
- return ue(e, this, K, t.cache.create(), t.serializer);
239
+ function me(e, t) {
240
+ return fe(e, this, de, t.cache.create(), t.serializer);
240
241
  }
241
- function pe(e, t) {
242
- return ue(e, this, le, t.cache.create(), t.serializer);
242
+ function he(e, t) {
243
+ return fe(e, this, ue, t.cache.create(), t.serializer);
243
244
  }
244
- var me = function() {
245
+ var ge = function() {
245
246
  return JSON.stringify(arguments);
246
- }, he = class {
247
+ }, _e = class {
247
248
  constructor() {
248
249
  this.cache = Object.create(null);
249
250
  }
@@ -253,11 +254,11 @@ var me = function() {
253
254
  set(e, t) {
254
255
  this.cache[e] = t;
255
256
  }
256
- }, ge = { create: function() {
257
- return new he();
258
- } }, _e = {
259
- variadic: fe,
260
- monadic: pe
257
+ }, ve = { create: function() {
258
+ return new _e();
259
+ } }, ye = {
260
+ variadic: me,
261
+ monadic: he
261
262
  }, q = class extends Error {
262
263
  constructor(e, t) {
263
264
  let n = e;
@@ -266,7 +267,7 @@ var me = function() {
266
267
  }, J = function(e) {
267
268
  return e.MISSING_MESSAGE = "MISSING_MESSAGE", e.MISSING_FORMAT = "MISSING_FORMAT", e.ENVIRONMENT_FALLBACK = "ENVIRONMENT_FALLBACK", e.INSUFFICIENT_PATH = "INSUFFICIENT_PATH", e.INVALID_MESSAGE = "INVALID_MESSAGE", e.INVALID_KEY = "INVALID_KEY", e.FORMATTING_ERROR = "FORMATTING_ERROR", e;
268
269
  }(J || {});
269
- function ve() {
270
+ function be() {
270
271
  return {
271
272
  dateTime: {},
272
273
  number: {},
@@ -277,22 +278,22 @@ function ve() {
277
278
  displayNames: {}
278
279
  };
279
280
  }
280
- function ye(e, t) {
281
- return G(e, {
281
+ function xe(e, t) {
282
+ return le(e, {
282
283
  cache: (n = t, { create: () => ({
283
284
  get: (e) => n[e],
284
285
  set(e, t) {
285
286
  n[e] = t;
286
287
  }
287
288
  }) }),
288
- strategy: _e.variadic
289
+ strategy: ye.variadic
289
290
  });
290
291
  var n;
291
292
  }
292
293
  function Y(e, t) {
293
- return ye(((...t) => new e(...t)), t);
294
+ return xe(((...t) => new e(...t)), t);
294
295
  }
295
- function be(e) {
296
+ function Se(e) {
296
297
  return {
297
298
  getDateTimeFormat: Y(Intl.DateTimeFormat, e.dateTime),
298
299
  getNumberFormat: Y(Intl.NumberFormat, e.number),
@@ -304,7 +305,7 @@ function be(e) {
304
305
  }
305
306
  //#endregion
306
307
  //#region ../../node_modules/.bun/react@19.2.7/node_modules/react/cjs/react.production.js
307
- var xe = /* @__PURE__ */ B(((e) => {
308
+ var Ce = /* @__PURE__ */ re(((e) => {
308
309
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
309
310
  function m(e) {
310
311
  return typeof e != "object" || !e ? null : (e = p && e[p] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -590,7 +591,7 @@ var xe = /* @__PURE__ */ B(((e) => {
590
591
  }, e.useTransition = function() {
591
592
  return w.H.useTransition();
592
593
  }, e.version = "19.2.7";
593
- })), Se = /* @__PURE__ */ B(((e, t) => {
594
+ })), we = /* @__PURE__ */ re(((e, t) => {
594
595
  process.env.NODE_ENV !== "production" && (function() {
595
596
  function n(e, t) {
596
597
  Object.defineProperty(a.prototype, e, { get: function() {
@@ -598,12 +599,12 @@ var xe = /* @__PURE__ */ B(((e) => {
598
599
  } });
599
600
  }
600
601
  function r(e) {
601
- return typeof e != "object" || !e ? null : (e = W && e[W] || e["@@iterator"], typeof e == "function" ? e : null);
602
+ return typeof e != "object" || !e ? null : (e = ie && e[ie] || e["@@iterator"], typeof e == "function" ? e : null);
602
603
  }
603
604
  function i(e, t) {
604
605
  e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
605
606
  var n = e + "." + t;
606
- ie[n] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", t, e), ie[n] = !0);
607
+ W[n] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", t, e), W[n] = !0);
607
608
  }
608
609
  function a(e, t, n) {
609
610
  this.props = e, this.context = t, this.refs = se, this.updater = n || ae;
@@ -635,20 +636,20 @@ var xe = /* @__PURE__ */ B(((e) => {
635
636
  if (typeof e == "string") return e;
636
637
  switch (e) {
637
638
  case L: return "Fragment";
638
- case R: return "Profiler";
639
- case ee: return "StrictMode";
640
- case V: return "Suspense";
641
- case ne: return "SuspenseList";
639
+ case z: return "Profiler";
640
+ case R: return "StrictMode";
641
+ case ne: return "Suspense";
642
+ case re: return "SuspenseList";
642
643
  case U: return "Activity";
643
644
  }
644
645
  if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
645
646
  case I: return "Portal";
646
- case z: return e.displayName || "Context";
647
- case te: return (e._context.displayName || "Context") + ".Consumer";
648
- case B:
647
+ case ee: return e.displayName || "Context";
648
+ case B: return (e._context.displayName || "Context") + ".Consumer";
649
+ case te:
649
650
  var t = e.render;
650
651
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
651
- case re: return t = e.displayName || null, t === null ? d(e.type) || "Memo" : t;
652
+ case V: return t = e.displayName || null, t === null ? d(e.type) || "Memo" : t;
652
653
  case H:
653
654
  t = e._payload, e = e._init;
654
655
  try {
@@ -788,9 +789,9 @@ var xe = /* @__PURE__ */ B(((e) => {
788
789
  if (s) {
789
790
  s = e, a = a(s);
790
791
  var c = i === "" ? "." + C(s, 0) : i;
791
- return ce(a) ? (n = "", c != null && (n = c.replace(q, "$&/") + "/"), T(a, t, n, "", function(e) {
792
+ return ce(a) ? (n = "", c != null && (n = c.replace(ve, "$&/") + "/"), T(a, t, n, "", function(e) {
792
793
  return e;
793
- })) : a != null && (x(a) && (a.key != null && (s && s.key === a.key || u(a.key)), n = y(a, n + (a.key == null || s && s.key === a.key ? "" : ("" + a.key).replace(q, "$&/") + "/") + c), i !== "" && s != null && x(s) && s.key == null && s._store && !s._store.validated && (n._store.validated = 2), a = n), t.push(a)), 1;
794
+ })) : a != null && (x(a) && (a.key != null && (s && s.key === a.key || u(a.key)), n = y(a, n + (a.key == null || s && s.key === a.key ? "" : ("" + a.key).replace(ve, "$&/") + "/") + c), i !== "" && s != null && x(s) && s.key == null && s._store && !s._store.validated && (n._store.validated = 2), a = n), t.push(a)), 1;
794
795
  }
795
796
  if (s = 0, c = i === "" ? "." : i + ":", ce(e)) for (var l = 0; l < e.length; l++) i = e[l], o = c + C(i, l), s += T(i, t, n, o, a);
796
797
  else if (l = r(e), typeof l == "function") for (l === e.entries && (_e || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), _e = !0), e = l.call(e), l = 0; !(i = e.next()).done;) i = i.value, o = c + C(i, l++), s += T(i, t, n, o, a);
@@ -842,23 +843,23 @@ var xe = /* @__PURE__ */ B(((e) => {
842
843
  K.asyncTransitions--;
843
844
  }
844
845
  function A(e) {
845
- if (ye === null) try {
846
+ if (J === null) try {
846
847
  var n = ("require" + Math.random()).slice(0, 7);
847
- ye = (t && t[n]).call(t, "timers").setImmediate;
848
+ J = (t && t[n]).call(t, "timers").setImmediate;
848
849
  } catch {
849
- ye = function(e) {
850
- !1 === ve && (ve = !0, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
850
+ J = function(e) {
851
+ !1 === q && (q = !0, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
851
852
  var t = new MessageChannel();
852
853
  t.port1.onmessage = e, t.port2.postMessage(void 0);
853
854
  };
854
855
  }
855
- return ye(e);
856
+ return J(e);
856
857
  }
857
858
  function j(e) {
858
859
  return 1 < e.length && typeof AggregateError == "function" ? AggregateError(e) : e[0];
859
860
  }
860
861
  function M(e, t) {
861
- t !== Y - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Y = t;
862
+ t !== be - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), be = t;
862
863
  }
863
864
  function N(e, t, n) {
864
865
  var r = K.actQueue;
@@ -874,8 +875,8 @@ var xe = /* @__PURE__ */ B(((e) => {
874
875
  0 < K.thrownErrors.length ? (r = j(K.thrownErrors), K.thrownErrors.length = 0, n(r)) : t(e);
875
876
  }
876
877
  function P(e) {
877
- if (!xe) {
878
- xe = !0;
878
+ if (!Y) {
879
+ Y = !0;
879
880
  var t = 0;
880
881
  try {
881
882
  for (; t < e.length; t++) {
@@ -896,12 +897,12 @@ var xe = /* @__PURE__ */ B(((e) => {
896
897
  } catch (n) {
897
898
  e.splice(0, t + 1), K.thrownErrors.push(n);
898
899
  } finally {
899
- xe = !1;
900
+ Y = !1;
900
901
  }
901
902
  }
902
903
  }
903
904
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
904
- var F = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), z = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), V = Symbol.for("react.suspense"), ne = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), W = Symbol.iterator, ie = {}, ae = {
905
+ var F = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), re = Symbol.for("react.suspense_list"), V = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), ie = Symbol.iterator, W = {}, ae = {
905
906
  isMounted: function() {
906
907
  return !1;
907
908
  },
@@ -946,7 +947,7 @@ var xe = /* @__PURE__ */ B(((e) => {
946
947
  G = { react_stack_bottom_frame: function(e) {
947
948
  return e();
948
949
  } };
949
- var fe, pe, me = {}, he = G.react_stack_bottom_frame.bind(G, m)(), ge = de(f(m)), _e = !1, q = /\/+/g, J = typeof reportError == "function" ? reportError : function(e) {
950
+ var fe, pe, me = {}, he = G.react_stack_bottom_frame.bind(G, m)(), ge = de(f(m)), _e = !1, ve = /\/+/g, ye = typeof reportError == "function" ? reportError : function(e) {
950
951
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
951
952
  var t = new window.ErrorEvent("error", {
952
953
  bubbles: !0,
@@ -960,7 +961,7 @@ var xe = /* @__PURE__ */ B(((e) => {
960
961
  return;
961
962
  }
962
963
  console.error(e);
963
- }, ve = !1, ye = null, Y = 0, be = !1, xe = !1, Se = typeof queueMicrotask == "function" ? function(e) {
964
+ }, q = !1, J = null, be = 0, xe = !1, Y = !1, Se = typeof queueMicrotask == "function" ? function(e) {
964
965
  queueMicrotask(function() {
965
966
  return queueMicrotask(e);
966
967
  });
@@ -994,9 +995,9 @@ var xe = /* @__PURE__ */ B(((e) => {
994
995
  return e;
995
996
  }
996
997
  };
997
- e.Activity = U, e.Children = Ce, e.Component = a, e.Fragment = L, e.Profiler = R, e.PureComponent = s, e.StrictMode = ee, e.Suspense = V, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = K, e.__COMPILER_RUNTIME = G, e.act = function(e) {
998
- var t = K.actQueue, n = Y;
999
- Y++;
998
+ e.Activity = U, e.Children = Ce, e.Component = a, e.Fragment = L, e.Profiler = z, e.PureComponent = s, e.StrictMode = R, e.Suspense = ne, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = K, e.__COMPILER_RUNTIME = G, e.act = function(e) {
999
+ var t = K.actQueue, n = be;
1000
+ be++;
1000
1001
  var r = K.actQueue = t === null ? [] : t, i = !1;
1001
1002
  try {
1002
1003
  var a = e();
@@ -1007,7 +1008,7 @@ var xe = /* @__PURE__ */ B(((e) => {
1007
1008
  if (typeof a == "object" && a && typeof a.then == "function") {
1008
1009
  var o = a;
1009
1010
  return Se(function() {
1010
- i || be || (be = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1011
+ i || xe || (xe = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1011
1012
  }), { then: function(e, a) {
1012
1013
  i = !0, o.then(function(i) {
1013
1014
  if (M(t, n), n === 0) {
@@ -1030,7 +1031,7 @@ var xe = /* @__PURE__ */ B(((e) => {
1030
1031
  }
1031
1032
  var s = a;
1032
1033
  if (M(t, n), n === 0 && (P(r), r.length !== 0 && Se(function() {
1033
- i || be || (be = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
1034
+ i || xe || (xe = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
1034
1035
  }), K.actQueue = null), 0 < K.thrownErrors.length) throw e = j(K.thrownErrors), K.thrownErrors.length = 0, e;
1035
1036
  return { then: function(e, t) {
1036
1037
  i = !0, n === 0 ? (K.actQueue = r, A(function() {
@@ -1071,14 +1072,14 @@ var xe = /* @__PURE__ */ B(((e) => {
1071
1072
  return r;
1072
1073
  }, e.createContext = function(e) {
1073
1074
  return e = {
1074
- $$typeof: z,
1075
+ $$typeof: ee,
1075
1076
  _currentValue: e,
1076
1077
  _currentValue2: e,
1077
1078
  _threadCount: 0,
1078
1079
  Provider: null,
1079
1080
  Consumer: null
1080
1081
  }, e.Provider = e, e.Consumer = {
1081
- $$typeof: te,
1082
+ $$typeof: B,
1082
1083
  _context: e
1083
1084
  }, e._currentRenderer = null, e._currentRenderer2 = null, e;
1084
1085
  }, e.createElement = function(e, t, n) {
@@ -1100,9 +1101,9 @@ var xe = /* @__PURE__ */ B(((e) => {
1100
1101
  var e = { current: null };
1101
1102
  return Object.seal(e), e;
1102
1103
  }, e.forwardRef = function(e) {
1103
- e != null && e.$$typeof === re ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e == "function" ? e.length !== 0 && e.length !== 2 && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.") : console.error("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), e != null && e.defaultProps != null && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1104
+ e != null && e.$$typeof === V ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e == "function" ? e.length !== 0 && e.length !== 2 && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.") : console.error("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), e != null && e.defaultProps != null && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1104
1105
  var t = {
1105
- $$typeof: B,
1106
+ $$typeof: te,
1106
1107
  render: e
1107
1108
  }, n;
1108
1109
  return Object.defineProperty(t, "displayName", {
@@ -1136,7 +1137,7 @@ var xe = /* @__PURE__ */ B(((e) => {
1136
1137
  return e._ioInfo = n, t._debugInfo = [{ awaited: n }], t;
1137
1138
  }, e.memo = function(e, t) {
1138
1139
  e ?? console.error("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e), t = {
1139
- $$typeof: re,
1140
+ $$typeof: V,
1140
1141
  type: e,
1141
1142
  compare: t === void 0 ? null : t
1142
1143
  };
@@ -1156,9 +1157,9 @@ var xe = /* @__PURE__ */ B(((e) => {
1156
1157
  n._updatedFibers = /* @__PURE__ */ new Set(), K.T = n;
1157
1158
  try {
1158
1159
  var r = e(), i = K.S;
1159
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && (K.asyncTransitions++, r.then(k, k), r.then(c, J));
1160
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && (K.asyncTransitions++, r.then(k, k), r.then(c, ye));
1160
1161
  } catch (e) {
1161
- J(e);
1162
+ ye(e);
1162
1163
  } finally {
1163
1164
  t === null && n._updatedFibers && (e = n._updatedFibers.size, n._updatedFibers.clear(), 10 < e && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), t !== null && n.types !== null && (t.types !== null && t.types !== n.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), t.types = n.types), K.T = t;
1164
1165
  }
@@ -1172,7 +1173,7 @@ var xe = /* @__PURE__ */ B(((e) => {
1172
1173
  return O().useCallback(e, t);
1173
1174
  }, e.useContext = function(e) {
1174
1175
  var t = O();
1175
- return e.$$typeof === te && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"), t.useContext(e);
1176
+ return e.$$typeof === B && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"), t.useContext(e);
1176
1177
  }, e.useDebugValue = function(e, t) {
1177
1178
  return O().useDebugValue(e, t);
1178
1179
  }, e.useDeferredValue = function(e, t) {
@@ -1205,12 +1206,12 @@ var xe = /* @__PURE__ */ B(((e) => {
1205
1206
  return O().useTransition();
1206
1207
  }, e.version = "19.2.7", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1207
1208
  })();
1208
- })), Ce = (/* @__PURE__ */ B(((e, t) => {
1209
- process.env.NODE_ENV === "production" ? t.exports = xe() : t.exports = Se();
1210
- })))(), we = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1211
- function Te(e) {
1209
+ })), Te = (/* @__PURE__ */ re(((e, t) => {
1210
+ process.env.NODE_ENV === "production" ? t.exports = Ce() : t.exports = we();
1211
+ })))(), Ee = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1212
+ function De(e) {
1212
1213
  let t = {};
1213
- return e.replace(we, (e) => {
1214
+ return e.replace(Ee, (e) => {
1214
1215
  let n = e.length;
1215
1216
  switch (e[0]) {
1216
1217
  case "G":
@@ -1305,10 +1306,10 @@ function Te(e) {
1305
1306
  return "";
1306
1307
  }), t;
1307
1308
  }
1308
- var Ee = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1309
- function De(e) {
1309
+ var Oe = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1310
+ function ke(e) {
1310
1311
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
1311
- let t = e.split(Ee).filter((e) => e.length > 0), n = [];
1312
+ let t = e.split(Oe).filter((e) => e.length > 0), n = [];
1312
1313
  for (let e of t) {
1313
1314
  let t = e.split("/");
1314
1315
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -1321,17 +1322,17 @@ function De(e) {
1321
1322
  }
1322
1323
  return n;
1323
1324
  }
1324
- function Oe(e) {
1325
+ function Ae(e) {
1325
1326
  return e.replace(/^(.*?)-/, "");
1326
1327
  }
1327
- var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ae = /^(@+)?(\+|#+)?[rs]?$/g, je = /(\*)(0+)|(#+)(0+)|(0+)/g, Me = /^(0+)$/;
1328
- function Ne(e) {
1328
+ var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Me = /^(@+)?(\+|#+)?[rs]?$/g, Ne = /(\*)(0+)|(#+)(0+)|(0+)/g, Pe = /^(0+)$/;
1329
+ function Fe(e) {
1329
1330
  let t = {};
1330
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ae, function(e, n, r) {
1331
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Me, function(e, n, r) {
1331
1332
  return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
1332
1333
  }), t;
1333
1334
  }
1334
- function Pe(e) {
1335
+ function Ie(e) {
1335
1336
  switch (e) {
1336
1337
  case "sign-auto": return { signDisplay: "auto" };
1337
1338
  case "sign-accounting":
@@ -1354,19 +1355,19 @@ function Pe(e) {
1354
1355
  case "+_": return { signDisplay: "never" };
1355
1356
  }
1356
1357
  }
1357
- function Fe(e) {
1358
+ function Le(e) {
1358
1359
  let t;
1359
1360
  if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
1360
1361
  let n = e.slice(0, 2);
1361
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Me.test(e)) throw Error("Malformed concise eng/scientific notation");
1362
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pe.test(e)) throw Error("Malformed concise eng/scientific notation");
1362
1363
  t.minimumIntegerDigits = e.length;
1363
1364
  }
1364
1365
  return t;
1365
1366
  }
1366
- function Ie(e) {
1367
- return Pe(e) || {};
1367
+ function Re(e) {
1368
+ return Ie(e) || {};
1368
1369
  }
1369
- function Le(e) {
1370
+ function ze(e) {
1370
1371
  let t = {};
1371
1372
  for (let n of e) {
1372
1373
  switch (n.stem) {
@@ -1390,7 +1391,7 @@ function Le(e) {
1390
1391
  continue;
1391
1392
  case "measure-unit":
1392
1393
  case "unit":
1393
- t.style = "unit", t.unit = Oe(n.options[0]);
1394
+ t.style = "unit", t.unit = Ae(n.options[0]);
1394
1395
  continue;
1395
1396
  case "compact-short":
1396
1397
  case "K":
@@ -1406,7 +1407,7 @@ function Le(e) {
1406
1407
  notation: "scientific",
1407
1408
  ...n.options.reduce((e, t) => ({
1408
1409
  ...e,
1409
- ...Ie(t)
1410
+ ...Re(t)
1410
1411
  }), {})
1411
1412
  };
1412
1413
  continue;
@@ -1416,7 +1417,7 @@ function Le(e) {
1416
1417
  notation: "engineering",
1417
1418
  ...n.options.reduce((e, t) => ({
1418
1419
  ...e,
1419
- ...Ie(t)
1420
+ ...Re(t)
1420
1421
  }), {})
1421
1422
  };
1422
1423
  continue;
@@ -1461,7 +1462,7 @@ function Le(e) {
1461
1462
  continue;
1462
1463
  case "integer-width":
1463
1464
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
1464
- n.options[0].replace(je, function(e, n, r, i, a, o) {
1465
+ n.options[0].replace(Ne, function(e, n, r, i, a, o) {
1465
1466
  if (n) t.minimumIntegerDigits = r.length;
1466
1467
  else if (i && a) throw Error("We currently do not support maximum integer digits");
1467
1468
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -1469,13 +1470,13 @@ function Le(e) {
1469
1470
  });
1470
1471
  continue;
1471
1472
  }
1472
- if (Me.test(n.stem)) {
1473
+ if (Pe.test(n.stem)) {
1473
1474
  t.minimumIntegerDigits = n.stem.length;
1474
1475
  continue;
1475
1476
  }
1476
- if (ke.test(n.stem)) {
1477
+ if (je.test(n.stem)) {
1477
1478
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
1478
- n.stem.replace(ke, function(e, n, r, i, a, o) {
1479
+ n.stem.replace(je, function(e, n, r, i, a, o) {
1479
1480
  return r === "*" ? t.minimumFractionDigits = n.length : i && i[0] === "#" ? t.maximumFractionDigits = i.length : a && o ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + o.length) : (t.minimumFractionDigits = n.length, t.maximumFractionDigits = n.length), "";
1480
1481
  });
1481
1482
  let e = n.options[0];
@@ -1484,23 +1485,23 @@ function Le(e) {
1484
1485
  trailingZeroDisplay: "stripIfInteger"
1485
1486
  } : e && (t = {
1486
1487
  ...t,
1487
- ...Ne(e)
1488
+ ...Fe(e)
1488
1489
  });
1489
1490
  continue;
1490
1491
  }
1491
- if (Ae.test(n.stem)) {
1492
+ if (Me.test(n.stem)) {
1492
1493
  t = {
1493
1494
  ...t,
1494
- ...Ne(n.stem)
1495
+ ...Fe(n.stem)
1495
1496
  };
1496
1497
  continue;
1497
1498
  }
1498
- let e = Pe(n.stem);
1499
+ let e = Ie(n.stem);
1499
1500
  e && (t = {
1500
1501
  ...t,
1501
1502
  ...e
1502
1503
  });
1503
- let r = Fe(n.stem);
1504
+ let r = Le(n.stem);
1504
1505
  r && (t = {
1505
1506
  ...t,
1506
1507
  ...r
@@ -1510,43 +1511,43 @@ function Le(e) {
1510
1511
  }
1511
1512
  //#endregion
1512
1513
  //#region ../../node_modules/.bun/@formatjs+icu-messageformat-parser@3.5.12/node_modules/@formatjs/icu-messageformat-parser/index.js
1513
- var Re = /* @__PURE__ */ function(e) {
1514
+ var Be = /* @__PURE__ */ function(e) {
1514
1515
  return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
1515
1516
  }({});
1516
- function ze(e) {
1517
+ function Ve(e) {
1517
1518
  return e.type === 0;
1518
1519
  }
1519
- function Be(e) {
1520
+ function He(e) {
1520
1521
  return e.type === 1;
1521
1522
  }
1522
- function Ve(e) {
1523
+ function Ue(e) {
1523
1524
  return e.type === 2;
1524
1525
  }
1525
- function He(e) {
1526
+ function We(e) {
1526
1527
  return e.type === 3;
1527
1528
  }
1528
- function Ue(e) {
1529
+ function Ge(e) {
1529
1530
  return e.type === 4;
1530
1531
  }
1531
- function We(e) {
1532
+ function Ke(e) {
1532
1533
  return e.type === 5;
1533
1534
  }
1534
- function Ge(e) {
1535
+ function qe(e) {
1535
1536
  return e.type === 6;
1536
1537
  }
1537
- function Ke(e) {
1538
+ function Je(e) {
1538
1539
  return e.type === 7;
1539
1540
  }
1540
- function qe(e) {
1541
+ function Ye(e) {
1541
1542
  return e.type === 8;
1542
1543
  }
1543
- function Je(e) {
1544
+ function Xe(e) {
1544
1545
  return !!(e && typeof e == "object" && e.type === 0);
1545
1546
  }
1546
- function Ye(e) {
1547
+ function Ze(e) {
1547
1548
  return !!(e && typeof e == "object" && e.type === 1);
1548
1549
  }
1549
- var Xe = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ze = {
1550
+ var Qe = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $e = {
1550
1551
  "001": ["H", "h"],
1551
1552
  419: [
1552
1553
  "h",
@@ -2709,21 +2710,21 @@ var Xe = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ze = {
2709
2710
  "h"
2710
2711
  ]
2711
2712
  };
2712
- function Qe(e, t) {
2713
+ function et(e, t) {
2713
2714
  let n = "";
2714
2715
  for (let r = 0; r < e.length; r++) {
2715
2716
  let i = e.charAt(r);
2716
2717
  if (i === "j") {
2717
2718
  let a = 0;
2718
2719
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
2719
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = $e(t);
2720
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = tt(t);
2720
2721
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
2721
2722
  for (; o-- > 0;) n = c + n;
2722
2723
  } else i === "J" ? n += "H" : n += i;
2723
2724
  }
2724
2725
  return n;
2725
2726
  }
2726
- function $e(e) {
2727
+ function tt(e) {
2727
2728
  let t = e.hourCycle;
2728
2729
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
2729
2730
  case "h24": return "k";
@@ -2733,32 +2734,32 @@ function $e(e) {
2733
2734
  default: throw Error("Invalid hourCycle");
2734
2735
  }
2735
2736
  let n = e.language, r;
2736
- return n !== "root" && (r = e.maximize().region), (Ze[r || ""] || Ze[n || ""] || Ze[`${n}-001`] || Ze["001"])[0];
2737
+ return n !== "root" && (r = e.maximize().region), ($e[r || ""] || $e[n || ""] || $e[`${n}-001`] || $e["001"])[0];
2737
2738
  }
2738
- var et = RegExp(`^${Xe.source}*`), tt = RegExp(`${Xe.source}*$`);
2739
+ var nt = RegExp(`^${Qe.source}*`), rt = RegExp(`${Qe.source}*$`);
2739
2740
  function X(e, t) {
2740
2741
  return {
2741
2742
  start: e,
2742
2743
  end: t
2743
2744
  };
2744
2745
  }
2745
- var nt = !!Object.fromEntries, rt = !!String.prototype.trimStart, it = !!String.prototype.trimEnd, at = nt ? Object.fromEntries : function(e) {
2746
+ var it = !!Object.fromEntries, at = !!String.prototype.trimStart, ot = !!String.prototype.trimEnd, st = it ? Object.fromEntries : function(e) {
2746
2747
  let t = {};
2747
2748
  for (let [n, r] of e) t[n] = r;
2748
2749
  return t;
2749
- }, ot = rt ? function(e) {
2750
+ }, ct = at ? function(e) {
2750
2751
  return e.trimStart();
2751
2752
  } : function(e) {
2752
- return e.replace(et, "");
2753
- }, st = it ? function(e) {
2753
+ return e.replace(nt, "");
2754
+ }, lt = ot ? function(e) {
2754
2755
  return e.trimEnd();
2755
2756
  } : function(e) {
2756
- return e.replace(tt, "");
2757
- }, ct = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2758
- function lt(e, t) {
2759
- return ct.lastIndex = t, ct.exec(e)[1] ?? "";
2757
+ return e.replace(rt, "");
2758
+ }, ut = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2759
+ function dt(e, t) {
2760
+ return ut.lastIndex = t, ut.exec(e)[1] ?? "";
2760
2761
  }
2761
- function ut(e) {
2762
+ function ft(e) {
2762
2763
  if (e.length === 0) return null;
2763
2764
  let t = 1, n = 1;
2764
2765
  for (let r = 0; r < e.length;) {
@@ -2782,7 +2783,7 @@ function ut(e) {
2782
2783
  column: n
2783
2784
  };
2784
2785
  }
2785
- var dt = class {
2786
+ var pt = class {
2786
2787
  constructor(e, t = {}) {
2787
2788
  this.message = e, this.position = {
2788
2789
  offset: 0,
@@ -2795,7 +2796,7 @@ var dt = class {
2795
2796
  if (this.message.length > 0) {
2796
2797
  let e = this.message.charCodeAt(0);
2797
2798
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
2798
- let e = ut(this.message);
2799
+ let e = ft(this.message);
2799
2800
  if (e) {
2800
2801
  let t = this.clonePosition();
2801
2802
  return this.position = e, {
@@ -2829,7 +2830,7 @@ var dt = class {
2829
2830
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
2830
2831
  if (n) break;
2831
2832
  return this.error(26, X(this.clonePosition(), this.clonePosition()));
2832
- } else if (i === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
2833
+ } else if (i === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2833
2834
  let n = this.parseTag(e, t);
2834
2835
  if (n.err) return n;
2835
2836
  r.push(n.val);
@@ -2861,7 +2862,7 @@ var dt = class {
2861
2862
  if (i.err) return i;
2862
2863
  let a = i.val, o = this.clonePosition();
2863
2864
  if (this.bumpIf("</")) {
2864
- if (this.isEOF() || !ft(this.char())) return this.error(23, X(o, this.clonePosition()));
2865
+ if (this.isEOF() || !mt(this.char())) return this.error(23, X(o, this.clonePosition()));
2865
2866
  let e = this.clonePosition();
2866
2867
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
2867
2868
  val: {
@@ -2877,7 +2878,7 @@ var dt = class {
2877
2878
  }
2878
2879
  parseTagName() {
2879
2880
  let e = this.offset();
2880
- for (this.bump(); !this.isEOF() && mt(this.char());) this.bump();
2881
+ for (this.bump(); !this.isEOF() && gt(this.char());) this.bump();
2881
2882
  return this.message.slice(e, this.offset());
2882
2883
  }
2883
2884
  parseLiteral(e, t) {
@@ -2911,7 +2912,7 @@ var dt = class {
2911
2912
  };
2912
2913
  }
2913
2914
  tryParseLeftAngleBracket() {
2914
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !pt(this.peek() || 0)) ? (this.bump(), "<") : null;
2915
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ht(this.peek() || 0)) ? (this.bump(), "<") : null;
2915
2916
  }
2916
2917
  tryParseQuote(e) {
2917
2918
  if (this.isEOF() || this.char() !== 39) return null;
@@ -2966,7 +2967,7 @@ var dt = class {
2966
2967
  }
2967
2968
  }
2968
2969
  parseIdentifierIfPossible() {
2969
- let e = this.clonePosition(), t = this.offset(), n = lt(this.message, t), r = t + n.length;
2970
+ let e = this.clonePosition(), t = this.offset(), n = dt(this.message, t), r = t + n.length;
2970
2971
  return this.bumpTo(r), {
2971
2972
  value: n,
2972
2973
  location: X(e, this.clonePosition())
@@ -2985,7 +2986,7 @@ var dt = class {
2985
2986
  this.bumpSpace();
2986
2987
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
2987
2988
  if (n.err) return n;
2988
- let r = st(n.val);
2989
+ let r = lt(n.val);
2989
2990
  if (r.length === 0) return this.error(6, X(this.clonePosition(), this.clonePosition()));
2990
2991
  e = {
2991
2992
  style: r,
@@ -2996,7 +2997,7 @@ var dt = class {
2996
2997
  if (t.err) return t;
2997
2998
  let i = X(r, this.clonePosition());
2998
2999
  if (e && e.style.startsWith("::")) {
2999
- let t = ot(e.style.slice(2));
3000
+ let t = ct(e.style.slice(2));
3000
3001
  if (a === "number") {
3001
3002
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
3002
3003
  return r.err ? r : {
@@ -3011,12 +3012,12 @@ var dt = class {
3011
3012
  } else {
3012
3013
  if (t.length === 0) return this.error(10, i);
3013
3014
  let r = t;
3014
- this.locale && (r = Qe(t, this.locale));
3015
+ this.locale && (r = et(t, this.locale));
3015
3016
  let o = {
3016
3017
  type: 1,
3017
3018
  pattern: r,
3018
3019
  location: e.styleLocation,
3019
- parsedOptions: this.shouldParseSkeletons ? Te(r) : {}
3020
+ parsedOptions: this.shouldParseSkeletons ? De(r) : {}
3020
3021
  };
3021
3022
  return {
3022
3023
  val: {
@@ -3062,7 +3063,7 @@ var dt = class {
3062
3063
  val: {
3063
3064
  type: 5,
3064
3065
  value: n,
3065
- options: at(c.val),
3066
+ options: st(c.val),
3066
3067
  location: u
3067
3068
  },
3068
3069
  err: null
@@ -3070,7 +3071,7 @@ var dt = class {
3070
3071
  val: {
3071
3072
  type: 6,
3072
3073
  value: n,
3073
- options: at(c.val),
3074
+ options: st(c.val),
3074
3075
  offset: s,
3075
3076
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3076
3077
  location: u
@@ -3119,7 +3120,7 @@ var dt = class {
3119
3120
  parseNumberSkeletonFromString(e, t) {
3120
3121
  let n = [];
3121
3122
  try {
3122
- n = De(e);
3123
+ n = ke(e);
3123
3124
  } catch {
3124
3125
  return this.error(7, t);
3125
3126
  }
@@ -3128,7 +3129,7 @@ var dt = class {
3128
3129
  type: 0,
3129
3130
  tokens: n,
3130
3131
  location: t,
3131
- parsedOptions: this.shouldParseSkeletons ? Le(n) : {}
3132
+ parsedOptions: this.shouldParseSkeletons ? ze(n) : {}
3132
3133
  },
3133
3134
  err: null
3134
3135
  };
@@ -3233,7 +3234,7 @@ var dt = class {
3233
3234
  }
3234
3235
  }
3235
3236
  bumpSpace() {
3236
- for (; !this.isEOF() && ht(this.char());) this.bump();
3237
+ for (; !this.isEOF() && _t(this.char());) this.bump();
3237
3238
  }
3238
3239
  peek() {
3239
3240
  if (this.isEOF()) return null;
@@ -3241,83 +3242,83 @@ var dt = class {
3241
3242
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
3242
3243
  }
3243
3244
  };
3244
- function ft(e) {
3245
+ function mt(e) {
3245
3246
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3246
3247
  }
3247
- function pt(e) {
3248
- return ft(e) || e === 47;
3248
+ function ht(e) {
3249
+ return mt(e) || e === 47;
3249
3250
  }
3250
- function mt(e) {
3251
+ function gt(e) {
3251
3252
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3252
3253
  }
3253
- function ht(e) {
3254
+ function _t(e) {
3254
3255
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3255
3256
  }
3256
- function gt(e) {
3257
+ function vt(e) {
3257
3258
  e.forEach((e) => {
3258
- if (delete e.location, We(e) || Ge(e)) for (let t in e.options) delete e.options[t].location, gt(e.options[t].value);
3259
- else Ve(e) && Je(e.style) || (He(e) || Ue(e)) && Ye(e.style) ? delete e.style.location : qe(e) && gt(e.children);
3259
+ if (delete e.location, Ke(e) || qe(e)) for (let t in e.options) delete e.options[t].location, vt(e.options[t].value);
3260
+ else Ue(e) && Xe(e.style) || (We(e) || Ge(e)) && Ze(e.style) ? delete e.style.location : Ye(e) && vt(e.children);
3260
3261
  });
3261
3262
  }
3262
- function _t(e, t = {}) {
3263
+ function yt(e, t = {}) {
3263
3264
  t = {
3264
3265
  shouldParseSkeletons: !0,
3265
3266
  requiresOtherClause: !0,
3266
3267
  ...t
3267
3268
  };
3268
- let n = new dt(e, t).parse();
3269
+ let n = new pt(e, t).parse();
3269
3270
  if (n.err) {
3270
- let e = SyntaxError(Re[n.err.kind]);
3271
+ let e = SyntaxError(Be[n.err.kind]);
3271
3272
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
3272
3273
  }
3273
- return t?.captureLocation || gt(n.val), n.val;
3274
+ return t?.captureLocation || vt(n.val), n.val;
3274
3275
  }
3275
3276
  //#endregion
3276
3277
  //#region ../../node_modules/.bun/intl-messageformat@11.2.9/node_modules/intl-messageformat/index.js
3277
- var vt = class extends Error {
3278
+ var bt = class extends Error {
3278
3279
  constructor(e, t, n) {
3279
3280
  super(e), this.code = t, this.originalMessage = n;
3280
3281
  }
3281
3282
  toString() {
3282
3283
  return `[formatjs Error: ${this.code}] ${this.message}`;
3283
3284
  }
3284
- }, yt = class extends vt {
3285
+ }, xt = class extends bt {
3285
3286
  constructor(e, t, n, r) {
3286
3287
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
3287
3288
  }
3288
- }, bt = class extends vt {
3289
+ }, St = class extends bt {
3289
3290
  constructor(e, t, n) {
3290
3291
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
3291
3292
  }
3292
- }, xt = class extends vt {
3293
+ }, Ct = class extends bt {
3293
3294
  constructor(e, t) {
3294
3295
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
3295
3296
  }
3296
3297
  };
3297
- function St(e) {
3298
+ function wt(e) {
3298
3299
  return e.length < 2 ? e : e.reduce((e, t) => {
3299
3300
  let n = e[e.length - 1];
3300
3301
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
3301
3302
  }, []);
3302
3303
  }
3303
- function Ct(e) {
3304
+ function Tt(e) {
3304
3305
  return typeof e == "function";
3305
3306
  }
3306
- function wt(e, t, n, r, i, a, o) {
3307
- if (e.length === 1 && ze(e[0])) return [{
3307
+ function Et(e, t, n, r, i, a, o) {
3308
+ if (e.length === 1 && Ve(e[0])) return [{
3308
3309
  type: 0,
3309
3310
  value: e[0].value
3310
3311
  }];
3311
3312
  let s = [];
3312
3313
  for (let c of e) {
3313
- if (ze(c)) {
3314
+ if (Ve(c)) {
3314
3315
  s.push({
3315
3316
  type: 0,
3316
3317
  value: c.value
3317
3318
  });
3318
3319
  continue;
3319
3320
  }
3320
- if (Ke(c)) {
3321
+ if (Je(c)) {
3321
3322
  typeof a == "number" && s.push({
3322
3323
  type: 0,
3323
3324
  value: n.getNumberFormat(t).format(a)
@@ -3325,33 +3326,33 @@ function wt(e, t, n, r, i, a, o) {
3325
3326
  continue;
3326
3327
  }
3327
3328
  let { value: e } = c;
3328
- if (!(i && e in i)) throw new xt(e, o);
3329
+ if (!(i && e in i)) throw new Ct(e, o);
3329
3330
  let l = i[e];
3330
- if (Be(c)) {
3331
+ if (He(c)) {
3331
3332
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
3332
3333
  type: typeof l == "string" ? 0 : 1,
3333
3334
  value: l
3334
3335
  });
3335
3336
  continue;
3336
3337
  }
3337
- if (He(c)) {
3338
- let e = typeof c.style == "string" ? r.date[c.style] : Ye(c.style) ? c.style.parsedOptions : void 0;
3338
+ if (We(c)) {
3339
+ let e = typeof c.style == "string" ? r.date[c.style] : Ze(c.style) ? c.style.parsedOptions : void 0;
3339
3340
  s.push({
3340
3341
  type: 0,
3341
3342
  value: n.getDateTimeFormat(t, e).format(l)
3342
3343
  });
3343
3344
  continue;
3344
3345
  }
3345
- if (Ue(c)) {
3346
- let e = typeof c.style == "string" ? r.time[c.style] : Ye(c.style) ? c.style.parsedOptions : r.time.medium;
3346
+ if (Ge(c)) {
3347
+ let e = typeof c.style == "string" ? r.time[c.style] : Ze(c.style) ? c.style.parsedOptions : r.time.medium;
3347
3348
  s.push({
3348
3349
  type: 0,
3349
3350
  value: n.getDateTimeFormat(t, e).format(l)
3350
3351
  });
3351
3352
  continue;
3352
3353
  }
3353
- if (Ve(c)) {
3354
- let e = typeof c.style == "string" ? r.number[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3354
+ if (Ue(c)) {
3355
+ let e = typeof c.style == "string" ? r.number[c.style] : Xe(c.style) ? c.style.parsedOptions : void 0;
3355
3356
  if (e && e.scale) {
3356
3357
  let t = e.scale || 1;
3357
3358
  if (typeof l == "bigint") {
@@ -3365,37 +3366,37 @@ function wt(e, t, n, r, i, a, o) {
3365
3366
  });
3366
3367
  continue;
3367
3368
  }
3368
- if (qe(c)) {
3369
+ if (Ye(c)) {
3369
3370
  let { children: e, value: l } = c, u = i[l];
3370
- if (!Ct(u)) throw new bt(l, "function", o);
3371
- let d = u(wt(e, t, n, r, i, a).map((e) => e.value));
3371
+ if (!Tt(u)) throw new St(l, "function", o);
3372
+ let d = u(Et(e, t, n, r, i, a).map((e) => e.value));
3372
3373
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
3373
3374
  type: typeof e == "string" ? 0 : 1,
3374
3375
  value: e
3375
3376
  })));
3376
3377
  }
3377
- if (We(c)) {
3378
+ if (Ke(c)) {
3378
3379
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
3379
- if (!a) throw new yt(c.value, l, Object.keys(c.options), o);
3380
- s.push(...wt(a.value, t, n, r, i));
3380
+ if (!a) throw new xt(c.value, l, Object.keys(c.options), o);
3381
+ s.push(...Et(a.value, t, n, r, i));
3381
3382
  continue;
3382
3383
  }
3383
- if (Ge(c)) {
3384
+ if (qe(c)) {
3384
3385
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
3385
3386
  if (!a) {
3386
- if (!Intl.PluralRules) throw new vt("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
3387
+ if (!Intl.PluralRules) throw new bt("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
3387
3388
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
3388
3389
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
3389
3390
  }
3390
- if (!a) throw new yt(c.value, l, Object.keys(c.options), o);
3391
+ if (!a) throw new xt(c.value, l, Object.keys(c.options), o);
3391
3392
  let u = typeof l == "bigint" ? Number(l) : l;
3392
- s.push(...wt(a.value, t, n, r, i, u - (c.offset || 0)));
3393
+ s.push(...Et(a.value, t, n, r, i, u - (c.offset || 0)));
3393
3394
  continue;
3394
3395
  }
3395
3396
  }
3396
- return St(s);
3397
+ return wt(s);
3397
3398
  }
3398
- function Tt(e, t) {
3399
+ function Dt(e, t) {
3399
3400
  return t ? {
3400
3401
  ...e,
3401
3402
  ...t,
@@ -3405,10 +3406,10 @@ function Tt(e, t) {
3405
3406
  }, n), {})
3406
3407
  } : e;
3407
3408
  }
3408
- function Et(e, t) {
3409
- return t ? Object.keys(e).reduce((n, r) => (n[r] = Tt(e[r], t[r]), n), { ...e }) : e;
3409
+ function Ot(e, t) {
3410
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = Dt(e[r], t[r]), n), { ...e }) : e;
3410
3411
  }
3411
- function Dt(e) {
3412
+ function kt(e) {
3412
3413
  return { create() {
3413
3414
  return {
3414
3415
  get(t) {
@@ -3420,27 +3421,27 @@ function Dt(e) {
3420
3421
  };
3421
3422
  } };
3422
3423
  }
3423
- function Ot(e = {
3424
+ function At(e = {
3424
3425
  number: {},
3425
3426
  dateTime: {},
3426
3427
  pluralRules: {}
3427
3428
  }) {
3428
3429
  return {
3429
- getNumberFormat: G((...e) => new Intl.NumberFormat(...e), {
3430
- cache: Dt(e.number),
3431
- strategy: _e.variadic
3430
+ getNumberFormat: le((...e) => new Intl.NumberFormat(...e), {
3431
+ cache: kt(e.number),
3432
+ strategy: ye.variadic
3432
3433
  }),
3433
- getDateTimeFormat: G((...e) => new Intl.DateTimeFormat(...e), {
3434
- cache: Dt(e.dateTime),
3435
- strategy: _e.variadic
3434
+ getDateTimeFormat: le((...e) => new Intl.DateTimeFormat(...e), {
3435
+ cache: kt(e.dateTime),
3436
+ strategy: ye.variadic
3436
3437
  }),
3437
- getPluralRules: G((...e) => new Intl.PluralRules(...e), {
3438
- cache: Dt(e.pluralRules),
3439
- strategy: _e.variadic
3438
+ getPluralRules: le((...e) => new Intl.PluralRules(...e), {
3439
+ cache: kt(e.pluralRules),
3440
+ strategy: ye.variadic
3440
3441
  })
3441
3442
  };
3442
3443
  }
3443
- var kt = class e {
3444
+ var jt = class e {
3444
3445
  constructor(t, n = e.defaultLocale, r, i) {
3445
3446
  if (this.formatterCache = {
3446
3447
  number: {},
@@ -3451,7 +3452,7 @@ var kt = class e {
3451
3452
  if (t.length === 1) return t[0].value;
3452
3453
  let n = t.reduce((e, t) => (!e.length || t.type !== 0 || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
3453
3454
  return n.length <= 1 ? n[0] || "" : n;
3454
- }, this.formatToParts = (e) => wt(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3455
+ }, this.formatToParts = (e) => Et(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3455
3456
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3456
3457
  let { ...n } = i || {};
3457
3458
  this.ast = e.__parse(t, {
@@ -3460,7 +3461,7 @@ var kt = class e {
3460
3461
  });
3461
3462
  } else this.ast = t;
3462
3463
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
3463
- this.formats = Et(e.formats, r), this.formatters = i && i.formatters || Ot(this.formatterCache);
3464
+ this.formats = Ot(e.formats, r), this.formatters = i && i.formatters || At(this.formatterCache);
3464
3465
  }
3465
3466
  static {
3466
3467
  this.memoizedDefaultLocale = null;
@@ -3476,7 +3477,7 @@ var kt = class e {
3476
3477
  };
3477
3478
  }
3478
3479
  static {
3479
- this.__parse = _t;
3480
+ this.__parse = yt;
3480
3481
  }
3481
3482
  static {
3482
3483
  this.formats = {
@@ -3535,26 +3536,26 @@ var kt = class e {
3535
3536
  }
3536
3537
  };
3537
3538
  //#endregion
3538
- //#region ../../node_modules/.bun/use-intl@4.13.0+e14d3f224186685e/node_modules/use-intl/dist/esm/production/format-message/index.js
3539
- function At(...[e, t, n, r]) {
3539
+ //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/format-message/index.js
3540
+ function Mt(...[e, t, n, r]) {
3540
3541
  if (Array.isArray(t)) throw new q(J.INVALID_MESSAGE, void 0);
3541
3542
  if (typeof t == "object") throw new q(J.INSUFFICIENT_PATH, void 0);
3542
3543
  if (typeof t == "string") {
3543
3544
  let e = function(e, t) {
3544
- return t || /'[{}]/.test(e) ? void 0 : e;
3545
+ return t || /'[{}<#|']/.test(e) ? void 0 : e;
3545
3546
  }(t, n);
3546
3547
  if (e) return e;
3547
3548
  }
3548
3549
  let { cache: i, formats: a, formatters: o, globalFormats: s, locale: c, timeZone: l } = r, u;
3549
3550
  o.getMessageFormat ||= function(e, t) {
3550
- return ye(((...e) => new kt(e[0], e[1], e[2], {
3551
+ return xe(((...e) => new jt(e[0], e[1], e[2], {
3551
3552
  formatters: t,
3552
3553
  ...e[3]
3553
3554
  })), e.message);
3554
3555
  }(i, o);
3555
3556
  try {
3556
3557
  u = o.getMessageFormat(t, c, function(e, t, n) {
3557
- let r = kt.formats.date, i = kt.formats.time, a = {
3558
+ let r = jt.formats.date, i = jt.formats.time, a = {
3558
3559
  ...e?.dateTime,
3559
3560
  ...t?.dateTime
3560
3561
  }, o = {
@@ -3589,22 +3590,22 @@ function At(...[e, t, n, r]) {
3589
3590
  throw new q(J.INVALID_MESSAGE, void 0);
3590
3591
  }
3591
3592
  let d = u.format(n);
3592
- return (0, Ce.isValidElement)(d) || Array.isArray(d) || typeof d == "string" ? d : String(d);
3593
+ return (0, Te.isValidElement)(d) || Array.isArray(d) || typeof d == "string" ? d : String(d);
3593
3594
  }
3594
- At.raw = !0;
3595
+ Mt.raw = !0;
3595
3596
  //#endregion
3596
- //#region ../../node_modules/.bun/use-intl@4.13.0+e14d3f224186685e/node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
3597
- function jt(...e) {
3597
+ //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
3598
+ function Nt(...e) {
3598
3599
  return e.filter(Boolean).join(".");
3599
3600
  }
3600
- function Mt(e) {
3601
- return jt(e.namespace, e.key);
3601
+ function Pt(e) {
3602
+ return Nt(e.namespace, e.key);
3602
3603
  }
3603
- function Nt(e) {
3604
+ function Ft(e) {
3604
3605
  console.error(e);
3605
3606
  }
3606
- function Pt(e, t, n, r) {
3607
- let i = jt(r, n);
3607
+ function It(e, t, n, r) {
3608
+ let i = Nt(r, n);
3608
3609
  if (!t) throw Error(i);
3609
3610
  let a = t;
3610
3611
  return n.split(".").forEach(((t) => {
@@ -3613,18 +3614,18 @@ function Pt(e, t, n, r) {
3613
3614
  a = n;
3614
3615
  })), a;
3615
3616
  }
3616
- function Ft(e) {
3617
+ function Lt(e) {
3617
3618
  let t = function(e, t, n) {
3618
3619
  try {
3619
3620
  if (!t) throw Error(void 0);
3620
- let r = n ? Pt(e, t, n) : t;
3621
+ let r = n ? It(e, t, n) : t;
3621
3622
  if (!r) throw Error(n);
3622
3623
  return r;
3623
3624
  } catch (e) {
3624
3625
  return new q(J.MISSING_MESSAGE, e.message);
3625
3626
  }
3626
3627
  }(e.locale, e.messages, e.namespace);
3627
- return function({ cache: e, formats: t, formatters: n, getMessageFallback: r = Mt, locale: i, messagesOrError: a, namespace: o, onError: s, timeZone: c }) {
3628
+ return function({ cache: e, formats: t, formatters: n, getMessageFallback: r = Pt, locale: i, messagesOrError: a, namespace: o, onError: s, timeZone: c }) {
3628
3629
  let l = a instanceof q;
3629
3630
  function u(e, t, n, i) {
3630
3631
  let a = new q(t, n);
@@ -3646,20 +3647,20 @@ function Ft(e) {
3646
3647
  } else {
3647
3648
  let e = a;
3648
3649
  try {
3649
- g = Pt(i, e, d, o);
3650
+ g = It(i, e, d, o);
3650
3651
  } catch (e) {
3651
3652
  if (!h) return u(d, J.MISSING_MESSAGE, e.message, h);
3652
3653
  g = h;
3653
3654
  }
3654
3655
  }
3655
3656
  try {
3656
- return At(jt(o, d), g, f && function(e) {
3657
+ return Mt(Nt(o, d), g, f && function(e) {
3657
3658
  let t = {};
3658
3659
  return Object.keys(e).forEach(((n) => {
3659
3660
  let r = 0, i = e[n], a;
3660
3661
  a = typeof i == "function" ? (e) => {
3661
3662
  let t = i(e);
3662
- return (0, Ce.isValidElement)(t) ? (0, Ce.cloneElement)(t, { key: n + r++ }) : t;
3663
+ return (0, Te.isValidElement)(t) ? (0, Te.cloneElement)(t, { key: n + r++ }) : t;
3663
3664
  } : i, t[n] = a;
3664
3665
  })), t;
3665
3666
  }(f), {
@@ -3687,14 +3688,14 @@ function Ft(e) {
3687
3688
  });
3688
3689
  let t = a;
3689
3690
  try {
3690
- return Pt(i, t, e, o);
3691
+ return It(i, t, e, o);
3691
3692
  } catch (t) {
3692
3693
  return u(e, J.MISSING_MESSAGE, t.message);
3693
3694
  }
3694
3695
  }, f.has = (e) => {
3695
3696
  if (l) return !1;
3696
3697
  try {
3697
- return Pt(i, a, e, o), !0;
3698
+ return It(i, a, e, o), !0;
3698
3699
  } catch {
3699
3700
  return !1;
3700
3701
  }
@@ -3704,16 +3705,16 @@ function Ft(e) {
3704
3705
  messagesOrError: t
3705
3706
  });
3706
3707
  }
3707
- function It(e, t) {
3708
+ function Rt(e, t) {
3708
3709
  return e === t ? void 0 : e.slice((t + ".").length);
3709
3710
  }
3710
- var Lt = 86400;
3711
- 7 * Lt, 365 * Lt;
3711
+ var zt = 86400;
3712
+ 7 * zt, 365 * zt;
3712
3713
  //#endregion
3713
- //#region ../../node_modules/.bun/use-intl@4.13.0+e14d3f224186685e/node_modules/use-intl/dist/esm/production/core.js
3714
- function Rt({ _cache: e = ve(), _formatters: t = be(e), getMessageFallback: n = Mt, messages: r, namespace: i, onError: a = Nt, ...o }) {
3714
+ //#region ../../node_modules/.bun/use-intl@4.13.2+e14d3f224186685e/node_modules/use-intl/dist/esm/production/core.js
3715
+ function Bt({ _cache: e = be(), _formatters: t = Se(e), getMessageFallback: n = Pt, messages: r, namespace: i, onError: a = Ft, ...o }) {
3715
3716
  return function({ messages: e, namespace: t, ...n }, r) {
3716
- return e = e[r], t = It(t, r), Ft({
3717
+ return e = e[r], t = Rt(t, r), Lt({
3717
3718
  ...n,
3718
3719
  messages: e,
3719
3720
  namespace: t
@@ -3730,48 +3731,48 @@ function Rt({ _cache: e = ve(), _formatters: t = be(e), getMessageFallback: n =
3730
3731
  }
3731
3732
  //#endregion
3732
3733
  //#region src/i18n/index.ts
3733
- var zt = "en", Bt = (e) => Rt({
3734
+ var Vt = "en", Ht = (e) => Bt({
3734
3735
  locale: e,
3735
- messages: R(e),
3736
+ messages: z(e),
3736
3737
  namespace: "folio"
3737
- }), Vt = Symbol("folioTranslator"), Ht = n(() => Bt("en")), Ut = (e = "en") => {
3738
- v(Vt, n(() => Bt(w(e))));
3738
+ }), Ut = Symbol("folioTranslator"), Wt = n(() => Ht("en")), Gt = (e = "en") => {
3739
+ v(Ut, n(() => Ht(w(e))));
3739
3740
  }, Z = () => {
3740
- let e = u(Vt, Ht);
3741
+ let e = u(Ut, Wt);
3741
3742
  return { t: (t, n) => e.value(t, n) };
3742
- }, Wt = { install(e, t = "en") {
3743
- e.provide(Vt, n(() => Bt(w(t))));
3744
- } }, Gt = [
3743
+ }, Kt = { install(e, t = "en") {
3744
+ e.provide(Ut, n(() => Ht(w(t))));
3745
+ } }, qt = [
3745
3746
  "disabled",
3746
3747
  "title",
3747
3748
  "aria-label"
3748
- ], Kt = [
3749
+ ], Jt = [
3749
3750
  "disabled",
3750
3751
  "title",
3751
3752
  "aria-label",
3752
3753
  "aria-expanded"
3753
- ], qt = [
3754
+ ], Yt = [
3754
3755
  "disabled",
3755
3756
  "title",
3756
3757
  "aria-label",
3757
3758
  "aria-expanded"
3758
- ], Jt = { class: "docx-color-picker__button-stack" }, Yt = ["aria-label"], Xt = {
3759
+ ], Xt = { class: "docx-color-picker__button-stack" }, Zt = ["aria-label"], Qt = {
3759
3760
  key: 0,
3760
3761
  class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--none"
3761
- }, Zt = {
3762
+ }, $t = {
3762
3763
  key: 1,
3763
3764
  class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--auto"
3764
- }, Qt = { class: "docx-color-picker__section-label" }, $t = { class: "docx-color-picker__grid" }, en = [
3765
+ }, en = { class: "docx-color-picker__section-label" }, tn = { class: "docx-color-picker__grid" }, nn = [
3765
3766
  "title",
3766
3767
  "aria-label",
3767
3768
  "aria-selected",
3768
3769
  "onClick"
3769
- ], tn = { class: "docx-color-picker__section-label" }, nn = { class: "docx-color-picker__grid" }, rn = [
3770
+ ], rn = { class: "docx-color-picker__section-label" }, an = { class: "docx-color-picker__grid" }, on = [
3770
3771
  "title",
3771
3772
  "aria-label",
3772
3773
  "aria-selected",
3773
3774
  "onClick"
3774
- ], an = { class: "docx-color-picker__section-label" }, on = { class: "docx-color-picker__custom" }, sn = ["onKeydown"], cn = ["disabled"], ln = /*#__PURE__*/ V(/* @__PURE__ */ l({
3775
+ ], sn = { class: "docx-color-picker__section-label" }, cn = { class: "docx-color-picker__custom" }, ln = ["onKeydown"], un = ["disabled"], dn = /*#__PURE__*/ V(/* @__PURE__ */ l({
3775
3776
  __name: "ColorPicker",
3776
3777
  props: {
3777
3778
  mode: {},
@@ -3837,7 +3838,7 @@ var zt = "en", Bt = (e) => Rt({
3837
3838
  }
3838
3839
  ];
3839
3840
  function v(e) {
3840
- return e ? typeof e == "string" ? l.mode === "highlight" ? ee(e) || (e === "none" ? "transparent" : e.startsWith("#") ? e : `#${e}`) : e.startsWith("#") ? e : `#${e}` : I(e, l.theme) : l.mode === "text" || l.mode === "border" ? "#000000" : "transparent";
3841
+ return e ? typeof e == "string" ? l.mode === "highlight" ? R(e) || (e === "none" ? "transparent" : e.startsWith("#") ? e : `#${e}`) : e.startsWith("#") ? e : `#${e}` : I(e, l.theme) : l.mode === "text" || l.mode === "border" ? "#000000" : "transparent";
3841
3842
  }
3842
3843
  function y(e) {
3843
3844
  return /^[0-9A-Fa-f]{6}$/.test(e.replace(/^#/, ""));
@@ -3860,21 +3861,21 @@ var zt = "en", Bt = (e) => Rt({
3860
3861
  function O(e) {
3861
3862
  return e === "text" ? "format_color_text" : e === "highlight" ? "ink_highlighter" : "border_color";
3862
3863
  }
3863
- let j = b(!1), R = b(""), te = b(null), z = b(null), B = b(l.defaultColor ?? E(l.mode)), V = n(() => F(l.theme?.colorScheme ?? null)), ne = n(() => V.value.flatMap((e, t) => e.map((e, n) => ({
3864
+ let j = b(!1), z = b(""), B = b(null), ee = b(null), te = b(l.defaultColor ?? E(l.mode)), ne = n(() => F(l.theme?.colorScheme ?? null)), re = n(() => ne.value.flatMap((e, t) => e.map((e, n) => ({
3864
3865
  ...e,
3865
3866
  key: `${t}-${n}`
3866
- })))), re = n(() => v(l.value)), H = n(() => v(B.value)), W = n(() => D(l.mode)), ie = n(() => l.icon ?? O(l.mode));
3867
+ })))), V = n(() => v(l.value)), H = n(() => v(te.value)), U = n(() => D(l.mode)), ie = n(() => l.icon ?? O(l.mode));
3867
3868
  A(() => [
3868
3869
  l.value,
3869
3870
  l.mode,
3870
3871
  l.theme
3871
3872
  ], () => {
3872
3873
  let e = v(l.value).replace(/^#/, "");
3873
- /^[0-9A-Fa-f]{6}$/.test(e) && (R.value = e.toUpperCase());
3874
+ /^[0-9A-Fa-f]{6}$/.test(e) && (z.value = e.toUpperCase());
3874
3875
  }, { immediate: !0 });
3875
3876
  let ae = b({});
3876
3877
  function oe() {
3877
- let e = te.value;
3878
+ let e = B.value;
3878
3879
  if (!e) return;
3879
3880
  let t = e.getBoundingClientRect();
3880
3881
  ae.value = {
@@ -3886,10 +3887,10 @@ var zt = "en", Bt = (e) => Rt({
3886
3887
  l.disabled || (j.value || oe(), j.value = !j.value);
3887
3888
  }
3888
3889
  function G(e, t = !0) {
3889
- t && (B.value = e), u("change", e), j.value = !1;
3890
+ t && (te.value = e), u("change", e), j.value = !1;
3890
3891
  }
3891
3892
  function ce() {
3892
- l.disabled || u("change", B.value);
3893
+ l.disabled || u("change", te.value);
3893
3894
  }
3894
3895
  function le(e) {
3895
3896
  if (l.mode === "highlight") {
@@ -3909,8 +3910,8 @@ var zt = "en", Bt = (e) => Rt({
3909
3910
  G(l.mode === "highlight" ? "none" : { auto: !0 }, !1);
3910
3911
  }
3911
3912
  function de() {
3912
- let e = R.value.replace(/^#/, "").toUpperCase();
3913
- y(e) && (G(l.mode === "highlight" ? e : { rgb: e }), R.value = "");
3913
+ let e = z.value.replace(/^#/, "").toUpperCase();
3914
+ y(e) && (G(l.mode === "highlight" ? e : { rgb: e }), z.value = "");
3914
3915
  }
3915
3916
  function fe(e) {
3916
3917
  e.target instanceof HTMLInputElement || e.preventDefault();
@@ -3918,11 +3919,11 @@ var zt = "en", Bt = (e) => Rt({
3918
3919
  function pe(e) {
3919
3920
  if (!j.value) return;
3920
3921
  let t = e.target;
3921
- t instanceof Node && (te.value?.contains(t) || z.value?.contains(t) || (j.value = !1));
3922
+ t instanceof Node && (B.value?.contains(t) || ee.value?.contains(t) || (j.value = !1));
3922
3923
  }
3923
3924
  return g(() => document.addEventListener("mousedown", pe)), h(() => document.removeEventListener("mousedown", pe)), (n, r) => (_(), a("div", {
3924
3925
  ref_key: "containerRef",
3925
- ref: te,
3926
+ ref: B,
3926
3927
  class: p(["docx-color-picker", t.className]),
3927
3928
  style: m(t.style)
3928
3929
  }, [t.splitButton ? (_(), a("div", {
@@ -3932,57 +3933,57 @@ var zt = "en", Bt = (e) => Rt({
3932
3933
  type: "button",
3933
3934
  class: "docx-color-picker__apply",
3934
3935
  disabled: t.disabled,
3935
- title: t.title ?? W.value,
3936
- "aria-label": t.title ?? W.value,
3936
+ title: t.title ?? U.value,
3937
+ "aria-label": t.title ?? U.value,
3937
3938
  onMousedown: r[0] ||= P(() => {}, ["prevent"]),
3938
3939
  onClick: ce
3939
- }, [c(U, {
3940
+ }, [c(W, {
3940
3941
  name: ie.value,
3941
3942
  size: 18
3942
3943
  }, null, 8, ["name"]), o("span", {
3943
3944
  class: p(["docx-color-picker__bar", { "is-light": H.value === "transparent" || S(H.value) }]),
3944
3945
  style: m({ background: H.value === "transparent" ? "#fff" : H.value })
3945
- }, null, 6)], 40, Gt), o("button", {
3946
+ }, null, 6)], 40, qt), o("button", {
3946
3947
  type: "button",
3947
3948
  class: p(["docx-color-picker__arrow", { "is-open": j.value }]),
3948
3949
  disabled: t.disabled,
3949
- title: t.title ?? W.value,
3950
- "aria-label": t.title ?? W.value,
3950
+ title: t.title ?? U.value,
3951
+ "aria-label": t.title ?? U.value,
3951
3952
  "aria-haspopup": "true",
3952
3953
  "aria-expanded": j.value,
3953
3954
  onMousedown: r[1] ||= P(() => {}, ["prevent"]),
3954
3955
  onClick: se
3955
- }, [c(U, {
3956
+ }, [c(W, {
3956
3957
  name: "arrow_drop_down",
3957
3958
  size: 18
3958
- })], 42, Kt)], 2)) : (_(), a("button", {
3959
+ })], 42, Jt)], 2)) : (_(), a("button", {
3959
3960
  key: 1,
3960
3961
  type: "button",
3961
3962
  class: p(["docx-color-picker__button", { "is-open": j.value }]),
3962
3963
  disabled: t.disabled,
3963
- title: t.title ?? W.value,
3964
- "aria-label": t.title ?? W.value,
3964
+ title: t.title ?? U.value,
3965
+ "aria-label": t.title ?? U.value,
3965
3966
  "aria-haspopup": "true",
3966
3967
  "aria-expanded": j.value,
3967
3968
  onMousedown: r[2] ||= P(() => {}, ["prevent"]),
3968
3969
  onClick: se
3969
- }, [o("span", Jt, [c(U, {
3970
+ }, [o("span", Xt, [c(W, {
3970
3971
  name: ie.value,
3971
3972
  size: 18
3972
3973
  }, null, 8, ["name"]), o("span", {
3973
- class: p(["docx-color-picker__bar", { "is-light": re.value === "transparent" || S(re.value) }]),
3974
- style: m({ background: re.value === "transparent" ? "#fff" : re.value })
3975
- }, null, 6)]), c(U, {
3974
+ class: p(["docx-color-picker__bar", { "is-light": V.value === "transparent" || S(V.value) }]),
3975
+ style: m({ background: V.value === "transparent" ? "#fff" : V.value })
3976
+ }, null, 6)]), c(W, {
3976
3977
  name: "arrow_drop_down",
3977
3978
  size: 14
3978
- })], 42, qt)), j.value && !t.disabled ? (_(), a("div", {
3979
+ })], 42, Yt)), j.value && !t.disabled ? (_(), a("div", {
3979
3980
  key: 2,
3980
3981
  ref_key: "panelRef",
3981
- ref: z,
3982
+ ref: ee,
3982
3983
  class: "docx-color-picker__panel",
3983
3984
  style: m(ae.value),
3984
3985
  role: "dialog",
3985
- "aria-label": T(d)("colorPicker.ariaLabel", { type: W.value }),
3986
+ "aria-label": T(d)("colorPicker.ariaLabel", { type: U.value }),
3986
3987
  onMousedown: fe
3987
3988
  }, [
3988
3989
  o("button", {
@@ -3990,10 +3991,10 @@ var zt = "en", Bt = (e) => Rt({
3990
3991
  class: "docx-color-picker__auto",
3991
3992
  onMousedown: r[3] ||= P(() => {}, ["prevent"]),
3992
3993
  onClick: ue
3993
- }, [t.mode === "highlight" ? (_(), a("span", Xt, [...r[10] ||= [o("span", { class: "docx-color-picker__auto-slash" }, null, -1)]])) : (_(), a("span", Zt)), s(" " + C(t.autoLabel ?? (t.mode === "highlight" ? T(d)("colorPicker.noColor") : T(d)("colorPicker.automatic"))), 1)], 32),
3994
+ }, [t.mode === "highlight" ? (_(), a("span", Qt, [...r[10] ||= [o("span", { class: "docx-color-picker__auto-slash" }, null, -1)]])) : (_(), a("span", $t)), s(" " + C(t.autoLabel ?? (t.mode === "highlight" ? T(d)("colorPicker.noColor") : T(d)("colorPicker.automatic"))), 1)], 32),
3994
3995
  r[12] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
3995
- o("div", Qt, C(T(d)("colorPicker.themeColors")), 1),
3996
- o("div", $t, [(_(!0), a(e, null, x(ne.value, (e) => (_(), a("button", {
3996
+ o("div", en, C(T(d)("colorPicker.themeColors")), 1),
3997
+ o("div", tn, [(_(!0), a(e, null, x(re.value, (e) => (_(), a("button", {
3997
3998
  key: e.key,
3998
3999
  type: "button",
3999
4000
  class: p(["docx-color-picker__cell", { "is-selected": w(t.value, e.hex) }]),
@@ -4003,10 +4004,10 @@ var zt = "en", Bt = (e) => Rt({
4003
4004
  "aria-selected": w(t.value, e.hex),
4004
4005
  onMousedown: r[4] ||= P(() => {}, ["prevent"]),
4005
4006
  onClick: (t) => le(e)
4006
- }, null, 46, en))), 128))]),
4007
+ }, null, 46, nn))), 128))]),
4007
4008
  r[13] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
4008
- o("div", tn, C(T(d)("colorPicker.standardColors")), 1),
4009
- o("div", nn, [(_(), a(e, null, x(f, (e) => o("button", {
4009
+ o("div", rn, C(T(d)("colorPicker.standardColors")), 1),
4010
+ o("div", an, [(_(), a(e, null, x(f, (e) => o("button", {
4010
4011
  key: e.hex,
4011
4012
  type: "button",
4012
4013
  class: p(["docx-color-picker__cell", { "is-selected": w(t.value, e.hex) }]),
@@ -4016,33 +4017,33 @@ var zt = "en", Bt = (e) => Rt({
4016
4017
  "aria-selected": w(t.value, e.hex),
4017
4018
  onMousedown: r[5] ||= P(() => {}, ["prevent"]),
4018
4019
  onClick: (t) => K(e.hex)
4019
- }, null, 46, rn)), 64))]),
4020
+ }, null, 46, on)), 64))]),
4020
4021
  r[14] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
4021
- o("div", an, C(T(d)("colorPicker.customColor")), 1),
4022
- o("div", on, [
4022
+ o("div", sn, C(T(d)("colorPicker.customColor")), 1),
4023
+ o("div", cn, [
4023
4024
  r[11] ||= o("span", { class: "docx-color-picker__hash" }, "#", -1),
4024
4025
  M(o("input", {
4025
- "onUpdate:modelValue": r[6] ||= (e) => R.value = e,
4026
+ "onUpdate:modelValue": r[6] ||= (e) => z.value = e,
4026
4027
  type: "text",
4027
4028
  class: "docx-color-picker__hex",
4028
4029
  placeholder: "FF0000",
4029
4030
  maxlength: "6",
4030
4031
  "aria-label": "Custom hex color",
4031
- onInput: r[7] ||= (e) => R.value = R.value.replace(/[^0-9A-Fa-f]/g, "").slice(0, 6),
4032
+ onInput: r[7] ||= (e) => z.value = z.value.replace(/[^0-9A-Fa-f]/g, "").slice(0, 6),
4032
4033
  onKeydown: N(P(de, ["prevent"]), ["enter"]),
4033
4034
  onMousedown: r[8] ||= P(() => {}, ["stop"])
4034
- }, null, 40, sn), [[k, R.value]]),
4035
+ }, null, 40, ln), [[k, z.value]]),
4035
4036
  o("button", {
4036
4037
  type: "button",
4037
4038
  class: "docx-color-picker__apply-btn",
4038
- disabled: !y(R.value),
4039
+ disabled: !y(z.value),
4039
4040
  onMousedown: r[9] ||= P(() => {}, ["prevent"]),
4040
4041
  onClick: de
4041
- }, C(T(d)("common.apply")), 41, cn)
4042
+ }, C(T(d)("common.apply")), 41, un)
4042
4043
  ])
4043
- ], 44, Yt)) : i("", !0)], 6));
4044
+ ], 44, Zt)) : i("", !0)], 6));
4044
4045
  }
4045
- }), [["__scopeId", "data-v-ea5dcc9f"]]), un = ["value", "autofocus"], dn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4046
+ }), [["__scopeId", "data-v-44cde5bd"]]), fn = ["value", "autofocus"], pn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4046
4047
  __name: "DatePickerPopover",
4047
4048
  props: {
4048
4049
  value: {},
@@ -4067,9 +4068,9 @@ var zt = "en", Bt = (e) => Rt({
4067
4068
  value: s.value,
4068
4069
  autofocus: e.defaultOpen,
4069
4070
  onChange: c
4070
- }, null, 40, un));
4071
+ }, null, 40, fn));
4071
4072
  }
4072
- }), [["__scopeId", "data-v-9009c416"]]), fn = ["aria-label"], pn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4073
+ }), [["__scopeId", "data-v-ebc5e9a1"]]), mn = ["aria-label"], hn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4073
4074
  inheritAttrs: !1,
4074
4075
  __name: "Dialog",
4075
4076
  props: {
@@ -4102,9 +4103,9 @@ var zt = "en", Bt = (e) => Rt({
4102
4103
  }, n.$attrs, {
4103
4104
  onKeydown: N(l, ["escape"]),
4104
4105
  onMousedown: s[0] ||= P(() => {}, ["stop"])
4105
- }), [S(n.$slots, "default", {}, void 0, !0)], 16, fn)], 34)) : i("", !0)]));
4106
+ }), [S(n.$slots, "default", {}, void 0, !0)], 16, mn)], 34)) : i("", !0)]));
4106
4107
  }
4107
- }), [["__scopeId", "data-v-e043cdc9"]]), mn = ["value"], hn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4108
+ }), [["__scopeId", "data-v-76309dbc"]]), gn = ["value"], _n = /*#__PURE__*/ V(/* @__PURE__ */ l({
4108
4109
  __name: "Input",
4109
4110
  props: {
4110
4111
  modelValue: {},
@@ -4127,9 +4128,9 @@ var zt = "en", Bt = (e) => Rt({
4127
4128
  class: p(["folio-default-input", [e.className, e.size && `folio-default-input--${e.size}`]]),
4128
4129
  value: e.modelValue,
4129
4130
  onInput: i
4130
- }, null, 42, mn));
4131
+ }, null, 42, gn));
4131
4132
  }
4132
- }), [["__scopeId", "data-v-bfe0d407"]]), gn = 4, _n = /*#__PURE__*/ V(/* @__PURE__ */ l({
4133
+ }), [["__scopeId", "data-v-a34b139d"]]), vn = 4, yn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4133
4134
  __name: "Popover",
4134
4135
  props: {
4135
4136
  open: { type: Boolean },
@@ -4148,7 +4149,7 @@ var zt = "en", Bt = (e) => Rt({
4148
4149
  let e = o.value;
4149
4150
  if (!e) return;
4150
4151
  let t = e.getBoundingClientRect(), r = { position: "fixed" };
4151
- n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top + gn)}px`, r.top = "auto") : (r.top = `${Math.round(t.bottom + gn)}px`, r.bottom = "auto"), n.placement.endsWith("right") ? (r.right = `${Math.round(window.innerWidth - t.right)}px`, r.left = "auto") : (r.left = `${Math.round(t.left)}px`, r.right = "auto"), c.value = r;
4152
+ n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top + vn)}px`, r.top = "auto") : (r.top = `${Math.round(t.bottom + vn)}px`, r.bottom = "auto"), n.placement.endsWith("right") ? (r.right = `${Math.round(window.innerWidth - t.right)}px`, r.left = "auto") : (r.left = `${Math.round(t.left)}px`, r.right = "auto"), c.value = r;
4152
4153
  }
4153
4154
  function u() {
4154
4155
  r("update:open", !n.open), n.open && r("close");
@@ -4196,19 +4197,19 @@ var zt = "en", Bt = (e) => Rt({
4196
4197
  onMousedown: n[0] ||= P(() => {}, ["stop"])
4197
4198
  }, [S(t.$slots, "panel", {}, void 0, !0)], 38)) : i("", !0)], 512));
4198
4199
  }
4199
- }), [["__scopeId", "data-v-0f634953"]]), vn = ["disabled", "onClick"], yn = {
4200
+ }), [["__scopeId", "data-v-ba324b19"]]), bn = ["disabled", "onClick"], xn = {
4200
4201
  key: 0,
4201
4202
  class: "docx-menu-dropdown__separator"
4202
- }, bn = ["onMouseenter", "onMouseleave"], xn = ["disabled", "onClick"], Sn = { class: "docx-menu-dropdown__label" }, Cn = {
4203
+ }, Sn = ["onMouseenter", "onMouseleave"], Cn = ["disabled", "onClick"], wn = { class: "docx-menu-dropdown__label" }, Tn = {
4203
4204
  key: 1,
4204
4205
  class: "docx-menu-dropdown__shortcut"
4205
- }, wn = {
4206
+ }, En = {
4206
4207
  key: 2,
4207
4208
  class: "docx-menu-dropdown__chevron"
4208
- }, Tn = {
4209
+ }, Dn = {
4209
4210
  key: 0,
4210
4211
  class: "docx-menu-dropdown__submenu"
4211
- }, En = /*#__PURE__*/ V(/* @__PURE__ */ l({
4212
+ }, On = /*#__PURE__*/ V(/* @__PURE__ */ l({
4212
4213
  __name: "MenuDropdown",
4213
4214
  props: {
4214
4215
  label: {},
@@ -4230,7 +4231,7 @@ var zt = "en", Bt = (e) => Rt({
4230
4231
  function f(e) {
4231
4232
  e.disabled || e.submenu || (e.onClick?.(), d());
4232
4233
  }
4233
- return (m, h) => (_(), r(_n, {
4234
+ return (m, h) => (_(), r(yn, {
4234
4235
  open: l.value,
4235
4236
  "onUpdate:open": h[2] ||= (e) => l.value = e,
4236
4237
  onClose: d
@@ -4241,15 +4242,15 @@ var zt = "en", Bt = (e) => Rt({
4241
4242
  disabled: t.disabled,
4242
4243
  onMousedown: h[0] ||= P(() => {}, ["prevent"]),
4243
4244
  onClick: P(e, ["prevent"])
4244
- }, [s(C(t.label) + " ", 1), t.showChevron ? (_(), r(U, {
4245
+ }, [s(C(t.label) + " ", 1), t.showChevron ? (_(), r(W, {
4245
4246
  key: 0,
4246
4247
  name: "arrow_drop_down",
4247
4248
  size: 16
4248
- })) : i("", !0)], 42, vn)]),
4249
+ })) : i("", !0)], 42, bn)]),
4249
4250
  panel: j(() => [o("div", {
4250
4251
  class: "docx-menu-dropdown__menu",
4251
4252
  onMousedown: h[1] ||= P(() => {}, ["prevent"])
4252
- }, [(_(!0), a(e, null, x(t.items, (t, s) => (_(), a(e, { key: s }, [n(t) ? (_(), a("div", yn)) : (_(), a("div", {
4253
+ }, [(_(!0), a(e, null, x(t.items, (t, s) => (_(), a(e, { key: s }, [n(t) ? (_(), a("div", xn)) : (_(), a("div", {
4253
4254
  key: 1,
4254
4255
  class: "docx-menu-dropdown__wrap",
4255
4256
  onMouseenter: (e) => t.submenu ? u.value = s : void 0,
@@ -4260,29 +4261,29 @@ var zt = "en", Bt = (e) => Rt({
4260
4261
  disabled: t.disabled,
4261
4262
  onClick: P((e) => f(t), ["prevent"])
4262
4263
  }, [
4263
- t.icon ? (_(), r(U, {
4264
+ t.icon ? (_(), r(W, {
4264
4265
  key: 0,
4265
4266
  name: t.icon,
4266
4267
  size: 18
4267
4268
  }, null, 8, ["name"])) : i("", !0),
4268
- o("span", Sn, C(t.label), 1),
4269
- t.shortcut ? (_(), a("span", Cn, C(t.shortcut), 1)) : i("", !0),
4270
- t.submenu ? (_(), a("span", wn, [c(U, {
4269
+ o("span", wn, C(t.label), 1),
4270
+ t.shortcut ? (_(), a("span", Tn, C(t.shortcut), 1)) : i("", !0),
4271
+ t.submenu ? (_(), a("span", En, [c(W, {
4271
4272
  name: "keyboard_arrow_right",
4272
4273
  size: 16
4273
4274
  })])) : i("", !0)
4274
- ], 10, xn), t.submenu && u.value === s ? (_(), a("div", Tn, [S(m.$slots, "submenu", {
4275
+ ], 10, Cn), t.submenu && u.value === s ? (_(), a("div", Dn, [S(m.$slots, "submenu", {
4275
4276
  item: t,
4276
4277
  closeMenu: d
4277
- }, void 0, !0)])) : i("", !0)], 40, bn))], 64))), 128))], 32)]),
4278
+ }, void 0, !0)])) : i("", !0)], 40, Sn))], 64))), 128))], 32)]),
4278
4279
  _: 3
4279
4280
  }, 8, ["open"]));
4280
4281
  }
4281
- }), [["__scopeId", "data-v-d89898cc"]]), Dn = ["aria-label"], On = [
4282
+ }), [["__scopeId", "data-v-3a0c2cb3"]]), kn = ["aria-label"], An = [
4282
4283
  "aria-current",
4283
4284
  "title",
4284
4285
  "onMousedown"
4285
- ], kn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4286
+ ], jn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4286
4287
  __name: "OutlineRail",
4287
4288
  props: {
4288
4289
  items: {},
@@ -4308,13 +4309,13 @@ var zt = "en", Bt = (e) => Rt({
4308
4309
  style: m({ paddingInlineStart: `${e.level * 16 + 8}px` }),
4309
4310
  title: e.label,
4310
4311
  onMousedown: P((t) => r(e.id), ["prevent"])
4311
- }, C(e.label), 47, On)]))), 128))], 8, Dn)) : i("", !0);
4312
+ }, C(e.label), 47, An)]))), 128))], 8, kn)) : i("", !0);
4312
4313
  }
4313
- }), [["__scopeId", "data-v-3ae44c67"]]), An = ["disabled", "value"], jn = {
4314
+ }), [["__scopeId", "data-v-400d7e43"]]), Mn = ["disabled", "value"], Nn = {
4314
4315
  key: 0,
4315
4316
  disabled: "",
4316
4317
  value: ""
4317
- }, Mn = ["disabled", "value"], Nn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4318
+ }, Pn = ["disabled", "value"], Fn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4318
4319
  __name: "Select",
4319
4320
  props: {
4320
4321
  value: {},
@@ -4334,49 +4335,49 @@ var zt = "en", Bt = (e) => Rt({
4334
4335
  disabled: t.disabled,
4335
4336
  value: t.value,
4336
4337
  onChange: o
4337
- }, [t.placeholder && t.value === void 0 ? (_(), a("option", jn, C(t.placeholder), 1)) : i("", !0), (_(!0), a(e, null, x(t.items, (e) => (_(), a("option", {
4338
+ }, [t.placeholder && t.value === void 0 ? (_(), a("option", Nn, C(t.placeholder), 1)) : i("", !0), (_(!0), a(e, null, x(t.items, (e) => (_(), a("option", {
4338
4339
  key: e.value,
4339
4340
  disabled: e.disabled,
4340
4341
  value: e.value
4341
- }, C(e.label), 9, Mn))), 128))], 42, An));
4342
+ }, C(e.label), 9, Pn))), 128))], 42, Mn));
4342
4343
  }
4343
- }), [["__scopeId", "data-v-ddb0c377"]]), Pn = {
4344
- Button: ae,
4345
- Dialog: pn,
4346
- Select: Nn,
4347
- Menu: En,
4348
- Popover: _n,
4349
- Input: hn,
4350
- Checkbox: se,
4351
- ColorPicker: ln,
4352
- DatePickerPopover: dn,
4353
- OutlineRail: kn
4354
- }, Fn = Symbol("folio-ui-components");
4355
- function In(e) {
4344
+ }), [["__scopeId", "data-v-ce79245b"]]), In = {
4345
+ Button: se,
4346
+ Dialog: hn,
4347
+ Select: Fn,
4348
+ Menu: On,
4349
+ Popover: yn,
4350
+ Input: _n,
4351
+ Checkbox: ce,
4352
+ ColorPicker: dn,
4353
+ DatePickerPopover: pn,
4354
+ OutlineRail: jn
4355
+ }, Ln = Symbol("folio-ui-components");
4356
+ function Rn(e) {
4356
4357
  return e ? {
4357
- ...Pn,
4358
+ ...In,
4358
4359
  ...e
4359
- } : Pn;
4360
+ } : In;
4360
4361
  }
4361
- function Ln(e) {
4362
- v(Fn, In(e));
4362
+ function zn(e) {
4363
+ v(Ln, Rn(e));
4363
4364
  }
4364
4365
  function Q() {
4365
- return u(Fn, Pn);
4366
+ return u(Ln, In);
4366
4367
  }
4367
- var Rn = l({
4368
+ var Bn = l({
4368
4369
  name: "FolioUIProvider",
4369
4370
  props: { components: {
4370
4371
  type: Object,
4371
4372
  default: void 0
4372
4373
  } },
4373
4374
  setup(e, { slots: t }) {
4374
- return Ln(e.components), () => t.default?.();
4375
+ return zn(e.components), () => t.default?.();
4375
4376
  }
4376
- }), zn = { class: "find-replace-dialog__header" }, Bn = { class: "find-replace-dialog__title" }, Vn = { class: "find-replace-dialog__body" }, Hn = { class: "find-replace-dialog__row" }, Un = { class: "find-replace-dialog__count" }, Wn = { class: "find-replace-dialog__options" }, Gn = {
4377
+ }), Vn = { class: "find-replace-dialog__header" }, Hn = { class: "find-replace-dialog__title" }, Un = { class: "find-replace-dialog__body" }, Wn = { class: "find-replace-dialog__row" }, Gn = { class: "find-replace-dialog__count" }, Kn = { class: "find-replace-dialog__options" }, qn = {
4377
4378
  key: 0,
4378
4379
  class: "find-replace-dialog__row"
4379
- }, Kn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4380
+ }, Jn = /*#__PURE__*/ V(/* @__PURE__ */ l({
4380
4381
  __name: "FindReplaceDialog",
4381
4382
  props: {
4382
4383
  isOpen: { type: Boolean },
@@ -4390,16 +4391,16 @@ var Rn = l({
4390
4391
  total: E.value.length
4391
4392
  }) : "");
4392
4393
  A(() => m.isOpen, async (e) => {
4393
- e ? (await f(), g.value?.focus(), g.value?.select(), M()) : z();
4394
+ e ? (await f(), g.value?.focus(), g.value?.select(), M()) : ee();
4394
4395
  });
4395
4396
  function k() {
4396
- z(), h("close");
4397
+ ee(), h("close");
4397
4398
  }
4398
4399
  function M() {
4399
4400
  E.value = [], D.value = -1;
4400
4401
  let e = m.view;
4401
4402
  if (!e || !v.value.trim()) {
4402
- z();
4403
+ ee();
4403
4404
  return;
4404
4405
  }
4405
4406
  let t = e.state.doc, n = v.value, r = !x.value, i = [];
@@ -4434,7 +4435,7 @@ var Rn = l({
4434
4435
  D.value = e;
4435
4436
  let { from: r, to: i } = n;
4436
4437
  try {
4437
- let e = t.state.doc.resolve(r), n = t.state.doc.resolve(i), a = te.between(e, n);
4438
+ let e = t.state.doc.resolve(r), n = t.state.doc.resolve(i), a = B.between(e, n);
4438
4439
  t.dispatch(t.state.tr.setSelection(a)), m.scrollVisiblePositionIntoView?.(r);
4439
4440
  } catch {}
4440
4441
  }
@@ -4448,7 +4449,7 @@ var Rn = l({
4448
4449
  function L() {
4449
4450
  E.value.length !== 0 && F((D.value - 1 + E.value.length) % E.value.length);
4450
4451
  }
4451
- function ee() {
4452
+ function R() {
4452
4453
  let e = m.view;
4453
4454
  if (!e || D.value < 0 || E.value.length === 0) return;
4454
4455
  let t = E.value.at(D.value);
@@ -4460,7 +4461,7 @@ var Rn = l({
4460
4461
  M();
4461
4462
  }
4462
4463
  }
4463
- function R() {
4464
+ function z() {
4464
4465
  let e = m.view;
4465
4466
  if (!e || E.value.length === 0) return;
4466
4467
  let t = [...E.value].sort((e, t) => t.from - e.from), n = e.state.tr;
@@ -4469,10 +4470,10 @@ var Rn = l({
4469
4470
  } catch {}
4470
4471
  e.dispatch(n), M();
4471
4472
  }
4472
- function z() {
4473
+ function ee() {
4473
4474
  E.value = [], D.value = -1;
4474
4475
  }
4475
- function B(e) {
4476
+ function te(e) {
4476
4477
  e.key === "Enter" ? (e.preventDefault(), e.shiftKey ? L() : I()) : e.key === "Escape" && k();
4477
4478
  }
4478
4479
  return (t, n) => e.isOpen ? (_(), a("div", {
@@ -4480,7 +4481,7 @@ var Rn = l({
4480
4481
  class: "find-replace-dialog",
4481
4482
  onMousedown: n[5] ||= P(() => {}, ["stop"]),
4482
4483
  onKeydown: n[6] ||= P(() => {}, ["stop"])
4483
- }, [o("div", zn, [o("span", Bn, C(w.value ? T(r)("findReplace.findAndReplace") : T(r)("findReplace.find")), 1), c(T(l), {
4484
+ }, [o("div", Vn, [o("span", Hn, C(w.value ? T(r)("findReplace.findAndReplace") : T(r)("findReplace.find")), 1), c(T(l), {
4484
4485
  class: "find-replace-dialog__close",
4485
4486
  variant: "ghost",
4486
4487
  size: "icon-xs",
@@ -4489,8 +4490,8 @@ var Rn = l({
4489
4490
  }, {
4490
4491
  default: j(() => [...n[7] ||= [s(" ✕ ", -1)]]),
4491
4492
  _: 1
4492
- }, 8, ["title"])]), o("div", Vn, [
4493
- o("div", Hn, [
4493
+ }, 8, ["title"])]), o("div", Un, [
4494
+ o("div", Wn, [
4494
4495
  c(T(u), {
4495
4496
  ref_key: "searchInputRef",
4496
4497
  ref: g,
@@ -4499,14 +4500,14 @@ var Rn = l({
4499
4500
  class: "find-replace-dialog__input",
4500
4501
  placeholder: T(r)("findReplace.findPlaceholder"),
4501
4502
  "aria-label": T(r)("findReplace.findText"),
4502
- onKeydown: B,
4503
+ onKeydown: te,
4503
4504
  onInput: M
4504
4505
  }, null, 8, [
4505
4506
  "modelValue",
4506
4507
  "placeholder",
4507
4508
  "aria-label"
4508
4509
  ]),
4509
- o("span", Un, C(O.value), 1),
4510
+ o("span", Gn, C(O.value), 1),
4510
4511
  c(T(l), {
4511
4512
  variant: "ghost",
4512
4513
  size: "icon-xs",
@@ -4526,7 +4527,7 @@ var Rn = l({
4526
4527
  _: 1
4527
4528
  }, 8, ["title"])
4528
4529
  ]),
4529
- o("div", Wn, [
4530
+ o("div", Kn, [
4530
4531
  o("label", null, [c(T(d), {
4531
4532
  checked: x.value,
4532
4533
  "onUpdate:checked": n[1] ||= (e) => {
@@ -4550,14 +4551,14 @@ var Rn = l({
4550
4551
  _: 1
4551
4552
  }, 8, ["class", "title"])
4552
4553
  ]),
4553
- w.value ? (_(), a("div", Gn, [
4554
+ w.value ? (_(), a("div", qn, [
4554
4555
  c(T(u), {
4555
4556
  modelValue: y.value,
4556
4557
  "onUpdate:modelValue": n[4] ||= (e) => y.value = e,
4557
4558
  class: "find-replace-dialog__input",
4558
4559
  placeholder: T(r)("findReplace.replacePlaceholder"),
4559
4560
  "aria-label": T(r)("findReplace.replaceText"),
4560
- onKeydown: N(P(ee, ["prevent"]), ["enter"])
4561
+ onKeydown: N(P(R, ["prevent"]), ["enter"])
4561
4562
  }, null, 8, [
4562
4563
  "modelValue",
4563
4564
  "placeholder",
@@ -4568,7 +4569,7 @@ var Rn = l({
4568
4569
  variant: "ghost",
4569
4570
  size: "xs",
4570
4571
  title: T(r)("findReplace.replaceCurrent"),
4571
- onMousedown: P(ee, ["prevent"])
4572
+ onMousedown: P(R, ["prevent"])
4572
4573
  }, {
4573
4574
  default: j(() => [s(C(T(r)("dialogs.findReplace.replaceButton")), 1)]),
4574
4575
  _: 1
@@ -4577,7 +4578,7 @@ var Rn = l({
4577
4578
  variant: "ghost",
4578
4579
  size: "xs",
4579
4580
  title: T(r)("findReplace.replaceAll"),
4580
- onMousedown: P(R, ["prevent"])
4581
+ onMousedown: P(z, ["prevent"])
4581
4582
  }, {
4582
4583
  default: j(() => [s(C(T(r)("findReplace.replaceAll")), 1)]),
4583
4584
  _: 1
@@ -4585,27 +4586,27 @@ var Rn = l({
4585
4586
  ])) : i("", !0)
4586
4587
  ])], 32)) : i("", !0);
4587
4588
  }
4588
- }), [["__scopeId", "data-v-816520e0"]]), qn = { class: "dialog__header" }, Jn = { class: "dialog__title" }, Yn = ["aria-label"], Xn = { class: "dialog__body" }, Zn = {
4589
+ }), [["__scopeId", "data-v-23bf9676"]]), Yn = { class: "dialog__header" }, Xn = { class: "dialog__title" }, Zn = ["aria-label"], Qn = { class: "dialog__body" }, $n = {
4589
4590
  key: 0,
4590
4591
  class: "link-tabs",
4591
4592
  role: "tablist"
4592
- }, Qn = ["aria-selected"], $n = ["aria-selected"], er = {
4593
+ }, er = ["aria-selected"], tr = ["aria-selected"], nr = {
4593
4594
  key: 1,
4594
4595
  class: "field"
4595
- }, tr = { class: "field__label" }, nr = [
4596
+ }, rr = { class: "field__label" }, ir = [
4596
4597
  "placeholder",
4597
4598
  "aria-invalid",
4598
4599
  "onKeydown"
4599
- ], rr = {
4600
+ ], ar = {
4600
4601
  key: 0,
4601
4602
  class: "field__error"
4602
- }, ir = {
4603
+ }, or = {
4603
4604
  key: 1,
4604
4605
  class: "field__hint"
4605
- }, ar = {
4606
+ }, sr = {
4606
4607
  key: 2,
4607
4608
  class: "field"
4608
- }, or = { class: "field__label" }, sr = ["onKeydown"], cr = { value: "" }, lr = ["value"], ur = { class: "field" }, dr = { class: "field__label" }, fr = ["placeholder"], pr = { class: "field__hint" }, mr = { class: "field" }, hr = { class: "field__label" }, gr = ["placeholder"], _r = { class: "dialog__actions" }, vr = ["disabled"], yr = /*#__PURE__*/ V(/* @__PURE__ */ l({
4609
+ }, cr = { class: "field__label" }, lr = ["onKeydown"], ur = { value: "" }, dr = ["value"], fr = { class: "field" }, pr = { class: "field__label" }, mr = ["placeholder"], hr = { class: "field__hint" }, gr = { class: "field" }, _r = { class: "field__label" }, vr = ["placeholder"], yr = { class: "dialog__actions" }, br = ["disabled"], xr = /*#__PURE__*/ V(/* @__PURE__ */ l({
4609
4610
  __name: "HyperlinkDialog",
4610
4611
  props: {
4611
4612
  isOpen: { type: Boolean },
@@ -4655,7 +4656,7 @@ var Rn = l({
4655
4656
  function L() {
4656
4657
  l("close");
4657
4658
  }
4658
- function ee() {
4659
+ function R() {
4659
4660
  if (m.value === "bookmark") {
4660
4661
  if (!g.value) return;
4661
4662
  l("submit", {
@@ -4675,7 +4676,7 @@ var Rn = l({
4675
4676
  tooltip: y.value
4676
4677
  }), L();
4677
4678
  }
4678
- function R() {
4679
+ function z() {
4679
4680
  if (m.value === "url") {
4680
4681
  if (E.value = !0, !h.value.trim()) {
4681
4682
  w.value = "";
@@ -4684,7 +4685,7 @@ var Rn = l({
4684
4685
  w.value = F(h.value) ? "" : s("dialogs.hyperlink.invalidUrl");
4685
4686
  }
4686
4687
  }
4687
- function te() {
4688
+ function B() {
4688
4689
  l("remove"), L();
4689
4690
  }
4690
4691
  return (n, r) => t.isOpen ? (_(), a("div", {
@@ -4695,24 +4696,24 @@ var Rn = l({
4695
4696
  class: "dialog",
4696
4697
  onMousedown: r[6] ||= P(() => {}, ["stop"]),
4697
4698
  onKeydown: r[7] ||= P(() => {}, ["stop"])
4698
- }, [o("div", qn, [o("span", Jn, C(S.value ? T(s)("dialogs.hyperlink.titleEdit") : T(s)("dialogs.hyperlink.titleInsert")), 1), o("button", {
4699
+ }, [o("div", Yn, [o("span", Xn, C(S.value ? T(s)("dialogs.hyperlink.titleEdit") : T(s)("dialogs.hyperlink.titleInsert")), 1), o("button", {
4699
4700
  class: "dialog__close",
4700
4701
  "aria-label": T(s)("common.closeDialog"),
4701
4702
  onClick: L
4702
- }, " ✕ ", 8, Yn)]), o("div", Xn, [
4703
- D.value.length > 0 ? (_(), a("div", Zn, [o("button", {
4703
+ }, " ✕ ", 8, Zn)]), o("div", Qn, [
4704
+ D.value.length > 0 ? (_(), a("div", $n, [o("button", {
4704
4705
  class: p(["link-tab", { active: m.value === "url" }]),
4705
4706
  role: "tab",
4706
4707
  "aria-selected": m.value === "url",
4707
4708
  onMousedown: r[0] ||= P((e) => m.value = "url", ["prevent"])
4708
- }, C(T(s)("dialogs.hyperlink.tabWebAddress")), 43, Qn), o("button", {
4709
+ }, C(T(s)("dialogs.hyperlink.tabWebAddress")), 43, er), o("button", {
4709
4710
  class: p(["link-tab", { active: m.value === "bookmark" }]),
4710
4711
  role: "tab",
4711
4712
  "aria-selected": m.value === "bookmark",
4712
4713
  onMousedown: r[1] ||= P((e) => m.value = "bookmark", ["prevent"])
4713
- }, C(T(s)("dialogs.hyperlink.tabBookmark")), 43, $n)])) : i("", !0),
4714
- m.value === "url" ? (_(), a("div", er, [
4715
- o("label", tr, C(T(s)("dialogs.hyperlink.urlLabel")), 1),
4714
+ }, C(T(s)("dialogs.hyperlink.tabBookmark")), 43, tr)])) : i("", !0),
4715
+ m.value === "url" ? (_(), a("div", nr, [
4716
+ o("label", rr, C(T(s)("dialogs.hyperlink.urlLabel")), 1),
4716
4717
  M(o("input", {
4717
4718
  ref_key: "urlInputRef",
4718
4719
  ref: u,
@@ -4720,39 +4721,39 @@ var Rn = l({
4720
4721
  class: p(["field__input", { "field__input--error": E.value && !!w.value }]),
4721
4722
  placeholder: T(s)("dialogs.hyperlink.urlPlaceholder"),
4722
4723
  "aria-invalid": E.value && !!w.value,
4723
- onKeydown: N(P(ee, ["prevent"]), ["enter"]),
4724
- onBlur: R
4725
- }, null, 42, nr), [[k, h.value]]),
4726
- E.value && w.value ? (_(), a("div", rr, C(w.value), 1)) : (_(), a("div", ir, C(T(s)("dialogs.hyperlink.urlHint")), 1))
4727
- ])) : (_(), a("div", ar, [o("label", or, C(T(s)("dialogs.hyperlink.bookmarkLabel")), 1), M(o("select", {
4724
+ onKeydown: N(P(R, ["prevent"]), ["enter"]),
4725
+ onBlur: z
4726
+ }, null, 42, ir), [[k, h.value]]),
4727
+ E.value && w.value ? (_(), a("div", ar, C(w.value), 1)) : (_(), a("div", or, C(T(s)("dialogs.hyperlink.urlHint")), 1))
4728
+ ])) : (_(), a("div", sr, [o("label", cr, C(T(s)("dialogs.hyperlink.bookmarkLabel")), 1), M(o("select", {
4728
4729
  ref_key: "bookmarkSelectRef",
4729
4730
  ref: d,
4730
4731
  "onUpdate:modelValue": r[3] ||= (e) => g.value = e,
4731
4732
  class: "field__input",
4732
- onKeydown: N(P(ee, ["prevent"]), ["enter"])
4733
- }, [o("option", cr, C(T(s)("dialogs.hyperlink.bookmarkPlaceholder")), 1), (_(!0), a(e, null, x(D.value, (e) => (_(), a("option", {
4733
+ onKeydown: N(P(R, ["prevent"]), ["enter"])
4734
+ }, [o("option", ur, C(T(s)("dialogs.hyperlink.bookmarkPlaceholder")), 1), (_(!0), a(e, null, x(D.value, (e) => (_(), a("option", {
4734
4735
  key: e.name,
4735
4736
  value: e.name
4736
- }, C(e.label || e.name), 9, lr))), 128))], 40, sr), [[O, g.value]])])),
4737
- o("div", ur, [
4738
- o("label", dr, C(T(s)("dialogs.hyperlink.displayTextLabel")), 1),
4737
+ }, C(e.label || e.name), 9, dr))), 128))], 40, lr), [[O, g.value]])])),
4738
+ o("div", fr, [
4739
+ o("label", pr, C(T(s)("dialogs.hyperlink.displayTextLabel")), 1),
4739
4740
  M(o("input", {
4740
4741
  "onUpdate:modelValue": r[4] ||= (e) => v.value = e,
4741
4742
  class: "field__input",
4742
4743
  placeholder: T(s)("dialogs.hyperlink.displayTextPlaceholder")
4743
- }, null, 8, fr), [[k, v.value]]),
4744
- o("div", pr, C(T(s)("dialogs.hyperlink.displayTextHint")), 1)
4744
+ }, null, 8, mr), [[k, v.value]]),
4745
+ o("div", hr, C(T(s)("dialogs.hyperlink.displayTextHint")), 1)
4745
4746
  ]),
4746
- o("div", mr, [o("label", hr, C(T(s)("dialogs.hyperlink.tooltipLabel")), 1), M(o("input", {
4747
+ o("div", gr, [o("label", _r, C(T(s)("dialogs.hyperlink.tooltipLabel")), 1), M(o("input", {
4747
4748
  "onUpdate:modelValue": r[5] ||= (e) => y.value = e,
4748
4749
  class: "field__input",
4749
4750
  placeholder: T(s)("dialogs.hyperlink.tooltipPlaceholder")
4750
- }, null, 8, gr), [[k, y.value]])]),
4751
- o("div", _r, [
4751
+ }, null, 8, vr), [[k, y.value]])]),
4752
+ o("div", yr, [
4752
4753
  S.value ? (_(), a("button", {
4753
4754
  key: 0,
4754
4755
  class: "dialog__btn dialog__btn--danger",
4755
- onMousedown: P(te, ["prevent"])
4756
+ onMousedown: P(B, ["prevent"])
4756
4757
  }, C(T(s)("dialogs.hyperlink.removeLink")), 33)) : i("", !0),
4757
4758
  r[8] ||= o("div", { style: { flex: "1" } }, null, -1),
4758
4759
  o("button", {
@@ -4761,13 +4762,13 @@ var Rn = l({
4761
4762
  }, C(T(s)("common.cancel")), 1),
4762
4763
  o("button", {
4763
4764
  class: "dialog__btn dialog__btn--primary",
4764
- onMousedown: P(ee, ["prevent"]),
4765
+ onMousedown: P(R, ["prevent"]),
4765
4766
  disabled: !j.value
4766
- }, C(S.value ? T(s)("common.update") : T(s)("common.insert")), 41, vr)
4767
+ }, C(S.value ? T(s)("common.update") : T(s)("common.insert")), 41, br)
4767
4768
  ])
4768
4769
  ])], 32)], 32)) : i("", !0);
4769
4770
  }
4770
- }), [["__scopeId", "data-v-e1cb1c4d"]]), br = { class: "dialog__header" }, xr = { class: "dialog__title" }, Sr = ["aria-label"], Cr = { class: "dialog__body" }, wr = { class: "field" }, Tr = { class: "field__label" }, Er = ["placeholder"], Dr = { class: "field" }, Or = { class: "field__label" }, kr = { value: "inline" }, Ar = { value: "wrapRight" }, jr = { value: "wrapLeft" }, Mr = { value: "topAndBottom" }, Nr = { value: "behind" }, Pr = { value: "inFront" }, Fr = { class: "field" }, Ir = { class: "field__label" }, Lr = { class: "field-row" }, Rr = { value: "solid" }, zr = { value: "dashed" }, Br = { value: "dotted" }, Vr = { value: "double" }, Hr = { class: "field" }, Ur = { class: "field__label" }, Wr = { class: "field-row" }, Gr = ["value"], Kr = ["value"], qr = { class: "field__checkbox" }, Jr = { class: "dialog__actions" }, Yr = /*#__PURE__*/ V(/* @__PURE__ */ l({
4771
+ }), [["__scopeId", "data-v-3078565e"]]), Sr = { class: "dialog__header" }, Cr = { class: "dialog__title" }, wr = ["aria-label"], Tr = { class: "dialog__body" }, Er = { class: "field" }, Dr = { class: "field__label" }, Or = ["placeholder"], kr = { class: "field" }, Ar = { class: "field__label" }, jr = { value: "inline" }, Mr = { value: "wrapRight" }, Nr = { value: "wrapLeft" }, Pr = { value: "topAndBottom" }, Fr = { value: "behind" }, Ir = { value: "inFront" }, Lr = { class: "field" }, Rr = { class: "field__label" }, zr = { class: "field-row" }, Br = { value: "solid" }, Vr = { value: "dashed" }, Hr = { value: "dotted" }, Ur = { value: "double" }, Wr = { class: "field" }, Gr = { class: "field__label" }, Kr = { class: "field-row" }, qr = ["value"], Jr = ["value"], Yr = { class: "field__checkbox" }, Xr = { class: "dialog__actions" }, Zr = /*#__PURE__*/ V(/* @__PURE__ */ l({
4771
4772
  __name: "ImagePropertiesDialog",
4772
4773
  props: {
4773
4774
  isOpen: { type: Boolean },
@@ -4854,29 +4855,29 @@ var Rn = l({
4854
4855
  },
4855
4856
  onClose: S
4856
4857
  }, {
4857
- default: j(() => [o("div", br, [o("span", xr, C(T(n)("dialogs.imageProperties.title")), 1), o("button", {
4858
+ default: j(() => [o("div", Sr, [o("span", Cr, C(T(n)("dialogs.imageProperties.title")), 1), o("button", {
4858
4859
  class: "dialog__close",
4859
4860
  "aria-label": T(n)("common.closeDialog"),
4860
4861
  onClick: S
4861
- }, " ", 8, Sr)]), o("div", Cr, [
4862
- o("div", wr, [o("label", Tr, C(T(n)("dialogs.imageProperties.altText")), 1), M(o("textarea", {
4862
+ }, "✕", 8, wr)]), o("div", Tr, [
4863
+ o("div", Er, [o("label", Dr, C(T(n)("dialogs.imageProperties.altText")), 1), M(o("textarea", {
4863
4864
  "onUpdate:modelValue": a[0] ||= (e) => l.value = e,
4864
4865
  class: "field__textarea",
4865
4866
  placeholder: T(n)("dialogs.imageProperties.altTextPlaceholder"),
4866
4867
  rows: "2"
4867
- }, null, 8, Er), [[k, l.value]])]),
4868
- o("div", Dr, [o("label", Or, C(T(n)("dialogs.imageProperties.textWrapping")), 1), M(o("select", {
4868
+ }, null, 8, Or), [[k, l.value]])]),
4869
+ o("div", kr, [o("label", Ar, C(T(n)("dialogs.imageProperties.textWrapping")), 1), M(o("select", {
4869
4870
  "onUpdate:modelValue": a[1] ||= (e) => u.value = e,
4870
4871
  class: "field__select"
4871
4872
  }, [
4872
- o("option", kr, C(T(n)("dialogs.imageProperties.wrapOptions.inline")), 1),
4873
- o("option", Ar, C(T(n)("dialogs.imageProperties.wrapOptions.wrapRight")), 1),
4874
- o("option", jr, C(T(n)("dialogs.imageProperties.wrapOptions.wrapLeft")), 1),
4875
- o("option", Mr, C(T(n)("dialogs.imageProperties.wrapOptions.topAndBottom")), 1),
4876
- o("option", Nr, C(T(n)("dialogs.imageProperties.wrapOptions.behind")), 1),
4877
- o("option", Pr, C(T(n)("dialogs.imageProperties.wrapOptions.inFront")), 1)
4873
+ o("option", jr, C(T(n)("dialogs.imageProperties.wrapOptions.inline")), 1),
4874
+ o("option", Mr, C(T(n)("dialogs.imageProperties.wrapOptions.wrapRight")), 1),
4875
+ o("option", Nr, C(T(n)("dialogs.imageProperties.wrapOptions.wrapLeft")), 1),
4876
+ o("option", Pr, C(T(n)("dialogs.imageProperties.wrapOptions.topAndBottom")), 1),
4877
+ o("option", Fr, C(T(n)("dialogs.imageProperties.wrapOptions.behind")), 1),
4878
+ o("option", Ir, C(T(n)("dialogs.imageProperties.wrapOptions.inFront")), 1)
4878
4879
  ], 512), [[O, u.value]])]),
4879
- o("div", Fr, [o("label", Ir, C(T(n)("dialogs.imageProperties.border")), 1), o("div", Lr, [
4880
+ o("div", Lr, [o("label", Rr, C(T(n)("dialogs.imageProperties.border")), 1), o("div", zr, [
4880
4881
  o("label", null, [
4881
4882
  s(C(T(n)("dialogs.imageProperties.width")) + ": ", 1),
4882
4883
  M(o("input", {
@@ -4898,10 +4899,10 @@ var Rn = l({
4898
4899
  "onUpdate:modelValue": a[3] ||= (e) => f.value = e,
4899
4900
  class: "field__select--small"
4900
4901
  }, [
4901
- o("option", Rr, C(T(n)("dialogs.imageProperties.borderStyles.solid")), 1),
4902
- o("option", zr, C(T(n)("dialogs.imageProperties.borderStyles.dashed")), 1),
4903
- o("option", Br, C(T(n)("dialogs.imageProperties.borderStyles.dotted")), 1),
4904
- o("option", Vr, C(T(n)("dialogs.imageProperties.borderStyles.double")), 1)
4902
+ o("option", Br, C(T(n)("dialogs.imageProperties.borderStyles.solid")), 1),
4903
+ o("option", Vr, C(T(n)("dialogs.imageProperties.borderStyles.dashed")), 1),
4904
+ o("option", Hr, C(T(n)("dialogs.imageProperties.borderStyles.dotted")), 1),
4905
+ o("option", Ur, C(T(n)("dialogs.imageProperties.borderStyles.double")), 1)
4905
4906
  ], 512), [[O, f.value]])]),
4906
4907
  o("label", null, [s(C(T(n)("dialogs.imageProperties.color")) + ": ", 1), M(o("input", {
4907
4908
  "onUpdate:modelValue": a[4] ||= (e) => p.value = e,
@@ -4909,9 +4910,9 @@ var Rn = l({
4909
4910
  class: "field__color"
4910
4911
  }, null, 512), [[k, p.value]])])
4911
4912
  ])]),
4912
- o("div", Hr, [
4913
- o("label", Ur, C(T(n)("dialogs.imageProperties.dimensions")), 1),
4914
- o("div", Wr, [o("label", null, [
4913
+ o("div", Wr, [
4914
+ o("label", Gr, C(T(n)("dialogs.imageProperties.dimensions")), 1),
4915
+ o("div", Kr, [o("label", null, [
4915
4916
  s(C(T(n)("dialogs.imageProperties.widthLabel")) + " ", 1),
4916
4917
  o("input", {
4917
4918
  value: m.value,
@@ -4920,7 +4921,7 @@ var Rn = l({
4920
4921
  max: "2000",
4921
4922
  class: "field__input--small",
4922
4923
  onInput: y
4923
- }, null, 40, Gr),
4924
+ }, null, 40, qr),
4924
4925
  s(C(T(n)("common.px")), 1)
4925
4926
  ]), o("label", null, [
4926
4927
  s(C(T(n)("dialogs.imageProperties.heightLabel")) + " ", 1),
@@ -4931,15 +4932,15 @@ var Rn = l({
4931
4932
  max: "2000",
4932
4933
  class: "field__input--small",
4933
4934
  onInput: x
4934
- }, null, 40, Kr),
4935
+ }, null, 40, Jr),
4935
4936
  s(C(T(n)("common.px")), 1)
4936
4937
  ])]),
4937
- o("label", qr, [M(o("input", {
4938
+ o("label", Yr, [M(o("input", {
4938
4939
  "onUpdate:modelValue": a[5] ||= (e) => g.value = e,
4939
4940
  type: "checkbox"
4940
4941
  }, null, 512), [[E, g.value]]), s(" " + C(T(n)("dialogs.imageProperties.lockAspectRatio")), 1)])
4941
4942
  ]),
4942
- o("div", Jr, [o("button", {
4943
+ o("div", Xr, [o("button", {
4943
4944
  class: "dialog__btn",
4944
4945
  onClick: S
4945
4946
  }, C(T(n)("common.cancel")), 1), o("button", {
@@ -4950,601 +4951,95 @@ var Rn = l({
4950
4951
  _: 1
4951
4952
  }, 8, ["open", "aria-label"]));
4952
4953
  }
4953
- }), [["__scopeId", "data-v-1af2dcf5"]]), Xr = { class: "dialog__header" }, Zr = { class: "dialog__title" }, Qr = ["title"], $r = { class: "dialog__body" }, ei = ["placeholder"], ti = {
4954
+ }), [["__scopeId", "data-v-4879cd1c"]]), Qr = { class: "dialog__header" }, $r = { class: "dialog__title" }, ei = ["title"], ti = { class: "dialog__body" }, ni = ["placeholder"], ri = {
4954
4955
  key: 0,
4955
4956
  class: "symbol-tabs"
4956
- }, ni = ["onMousedown"], ri = { class: "symbol-grid" }, ii = [
4957
+ }, ii = ["onMousedown"], ai = { class: "symbol-grid" }, oi = [
4957
4958
  "title",
4958
4959
  "onClick",
4959
4960
  "onDblclick"
4960
- ], ai = {
4961
+ ], si = {
4961
4962
  key: 0,
4962
4963
  class: "symbol-empty"
4963
- }, oi = {
4964
+ }, ci = {
4964
4965
  key: 1,
4965
4966
  class: "symbol-preview"
4966
- }, si = { class: "symbol-preview__char" }, ci = { class: "symbol-preview__info" }, li = {
4967
+ }, li = { class: "symbol-preview__char" }, ui = { class: "symbol-preview__info" }, di = {
4967
4968
  key: 2,
4968
4969
  class: "symbol-recent"
4969
- }, ui = { class: "symbol-recent__label" }, di = ["onDblclick", "onClick"], fi = { class: "dialog__actions" }, pi = ["disabled"], mi = /*#__PURE__*/ V(/* @__PURE__ */ l({
4970
+ }, fi = { class: "symbol-recent__label" }, pi = ["onDblclick", "onClick"], mi = { class: "dialog__actions" }, hi = ["disabled"], gi = /*#__PURE__*/ V(/* @__PURE__ */ l({
4970
4971
  __name: "InsertSymbolDialog",
4971
4972
  props: { isOpen: { type: Boolean } },
4972
4973
  emits: ["close", "insert"],
4973
4974
  setup(t, { emit: r }) {
4974
- let { t: s } = Z(), c = t, l = r, u = b(null), d = b(""), m = b("Common"), h = b(""), g = b([]), v = [
4975
- {
4976
- name: "Common",
4977
- nameKey: "dialogs.insertSymbol.categories.common",
4978
- symbols: [
4979
- {
4980
- char: "©",
4981
- name: "Copyright"
4982
- },
4983
- {
4984
- char: "®",
4985
- name: "Registered"
4986
- },
4987
- {
4988
- char: "™",
4989
- name: "Trademark"
4990
- },
4991
- {
4992
- char: "•",
4993
- name: "Bullet"
4994
- },
4995
- {
4996
- char: "…",
4997
- name: "Ellipsis"
4998
- },
4999
- {
5000
- char: "—",
5001
- name: "Em dash"
5002
- },
5003
- {
5004
- char: "–",
5005
- name: "En dash"
5006
- },
5007
- {
5008
- char: "±",
5009
- name: "Plus-minus"
5010
- },
5011
- {
5012
- char: "×",
5013
- name: "Multiply"
5014
- },
5015
- {
5016
- char: "÷",
5017
- name: "Divide"
5018
- },
5019
- {
5020
- char: "≠",
5021
- name: "Not equal"
5022
- },
5023
- {
5024
- char: "≈",
5025
- name: "Approximately"
5026
- },
5027
- {
5028
- char: "≤",
5029
- name: "Less or equal"
5030
- },
5031
- {
5032
- char: "≥",
5033
- name: "Greater or equal"
5034
- },
5035
- {
5036
- char: "°",
5037
- name: "Degree"
5038
- },
5039
- {
5040
- char: "µ",
5041
- name: "Micro"
5042
- },
5043
- {
5044
- char: "¶",
5045
- name: "Pilcrow"
5046
- },
5047
- {
5048
- char: "§",
5049
- name: "Section"
5050
- },
5051
- {
5052
- char: "†",
5053
- name: "Dagger"
5054
- },
5055
- {
5056
- char: "‡",
5057
- name: "Double dagger"
5058
- },
5059
- {
5060
- char: "¿",
5061
- name: "Inverted question"
5062
- },
5063
- {
5064
- char: "¡",
5065
- name: "Inverted exclamation"
5066
- },
5067
- {
5068
- char: "‰",
5069
- name: "Per mille"
5070
- },
5071
- {
5072
- char: "∞",
5073
- name: "Infinity"
5074
- }
5075
- ]
5076
- },
5077
- {
5078
- name: "Arrows",
5079
- nameKey: "dialogs.insertSymbol.categories.arrows",
5080
- symbols: [
5081
- {
5082
- char: "←",
5083
- name: "Left"
5084
- },
5085
- {
5086
- char: "→",
5087
- name: "Right"
5088
- },
5089
- {
5090
- char: "↑",
5091
- name: "Up"
5092
- },
5093
- {
5094
- char: "↓",
5095
- name: "Down"
5096
- },
5097
- {
5098
- char: "↔",
5099
- name: "Left-right"
5100
- },
5101
- {
5102
- char: "↕",
5103
- name: "Up-down"
5104
- },
5105
- {
5106
- char: "⇐",
5107
- name: "Double left"
5108
- },
5109
- {
5110
- char: "⇒",
5111
- name: "Double right"
5112
- },
5113
- {
5114
- char: "⇑",
5115
- name: "Double up"
5116
- },
5117
- {
5118
- char: "⇓",
5119
- name: "Double down"
5120
- },
5121
- {
5122
- char: "⇔",
5123
- name: "Double left-right"
5124
- },
5125
- {
5126
- char: "➡",
5127
- name: "Heavy right"
5128
- },
5129
- {
5130
- char: "↩",
5131
- name: "Return"
5132
- },
5133
- {
5134
- char: "↪",
5135
- name: "Curved right"
5136
- },
5137
- {
5138
- char: "↻",
5139
- name: "Clockwise"
5140
- },
5141
- {
5142
- char: "↺",
5143
- name: "Counter-clockwise"
5144
- }
5145
- ]
5146
- },
5147
- {
5148
- name: "Math",
5149
- nameKey: "dialogs.insertSymbol.categories.math",
5150
- symbols: [
5151
- {
5152
- char: "∑",
5153
- name: "Summation"
5154
- },
5155
- {
5156
- char: "∏",
5157
- name: "Product"
5158
- },
5159
- {
5160
- char: "∫",
5161
- name: "Integral"
5162
- },
5163
- {
5164
- char: "√",
5165
- name: "Square root"
5166
- },
5167
- {
5168
- char: "∂",
5169
- name: "Partial diff"
5170
- },
5171
- {
5172
- char: "∇",
5173
- name: "Nabla"
5174
- },
5175
- {
5176
- char: "∈",
5177
- name: "Element of"
5178
- },
5179
- {
5180
- char: "∉",
5181
- name: "Not element"
5182
- },
5183
- {
5184
- char: "⊂",
5185
- name: "Subset"
5186
- },
5187
- {
5188
- char: "⊃",
5189
- name: "Superset"
5190
- },
5191
- {
5192
- char: "∪",
5193
- name: "Union"
5194
- },
5195
- {
5196
- char: "∩",
5197
- name: "Intersection"
5198
- },
5199
- {
5200
- char: "∧",
5201
- name: "And"
5202
- },
5203
- {
5204
- char: "∨",
5205
- name: "Or"
5206
- },
5207
- {
5208
- char: "¬",
5209
- name: "Not"
5210
- },
5211
- {
5212
- char: "∀",
5213
- name: "For all"
5214
- },
5215
- {
5216
- char: "∃",
5217
- name: "Exists"
5218
- },
5219
- {
5220
- char: "∅",
5221
- name: "Empty set"
5222
- },
5223
- {
5224
- char: "∝",
5225
- name: "Proportional"
5226
- },
5227
- {
5228
- char: "∠",
5229
- name: "Angle"
5230
- }
5231
- ]
5232
- },
5233
- {
5234
- name: "Greek",
5235
- nameKey: "dialogs.insertSymbol.categories.greek",
5236
- symbols: [
5237
- {
5238
- char: "α",
5239
- name: "alpha"
5240
- },
5241
- {
5242
- char: "β",
5243
- name: "beta"
5244
- },
5245
- {
5246
- char: "γ",
5247
- name: "gamma"
5248
- },
5249
- {
5250
- char: "δ",
5251
- name: "delta"
5252
- },
5253
- {
5254
- char: "ε",
5255
- name: "epsilon"
5256
- },
5257
- {
5258
- char: "ζ",
5259
- name: "zeta"
5260
- },
5261
- {
5262
- char: "η",
5263
- name: "eta"
5264
- },
5265
- {
5266
- char: "θ",
5267
- name: "theta"
5268
- },
5269
- {
5270
- char: "λ",
5271
- name: "lambda"
5272
- },
5273
- {
5274
- char: "μ",
5275
- name: "mu"
5276
- },
5277
- {
5278
- char: "π",
5279
- name: "pi"
5280
- },
5281
- {
5282
- char: "ρ",
5283
- name: "rho"
5284
- },
5285
- {
5286
- char: "σ",
5287
- name: "sigma"
5288
- },
5289
- {
5290
- char: "τ",
5291
- name: "tau"
5292
- },
5293
- {
5294
- char: "φ",
5295
- name: "phi"
5296
- },
5297
- {
5298
- char: "ψ",
5299
- name: "psi"
5300
- },
5301
- {
5302
- char: "ω",
5303
- name: "omega"
5304
- },
5305
- {
5306
- char: "Δ",
5307
- name: "Delta"
5308
- },
5309
- {
5310
- char: "Σ",
5311
- name: "Sigma"
5312
- },
5313
- {
5314
- char: "Ω",
5315
- name: "Omega"
5316
- },
5317
- {
5318
- char: "Π",
5319
- name: "Pi"
5320
- },
5321
- {
5322
- char: "Φ",
5323
- name: "Phi"
5324
- },
5325
- {
5326
- char: "Ψ",
5327
- name: "Psi"
5328
- },
5329
- {
5330
- char: "Θ",
5331
- name: "Theta"
5332
- }
5333
- ]
5334
- },
5335
- {
5336
- name: "Currency",
5337
- nameKey: "dialogs.insertSymbol.categories.currency",
5338
- symbols: [
5339
- {
5340
- char: "$",
5341
- name: "Dollar"
5342
- },
5343
- {
5344
- char: "€",
5345
- name: "Euro"
5346
- },
5347
- {
5348
- char: "£",
5349
- name: "Pound"
5350
- },
5351
- {
5352
- char: "¥",
5353
- name: "Yen"
5354
- },
5355
- {
5356
- char: "₹",
5357
- name: "Rupee"
5358
- },
5359
- {
5360
- char: "₽",
5361
- name: "Ruble"
5362
- },
5363
- {
5364
- char: "₩",
5365
- name: "Won"
5366
- },
5367
- {
5368
- char: "₿",
5369
- name: "Bitcoin"
5370
- },
5371
- {
5372
- char: "¢",
5373
- name: "Cent"
5374
- },
5375
- {
5376
- char: "₫",
5377
- name: "Dong"
5378
- },
5379
- {
5380
- char: "₺",
5381
- name: "Lira"
5382
- },
5383
- {
5384
- char: "₴",
5385
- name: "Hryvnia"
5386
- }
5387
- ]
5388
- },
5389
- {
5390
- name: "Shapes",
5391
- nameKey: "dialogs.insertSymbol.categories.shapes",
5392
- symbols: [
5393
- {
5394
- char: "■",
5395
- name: "Black square"
5396
- },
5397
- {
5398
- char: "□",
5399
- name: "White square"
5400
- },
5401
- {
5402
- char: "▲",
5403
- name: "Up triangle"
5404
- },
5405
- {
5406
- char: "▼",
5407
- name: "Down triangle"
5408
- },
5409
- {
5410
- char: "●",
5411
- name: "Black circle"
5412
- },
5413
- {
5414
- char: "○",
5415
- name: "White circle"
5416
- },
5417
- {
5418
- char: "◆",
5419
- name: "Black diamond"
5420
- },
5421
- {
5422
- char: "◇",
5423
- name: "White diamond"
5424
- },
5425
- {
5426
- char: "★",
5427
- name: "Black star"
5428
- },
5429
- {
5430
- char: "☆",
5431
- name: "White star"
5432
- },
5433
- {
5434
- char: "♠",
5435
- name: "Spade"
5436
- },
5437
- {
5438
- char: "♥",
5439
- name: "Heart"
5440
- },
5441
- {
5442
- char: "♦",
5443
- name: "Diamond"
5444
- },
5445
- {
5446
- char: "♣",
5447
- name: "Club"
5448
- },
5449
- {
5450
- char: "✓",
5451
- name: "Check mark"
5452
- },
5453
- {
5454
- char: "✗",
5455
- name: "Ballot X"
5456
- },
5457
- {
5458
- char: "✦",
5459
- name: "Four pointed star"
5460
- },
5461
- {
5462
- char: "◌",
5463
- name: "Dotted circle"
5464
- }
5465
- ]
5466
- }
5467
- ], y = n(() => {
5468
- let e = [];
5469
- for (let t of v) for (let n of t.symbols) e.push({
5470
- ...n,
5471
- category: t.name
5472
- });
5473
- return e;
5474
- }), S = n(() => {
5475
- if (d.value) {
5476
- let e = d.value.toLowerCase();
5477
- return y.value.filter((t) => t.name.toLowerCase().includes(e) || t.char === e);
5478
- }
4975
+ let { t: s } = Z(), c = t, l = r, u = b(null), d = b(""), m = b("Common"), h = b(""), g = b([]), v = ee, y = n(() => {
4976
+ if (d.value) return te(d.value);
5479
4977
  let e = v.find((e) => e.name === m.value);
5480
- return e ? e.symbols.map((t) => ({
5481
- ...t,
5482
- category: e.name
5483
- })) : [];
4978
+ return e ? e.symbols.map((t) => Object.assign({}, t, { category: e.name })) : [];
5484
4979
  });
5485
4980
  A(() => c.isOpen, async (e) => {
5486
4981
  e && (await f(), u.value?.focus());
5487
4982
  });
5488
- function w() {
4983
+ function S() {
5489
4984
  l("close");
5490
4985
  }
5491
- function E(e) {
4986
+ function w(e) {
5492
4987
  e && (g.value = [e, ...g.value.filter((t) => t !== e)].slice(0, 10), l("insert", e));
5493
4988
  }
5494
4989
  return (n, r) => t.isOpen ? (_(), a("div", {
5495
4990
  key: 0,
5496
4991
  class: "dialog-overlay",
5497
- onMousedown: P(w, ["self"])
4992
+ onMousedown: P(S, ["self"])
5498
4993
  }, [o("div", {
5499
4994
  class: "dialog symbol-dialog",
5500
4995
  onMousedown: r[2] ||= P(() => {}, ["stop"]),
5501
4996
  onKeydown: r[3] ||= P(() => {}, ["stop"])
5502
- }, [o("div", Xr, [o("span", Zr, C(T(s)("dialogs.insertSymbol.title")), 1), o("button", {
4997
+ }, [o("div", Qr, [o("span", $r, C(T(s)("dialogs.insertSymbol.title")), 1), o("button", {
5503
4998
  class: "dialog__close",
5504
4999
  title: T(s)("common.closeDialog"),
5505
- onClick: w
5506
- }, "✕", 8, Qr)]), o("div", $r, [
5000
+ onClick: S
5001
+ }, "✕", 8, ei)]), o("div", ti, [
5507
5002
  M(o("input", {
5508
5003
  ref_key: "searchRef",
5509
5004
  ref: u,
5510
5005
  "onUpdate:modelValue": r[0] ||= (e) => d.value = e,
5511
5006
  class: "symbol-search",
5512
5007
  placeholder: T(s)("dialogs.insertSymbol.searchPlaceholder"),
5513
- onKeydown: N(w, ["escape"])
5514
- }, null, 40, ei), [[k, d.value]]),
5515
- d.value ? i("", !0) : (_(), a("div", ti, [(_(), a(e, null, x(v, (e) => o("button", {
5008
+ onKeydown: N(S, ["escape"])
5009
+ }, null, 40, ni), [[k, d.value]]),
5010
+ d.value ? i("", !0) : (_(), a("div", ri, [(_(!0), a(e, null, x(T(v), (e) => (_(), a("button", {
5516
5011
  key: e.name,
5517
5012
  class: p(["symbol-tab", { active: m.value === e.name }]),
5518
5013
  onMousedown: P((t) => m.value = e.name, ["prevent"])
5519
- }, C(T(s)(e.nameKey)), 43, ni)), 64))])),
5520
- o("div", ri, [(_(!0), a(e, null, x(S.value, (e) => (_(), a("button", {
5014
+ }, C(T(s)(e.nameKey)), 43, ii))), 128))])),
5015
+ o("div", ai, [(_(!0), a(e, null, x(y.value, (e) => (_(), a("button", {
5521
5016
  key: e.char,
5522
5017
  class: p(["symbol-cell", { selected: h.value === e.char }]),
5523
5018
  title: e.name,
5524
5019
  onClick: (t) => h.value = e.char,
5525
- onDblclick: (t) => E(e.char)
5526
- }, C(e.char), 43, ii))), 128)), S.value.length === 0 ? (_(), a("div", ai, C(d.value ? T(s)("dialogs.insertSymbol.noResults", { query: d.value }) : T(s)("dialogs.insertSymbol.noResultsEmpty")), 1)) : i("", !0)]),
5527
- h.value ? (_(), a("div", oi, [o("span", si, C(h.value), 1), o("span", ci, "U+" + C(h.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4, "0")), 1)])) : i("", !0),
5528
- g.value.length > 0 && !d.value ? (_(), a("div", li, [o("div", ui, C(T(s)("dialogs.insertSymbol.recent")), 1), (_(!0), a(e, null, x(g.value, (e) => (_(), a("button", {
5020
+ onDblclick: (t) => w(e.char)
5021
+ }, C(e.char), 43, oi))), 128)), y.value.length === 0 ? (_(), a("div", si, C(d.value ? T(s)("dialogs.insertSymbol.noResults", { query: d.value }) : T(s)("dialogs.insertSymbol.noResultsEmpty")), 1)) : i("", !0)]),
5022
+ h.value ? (_(), a("div", ci, [o("span", li, C(h.value), 1), o("span", ui, "U+" + C(h.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4, "0")), 1)])) : i("", !0),
5023
+ g.value.length > 0 && !d.value ? (_(), a("div", di, [o("div", fi, C(T(s)("dialogs.insertSymbol.recent")), 1), (_(!0), a(e, null, x(g.value, (e) => (_(), a("button", {
5529
5024
  key: e,
5530
5025
  class: "symbol-cell symbol-cell--small",
5531
- onDblclick: (t) => E(e),
5026
+ onDblclick: (t) => w(e),
5532
5027
  onClick: (t) => h.value = e
5533
- }, C(e), 41, di))), 128))])) : i("", !0),
5534
- o("div", fi, [o("button", {
5028
+ }, C(e), 41, pi))), 128))])) : i("", !0),
5029
+ o("div", mi, [o("button", {
5535
5030
  class: "dialog__btn",
5536
- onClick: w
5031
+ onClick: S
5537
5032
  }, C(T(s)("common.cancel")), 1), o("button", {
5538
5033
  class: "dialog__btn dialog__btn--primary",
5539
- onMousedown: r[1] ||= P((e) => E(h.value), ["prevent"]),
5034
+ onMousedown: r[1] ||= P((e) => w(h.value), ["prevent"]),
5540
5035
  disabled: !h.value
5541
- }, C(T(s)("common.insert")), 41, pi)])
5036
+ }, C(T(s)("common.insert")), 41, hi)])
5542
5037
  ])], 32)], 32)) : i("", !0);
5543
5038
  }
5544
- }), [["__scopeId", "data-v-b758388e"]]), hi = { class: "ps-header" }, gi = { class: "ps-body" }, _i = { class: "ps-section-label" }, vi = { class: "ps-row" }, yi = { class: "ps-label" }, bi = ["value"], xi = ["value"], Si = {
5039
+ }), [["__scopeId", "data-v-dc4046d2"]]), _i = { class: "ps-header" }, vi = { class: "ps-body" }, yi = { class: "ps-section-label" }, bi = { class: "ps-row" }, xi = { class: "ps-label" }, Si = ["value"], Ci = ["value"], wi = {
5545
5040
  key: 0,
5546
5041
  value: -1
5547
- }, Ci = { class: "ps-row" }, wi = { class: "ps-label" }, Ti = ["value"], Ei = { value: "portrait" }, Di = { value: "landscape" }, Oi = { class: "ps-section-label ps-section-label--spaced" }, ki = { class: "ps-row" }, Ai = { class: "ps-label" }, ji = { class: "ps-row" }, Mi = { class: "ps-label" }, Ni = { class: "ps-row" }, Pi = { class: "ps-label" }, Fi = { class: "ps-row" }, Ii = { class: "ps-label" }, Li = { class: "ps-footer" }, Ri = 12240, zi = 15840, Bi = 1440, Vi = /*#__PURE__*/ V(/* @__PURE__ */ l({
5042
+ }, Ti = { class: "ps-row" }, Ei = { class: "ps-label" }, Di = ["value"], Oi = { value: "portrait" }, ki = { value: "landscape" }, Ai = { class: "ps-section-label ps-section-label--spaced" }, ji = { class: "ps-row" }, Mi = { class: "ps-label" }, Ni = { class: "ps-row" }, Pi = { class: "ps-label" }, Fi = { class: "ps-row" }, Ii = { class: "ps-label" }, Li = { class: "ps-row" }, Ri = { class: "ps-label" }, zi = { class: "ps-footer" }, Bi = 12240, Vi = 15840, Hi = 1440, Ui = /*#__PURE__*/ V(/* @__PURE__ */ l({
5548
5043
  __name: "PageSetupDialog",
5549
5044
  props: {
5550
5045
  isOpen: { type: Boolean },
@@ -5588,12 +5083,12 @@ var Rn = l({
5588
5083
  width: 10440,
5589
5084
  height: 15120
5590
5085
  }
5591
- ], d = t, f = s, p = b(Ri), m = b(zi), h = b("portrait"), g = b(1), v = b(1), y = b(1), S = b(1);
5086
+ ], d = t, f = s, p = b(Bi), m = b(Vi), h = b("portrait"), g = b(1), v = b(1), y = b(1), S = b(1);
5592
5087
  function w(e) {
5593
- return Math.round(e / z * 100) / 100;
5088
+ return Math.round(e / ne * 100) / 100;
5594
5089
  }
5595
5090
  function E(e) {
5596
- return Math.round((Number(e) || 0) * z);
5091
+ return Math.round((Number(e) || 0) * ne);
5597
5092
  }
5598
5093
  let D = n(() => {
5599
5094
  let e = Math.min(p.value, m.value), t = Math.max(p.value, m.value);
@@ -5601,8 +5096,8 @@ var Rn = l({
5601
5096
  });
5602
5097
  A(() => d.isOpen, (e) => {
5603
5098
  if (!e) return;
5604
- let t = d.sectionProperties, n = t?.pageWidth || Ri, r = t?.pageHeight || zi;
5605
- p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = w(t?.marginTop ?? Bi), v.value = w(t?.marginBottom ?? Bi), y.value = w(t?.marginLeft ?? Bi), S.value = w(t?.marginRight ?? Bi);
5099
+ let t = d.sectionProperties, n = t?.pageWidth || Bi, r = t?.pageHeight || Vi;
5100
+ p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = w(t?.marginTop ?? Hi), v.value = w(t?.marginBottom ?? Hi), y.value = w(t?.marginLeft ?? Hi), S.value = w(t?.marginRight ?? Hi);
5606
5101
  }, { immediate: !0 });
5607
5102
  function O(e) {
5608
5103
  if (!(e.target instanceof HTMLSelectElement)) return;
@@ -5644,25 +5139,25 @@ var Rn = l({
5644
5139
  onKeydown: N(I, ["enter"])
5645
5140
  }, {
5646
5141
  default: j(() => [
5647
- o("div", hi, C(T(c)("dialogs.pageSetup.title")), 1),
5648
- o("div", gi, [
5649
- o("div", _i, C(T(c)("dialogs.pageSetup.pageSize")), 1),
5650
- o("div", vi, [o("label", yi, C(T(c)("dialogs.pageSetup.sizeLabel")), 1), o("select", {
5142
+ o("div", _i, C(T(c)("dialogs.pageSetup.title")), 1),
5143
+ o("div", vi, [
5144
+ o("div", yi, C(T(c)("dialogs.pageSetup.pageSize")), 1),
5145
+ o("div", bi, [o("label", xi, C(T(c)("dialogs.pageSetup.sizeLabel")), 1), o("select", {
5651
5146
  class: "ps-input",
5652
5147
  value: D.value,
5653
5148
  onChange: O
5654
5149
  }, [(_(), a(e, null, x(u, (e, t) => o("option", {
5655
5150
  key: e.labelKey,
5656
5151
  value: t
5657
- }, C(T(c)(e.labelKey)), 9, xi)), 64)), D.value < 0 ? (_(), a("option", Si, C(T(c)("dialogs.pageSetup.custom")), 1)) : i("", !0)], 40, bi)]),
5658
- o("div", Ci, [o("label", wi, C(T(c)("dialogs.pageSetup.orientation")), 1), o("select", {
5152
+ }, C(T(c)(e.labelKey)), 9, Ci)), 64)), D.value < 0 ? (_(), a("option", wi, C(T(c)("dialogs.pageSetup.custom")), 1)) : i("", !0)], 40, Si)]),
5153
+ o("div", Ti, [o("label", Ei, C(T(c)("dialogs.pageSetup.orientation")), 1), o("select", {
5659
5154
  class: "ps-input",
5660
5155
  value: h.value,
5661
5156
  onChange: P
5662
- }, [o("option", Ei, C(T(c)("dialogs.pageSetup.portrait")), 1), o("option", Di, C(T(c)("dialogs.pageSetup.landscape")), 1)], 40, Ti)]),
5663
- o("div", Oi, C(T(c)("dialogs.pageSetup.margins")), 1),
5664
- o("div", ki, [
5665
- o("label", Ai, C(T(c)("dialogs.pageSetup.top")), 1),
5157
+ }, [o("option", Oi, C(T(c)("dialogs.pageSetup.portrait")), 1), o("option", ki, C(T(c)("dialogs.pageSetup.landscape")), 1)], 40, Di)]),
5158
+ o("div", Ai, C(T(c)("dialogs.pageSetup.margins")), 1),
5159
+ o("div", ji, [
5160
+ o("label", Mi, C(T(c)("dialogs.pageSetup.top")), 1),
5666
5161
  M(o("input", {
5667
5162
  class: "ps-input",
5668
5163
  type: "number",
@@ -5678,8 +5173,8 @@ var Rn = l({
5678
5173
  ]]),
5679
5174
  s[4] ||= o("span", { class: "ps-unit" }, "in", -1)
5680
5175
  ]),
5681
- o("div", ji, [
5682
- o("label", Mi, C(T(c)("dialogs.pageSetup.bottom")), 1),
5176
+ o("div", Ni, [
5177
+ o("label", Pi, C(T(c)("dialogs.pageSetup.bottom")), 1),
5683
5178
  M(o("input", {
5684
5179
  class: "ps-input",
5685
5180
  type: "number",
@@ -5695,8 +5190,8 @@ var Rn = l({
5695
5190
  ]]),
5696
5191
  s[5] ||= o("span", { class: "ps-unit" }, "in", -1)
5697
5192
  ]),
5698
- o("div", Ni, [
5699
- o("label", Pi, C(T(c)("dialogs.pageSetup.left")), 1),
5193
+ o("div", Fi, [
5194
+ o("label", Ii, C(T(c)("dialogs.pageSetup.left")), 1),
5700
5195
  M(o("input", {
5701
5196
  class: "ps-input",
5702
5197
  type: "number",
@@ -5712,8 +5207,8 @@ var Rn = l({
5712
5207
  ]]),
5713
5208
  s[6] ||= o("span", { class: "ps-unit" }, "in", -1)
5714
5209
  ]),
5715
- o("div", Fi, [
5716
- o("label", Ii, C(T(c)("dialogs.pageSetup.right")), 1),
5210
+ o("div", Li, [
5211
+ o("label", Ri, C(T(c)("dialogs.pageSetup.right")), 1),
5717
5212
  M(o("input", {
5718
5213
  class: "ps-input",
5719
5214
  type: "number",
@@ -5730,7 +5225,7 @@ var Rn = l({
5730
5225
  s[7] ||= o("span", { class: "ps-unit" }, "in", -1)
5731
5226
  ])
5732
5227
  ]),
5733
- o("div", Li, [o("button", {
5228
+ o("div", zi, [o("button", {
5734
5229
  type: "button",
5735
5230
  class: "ps-btn",
5736
5231
  onClick: F
@@ -5743,7 +5238,7 @@ var Rn = l({
5743
5238
  _: 1
5744
5239
  }, 8, ["open", "aria-label"]));
5745
5240
  }
5746
- }), [["__scopeId", "data-v-22e50d36"]]), Hi = { class: "fnpd-dialog__header" }, Ui = { class: "fnpd-dialog__body" }, Wi = { class: "fnpd-fieldset" }, Gi = { class: "fnpd-legend" }, Ki = { class: "fnpd-row" }, qi = { class: "fnpd-label" }, Ji = { value: "pageBottom" }, Yi = { value: "beneathText" }, Xi = { class: "fnpd-row" }, Zi = { class: "fnpd-label" }, Qi = ["value"], $i = { class: "fnpd-row" }, ea = { class: "fnpd-label" }, ta = { class: "fnpd-row" }, na = { class: "fnpd-label" }, ra = { value: "continuous" }, ia = { value: "eachSect" }, aa = { value: "eachPage" }, oa = { class: "fnpd-fieldset" }, sa = { class: "fnpd-legend" }, ca = { class: "fnpd-row" }, la = { class: "fnpd-label" }, ua = { value: "docEnd" }, da = { value: "sectEnd" }, fa = { class: "fnpd-row" }, pa = { class: "fnpd-label" }, ma = ["value"], ha = { class: "fnpd-row" }, ga = { class: "fnpd-label" }, _a = { class: "fnpd-row" }, va = { class: "fnpd-label" }, ya = { value: "continuous" }, ba = { value: "eachSect" }, xa = { class: "fnpd-dialog__footer" }, Sa = /*#__PURE__*/ V(/* @__PURE__ */ l({
5241
+ }), [["__scopeId", "data-v-1e078cda"]]), Wi = { class: "fnpd-dialog__header" }, Gi = { class: "fnpd-dialog__body" }, Ki = { class: "fnpd-fieldset" }, qi = { class: "fnpd-legend" }, Ji = { class: "fnpd-row" }, Yi = { class: "fnpd-label" }, Xi = { value: "pageBottom" }, Zi = { value: "beneathText" }, Qi = { class: "fnpd-row" }, $i = { class: "fnpd-label" }, ea = ["value"], ta = { class: "fnpd-row" }, na = { class: "fnpd-label" }, ra = { class: "fnpd-row" }, ia = { class: "fnpd-label" }, aa = { value: "continuous" }, oa = { value: "eachSect" }, sa = { value: "eachPage" }, ca = { class: "fnpd-fieldset" }, la = { class: "fnpd-legend" }, ua = { class: "fnpd-row" }, da = { class: "fnpd-label" }, fa = { value: "docEnd" }, pa = { value: "sectEnd" }, ma = { class: "fnpd-row" }, ha = { class: "fnpd-label" }, ga = ["value"], _a = { class: "fnpd-row" }, va = { class: "fnpd-label" }, ya = { class: "fnpd-row" }, ba = { class: "fnpd-label" }, xa = { value: "continuous" }, Sa = { value: "eachSect" }, Ca = { class: "fnpd-dialog__footer" }, wa = /*#__PURE__*/ V(/* @__PURE__ */ l({
5747
5242
  __name: "FootnotePropertiesDialog",
5748
5243
  props: {
5749
5244
  isOpen: { type: Boolean },
@@ -5804,21 +5299,21 @@ var Rn = l({
5804
5299
  onClose: i[9] ||= (e) => n.$emit("close")
5805
5300
  }, {
5806
5301
  default: j(() => [
5807
- o("div", Hi, C(T(s)("dialogs.footnoteProperties.title")), 1),
5808
- o("div", Ui, [o("fieldset", Wi, [
5809
- o("legend", Gi, C(T(s)("dialogs.footnoteProperties.footnotes")), 1),
5810
- o("div", Ki, [o("label", qi, C(T(s)("dialogs.footnoteProperties.position")), 1), M(o("select", {
5302
+ o("div", Wi, C(T(s)("dialogs.footnoteProperties.title")), 1),
5303
+ o("div", Gi, [o("fieldset", Ki, [
5304
+ o("legend", qi, C(T(s)("dialogs.footnoteProperties.footnotes")), 1),
5305
+ o("div", Ji, [o("label", Yi, C(T(s)("dialogs.footnoteProperties.position")), 1), M(o("select", {
5811
5306
  "onUpdate:modelValue": i[0] ||= (e) => f.value = e,
5812
5307
  class: "fnpd-select"
5813
- }, [o("option", Ji, C(T(s)("dialogs.footnoteProperties.footnotePositions.bottomOfPage")), 1), o("option", Yi, C(T(s)("dialogs.footnoteProperties.footnotePositions.belowText")), 1)], 512), [[O, f.value]])]),
5814
- o("div", Xi, [o("label", Zi, C(T(s)("dialogs.footnoteProperties.numberFormat")), 1), M(o("select", {
5308
+ }, [o("option", Xi, C(T(s)("dialogs.footnoteProperties.footnotePositions.bottomOfPage")), 1), o("option", Zi, C(T(s)("dialogs.footnoteProperties.footnotePositions.belowText")), 1)], 512), [[O, f.value]])]),
5309
+ o("div", Qi, [o("label", $i, C(T(s)("dialogs.footnoteProperties.numberFormat")), 1), M(o("select", {
5815
5310
  "onUpdate:modelValue": i[1] ||= (e) => p.value = e,
5816
5311
  class: "fnpd-select"
5817
5312
  }, [(_(!0), a(e, null, x(d.value, (e) => (_(), a("option", {
5818
5313
  key: e.value,
5819
5314
  value: e.value
5820
- }, C(e.label), 9, Qi))), 128))], 512), [[O, p.value]])]),
5821
- o("div", $i, [o("label", ea, C(T(s)("dialogs.footnoteProperties.startAt")), 1), M(o("input", {
5315
+ }, C(e.label), 9, ea))), 128))], 512), [[O, p.value]])]),
5316
+ o("div", ta, [o("label", na, C(T(s)("dialogs.footnoteProperties.startAt")), 1), M(o("input", {
5822
5317
  "onUpdate:modelValue": i[2] ||= (e) => m.value = e,
5823
5318
  type: "number",
5824
5319
  class: "fnpd-input",
@@ -5829,28 +5324,28 @@ var Rn = l({
5829
5324
  void 0,
5830
5325
  { number: !0 }
5831
5326
  ]])]),
5832
- o("div", ta, [o("label", na, C(T(s)("dialogs.footnoteProperties.numbering")), 1), M(o("select", {
5327
+ o("div", ra, [o("label", ia, C(T(s)("dialogs.footnoteProperties.numbering")), 1), M(o("select", {
5833
5328
  "onUpdate:modelValue": i[3] ||= (e) => h.value = e,
5834
5329
  class: "fnpd-select"
5835
5330
  }, [
5836
- o("option", ra, C(T(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1),
5837
- o("option", ia, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1),
5838
- o("option", aa, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartPage")), 1)
5331
+ o("option", aa, C(T(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1),
5332
+ o("option", oa, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1),
5333
+ o("option", sa, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartPage")), 1)
5839
5334
  ], 512), [[O, h.value]])])
5840
- ]), o("fieldset", oa, [
5841
- o("legend", sa, C(T(s)("dialogs.footnoteProperties.endnotes")), 1),
5842
- o("div", ca, [o("label", la, C(T(s)("dialogs.footnoteProperties.position")), 1), M(o("select", {
5335
+ ]), o("fieldset", ca, [
5336
+ o("legend", la, C(T(s)("dialogs.footnoteProperties.endnotes")), 1),
5337
+ o("div", ua, [o("label", da, C(T(s)("dialogs.footnoteProperties.position")), 1), M(o("select", {
5843
5338
  "onUpdate:modelValue": i[4] ||= (e) => g.value = e,
5844
5339
  class: "fnpd-select"
5845
- }, [o("option", ua, C(T(s)("dialogs.footnoteProperties.endnotePositions.endOfDocument")), 1), o("option", da, C(T(s)("dialogs.footnoteProperties.endnotePositions.endOfSection")), 1)], 512), [[O, g.value]])]),
5846
- o("div", fa, [o("label", pa, C(T(s)("dialogs.footnoteProperties.numberFormat")), 1), M(o("select", {
5340
+ }, [o("option", fa, C(T(s)("dialogs.footnoteProperties.endnotePositions.endOfDocument")), 1), o("option", pa, C(T(s)("dialogs.footnoteProperties.endnotePositions.endOfSection")), 1)], 512), [[O, g.value]])]),
5341
+ o("div", ma, [o("label", ha, C(T(s)("dialogs.footnoteProperties.numberFormat")), 1), M(o("select", {
5847
5342
  "onUpdate:modelValue": i[5] ||= (e) => v.value = e,
5848
5343
  class: "fnpd-select"
5849
5344
  }, [(_(!0), a(e, null, x(d.value, (e) => (_(), a("option", {
5850
5345
  key: e.value,
5851
5346
  value: e.value
5852
- }, C(e.label), 9, ma))), 128))], 512), [[O, v.value]])]),
5853
- o("div", ha, [o("label", ga, C(T(s)("dialogs.footnoteProperties.startAt")), 1), M(o("input", {
5347
+ }, C(e.label), 9, ga))), 128))], 512), [[O, v.value]])]),
5348
+ o("div", _a, [o("label", va, C(T(s)("dialogs.footnoteProperties.startAt")), 1), M(o("input", {
5854
5349
  "onUpdate:modelValue": i[6] ||= (e) => y.value = e,
5855
5350
  type: "number",
5856
5351
  class: "fnpd-input",
@@ -5861,12 +5356,12 @@ var Rn = l({
5861
5356
  void 0,
5862
5357
  { number: !0 }
5863
5358
  ]])]),
5864
- o("div", _a, [o("label", va, C(T(s)("dialogs.footnoteProperties.numbering")), 1), M(o("select", {
5359
+ o("div", ya, [o("label", ba, C(T(s)("dialogs.footnoteProperties.numbering")), 1), M(o("select", {
5865
5360
  "onUpdate:modelValue": i[7] ||= (e) => S.value = e,
5866
5361
  class: "fnpd-select"
5867
- }, [o("option", ya, C(T(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1), o("option", ba, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1)], 512), [[O, S.value]])])
5362
+ }, [o("option", xa, C(T(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1), o("option", Sa, C(T(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1)], 512), [[O, S.value]])])
5868
5363
  ])]),
5869
- o("div", xa, [o("button", {
5364
+ o("div", Ca, [o("button", {
5870
5365
  class: "fnpd-btn",
5871
5366
  onClick: i[8] ||= (e) => n.$emit("close")
5872
5367
  }, C(T(s)("common.cancel")), 1), o("button", {
@@ -5877,25 +5372,25 @@ var Rn = l({
5877
5372
  _: 1
5878
5373
  }, 8, ["open", "aria-label"]));
5879
5374
  }
5880
- }), [["__scopeId", "data-v-2d896d01"]]), Ca = { class: "ipd-dialog__header" }, wa = { class: "ipd-dialog__body" }, Ta = { class: "ipd-fieldset" }, Ea = { class: "ipd-legend" }, Da = { class: "ipd-row" }, Oa = { value: "align" }, ka = { value: "offset" }, Aa = {
5375
+ }), [["__scopeId", "data-v-86718c10"]]), Ta = { class: "ipd-dialog__header" }, Ea = { class: "ipd-dialog__body" }, Da = { class: "ipd-fieldset" }, Oa = { class: "ipd-legend" }, ka = { class: "ipd-row" }, Aa = { value: "align" }, ja = { value: "offset" }, Ma = {
5881
5376
  key: 0,
5882
5377
  class: "ipd-row"
5883
- }, ja = { class: "ipd-label" }, Ma = { value: "left" }, Na = { value: "center" }, Pa = { value: "right" }, Fa = {
5378
+ }, Na = { class: "ipd-label" }, Pa = { value: "left" }, Fa = { value: "center" }, Ia = { value: "right" }, La = {
5884
5379
  key: 1,
5885
5380
  class: "ipd-row"
5886
- }, Ia = { class: "ipd-label" }, La = { class: "ipd-row" }, Ra = { class: "ipd-label" }, za = { value: "page" }, Ba = { value: "column" }, Va = { value: "margin" }, Ha = { value: "character" }, Ua = { class: "ipd-fieldset" }, Wa = { class: "ipd-legend" }, Ga = { class: "ipd-row" }, Ka = { value: "align" }, qa = { value: "offset" }, Ja = {
5381
+ }, Ra = { class: "ipd-label" }, za = { class: "ipd-row" }, Ba = { class: "ipd-label" }, Va = { value: "page" }, Ha = { value: "column" }, Ua = { value: "margin" }, Wa = { value: "character" }, Ga = { class: "ipd-fieldset" }, Ka = { class: "ipd-legend" }, qa = { class: "ipd-row" }, Ja = { value: "align" }, Ya = { value: "offset" }, Xa = {
5887
5382
  key: 0,
5888
5383
  class: "ipd-row"
5889
- }, Ya = { class: "ipd-label" }, Xa = { value: "top" }, Za = { value: "center" }, Qa = { value: "bottom" }, $a = {
5384
+ }, Za = { class: "ipd-label" }, Qa = { value: "top" }, $a = { value: "center" }, eo = { value: "bottom" }, to = {
5890
5385
  key: 1,
5891
5386
  class: "ipd-row"
5892
- }, eo = { class: "ipd-label" }, to = { class: "ipd-row" }, no = { class: "ipd-label" }, ro = { value: "page" }, io = { value: "margin" }, ao = { value: "paragraph" }, oo = { value: "line" }, so = { class: "ipd-fieldset" }, co = { class: "ipd-row" }, lo = { class: "ipd-label" }, uo = {
5387
+ }, no = { class: "ipd-label" }, ro = { class: "ipd-row" }, io = { class: "ipd-label" }, ao = { value: "page" }, oo = { value: "margin" }, so = { value: "paragraph" }, co = { value: "line" }, lo = { class: "ipd-fieldset" }, uo = { class: "ipd-row" }, fo = { class: "ipd-label" }, po = {
5893
5388
  class: "ipd-label",
5894
5389
  style: { width: "60px" }
5895
- }, fo = { class: "ipd-row" }, po = { class: "ipd-label" }, mo = {
5390
+ }, mo = { class: "ipd-row" }, ho = { class: "ipd-label" }, go = {
5896
5391
  class: "ipd-label",
5897
5392
  style: { width: "60px" }
5898
- }, ho = { class: "ipd-dialog__footer" }, go = /*#__PURE__*/ V(/* @__PURE__ */ l({
5393
+ }, _o = { class: "ipd-dialog__footer" }, vo = /*#__PURE__*/ V(/* @__PURE__ */ l({
5899
5394
  __name: "ImagePositionDialog",
5900
5395
  props: {
5901
5396
  isOpen: { type: Boolean },
@@ -5910,7 +5405,7 @@ var Rn = l({
5910
5405
  t?.horizontal?.align ? (l.value = "align", u.value = t.horizontal.align) : t?.horizontal?.posOffset != null && (l.value = "offset", d.value = t.horizontal.posOffset), f.value = t?.horizontal?.relativeTo ?? "column", t?.vertical?.align ? (p.value = "align", m.value = t.vertical.align) : t?.vertical?.posOffset != null && (p.value = "offset", h.value = t.vertical.posOffset), g.value = t?.vertical?.relativeTo ?? "paragraph", v.value = t?.distTop ?? 0, y.value = t?.distBottom ?? 0, x.value = t?.distLeft ?? 0, S.value = t?.distRight ?? 0;
5911
5406
  });
5912
5407
  function w() {
5913
- c("apply", {
5408
+ let e = {
5914
5409
  horizontal: {
5915
5410
  relativeTo: f.value,
5916
5411
  ...l.value === "align" ? { align: u.value } : { posOffset: d.value }
@@ -5923,7 +5418,8 @@ var Rn = l({
5923
5418
  distBottom: y.value,
5924
5419
  distLeft: x.value,
5925
5420
  distRight: S.value
5926
- }), c("close");
5421
+ };
5422
+ c("apply", e), c("close");
5927
5423
  }
5928
5424
  return (t, s) => (_(), r(T(i), {
5929
5425
  open: e.isOpen,
@@ -5935,22 +5431,22 @@ var Rn = l({
5935
5431
  onClose: s[13] ||= (e) => t.$emit("close")
5936
5432
  }, {
5937
5433
  default: j(() => [
5938
- o("div", Ca, C(T(n)("dialogs.imagePosition.title")), 1),
5939
- o("div", wa, [
5940
- o("fieldset", Ta, [
5941
- o("legend", Ea, C(T(n)("dialogs.imagePosition.horizontal")), 1),
5942
- o("div", Da, [s[14] ||= o("label", { class: "ipd-label" }, "Mode", -1), M(o("select", {
5434
+ o("div", Ta, C(T(n)("dialogs.imagePosition.title")), 1),
5435
+ o("div", Ea, [
5436
+ o("fieldset", Da, [
5437
+ o("legend", Oa, C(T(n)("dialogs.imagePosition.horizontal")), 1),
5438
+ o("div", ka, [s[14] ||= o("label", { class: "ipd-label" }, "Mode", -1), M(o("select", {
5943
5439
  "onUpdate:modelValue": s[0] ||= (e) => l.value = e,
5944
5440
  class: "ipd-select"
5945
- }, [o("option", Oa, C(T(n)("dialogs.imagePosition.alignment")), 1), o("option", ka, C(T(n)("dialogs.imagePosition.offset")), 1)], 512), [[O, l.value]])]),
5946
- l.value === "align" ? (_(), a("div", Aa, [o("label", ja, C(T(n)("dialogs.imagePosition.align")), 1), M(o("select", {
5441
+ }, [o("option", Aa, C(T(n)("dialogs.imagePosition.alignment")), 1), o("option", ja, C(T(n)("dialogs.imagePosition.offset")), 1)], 512), [[O, l.value]])]),
5442
+ l.value === "align" ? (_(), a("div", Ma, [o("label", Na, C(T(n)("dialogs.imagePosition.align")), 1), M(o("select", {
5947
5443
  "onUpdate:modelValue": s[1] ||= (e) => u.value = e,
5948
5444
  class: "ipd-select"
5949
5445
  }, [
5950
- o("option", Ma, C(T(n)("dialogs.imagePosition.alignOptions.left")), 1),
5951
- o("option", Na, C(T(n)("dialogs.imagePosition.alignOptions.center")), 1),
5952
- o("option", Pa, C(T(n)("dialogs.imagePosition.alignOptions.right")), 1)
5953
- ], 512), [[O, u.value]])])) : (_(), a("div", Fa, [o("label", Ia, C(T(n)("dialogs.imagePosition.offsetPx")), 1), M(o("input", {
5446
+ o("option", Pa, C(T(n)("dialogs.imagePosition.alignOptions.left")), 1),
5447
+ o("option", Fa, C(T(n)("dialogs.imagePosition.alignOptions.center")), 1),
5448
+ o("option", Ia, C(T(n)("dialogs.imagePosition.alignOptions.right")), 1)
5449
+ ], 512), [[O, u.value]])])) : (_(), a("div", La, [o("label", Ra, C(T(n)("dialogs.imagePosition.offsetPx")), 1), M(o("input", {
5954
5450
  "onUpdate:modelValue": s[2] ||= (e) => d.value = e,
5955
5451
  type: "number",
5956
5452
  class: "ipd-input"
@@ -5960,30 +5456,30 @@ var Rn = l({
5960
5456
  void 0,
5961
5457
  { number: !0 }
5962
5458
  ]])])),
5963
- o("div", La, [o("label", Ra, C(T(n)("dialogs.imagePosition.relativeTo")), 1), M(o("select", {
5459
+ o("div", za, [o("label", Ba, C(T(n)("dialogs.imagePosition.relativeTo")), 1), M(o("select", {
5964
5460
  "onUpdate:modelValue": s[3] ||= (e) => f.value = e,
5965
5461
  class: "ipd-select"
5966
5462
  }, [
5967
- o("option", za, C(T(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5968
- o("option", Ba, C(T(n)("dialogs.imagePosition.relativeOptions.column")), 1),
5969
- o("option", Va, C(T(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5970
- o("option", Ha, C(T(n)("dialogs.imagePosition.relativeOptions.character")), 1)
5463
+ o("option", Va, C(T(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5464
+ o("option", Ha, C(T(n)("dialogs.imagePosition.relativeOptions.column")), 1),
5465
+ o("option", Ua, C(T(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5466
+ o("option", Wa, C(T(n)("dialogs.imagePosition.relativeOptions.character")), 1)
5971
5467
  ], 512), [[O, f.value]])])
5972
5468
  ]),
5973
- o("fieldset", Ua, [
5974
- o("legend", Wa, C(T(n)("dialogs.imagePosition.vertical")), 1),
5975
- o("div", Ga, [s[15] ||= o("label", { class: "ipd-label" }, "Mode", -1), M(o("select", {
5469
+ o("fieldset", Ga, [
5470
+ o("legend", Ka, C(T(n)("dialogs.imagePosition.vertical")), 1),
5471
+ o("div", qa, [s[15] ||= o("label", { class: "ipd-label" }, "Mode", -1), M(o("select", {
5976
5472
  "onUpdate:modelValue": s[4] ||= (e) => p.value = e,
5977
5473
  class: "ipd-select"
5978
- }, [o("option", Ka, C(T(n)("dialogs.imagePosition.alignment")), 1), o("option", qa, C(T(n)("dialogs.imagePosition.offset")), 1)], 512), [[O, p.value]])]),
5979
- p.value === "align" ? (_(), a("div", Ja, [o("label", Ya, C(T(n)("dialogs.imagePosition.align")), 1), M(o("select", {
5474
+ }, [o("option", Ja, C(T(n)("dialogs.imagePosition.alignment")), 1), o("option", Ya, C(T(n)("dialogs.imagePosition.offset")), 1)], 512), [[O, p.value]])]),
5475
+ p.value === "align" ? (_(), a("div", Xa, [o("label", Za, C(T(n)("dialogs.imagePosition.align")), 1), M(o("select", {
5980
5476
  "onUpdate:modelValue": s[5] ||= (e) => m.value = e,
5981
5477
  class: "ipd-select"
5982
5478
  }, [
5983
- o("option", Xa, C(T(n)("dialogs.imagePosition.alignOptions.top")), 1),
5984
- o("option", Za, C(T(n)("dialogs.imagePosition.alignOptions.center")), 1),
5985
- o("option", Qa, C(T(n)("dialogs.imagePosition.alignOptions.bottom")), 1)
5986
- ], 512), [[O, m.value]])])) : (_(), a("div", $a, [o("label", eo, C(T(n)("dialogs.imagePosition.offsetPx")), 1), M(o("input", {
5479
+ o("option", Qa, C(T(n)("dialogs.imagePosition.alignOptions.top")), 1),
5480
+ o("option", $a, C(T(n)("dialogs.imagePosition.alignOptions.center")), 1),
5481
+ o("option", eo, C(T(n)("dialogs.imagePosition.alignOptions.bottom")), 1)
5482
+ ], 512), [[O, m.value]])])) : (_(), a("div", to, [o("label", no, C(T(n)("dialogs.imagePosition.offsetPx")), 1), M(o("input", {
5987
5483
  "onUpdate:modelValue": s[6] ||= (e) => h.value = e,
5988
5484
  type: "number",
5989
5485
  class: "ipd-input"
@@ -5993,20 +5489,20 @@ var Rn = l({
5993
5489
  void 0,
5994
5490
  { number: !0 }
5995
5491
  ]])])),
5996
- o("div", to, [o("label", no, C(T(n)("dialogs.imagePosition.relativeTo")), 1), M(o("select", {
5492
+ o("div", ro, [o("label", io, C(T(n)("dialogs.imagePosition.relativeTo")), 1), M(o("select", {
5997
5493
  "onUpdate:modelValue": s[7] ||= (e) => g.value = e,
5998
5494
  class: "ipd-select"
5999
5495
  }, [
6000
- o("option", ro, C(T(n)("dialogs.imagePosition.relativeOptions.page")), 1),
6001
- o("option", io, C(T(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
6002
- o("option", ao, C(T(n)("dialogs.imagePosition.relativeOptions.paragraph")), 1),
6003
- o("option", oo, C(T(n)("dialogs.imagePosition.relativeOptions.line")), 1)
5496
+ o("option", ao, C(T(n)("dialogs.imagePosition.relativeOptions.page")), 1),
5497
+ o("option", oo, C(T(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
5498
+ o("option", so, C(T(n)("dialogs.imagePosition.relativeOptions.paragraph")), 1),
5499
+ o("option", co, C(T(n)("dialogs.imagePosition.relativeOptions.line")), 1)
6004
5500
  ], 512), [[O, g.value]])])
6005
5501
  ]),
6006
- o("fieldset", so, [
5502
+ o("fieldset", lo, [
6007
5503
  s[16] ||= o("legend", { class: "ipd-legend" }, "Distance from text (px)", -1),
6008
- o("div", co, [
6009
- o("label", lo, C(T(n)("dialogs.imagePosition.alignOptions.top")), 1),
5504
+ o("div", uo, [
5505
+ o("label", fo, C(T(n)("dialogs.imagePosition.alignOptions.top")), 1),
6010
5506
  M(o("input", {
6011
5507
  "onUpdate:modelValue": s[8] ||= (e) => v.value = e,
6012
5508
  type: "number",
@@ -6018,7 +5514,7 @@ var Rn = l({
6018
5514
  void 0,
6019
5515
  { number: !0 }
6020
5516
  ]]),
6021
- o("label", uo, C(T(n)("dialogs.imagePosition.alignOptions.bottom")), 1),
5517
+ o("label", po, C(T(n)("dialogs.imagePosition.alignOptions.bottom")), 1),
6022
5518
  M(o("input", {
6023
5519
  "onUpdate:modelValue": s[9] ||= (e) => y.value = e,
6024
5520
  type: "number",
@@ -6031,8 +5527,8 @@ var Rn = l({
6031
5527
  { number: !0 }
6032
5528
  ]])
6033
5529
  ]),
6034
- o("div", fo, [
6035
- o("label", po, C(T(n)("dialogs.imagePosition.alignOptions.left")), 1),
5530
+ o("div", mo, [
5531
+ o("label", ho, C(T(n)("dialogs.imagePosition.alignOptions.left")), 1),
6036
5532
  M(o("input", {
6037
5533
  "onUpdate:modelValue": s[10] ||= (e) => x.value = e,
6038
5534
  type: "number",
@@ -6044,7 +5540,7 @@ var Rn = l({
6044
5540
  void 0,
6045
5541
  { number: !0 }
6046
5542
  ]]),
6047
- o("label", mo, C(T(n)("dialogs.imagePosition.alignOptions.right")), 1),
5543
+ o("label", go, C(T(n)("dialogs.imagePosition.alignOptions.right")), 1),
6048
5544
  M(o("input", {
6049
5545
  "onUpdate:modelValue": s[11] ||= (e) => S.value = e,
6050
5546
  type: "number",
@@ -6059,7 +5555,7 @@ var Rn = l({
6059
5555
  ])
6060
5556
  ])
6061
5557
  ]),
6062
- o("div", ho, [o("button", {
5558
+ o("div", _o, [o("button", {
6063
5559
  class: "ipd-btn",
6064
5560
  onClick: s[12] ||= (e) => t.$emit("close")
6065
5561
  }, C(T(n)("common.cancel")), 1), o("button", {
@@ -6070,7 +5566,7 @@ var Rn = l({
6070
5566
  _: 1
6071
5567
  }, 8, ["open", "aria-label"]));
6072
5568
  }
6073
- }), [["__scopeId", "data-v-82d9e45f"]]), _o = { class: "dialog__body" }, vo = { class: "field" }, yo = ["accept"], bo = { class: "field" }, xo = ["placeholder"], So = { class: "grid" }, Co = { class: "field" }, wo = { class: "field" }, To = { class: "dialog__footer" }, Eo = ["disabled"], Do = /*#__PURE__*/ V(/* @__PURE__ */ l({
5569
+ }), [["__scopeId", "data-v-64d4c153"]]), yo = { class: "dialog__body" }, bo = { class: "field" }, xo = ["accept"], So = { class: "field" }, Co = ["placeholder"], wo = { class: "grid" }, To = { class: "field" }, Eo = { class: "field" }, Do = { class: "dialog__footer" }, Oo = ["disabled"], ko = /*#__PURE__*/ V(/* @__PURE__ */ l({
6074
5570
  __name: "InsertImageDialog",
6075
5571
  props: {
6076
5572
  isOpen: { type: Boolean },
@@ -6083,7 +5579,8 @@ var Rn = l({
6083
5579
  e && (s.value = null, c.value = "", l.value = "", u.value = "");
6084
5580
  });
6085
5581
  function d(e) {
6086
- s.value = (e.target instanceof HTMLInputElement ? e.target : null)?.files?.[0] ?? null;
5582
+ let t = e.target instanceof HTMLInputElement ? e.target : null;
5583
+ s.value = t?.files?.[0] ?? null;
6087
5584
  }
6088
5585
  function f() {
6089
5586
  if (!s.value) return;
@@ -6111,25 +5608,25 @@ var Rn = l({
6111
5608
  }, {
6112
5609
  default: j(() => [
6113
5610
  i[9] ||= o("div", { class: "dialog__header" }, "Insert Image", -1),
6114
- o("div", _o, [
6115
- o("label", vo, [i[5] ||= o("span", { class: "field__label" }, "Image file", -1), o("input", {
5611
+ o("div", yo, [
5612
+ o("label", bo, [i[5] ||= o("span", { class: "field__label" }, "Image file", -1), o("input", {
6116
5613
  class: "field__input",
6117
5614
  type: "file",
6118
5615
  accept: e.accept,
6119
5616
  onChange: d
6120
- }, null, 40, yo)]),
6121
- o("label", bo, [i[6] ||= o("span", { class: "field__label" }, "Alt text", -1), M(o("input", {
5617
+ }, null, 40, xo)]),
5618
+ o("label", So, [i[6] ||= o("span", { class: "field__label" }, "Alt text", -1), M(o("input", {
6122
5619
  "onUpdate:modelValue": i[0] ||= (e) => c.value = e,
6123
5620
  class: "field__input",
6124
5621
  placeholder: s.value?.name ?? ""
6125
- }, null, 8, xo), [[k, c.value]])]),
6126
- o("div", So, [o("label", Co, [i[7] ||= o("span", { class: "field__label" }, "Width", -1), M(o("input", {
5622
+ }, null, 8, Co), [[k, c.value]])]),
5623
+ o("div", wo, [o("label", To, [i[7] ||= o("span", { class: "field__label" }, "Width", -1), M(o("input", {
6127
5624
  "onUpdate:modelValue": i[1] ||= (e) => l.value = e,
6128
5625
  class: "field__input",
6129
5626
  min: "1",
6130
5627
  placeholder: "Auto",
6131
5628
  type: "number"
6132
- }, null, 512), [[k, l.value]])]), o("label", wo, [i[8] ||= o("span", { class: "field__label" }, "Height", -1), M(o("input", {
5629
+ }, null, 512), [[k, l.value]])]), o("label", Eo, [i[8] ||= o("span", { class: "field__label" }, "Height", -1), M(o("input", {
6133
5630
  "onUpdate:modelValue": i[2] ||= (e) => u.value = e,
6134
5631
  class: "field__input",
6135
5632
  min: "1",
@@ -6137,14 +5634,14 @@ var Rn = l({
6137
5634
  type: "number"
6138
5635
  }, null, 512), [[k, u.value]])])])
6139
5636
  ]),
6140
- o("div", To, [o("button", {
5637
+ o("div", Do, [o("button", {
6141
5638
  class: "dialog__btn",
6142
5639
  onClick: i[3] ||= (e) => t.$emit("close")
6143
5640
  }, "Cancel"), o("button", {
6144
5641
  class: "dialog__btn dialog__btn--primary",
6145
5642
  disabled: !s.value,
6146
5643
  onClick: f
6147
- }, " Insert ", 8, Eo)])
5644
+ }, " Insert ", 8, Oo)])
6148
5645
  ]),
6149
5646
  _: 1
6150
5647
  }, 8, ["open"]));
@@ -6153,7 +5650,7 @@ var Rn = l({
6153
5650
  style: "single",
6154
5651
  size: 4,
6155
5652
  color: { rgb: e }
6156
- }), Oo = [
5653
+ }), Ao = [
6157
5654
  {
6158
5655
  id: "TableNormal",
6159
5656
  name: "Normal Table",
@@ -6445,7 +5942,7 @@ var Rn = l({
6445
5942
  band1Horz: { backgroundColor: "#E2EFDA" }
6446
5943
  }
6447
5944
  }
6448
- ], ko = {
5945
+ ], jo = {
6449
5946
  TableNormal: "table.styles.normalTable",
6450
5947
  TableGrid: "table.styles.tableGrid",
6451
5948
  TableGridLight: "table.styles.gridTableLight",
@@ -6460,14 +5957,14 @@ var Rn = l({
6460
5957
  "ListTable4-Accent3": "table.styles.listTable4Accent3",
6461
5958
  "GridTable4-Accent5": "table.styles.gridTable4Accent5",
6462
5959
  "GridTable4-Accent6": "table.styles.gridTable4Accent6"
6463
- }, Ao = 4, jo = 3;
6464
- function Mo(e) {
5960
+ }, Mo = 4, No = 3;
5961
+ function Po(e) {
6465
5962
  return !e || e.style === "none" ? "none" : `${e.size ? Math.max(1, Math.round(e.size / 8)) : 1}px solid ${e.color?.rgb ? `#${e.color.rgb}` : "#000"}`;
6466
5963
  }
6467
- function No(e, t, n, r) {
6468
- return Mo(e === void 0 ? t ? n ?? r : r : e);
5964
+ function Fo(e, t, n, r) {
5965
+ return Po(e === void 0 ? t ? n ?? r : r : e);
6469
5966
  }
6470
- function Po(e, t = Ao, n = jo) {
5967
+ function Io(e, t = Mo, n = No) {
6471
5968
  let r = e.look ?? {}, i = e.conditionals ?? {}, a = e.tableBorders, o = [], s = 0;
6472
5969
  for (let e = 0; e < t; e++) {
6473
5970
  let c = e === 0 && !!r.firstRow, l = e === t - 1 && !!r.lastRow, u = r.noHBand !== !0, d;
@@ -6480,10 +5977,10 @@ function Po(e, t = Ao, n = jo) {
6480
5977
  height: "10px",
6481
5978
  boxSizing: "border-box",
6482
5979
  backgroundColor: m?.backgroundColor ?? "transparent",
6483
- borderTop: No(h?.top, e > 0, a?.insideH, a?.top),
6484
- borderBottom: No(h?.bottom, e < t - 1, a?.insideH, a?.bottom),
6485
- borderLeft: No(h?.left, s > 0, a?.insideV, a?.left),
6486
- borderRight: No(h?.right, s < n - 1, a?.insideV, a?.right)
5980
+ borderTop: Fo(h?.top, e > 0, a?.insideH, a?.top),
5981
+ borderBottom: Fo(h?.bottom, e < t - 1, a?.insideH, a?.bottom),
5982
+ borderLeft: Fo(h?.left, s > 0, a?.insideV, a?.left),
5983
+ borderRight: Fo(h?.right, s < n - 1, a?.insideV, a?.right)
6487
5984
  };
6488
5985
  o.push(g);
6489
5986
  }
@@ -6492,40 +5989,40 @@ function Po(e, t = Ao, n = jo) {
6492
5989
  }
6493
5990
  //#endregion
6494
5991
  //#region src/components/ui/TableStyleGallery.vue?vue&type=script&setup=true&lang.ts
6495
- var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMousedown"], Ro = { class: "tsg__preview" }, zo = { class: "tsg__name" }, Bo = /*#__PURE__*/ V(/* @__PURE__ */ l({
5992
+ var Lo = { class: "tsg" }, Ro = { class: "tsg__grid" }, zo = ["title", "onMousedown"], Bo = { class: "tsg__preview" }, Vo = { class: "tsg__name" }, Ho = /*#__PURE__*/ V(/* @__PURE__ */ l({
6496
5993
  __name: "TableStyleGallery",
6497
5994
  props: { currentStyleId: {} },
6498
5995
  emits: ["apply"],
6499
5996
  setup(t) {
6500
- let { t: n } = Z(), r = Oo;
5997
+ let { t: n } = Z(), r = Ao;
6501
5998
  function i(e) {
6502
- let t = ko[e.id];
5999
+ let t = jo[e.id];
6503
6000
  return t ? n(t) : e.name;
6504
6001
  }
6505
- return (n, s) => (_(), a("div", Fo, [o("div", Io, [(_(!0), a(e, null, x(T(r), (r) => (_(), a("button", {
6002
+ return (n, s) => (_(), a("div", Lo, [o("div", Ro, [(_(!0), a(e, null, x(T(r), (r) => (_(), a("button", {
6506
6003
  key: r.id,
6507
6004
  class: p(["tsg__item", { "tsg__item--selected": t.currentStyleId === r.id }]),
6508
6005
  title: i(r),
6509
6006
  onMousedown: P((e) => n.$emit("apply", r.id), ["prevent"])
6510
- }, [o("div", Ro, [(_(!0), a(e, null, x(T(Po)(r), (e, t) => (_(), a("div", {
6007
+ }, [o("div", Bo, [(_(!0), a(e, null, x(T(Io)(r), (e, t) => (_(), a("div", {
6511
6008
  key: t,
6512
6009
  class: "tsg__cell",
6513
6010
  style: m(e)
6514
- }, null, 4))), 128))]), o("span", zo, C(i(r)), 1)], 42, Lo))), 128))])]));
6011
+ }, null, 4))), 128))]), o("span", Vo, C(i(r)), 1)], 42, zo))), 128))])]));
6515
6012
  }
6516
- }), [["__scopeId", "data-v-a2d658b3"]]), Vo = y({
6013
+ }), [["__scopeId", "data-v-c155c39f"]]), Uo = y({
6517
6014
  rows: 3,
6518
6015
  cols: 3
6519
- }), Ho = { class: "dialog__header" }, Uo = { class: "dialog__title" }, Wo = ["title"], Go = { class: "dialog__body" }, Ko = ["aria-label"], qo = ["onMouseenter", "onMousedown"], Jo = { class: "table-grid__label" }, Yo = { class: "dialog__separator" }, Xo = { class: "table-manual" }, Zo = { class: "table-manual__field" }, Qo = { class: "table-manual__field" }, $o = { class: "table-options" }, es = { class: "table-options__radio" }, ts = { class: "table-options__radio" }, ns = { class: "dialog__separator" }, rs = { class: "dialog__footer" }, is = ["disabled"], as = 8, os = 10, ss = 1, cs = 100, ls = 1, us = 20, ds = /*#__PURE__*/ V(/* @__PURE__ */ l({
6016
+ }), Wo = { class: "dialog__header" }, Go = { class: "dialog__title" }, Ko = ["title"], qo = { class: "dialog__body" }, Jo = ["aria-label"], Yo = ["onMouseenter", "onMousedown"], Xo = { class: "table-grid__label" }, Zo = { class: "dialog__separator" }, Qo = { class: "table-manual" }, $o = { class: "table-manual__field" }, es = { class: "table-manual__field" }, ts = { class: "table-options" }, ns = { class: "table-options__radio" }, rs = { class: "table-options__radio" }, is = { class: "dialog__separator" }, as = { class: "dialog__footer" }, os = ["disabled"], ss = 8, cs = 10, ls = 1, us = 100, ds = 1, fs = 20, ps = /*#__PURE__*/ V(/* @__PURE__ */ l({
6520
6017
  __name: "InsertTableDialog",
6521
6018
  props: { isOpen: { type: Boolean } },
6522
6019
  emits: ["close", "insert"],
6523
6020
  setup(t, { emit: r }) {
6524
- let { t: s } = Z(), l = t, u = r, d = b(0), f = b(0), m = b(Vo.rows), h = b(Vo.cols), g = b("fixed"), v = b(null);
6021
+ let { t: s } = Z(), l = t, u = r, d = b(0), f = b(0), m = b(Uo.rows), h = b(Uo.cols), g = b("fixed"), v = b(null);
6525
6022
  A(() => l.isOpen, (e) => {
6526
- e && (m.value = Vo.rows, h.value = Vo.cols, d.value = 0, f.value = 0);
6023
+ e && (m.value = Uo.rows, h.value = Uo.cols, d.value = 0, f.value = 0);
6527
6024
  });
6528
- let y = n(() => Number.parseInt(String(m.value), 10)), S = n(() => Number.parseInt(String(h.value), 10)), w = n(() => Number.isFinite(y.value) && y.value >= ss && y.value <= cs), E = n(() => Number.isFinite(S.value) && S.value >= ls && S.value <= us), O = n(() => w.value && E.value);
6025
+ let y = n(() => Number.parseInt(String(m.value), 10)), S = n(() => Number.parseInt(String(h.value), 10)), w = n(() => Number.isFinite(y.value) && y.value >= ls && y.value <= us), E = n(() => Number.isFinite(S.value) && S.value >= ds && S.value <= fs), O = n(() => w.value && E.value);
6529
6026
  function j() {
6530
6027
  u("close");
6531
6028
  }
@@ -6537,8 +6034,8 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6537
6034
  }
6538
6035
  function I() {
6539
6036
  if (!O.value) return;
6540
- let e = Math.min(Math.max(ss, y.value), cs), t = Math.min(Math.max(ls, S.value), us);
6541
- Vo.rows = e, Vo.cols = t, u("insert", {
6037
+ let e = Math.min(Math.max(ls, y.value), us), t = Math.min(Math.max(ds, S.value), fs);
6038
+ Uo.rows = e, Uo.cols = t, u("insert", {
6542
6039
  rows: e,
6543
6040
  cols: t,
6544
6041
  autofit: g.value === "autofit",
@@ -6554,83 +6051,83 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6554
6051
  onMousedown: r[7] ||= P(() => {}, ["stop"]),
6555
6052
  onKeydown: P(F, ["stop"])
6556
6053
  }, [
6557
- o("div", Ho, [o("span", Uo, C(T(s)("dialogs.insertTable.title")), 1), o("button", {
6054
+ o("div", Wo, [o("span", Go, C(T(s)("dialogs.insertTable.title")), 1), o("button", {
6558
6055
  class: "dialog__close",
6559
6056
  title: T(s)("common.closeDialog"),
6560
6057
  onClick: j
6561
- }, "✕", 8, Wo)]),
6562
- o("div", Go, [
6058
+ }, "✕", 8, Ko)]),
6059
+ o("div", qo, [
6563
6060
  o("div", {
6564
6061
  class: "table-grid",
6565
6062
  "aria-label": T(s)("dialogs.insertTable.sizeSelector"),
6566
6063
  onMouseleave: r[0] ||= (e) => {
6567
6064
  d.value = 0, f.value = 0;
6568
6065
  }
6569
- }, [(_(), a(e, null, x(as, (t) => o("div", {
6066
+ }, [(_(), a(e, null, x(ss, (t) => o("div", {
6570
6067
  key: t,
6571
6068
  class: "table-grid__row"
6572
- }, [(_(), a(e, null, x(os, (e) => o("div", {
6069
+ }, [(_(), a(e, null, x(cs, (e) => o("div", {
6573
6070
  key: e,
6574
6071
  class: p(["table-grid__cell", { highlight: t <= d.value && e <= f.value }]),
6575
6072
  onMouseenter: (n) => {
6576
6073
  d.value = t, f.value = e;
6577
6074
  },
6578
6075
  onMousedown: P((n) => N(t, e), ["prevent"])
6579
- }, null, 42, qo)), 64))])), 64))], 40, Ko),
6580
- o("div", Jo, C(d.value > 0 ? T(s)("dialogs.insertTable.tableSize", {
6076
+ }, null, 42, Yo)), 64))])), 64))], 40, Jo),
6077
+ o("div", Xo, C(d.value > 0 ? T(s)("dialogs.insertTable.tableSize", {
6581
6078
  cols: f.value,
6582
6079
  rows: d.value
6583
6080
  }) : T(s)("dialogs.insertTable.hoverToSelect")), 1),
6584
- o("div", Yo, [o("span", null, C(T(s)("dialogs.insertTable.orSpecifySize")), 1)]),
6585
- o("div", Xo, [o("label", Zo, [o("span", null, C(T(s)("dialogs.insertTable.rowsLabel")), 1), M(o("input", {
6081
+ o("div", Zo, [o("span", null, C(T(s)("dialogs.insertTable.orSpecifySize")), 1)]),
6082
+ o("div", Qo, [o("label", $o, [o("span", null, C(T(s)("dialogs.insertTable.rowsLabel")), 1), M(o("input", {
6586
6083
  "onUpdate:modelValue": r[1] ||= (e) => m.value = e,
6587
6084
  type: "number",
6588
- min: ss,
6589
- max: cs,
6085
+ min: ls,
6086
+ max: us,
6590
6087
  class: p(["table-manual__input", { "table-manual__input--invalid": !w.value }])
6591
- }, null, 2), [[k, m.value]])]), o("label", Qo, [o("span", null, C(T(s)("dialogs.insertTable.columnsLabel")), 1), M(o("input", {
6088
+ }, null, 2), [[k, m.value]])]), o("label", es, [o("span", null, C(T(s)("dialogs.insertTable.columnsLabel")), 1), M(o("input", {
6592
6089
  "onUpdate:modelValue": r[2] ||= (e) => h.value = e,
6593
6090
  type: "number",
6594
- min: ls,
6595
- max: us,
6091
+ min: ds,
6092
+ max: fs,
6596
6093
  class: p(["table-manual__input", { "table-manual__input--invalid": !E.value }])
6597
6094
  }, null, 2), [[k, h.value]])])]),
6598
6095
  o("div", { class: p(["table-manual__hint", { "table-manual__hint--error": !O.value }]) }, C(T(s)("dialogs.insertTable.validationHint", {
6599
- minRows: ss,
6600
- maxRows: cs,
6601
- minCols: ls,
6602
- maxCols: us
6096
+ minRows: ls,
6097
+ maxRows: us,
6098
+ minCols: ds,
6099
+ maxCols: fs
6603
6100
  })), 3),
6604
- o("fieldset", $o, [
6101
+ o("fieldset", ts, [
6605
6102
  o("legend", null, C(T(s)("dialogs.insertTable.columnWidthLabel")), 1),
6606
- o("label", es, [M(o("input", {
6103
+ o("label", ns, [M(o("input", {
6607
6104
  type: "radio",
6608
6105
  value: "fixed",
6609
6106
  "onUpdate:modelValue": r[3] ||= (e) => g.value = e
6610
6107
  }, null, 512), [[D, g.value]]), o("span", null, C(T(s)("dialogs.insertTable.fixedWidth")), 1)]),
6611
- o("label", ts, [M(o("input", {
6108
+ o("label", rs, [M(o("input", {
6612
6109
  type: "radio",
6613
6110
  value: "autofit",
6614
6111
  "onUpdate:modelValue": r[4] ||= (e) => g.value = e
6615
6112
  }, null, 512), [[D, g.value]]), o("span", null, C(T(s)("dialogs.insertTable.autofit")), 1)])
6616
6113
  ]),
6617
- o("div", ns, [o("span", null, C(T(s)("dialogs.insertTable.style")), 1)]),
6618
- c(Bo, {
6114
+ o("div", is, [o("span", null, C(T(s)("dialogs.insertTable.style")), 1)]),
6115
+ c(Ho, {
6619
6116
  "current-style-id": v.value,
6620
6117
  onApply: r[5] ||= (e) => v.value = e
6621
6118
  }, null, 8, ["current-style-id"])
6622
6119
  ]),
6623
- o("div", rs, [o("button", {
6120
+ o("div", as, [o("button", {
6624
6121
  class: "dialog__btn",
6625
6122
  onMousedown: P(j, ["prevent"])
6626
6123
  }, C(T(s)("common.cancel")), 33), o("button", {
6627
6124
  class: "dialog__btn dialog__btn--primary",
6628
6125
  disabled: !O.value,
6629
6126
  onMousedown: r[6] ||= P((e) => I(), ["prevent"])
6630
- }, C(T(s)("dialogs.insertTable.insertButton")), 41, is)])
6127
+ }, C(T(s)("dialogs.insertTable.insertButton")), 41, os)])
6631
6128
  ], 32)], 32)) : i("", !0);
6632
6129
  }
6633
- }), [["__scopeId", "data-v-a366a209"]]), fs = { class: "dialog__body" }, ps = { class: "options" }, ms = ["value"], hs = { class: "option__body" }, gs = { class: "option__label" }, _s = { class: "option__description" }, vs = { class: "dialog__footer" }, ys = /*#__PURE__*/ V(/* @__PURE__ */ l({
6130
+ }), [["__scopeId", "data-v-cc53b9fa"]]), ms = { class: "dialog__body" }, hs = { class: "options" }, gs = ["value"], _s = { class: "option__body" }, vs = { class: "option__label" }, ys = { class: "option__description" }, bs = { class: "dialog__footer" }, xs = /*#__PURE__*/ V(/* @__PURE__ */ l({
6634
6131
  __name: "PasteSpecialDialog",
6635
6132
  props: {
6636
6133
  isOpen: { type: Boolean },
@@ -6673,15 +6170,15 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6673
6170
  }, {
6674
6171
  default: j(() => [
6675
6172
  c[4] ||= o("div", { class: "dialog__header" }, "Paste Special", -1),
6676
- o("div", fs, [o("fieldset", ps, [c[3] ||= o("legend", { class: "options__legend" }, "Paste mode", -1), (_(), a(e, null, x(s, (e) => o("label", {
6173
+ o("div", ms, [o("fieldset", hs, [c[3] ||= o("legend", { class: "options__legend" }, "Paste mode", -1), (_(), a(e, null, x(s, (e) => o("label", {
6677
6174
  key: e.value,
6678
6175
  class: "option"
6679
6176
  }, [M(o("input", {
6680
6177
  "onUpdate:modelValue": c[0] ||= (e) => u.value = e,
6681
6178
  type: "radio",
6682
6179
  value: e.value
6683
- }, null, 8, ms), [[D, u.value]]), o("span", hs, [o("span", gs, C(e.label), 1), o("span", _s, C(e.description), 1)])])), 64))])]),
6684
- o("div", vs, [o("button", {
6180
+ }, null, 8, gs), [[D, u.value]]), o("span", _s, [o("span", vs, C(e.label), 1), o("span", ys, C(e.description), 1)])])), 64))])]),
6181
+ o("div", bs, [o("button", {
6685
6182
  class: "dialog__btn",
6686
6183
  onClick: c[1] ||= (e) => n.$emit("close")
6687
6184
  }, "Cancel"), o("button", {
@@ -6692,7 +6189,7 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6692
6189
  _: 1
6693
6190
  }, 8, ["open"]));
6694
6191
  }
6695
- }), [["__scopeId", "data-v-540e9db3"]]), bs = { class: "dialog__body" }, xs = { class: "grid" }, Ss = { class: "field" }, Cs = { class: "field" }, ws = { class: "check" }, Ts = { class: "dialog__footer" }, Es = ["disabled"], Ds = 1, Os = 63, ks = /*#__PURE__*/ V(/* @__PURE__ */ l({
6192
+ }), [["__scopeId", "data-v-540e9db3"]]), Ss = { class: "dialog__body" }, Cs = { class: "grid" }, ws = { class: "field" }, Ts = { class: "field" }, Es = { class: "check" }, Ds = { class: "dialog__footer" }, Os = ["disabled"], ks = 1, As = 63, js = /*#__PURE__*/ V(/* @__PURE__ */ l({
6696
6193
  __name: "SplitCellDialog",
6697
6194
  props: {
6698
6195
  isOpen: { type: Boolean },
@@ -6713,7 +6210,7 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6713
6210
  }), s("close"));
6714
6211
  }
6715
6212
  function h(e) {
6716
- return Math.min(Os, Math.max(Ds, Math.trunc(e)));
6213
+ return Math.min(As, Math.max(ks, Math.trunc(e)));
6717
6214
  }
6718
6215
  return (t, n) => (_(), r(T(i), {
6719
6216
  open: e.isOpen,
@@ -6728,48 +6225,48 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6728
6225
  }, {
6729
6226
  default: j(() => [
6730
6227
  n[8] ||= o("div", { class: "dialog__header" }, "Split Cell", -1),
6731
- o("div", bs, [o("div", xs, [o("label", Ss, [n[5] ||= o("span", { class: "field__label" }, "Columns", -1), M(o("input", {
6228
+ o("div", Ss, [o("div", Cs, [o("label", ws, [n[5] ||= o("span", { class: "field__label" }, "Columns", -1), M(o("input", {
6732
6229
  "onUpdate:modelValue": n[0] ||= (e) => l.value = e,
6733
6230
  class: "field__input",
6734
- max: Os,
6735
- min: Ds,
6231
+ max: As,
6232
+ min: ks,
6736
6233
  type: "number"
6737
6234
  }, null, 512), [[
6738
6235
  k,
6739
6236
  l.value,
6740
6237
  void 0,
6741
6238
  { number: !0 }
6742
- ]])]), o("label", Cs, [n[6] ||= o("span", { class: "field__label" }, "Rows", -1), M(o("input", {
6239
+ ]])]), o("label", Ts, [n[6] ||= o("span", { class: "field__label" }, "Rows", -1), M(o("input", {
6743
6240
  "onUpdate:modelValue": n[1] ||= (e) => c.value = e,
6744
6241
  class: "field__input",
6745
- max: Os,
6746
- min: Ds,
6242
+ max: As,
6243
+ min: ks,
6747
6244
  type: "number"
6748
6245
  }, null, 512), [[
6749
6246
  k,
6750
6247
  c.value,
6751
6248
  void 0,
6752
6249
  { number: !0 }
6753
- ]])])]), o("label", ws, [M(o("input", {
6250
+ ]])])]), o("label", Es, [M(o("input", {
6754
6251
  "onUpdate:modelValue": n[2] ||= (e) => u.value = e,
6755
6252
  type: "checkbox"
6756
6253
  }, null, 512), [[E, u.value]]), n[7] ||= o("span", null, "Merge selected cells before splitting", -1)])]),
6757
- o("div", Ts, [o("button", {
6254
+ o("div", Ds, [o("button", {
6758
6255
  class: "dialog__btn",
6759
6256
  onClick: n[3] ||= (e) => t.$emit("close")
6760
6257
  }, "Cancel"), o("button", {
6761
6258
  class: "dialog__btn dialog__btn--primary",
6762
6259
  disabled: !p.value,
6763
6260
  onClick: m
6764
- }, " Split ", 8, Es)])
6261
+ }, " Split ", 8, Os)])
6765
6262
  ]),
6766
6263
  _: 1
6767
6264
  }, 8, ["open"]));
6768
6265
  }
6769
- }), [["__scopeId", "data-v-c4c6621c"]]), As = { class: "tpd-dialog__header" }, js = { class: "tpd-dialog__body" }, Ms = { class: "tpd-row" }, Ns = { class: "tpd-label" }, Ps = { value: "auto" }, Fs = { value: "dxa" }, Is = { value: "pct" }, Ls = {
6266
+ }), [["__scopeId", "data-v-c4c6621c"]]), Ms = { class: "tpd-dialog__header" }, Ns = { class: "tpd-dialog__body" }, Ps = { class: "tpd-row" }, Fs = { class: "tpd-label" }, Is = { value: "auto" }, Ls = { value: "dxa" }, Rs = { value: "pct" }, zs = {
6770
6267
  key: 0,
6771
6268
  class: "tpd-row"
6772
- }, Rs = { class: "tpd-label" }, zs = ["step"], Bs = { class: "tpd-unit" }, Vs = { class: "tpd-row" }, Hs = { class: "tpd-label" }, Us = { value: "left" }, Ws = { value: "center" }, Gs = { value: "right" }, Ks = { class: "tpd-dialog__footer" }, qs = /*#__PURE__*/ V(/* @__PURE__ */ l({
6269
+ }, Bs = { class: "tpd-label" }, Vs = ["step"], Hs = { class: "tpd-unit" }, Us = { class: "tpd-row" }, Ws = { class: "tpd-label" }, Gs = { value: "left" }, Ks = { value: "center" }, qs = { value: "right" }, Js = { class: "tpd-dialog__footer" }, Ys = /*#__PURE__*/ V(/* @__PURE__ */ l({
6773
6270
  __name: "TablePropertiesDialog",
6774
6271
  props: {
6775
6272
  isOpen: { type: Boolean },
@@ -6785,7 +6282,7 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6785
6282
  e && (u.value = c.currentProps?.width ?? 0, d.value = c.currentProps?.widthType ?? "auto", f.value = p(c.currentProps?.justification));
6786
6283
  });
6787
6284
  function m() {
6788
- l("apply", d.value === "auto" ? {
6285
+ let e = d.value === "auto" ? {
6789
6286
  justification: f.value,
6790
6287
  width: null,
6791
6288
  widthType: "auto"
@@ -6793,7 +6290,8 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6793
6290
  justification: f.value,
6794
6291
  width: u.value,
6795
6292
  widthType: d.value
6796
- }), l("close");
6293
+ };
6294
+ l("apply", e), l("close");
6797
6295
  }
6798
6296
  return (t, c) => (_(), r(T(s), {
6799
6297
  open: e.isOpen,
@@ -6807,42 +6305,42 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6807
6305
  onKeydown: N(m, ["enter"])
6808
6306
  }, {
6809
6307
  default: j(() => [
6810
- o("div", As, C(T(n)("dialogs.tableProperties.title")), 1),
6811
- o("div", js, [
6812
- o("div", Ms, [o("label", Ns, C(T(n)("dialogs.tableProperties.widthType")), 1), M(o("select", {
6308
+ o("div", Ms, C(T(n)("dialogs.tableProperties.title")), 1),
6309
+ o("div", Ns, [
6310
+ o("div", Ps, [o("label", Fs, C(T(n)("dialogs.tableProperties.widthType")), 1), M(o("select", {
6813
6311
  "onUpdate:modelValue": c[0] ||= (e) => d.value = e,
6814
6312
  class: "tpd-select"
6815
6313
  }, [
6816
- o("option", Ps, C(T(n)("dialogs.tableProperties.widthTypes.auto")), 1),
6817
- o("option", Fs, C(T(n)("dialogs.tableProperties.widthTypes.fixed")), 1),
6818
- o("option", Is, C(T(n)("dialogs.tableProperties.widthTypes.percentage")), 1)
6314
+ o("option", Is, C(T(n)("dialogs.tableProperties.widthTypes.auto")), 1),
6315
+ o("option", Ls, C(T(n)("dialogs.tableProperties.widthTypes.fixed")), 1),
6316
+ o("option", Rs, C(T(n)("dialogs.tableProperties.widthTypes.percentage")), 1)
6819
6317
  ], 512), [[O, d.value]])]),
6820
- d.value === "auto" ? i("", !0) : (_(), a("div", Ls, [
6821
- o("label", Rs, C(T(n)("dialogs.tableProperties.widthLabel")), 1),
6318
+ d.value === "auto" ? i("", !0) : (_(), a("div", zs, [
6319
+ o("label", Bs, C(T(n)("dialogs.tableProperties.widthLabel")), 1),
6822
6320
  M(o("input", {
6823
6321
  "onUpdate:modelValue": c[1] ||= (e) => u.value = e,
6824
6322
  type: "number",
6825
6323
  class: "tpd-input",
6826
6324
  min: 0,
6827
6325
  step: d.value === "pct" ? 5 : 100
6828
- }, null, 8, zs), [[
6326
+ }, null, 8, Vs), [[
6829
6327
  k,
6830
6328
  u.value,
6831
6329
  void 0,
6832
6330
  { number: !0 }
6833
6331
  ]]),
6834
- o("span", Bs, C(d.value === "pct" ? T(n)("dialogs.tableProperties.units.fiftiethsPercent") : T(n)("dialogs.tableProperties.units.twips")), 1)
6332
+ o("span", Hs, C(d.value === "pct" ? T(n)("dialogs.tableProperties.units.fiftiethsPercent") : T(n)("dialogs.tableProperties.units.twips")), 1)
6835
6333
  ])),
6836
- o("div", Vs, [o("label", Hs, C(T(n)("dialogs.tableProperties.alignmentLabel")), 1), M(o("select", {
6334
+ o("div", Us, [o("label", Ws, C(T(n)("dialogs.tableProperties.alignmentLabel")), 1), M(o("select", {
6837
6335
  "onUpdate:modelValue": c[2] ||= (e) => f.value = e,
6838
6336
  class: "tpd-select"
6839
6337
  }, [
6840
- o("option", Us, C(T(n)("dialogs.tableProperties.alignOptions.left")), 1),
6841
- o("option", Ws, C(T(n)("dialogs.tableProperties.alignOptions.center")), 1),
6842
- o("option", Gs, C(T(n)("dialogs.tableProperties.alignOptions.right")), 1)
6338
+ o("option", Gs, C(T(n)("dialogs.tableProperties.alignOptions.left")), 1),
6339
+ o("option", Ks, C(T(n)("dialogs.tableProperties.alignOptions.center")), 1),
6340
+ o("option", qs, C(T(n)("dialogs.tableProperties.alignOptions.right")), 1)
6843
6341
  ], 512), [[O, f.value]])])
6844
6342
  ]),
6845
- o("div", Ks, [o("button", {
6343
+ o("div", Js, [o("button", {
6846
6344
  class: "tpd-btn",
6847
6345
  onClick: c[3] ||= (e) => t.$emit("close")
6848
6346
  }, C(T(n)("common.cancel")), 1), o("button", {
@@ -6853,13 +6351,13 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6853
6351
  _: 1
6854
6352
  }, 8, ["open", "aria-label"]));
6855
6353
  }
6856
- }), [["__scopeId", "data-v-fb5280be"]]), Js = { class: "dialog__body" }, Ys = { class: "field" }, Xs = {
6354
+ }), [["__scopeId", "data-v-6e0fd92d"]]), Xs = { class: "dialog__body" }, Zs = { class: "field" }, Qs = {
6857
6355
  key: 0,
6858
6356
  class: "grid"
6859
- }, Zs = { class: "field field--wide" }, Qs = { class: "field" }, $s = { class: "field" }, ec = { class: "field" }, tc = { class: "check" }, nc = {
6357
+ }, $s = { class: "field field--wide" }, ec = { class: "field" }, tc = { class: "field" }, nc = { class: "field" }, rc = { class: "check" }, ic = {
6860
6358
  key: 1,
6861
6359
  class: "grid"
6862
- }, rc = { class: "field field--wide" }, ic = { class: "field field--wide" }, ac = { class: "field" }, oc = { class: "check" }, sc = { class: "check field--wide" }, cc = { class: "dialog__footer" }, lc = ["disabled"], uc = "#C0C0C0", dc = /*#__PURE__*/ V(/* @__PURE__ */ l({
6360
+ }, ac = { class: "field field--wide" }, oc = { class: "field field--wide" }, sc = { class: "field" }, cc = { class: "check" }, lc = { class: "check field--wide" }, uc = { class: "dialog__footer" }, dc = ["disabled"], fc = "#C0C0C0", pc = /*#__PURE__*/ V(/* @__PURE__ */ l({
6863
6361
  __name: "WatermarkDialog",
6864
6362
  props: {
6865
6363
  isOpen: { type: Boolean },
@@ -6867,11 +6365,11 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6867
6365
  },
6868
6366
  emits: ["close", "apply"],
6869
6367
  setup(e, { emit: t }) {
6870
- let { Dialog: s } = Q(), c = e, l = t, u = b("text"), d = b("CONFIDENTIAL"), f = b("Calibri"), p = b(uc), m = b(!0), h = b(50), g = b(""), v = b(""), y = b(!1), x = b(100), S = b(!0), C = n(() => u.value === "none" || u.value === "text" && d.value.trim().length > 0 || u.value === "picture" && g.value.trim().length > 0);
6368
+ let { Dialog: s } = Q(), c = e, l = t, u = b("text"), d = b("CONFIDENTIAL"), f = b("Calibri"), p = b(fc), m = b(!0), h = b(50), g = b(""), v = b(""), y = b(!1), x = b(100), S = b(!0), C = n(() => u.value === "none" || u.value === "text" && d.value.trim().length > 0 || u.value === "picture" && g.value.trim().length > 0);
6871
6369
  A([() => c.isOpen, () => c.currentWatermark], ([e, t]) => {
6872
6370
  if (e) {
6873
6371
  if (!t) {
6874
- u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value = uc, m.value = !0, h.value = 50, g.value = "", v.value = "", y.value = !1, x.value = 100, S.value = !0;
6372
+ u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value = fc, m.value = !0, h.value = 50, g.value = "", v.value = "", y.value = !1, x.value = 100, S.value = !0;
6875
6373
  return;
6876
6374
  }
6877
6375
  if (u.value = t.kind, t.kind === "text") {
@@ -6918,7 +6416,7 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6918
6416
  return e.startsWith("#") ? e.slice(1) : e;
6919
6417
  }
6920
6418
  function F(e) {
6921
- return !e || e === "auto" ? uc : e.startsWith("#") ? e : `#${e}`;
6419
+ return !e || e === "auto" ? fc : e.startsWith("#") ? e : `#${e}`;
6922
6420
  }
6923
6421
  return (t, n) => (_(), r(T(s), {
6924
6422
  open: e.isOpen,
@@ -6932,8 +6430,8 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6932
6430
  }, {
6933
6431
  default: j(() => [
6934
6432
  n[25] ||= o("div", { class: "dialog__header" }, "Watermark", -1),
6935
- o("div", Js, [
6936
- o("label", Ys, [n[14] ||= o("span", { class: "field__label" }, "Type", -1), M(o("select", {
6433
+ o("div", Xs, [
6434
+ o("label", Zs, [n[14] ||= o("span", { class: "field__label" }, "Type", -1), M(o("select", {
6937
6435
  "onUpdate:modelValue": n[0] ||= (e) => u.value = e,
6938
6436
  class: "field__input"
6939
6437
  }, [...n[13] ||= [
@@ -6941,21 +6439,21 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6941
6439
  o("option", { value: "picture" }, "Picture watermark", -1),
6942
6440
  o("option", { value: "none" }, "No watermark", -1)
6943
6441
  ]], 512), [[O, u.value]])]),
6944
- u.value === "text" ? (_(), a("div", Xs, [
6945
- o("label", Zs, [n[15] ||= o("span", { class: "field__label" }, "Text", -1), M(o("input", {
6442
+ u.value === "text" ? (_(), a("div", Qs, [
6443
+ o("label", $s, [n[15] ||= o("span", { class: "field__label" }, "Text", -1), M(o("input", {
6946
6444
  "onUpdate:modelValue": n[1] ||= (e) => d.value = e,
6947
6445
  class: "field__input"
6948
6446
  }, null, 512), [[k, d.value]])]),
6949
- o("label", Qs, [n[16] ||= o("span", { class: "field__label" }, "Font", -1), M(o("input", {
6447
+ o("label", ec, [n[16] ||= o("span", { class: "field__label" }, "Font", -1), M(o("input", {
6950
6448
  "onUpdate:modelValue": n[2] ||= (e) => f.value = e,
6951
6449
  class: "field__input"
6952
6450
  }, null, 512), [[k, f.value]])]),
6953
- o("label", $s, [n[17] ||= o("span", { class: "field__label" }, "Color", -1), M(o("input", {
6451
+ o("label", tc, [n[17] ||= o("span", { class: "field__label" }, "Color", -1), M(o("input", {
6954
6452
  "onUpdate:modelValue": n[3] ||= (e) => p.value = e,
6955
6453
  class: "field__input field__input--color",
6956
6454
  type: "color"
6957
6455
  }, null, 512), [[k, p.value]])]),
6958
- o("label", ec, [n[18] ||= o("span", { class: "field__label" }, "Opacity", -1), M(o("input", {
6456
+ o("label", nc, [n[18] ||= o("span", { class: "field__label" }, "Opacity", -1), M(o("input", {
6959
6457
  "onUpdate:modelValue": n[4] ||= (e) => h.value = e,
6960
6458
  class: "field__input",
6961
6459
  max: "100",
@@ -6967,23 +6465,23 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6967
6465
  void 0,
6968
6466
  { number: !0 }
6969
6467
  ]])]),
6970
- o("label", tc, [M(o("input", {
6468
+ o("label", rc, [M(o("input", {
6971
6469
  "onUpdate:modelValue": n[5] ||= (e) => m.value = e,
6972
6470
  type: "checkbox"
6973
6471
  }, null, 512), [[E, m.value]]), n[19] ||= o("span", null, "Diagonal", -1)])
6974
6472
  ])) : i("", !0),
6975
- u.value === "picture" ? (_(), a("div", nc, [
6976
- o("label", rc, [n[20] ||= o("span", { class: "field__label" }, "Header image relationship id", -1), M(o("input", {
6473
+ u.value === "picture" ? (_(), a("div", ic, [
6474
+ o("label", ac, [n[20] ||= o("span", { class: "field__label" }, "Header image relationship id", -1), M(o("input", {
6977
6475
  "onUpdate:modelValue": n[6] ||= (e) => g.value = e,
6978
6476
  class: "field__input",
6979
6477
  placeholder: "rId12"
6980
6478
  }, null, 512), [[k, g.value]])]),
6981
- o("label", ic, [n[21] ||= o("span", { class: "field__label" }, "Image target", -1), M(o("input", {
6479
+ o("label", oc, [n[21] ||= o("span", { class: "field__label" }, "Image target", -1), M(o("input", {
6982
6480
  "onUpdate:modelValue": n[7] ||= (e) => v.value = e,
6983
6481
  class: "field__input",
6984
6482
  placeholder: "word/media/image1.png"
6985
6483
  }, null, 512), [[k, v.value]])]),
6986
- o("label", ac, [n[22] ||= o("span", { class: "field__label" }, "Scale", -1), M(o("input", {
6484
+ o("label", sc, [n[22] ||= o("span", { class: "field__label" }, "Scale", -1), M(o("input", {
6987
6485
  "onUpdate:modelValue": n[8] ||= (e) => x.value = e,
6988
6486
  class: "field__input",
6989
6487
  max: "300",
@@ -6995,28 +6493,28 @@ var Fo = { class: "tsg" }, Io = { class: "tsg__grid" }, Lo = ["title", "onMoused
6995
6493
  void 0,
6996
6494
  { number: !0 }
6997
6495
  ]])]),
6998
- o("label", oc, [M(o("input", {
6496
+ o("label", cc, [M(o("input", {
6999
6497
  "onUpdate:modelValue": n[9] ||= (e) => S.value = e,
7000
6498
  type: "checkbox"
7001
6499
  }, null, 512), [[E, S.value]]), n[23] ||= o("span", null, "Washout", -1)]),
7002
- o("label", sc, [M(o("input", {
6500
+ o("label", lc, [M(o("input", {
7003
6501
  "onUpdate:modelValue": n[10] ||= (e) => y.value = e,
7004
6502
  type: "checkbox"
7005
6503
  }, null, 512), [[E, y.value]]), n[24] ||= o("span", null, "Target is an external URL", -1)])
7006
6504
  ])) : i("", !0)
7007
6505
  ]),
7008
- o("div", cc, [o("button", {
6506
+ o("div", uc, [o("button", {
7009
6507
  class: "dialog__btn",
7010
6508
  onClick: n[11] ||= (e) => t.$emit("close")
7011
6509
  }, "Cancel"), o("button", {
7012
6510
  class: "dialog__btn dialog__btn--primary",
7013
6511
  disabled: !C.value,
7014
6512
  onClick: w
7015
- }, " Apply ", 8, lc)])
6513
+ }, " Apply ", 8, dc)])
7016
6514
  ]),
7017
6515
  _: 1
7018
6516
  }, 8, ["open"]));
7019
6517
  }
7020
6518
  }), [["__scopeId", "data-v-5ce5fa13"]]);
7021
6519
  //#endregion
7022
- export { Ut as A, _n as C, ln as D, dn as E, V as F, se as M, ae as N, zt as O, U as P, En as S, pn as T, Ln as _, ds as a, Nn as b, go as c, mi as d, Yr as f, Rn as g, Pn as h, ys as i, Z as j, Wt as k, Sa as l, Kn as m, qs as n, Bo as o, yr as p, ks as r, Do as s, dc as t, Vi as u, In as v, hn as w, kn as x, Q as y };
6520
+ export { Gt as A, yn as C, dn as D, pn as E, V as F, ce as M, se as N, Vt as O, W as P, On as S, hn as T, zn as _, ps as a, Fn as b, vo as c, gi as d, Zr as f, Bn as g, In as h, xs as i, Z as j, Kt as k, wa as l, Jn as m, Ys as n, Ho as o, xr as p, js as r, ko as s, pc as t, Ui as u, Rn as v, _n as w, jn as x, Q as y };