golden-logic-ui 1.0.448 → 1.0.449

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.
@@ -2284,15 +2284,17 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
2284
2284
  console.log("dotsNavigation", this.dotsNavigation);
2285
2285
  }
2286
2286
  G.style.transition = "margin", G.style.transitionDuration = "1s";
2287
- for (let $e = 0; $e < ne.length; $e++)
2288
- ;
2287
+ for (let $e = 0; $e < ne.length; $e++) {
2288
+ const at = ne[$e];
2289
+ at.style.width = xe + "px";
2290
+ }
2289
2291
  },
2290
2292
  setDot(A) {
2291
2293
  let re = document.getElementById("slider_" + this.Random_string);
2292
2294
  this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
2293
2295
  }
2294
2296
  }
2295
- }, km = (A) => (rq("data-v-01413f00"), A = A(), aq(), A), DJ = ["id"], OJ = {
2297
+ }, km = (A) => (rq("data-v-771dec86"), A = A(), aq(), A), DJ = ["id"], OJ = {
2296
2298
  key: 0,
2297
2299
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2298
2300
  }, RJ = { class: "w-full" }, $J = {
@@ -2594,7 +2596,7 @@ function $Q(A, re, G, _e, ne, Z) {
2594
2596
  ], 10, DJ)
2595
2597
  ]);
2596
2598
  }
2597
- const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-01413f00"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2599
+ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-771dec86"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2598
2600
  /* @__PURE__ */ R("svg", {
2599
2601
  xmlns: "http://www.w3.org/2000/svg",
2600
2602
  fill: "currentColor",
@@ -6830,7 +6832,7 @@ var cq = { exports: {} };
6830
6832
  id: l,
6831
6833
  forward: y
6832
6834
  };
6833
- }, e3 = (e, n, o = !1) => n === 2 ? Yb(V, o, e) : n === 3 ? d2(e) : n ? J4(e) : xC(e, !1), xp = Pe(Yb, Ht, !0), Xb = (e) => {
6835
+ }, eT = (e, n, o = !1) => n === 2 ? Yb(V, o, e) : n === 3 ? d2(e) : n ? J4(e) : xC(e, !1), xp = Pe(Yb, Ht, !0), Xb = (e) => {
6834
6836
  const n = (u) => u(e), o = ot(e), r = () => l, l = {
6835
6837
  tag: !0,
6836
6838
  inner: e,
@@ -7024,12 +7026,12 @@ Required: ` + n.join(", "));
7024
7026
  inlinePatterns: f2(e),
7025
7027
  blockPatterns: Jb(e),
7026
7028
  dynamicPatternsLookup: n
7027
- }), t3 = (e) => {
7029
+ }), tT = (e) => {
7028
7030
  const n = xt(Ke(e, _C));
7029
7031
  return Te(n.errors, (o) => console.error(o.message, o.pattern)), n.values;
7030
7032
  }, SC = (e) => (n) => {
7031
7033
  const o = e(n);
7032
- return t3(o);
7034
+ return tT(o);
7033
7035
  }, Oc = as().deviceType, Cp = Oc.isTouch(), Y0 = Is.DOM, Jd = (e) => {
7034
7036
  const n = e.indexOf("=") > 0 ? e.split(/[;,](?![^=;,]*(?:[;,]|$))/) : e.split(",");
7035
7037
  return Vo(n, (o, r) => {
@@ -7426,7 +7428,7 @@ Required: ` + n.join(", "));
7426
7428
  default: 4
7427
7429
  }), n("text_patterns", {
7428
7430
  processor: (o) => Cn(o, kt) || o === !1 ? {
7429
- value: t3(o === !1 ? [] : o),
7431
+ value: tT(o === !1 ? [] : o),
7430
7432
  valid: !0
7431
7433
  } : {
7432
7434
  valid: !1,
@@ -7585,7 +7587,7 @@ Required: ` + n.join(", "));
7585
7587
  default: Y0.getAttrib(e.getElement(), "placeholder")
7586
7588
  });
7587
7589
  });
7588
- }, g2 = Ut("iframe_attrs"), EC = Ut("doctype"), h2 = Ut("document_base_url"), p2 = Ut("body_id"), n3 = Ut("body_class"), b2 = Ut("content_security_policy"), o3 = Ut("br_in_pre"), Xl = Ut("forced_root_block"), X0 = Ut("forced_root_block_attrs"), s3 = Ut("newline_behavior"), r3 = Ut("br_newline_selector"), v2 = Ut("no_newline_selector"), a3 = Ut("keep_styles"), AC = Ut("end_container_on_empty_block"), DC = Ut("automatic_uploads"), J0 = Ut("images_reuse_filename"), OC = Ut("images_replace_blob_uris"), y2 = Ut("icons"), dh = Ut("icons_url"), l3 = Ut("images_upload_url"), c3 = Ut("images_upload_base_path"), w2 = Ut("images_upload_credentials"), i3 = Ut("images_upload_handler"), Xm = Ut("content_css_cors"), ro = Ut("referrer_policy"), x2 = Ut("language"), Jl = Ut("language_url"), Qb = Ut("indent_use_margin"), C2 = Ut("indentation"), _2 = Ut("content_css"), ev = Ut("content_style"), RC = Ut("font_css"), u3 = Ut("directionality"), d3 = Ut("inline_boundaries_selector"), _p = Ut("object_resizing"), $C = Ut("resize_img_proportional"), fO = Ut("placeholder"), jf = Ut("event_root"), m3 = Ut("service_message"), Sp = Ut("theme"), f3 = Ut("theme_url"), S2 = Ut("model"), MC = Ut("model_url"), mh = Ut("inline_boundaries"), g3 = Ut("formats"), PC = Ut("preview_styles"), BC = Ut("format_empty_lines"), kp = Ut("format_noneditable_selector"), NC = Ut("custom_ui_selector"), k2 = Ut("inline"), h3 = Ut("hidden_input"), IC = Ut("submit_patch"), Qd = Ut("add_form_submit_trigger"), Q0 = Ut("add_unload_trigger"), e1 = Ut("custom_undo_redo_levels"), tv = Ut("disable_nodechange"), t1 = Ut("readonly"), uu = Ut("editable_root"), Tp = Ut("content_css_cors"), n1 = Ut("plugins"), Gf = Ut("external_plugins"), nv = Ut("block_unsupported_drop"), p3 = Ut("visual"), b3 = Ut("visual_table_class"), LC = Ut("visual_anchor_class"), v3 = Ut("iframe_aria_text"), T2 = Ut("setup"), y3 = Ut("init_instance_callback"), w3 = Ut("urlconverter_callback"), FC = Ut("auto_focus"), x3 = Ut("browser_spellcheck"), HC = Ut("protect"), C3 = Ut("paste_block_drop"), ov = Ut("paste_data_images"), _3 = Ut("paste_preprocess"), VC = Ut("paste_postprocess"), Ep = Ut("newdocument_content"), E2 = Ut("paste_webkit_styles"), A2 = Ut("paste_remove_styles_if_webkit"), D2 = Ut("paste_merge_formats"), zC = Ut("smart_paste"), O2 = Ut("paste_as_text"), S3 = Ut("paste_tab_spaces"), sv = Ut("allow_html_data_urls"), rv = Ut("text_patterns"), k3 = Ut("text_patterns_lookup"), R2 = Ut("noneditable_class"), UC = Ut("editable_class"), T3 = Ut("noneditable_regexp"), $2 = Ut("preserve_cdata"), E3 = Ut("highlight_on_focus"), Ap = Ut("xss_sanitization"), A3 = Ut("init_content_sync"), M2 = (e) => e.options.isSet("text_patterns_lookup"), D3 = (e) => ct.explode(e.options.get("font_size_style_values")), O3 = (e) => ct.explode(e.options.get("font_size_classes")), R3 = (e) => e.options.get("encoding") === "xml", WC = (e) => ct.explode(e.options.get("images_file_types")), $3 = Ut("table_tab_navigation"), Ya = Ut("details_initial_state"), gO = Ut("details_serialized_state"), Dp = Ut("force_hex_color"), av = Ut("sandbox_iframes"), ZC = qt, P2 = ut, jC = (e) => {
7590
+ }, g2 = Ut("iframe_attrs"), EC = Ut("doctype"), h2 = Ut("document_base_url"), p2 = Ut("body_id"), nT = Ut("body_class"), b2 = Ut("content_security_policy"), oT = Ut("br_in_pre"), Xl = Ut("forced_root_block"), X0 = Ut("forced_root_block_attrs"), sT = Ut("newline_behavior"), rT = Ut("br_newline_selector"), v2 = Ut("no_newline_selector"), aT = Ut("keep_styles"), AC = Ut("end_container_on_empty_block"), DC = Ut("automatic_uploads"), J0 = Ut("images_reuse_filename"), OC = Ut("images_replace_blob_uris"), y2 = Ut("icons"), dh = Ut("icons_url"), lT = Ut("images_upload_url"), cT = Ut("images_upload_base_path"), w2 = Ut("images_upload_credentials"), iT = Ut("images_upload_handler"), Xm = Ut("content_css_cors"), ro = Ut("referrer_policy"), x2 = Ut("language"), Jl = Ut("language_url"), Qb = Ut("indent_use_margin"), C2 = Ut("indentation"), _2 = Ut("content_css"), ev = Ut("content_style"), RC = Ut("font_css"), uT = Ut("directionality"), dT = Ut("inline_boundaries_selector"), _p = Ut("object_resizing"), $C = Ut("resize_img_proportional"), fO = Ut("placeholder"), jf = Ut("event_root"), mT = Ut("service_message"), Sp = Ut("theme"), fT = Ut("theme_url"), S2 = Ut("model"), MC = Ut("model_url"), mh = Ut("inline_boundaries"), gT = Ut("formats"), PC = Ut("preview_styles"), BC = Ut("format_empty_lines"), kp = Ut("format_noneditable_selector"), NC = Ut("custom_ui_selector"), k2 = Ut("inline"), hT = Ut("hidden_input"), IC = Ut("submit_patch"), Qd = Ut("add_form_submit_trigger"), Q0 = Ut("add_unload_trigger"), e1 = Ut("custom_undo_redo_levels"), tv = Ut("disable_nodechange"), t1 = Ut("readonly"), uu = Ut("editable_root"), Tp = Ut("content_css_cors"), n1 = Ut("plugins"), Gf = Ut("external_plugins"), nv = Ut("block_unsupported_drop"), pT = Ut("visual"), bT = Ut("visual_table_class"), LC = Ut("visual_anchor_class"), vT = Ut("iframe_aria_text"), T2 = Ut("setup"), yT = Ut("init_instance_callback"), wT = Ut("urlconverter_callback"), FC = Ut("auto_focus"), xT = Ut("browser_spellcheck"), HC = Ut("protect"), CT = Ut("paste_block_drop"), ov = Ut("paste_data_images"), _T = Ut("paste_preprocess"), VC = Ut("paste_postprocess"), Ep = Ut("newdocument_content"), E2 = Ut("paste_webkit_styles"), A2 = Ut("paste_remove_styles_if_webkit"), D2 = Ut("paste_merge_formats"), zC = Ut("smart_paste"), O2 = Ut("paste_as_text"), ST = Ut("paste_tab_spaces"), sv = Ut("allow_html_data_urls"), rv = Ut("text_patterns"), kT = Ut("text_patterns_lookup"), R2 = Ut("noneditable_class"), UC = Ut("editable_class"), TT = Ut("noneditable_regexp"), $2 = Ut("preserve_cdata"), ET = Ut("highlight_on_focus"), Ap = Ut("xss_sanitization"), AT = Ut("init_content_sync"), M2 = (e) => e.options.isSet("text_patterns_lookup"), DT = (e) => ct.explode(e.options.get("font_size_style_values")), OT = (e) => ct.explode(e.options.get("font_size_classes")), RT = (e) => e.options.get("encoding") === "xml", WC = (e) => ct.explode(e.options.get("images_file_types")), $T = Ut("table_tab_navigation"), Ya = Ut("details_initial_state"), gO = Ut("details_serialized_state"), Dp = Ut("force_hex_color"), av = Ut("sandbox_iframes"), ZC = qt, P2 = ut, jC = (e) => {
7589
7591
  const n = e.parentNode;
7590
7592
  n && n.removeChild(e);
7591
7593
  }, GC = (e) => {
@@ -7598,15 +7600,15 @@ Required: ` + n.join(", "));
7598
7600
  let n;
7599
7601
  for (; (n = e.data.lastIndexOf(x)) !== -1; )
7600
7602
  e.deleteData(n, 1);
7601
- }, o1 = (e, n) => (ka(e), n), M3 = (e, n) => {
7603
+ }, o1 = (e, n) => (ka(e), n), MT = (e, n) => {
7602
7604
  const o = GC(e.data.substr(0, n.offset())), r = GC(e.data.substr(n.offset()));
7603
7605
  return (o.text + r.text).length > 0 ? (fh(e), Le(e, n.offset() - o.count)) : n;
7604
- }, P3 = (e, n) => {
7606
+ }, PT = (e, n) => {
7605
7607
  const o = n.container(), r = Zi(wr(o.childNodes), e).map((l) => l < n.offset() ? Le(o, n.offset() - 1) : n).getOr(n);
7606
7608
  return ka(e), r;
7607
- }, s1 = (e, n) => P2(e) && n.container() === e ? M3(e, n) : o1(e, n), B2 = (e, n) => n.container() === e.parentNode ? P3(e, n) : o1(e, n), qC = (e, n) => Le.isTextPosition(n) ? s1(e, n) : B2(e, n), ka = (e) => {
7609
+ }, s1 = (e, n) => P2(e) && n.container() === e ? MT(e, n) : o1(e, n), B2 = (e, n) => n.container() === e.parentNode ? PT(e, n) : o1(e, n), qC = (e, n) => Le.isTextPosition(n) ? s1(e, n) : B2(e, n), ka = (e) => {
7608
7610
  ZC(e) && an(e) && (zn(e) ? e.removeAttribute("data-mce-caret") : jC(e)), P2(e) && (fh(e), e.data.length === 0 && jC(e));
7609
- }, KC = vo, N2 = hr, hO = Of, Op = "*[contentEditable=false],video,audio,embed,object", B3 = (e, n, o) => {
7611
+ }, KC = vo, N2 = hr, hO = Of, Op = "*[contentEditable=false],video,audio,embed,object", BT = (e, n, o) => {
7610
7612
  const r = qm(n.getBoundingClientRect(), o);
7611
7613
  let l, u;
7612
7614
  if (e.tagName === "BODY") {
@@ -7639,7 +7641,7 @@ Required: ` + n.join(", "));
7639
7641
  if (P(), hO(se))
7640
7642
  return null;
7641
7643
  if (o(se)) {
7642
- const ke = mc(b, se, K), Se = B3(n, se, K);
7644
+ const ke = mc(b, se, K), Se = BT(n, se, K);
7643
7645
  y.setStyle(ke, "top", Se.top), f = ke;
7644
7646
  const Be = y.create("div", {
7645
7647
  class: "mce-visual-caret",
@@ -7670,13 +7672,13 @@ Required: ` + n.join(", "));
7670
7672
  getCss: () => ".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",
7671
7673
  reposition: () => {
7672
7674
  l.on((K) => {
7673
- const se = B3(n, K.element, K.before);
7675
+ const se = BT(n, K.element, K.before);
7674
7676
  y.setStyles(K.caret, { ...se });
7675
7677
  });
7676
7678
  },
7677
7679
  destroy: () => clearInterval(u)
7678
7680
  };
7679
- }, r1 = () => It.browser.isFirefox(), lv = (e) => KC(e) || N2(e), Rp = (e) => (lv(e) || Eu(e) && r1()) && Zc(ie.fromDom(e)).exists(Vn), N3 = il, qf = vo, XC = hr, Kf = sd("display", "block table table-cell table-caption list-item"), Yf = an, L2 = gt, JC = qt, pO = ut, F2 = uo, Xf = (e) => e > 0, em = (e) => e < 0, a1 = (e, n) => {
7681
+ }, r1 = () => It.browser.isFirefox(), lv = (e) => KC(e) || N2(e), Rp = (e) => (lv(e) || Eu(e) && r1()) && Zc(ie.fromDom(e)).exists(Vn), NT = il, qf = vo, XC = hr, Kf = sd("display", "block table table-cell table-caption list-item"), Yf = an, L2 = gt, JC = qt, pO = ut, F2 = uo, Xf = (e) => e > 0, em = (e) => e < 0, a1 = (e, n) => {
7680
7682
  let o;
7681
7683
  for (; o = e(n); )
7682
7684
  if (!L2(o))
@@ -7701,7 +7703,7 @@ Required: ` + n.join(", "));
7701
7703
  }
7702
7704
  return null;
7703
7705
  }, H2 = (e, n) => {
7704
- const o = (l) => N3(l.dom), r = (l) => l.dom === n;
7706
+ const o = (l) => NT(l.dom), r = (l) => l.dom === n;
7705
7707
  return Xs(ie.fromDom(e), o, r).map((l) => l.dom).getOr(n);
7706
7708
  }, Jm = (e, n) => {
7707
7709
  for (; e && e !== n; ) {
@@ -7775,7 +7777,7 @@ Required: ` + n.join(", "));
7775
7777
  }, QC = (e, n) => l1(e ? 0 : -1, n).filter(qf), Jf = (e, n, o) => {
7776
7778
  const r = z2(e, n, o);
7777
7779
  return e === -1 ? Le.fromRangeStart(r) : Le.fromRangeEnd(r);
7778
- }, iv = (e) => z.from(e.getNode()).map(ie.fromDom), I3 = (e) => z.from(e.getNode(!0)).map(ie.fromDom), e_ = (e, n) => {
7780
+ }, iv = (e) => z.from(e.getNode()).map(ie.fromDom), IT = (e) => z.from(e.getNode(!0)).map(ie.fromDom), e_ = (e, n) => {
7779
7781
  let o = n;
7780
7782
  for (; o = e(o); )
7781
7783
  if (o.isVisible())
@@ -7844,10 +7846,10 @@ Required: ` + n.join(", "));
7844
7846
  }, hd = (e) => ({
7845
7847
  next: (n) => gh(Lr.Forwards, n, e),
7846
7848
  prev: (n) => gh(Lr.Backwards, n, e)
7847
- }), L3 = (e, n, o) => {
7849
+ }), LT = (e, n, o) => {
7848
7850
  const r = e ? Le.before(o) : Le.after(o);
7849
7851
  return Xa(e, n, r);
7850
- }, F3 = (e) => cs(e) ? Le.before(e) : Le.after(e), eg = (e) => Le.isTextPosition(e) ? e.offset() === 0 : uo(e.getNode()), Ip = (e) => {
7852
+ }, FT = (e) => cs(e) ? Le.before(e) : Le.after(e), eg = (e) => Le.isTextPosition(e) ? e.offset() === 0 : uo(e.getNode()), Ip = (e) => {
7851
7853
  if (Le.isTextPosition(e)) {
7852
7854
  const n = e.container();
7853
7855
  return e.offset() === n.data.length;
@@ -7858,7 +7860,7 @@ Required: ` + n.join(", "));
7858
7860
  return z.from(e ? r.next(o) : r.prev(o));
7859
7861
  }, ef = (e, n, o) => Xa(e, n, o).bind((r) => gd(o, r, n) && Z2(e, o, r) ? Xa(e, n, r) : z.some(r)), Bu = (e, n, o, r) => ef(e, n, o).bind((l) => r(l) ? Bu(e, n, l, r) : z.some(l)), Lp = (e, n) => {
7860
7862
  const o = e ? n.firstChild : n.lastChild;
7861
- return ut(o) ? z.some(Le(o, e ? 0 : o.data.length)) : o ? uo(o) ? z.some(e ? Le.before(o) : F3(o)) : L3(e, n, o) : z.none();
7863
+ return ut(o) ? z.some(Le(o, e ? 0 : o.data.length)) : o ? uo(o) ? z.some(e ? Le.before(o) : FT(o)) : LT(e, n, o) : z.none();
7862
7864
  }, Ql = Pe(Xa, !0), Rc = Pe(Xa, !1), hc = Pe(Lp, !0), Nu = Pe(Lp, !1), mv = "_mce_caret", Di = (e) => qt(e) && e.id === mv, hh = (e, n) => {
7863
7865
  let o = n;
7864
7866
  for (; o && o !== e; ) {
@@ -7867,7 +7869,7 @@ Required: ` + n.join(", "));
7867
7869
  o = o.parentNode;
7868
7870
  }
7869
7871
  return null;
7870
- }, j2 = (e) => he(e.start), H3 = (e) => pn(e, "rng"), n_ = (e) => pn(e, "id"), d1 = (e) => pn(e, "name"), o_ = (e) => ct.isArray(e.start), m1 = (e) => !d1(e) && Nn(e.forward) ? e.forward : !0, fv = (e, n) => (qt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), V3 = (e, n) => {
7872
+ }, j2 = (e) => he(e.start), HT = (e) => pn(e, "rng"), n_ = (e) => pn(e, "id"), d1 = (e) => pn(e, "name"), o_ = (e) => ct.isArray(e.start), m1 = (e) => !d1(e) && Nn(e.forward) ? e.forward : !0, fv = (e, n) => (qt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), VT = (e, n) => {
7871
7873
  const o = z.from(gc(e.getRoot(), n.start)), r = z.from(gc(e.getRoot(), n.end));
7872
7874
  return Cr(o, r, (l, u) => {
7873
7875
  const f = e.createRng();
@@ -7880,7 +7882,7 @@ Required: ` + n.join(", "));
7880
7882
  var o;
7881
7883
  const l = ((o = e.ownerDocument) !== null && o !== void 0 ? o : document).createTextNode(x);
7882
7884
  e.appendChild(l), n.setStart(l, 0), n.setEnd(l, 0);
7883
- }, z3 = (e) => !e.hasChildNodes(), vO = (e, n) => Nu(e).fold(tt, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), r_ = (e, n, o) => z3(n) && hh(e, n) ? (s_(n, o), !0) : !1, So = (e, n, o, r) => {
7885
+ }, zT = (e) => !e.hasChildNodes(), vO = (e, n) => Nu(e).fold(tt, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), r_ = (e, n, o) => zT(n) && hh(e, n) ? (s_(n, o), !0) : !1, So = (e, n, o, r) => {
7884
7886
  const l = o[n ? "start" : "end"], u = e.getRoot();
7885
7887
  if (l) {
7886
7888
  let f = u, b = l[0];
@@ -7936,26 +7938,26 @@ Required: ` + n.join(", "));
7936
7938
  range: r,
7937
7939
  forward: !0
7938
7940
  };
7939
- }), U3 = (e, n) => {
7941
+ }), UT = (e, n) => {
7940
7942
  const o = e.dom;
7941
7943
  if (n) {
7942
7944
  if (o_(n))
7943
7945
  return G2(o, n);
7944
7946
  if (j2(n))
7945
- return V3(o, n);
7947
+ return VT(o, n);
7946
7948
  if (n_(n))
7947
7949
  return a_(o, n);
7948
7950
  if (d1(n))
7949
7951
  return f1(o, n);
7950
- if (H3(n))
7952
+ if (HT(n))
7951
7953
  return z.some({
7952
7954
  range: n.rng,
7953
7955
  forward: m1(n)
7954
7956
  });
7955
7957
  }
7956
7958
  return z.none();
7957
- }, Fp = (e, n, o) => e3(e, n, o), gv = (e, n) => {
7958
- U3(e, n).each(({ range: o, forward: r }) => {
7959
+ }, Fp = (e, n, o) => eT(e, n, o), gv = (e, n) => {
7960
+ UT(e, n).each(({ range: o, forward: r }) => {
7959
7961
  e.setRng(o, r);
7960
7962
  });
7961
7963
  }, Oi = (e) => qt(e) && e.tagName === "SPAN" && e.getAttribute("data-mce-type") === "bookmark", hv = ((e) => (n) => e === n)(Bo), Hp = (e) => e !== "" && ` \f
@@ -7968,16 +7970,16 @@ Required: ` + n.join(", "));
7968
7970
  }, bv = (e) => yr(e, (n) => {
7969
7971
  const o = Qy(n);
7970
7972
  return o ? [ie.fromDom(o)] : [];
7971
- }), bh = (e) => pv(e).length > 1, W3 = (e) => zt(bv(e), jl), l_ = (e) => va(e, "td[data-mce-selected],th[data-mce-selected]"), Z3 = (e, n) => {
7973
+ }), bh = (e) => pv(e).length > 1, WT = (e) => zt(bv(e), jl), l_ = (e) => va(e, "td[data-mce-selected],th[data-mce-selected]"), ZT = (e, n) => {
7972
7974
  const o = l_(n);
7973
- return o.length > 0 ? o : W3(e);
7974
- }, Vp = (e) => Z3(pv(e.selection.getSel()), ie.fromDom(e.getBody())), tf = (e, n) => tu(e, "table", n), j3 = (e) => {
7975
+ return o.length > 0 ? o : WT(e);
7976
+ }, Vp = (e) => ZT(pv(e.selection.getSel()), ie.fromDom(e.getBody())), tf = (e, n) => tu(e, "table", n), jT = (e) => {
7975
7977
  const n = e.startContainer, o = e.startOffset;
7976
7978
  return ut(n) ? o === 0 ? z.some(ie.fromDom(n)) : z.none() : z.from(n.childNodes[o]).map(ie.fromDom);
7977
- }, G3 = (e) => {
7979
+ }, GT = (e) => {
7978
7980
  const n = e.endContainer, o = e.endOffset;
7979
7981
  return ut(n) ? o === n.data.length ? z.some(ie.fromDom(n)) : z.none() : z.from(n.childNodes[o - 1]).map(ie.fromDom);
7980
- }, c_ = (e) => Bd(e).fold(ot([e]), (n) => [e].concat(c_(n))), q2 = (e) => Tc(e).fold(ot([e]), (n) => bo(n) === "br" ? uc(n).map((o) => [e].concat(q2(o))).getOr([]) : [e].concat(q2(n))), K2 = (e, n) => Cr(j3(n), G3(n), (o, r) => {
7982
+ }, c_ = (e) => Bd(e).fold(ot([e]), (n) => [e].concat(c_(n))), q2 = (e) => Tc(e).fold(ot([e]), (n) => bo(n) === "br" ? uc(n).map((o) => [e].concat(q2(o))).getOr([]) : [e].concat(q2(n))), K2 = (e, n) => Cr(jT(n), GT(n), (o, r) => {
7981
7983
  const l = ps(c_(e), Pe(To, o)), u = ps(q2(e), Pe(To, r));
7982
7984
  return l.isSome() && u.isSome();
7983
7985
  }).getOr(!1), Y2 = (e, n, o, r) => {
@@ -8010,7 +8012,7 @@ Required: ` + n.join(", "));
8010
8012
  }, i_ = (e, n, o) => {
8011
8013
  const r = xC(e, n);
8012
8014
  o(r), e.moveToBookmark(r);
8013
- }, g1 = (e) => Xt(e == null ? void 0 : e.nodeType), X2 = (e) => qt(e) && !Oi(e) && !Di(e) && !ru(e), q3 = (e, n) => {
8015
+ }, g1 = (e) => Xt(e == null ? void 0 : e.nodeType), X2 = (e) => qt(e) && !Oi(e) && !Di(e) && !ru(e), qT = (e, n) => {
8014
8016
  if (X2(n) && !/^(TD|TH)$/.test(n.nodeName)) {
8015
8017
  const o = e.getAttrib(n, "data-mce-selected"), r = parseInt(o, 10);
8016
8018
  return !isNaN(r) && r > 0;
@@ -8020,11 +8022,11 @@ Required: ` + n.join(", "));
8020
8022
  const { selection: r, dom: l } = e, u = r.getNode(), f = vo(u);
8021
8023
  i_(r, !0, () => {
8022
8024
  n();
8023
- }), f && vo(u) && l.isChildOf(u, e.getBody()) ? e.selection.select(u) : o(r.getStart()) && K3(l, r);
8024
- }, K3 = (e, n) => {
8025
+ }), f && vo(u) && l.isChildOf(u, e.getBody()) ? e.selection.select(u) : o(r.getStart()) && KT(l, r);
8026
+ }, KT = (e, n) => {
8025
8027
  var o, r;
8026
8028
  const l = n.getRng(), { startContainer: u, startOffset: f } = l, b = n.getNode();
8027
- if (!q3(e, b) && qt(u)) {
8029
+ if (!qT(e, b) && qt(u)) {
8028
8030
  const y = u.childNodes, k = e.getRoot();
8029
8031
  let P;
8030
8032
  if (f < y.length) {
@@ -8087,7 +8089,7 @@ Required: ` + n.join(", "));
8087
8089
  const b = oo(f) ? f : vl(f);
8088
8090
  return Rt(b, l);
8089
8091
  }));
8090
- }), Y3 = (e, n, o) => {
8092
+ }), YT = (e, n, o) => {
8091
8093
  const r = [
8092
8094
  "inline",
8093
8095
  "block",
@@ -8187,10 +8189,10 @@ Required: ` + n.join(", "));
8187
8189
  u = u.parentNode;
8188
8190
  }
8189
8191
  return o;
8190
- }, X3 = (e) => Wp(e.parentNode) || Wp(e), of = (e, n, o, r = !1) => {
8192
+ }, XT = (e) => Wp(e.parentNode) || Wp(e), of = (e, n, o, r = !1) => {
8191
8193
  let { startContainer: l, startOffset: u, endContainer: f, endOffset: b } = n;
8192
8194
  const y = o[0];
8193
- return qt(l) && l.hasChildNodes() && (l = oi(l, u), ut(l) && (u = 0)), qt(f) && f.hasChildNodes() && (f = oi(f, n.collapsed ? b : b - 1), ut(f) && (b = f.data.length)), l = g_(e, l), f = g_(e, f), X3(l) && (l = Wp(l) ? l : l.parentNode, n.collapsed ? l = l.previousSibling || l : l = l.nextSibling || l, ut(l) && (u = n.collapsed ? l.length : 0)), X3(f) && (f = Wp(f) ? f : f.parentNode, n.collapsed ? f = f.nextSibling || f : f = f.previousSibling || f, ut(f) && (b = n.collapsed ? 0 : f.length)), n.collapsed && ($c(e, e.getRoot(), l, u, !0, r).each(({ container: B, offset: F }) => {
8195
+ return qt(l) && l.hasChildNodes() && (l = oi(l, u), ut(l) && (u = 0)), qt(f) && f.hasChildNodes() && (f = oi(f, n.collapsed ? b : b - 1), ut(f) && (b = f.data.length)), l = g_(e, l), f = g_(e, f), XT(l) && (l = Wp(l) ? l : l.parentNode, n.collapsed ? l = l.previousSibling || l : l = l.nextSibling || l, ut(l) && (u = n.collapsed ? l.length : 0)), XT(f) && (f = Wp(f) ? f : f.parentNode, n.collapsed ? f = f.nextSibling || f : f = f.previousSibling || f, ut(f) && (b = n.collapsed ? 0 : f.length)), n.collapsed && ($c(e, e.getRoot(), l, u, !0, r).each(({ container: B, offset: F }) => {
8194
8196
  l = B, u = F;
8195
8197
  }), $c(e, e.getRoot(), f, b, !1, r).each(({ container: B, offset: F }) => {
8196
8198
  f = B, b = F;
@@ -8345,7 +8347,7 @@ Required: ` + n.join(", "));
8345
8347
  moveToBookmark: Pe(gv, e)
8346
8348
  });
8347
8349
  vh.isBookmarkNode = Oi;
8348
- const sw = (e, n, o) => o.collapsed ? !1 : Rt(o.getClientRects(), (r) => bC(r, e, n)), rw = (e, n) => e.dispatch("PreProcess", n), J3 = (e, n) => e.dispatch("PostProcess", n), Zp = (e) => {
8350
+ const sw = (e, n, o) => o.collapsed ? !1 : Rt(o.getClientRects(), (r) => bC(r, e, n)), rw = (e, n) => e.dispatch("PreProcess", n), JT = (e, n) => e.dispatch("PostProcess", n), Zp = (e) => {
8349
8351
  e.dispatch("remove");
8350
8352
  }, jp = (e) => {
8351
8353
  e.dispatch("detach");
@@ -8367,11 +8369,11 @@ Required: ` + n.join(", "));
8367
8369
  });
8368
8370
  }, og = (e) => {
8369
8371
  e.dispatch("PreInit");
8370
- }, Q3 = (e) => {
8372
+ }, QT = (e) => {
8371
8373
  e.dispatch("PostRender");
8372
8374
  }, k1 = (e) => {
8373
8375
  e.dispatch("Init");
8374
- }, eT = (e, n) => {
8376
+ }, e3 = (e, n) => {
8375
8377
  e.dispatch("PlaceholderToggle", { state: n });
8376
8378
  }, ri = (e, n, o) => {
8377
8379
  e.dispatch(n, o);
@@ -8387,19 +8389,19 @@ Required: ` + n.join(", "));
8387
8389
  node: o,
8388
8390
  vars: r
8389
8391
  });
8390
- }, yO = (e, n) => e.dispatch("BeforeSetContent", n), y_ = (e, n) => e.dispatch("SetContent", n), tT = (e, n) => e.dispatch("BeforeGetContent", n), yo = (e, n) => e.dispatch("GetContent", n), cw = (e, n) => {
8392
+ }, yO = (e, n) => e.dispatch("BeforeSetContent", n), y_ = (e, n) => e.dispatch("SetContent", n), t3 = (e, n) => e.dispatch("BeforeGetContent", n), yo = (e, n) => e.dispatch("GetContent", n), cw = (e, n) => {
8391
8393
  e.dispatch("AutocompleterStart", n);
8392
8394
  }, w_ = (e, n) => {
8393
8395
  e.dispatch("AutocompleterUpdate", n);
8394
8396
  }, iw = (e) => {
8395
8397
  e.dispatch("AutocompleterEnd");
8396
- }, nT = (e, n, o) => e.dispatch("PastePreProcess", {
8398
+ }, n3 = (e, n, o) => e.dispatch("PastePreProcess", {
8397
8399
  content: n,
8398
8400
  internal: o
8399
- }), oT = (e, n, o) => e.dispatch("PastePostProcess", {
8401
+ }), o3 = (e, n, o) => e.dispatch("PastePostProcess", {
8400
8402
  node: n,
8401
8403
  internal: o
8402
- }), x_ = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }), sT = (e, n) => e.dispatch("EditableRootStateChange", { state: n }), Wt = {
8404
+ }), x_ = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }), s3 = (e, n) => e.dispatch("EditableRootStateChange", { state: n }), Wt = {
8403
8405
  BACKSPACE: 8,
8404
8406
  DELETE: 46,
8405
8407
  DOWN: 40,
@@ -8416,7 +8418,7 @@ Required: ` + n.join(", "));
8416
8418
  HOME: 36,
8417
8419
  modifierPressed: (e) => e.shiftKey || e.ctrlKey || e.altKey || Wt.metaKeyPressed(e),
8418
8420
  metaKeyPressed: (e) => It.os.isMacOS() || It.os.isiOS() ? e.metaKey : e.ctrlKey && !e.altKey
8419
- }, sg = "data-mce-selected", C_ = "table,img,figure.image,hr,video,span.mce-preview-object,details", T1 = Math.abs, E1 = Math.round, rT = {
8421
+ }, sg = "data-mce-selected", C_ = "table,img,figure.image,hr,video,span.mce-preview-object,details", T1 = Math.abs, E1 = Math.round, r3 = {
8420
8422
  nw: [
8421
8423
  0,
8422
8424
  0,
@@ -8486,7 +8488,7 @@ Required: ` + n.join(", "));
8486
8488
  const Mn = o.getPos(Ct, u), Oo = Mn.x, Ss = Mn.y, hs = Ct.getBoundingClientRect(), Ha = hs.width || hs.right - hs.left, vm = hs.height || hs.bottom - hs.top;
8487
8489
  f !== Ct && (Tt(), f = Ct, Se = Be = 0);
8488
8490
  const Cg = n.dispatch("ObjectSelected", { target: Ct });
8489
- cn(Ct) && !Cg.isDefaultPrevented() ? bt(rT, (ci, Ed) => {
8491
+ cn(Ct) && !Cg.isDefaultPrevented() ? bt(r3, (ci, Ed) => {
8490
8492
  const Ln = ($s) => {
8491
8493
  const tr = Kt(f)[0];
8492
8494
  B = $s.screenX, F = $s.screenY, K = tr.clientWidth, se = tr.clientHeight, we = se / K, k = ci, k.name = Ed, k.startPos = {
@@ -8525,7 +8527,7 @@ Required: ` + n.join(", "));
8525
8527
  });
8526
8528
  }) : Tt(!1);
8527
8529
  }, us = z0(Ml, 0), Tt = (Ct = !0) => {
8528
- us.cancel(), mo(), f && Ct && f.removeAttribute(sg), bt(rT, (Mn, Oo) => {
8530
+ us.cancel(), mo(), f && Ct && f.removeAttribute(sg), bt(r3, (Mn, Oo) => {
8529
8531
  const Ss = o.get("mceResizeHandle" + Oo);
8530
8532
  Ss && (o.unbind(Ss), o.remove(Ss));
8531
8533
  });
@@ -8545,7 +8547,7 @@ Required: ` + n.join(", "));
8545
8547
  }
8546
8548
  Tt();
8547
8549
  }, mo = () => {
8548
- bt(rT, (Ct) => {
8550
+ bt(r3, (Ct) => {
8549
8551
  Ct.elm && (o.unbind(Ct.elm), delete Ct.elm);
8550
8552
  });
8551
8553
  }, Qt = () => {
@@ -8575,7 +8577,7 @@ Required: ` + n.join(", "));
8575
8577
  }, (o) => {
8576
8578
  e.setStartAfter(o.dom);
8577
8579
  });
8578
- }, aT = (e, n) => {
8580
+ }, a3 = (e, n) => {
8579
8581
  n.fold((o) => {
8580
8582
  e.setEndBefore(o.dom);
8581
8583
  }, (o, r) => {
@@ -8585,7 +8587,7 @@ Required: ` + n.join(", "));
8585
8587
  });
8586
8588
  }, __ = (e, n, o) => {
8587
8589
  const r = e.document.createRange();
8588
- return q7(r, n), aT(r, o), r;
8590
+ return q7(r, n), a3(r, o), r;
8589
8591
  }, xn = (e, n, o, r, l) => {
8590
8592
  const u = e.document.createRange();
8591
8593
  return u.setStart(n.dom, o), u.setEnd(r.dom, l), u;
@@ -8606,7 +8608,7 @@ Required: ` + n.join(", "));
8606
8608
  "foffset"
8607
8609
  ]
8608
8610
  }
8609
- ]), S_ = (e, n, o) => n(ie.fromDom(o.startContainer), o.startOffset, ie.fromDom(o.endContainer), o.endOffset), lT = (e, n) => n.match({
8611
+ ]), S_ = (e, n, o) => n(ie.fromDom(o.startContainer), o.startOffset, ie.fromDom(o.endContainer), o.endOffset), l3 = (e, n) => n.match({
8610
8612
  domRange: (o) => ({
8611
8613
  ltr: ot(o),
8612
8614
  rtl: z.none
@@ -8622,8 +8624,8 @@ Required: ` + n.join(", "));
8622
8624
  }), A1 = (e, n) => {
8623
8625
  const o = n.ltr();
8624
8626
  return o.collapsed ? n.rtl().filter((l) => l.collapsed === !1).map((l) => rf.rtl(ie.fromDom(l.endContainer), l.endOffset, ie.fromDom(l.startContainer), l.startOffset)).getOrThunk(() => S_(e, rf.ltr, o)) : S_(e, rf.ltr, o);
8625
- }, cT = (e, n) => {
8626
- const o = lT(e, n);
8627
+ }, c3 = (e, n) => {
8628
+ const o = l3(e, n);
8627
8629
  return A1(e, o);
8628
8630
  };
8629
8631
  rf.ltr, rf.rtl;
@@ -8643,9 +8645,9 @@ Required: ` + n.join(", "));
8643
8645
  }, Ev = (e, n, o) => {
8644
8646
  var r, l;
8645
8647
  return z.from((l = (r = e.dom).caretRangeFromPoint) === null || l === void 0 ? void 0 : l.call(r, n, o));
8646
- }, iT = document.caretPositionFromPoint ? T_ : document.caretRangeFromPoint ? Ev : z.none, uT = (e, n, o) => {
8648
+ }, i3 = document.caretPositionFromPoint ? T_ : document.caretRangeFromPoint ? Ev : z.none, u3 = (e, n, o) => {
8647
8649
  const r = ie.fromDom(e.document);
8648
- return iT(r, n, o).map((l) => uw.create(ie.fromDom(l.startContainer), l.startOffset, ie.fromDom(l.endContainer), l.endOffset));
8650
+ return i3(r, n, o).map((l) => uw.create(ie.fromDom(l.startContainer), l.startOffset, ie.fromDom(l.endContainer), l.endOffset));
8649
8651
  }, Gp = fd.generate([
8650
8652
  { before: ["element"] },
8651
8653
  {
@@ -8655,9 +8657,9 @@ Required: ` + n.join(", "));
8655
8657
  ]
8656
8658
  },
8657
8659
  { after: ["element"] }
8658
- ]), dw = (e, n, o, r) => e.fold(n, o, r), E_ = (e) => e.fold(Ht, Ht, Ht), dT = Gp.before, mT = Gp.on, Av = Gp.after, nm = {
8659
- before: dT,
8660
- on: mT,
8660
+ ]), dw = (e, n, o, r) => e.fold(n, o, r), E_ = (e) => e.fold(Ht, Ht, Ht), d3 = Gp.before, m3 = Gp.on, Av = Gp.after, nm = {
8661
+ before: d3,
8662
+ on: m3,
8661
8663
  after: Av,
8662
8664
  cata: dw,
8663
8665
  getStart: E_
@@ -8677,12 +8679,12 @@ Required: ` + n.join(", "));
8677
8679
  "foffset"
8678
8680
  ]
8679
8681
  }
8680
- ]), Ho = (e) => Dv.exact(e.start, e.soffset, e.finish, e.foffset), fT = (e) => e.match({
8682
+ ]), Ho = (e) => Dv.exact(e.start, e.soffset, e.finish, e.foffset), f3 = (e) => e.match({
8681
8683
  domRange: (n) => ie.fromDom(n.startContainer),
8682
8684
  relative: (n, o) => nm.getStart(n),
8683
8685
  exact: (n, o, r, l) => n
8684
8686
  }), af = Dv.domRange, om = Dv.relative, Ov = Dv.exact, Ri = (e) => {
8685
- const n = fT(e);
8687
+ const n = f3(e);
8686
8688
  return kc(n);
8687
8689
  }, Rv = uw.create, lf = {
8688
8690
  domRange: af,
@@ -8703,7 +8705,7 @@ Required: ` + n.join(", "));
8703
8705
  }, mw = (e, n, o, r) => {
8704
8706
  const l = qp(e, n), u = qp(o, r);
8705
8707
  return lf.relative(l, u);
8706
- }, gT = (e) => e.match({
8708
+ }, g3 = (e) => e.match({
8707
8709
  domRange: (n) => {
8708
8710
  const o = ie.fromDom(n.startContainer), r = ie.fromDom(n.endContainer);
8709
8711
  return mw(o, n.startOffset, r, n.endOffset);
@@ -8715,19 +8717,19 @@ Required: ` + n.join(", "));
8715
8717
  return Te(e, (l) => {
8716
8718
  r.appendChild(l.dom);
8717
8719
  }), ie.fromDom(r);
8718
- }, hT = (e) => {
8719
- const n = lf.getWin(e).dom, o = (l, u, f, b) => xn(n, l, u, f, b), r = gT(e);
8720
- return cT(n, r).match({
8720
+ }, h3 = (e) => {
8721
+ const n = lf.getWin(e).dom, o = (l, u, f, b) => xn(n, l, u, f, b), r = g3(e);
8722
+ return c3(n, r).match({
8721
8723
  ltr: o,
8722
8724
  rtl: o
8723
8725
  });
8724
- }, ko = (e, n, o) => uT(e, n, o), $i = (e, n, o) => {
8726
+ }, ko = (e, n, o) => u3(e, n, o), $i = (e, n, o) => {
8725
8727
  const r = kc(ie.fromDom(o));
8726
8728
  return ko(r.dom, e, n).map((l) => {
8727
8729
  const u = o.createRange();
8728
8730
  return u.setStart(l.start.dom, l.soffset), u.setEnd(l.finish.dom, l.foffset), u;
8729
8731
  }).getOrUndefined();
8730
- }, cf = (e, n) => Ze(e) && Ze(n) && e.startContainer === n.startContainer && e.startOffset === n.startOffset && e.endContainer === n.endContainer && e.endOffset === n.endOffset, pT = (e, n, o) => {
8732
+ }, cf = (e, n) => Ze(e) && Ze(n) && e.startContainer === n.startContainer && e.startOffset === n.startOffset && e.endContainer === n.endContainer && e.endOffset === n.endOffset, p3 = (e, n, o) => {
8731
8733
  let r = e;
8732
8734
  for (; r && r !== n; ) {
8733
8735
  if (o(r))
@@ -8735,7 +8737,7 @@ Required: ` + n.join(", "));
8735
8737
  r = r.parentNode;
8736
8738
  }
8737
8739
  return null;
8738
- }, Kp = (e, n, o) => pT(e, n, o) !== null, $o = (e, n, o) => Kp(e, n, (r) => r.nodeName === o), bT = (e, n) => an(e) && !Kp(e, n, Di), gw = (e, n, o) => {
8740
+ }, Kp = (e, n, o) => p3(e, n, o) !== null, $o = (e, n, o) => Kp(e, n, (r) => r.nodeName === o), b3 = (e, n) => an(e) && !Kp(e, n, Di), gw = (e, n, o) => {
8739
8741
  const r = n.parentNode;
8740
8742
  if (r) {
8741
8743
  const l = new Es(n, e.getParent(r, e.isBlock) || e.getRoot());
@@ -8766,7 +8768,7 @@ Required: ` + n.join(", "));
8766
8768
  return z.some(Le(b, e.nodeIndex(l)));
8767
8769
  const B = new Es(l, P);
8768
8770
  for (; k = B[r ? "prev" : "next"](); ) {
8769
- if (e.getContentEditableParent(k) === "false" || bT(k, u))
8771
+ if (e.getContentEditableParent(k) === "false" || b3(k, u))
8770
8772
  return z.none();
8771
8773
  if (ut(k) && k.data.length > 0)
8772
8774
  return $o(k, u, "A") ? z.none() : z.some(Le(k, r ? k.data.length : 0));
@@ -9023,8 +9025,8 @@ Required: ` + n.join(", "));
9023
9025
  }, Pv = (e) => {
9024
9026
  const n = K7(e) ? J7(ie.fromDom(e.getBody())) : z.none();
9025
9027
  e.bookmark = n.isSome() ? n : e.bookmark;
9026
- }, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), Q7 = (e) => {
9027
- vT(e).each((n) => e.selection.setRng(n));
9028
+ }, v3 = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), Q7 = (e) => {
9029
+ v3(e).each((n) => e.selection.setRng(n));
9028
9030
  }, TO = { isEditorUIElement: (e) => {
9029
9031
  const n = e.className.toString();
9030
9032
  return n.indexOf("tox-") !== -1 || n.indexOf("mce-") !== -1;
@@ -9070,7 +9072,7 @@ Required: ` + n.join(", "));
9070
9072
  }, B_ = (e, n) => {
9071
9073
  const o = NC(e);
9072
9074
  return M_.getParent(n, (l) => DO(l) || (o ? e.dom.is(l, o) : !1)) !== null;
9073
- }, yT = (e) => {
9075
+ }, y3 = (e) => {
9074
9076
  try {
9075
9077
  const n = xi(ie.fromDom(e.getElement()));
9076
9078
  return Yp(n).fold(() => document.body, (o) => o.dom);
@@ -9081,18 +9083,18 @@ Required: ` + n.join(", "));
9081
9083
  const o = n.editor;
9082
9084
  $_(o);
9083
9085
  const r = (l, u) => {
9084
- if (E3(l) && l.inline !== !0) {
9086
+ if (ET(l) && l.inline !== !0) {
9085
9087
  const f = ie.fromDom(l.getContainer());
9086
9088
  u(f, "tox-edit-focus");
9087
9089
  }
9088
9090
  };
9089
9091
  o.on("focusin", () => {
9090
9092
  const l = e.focusedEditor;
9091
- P_(yT(o)) && r(o, yu), l !== o && (l && l.dispatch("blur", { focusedEditor: o }), e.setActive(o), e.focusedEditor = o, o.dispatch("focus", { blurredEditor: l }), o.focus(!0));
9093
+ P_(y3(o)) && r(o, yu), l !== o && (l && l.dispatch("blur", { focusedEditor: o }), e.setActive(o), e.focusedEditor = o, o.dispatch("focus", { blurredEditor: l }), o.focus(!0));
9092
9094
  }), o.on("focusout", () => {
9093
9095
  Fu.setEditorTimeout(o, () => {
9094
9096
  const l = e.focusedEditor;
9095
- (!P_(yT(o)) || l !== o) && r(o, vi), !B_(o, yT(o)) && l === o && (o.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
9097
+ (!P_(y3(o)) || l !== o) && r(o, vi), !B_(o, y3(o)) && l === o && (o.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
9096
9098
  });
9097
9099
  }), $1 || ($1 = (l) => {
9098
9100
  const u = e.activeEditor;
@@ -9109,7 +9111,7 @@ Required: ` + n.join(", "));
9109
9111
  iN(ie.fromDom(e.getBody()), n).bind((o) => hc(o.dom)).fold(() => {
9110
9112
  e.selection.normalize();
9111
9113
  }, (o) => e.selection.setRng(o.toRange()));
9112
- }, wT = (e) => {
9114
+ }, w3 = (e) => {
9113
9115
  if (e.setActive)
9114
9116
  try {
9115
9117
  e.setActive();
@@ -9127,21 +9129,21 @@ Required: ` + n.join(", "));
9127
9129
  }, Xp = (e) => e.inline ? N_(e) : dN(e), $O = (e) => Xp(e) || RO(e), mN = (e) => {
9128
9130
  const n = e.selection, o = e.getBody();
9129
9131
  let r = n.getRng();
9130
- e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && vT(e).each((u) => {
9132
+ e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && v3(e).each((u) => {
9131
9133
  e.selection.setRng(u), r = u;
9132
9134
  });
9133
9135
  const l = lN(e, n.getNode());
9134
9136
  if (l && e.dom.isChildOf(l, o)) {
9135
- wT(l), OO(e, r), xT(e);
9137
+ w3(l), OO(e, r), x3(e);
9136
9138
  return;
9137
9139
  }
9138
- e.inline || (It.browser.isOpera() || wT(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (wT(o), OO(e, r)), xT(e);
9139
- }, xT = (e) => e.editorManager.setActive(e), fN = (e, n) => {
9140
- e.removed || (n ? xT(e) : mN(e));
9140
+ e.inline || (It.browser.isOpera() || w3(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (w3(o), OO(e, r)), x3(e);
9141
+ }, x3 = (e) => e.editorManager.setActive(e), fN = (e, n) => {
9142
+ e.removed || (n ? x3(e) : mN(e));
9141
9143
  }, MO = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), PO = (e, n, o, r, l) => {
9142
9144
  const u = o ? n.startContainer : n.endContainer, f = o ? n.startOffset : n.endOffset;
9143
9145
  return z.from(u).map(ie.fromDom).map((b) => !r || !n.collapsed ? Cu(b, l(b, f)).getOr(b) : b).bind((b) => Ba(b) ? z.some(b) : pa(b).filter(Ba)).map((b) => b.dom).getOr(e);
9144
- }, CT = (e, n, o = !1) => PO(e, n, !0, o, (r, l) => Math.min(Ka(r), l)), BO = (e, n, o = !1) => PO(e, n, !1, o, (r, l) => l > 0 ? l - 1 : l), _T = (e, n) => {
9146
+ }, C3 = (e, n, o = !1) => PO(e, n, !0, o, (r, l) => Math.min(Ka(r), l)), BO = (e, n, o = !1) => PO(e, n, !1, o, (r, l) => l > 0 ? l - 1 : l), _3 = (e, n) => {
9145
9147
  const o = e;
9146
9148
  for (; e && ut(e) && e.length === 0; )
9147
9149
  e = n ? e.nextSibling : e.previousSibling;
@@ -9152,11 +9154,11 @@ Required: ` + n.join(", "));
9152
9154
  let o = n.startContainer, r = n.endContainer;
9153
9155
  const l = n.startOffset, u = n.endOffset;
9154
9156
  let f = n.commonAncestorContainer;
9155
- n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _T(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _T(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
9157
+ n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _3(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _3(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
9156
9158
  const b = ut(f) ? f.parentNode : f;
9157
9159
  return su(b) ? b : e;
9158
9160
  }, gN = (e, n, o, r) => {
9159
- const l = [], u = e.getRoot(), f = e.getParent(o || CT(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
9161
+ const l = [], u = e.getRoot(), f = e.getParent(o || C3(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
9160
9162
  if (f && f !== u && l.push(f), f && b && f !== b) {
9161
9163
  let y;
9162
9164
  const k = new Es(f, u);
@@ -9167,7 +9169,7 @@ Required: ` + n.join(", "));
9167
9169
  }, hN = (e, n, o) => z.from(n).bind((r) => z.from(r.parentNode).map((l) => {
9168
9170
  const u = e.nodeIndex(r), f = e.createRng();
9169
9171
  return f.setStart(l, u), f.setEnd(l, u + 1), o && (Y2(e, f, r, !0), Y2(e, f, r, !1)), f;
9170
- })), ST = (e, n) => Ke(n, (o) => {
9172
+ })), S3 = (e, n) => Ke(n, (o) => {
9171
9173
  const r = e.dispatch("GetSelectionRange", { range: o });
9172
9174
  return r.range !== o ? r.range : o;
9173
9175
  }), pN = (e) => bo(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), bN = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Bo) > -1).isSome(), vN = (e) => Gs(e) && Ga(e, "contenteditable") === "false", yN = [
@@ -9410,7 +9412,7 @@ Required: ` + n.join(", "));
9410
9412
  Te(n, (o) => {
9411
9413
  Ga(o, "data-mce-bogus") === "all" ? Eo(o) : Vd(o) ? (jr(o, ie.fromText(Kg)), Eo(o)) : cl(o);
9412
9414
  });
9413
- }, kT = (e) => {
9415
+ }, k3 = (e) => {
9414
9416
  const n = va(e, "input");
9415
9417
  Te(n, (o) => {
9416
9418
  lr(o, "name");
@@ -9426,7 +9428,7 @@ Required: ` + n.join(", "));
9426
9428
  position: "fixed",
9427
9429
  left: "-9999999px",
9428
9430
  top: "0"
9429
- }), od(l, n.innerHTML), Un(l), kT(l);
9431
+ }), od(l, n.innerHTML), Un(l), k3(l);
9430
9432
  const u = hb(r);
9431
9433
  _r(u, l);
9432
9434
  const f = V(l.dom.innerText);
@@ -9629,8 +9631,8 @@ Required: ` + n.join(", "));
9629
9631
  "font",
9630
9632
  "text-decoration",
9631
9633
  "text-emphasis"
9632
- ], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), BN = (e) => _n.has(e), bw = (e, n) => nr(TT(e, n), (o) => !BN(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), NN = (e, n, o) => {
9633
- const r = TT(e, n), l = TT(e, o), u = (f) => {
9634
+ ], T3 = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), BN = (e) => _n.has(e), bw = (e, n) => nr(T3(e, n), (o) => !BN(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), NN = (e, n, o) => {
9635
+ const r = T3(e, n), l = T3(e, o), u = (f) => {
9634
9636
  var b, y;
9635
9637
  const k = (b = e.getStyle(n, f)) !== null && b !== void 0 ? b : "", P = (y = e.getStyle(o, f)) !== null && y !== void 0 ? y : "";
9636
9638
  return Po(k) && Po(P) && k !== P;
@@ -9646,28 +9648,28 @@ Required: ` + n.join(", "));
9646
9648
  }, KO = (e, n, o) => z.from(o.container()).filter(ut).exists((r) => {
9647
9649
  const l = e ? 0 : -1;
9648
9650
  return n(r.data.charAt(o.offset() + l));
9649
- }), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), IN = (e) => {
9651
+ }), E3 = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), IN = (e) => {
9650
9652
  const n = e.container();
9651
9653
  return ut(n) && (n.data.length === 0 || T(n.data) && vh.isBookmarkNode(n.parentNode));
9652
- }, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), LN = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), FN = M1(!0, LN), HN = M1(!1, LN), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(AT(e, n)), V_ = (e, n, o) => Bu(e, n, o, IN), VN = (e) => (n) => e.isBlock(bo(n)), DT = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), VN(o)), eR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => DT(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), tR = (e, n, o, r) => DT(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), OT = Pe(tR, !1), nR = Pe(tR, !0), zN = Pe(eR, !1), UN = Pe(eR, !0), WN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
9654
+ }, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), LN = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), FN = M1(!0, LN), HN = M1(!1, LN), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], A3 = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(A3(e, n)), V_ = (e, n, o) => Bu(e, n, o, IN), VN = (e) => (n) => e.isBlock(bo(n)), D3 = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), VN(o)), eR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => D3(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), tR = (e, n, o, r) => D3(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), O3 = Pe(tR, !1), nR = Pe(tR, !0), zN = Pe(eR, !1), UN = Pe(eR, !0), WN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
9653
9655
  const l = zt(ag(ie.fromDom(o.container()), n), (f) => r.isBlock(bo(f))), u = to(l).getOr(n);
9654
9656
  return Xa(e, u.dom, o).filter(WN);
9655
- }, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = Pe(z_, !1), jN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
9657
+ }, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => IT(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = Pe(z_, !1), jN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
9656
9658
  const r = zt(ag(ie.fromDom(n.container()), e), (l) => o.isBlock(bo(l)));
9657
9659
  return to(r).getOr(e);
9658
- }, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), GN = (e) => qe([
9660
+ }, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? E3(n) : E3(n) || Ql(sR(e, n, o).dom, n).exists(E3), GN = (e) => qe([
9659
9661
  "pre",
9660
9662
  "pre-wrap"
9661
- ], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => GN(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => lR(e, n) || qN(e, n) || OT(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
9663
+ ], e), R3 = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => GN(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => lR(e, n) || qN(e, n) || O3(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
9662
9664
  const o = Ql(e.dom, n).getOr(n), r = cR(e.dom, "next");
9663
9665
  return n.isAtEnd() && (r(n.container()) || r(o.container()));
9664
9666
  }, YN = (e, n) => {
9665
9667
  const o = Rc(e.dom, n).getOr(n), r = cR(e.dom, "prev");
9666
9668
  return n.isAtStart() && (r(n.container()) || r(o.container()));
9667
- }, uR = (e, n, o) => RT(n) ? !1 : KN(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => RT(n) ? !1 : OT(e, n, o) || zN(e, n, o) || ww(e, n, o) || rR(e, n, o) || YN(e, n), dR = (e) => {
9669
+ }, uR = (e, n, o) => R3(n) ? !1 : KN(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => R3(n) ? !1 : O3(e, n, o) || zN(e, n, o) || ww(e, n, o) || rR(e, n, o) || YN(e, n), dR = (e) => {
9668
9670
  const n = e.container(), o = e.offset();
9669
9671
  return ut(n) && o < n.data.length ? Le(n, o + 1) : e;
9670
- }, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) || UN(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), XN = (e) => {
9672
+ }, Iv = (e, n, o) => R3(n) ? !1 : nR(e, n, o) || UN(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), XN = (e) => {
9671
9673
  const n = e.container();
9672
9674
  return ut(n) && ys(n.data, Bo);
9673
9675
  }, JN = (e) => {
@@ -9716,13 +9718,13 @@ Required: ` + n.join(", "));
9716
9718
  }, nI = (e, n) => {
9717
9719
  const o = e.container(), r = e.offset();
9718
9720
  return !Le.isTextPosition(e) && o === n.parentNode && r > Le.before(n).offset();
9719
- }, oI = (e, n) => nI(n, e) ? Le(n.container(), n.offset() - 1) : n, Sh = (e) => ut(e) ? Le(e, 0) : Le.before(e), Jo = (e) => ut(e) ? Le(e, e.data.length) : Le.after(e), $T = (e) => uo(e.previousSibling) ? z.some(Jo(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), MT = (e) => uo(e.nextSibling) ? z.some(Sh(e.nextSibling)) : e.nextSibling ? hc(e.nextSibling) : z.none(), sI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Rc(e, Le.before(o))).orThunk(() => Ql(e, Le.after(n))), rI = (e, n) => Ql(e, Le.after(n)).orThunk(() => Rc(e, Le.before(n))), aI = (e, n) => $T(n).orThunk(() => MT(n)).orThunk(() => sI(e, n)), fu = (e, n) => MT(n).orThunk(() => $T(n)).orThunk(() => rI(e, n)), df = (e, n, o) => e ? fu(n, o) : aI(n, o), lI = (e, n, o) => df(e, n, o).map(Pe(oI, o)), W_ = (e, n, o) => {
9721
+ }, oI = (e, n) => nI(n, e) ? Le(n.container(), n.offset() - 1) : n, Sh = (e) => ut(e) ? Le(e, 0) : Le.before(e), Jo = (e) => ut(e) ? Le(e, e.data.length) : Le.after(e), $3 = (e) => uo(e.previousSibling) ? z.some(Jo(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), M3 = (e) => uo(e.nextSibling) ? z.some(Sh(e.nextSibling)) : e.nextSibling ? hc(e.nextSibling) : z.none(), sI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Rc(e, Le.before(o))).orThunk(() => Ql(e, Le.after(n))), rI = (e, n) => Ql(e, Le.after(n)).orThunk(() => Rc(e, Le.before(n))), aI = (e, n) => $3(n).orThunk(() => M3(n)).orThunk(() => sI(e, n)), fu = (e, n) => M3(n).orThunk(() => $3(n)).orThunk(() => rI(e, n)), df = (e, n, o) => e ? fu(n, o) : aI(n, o), lI = (e, n, o) => df(e, n, o).map(Pe(oI, o)), W_ = (e, n, o) => {
9720
9722
  o.fold(() => {
9721
9723
  e.focus();
9722
9724
  }, (r) => {
9723
9725
  e.selection.setRng(r.toRange(), n);
9724
9726
  });
9725
- }, PT = (e) => (n) => n.dom === e, cI = (e, n) => n && pn(e.schema.getBlockElements(), bo(n)), iI = (e, n) => {
9727
+ }, P3 = (e) => (n) => n.dom === e, cI = (e, n) => n && pn(e.schema.getBlockElements(), bo(n)), iI = (e, n) => {
9726
9728
  if (pr(e)) {
9727
9729
  const o = ie.fromHtml('<br data-mce-bogus="1">');
9728
9730
  return n ? Te($r(e), (r) => {
@@ -9737,13 +9739,13 @@ Required: ` + n.join(", "));
9737
9739
  return Ja(k, P, o, r), y.container() === P ? Le(k, B) : y;
9738
9740
  }).orThunk(() => (r && (l.each((f) => gR(f.dom, f.dom.length, o)), u.each((f) => B1(f.dom, 0, o))), n));
9739
9741
  }, Z_ = (e, n) => pn(e.schema.getTextInlineElements(), bo(n)), kh = (e, n, o, r = !0, l = !1) => {
9740
- const u = lI(n, e.getBody(), o.dom), f = Xs(o, Pe(cI, e), PT(e.getBody())), b = xw(o, u, e.schema, Z_(e, o));
9742
+ const u = lI(n, e.getBody(), o.dom), f = Xs(o, Pe(cI, e), P3(e.getBody())), b = xw(o, u, e.schema, Z_(e, o));
9741
9743
  e.dom.isEmpty(e.getBody()) ? (e.setContent(""), e.selection.setCursorLocation()) : f.bind((y) => iI(y, l)).fold(() => {
9742
9744
  r && W_(e, n, b);
9743
9745
  }, (y) => {
9744
9746
  r && W_(e, n, z.some(y));
9745
9747
  });
9746
- }, uI = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, mf = (e) => uI.test(e), N1 = (e, n) => cc(ie.fromDom(n), d3(e)) && !_o(e.schema, n) && e.dom.isEditable(n), hR = (e) => {
9748
+ }, uI = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, mf = (e) => uI.test(e), N1 = (e, n) => cc(ie.fromDom(n), dT(e)) && !_o(e.schema, n) && e.dom.isEditable(n), hR = (e) => {
9747
9749
  var n;
9748
9750
  return Is.DOM.getStyle(e, "direction", !0) === "rtl" || mf((n = e.textContent) !== null && n !== void 0 ? n : "");
9749
9751
  }, yd = (e, n, o) => zt(Is.DOM.getParents(o.container(), "*", n), e), rm = (e, n, o) => {
@@ -9755,27 +9757,27 @@ Required: ` + n.join(", "));
9755
9757
  }, dI = (e) => Fo(e) || Ns(e), Do = (e, n) => {
9756
9758
  const o = n.container(), r = n.offset();
9757
9759
  return e ? Mt(o) ? ut(o.nextSibling) ? Le(o.nextSibling, 0) : Le.after(o) : Fo(n) ? Le(o, r + 1) : n : Mt(o) ? ut(o.previousSibling) ? Le(o.previousSibling, o.previousSibling.data.length) : Le.before(o) : Ns(n) ? Le(o, r - 1) : n;
9758
- }, I1 = Pe(Do, !0), Cw = Pe(Do, !1), BT = (e, n) => {
9760
+ }, I1 = Pe(Do, !0), Cw = Pe(Do, !1), B3 = (e, n) => {
9759
9761
  const o = (r) => r.stopImmediatePropagation();
9760
9762
  e.on("beforeinput input", o, !0), e.getDoc().execCommand(n), e.off("beforeinput input", o);
9761
- }, NT = (e) => {
9763
+ }, N3 = (e) => {
9762
9764
  e.execCommand("delete");
9763
- }, _w = (e) => BT(e, "Delete"), mI = (e) => BT(e, "ForwardDelete"), IT = (e) => (n) => ls(pa(n), e, To), fI = (e) => Re(e) || qc(e), Sw = (e, n) => Na(e, n) ? al(n, fI, IT(e)) : z.none(), j_ = (e, n = !0) => {
9765
+ }, _w = (e) => B3(e, "Delete"), mI = (e) => B3(e, "ForwardDelete"), I3 = (e) => (n) => ls(pa(n), e, To), fI = (e) => Re(e) || qc(e), Sw = (e, n) => Na(e, n) ? al(n, fI, I3(e)) : z.none(), j_ = (e, n = !0) => {
9764
9766
  e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
9765
9767
  }, G_ = (e, n, o) => Cr(hc(o), Nu(o), (r, l) => {
9766
9768
  const u = Do(!0, r), f = Do(!1, l), b = Do(!1, n);
9767
9769
  return e ? Ql(o, b).exists((y) => y.isEqual(f) && n.isEqual(u)) : Rc(o, b).exists((y) => y.isEqual(u) && n.isEqual(f));
9768
- }).getOr(!0), LT = (e) => (Hh(e) ? uc(e) : Tc(e)).bind(LT).orThunk(() => z.some(e)), kw = (e, n, o, r = !0) => {
9770
+ }).getOr(!0), L3 = (e) => (Hh(e) ? uc(e) : Tc(e)).bind(L3).orThunk(() => z.some(e)), kw = (e, n, o, r = !0) => {
9769
9771
  var l;
9770
9772
  n.deleteContents();
9771
- const u = LT(o).getOr(o), f = ie.fromDom((l = e.dom.getParent(u.dom, e.dom.isBlock)) !== null && l !== void 0 ? l : o.dom);
9773
+ const u = L3(o).getOr(o), f = ie.fromDom((l = e.dom.getParent(u.dom, e.dom.isBlock)) !== null && l !== void 0 ? l : o.dom);
9772
9774
  if (f.dom === e.getBody() ? j_(e, r) : pr(f) && (Du(f), r && e.selection.setCursorLocation(f.dom, 0)), !To(o, f)) {
9773
9775
  const b = ls(pa(f), o) ? [] : Uh(f);
9774
9776
  Te(b.concat($r(o)), (y) => {
9775
9777
  !To(y, f) && !Na(y, f) && pr(y) && Eo(y);
9776
9778
  });
9777
9779
  }
9778
- }, gI = (e, n, o) => Xs(e, n, o).isSome(), hI = (e, n) => Vg(e, n).isSome(), pR = (e, n) => na(e, n).isSome(), pI = (e) => (n) => To(e, n), FT = (e) => va(e, "td,th"), HT = (e, n) => tf(ie.fromDom(e), n), bI = (e) => Cr(e.startTable, e.endTable, (n, o) => {
9780
+ }, gI = (e, n, o) => Xs(e, n, o).isSome(), hI = (e, n) => Vg(e, n).isSome(), pR = (e, n) => na(e, n).isSome(), pI = (e) => (n) => To(e, n), F3 = (e) => va(e, "td,th"), H3 = (e, n) => tf(ie.fromDom(e), n), bI = (e) => Cr(e.startTable, e.endTable, (n, o) => {
9779
9781
  const r = pR(n, (u) => To(u, o)), l = pR(o, (u) => To(u, n));
9780
9782
  return !r && !l ? e : {
9781
9783
  ...e,
@@ -9785,7 +9787,7 @@ Required: ` + n.join(", "));
9785
9787
  isMultiTable: !1
9786
9788
  };
9787
9789
  }).getOr(e), vI = (e) => bI(e), bR = (e, n) => {
9788
- const o = HT(e.startContainer, n), r = HT(e.endContainer, n), l = o.isSome(), u = r.isSome(), f = Cr(o, r, To).getOr(!1);
9790
+ const o = H3(e.startContainer, n), r = H3(e.endContainer, n), l = o.isSome(), u = r.isSome(), f = Cr(o, r, To).getOr(!1);
9789
9791
  return vI({
9790
9792
  startTable: o,
9791
9793
  endTable: r,
@@ -9822,13 +9824,13 @@ Required: ` + n.join(", "));
9822
9824
  "betweenRng"
9823
9825
  ]
9824
9826
  }
9825
- ]), Ew = (e, n) => Ci(ie.fromDom(e), "td,th", n), vR = (e) => !To(e.start, e.end), VT = (e, n) => tf(e.start, n).bind((o) => tf(e.end, n).bind((r) => Co(To(o, r), o))), Hu = (e, n) => !vR(e) && VT(e, n).exists((o) => {
9827
+ ]), Ew = (e, n) => Ci(ie.fromDom(e), "td,th", n), vR = (e) => !To(e.start, e.end), V3 = (e, n) => tf(e.start, n).bind((o) => tf(e.end, n).bind((r) => Co(To(o, r), o))), Hu = (e, n) => !vR(e) && V3(e, n).exists((o) => {
9826
9828
  const r = o.dom.rows;
9827
9829
  return r.length === 1 && r[0].cells.length === 1;
9828
9830
  }), wI = (e, n) => {
9829
9831
  const o = Ew(e.startContainer, n), r = Ew(e.endContainer, n);
9830
9832
  return Cr(o, r, q_);
9831
- }, yR = (e) => (n) => tf(n, e).bind((o) => vs(FT(o)).map((r) => q_(n, r))), zT = (e) => (n) => tf(n, e).bind((o) => to(FT(o)).map((r) => q_(r, n))), Aw = (e) => (n) => VT(n, e).map((o) => yI(n, o, FT(o))), UT = (e, n, o, r) => {
9833
+ }, yR = (e) => (n) => tf(n, e).bind((o) => vs(F3(o)).map((r) => q_(n, r))), z3 = (e) => (n) => tf(n, e).bind((o) => to(F3(o)).map((r) => q_(r, n))), Aw = (e) => (n) => V3(n, e).map((o) => yI(n, o, F3(o))), U3 = (e, n, o, r) => {
9832
9834
  if (o.collapsed || !e.forall(vR))
9833
9835
  return z.none();
9834
9836
  if (n.isSameTable) {
@@ -9838,17 +9840,17 @@ Required: ` + n.join(", "));
9838
9840
  end: l
9839
9841
  });
9840
9842
  } else {
9841
- const l = Ew(o.startContainer, r), u = Ew(o.endContainer, r), f = l.bind(yR(r)).bind(Aw(r)), b = u.bind(zT(r)).bind(Aw(r));
9843
+ const l = Ew(o.startContainer, r), u = Ew(o.endContainer, r), f = l.bind(yR(r)).bind(Aw(r)), b = u.bind(z3(r)).bind(Aw(r));
9842
9844
  return z.some({
9843
9845
  start: f,
9844
9846
  end: b
9845
9847
  });
9846
9848
  }
9847
- }, WT = (e, n) => vr(e, (o) => To(o, n)), ZT = (e) => Cr(WT(e.cells, e.rng.start), WT(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), xI = (e, n, o) => e.exists((r) => Hu(r, o) && K2(r.start, n)), K_ = (e, n) => {
9849
+ }, W3 = (e, n) => vr(e, (o) => To(o, n)), Z3 = (e) => Cr(W3(e.cells, e.rng.start), W3(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), xI = (e, n, o) => e.exists((r) => Hu(r, o) && K2(r.start, n)), K_ = (e, n) => {
9848
9850
  const { startTable: o, endTable: r } = n, l = e.cloneRange();
9849
9851
  return o.each((u) => l.setStartAfter(u.dom)), r.each((u) => l.setEndBefore(u.dom)), l;
9850
- }, wR = (e, n, o, r) => UT(e, n, o, r).bind(({ start: l, end: u }) => l.or(u)).bind((l) => {
9851
- const { isSameTable: u } = n, f = ZT(l).getOr([]);
9852
+ }, wR = (e, n, o, r) => U3(e, n, o, r).bind(({ start: l, end: u }) => l.or(u)).bind((l) => {
9853
+ const { isSameTable: u } = n, f = Z3(l).getOr([]);
9852
9854
  if (u && l.cells.length === f.length)
9853
9855
  return z.some(Tw.fullTable(l.table));
9854
9856
  if (f.length > 0) {
@@ -9863,8 +9865,8 @@ Required: ` + n.join(", "));
9863
9865
  }
9864
9866
  } else
9865
9867
  return z.none();
9866
- }), lm = (e, n, o, r) => UT(e, n, o, r).bind(({ start: l, end: u }) => {
9867
- const f = l.bind(ZT).getOr([]), b = u.bind(ZT).getOr([]);
9868
+ }), lm = (e, n, o, r) => U3(e, n, o, r).bind(({ start: l, end: u }) => {
9869
+ const f = l.bind(Z3).getOr([]), b = u.bind(Z3).getOr([]);
9868
9870
  if (f.length > 0 && b.length > 0) {
9869
9871
  const y = K_(o, n);
9870
9872
  return z.some(Tw.multiTable(f, b, y));
@@ -9875,11 +9877,11 @@ Required: ` + n.join(", "));
9875
9877
  return xI(r, n, o) ? r.map((u) => Tw.singleCellTable(n, u.start)) : l.isMultiTable ? lm(r, l, n, o) : wR(r, l, n, o);
9876
9878
  }, xR = (e) => Te(e, (n) => {
9877
9879
  lr(n, "contenteditable"), Du(n);
9878
- }), Hj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(ie.fromDom), jT = (e, n, o) => {
9880
+ }), Hj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(ie.fromDom), j3 = (e, n, o) => {
9879
9881
  o.each((r) => {
9880
9882
  n ? Eo(r) : (Du(r), e.selection.setCursorLocation(r.dom, 0));
9881
9883
  });
9882
- }, GT = (e, n, o, r) => {
9884
+ }, G3 = (e, n, o, r) => {
9883
9885
  const l = o.cloneRange();
9884
9886
  r ? (l.setStart(o.startContainer, o.startOffset), l.setEndAfter(n.dom.lastChild)) : (l.setStartBefore(n.dom.firstChild), l.setEnd(o.endContainer, o.endOffset)), gu(e, l, n, !1).each((u) => u());
9885
9887
  }, L1 = (e) => {
@@ -9888,14 +9890,14 @@ Required: ` + n.join(", "));
9888
9890
  }, CR = (e, n, o) => z.some(() => {
9889
9891
  const r = e.selection.getRng(), l = o.bind(({ rng: u, isStartInTable: f }) => {
9890
9892
  const b = Hj(e, f ? u.endContainer : u.startContainer);
9891
- u.deleteContents(), jT(e, f, b.filter(pr));
9893
+ u.deleteContents(), j3(e, f, b.filter(pr));
9892
9894
  const y = f ? n[0] : n[n.length - 1];
9893
- return GT(e, y, r, f), pr(y) ? z.none() : z.some(f ? n.slice(1) : n.slice(0, -1));
9895
+ return G3(e, y, r, f), pr(y) ? z.none() : z.some(f ? n.slice(1) : n.slice(0, -1));
9894
9896
  }).getOr(n);
9895
9897
  xR(l), L1(e);
9896
9898
  }), Lv = (e, n, o, r) => z.some(() => {
9897
9899
  const l = e.selection.getRng(), u = n[0], f = o[o.length - 1];
9898
- GT(e, u, l, !0), GT(e, f, l, !1);
9900
+ G3(e, u, l, !0), G3(e, f, l, !1);
9899
9901
  const b = pr(u) ? n : n.slice(1), y = pr(f) ? o : o.slice(0, -1);
9900
9902
  xR(b.concat(y)), r.deleteContents(), L1(e);
9901
9903
  }), gu = (e, n, o, r = !0) => z.some(() => {
@@ -9903,17 +9905,17 @@ Required: ` + n.join(", "));
9903
9905
  }), Dw = (e, n) => z.some(() => kh(e, !1, n)), Ds = (e, n, o) => CI(n, o).bind((r) => r.fold(Pe(gu, e), Pe(Dw, e), Pe(CR, e), Pe(Lv, e))), Ow = (e, n) => Fv(e, n), _R = (e, n, o, r) => Rw(n, r).fold(() => Ds(e, n, o), (l) => Ow(e, l)), SR = (e, n, o) => {
9904
9906
  const r = ie.fromDom(e.getBody()), l = e.selection.getRng();
9905
9907
  return o.length !== 0 ? CR(e, o, z.none()) : _R(e, r, l, n);
9906
- }, Y_ = (e, n) => ps(ag(n, e), jl), Rw = (e, n) => ps(ag(n, e), lc("caption")), qT = (e, n, o, r, l) => ef(o, e.getBody(), l).bind((u) => Y_(n, ie.fromDom(u.getNode())).bind((f) => To(f, r) ? z.none() : z.some(Nt))), Fv = (e, n) => z.some(() => {
9908
+ }, Y_ = (e, n) => ps(ag(n, e), jl), Rw = (e, n) => ps(ag(n, e), lc("caption")), q3 = (e, n, o, r, l) => ef(o, e.getBody(), l).bind((u) => Y_(n, ie.fromDom(u.getNode())).bind((f) => To(f, r) ? z.none() : z.some(Nt))), Fv = (e, n) => z.some(() => {
9907
9909
  Du(n), e.selection.setCursorLocation(n.dom, 0);
9908
- }), X_ = (e, n, o, r) => hc(e.dom).bind((l) => Nu(e.dom).map((u) => n ? o.isEqual(l) && r.isEqual(u) : o.isEqual(u) && r.isEqual(l))).getOr(!0), KT = (e, n) => Fv(e, n), kR = (e, n, o) => Rw(e, ie.fromDom(o.getNode())).fold(() => z.some(Nt), (r) => Co(!To(r, n), Nt)), TR = (e, n, o, r, l) => ef(o, e.getBody(), l).fold(() => z.some(Nt), (u) => X_(r, o, l, u) ? KT(e, r) : kR(n, r, u)), ER = (e, n, o, r) => {
9910
+ }), X_ = (e, n, o, r) => hc(e.dom).bind((l) => Nu(e.dom).map((u) => n ? o.isEqual(l) && r.isEqual(u) : o.isEqual(u) && r.isEqual(l))).getOr(!0), K3 = (e, n) => Fv(e, n), kR = (e, n, o) => Rw(e, ie.fromDom(o.getNode())).fold(() => z.some(Nt), (r) => Co(!To(r, n), Nt)), TR = (e, n, o, r, l) => ef(o, e.getBody(), l).fold(() => z.some(Nt), (u) => X_(r, o, l, u) ? K3(e, r) : kR(n, r, u)), ER = (e, n, o, r) => {
9909
9911
  const l = Le.fromRangeStart(e.selection.getRng());
9910
- return Y_(o, r).bind((u) => pr(u) ? Fv(e, u) : qT(e, o, n, u, l));
9912
+ return Y_(o, r).bind((u) => pr(u) ? Fv(e, u) : q3(e, o, n, u, l));
9911
9913
  }, AR = (e, n, o, r) => {
9912
9914
  const l = Le.fromRangeStart(e.selection.getRng());
9913
9915
  return pr(r) ? Fv(e, r) : TR(e, o, n, r, l);
9914
- }, YT = (e, n) => e ? XO(n) : Xn(n), Hv = (e, n) => {
9916
+ }, Y3 = (e, n) => e ? XO(n) : Xn(n), Hv = (e, n) => {
9915
9917
  const o = Le.fromRangeStart(e.selection.getRng());
9916
- return YT(n, o) || Xa(n, e.getBody(), o).exists((r) => YT(n, r));
9918
+ return Y3(n, o) || Xa(n, e.getBody(), o).exists((r) => Y3(n, r));
9917
9919
  }, DR = (e, n, o) => {
9918
9920
  const r = ie.fromDom(e.getBody());
9919
9921
  return Rw(r, o).fold(() => ER(e, n, r, o).orThunk(() => Co(Hv(e, n), Nt)), (l) => AR(e, n, r, l));
@@ -9963,7 +9965,7 @@ Required: ` + n.join(", "));
9963
9965
  compare: r,
9964
9966
  isAttributeInternal: l
9965
9967
  };
9966
- }, XT = (e) => [
9968
+ }, X3 = (e) => [
9967
9969
  "h1",
9968
9970
  "h2",
9969
9971
  "h3",
@@ -9974,7 +9976,7 @@ Required: ` + n.join(", "));
9974
9976
  let o = e;
9975
9977
  for (; o = o.walk(); )
9976
9978
  n(o);
9977
- }, JT = (e, n, o, r) => {
9979
+ }, J3 = (e, n, o, r) => {
9978
9980
  const l = o.name;
9979
9981
  for (let u = 0, f = e.length; u < f; u++) {
9980
9982
  const b = e[u];
@@ -10003,9 +10005,9 @@ Required: ` + n.join(", "));
10003
10005
  attributes: {}
10004
10006
  };
10005
10007
  return o.firstChild && RR(o, (l) => {
10006
- JT(e, n, l, r);
10008
+ J3(e, n, l, r);
10007
10009
  }), r;
10008
- }, QT = (e, n) => {
10010
+ }, Q3 = (e, n) => {
10009
10011
  const o = (r, l) => {
10010
10012
  bt(r, (u) => {
10011
10013
  const f = wr(u.nodes);
@@ -10021,7 +10023,7 @@ Required: ` + n.join(", "));
10021
10023
  o(e.nodes, !1), o(e.attributes, !0);
10022
10024
  }, eE = (e, n, o, r = {}) => {
10023
10025
  const l = $R(e, n, o);
10024
- QT(l, r);
10026
+ Q3(l, r);
10025
10027
  }, eS = (e, n, o, r) => {
10026
10028
  if ((e.pad_empty_with_br || n.insert) && o(r)) {
10027
10029
  const u = new Pc("br", 1);
@@ -10120,7 +10122,7 @@ Required: ` + n.join(", "));
10120
10122
  o = o.parent;
10121
10123
  }
10122
10124
  return !1;
10123
- }, oS = (e, n, o = n.parent) => o ? e.children[n.name] && !e.isValidChild(o.name, n.name) || n.name === "a" && NR(o, "a") ? !0 : Q_(o) && XT(n) ? !((o == null ? void 0 : o.firstChild) === n && (o == null ? void 0 : o.lastChild) === n) : !1 : !1, IR = (e, n, o, r) => {
10125
+ }, oS = (e, n, o = n.parent) => o ? e.children[n.name] && !e.isValidChild(o.name, n.name) || n.name === "a" && NR(o, "a") ? !0 : Q_(o) && X3(n) ? !((o == null ? void 0 : o.firstChild) === n && (o == null ? void 0 : o.lastChild) === n) : !1 : !1, IR = (e, n, o, r) => {
10124
10126
  const l = document.createRange();
10125
10127
  return l.setStart(e, n), l.setEnd(o, r), l;
10126
10128
  }, oE = (e) => {
@@ -10260,7 +10262,7 @@ Required: ` + n.join(", "));
10260
10262
  return z.none();
10261
10263
  }, RI = (e, n, o) => {
10262
10264
  var r;
10263
- return Rt(o.children(), XT) && ((r = e.getParent(n, e.isBlock)) === null || r === void 0 ? void 0 : r.nodeName) === "SUMMARY";
10265
+ return Rt(o.children(), X3) && ((r = e.getParent(n, e.isBlock)) === null || r === void 0 ? void 0 : r.nodeName) === "SUMMARY";
10264
10266
  }, jR = (e, n, o) => {
10265
10267
  var r, l;
10266
10268
  const u = e.selection, f = e.dom, b = e.parser, y = o.merge, k = Jp({ validate: !0 }, e.schema), P = '<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>';
@@ -10482,7 +10484,7 @@ Required: ` + n.join(", "));
10482
10484
  return xE(r, l.createTextNode(jv));
10483
10485
  }, NI = (e, n, o, r, l, u) => {
10484
10486
  const f = e.formatter, b = e.dom, y = zt(es(f.get()), (B) => B !== r && !ys(B, "removeformat")), k = XR(e, o, y);
10485
- if (zt(k, (B) => !Y3(e, B, r)).length > 0) {
10487
+ if (zt(k, (B) => !YT(e, B, r)).length > 0) {
10486
10488
  const B = o.cloneNode(!1);
10487
10489
  return b.add(n, B), f.remove(r, l, B, u), b.remove(B), z.some(B);
10488
10490
  } else
@@ -12800,7 +12802,7 @@ Required: ` + n.join(", "));
12800
12802
  const [st, Kt] = _L(Ve, n, l, Be), cn = [], Jn = wt ? (Hr) => oe(Hr, cn) : Nt, qn = {
12801
12803
  nodes: {},
12802
12804
  attributes: {}
12803
- }, gs = (Hr) => JT(k(), F(), Hr, qn);
12805
+ }, gs = (Hr) => J3(k(), F(), Hr, qn);
12804
12806
  if (Nc(Ve, [
12805
12807
  st,
12806
12808
  gs
@@ -12817,7 +12819,7 @@ Required: ` + n.join(", "));
12817
12819
  } else
12818
12820
  nS(cn, n, Ve, gs);
12819
12821
  const Rs = kS(l, Be);
12820
- return Rs && (Ve.name === "body" || Be.isRootContent) && se(Ve, Rs), Be.invalid || QT(qn, Be), Ve;
12822
+ return Rs && (Ve.name === "body" || Be.isRootContent) && se(Ve, Rs), Be.invalid || Q3(qn, Be), Ve;
12821
12823
  }
12822
12824
  };
12823
12825
  return O$(ke, l), $E(ke, l, n), ke;
@@ -12847,7 +12849,7 @@ Required: ` + n.join(", "));
12847
12849
  if (n.no_events)
12848
12850
  return Ac.value(n);
12849
12851
  {
12850
- const o = tT(e, n);
12852
+ const o = t3(e, n);
12851
12853
  return o.isDefaultPrevented() ? Ac.error(yo(e, {
12852
12854
  content: "",
12853
12855
  ...o
@@ -12957,12 +12959,12 @@ Required: ` + n.join(", "));
12957
12959
  const r = n[0], l = n[n.length - 1], u = EL(o);
12958
12960
  return JE(u, r, l).map((f) => fw([OS(f)]));
12959
12961
  }).getOrThunk(r6), $L = (e, n, o) => n.length > 0 && n[0].collapsed ? r6() : OL(e, n[0], o), ML = (e, n, o) => {
12960
- const r = Z3(n, e);
12962
+ const r = ZT(n, e);
12961
12963
  return r.length > 0 ? a6(e, r) : $L(e, n, o);
12962
12964
  }, RS = (e, n) => n >= 0 && n < e.length && Hp(e.charAt(n)), QE = (e) => V(e.innerText), e5 = (e) => e.map((n) => n.nodeName).getOr("div").toLowerCase(), t5 = (e) => z.from(e.selection.getRng()).map((n) => {
12963
12965
  var o;
12964
12966
  const r = z.from(e.dom.getParent(n.commonAncestorContainer, e.dom.isBlock)), l = e.getBody(), u = e5(r), f = ie.fromDom(n.cloneContents());
12965
- Un(f), kT(f);
12967
+ Un(f), k3(f);
12966
12968
  const b = e.dom.add(l, u, {
12967
12969
  "data-mce-bogus": "all",
12968
12970
  style: "overflow: hidden; opacity: 0;"
@@ -12978,7 +12980,7 @@ Required: ` + n.join(", "));
12978
12980
  } else
12979
12981
  return y;
12980
12982
  }).getOr(""), l6 = (e, n) => {
12981
- const o = e.selection.getRng(), r = e.dom.create("body"), l = e.selection.getSel(), u = ST(e, pv(l)), f = n.contextual ? ML(ie.fromDom(e.getBody()), u, e.schema).dom : o.cloneContents();
12983
+ const o = e.selection.getRng(), r = e.dom.create("body"), l = e.selection.getSel(), u = S3(e, pv(l)), f = n.contextual ? ML(ie.fromDom(e.getBody()), u, e.schema).dom : o.cloneContents();
12982
12984
  return f && r.appendChild(f), e.selection.serializer.serialize(r, n);
12983
12985
  }, n5 = (e, n) => {
12984
12986
  if (n.format === "text")
@@ -13168,7 +13170,7 @@ Required: ` + n.join(", "));
13168
13170
  Te(o.select("table,a", r), (l) => {
13169
13171
  switch (l.nodeName) {
13170
13172
  case "TABLE":
13171
- const u = b3(e), f = o.getAttrib(l, "border");
13173
+ const u = bT(e), f = o.getAttrib(l, "border");
13172
13174
  (!f || f === "0") && e.hasVisual ? o.addClass(l, u) : o.removeClass(l, u);
13173
13175
  break;
13174
13176
  case "A":
@@ -13419,7 +13421,7 @@ Required: ` + n.join(", "));
13419
13421
  const { selectorChangedWithUnbind: f } = k6(e, r), b = (Tt, on) => {
13420
13422
  const Kn = e.createRng();
13421
13423
  Ze(Tt) && Ze(on) ? (Kn.setStart(Tt, on), Kn.setEnd(Tt, on), Be(Kn), we(!1)) : (Y2(e, Kn, r.getBody(), !0), Be(Kn));
13422
- }, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), ee = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (hN(e, Tt, on).each(Be), Tt), K = () => {
13424
+ }, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => C3(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), ee = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (hN(e, Tt, on).each(Be), Tt), K = () => {
13423
13425
  const Tt = Se(), on = ke();
13424
13426
  return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !on || Tt.collapsed;
13425
13427
  }, se = () => {
@@ -13438,13 +13440,13 @@ Required: ` + n.join(", "));
13438
13440
  }
13439
13441
  }, Kn = n.document;
13440
13442
  if (Ze(r.bookmark) && !Xp(r)) {
13441
- const mo = vT(r);
13443
+ const mo = v3(r);
13442
13444
  if (mo.isSome())
13443
- return mo.map((Qt) => ST(r, [Qt])[0]).getOr(Kn.createRange());
13445
+ return mo.map((Qt) => S3(r, [Qt])[0]).getOr(Kn.createRange());
13444
13446
  }
13445
13447
  try {
13446
13448
  const mo = ke();
13447
- mo && !ku(mo.anchorNode) && (mo.rangeCount > 0 ? Tt = mo.getRangeAt(0) : Tt = Kn.createRange(), Tt = ST(r, [Tt])[0]);
13449
+ mo && !ku(mo.anchorNode) && (mo.rangeCount > 0 ? Tt = mo.getRangeAt(0) : Tt = Kn.createRange(), Tt = S3(r, [Tt])[0]);
13448
13450
  } catch {
13449
13451
  }
13450
13452
  if (Tt || (Tt = Kn.createRange()), qg(Tt.startContainer) && Tt.collapsed) {
@@ -13649,7 +13651,7 @@ Required: ` + n.join(", "));
13649
13651
  for (; u--; )
13650
13652
  r[u].attr(l, null);
13651
13653
  }), n.push(o));
13652
- }, wF = (e, n, o) => !n.no_events && e ? J3(e, {
13654
+ }, wF = (e, n, o) => !n.no_events && e ? JT(e, {
13653
13655
  ...n,
13654
13656
  content: o
13655
13657
  }).content : o, xF = (e, n, o) => {
@@ -13861,7 +13863,7 @@ Options:${f}${o.join(f)}` : "";
13861
13863
  }, P = ot(n);
13862
13864
  return ((F) => {
13863
13865
  F.on("SkinLoaded", () => {
13864
- const ee = m3(F);
13866
+ const ee = mT(F);
13865
13867
  ee && y({
13866
13868
  text: ee,
13867
13869
  type: "warning",
@@ -14152,10 +14154,10 @@ Options:${f}${o.join(f)}` : "";
14152
14154
  timeout: -1,
14153
14155
  progressBar: !0
14154
14156
  }), sy = (e, n) => JF(n, {
14155
- url: l3(e),
14156
- basePath: c3(e),
14157
+ url: lT(e),
14158
+ basePath: cT(e),
14157
14159
  credentials: w2(e),
14158
- handler: i3(e)
14160
+ handler: iT(e)
14159
14161
  }), e9 = (e) => {
14160
14162
  const n = W6(), o = sy(e, n);
14161
14163
  return { upload: (r, l = !0) => o.upload(r, l ? QF(e) : void 0) };
@@ -14634,7 +14636,7 @@ Options:${f}${o.join(f)}` : "";
14634
14636
  l(k, y);
14635
14637
  }));
14636
14638
  }, u = (f) => (f && n[f] && delete n[f], n);
14637
- return l(o9(e)), l(zS()), l(g3(e)), {
14639
+ return l(o9(e)), l(zS()), l(gT(e)), {
14638
14640
  get: o,
14639
14641
  has: r,
14640
14642
  register: l,
@@ -14929,7 +14931,7 @@ Options:${f}${o.join(f)}` : "";
14929
14931
  if (Y6(f))
14930
14932
  return;
14931
14933
  const y = e.getBody(), k = Rh(f) ? !1 : c0(o, y, r);
14932
- (o.getAttrib(y, E5) !== "" !== k || b) && (o.setAttrib(y, E5, k ? l : null), o.setAttrib(y, "aria-placeholder", k ? l : null), eT(e, k), e.on(k ? "keydown" : "keyup", u), e.off(k ? "keyup" : "keydown", u));
14934
+ (o.getAttrib(y, E5) !== "" !== k || b) && (o.setAttrib(y, E5, k ? l : null), o.setAttrib(y, "aria-placeholder", k ? l : null), e3(e, k), e.on(k ? "keydown" : "keyup", u), e.off(k ? "keyup" : "keydown", u));
14933
14935
  };
14934
14936
  Po(l) && e.on("init", (f) => {
14935
14937
  u(f, !0), e.on("change SetContent ExecCommand", u), e.on("paste", (b) => Fu.setEditorTimeout(e, () => u(b)));
@@ -15533,7 +15535,7 @@ Options:${f}${o.join(f)}` : "";
15533
15535
  }, xH = (e) => GM(e, "indent"), iA = (e) => GM(e, "outdent"), qM = (e) => {
15534
15536
  if (e.selection.isCollapsed() && ck(e)) {
15535
15537
  const n = e.dom, o = e.selection.getRng(), r = Le.fromRangeStart(o), l = n.getParent(o.startContainer, n.isBlock);
15536
- if (l !== null && OT(ie.fromDom(l), r, e.schema))
15538
+ if (l !== null && O3(ie.fromDom(l), r, e.schema))
15537
15539
  return z.some(() => iA(e));
15538
15540
  }
15539
15541
  return z.none();
@@ -15596,7 +15598,7 @@ Options:${f}${o.join(f)}` : "";
15596
15598
  });
15597
15599
  });
15598
15600
  }, !0);
15599
- }, uk = (e, n) => pn(e, n.nodeName), XM = (e, n) => ut(n) ? !0 : qt(n) ? !uk(e.getBlockElements(), n) && !Oi(n) && !_o(e, n) && !Py(n) : !1, _H = (e, n, o) => Rt(AT(ie.fromDom(o), ie.fromDom(n)), (r) => uk(e, r.dom)), SH = (e, n) => {
15601
+ }, uk = (e, n) => pn(e, n.nodeName), XM = (e, n) => ut(n) ? !0 : qt(n) ? !uk(e.getBlockElements(), n) && !Oi(n) && !_o(e, n) && !Py(n) : !1, _H = (e, n, o) => Rt(A3(ie.fromDom(o), ie.fromDom(n)), (r) => uk(e, r.dom)), SH = (e, n) => {
15600
15602
  if (ut(n)) {
15601
15603
  if (n.data.length === 0)
15602
15604
  return !0;
@@ -15650,7 +15652,7 @@ Options:${f}${o.join(f)}` : "";
15650
15652
  o.content = l;
15651
15653
  }
15652
15654
  }, rG = (e) => {
15653
- const n = "contenteditable", o = " " + ct.trim(UC(e)) + " ", r = " " + ct.trim(R2(e)) + " ", l = dA(o), u = dA(r), f = T3(e);
15655
+ const n = "contenteditable", o = " " + ct.trim(UC(e)) + " ", r = " " + ct.trim(R2(e)) + " ", l = dA(o), u = dA(r), f = TT(e);
15654
15656
  f.length > 0 && e.on("BeforeSetContent", (b) => {
15655
15657
  sG(e, f, b);
15656
15658
  }), e.parser.addAttributeFilter("class", (b) => {
@@ -15841,7 +15843,7 @@ Options:${f}${o.join(f)}` : "";
15841
15843
  return !1;
15842
15844
  }, wA = (e, n, o) => z.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => z.from(e.dom.getParent(r, "table")).map((l) => o(e, n, l, r))).getOr(!1), w8 = (e, n) => wA(e, n, JH), xA = (e, n) => wA(e, n, nV), oV = (e) => {
15843
15845
  const n = lf.exact(e, 0, e, 0);
15844
- return hT(n);
15846
+ return h3(n);
15845
15847
  }, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) => wN(l).map((u) => oV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), C8(e, n, r))), C8 = (e, n, o) => x8(e, n, mG(o, Vn)), sV = (e, n, o) => x8(e, n, VH(o, Vn)), Aa = (e, n) => {
15846
15848
  const o = [
15847
15849
  "table",
@@ -16824,7 +16826,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
16824
16826
  }, bP = {
16825
16827
  insert: (e, n) => {
16826
16828
  let o, r, l, u, f = !1;
16827
- const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), P = e.selection.getRng(), B = Xl(e), F = ie.fromDom(P.startContainer), ee = Cu(F, P.startOffset), oe = ee.exists((st) => Gs(st) && !Vn(st)), K = P.collapsed && oe, se = (st, Kt) => jA(e, o, wt, rt, a3(e), st, Kt), we = (st) => {
16829
+ const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), P = e.selection.getRng(), B = Xl(e), F = ie.fromDom(P.startContainer), ee = Cu(F, P.startOffset), oe = ee.exists((st) => Gs(st) && !Vn(st)), K = P.collapsed && oe, se = (st, Kt) => jA(e, o, wt, rt, aT(e), st, Kt), we = (st) => {
16828
16830
  const Kt = XA(st, o, r);
16829
16831
  if (ut(o) && (st ? Kt > 0 : Kt < o.data.length))
16830
16832
  return !1;
@@ -16943,14 +16945,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
16943
16945
  o.isSome() ? o.each(Pe(QA, e)) : bz(e, n);
16944
16946
  },
16945
16947
  fakeEventName: "insertLineBreak"
16946
- }, _z = (e, n) => hm(e).filter((o) => n.length > 0 && cc(ie.fromDom(o), n)).isSome(), Sz = (e) => _z(e, r3(e)), kz = (e) => _z(e, v2(e)), Td = fd.generate([
16948
+ }, _z = (e, n) => hm(e).filter((o) => n.length > 0 && cc(ie.fromDom(o), n)).isSome(), Sz = (e) => _z(e, rT(e)), kz = (e) => _z(e, v2(e)), Td = fd.generate([
16947
16949
  { br: [] },
16948
16950
  { block: [] },
16949
16951
  { none: [] }
16950
16952
  ]), Tz = (e, n) => kz(e), pm = (e) => (n, o) => dP(n) === e, wP = (e, n) => (o, r) => uP(o) === e.toUpperCase() === n, xP = (e) => {
16951
16953
  const n = Y1(e.dom, e.selection.getStart());
16952
16954
  return In(n);
16953
- }, Ox = (e) => wP("pre", e), Ez = () => wP("summary", !0), Rk = (e) => (n, o) => o3(n) === e, Az = (e, n) => Sz(e), $k = (e, n) => n, Dz = (e) => {
16955
+ }, Ox = (e) => wP("pre", e), Ez = () => wP("summary", !0), Rk = (e) => (n, o) => oT(n) === e, Az = (e, n) => Sz(e), $k = (e, n) => n, Dz = (e) => {
16954
16956
  const n = Xl(e), o = Y1(e.dom, e.selection.getStart());
16955
16957
  return Ze(o) && e.schema.isValidChild(o.nodeName, n);
16956
16958
  }, Oz = (e) => {
@@ -16994,10 +16996,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
16994
16996
  e,
16995
16997
  !!(n && n.shiftKey)
16996
16998
  ]).getOr(Td.none()), J1 = (e, n, o) => {
16997
- n.selection.isCollapsed() || NT(n), !(Ze(o) && Tk(n, e.fakeEventName).isDefaultPrevented()) && (e.insert(n, o), Ze(o) && Ax(n, e.fakeEventName));
16999
+ n.selection.isCollapsed() || N3(n), !(Ze(o) && Tk(n, e.fakeEventName).isDefaultPrevented()) && (e.insert(n, o), Ze(o) && Ax(n, e.fakeEventName));
16998
17000
  }, _P = (e, n) => {
16999
17001
  const o = () => J1(Cz, e, n), r = () => J1(bP, e, n), l = CP(e, n);
17000
- switch (s3(e)) {
17002
+ switch (sT(e)) {
17001
17003
  case "linebreak":
17002
17004
  l.fold(o, o, Nt);
17003
17005
  break;
@@ -17154,7 +17156,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17154
17156
  e.on("keydown", (n) => {
17155
17157
  n.isDefaultPrevented() || $P(e, n);
17156
17158
  });
17157
- }, Hz = (e) => $3(e) ? [
17159
+ }, Hz = (e) => $T(e) ? [
17158
17160
  {
17159
17161
  keyCode: Wt.TAB,
17160
17162
  action: An(Aa, e, !0)
@@ -17470,10 +17472,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17470
17472
  content: e,
17471
17473
  cancelled: n
17472
17474
  }), mU = (e, n, o) => {
17473
- const r = e.dom.create("div", { style: "display:none" }, n), l = oT(e, r, o);
17475
+ const r = e.dom.create("div", { style: "display:none" }, n), l = o3(e, r, o);
17474
17476
  return Os(l.node.innerHTML, l.isDefaultPrevented());
17475
17477
  }, jP = (e, n, o) => {
17476
- const r = nT(e, n, o), l = dU(e, r.content);
17478
+ const r = n3(e, n, o), l = dU(e, r.content);
17477
17479
  return e.hasEventListeners("PastePostProcess") && !r.isDefaultPrevented() ? mU(e, l, o) : Os(l, r.isDefaultPrevented());
17478
17480
  }, fU = (e, n, o) => jP(e, n, o), Px = (e, n) => (e.insertContent(n, {
17479
17481
  merge: D2(e),
@@ -17508,7 +17510,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17508
17510
  KP(e, eU(n), l, !1, r);
17509
17511
  }, gD = (e, n, o) => {
17510
17512
  const r = e.dom.encode(n).replace(/\r\n/g, `
17511
- `), l = Qg(r, S3(e)), u = kG(l, Xl(e), X0(e));
17513
+ `), l = Qg(r, ST(e)), u = kG(l, Xl(e), X0(e));
17512
17514
  KP(e, u, !1, !0, o);
17513
17515
  }, eb = (e) => {
17514
17516
  const n = {};
@@ -17675,7 +17677,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17675
17677
  }
17676
17678
  });
17677
17679
  }, Vk = (e, n) => {
17678
- C3(e) && e.on("dragend dragover draggesture dragdrop drop drag", (o) => {
17680
+ CT(e) && e.on("dragend dragover draggesture dragdrop drop drag", (o) => {
17679
17681
  o.preventDefault(), o.stopPropagation();
17680
17682
  }), ov(e) || e.on("drop", (o) => {
17681
17683
  const r = o.dataTransfer;
@@ -17705,7 +17707,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
17705
17707
  }, RU = (e) => {
17706
17708
  const n = (l) => (u) => {
17707
17709
  l(e, u);
17708
- }, o = _3(e);
17710
+ }, o = _T(e);
17709
17711
  pe(o) && e.on("PastePreProcess", n(o));
17710
17712
  const r = VC(e);
17711
17713
  pe(r) && e.on("PastePostProcess", n(r));
@@ -18518,7 +18520,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18518
18520
  ":",
18519
18521
  "!",
18520
18522
  "?"
18521
- ], o = [32], r = () => Dc(rv(e), k3(e)), l = () => M2(e);
18523
+ ], o = [32], r = () => Dc(rv(e), kT(e)), l = () => M2(e);
18522
18524
  e.on("keydown", (f) => {
18523
18525
  if (f.keyCode === 13 && !Wt.modifierPressed(f) && e.selection.isCollapsed()) {
18524
18526
  const b = r();
@@ -18852,7 +18854,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18852
18854
  });
18853
18855
  }, o4 = (e) => {
18854
18856
  e.bindPendingEventDelegates(), e.initialized = !0, k1(e), e.focus(!0), LW(e), e.nodeChanged({ initial: !0 });
18855
- const n = y3(e);
18857
+ const n = yT(e);
18856
18858
  pe(n) && n.call(e, e), IW(e);
18857
18859
  }, $D = (e) => e.inline ? e.ui.styleSheetLoader : e.dom.styleSheetLoader, FW = (e, n, o) => {
18858
18860
  const {
@@ -18883,8 +18885,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18883
18885
  return b && GB(e, b), f;
18884
18886
  }, HW = (e) => {
18885
18887
  const n = e.getDoc(), o = e.getBody();
18886
- og(e), x3(e) || (n.body.spellcheck = !1, RD.setAttrib(o, "spellcheck", "false")), e.quirks = MW(e), Q3(e);
18887
- const r = u3(e);
18888
+ og(e), xT(e) || (n.body.spellcheck = !1, RD.setAttrib(o, "spellcheck", "false")), e.quirks = MW(e), QT(e);
18889
+ const r = uT(e);
18888
18890
  r !== void 0 && (o.dir = r);
18889
18891
  const l = HC(e);
18890
18892
  l && e.on("BeforeSetContent", (u) => {
@@ -18962,7 +18964,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18962
18964
  }, WW = (e) => {
18963
18965
  let n = EC(e) + "<html><head>";
18964
18966
  h2(e) !== e.documentBaseUrl && (n += '<base href="' + e.documentBaseURI.getURI() + '" />'), n += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
18965
- const o = p2(e), r = n3(e), l = e.translate(v3(e));
18967
+ const o = p2(e), r = nT(e), l = e.translate(vT(e));
18966
18968
  return b2(e) && (n += '<meta http-equiv="Content-Security-Policy" content="' + b2(e) + '" />'), n += `</head><body id="${o}" class="mce-content-body ${r}" data-id="${e.id}" aria-label="${l}"><br></body></html>`, n;
18967
18969
  }, ZW = (e, n) => {
18968
18970
  const o = e.translate("Rich Text Area"), r = bi(ie.fromDom(e.getElement()), "tabindex").bind(Vc), l = QB(e.id, o, g2(e), r).dom;
@@ -18973,7 +18975,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
18973
18975
  const n = e.iframeElement, o = () => {
18974
18976
  e.contentDocument = n.contentDocument, XB(e);
18975
18977
  };
18976
- if (A3(e) || It.browser.isFirefox()) {
18978
+ if (AT(e) || It.browser.isFirefox()) {
18977
18979
  const r = e.getDoc();
18978
18980
  r.open(), r.write(e.iframeHTML), r.close(), o();
18979
18981
  } else {
@@ -19069,7 +19071,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19069
19071
  }, c7 = (e, n) => {
19070
19072
  const o = Sp(e);
19071
19073
  if (he(o) && !l7(o) && !pn(Oh.urls, o)) {
19072
- const r = f3(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
19074
+ const r = fT(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
19073
19075
  Oh.load(o, l).catch(() => {
19074
19076
  zF(e, l, o);
19075
19077
  });
@@ -19140,14 +19142,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19140
19142
  wn(r.dom.attributes, (f) => lr(r, f.name)), _c(r, l);
19141
19143
  }), e.ui.styleSheetLoader = rZ(r, e), k2(e) ? e.inline = !0 : (e.orgVisibility = e.getElement().style.visibility, e.getElement().style.visibility = "hidden");
19142
19144
  const u = e.getElement().form || sb.getParent(n, "form");
19143
- u && (e.formElement = u, h3(e) && !Gg(e.getElement()) && (sb.insertAfter(sb.create("input", {
19145
+ u && (e.formElement = u, hT(e) && !Gg(e.getElement()) && (sb.insertAfter(sb.create("input", {
19144
19146
  type: "hidden",
19145
19147
  name: n
19146
19148
  }), n), e.hasHiddenInput = !0), e.formEventDelegate = (f) => {
19147
19149
  e.dispatch(f.type, f);
19148
19150
  }, sb.bind(u, "submit reset", e.formEventDelegate), e.on("reset", () => {
19149
19151
  e.resetContent();
19150
- }), IC(e) && !u.submit.nodeType && !u.submit.length && !u._mceOldSubmit && (u._mceOldSubmit = u.submit, u.submit = () => (e.editorManager.triggerSave(), e.setDirty(!1), u._mceOldSubmit(u)))), e.windowManager = H6(e), e.notificationManager = w5(e), R3(e) && e.on("GetContent", (f) => {
19152
+ }), IC(e) && !u.submit.nodeType && !u.submit.length && !u._mceOldSubmit && (u._mceOldSubmit = u.submit, u.submit = () => (e.editorManager.triggerSave(), e.setDirty(!1), u._mceOldSubmit(u)))), e.windowManager = H6(e), e.notificationManager = w5(e), RT(e) && e.on("GetContent", (f) => {
19151
19153
  f.save && (f.content = sb.encode(f.content));
19152
19154
  }), Qd(e) && e.on("submit", () => {
19153
19155
  e.initialized && e.save();
@@ -19159,7 +19161,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19159
19161
  });
19160
19162
  }, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), d7(e, e.suffix);
19161
19163
  }, ID = (e, n) => {
19162
- e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), sT(e, n));
19164
+ e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), s3(e, n));
19163
19165
  }, s4 = (e) => e._editableRoot, r4 = (e, n) => ({
19164
19166
  sections: ot(e),
19165
19167
  options: ot(n)
@@ -19331,7 +19333,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
19331
19333
  if (/^[0-9.]+$/.test(n)) {
19332
19334
  const o = parseInt(n, 10);
19333
19335
  if (o >= 1 && o <= 7) {
19334
- const r = D3(e), l = O3(e);
19336
+ const r = DT(e), l = OT(e);
19335
19337
  return l.length > 0 ? l[o - 1] || n : r[o - 1] || n;
19336
19338
  } else
19337
19339
  return n;
@@ -20118,7 +20120,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
20118
20120
  const k = ro(l);
20119
20121
  k && (ra.ScriptLoader._setReferrerPolicy(k), Is.DOM.styleSheetLoader._setReferrerPolicy(k));
20120
20122
  const P = Tp(l);
20121
- Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new O7(this), this.editorCommands = new WD(this), zD(this);
20123
+ Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = pT(l), this.shortcuts = new O7(this), this.editorCommands = new WD(this), zD(this);
20122
20124
  const B = f("cache_suffix");
20123
20125
  B && (It.cacheSuffix = B.replace(/^[\?\&]+/, "")), this.ui = {
20124
20126
  registry: aj(),
@@ -20291,7 +20293,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
20291
20293
  return (o = (n = this.bodyElement) !== null && n !== void 0 ? n : r == null ? void 0 : r.body) !== null && o !== void 0 ? o : null;
20292
20294
  }
20293
20295
  convertURL(n, o, r) {
20294
- const l = this, u = l.options.get, f = w3(l);
20296
+ const l = this, u = l.options.get, f = wT(l);
20295
20297
  if (pe(f))
20296
20298
  return f.call(l, n, r, !0, o);
20297
20299
  if (!u("convert_urls") || r === "link" || kt(r) && r.nodeName === "LINK" || n.indexOf("file:") === 0 || n.length === 0)
@@ -23002,7 +23004,7 @@ Receiver: ` + jd(s.element), E, g.data);
23002
23004
  C.onReceive(s, $);
23003
23005
  });
23004
23006
  })])
23005
- }), e3 = [dc("channels", rd(Vn.value, Es([
23007
+ }), eT = [dc("channels", rd(Vn.value, Es([
23006
23008
  md("onReceive"),
23007
23009
  Re("schema", Pr())
23008
23010
  ])))];
@@ -23077,7 +23079,7 @@ Receiver: ` + jd(s.element), E, g.data);
23077
23079
  const s = Sl("Creating behaviour: " + t.name, _C, t);
23078
23080
  return dO(vo(s.branchKey, s.branches), s.name, s.active, s.apis, s.extra, s.state);
23079
23081
  }, f2 = ae(void 0), Dc = Sa({
23080
- fields: e3,
23082
+ fields: eT,
23081
23083
  name: "receiving",
23082
23084
  active: xC
23083
23085
  });
@@ -23145,7 +23147,7 @@ Receiver: ` + jd(s.element), E, g.data);
23145
23147
  return ed(s).translate(-p.left, -p.top);
23146
23148
  }), d = ga(s), g = Md(s);
23147
23149
  return Bs(c.left, c.top, d, g);
23148
- }, n3 = (t, s) => s.fold(() => t.fold(na, na, Bs), (a) => t.fold(ae(a), ae(a), () => {
23150
+ }, nT = (t, s) => s.fold(() => t.fold(na, na, Bs), (a) => t.fold(ae(a), ae(a), () => {
23149
23151
  const c = b2(t, a.x, a.y);
23150
23152
  return Bs(c.left, c.top, a.width, a.height);
23151
23153
  })), b2 = (t, s, a) => {
@@ -23154,12 +23156,12 @@ Receiver: ` + jd(s.element), E, g.data);
23154
23156
  return c.translate(-g.left, -g.top);
23155
23157
  };
23156
23158
  return t.fold(ae(c), ae(c), d);
23157
- }, o3 = (t, s, a, c) => t.fold(s, a, c);
23159
+ }, oT = (t, s, a, c) => t.fold(s, a, c);
23158
23160
  g2.none;
23159
- const Xl = g2.relative, X0 = g2.fixed, s3 = (t, s) => ({
23161
+ const Xl = g2.relative, X0 = g2.fixed, sT = (t, s) => ({
23160
23162
  anchorBox: t,
23161
23163
  origin: s
23162
- }), r3 = (t, s) => s3(t, s), v2 = "data-alloy-placement", a3 = (t, s) => {
23164
+ }), rT = (t, s) => sT(t, s), v2 = "data-alloy-placement", aT = (t, s) => {
23163
23165
  It(t, v2, s);
23164
23166
  }, AC = (t) => I(t, v2), DC = (t) => le(t, v2), J0 = T.generate([
23165
23167
  { fit: ["reposition"] },
@@ -23198,7 +23200,7 @@ Receiver: ` + jd(s.element), E, g.data);
23198
23200
  maxWidth: jb(t, w, w, p),
23199
23201
  maxHeight: g
23200
23202
  };
23201
- }, l3 = (t, s, a, c) => {
23203
+ }, lT = (t, s, a, c) => {
23202
23204
  const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: Ce, maxHeight: ve } = dh(t.direction, de, c), Oe = {
23203
23205
  rect: de,
23204
23206
  maxHeight: ve,
@@ -23213,9 +23215,9 @@ Receiver: ` + jd(s.element), E, g.data);
23213
23215
  testY: C
23214
23216
  };
23215
23217
  return J || t.alwaysFit ? J0.fit(Oe) : J0.nofit(Oe, H, W, Me);
23216
- }, c3 = (t, s, a, c, d, g) => {
23218
+ }, cT = (t, s, a, c, d, g) => {
23217
23219
  const p = c.width, w = c.height, C = ($, N, H, W, J) => {
23218
- const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
23220
+ const de = $(a, c, d, t, g), Me = lT(de, p, w, g);
23219
23221
  return Me.fold(ae(Me), (Ce, ve, Oe, dt) => (J === dt ? Oe > W || ve > H : !J && dt) ? Me : J0.nofit(N, H, W, J));
23220
23222
  };
23221
23223
  return Wo(s, ($, N) => {
@@ -23246,7 +23248,7 @@ Receiver: ` + jd(s.element), E, g.data);
23246
23248
  a(), s.set(D.some(w));
23247
23249
  }
23248
23250
  };
23249
- }, i3 = () => w2((t) => t.destroy()), Xm = () => w2((t) => t.unbind()), ro = () => {
23251
+ }, iT = () => w2((t) => t.destroy()), Xm = () => w2((t) => t.unbind()), ro = () => {
23250
23252
  const t = w2(he);
23251
23253
  return {
23252
23254
  ...t,
@@ -23257,10 +23259,10 @@ Receiver: ` + jd(s.element), E, g.data);
23257
23259
  "bottom",
23258
23260
  "right",
23259
23261
  "left"
23260
- ], ev = "data-alloy-transition-timer", RC = (t, s) => fl(t, s.classes), u3 = (t, s, a) => a.exists((c) => {
23262
+ ], ev = "data-alloy-transition-timer", RC = (t, s) => fl(t, s.classes), uT = (t, s, a) => a.exists((c) => {
23261
23263
  const d = t.mode;
23262
23264
  return d === "all" ? !0 : c[d] !== s[d];
23263
- }), d3 = (t, s) => {
23265
+ }), dT = (t, s) => {
23264
23266
  const a = (c) => parseFloat(c).toFixed(3);
23265
23267
  return es(s, (c, d) => {
23266
23268
  const g = t[d].map(a), p = c.map(a);
@@ -23305,24 +23307,24 @@ Receiver: ` + jd(s.element), E, g.data);
23305
23307
  clearTimeout(parseInt(a, 10)), le(t, ev);
23306
23308
  }), $C(t, s);
23307
23309
  }, jf = (t, s, a, c, d, g) => {
23308
- const p = u3(c, d, g);
23310
+ const p = uT(c, d, g);
23309
23311
  if (p || RC(t, c)) {
23310
23312
  Yt(t, "position", a.position);
23311
23313
  const w = p2(s, t), C = h2(s, {
23312
23314
  ...d,
23313
23315
  rect: w
23314
23316
  }), E = Er(_2, ($) => C[$]);
23315
- d3(a, E) && (ct(t, E), p && fO(t, c), ja(t));
23317
+ dT(a, E) && (ct(t, E), p && fO(t, c), ja(t));
23316
23318
  } else
23317
23319
  ki(t, c.classes);
23318
- }, m3 = (t) => ({
23320
+ }, mT = (t) => ({
23319
23321
  width: ga(t),
23320
23322
  height: Md(t)
23321
23323
  }), Sp = (t, s, a, c) => {
23322
23324
  Co(s, "max-height"), Co(s, "max-width");
23323
- const d = m3(s);
23324
- return c3(s, c.preference, t, d, a, c.bounds);
23325
- }, f3 = (t, s) => {
23325
+ const d = mT(s);
23326
+ return cT(s, c.preference, t, d, a, c.bounds);
23327
+ }, fT = (t, s) => {
23326
23328
  const a = s.classes;
23327
23329
  ki(t, a.off), ur(t, a.on);
23328
23330
  }, S2 = (t, s, a) => {
@@ -23336,8 +23338,8 @@ Receiver: ` + jd(s.element), E, g.data);
23336
23338
  a.transition.each((d) => {
23337
23339
  jf(t, a.origin, c, d, s, a.lastPlacement);
23338
23340
  }), TC(t, c);
23339
- }, g3 = (t, s) => {
23340
- a3(t, s.placement);
23341
+ }, gT = (t, s) => {
23342
+ aT(t, s.placement);
23341
23343
  }, PC = (t, s) => {
23342
23344
  Lh(t, Math.floor(s));
23343
23345
  }, BC = ae((t, s) => {
@@ -23349,7 +23351,7 @@ Receiver: ` + jd(s.element), E, g.data);
23349
23351
  PC(t, s);
23350
23352
  }), NC = (t, s, a) => t[s] === void 0 ? a : t[s], k2 = (t, s, a, c, d, g, p, w) => {
23351
23353
  const C = NC(p, "maxHeightFunction", BC()), E = NC(p, "maxWidthFunction", he), $ = t.anchorBox, N = t.origin, H = {
23352
- bounds: n3(N, g),
23354
+ bounds: nT(N, g),
23353
23355
  origin: N,
23354
23356
  preference: c,
23355
23357
  maxHeightFunction: C,
@@ -23357,10 +23359,10 @@ Receiver: ` + jd(s.element), E, g.data);
23357
23359
  lastPlacement: d,
23358
23360
  transition: w
23359
23361
  };
23360
- return h3($, s, a, H);
23361
- }, h3 = (t, s, a, c) => {
23362
+ return hT($, s, a, H);
23363
+ }, hT = (t, s, a, c) => {
23362
23364
  const d = Sp(t, s, a, c);
23363
- return mh(s, d, c), g3(s, d), f3(s, d), S2(s, d, c), MC(s, d, c), {
23365
+ return mh(s, d, c), gT(s, d), fT(s, d), S2(s, d, c), MC(s, d, c), {
23364
23366
  layout: d.layout,
23365
23367
  placement: d.placement
23366
23368
  };
@@ -23470,7 +23472,7 @@ Receiver: ` + jd(s.element), E, g.data);
23470
23472
  ]), nv = (t, s, a, c, d, g, p) => {
23471
23473
  const w = p.map(n1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), $ = w ? s.layouts.bind((W) => W.onBottomLtr.map((J) => J(t))).or(C).getOr(d) : C.getOr(a), N = w ? s.layouts.bind((W) => W.onBottomRtl.map((J) => J(t))).or(E).getOr(g) : E.getOr(c);
23472
23474
  return tv($, N)(t);
23473
- }, p3 = (t, s, a) => {
23475
+ }, pT = (t, s, a) => {
23474
23476
  const c = s.hotspot, d = p2(a, c.element), g = nv(t.element, s, Yb(), d2(), u2(), wC(), D.some(s.hotspot.element));
23475
23477
  return D.some(e1({
23476
23478
  anchorBox: d,
@@ -23479,12 +23481,12 @@ Receiver: ` + jd(s.element), E, g.data);
23479
23481
  layouts: g
23480
23482
  }));
23481
23483
  };
23482
- var b3 = [
23484
+ var bT = [
23483
23485
  nt("hotspot"),
23484
23486
  Uo("bubble"),
23485
23487
  Re("overrides", {}),
23486
23488
  Gf(),
23487
- is("placement", p3)
23489
+ is("placement", pT)
23488
23490
  ];
23489
23491
  const LC = (t, s, a) => {
23490
23492
  const c = b2(a, s.x, s.y), d = Bs(c.left, c.top, s.width, s.height), g = nv(t.element, s, i2(), K0(), i2(), K0(), D.none());
@@ -23495,7 +23497,7 @@ Receiver: ` + jd(s.element), E, g.data);
23495
23497
  layouts: g
23496
23498
  }));
23497
23499
  };
23498
- var v3 = [
23500
+ var vT = [
23499
23501
  nt("x"),
23500
23502
  nt("y"),
23501
23503
  Re("height", 0),
@@ -23514,29 +23516,29 @@ Receiver: ` + jd(s.element), E, g.data);
23514
23516
  "scrollTop"
23515
23517
  ]
23516
23518
  }
23517
- ]), y3 = (t) => t.fold(Nn, (s, a, c) => s.translate(-a, -c)), w3 = (t) => t.fold(Nn, Nn), FC = (t) => Wo(t, (s, a) => s.translate(a.left, a.top), Lo(0, 0)), x3 = (t) => {
23518
- const s = tt(t, y3);
23519
+ ]), yT = (t) => t.fold(Nn, (s, a, c) => s.translate(-a, -c)), wT = (t) => t.fold(Nn, Nn), FC = (t) => Wo(t, (s, a) => s.translate(a.left, a.top), Lo(0, 0)), xT = (t) => {
23520
+ const s = tt(t, yT);
23519
23521
  return FC(s);
23520
23522
  }, HC = (t) => {
23521
- const s = tt(t, w3);
23523
+ const s = tt(t, wT);
23522
23524
  return FC(s);
23523
- }, C3 = T2.screen, ov = T2.absolute, _3 = (t, s, a) => {
23525
+ }, CT = T2.screen, ov = T2.absolute, _T = (t, s, a) => {
23524
23526
  const c = Hl(a.root).dom, d = (g) => {
23525
23527
  const p = fa(g), w = fa(t.element);
23526
23528
  return zo(p, w);
23527
23529
  };
23528
23530
  return D.from(c.frameElement).map(Ae.fromDom).filter(d).map(Cl);
23529
23531
  }, VC = (t, s, a) => {
23530
- const c = fa(t.element), d = Ka(c), g = _3(t, s, a).getOr(d);
23532
+ const c = fa(t.element), d = Ka(c), g = _T(t, s, a).getOr(d);
23531
23533
  return ov(g, d.left, d.top);
23532
23534
  }, Ep = (t, s, a, c) => {
23533
- const d = C3(Lo(t, s));
23535
+ const d = CT(Lo(t, s));
23534
23536
  return D.some(Mm(d, a, c));
23535
23537
  }, E2 = (t, s, a, c, d) => t.map((g) => {
23536
23538
  const p = [
23537
23539
  s,
23538
23540
  g.point
23539
- ], w = o3(c, () => HC(p), () => HC(p), () => x3(p)), C = Id(w.left, w.top, g.width, g.height), E = a.showAbove ? u2() : Yb(), $ = a.showAbove ? wC() : d2(), N = nv(d, a, E, $, E, $, D.none());
23541
+ ], w = oT(c, () => HC(p), () => HC(p), () => xT(p)), C = Id(w.left, w.top, g.width, g.height), E = a.showAbove ? u2() : Yb(), $ = a.showAbove ? wC() : d2(), N = nv(d, a, E, $, E, $, D.none());
23540
23542
  return e1({
23541
23543
  anchorBox: C,
23542
23544
  bubble: a.bubble.getOr(Q0()),
@@ -23573,11 +23575,11 @@ Receiver: ` + jd(s.element), E, g.data);
23573
23575
  ]
23574
23576
  },
23575
23577
  { after: ["element"] }
23576
- ]), k3 = (t, s, a, c) => t.fold(s, a, c), R2 = (t) => t.fold(Nn, Nn, Nn), UC = rv.before, T3 = rv.on, $2 = rv.after, E3 = {
23578
+ ]), kT = (t, s, a, c) => t.fold(s, a, c), R2 = (t) => t.fold(Nn, Nn, Nn), UC = rv.before, TT = rv.on, $2 = rv.after, ET = {
23577
23579
  before: UC,
23578
- on: T3,
23580
+ on: TT,
23579
23581
  after: $2,
23580
- cata: k3,
23582
+ cata: kT,
23581
23583
  getStart: R2
23582
23584
  }, Ap = T.generate([
23583
23585
  { domRange: ["rng"] },
@@ -23595,20 +23597,20 @@ Receiver: ` + jd(s.element), E, g.data);
23595
23597
  "foffset"
23596
23598
  ]
23597
23599
  }
23598
- ]), A3 = (t) => Ap.exact(t.start, t.soffset, t.finish, t.foffset), M2 = (t) => t.match({
23600
+ ]), AT = (t) => Ap.exact(t.start, t.soffset, t.finish, t.foffset), M2 = (t) => t.match({
23599
23601
  domRange: (s) => Ae.fromDom(s.startContainer),
23600
- relative: (s, a) => E3.getStart(s),
23602
+ relative: (s, a) => ET.getStart(s),
23601
23603
  exact: (s, a, c, d) => s
23602
- }), D3 = Ap.domRange, O3 = Ap.relative, R3 = Ap.exact, WC = (t) => {
23604
+ }), DT = Ap.domRange, OT = Ap.relative, RT = Ap.exact, WC = (t) => {
23603
23605
  const s = M2(t);
23604
23606
  return Hl(s);
23605
- }, $3 = sv.create, Ya = {
23606
- domRange: D3,
23607
- relative: O3,
23608
- exact: R3,
23609
- exactFromRange: A3,
23607
+ }, $T = sv.create, Ya = {
23608
+ domRange: DT,
23609
+ relative: OT,
23610
+ exact: RT,
23611
+ exactFromRange: AT,
23610
23612
  getWin: WC,
23611
- range: $3
23613
+ range: $T
23612
23614
  }, gO = (t, s) => {
23613
23615
  s.fold((a) => {
23614
23616
  t.setStartBefore(a.dom);
@@ -23661,7 +23663,7 @@ Receiver: ` + jd(s.element), E, g.data);
23661
23663
  "foffset"
23662
23664
  ]
23663
23665
  }
23664
- ]), o1 = (t, s, a) => s(Ae.fromDom(a.startContainer), a.startOffset, Ae.fromDom(a.endContainer), a.endOffset), M3 = (t, s) => s.match({
23666
+ ]), o1 = (t, s, a) => s(Ae.fromDom(a.startContainer), a.startOffset, Ae.fromDom(a.endContainer), a.endOffset), MT = (t, s) => s.match({
23665
23667
  domRange: (a) => ({
23666
23668
  ltr: ae(a),
23667
23669
  rtl: D.none
@@ -23674,12 +23676,12 @@ Receiver: ` + jd(s.element), E, g.data);
23674
23676
  ltr: Gs(() => ZC(t, a, c, d, g)),
23675
23677
  rtl: Gs(() => D.some(ZC(t, d, g, a, c)))
23676
23678
  })
23677
- }), P3 = (t, s) => {
23679
+ }), PT = (t, s) => {
23678
23680
  const a = s.ltr();
23679
23681
  return a.collapsed ? s.rtl().filter((d) => d.collapsed === !1).map((d) => fh.rtl(Ae.fromDom(d.endContainer), d.endOffset, Ae.fromDom(d.startContainer), d.startOffset)).getOrThunk(() => o1(t, fh.ltr, a)) : o1(t, fh.ltr, a);
23680
23682
  }, s1 = (t, s) => {
23681
- const a = M3(t, s);
23682
- return P3(t, a);
23683
+ const a = MT(t, s);
23684
+ return PT(t, a);
23683
23685
  }, B2 = (t, s) => s1(t, s).match({
23684
23686
  ltr: (c, d, g, p) => {
23685
23687
  const w = t.document.createRange();
@@ -23703,14 +23705,14 @@ Receiver: ` + jd(s.element), E, g.data);
23703
23705
  return D.some(sv.create(Ae.fromDom(s.startContainer), s.startOffset, Ae.fromDom(a.endContainer), a.endOffset));
23704
23706
  } else
23705
23707
  return D.none();
23706
- }, B3 = (t) => {
23708
+ }, BT = (t) => {
23707
23709
  if (t.anchorNode === null || t.focusNode === null)
23708
23710
  return Op(t);
23709
23711
  {
23710
23712
  const s = Ae.fromDom(t.anchorNode), a = Ae.fromDom(t.focusNode);
23711
23713
  return N2(s, t.anchorOffset, a, t.focusOffset) ? D.some(sv.create(s, t.anchorOffset, a, t.focusOffset)) : Op(t);
23712
23714
  }
23713
- }, YC = (t) => hO(t).filter((s) => s.rangeCount > 0).bind(B3), I2 = (t, s) => {
23715
+ }, YC = (t) => hO(t).filter((s) => s.rangeCount > 0).bind(BT), I2 = (t, s) => {
23714
23716
  const a = B2(t, s);
23715
23717
  return jC(a);
23716
23718
  }, r1 = (t, s) => {
@@ -23731,7 +23733,7 @@ Receiver: ` + jd(s.element), E, g.data);
23731
23733
  g.dom.nodeValue = p;
23732
23734
  }
23733
23735
  };
23734
- })(ea, "text"), N3 = (t) => Rp.get(t), qf = (t, s) => ({
23736
+ })(ea, "text"), NT = (t) => Rp.get(t), qf = (t, s) => ({
23735
23737
  element: t,
23736
23738
  offset: s
23737
23739
  }), XC = (t, s) => {
@@ -23741,7 +23743,7 @@ Receiver: ` + jd(s.element), E, g.data);
23741
23743
  if (s < a.length)
23742
23744
  return qf(a[s], 0);
23743
23745
  {
23744
- const c = a[a.length - 1], d = ea(c) ? N3(c).length : Ma(c).length;
23746
+ const c = a[a.length - 1], d = ea(c) ? NT(c).length : Ma(c).length;
23745
23747
  return qf(c, d);
23746
23748
  }
23747
23749
  }, Kf = (t, s) => ea(t) ? qf(t, s) : XC(t, s), Yf = (t) => t.foffset !== void 0, L2 = (t, s) => s.getSelection.getOrThunk(() => () => YC(t))().map((c) => {
@@ -23819,9 +23821,9 @@ Receiver: ` + jd(s.element), E, g.data);
23819
23821
  ], i1 = vo("type", {
23820
23822
  selection: pO,
23821
23823
  node: D2,
23822
- hotspot: b3,
23824
+ hotspot: bT,
23823
23825
  submenu: Mp,
23824
- makeshift: v3
23826
+ makeshift: vT
23825
23827
  });
23826
23828
  const z2 = [
23827
23829
  Ec("classes", ya),
@@ -23839,11 +23841,11 @@ Receiver: ` + jd(s.element), E, g.data);
23839
23841
  ], iv = () => {
23840
23842
  const t = document.documentElement;
23841
23843
  return X0(0, 0, t.clientWidth, t.clientHeight);
23842
- }, I3 = (t) => {
23844
+ }, IT = (t) => {
23843
23845
  const s = Cl(t.element), a = t.element.dom.getBoundingClientRect();
23844
23846
  return Xl(s.left, s.top, a.width, a.height);
23845
23847
  }, e_ = (t, s, a, c, d, g) => {
23846
- const p = r3(s.anchorBox, t);
23848
+ const p = rT(s.anchorBox, t);
23847
23849
  return k2(p, c.element, s.bubble, s.layouts, d, a, s.overrides, g);
23848
23850
  }, U2 = (t, s, a, c, d) => {
23849
23851
  const g = D.none();
@@ -23854,7 +23856,7 @@ Receiver: ` + jd(s.element), E, g.data);
23854
23856
  Yt(C, "position", "fixed");
23855
23857
  const $ = zs(C, "visibility");
23856
23858
  Yt(C, "visibility", "hidden");
23857
- const N = s.useFixed() ? iv() : I3(t);
23859
+ const N = s.useFixed() ? iv() : IT(t);
23858
23860
  w.placement(t, w, N).each((H) => {
23859
23861
  const W = g.orThunk(() => s.getBounds.map(Xt)), J = e_(N, H, W, c, E, p.transition);
23860
23862
  a.set(c.uid, J);
@@ -23917,7 +23919,7 @@ Receiver: ` + jd(s.element), E, g.data);
23917
23919
  qa(t.element, s.element);
23918
23920
  }, hd = (t) => {
23919
23921
  pt(t.components(), (s) => Tc(s.element)), Bd(t.element), t.syncComponents();
23920
- }, L3 = (t, s, a) => {
23922
+ }, LT = (t, s, a) => {
23921
23923
  const c = t.components();
23922
23924
  hd(t);
23923
23925
  const d = a(s), g = zt(c, d);
@@ -23926,7 +23928,7 @@ Receiver: ` + jd(s.element), E, g.data);
23926
23928
  }), pt(d, (p) => {
23927
23929
  Pp(p) ? gh(t, p) : (t.getSystem().addToWorld(p), gh(t, p), po(t.element) && Bp(p));
23928
23930
  }), t.syncComponents();
23929
- }, F3 = (t, s, a) => {
23931
+ }, FT = (t, s, a) => {
23930
23932
  const c = t.components(), d = Te(s, (w) => sp(w).toArray());
23931
23933
  pt(c, (w) => {
23932
23934
  no(d, w) || Np(w);
@@ -23983,7 +23985,7 @@ Receiver: ` + jd(s.element), E, g.data);
23983
23985
  a.get().each((c) => {
23984
23986
  Z2(t), tm(t), s.onClose(t, c), a.clear();
23985
23987
  });
23986
- }, Di = (t, s, a) => a.isOpen(), hh = (t, s, a, c) => Di(t, s, a) && a.get().exists((d) => s.isPartOf(t, d, c)), j2 = (t, s, a) => a.get(), H3 = (t, s, a, c) => {
23988
+ }, Di = (t, s, a) => a.isOpen(), hh = (t, s, a, c) => Di(t, s, a) && a.get().exists((d) => s.isPartOf(t, d, c)), j2 = (t, s, a) => a.get(), HT = (t, s, a, c) => {
23987
23989
  zs(t.element, s).fold(() => {
23988
23990
  le(t.element, a);
23989
23991
  }, (d) => {
@@ -23993,7 +23995,7 @@ Receiver: ` + jd(s.element), E, g.data);
23993
23995
  I(t.element, a).fold(() => Co(t.element, s), (c) => Yt(t.element, s, c));
23994
23996
  }, d1 = (t, s, a) => {
23995
23997
  const c = s.getAttachPoint(t);
23996
- Yt(t.element, "position", Al.getMode(c)), H3(t, "visibility", s.cloakVisibilityAttr, "hidden");
23998
+ Yt(t.element, "position", Al.getMode(c)), HT(t, "visibility", s.cloakVisibilityAttr, "hidden");
23997
23999
  }, o_ = (t) => Ys([
23998
24000
  "top",
23999
24001
  "left",
@@ -24018,7 +24020,7 @@ Receiver: ` + jd(s.element), E, g.data);
24018
24020
  events: (t, s) => As([Qe(R0(), (a, c) => {
24019
24021
  mv(a, t, s);
24020
24022
  })])
24021
- }), z3 = [
24023
+ }), zT = [
24022
24024
  Ao("onOpen"),
24023
24025
  Ao("onClose"),
24024
24026
  nt("isPartOf"),
@@ -24038,7 +24040,7 @@ Receiver: ` + jd(s.element), E, g.data);
24038
24040
  }
24039
24041
  });
24040
24042
  const So = Sa({
24041
- fields: z3,
24043
+ fields: zT,
24042
24044
  name: "sandboxing",
24043
24045
  active: s_,
24044
24046
  apis: fv,
@@ -24056,11 +24058,11 @@ Receiver: ` + jd(s.element), E, g.data);
24056
24058
  }
24057
24059
  }
24058
24060
  };
24059
- }, U3 = Es([
24061
+ }, UT = Es([
24060
24062
  kl("fireEventInstead", [Re("event", Qx())]),
24061
24063
  lu("doReposition")
24062
24064
  ]), Fp = (t) => {
24063
- const s = Sl("Reposition", U3, t);
24065
+ const s = Sl("Reposition", UT, t);
24064
24066
  return {
24065
24067
  [ph()]: {
24066
24068
  onReceive: (a) => {
@@ -24110,7 +24112,7 @@ Receiver: ` + jd(s.element), E, g.data);
24110
24112
  clear: c,
24111
24113
  readState: s
24112
24114
  });
24113
- }, W3 = () => Qc({ readState: he }), l_ = () => {
24115
+ }, WT = () => Qc({ readState: he }), l_ = () => {
24114
24116
  const t = gn({}), s = gn({});
24115
24117
  return Qc({
24116
24118
  readState: () => ({
@@ -24144,16 +24146,16 @@ Receiver: ` + jd(s.element), E, g.data);
24144
24146
  __proto__: null,
24145
24147
  memory: bh,
24146
24148
  dataset: l_,
24147
- manual: W3,
24149
+ manual: WT,
24148
24150
  init: (t) => t.store.manager.state(t)
24149
24151
  });
24150
24152
  const tf = (t, s, a, c) => {
24151
24153
  const d = s.store;
24152
24154
  a.update([c]), d.setValue(t, c), s.onSetValue(t, c);
24153
- }, j3 = (t, s, a) => {
24155
+ }, jT = (t, s, a) => {
24154
24156
  const c = s.store, d = c.getDataKey(t);
24155
24157
  return a.lookup(d).getOrThunk(() => c.getFallbackEntry(d));
24156
- }, G3 = (t, s, a) => {
24158
+ }, GT = (t, s, a) => {
24157
24159
  s.store.initialValue.each((d) => {
24158
24160
  tf(t, s, a, d);
24159
24161
  });
@@ -24167,8 +24169,8 @@ Receiver: ` + jd(s.element), E, g.data);
24167
24169
  nt("setValue"),
24168
24170
  is("manager", {
24169
24171
  setValue: tf,
24170
- getValue: j3,
24171
- onLoad: G3,
24172
+ getValue: jT,
24173
+ onLoad: GT,
24172
24174
  onUnload: c_,
24173
24175
  state: l_
24174
24176
  })
@@ -24198,7 +24200,7 @@ Receiver: ` + jd(s.element), E, g.data);
24198
24200
  s.store.initialValue.each((c) => {
24199
24201
  a.isNotSet() && a.set(c);
24200
24202
  });
24201
- }, q3 = (t, s, a) => {
24203
+ }, qT = (t, s, a) => {
24202
24204
  a.clear();
24203
24205
  };
24204
24206
  var h1 = [
@@ -24207,10 +24209,10 @@ Receiver: ` + jd(s.element), E, g.data);
24207
24209
  setValue: i_,
24208
24210
  getValue: g1,
24209
24211
  onLoad: X2,
24210
- onUnload: q3,
24212
+ onUnload: qT,
24211
24213
  state: bh
24212
24214
  })
24213
- ], K3 = [
24215
+ ], KT = [
24214
24216
  Zl("store", { mode: "memory" }, vo("mode", {
24215
24217
  memory: h1,
24216
24218
  manual: ng,
@@ -24220,7 +24222,7 @@ Receiver: ` + jd(s.element), E, g.data);
24220
24222
  Re("resetOnDom", !1)
24221
24223
  ];
24222
24224
  const Vt = Sa({
24223
- fields: K3,
24225
+ fields: KT,
24224
24226
  name: "representing",
24225
24227
  active: bv,
24226
24228
  apis: tg,
@@ -24289,7 +24291,7 @@ Spec: ` + JSON.stringify(a, null, 2));
24289
24291
  Namespace: ` + t.getOr("none") + `
24290
24292
  Components: ` + JSON.stringify(s.components, null, 2));
24291
24293
  }), g;
24292
- }, Q2 = p1.single, Y3 = p1.multiple, vd = ae(yv), Cv = T.generate([
24294
+ }, Q2 = p1.single, YT = p1.multiple, vd = ae(yv), Cv = T.generate([
24293
24295
  { required: ["data"] },
24294
24296
  { external: ["data"] },
24295
24297
  { optional: ["data"] },
@@ -24340,7 +24342,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24340
24342
  asCommon: g_,
24341
24343
  original: kv
24342
24344
  });
24343
- const _1 = (t, s, a, c) => Go(s.defaults(t, a, c), a, { uid: t.partUids[s.name] }, s.overrides(t, a, c)), X3 = (t, s, a) => {
24345
+ const _1 = (t, s, a, c) => Go(s.defaults(t, a, c), a, { uid: t.partUids[s.name] }, s.overrides(t, a, c)), XT = (t, s, a) => {
24344
24346
  const c = {}, d = {};
24345
24347
  return pt(a, (g) => {
24346
24348
  g.fold((p) => {
@@ -24351,7 +24353,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24351
24353
  }, (p) => {
24352
24354
  c[p.pname] = Q2(!1, (w, C, E) => p.factory.sketch(_1(w, p, C, E)));
24353
24355
  }, (p) => {
24354
- c[p.pname] = Y3(!0, (w, C, E) => {
24356
+ c[p.pname] = YT(!0, (w, C, E) => {
24355
24357
  const $ = w[p.name];
24356
24358
  return tt($, (N) => p.factory.sketch(Go(p.defaults(w, N, E), N, p.overrides(w, N))));
24357
24359
  });
@@ -24385,7 +24387,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24385
24387
  name: s,
24386
24388
  config: a,
24387
24389
  validated: {}
24388
- }), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) => tt(t, f_), tw = (t, s, a) => X3(t, s, a), Tv = (t, s, a) => J2(D.some(t), s, s.components, a), _s = (t, s, a) => {
24390
+ }), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) => tt(t, f_), tw = (t, s, a) => XT(t, s, a), Tv = (t, s, a) => J2(D.some(t), s, s.components, a), _s = (t, s, a) => {
24389
24391
  const c = s.partUids[a];
24390
24392
  return t.getSystem().getByUid(c).toOptional();
24391
24393
  }, sf = (t, s, a) => _s(t, s, a).getOrDie("Could not find part: " + a), v_ = (t, s, a) => {
@@ -24408,7 +24410,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24408
24410
  value: t + "-" + c
24409
24411
  })));
24410
24412
  }, rw = (t) => Ia("partUids", "partUids", Yn((s) => sw(s.uid, t)), Pr());
24411
- var J3 = /* @__PURE__ */ Object.freeze({
24413
+ var JT = /* @__PURE__ */ Object.freeze({
24412
24414
  __proto__: null,
24413
24415
  generate: of,
24414
24416
  generateOne: ew,
@@ -24443,13 +24445,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
24443
24445
  }, Lu = (t) => xo(t, "uid"), og = (t) => Lu(t) ? t : {
24444
24446
  ...t,
24445
24447
  uid: np("uid")
24446
- }, Q3 = (t) => t.uid !== void 0, k1 = Es([
24448
+ }, QT = (t) => t.uid !== void 0, k1 = Es([
24447
24449
  nt("name"),
24448
24450
  nt("factory"),
24449
24451
  nt("configFields"),
24450
24452
  Re("apis", {}),
24451
24453
  Re("extraApis", {})
24452
- ]), eT = Es([
24454
+ ]), e3 = Es([
24453
24455
  nt("name"),
24454
24456
  nt("factory"),
24455
24457
  nt("configFields"),
@@ -24466,7 +24468,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24466
24468
  ...d
24467
24469
  };
24468
24470
  }, Ol = (t) => {
24469
- const s = Sl("Sketcher for " + t.name, eT, t), a = (p) => lw(s.name, s.configFields, s.partFields, s.factory, p), c = of(s.name, s.partFields), d = Ko(s.apis, sh), g = Ko(s.extraApis, (p, w) => Ob(p, w));
24471
+ const s = Sl("Sketcher for " + t.name, e3, t), a = (p) => lw(s.name, s.configFields, s.partFields, s.factory, p), c = of(s.name, s.partFields), d = Ko(s.apis, sh), g = Ko(s.extraApis, (p, w) => Ob(p, w));
24470
24472
  return {
24471
24473
  name: s.name,
24472
24474
  partFields: s.partFields,
@@ -24481,8 +24483,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
24481
24483
  __proto__: null,
24482
24484
  getCurrent: (t, s, a) => s.find(t)
24483
24485
  });
24484
- const tT = [nt("find")], yo = Sa({
24485
- fields: tT,
24486
+ const t3 = [nt("find")], yo = Sa({
24487
+ fields: t3,
24486
24488
  name: "composing",
24487
24489
  apis: y_
24488
24490
  }), cw = [
@@ -24492,23 +24494,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
24492
24494
  "select"
24493
24495
  ], w_ = (t, s, a) => {
24494
24496
  (s.disabled() ? C_ : T1)(t, s);
24495
- }, iw = (t, s) => s.useNative === !0 && no(cw, Ra(t.element)), nT = (t) => X(t.element, "disabled"), oT = (t) => {
24497
+ }, iw = (t, s) => s.useNative === !0 && no(cw, Ra(t.element)), n3 = (t) => X(t.element, "disabled"), o3 = (t) => {
24496
24498
  It(t.element, "disabled", "disabled");
24497
24499
  }, x_ = (t) => {
24498
24500
  le(t.element, "disabled");
24499
- }, sT = (t) => js(t.element, "aria-disabled") === "true", Wt = (t) => {
24501
+ }, s3 = (t) => js(t.element, "aria-disabled") === "true", Wt = (t) => {
24500
24502
  It(t.element, "aria-disabled", "true");
24501
24503
  }, sg = (t) => {
24502
24504
  It(t.element, "aria-disabled", "false");
24503
24505
  }, C_ = (t, s, a) => {
24504
24506
  s.disableClass.each((d) => {
24505
24507
  Nr(t.element, d);
24506
- }), (iw(t, s) ? oT : Wt)(t), s.onDisabled(t);
24508
+ }), (iw(t, s) ? o3 : Wt)(t), s.onDisabled(t);
24507
24509
  }, T1 = (t, s, a) => {
24508
24510
  s.disableClass.each((d) => {
24509
24511
  or(t.element, d);
24510
24512
  }), (iw(t, s) ? x_ : sg)(t), s.onEnabled(t);
24511
- }, E1 = (t, s) => iw(t, s) ? nT(t) : sT(t);
24513
+ }, E1 = (t, s) => iw(t, s) ? n3(t) : s3(t);
24512
24514
  var wO = /* @__PURE__ */ Object.freeze({
24513
24515
  __proto__: null,
24514
24516
  enable: T1,
@@ -24518,7 +24520,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24518
24520
  set: (t, s, a, c) => {
24519
24521
  (c ? C_ : T1)(t, s);
24520
24522
  }
24521
- }), aT = /* @__PURE__ */ Object.freeze({
24523
+ }), a3 = /* @__PURE__ */ Object.freeze({
24522
24524
  __proto__: null,
24523
24525
  exhibit: (t, s) => ei({ classes: s.disabled() ? s.disableClass.toArray() : [] }),
24524
24526
  events: (t, s) => As([
@@ -24535,7 +24537,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24535
24537
  const xn = Sa({
24536
24538
  fields: __,
24537
24539
  name: "disabling",
24538
- active: aT,
24540
+ active: a3,
24539
24541
  apis: wO
24540
24542
  }), rf = (t, s, a, c) => {
24541
24543
  const d = ka(t.element, "." + s.highlightClass);
@@ -24544,11 +24546,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
24544
24546
  s.onDehighlight(t, w), _o(w, B0());
24545
24547
  }));
24546
24548
  });
24547
- }, S_ = (t, s, a) => rf(t, s, a, []), lT = (t, s, a, c) => {
24549
+ }, S_ = (t, s, a) => rf(t, s, a, []), l3 = (t, s, a, c) => {
24548
24550
  Ev(t, s, a, c) && (or(c.element, s.highlightClass), s.onDehighlight(t, c), _o(c, B0()));
24549
24551
  }, A1 = (t, s, a, c) => {
24550
24552
  rf(t, s, a, [c]), Ev(t, s, a, c) || (Nr(c.element, s.highlightClass), s.onHighlight(t, c), _o(c, P0()));
24551
- }, cT = (t, s, a) => {
24553
+ }, c3 = (t, s, a) => {
24552
24554
  Gp(t, s).each((c) => {
24553
24555
  A1(t, s, a, c);
24554
24556
  });
@@ -24557,7 +24559,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24557
24559
  A1(t, s, a, c);
24558
24560
  });
24559
24561
  }, uw = (t, s, a, c) => {
24560
- uT(t, s, a, c).fold((d) => {
24562
+ u3(t, s, a, c).fold((d) => {
24561
24563
  throw d;
24562
24564
  }, (d) => {
24563
24565
  A1(t, s, a, d);
@@ -24567,7 +24569,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24567
24569
  qe(d, c).each((p) => {
24568
24570
  A1(t, s, a, p);
24569
24571
  });
24570
- }, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), iT = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), uT = (t, s, a, c) => {
24572
+ }, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), i3 = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), u3 = (t, s, a, c) => {
24571
24573
  const d = ka(t.element, "." + s.itemClass);
24572
24574
  return D.from(d[c]).fold(() => Vn.error(new Error("No element found with index " + c)), t.getSystem().getByDom);
24573
24575
  }, Gp = (t, s, a) => Ir(t.element, "." + s.itemClass).bind((c) => t.getSystem().getByDom(c).toOptional()), dw = (t, s, a) => {
@@ -24579,25 +24581,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
24579
24581
  const w = yp(p, c, 0, d.length - 1);
24580
24582
  return t.getSystem().getByDom(d[w]).toOptional();
24581
24583
  });
24582
- }, dT = (t, s, a) => E_(t, s, a, -1), mT = (t, s, a) => E_(t, s, a, 1), Av = (t, s, a) => {
24584
+ }, d3 = (t, s, a) => E_(t, s, a, -1), m3 = (t, s, a) => E_(t, s, a, 1), Av = (t, s, a) => {
24583
24585
  const c = ka(t.element, "." + s.itemClass);
24584
24586
  return Oa(tt(c, (d) => t.getSystem().getByDom(d).toOptional()));
24585
24587
  };
24586
24588
  var nm = /* @__PURE__ */ Object.freeze({
24587
24589
  __proto__: null,
24588
24590
  dehighlightAll: S_,
24589
- dehighlight: lT,
24591
+ dehighlight: l3,
24590
24592
  highlight: A1,
24591
- highlightFirst: cT,
24593
+ highlightFirst: c3,
24592
24594
  highlightLast: k_,
24593
24595
  highlightAt: uw,
24594
24596
  highlightBy: T_,
24595
24597
  isHighlighted: Ev,
24596
- getHighlighted: iT,
24598
+ getHighlighted: i3,
24597
24599
  getFirst: Gp,
24598
24600
  getLast: dw,
24599
- getPrevious: dT,
24600
- getNext: mT,
24601
+ getPrevious: d3,
24602
+ getNext: m3,
24601
24603
  getCandidates: Av
24602
24604
  }), Dv = [
24603
24605
  nt("highlightClass"),
@@ -24609,25 +24611,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
24609
24611
  fields: Dv,
24610
24612
  name: "highlighting",
24611
24613
  apis: nm
24612
- }), fT = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
24614
+ }), f3 = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
24613
24615
  const c = qo(t.slice(0, s)), d = qo(t.slice(s + 1));
24614
24616
  return qe(c.concat(d), a);
24615
- }, gT = (t, s, a) => {
24617
+ }, g3 = (t, s, a) => {
24616
24618
  const c = qo(t.slice(0, s));
24617
24619
  return qe(c, a);
24618
24620
  }, fw = (t, s, a) => {
24619
24621
  const c = t.slice(0, s), d = t.slice(s + 1);
24620
24622
  return qe(d.concat(c), a);
24621
- }, hT = (t, s, a) => {
24623
+ }, h3 = (t, s, a) => {
24622
24624
  const c = t.slice(s + 1);
24623
24625
  return qe(c, a);
24624
24626
  }, ko = (t) => (s) => {
24625
24627
  const a = s.raw;
24626
24628
  return no(t, a.which);
24627
- }, $i = (t) => (s) => wn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, pT = (t) => t.raw.ctrlKey === !0, Kp = Ze(cf), $o = (t, s) => ({
24629
+ }, $i = (t) => (s) => wn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, p3 = (t) => t.raw.ctrlKey === !0, Kp = Ze(cf), $o = (t, s) => ({
24628
24630
  matches: t,
24629
24631
  classification: s
24630
- }), bT = (t, s) => qe(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
24632
+ }), b3 = (t, s) => qe(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
24631
24633
  s.exists((d) => a.exists((g) => zo(g, d))) || dn(t, _b(), {
24632
24634
  prevFocus: s,
24633
24635
  newFocus: a
@@ -24674,7 +24676,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24674
24676
  is("sendFocusIn", d)
24675
24677
  ]), p = (E, $, N, H, W) => {
24676
24678
  const J = N(E, $, H, W);
24677
- return bT(J, $.event).bind((de) => de(E, $, H, W));
24679
+ return b3(J, $.event).bind((de) => de(E, $, H, W));
24678
24680
  }, C = {
24679
24681
  schema: g,
24680
24682
  processKey: p,
@@ -24726,10 +24728,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
24726
24728
  const Je = ka(Ce.element, Oe.selector);
24727
24729
  return d(Ce, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(Ce, Je, At, Oe, dt)));
24728
24730
  }, E = (Ce, ve, Oe) => {
24729
- const dt = Oe.cyclic ? mw : gT;
24731
+ const dt = Oe.cyclic ? mw : g3;
24730
24732
  return C(Ce, ve, Oe, dt);
24731
24733
  }, $ = (Ce, ve, Oe) => {
24732
- const dt = Oe.cyclic ? fw : hT;
24734
+ const dt = Oe.cyclic ? fw : h3;
24733
24735
  return C(Ce, ve, Oe, dt);
24734
24736
  }, N = (Ce) => Vl(Ce).bind(hi).exists((ve) => zo(ve, Ce)), H = (Ce, ve, Oe) => d(Ce, Oe).filter((dt) => !Oe.useTabstopAt(dt)).bind((dt) => (N(dt) ? E : $)(Ce, ve, Oe)), W = (Ce, ve, Oe) => Oe.onEnter.bind((dt) => dt(Ce, ve)), J = (Ce, ve, Oe) => Oe.onEscape.bind((dt) => dt(Ce, ve)), de = ae([
24735
24737
  $o($i([
@@ -24757,7 +24759,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24757
24759
  ], lt = (t, s, a) => a.execute(t, s, t.element), Bt = (t, s, a, c) => {
24758
24760
  const d = a.useSpace && !yh(t.element) ? Ri : [], g = a.useEnter ? om : [], p = a.useDown ? D1 : [], w = d.concat(g).concat(p);
24759
24761
  return [$o(ko(w), lt)].concat(a.useControlEnter ? [$o($i([
24760
- pT,
24762
+ p3,
24761
24763
  ko(om)
24762
24764
  ]), lt)] : []);
24763
24765
  }, Pt = (t, s, a, c) => a.useSpace && !yh(t.element) ? [$o(ko(Ri), me)] : [];
@@ -24861,7 +24863,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24861
24863
  }), Pv = (t, s, a, c) => _O(t, s, a, c, (d, g, p, w, C, E, $) => {
24862
24864
  const N = yp(g, p, w, C);
24863
24865
  return N === d ? D.none() : $(N);
24864
- }), vT = [
24866
+ }), v3 = [
24865
24867
  nt("selector"),
24866
24868
  Re("getInitial", D.none),
24867
24869
  Re("execute", te),
@@ -24886,7 +24888,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24886
24888
  $o(ko(Ri), me),
24887
24889
  $o(ko(Ov), eN)
24888
24890
  ]);
24889
- var oN = v(vT, $u.init, tN, nN, () => D.some(TO));
24891
+ var oN = v(v3, $u.init, tN, nN, () => D.some(TO));
24890
24892
  const $_ = (t, s, a) => D.from(t[s]).bind((c) => D.from(c[a]).map((d) => ({
24891
24893
  rowIndex: s,
24892
24894
  columnIndex: a,
@@ -24903,7 +24905,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24903
24905
  }, P_ = (t, s, a, c) => {
24904
24906
  const d = Ei(a + c, 0, t.length - 1), g = t[d].length, p = Ei(s, 0, g - 1);
24905
24907
  return $_(t, d, p);
24906
- }, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1), sN = (t, s, a) => M_(t, a, s, -1), rN = (t, s, a) => M_(t, a, s, 1), aN = (t, s, a) => DO(t, s, a, -1), lN = (t, s, a) => DO(t, s, a, 1), cN = (t, s, a) => P_(t, a, s, -1), iN = (t, s, a) => P_(t, a, s, 1), OO = [
24908
+ }, B_ = (t, s, a) => $1(t, s, a, 1), y3 = (t, s, a) => $1(t, s, a, -1), sN = (t, s, a) => M_(t, a, s, -1), rN = (t, s, a) => M_(t, a, s, 1), aN = (t, s, a) => DO(t, s, a, -1), lN = (t, s, a) => DO(t, s, a, 1), cN = (t, s, a) => P_(t, a, s, -1), iN = (t, s, a) => P_(t, a, s, 1), OO = [
24907
24909
  _i("selectors", [
24908
24910
  nt("row"),
24909
24911
  nt("cell")
@@ -24911,7 +24913,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24911
24913
  Re("cycles", !0),
24912
24914
  Re("previousSelector", D.none),
24913
24915
  Re("execute", te)
24914
- ], wT = (t, s, a) => {
24916
+ ], w3 = (t, s, a) => {
24915
24917
  s.previousSelector(t).orThunk(() => {
24916
24918
  const d = s.selectors;
24917
24919
  return Ir(t.element, d.cell);
@@ -24930,24 +24932,24 @@ Components: ` + JSON.stringify(s.components, null, 2));
24930
24932
  });
24931
24933
  });
24932
24934
  });
24933
- }, RO = N_(yT, aN), Xp = N_(B_, lN), $O = N_(sN, cN), mN = N_(rN, iN), xT = ae([
24935
+ }, RO = N_(y3, aN), Xp = N_(B_, lN), $O = N_(sN, cN), mN = N_(rN, iN), x3 = ae([
24934
24936
  $o(ko(Rv), Gn(RO, Xp)),
24935
24937
  $o(ko(qp), qs(RO, Xp)),
24936
24938
  $o(ko(lf), Mc($O)),
24937
24939
  $o(ko(D1), wh(mN)),
24938
24940
  $o(ko(Ri.concat(om)), uN)
24939
24941
  ]), fN = ae([$o(ko(Ri), me)]);
24940
- var MO = v(OO, $u.init, xT, fN, () => D.some(wT));
24942
+ var MO = v(OO, $u.init, x3, fN, () => D.some(w3));
24941
24943
  const PO = [
24942
24944
  nt("selector"),
24943
24945
  Re("execute", te),
24944
24946
  Re("moveOnTab", !1)
24945
- ], CT = (t, s, a) => a.focusManager.get(t).bind((c) => a.execute(t, s, c)), BO = (t, s, a) => {
24947
+ ], C3 = (t, s, a) => a.focusManager.get(t).bind((c) => a.execute(t, s, c)), BO = (t, s, a) => {
24946
24948
  Ir(t.element, s.selector).each((c) => {
24947
24949
  s.focusManager.set(t, c);
24948
24950
  });
24949
- }, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), gN = (t, s, a, c) => a.moveOnTab ? xh(_T)(t, s, a, c) : D.none(), hN = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), ST = ae([
24950
- $o(ko(lf), xh(_T)),
24951
+ }, _3 = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), gN = (t, s, a, c) => a.moveOnTab ? xh(_3)(t, s, a, c) : D.none(), hN = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), S3 = ae([
24952
+ $o(ko(lf), xh(_3)),
24951
24953
  $o(ko(D1), xh(NO)),
24952
24954
  $o($i([
24953
24955
  cf,
@@ -24957,10 +24959,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
24957
24959
  Kp,
24958
24960
  ko(af)
24959
24961
  ]), hN),
24960
- $o(ko(om), CT),
24961
- $o(ko(Ri), CT)
24962
+ $o(ko(om), C3),
24963
+ $o(ko(Ri), C3)
24962
24964
  ]), pN = ae([$o(ko(Ri), me)]);
24963
- var bN = v(PO, $u.init, ST, pN, () => D.some(BO));
24965
+ var bN = v(PO, $u.init, S3, pN, () => D.some(BO));
24964
24966
  const vN = [
24965
24967
  si("onSpace"),
24966
24968
  si("onEnter"),
@@ -25036,11 +25038,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
25036
25038
  state: tn
25037
25039
  }), Pc = (t, s) => {
25038
25040
  Ut(() => {
25039
- L3(t, s, () => tt(s, t.getSystem().build));
25041
+ LT(t, s, () => tt(s, t.getSystem().build));
25040
25042
  }, t.element);
25041
25043
  }, HO = (t, s) => {
25042
25044
  Ut(() => {
25043
- F3(t, s, () => iO(t.element, s, t.getSystem().buildOrPatch));
25045
+ FT(t, s, () => iO(t.element, s, t.getSystem().buildOrPatch));
25044
25046
  }, t.element);
25045
25047
  }, VO = (t, s, a, c) => {
25046
25048
  Np(s);
@@ -25100,12 +25102,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
25100
25102
  state: $u
25101
25103
  }
25102
25104
  };
25103
- }, kT = (t, s) => {
25105
+ }, k3 = (t, s) => {
25104
25106
  s.ignore || (Oc(t.element), s.onFocus(t));
25105
25107
  };
25106
25108
  var MN = /* @__PURE__ */ Object.freeze({
25107
25109
  __proto__: null,
25108
- focus: kT,
25110
+ focus: k3,
25109
25111
  blur: (t, s) => {
25110
25112
  s.ignore || Cp(t.element);
25111
25113
  },
@@ -25117,7 +25119,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25117
25119
  return ei(a);
25118
25120
  },
25119
25121
  events: (t) => As([Qe(ld(), (s, a) => {
25120
- kT(s, t), a.stop();
25122
+ k3(s, t), a.stop();
25121
25123
  })].concat(t.stopMousedown ? [Qe(uo(), (s, a) => {
25122
25124
  a.event.prevent();
25123
25125
  })] : []))
@@ -25139,7 +25141,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25139
25141
  clear: () => a.set(t),
25140
25142
  readState: () => a.get()
25141
25143
  };
25142
- } }), TT = (t, s, a) => {
25144
+ } }), T3 = (t, s, a) => {
25143
25145
  const c = s.aria;
25144
25146
  c.update(t, c, a.get());
25145
25147
  }, BN = (t, s, a) => {
@@ -25148,21 +25150,21 @@ Components: ` + JSON.stringify(s.components, null, 2));
25148
25150
  });
25149
25151
  }, bw = (t, s, a, c) => {
25150
25152
  const d = a.get();
25151
- a.set(c), BN(t, s, a), TT(t, s, a), d !== c && s.onToggled(t, c);
25153
+ a.set(c), BN(t, s, a), T3(t, s, a), d !== c && s.onToggled(t, c);
25152
25154
  }, qO = (t, s, a) => {
25153
25155
  bw(t, s, a, !a.get());
25154
25156
  }, NN = (t, s, a) => {
25155
25157
  bw(t, s, a, !0);
25156
25158
  }, KO = (t, s, a) => {
25157
25159
  bw(t, s, a, !1);
25158
- }, ET = (t, s, a) => a.get(), H_ = (t, s, a) => {
25160
+ }, E3 = (t, s, a) => a.get(), H_ = (t, s, a) => {
25159
25161
  bw(t, s, a, s.selected);
25160
25162
  };
25161
25163
  var IN = /* @__PURE__ */ Object.freeze({
25162
25164
  __proto__: null,
25163
25165
  onLoad: H_,
25164
25166
  toggle: qO,
25165
- isOn: ET,
25167
+ isOn: E3,
25166
25168
  on: NN,
25167
25169
  off: KO,
25168
25170
  set: bw
@@ -25226,16 +25228,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
25226
25228
  t.map(s).toArray(),
25227
25229
  _h()
25228
25230
  ]));
25229
- }, JO = "alloy.item-hover", QO = "alloy.item-focus", AT = "alloy.item-toggled", ag = (t) => {
25231
+ }, JO = "alloy.item-hover", QO = "alloy.item-focus", A3 = "alloy.item-toggled", ag = (t) => {
25230
25232
  (Pu(t.element).isNone() || _n.isFocused(t)) && (_n.isFocused(t) || _n.focus(t), dn(t, JO, { item: t }));
25231
25233
  }, V_ = (t) => {
25232
25234
  dn(t, QO, { item: t });
25233
25235
  }, VN = (t, s) => {
25234
- dn(t, AT, {
25236
+ dn(t, A3, {
25235
25237
  item: t,
25236
25238
  state: s
25237
25239
  });
25238
- }, DT = ae(JO), eR = ae(QO), tR = ae(AT), OT = (t) => t.toggling.map((s) => s.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), nR = (t) => ({
25240
+ }, D3 = ae(JO), eR = ae(QO), tR = ae(A3), O3 = (t) => t.toggling.map((s) => s.exclusive ? "menuitemradio" : "menuitemcheckbox").getOr("menuitem"), nR = (t) => ({
25239
25241
  aria: { mode: "checked" },
25240
25242
  ...Bl(t, (s, a) => a !== "exclusive"),
25241
25243
  onToggled: (s, a) => {
@@ -25246,7 +25248,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25246
25248
  domModification: {
25247
25249
  ...t.domModification,
25248
25250
  attributes: {
25249
- role: OT(t),
25251
+ role: O3(t),
25250
25252
  ...t.domModification.attributes,
25251
25253
  "aria-haspopup": t.hasSubmenu,
25252
25254
  ...t.hasSubmenu ? { "aria-expanded": !1 } : {}
@@ -25410,7 +25412,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25410
25412
  ignoreFocus: t.fakeFocus,
25411
25413
  domModification: { classes: [t.markers.item] }
25412
25414
  })
25413
- })]), RT = ae([
25415
+ })]), R3 = ae([
25414
25416
  nt("value"),
25415
25417
  nt("items"),
25416
25418
  nt("dom"),
@@ -25482,7 +25484,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25482
25484
  });
25483
25485
  });
25484
25486
  }),
25485
- Qe(DT(), (d, g) => {
25487
+ Qe(D3(), (d, g) => {
25486
25488
  const p = g.event.item;
25487
25489
  Ho.highlight(d, p);
25488
25490
  }),
@@ -25496,7 +25498,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25496
25498
  domModification: { attributes: { role: "menu" } }
25497
25499
  }), P1 = Ol({
25498
25500
  name: "Menu",
25499
- configFields: RT(),
25501
+ configFields: R3(),
25500
25502
  partFields: GN(),
25501
25503
  factory: KN
25502
25504
  }), cR = (t) => yc(t, (s, a) => ({
@@ -25693,7 +25695,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25693
25695
  Qe(U_, (Dt, en) => {
25694
25696
  t.onDehighlightItem(Dt, en.event.menuComp, en.event.itemComp);
25695
25697
  }),
25696
- ...t.navigateOnHover ? [Qe(DT(), (Dt, en) => {
25698
+ ...t.navigateOnHover ? [Qe(D3(), (Dt, en) => {
25697
25699
  const On = en.event.item;
25698
25700
  dt(Dt, On), ve(Dt, On, Me.HighlightParent), t.onHover(Dt, On);
25699
25701
  })] : []
@@ -26039,7 +26041,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26039
26041
  ...g
26040
26042
  };
26041
26043
  }, Jo = (t) => {
26042
- const s = Q3(t) && Ar(t, "uid") ? t.uid : np("memento");
26044
+ const s = QT(t) && Ar(t, "uid") ? t.uid : np("memento");
26043
26045
  return {
26044
26046
  get: (g) => g.getSystem().getByUid(s).getOrDie(),
26045
26047
  getOpt: (g) => g.getSystem().getByUid(s).toOptional(),
@@ -26048,15 +26050,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
26048
26050
  uid: s
26049
26051
  })
26050
26052
  };
26051
- }, { entries: $T, setPrototypeOf: MT, isFrozen: sI, getPrototypeOf: rI, getOwnPropertyDescriptor: aI } = Object;
26052
- let { freeze: fu, seal: df, create: lI } = Object, { apply: W_, construct: PT } = typeof Reflect < "u" && Reflect;
26053
+ }, { entries: $3, setPrototypeOf: M3, isFrozen: sI, getPrototypeOf: rI, getOwnPropertyDescriptor: aI } = Object;
26054
+ let { freeze: fu, seal: df, create: lI } = Object, { apply: W_, construct: P3 } = typeof Reflect < "u" && Reflect;
26053
26055
  W_ || (W_ = function(s, a, c) {
26054
26056
  return s.apply(a, c);
26055
26057
  }), fu || (fu = function(s) {
26056
26058
  return s;
26057
26059
  }), df || (df = function(s) {
26058
26060
  return s;
26059
- }), PT || (PT = function(s, a) {
26061
+ }), P3 || (P3 = function(s, a) {
26060
26062
  return new s(...a);
26061
26063
  });
26062
26064
  const cI = am(Array.prototype.forEach), iI = am(Array.prototype.pop), xw = am(Array.prototype.push), Z_ = am(String.prototype.toLowerCase), kh = am(String.prototype.toString), uI = am(String.prototype.match), mf = am(String.prototype.replace), N1 = am(String.prototype.indexOf), hR = am(String.prototype.trim), yd = am(RegExp.prototype.test), rm = dI(TypeError);
@@ -26071,12 +26073,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
26071
26073
  return function() {
26072
26074
  for (var s = arguments.length, a = new Array(s), c = 0; c < s; c++)
26073
26075
  a[c] = arguments[c];
26074
- return PT(t, a);
26076
+ return P3(t, a);
26075
26077
  };
26076
26078
  }
26077
26079
  function Do(t, s, a) {
26078
26080
  var c;
26079
- a = (c = a) !== null && c !== void 0 ? c : Z_, MT && MT(t, null);
26081
+ a = (c = a) !== null && c !== void 0 ? c : Z_, M3 && M3(t, null);
26080
26082
  let d = s.length;
26081
26083
  for (; d--; ) {
26082
26084
  let g = s[d];
@@ -26090,7 +26092,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26090
26092
  }
26091
26093
  function I1(t) {
26092
26094
  const s = lI(null);
26093
- for (const [a, c] of $T(t))
26095
+ for (const [a, c] of $3(t))
26094
26096
  s[a] = c;
26095
26097
  return s;
26096
26098
  }
@@ -26110,7 +26112,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26110
26112
  }
26111
26113
  return a;
26112
26114
  }
26113
- const BT = fu([
26115
+ const B3 = fu([
26114
26116
  "a",
26115
26117
  "abbr",
26116
26118
  "acronym",
@@ -26228,7 +26230,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26228
26230
  "var",
26229
26231
  "video",
26230
26232
  "wbr"
26231
- ]), NT = fu([
26233
+ ]), N3 = fu([
26232
26234
  "svg",
26233
26235
  "a",
26234
26236
  "altglyph",
@@ -26321,7 +26323,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26321
26323
  "solidcolor",
26322
26324
  "unknown",
26323
26325
  "use"
26324
- ]), IT = fu([
26326
+ ]), I3 = fu([
26325
26327
  "math",
26326
26328
  "menclose",
26327
26329
  "merror",
@@ -26661,7 +26663,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26661
26663
  "y2",
26662
26664
  "z",
26663
26665
  "zoomandpan"
26664
- ]), LT = fu([
26666
+ ]), L3 = fu([
26665
26667
  "accent",
26666
26668
  "accentunder",
26667
26669
  "align",
@@ -26721,15 +26723,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
26721
26723
  "xlink:title",
26722
26724
  "xml:space",
26723
26725
  "xmlns:xlink"
26724
- ]), gI = df(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hI = df(/<%[\w\W]*|[\w\W]*%>/gm), pR = df(/\${[\w\W]*}/gm), pI = df(/^data-[\-\w.\u00B7-\uFFFF]/), FT = df(/^aria-[\-\w]+$/), HT = df(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), bI = df(/^(?:\w+script|data):/i), vI = df(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), bR = df(/^html$/i);
26726
+ ]), gI = df(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hI = df(/<%[\w\W]*|[\w\W]*%>/gm), pR = df(/\${[\w\W]*}/gm), pI = df(/^data-[\-\w.\u00B7-\uFFFF]/), F3 = df(/^aria-[\-\w]+$/), H3 = df(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), bI = df(/^(?:\w+script|data):/i), vI = df(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), bR = df(/^html$/i);
26725
26727
  var q_ = Object.freeze({
26726
26728
  __proto__: null,
26727
26729
  MUSTACHE_EXPR: gI,
26728
26730
  ERB_EXPR: hI,
26729
26731
  TMPLIT_EXPR: pR,
26730
26732
  DATA_ATTR: pI,
26731
- ARIA_ATTR: FT,
26732
- IS_ALLOWED_URI: HT,
26733
+ ARIA_ATTR: F3,
26734
+ IS_ALLOWED_URI: H3,
26733
26735
  IS_SCRIPT_OR_DATA: bI,
26734
26736
  ATTR_WHITESPACE: vI,
26735
26737
  DOCTYPE_NAME: bR
@@ -26769,21 +26771,21 @@ Components: ` + JSON.stringify(s.components, null, 2));
26769
26771
  let Oe, dt = "";
26770
26772
  const { implementation: Je, createNodeIterator: Ge, createDocumentFragment: vt, getElementsByTagName: At } = d, { importNode: Wn } = a;
26771
26773
  let jt = {};
26772
- s.isSupported = typeof $T == "function" && typeof ve == "function" && Je && Je.createHTMLDocument !== void 0;
26774
+ s.isSupported = typeof $3 == "function" && typeof ve == "function" && Je && Je.createHTMLDocument !== void 0;
26773
26775
  const { MUSTACHE_EXPR: Dn, ERB_EXPR: Sn, TMPLIT_EXPR: Yo, DATA_ATTR: bn, ARIA_ATTR: Ro, IS_SCRIPT_OR_DATA: Dt, ATTR_WHITESPACE: en } = q_;
26774
26776
  let { IS_ALLOWED_URI: On } = q_, Pn = null;
26775
26777
  const yn = Do({}, [
26776
- ...BT,
26777
- ...NT,
26778
+ ...B3,
26779
+ ...N3,
26778
26780
  ..._w,
26779
- ...IT,
26781
+ ...I3,
26780
26782
  ...Sw
26781
26783
  ]);
26782
26784
  let Hn = null;
26783
26785
  const ks = Do({}, [
26784
26786
  ...j_,
26785
26787
  ...G_,
26786
- ...LT,
26788
+ ...L3,
26787
26789
  ...kw
26788
26790
  ]);
26789
26791
  let Mo = Object.seal(Object.create(null, {
@@ -26877,7 +26879,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26877
26879
  return Ue instanceof RegExp || Ue instanceof Function;
26878
26880
  }, Ej = function(Ue) {
26879
26881
  if (!(E4 && E4 === Ue)) {
26880
- if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, H7 = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || HT, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, BT), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, NT), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, IT), Do(Hn, LT), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
26882
+ if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, H7 = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || H3, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, B3), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, N3), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, I3), Do(Hn, L3), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
26881
26883
  "html",
26882
26884
  "head",
26883
26885
  "body"
@@ -26908,9 +26910,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
26908
26910
  "font",
26909
26911
  "a",
26910
26912
  "script"
26911
- ]), U7 = Do({}, NT);
26913
+ ]), U7 = Do({}, N3);
26912
26914
  Do(U7, _w), Do(U7, mI);
26913
- const Aj = Do({}, IT);
26915
+ const Aj = Do({}, I3);
26914
26916
  Do(Aj, fI);
26915
26917
  const Oq = function(Ue) {
26916
26918
  let sn = ve(Ue);
@@ -27150,7 +27152,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27150
27152
  }, s;
27151
27153
  }
27152
27154
  var vR = Ew();
27153
- const VT = (t) => vR().sanitize(t);
27155
+ const V3 = (t) => vR().sanitize(t);
27154
27156
  var Hu = tinymce.util.Tools.resolve("tinymce.util.I18n");
27155
27157
  const wI = {
27156
27158
  indent: !0,
@@ -27163,24 +27165,24 @@ Components: ` + JSON.stringify(s.components, null, 2));
27163
27165
  "list-bull-circle": !0,
27164
27166
  "list-bull-default": !0,
27165
27167
  "list-bull-square": !0
27166
- }, yR = "temporary-placeholder", zT = (t) => () => bt(t, yR).getOr("!not found!"), Aw = (t, s) => {
27168
+ }, yR = "temporary-placeholder", z3 = (t) => () => bt(t, yR).getOr("!not found!"), Aw = (t, s) => {
27167
27169
  const a = t.toLowerCase();
27168
27170
  if (Hu.isRtl()) {
27169
27171
  const c = xr(a, "-rtl");
27170
27172
  return xo(s, c) ? c : a;
27171
27173
  } else
27172
27174
  return a;
27173
- }, UT = (t, s) => bt(s, Aw(t, s)), WT = (t, s) => {
27175
+ }, U3 = (t, s) => bt(s, Aw(t, s)), W3 = (t, s) => {
27174
27176
  const a = s();
27175
- return UT(t, a).getOrThunk(zT(a));
27176
- }, ZT = (t, s, a) => {
27177
+ return U3(t, a).getOrThunk(z3(a));
27178
+ }, Z3 = (t, s, a) => {
27177
27179
  const c = s();
27178
- return UT(t, c).or(a).getOrThunk(zT(c));
27180
+ return U3(t, c).or(a).getOrThunk(z3(c));
27179
27181
  }, xI = (t) => Hu.isRtl() ? xo(wI, t) : !1, K_ = () => Un("add-focusable", [Cs((t) => {
27180
27182
  Ub(t.element, "svg").each((s) => It(s, "focusable", "false"));
27181
27183
  })]), wR = (t, s, a, c) => {
27182
27184
  var d, g;
27183
- const p = xI(s) ? ["tox-icon--flip"] : [], w = bt(a, Aw(s, a)).or(c).getOrThunk(zT(a));
27185
+ const p = xI(s) ? ["tox-icon--flip"] : [], w = bt(a, Aw(s, a)).or(c).getOrThunk(z3(a));
27184
27186
  return {
27185
27187
  dom: {
27186
27188
  tag: t.tag,
@@ -27203,11 +27205,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
27203
27205
  warning: "warning",
27204
27206
  warn: "warning",
27205
27207
  info: "info"
27206
- }, jT = ri({
27208
+ }, j3 = ri({
27207
27209
  name: "Notification",
27208
27210
  factory: (t) => {
27209
27211
  const s = Jo({
27210
- dom: Sh(`<p>${VT(t.translationProvider(t.text))}</p>`),
27212
+ dom: Sh(`<p>${V3(t.translationProvider(t.text))}</p>`),
27211
27213
  behaviours: xt([Fn.config({})])
27212
27214
  }), a = (W) => ({
27213
27215
  dom: {
@@ -27340,7 +27342,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27340
27342
  }
27341
27343
  }
27342
27344
  });
27343
- var GT = (t, s, a) => {
27345
+ var G3 = (t, s, a) => {
27344
27346
  const c = s.backstage.shared, d = () => {
27345
27347
  const C = Xs(Ae.fromDom(t.getContentAreaContainer())), E = na(), $ = Ei(E.x, C.x, C.right), N = Ei(E.y, C.y, C.bottom), H = Math.max(C.right, E.right), W = Math.max(C.bottom, E.bottom);
27346
27348
  return D.some(Bs($, N, H - $, W - N));
@@ -27349,7 +27351,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27349
27351
  open: (C, E) => {
27350
27352
  const $ = () => {
27351
27353
  E(), dr.hide(H);
27352
- }, N = Tl(jT.sketch({
27354
+ }, N = Tl(j3.sketch({
27353
27355
  text: C.text,
27354
27356
  level: no([
27355
27357
  "success",
@@ -27402,13 +27404,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
27402
27404
  });
27403
27405
  },
27404
27406
  text: (de) => {
27405
- jT.updateText(N, de);
27407
+ j3.updateText(N, de);
27406
27408
  },
27407
27409
  settings: C,
27408
27410
  getEl: () => N.element.dom,
27409
27411
  progressBar: {
27410
27412
  value: (de) => {
27411
- jT.updateProgress(N, de);
27413
+ j3.updateProgress(N, de);
27412
27414
  }
27413
27415
  }
27414
27416
  };
@@ -27540,7 +27542,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27540
27542
  processor: "string[]",
27541
27543
  default: []
27542
27544
  });
27543
- }, SR = Ds("readonly"), Y_ = Ds("height"), Rw = Ds("width"), qT = Ow(Ds("min_width")), Fv = Ow(Ds("min_height")), X_ = Ow(Ds("max_width")), KT = Ow(Ds("max_height")), kR = Ow(Ds("style_formats")), TR = Ds("style_formats_merge"), ER = Ds("style_formats_autohide"), AR = Ds("content_langs"), YT = Ds("removed_menuitems"), Hv = Ds("toolbar_mode"), DR = Ds("toolbar_groups"), $w = Ds("toolbar_location"), F1 = Ds("fixed_toolbar_container"), _I = Ds("fixed_toolbar_container_target"), OR = Ds("toolbar_persist"), J_ = Ds("toolbar_sticky_offset"), XT = Ds("menubar"), Q_ = Ds("toolbar"), RR = Ds("file_picker_callback"), JT = Ds("file_picker_validator_handler"), $R = Ds("font_size_input_default_unit"), QT = Ds("file_picker_types"), eE = Ds("typeahead_urls"), eS = Ds("anchor_top"), MR = Ds("anchor_bottom"), tE = Ds("draggable_modal"), PR = Ds("statusbar"), Vv = Ds("elementpath"), nE = Ds("branding"), BR = Ds("resize"), tS = Ds("paste_as_text"), nS = Ds("sidebar_show"), NR = Ds("promotion"), oS = Ds("help_accessibility"), IR = Ds("default_font_stack"), oE = (t) => t.options.get("skin") === !1, zv = (t) => t.options.get("menubar") !== !1, sS = (t) => {
27545
+ }, SR = Ds("readonly"), Y_ = Ds("height"), Rw = Ds("width"), q3 = Ow(Ds("min_width")), Fv = Ow(Ds("min_height")), X_ = Ow(Ds("max_width")), K3 = Ow(Ds("max_height")), kR = Ow(Ds("style_formats")), TR = Ds("style_formats_merge"), ER = Ds("style_formats_autohide"), AR = Ds("content_langs"), Y3 = Ds("removed_menuitems"), Hv = Ds("toolbar_mode"), DR = Ds("toolbar_groups"), $w = Ds("toolbar_location"), F1 = Ds("fixed_toolbar_container"), _I = Ds("fixed_toolbar_container_target"), OR = Ds("toolbar_persist"), J_ = Ds("toolbar_sticky_offset"), X3 = Ds("menubar"), Q_ = Ds("toolbar"), RR = Ds("file_picker_callback"), J3 = Ds("file_picker_validator_handler"), $R = Ds("font_size_input_default_unit"), Q3 = Ds("file_picker_types"), eE = Ds("typeahead_urls"), eS = Ds("anchor_top"), MR = Ds("anchor_bottom"), tE = Ds("draggable_modal"), PR = Ds("statusbar"), Vv = Ds("elementpath"), nE = Ds("branding"), BR = Ds("resize"), tS = Ds("paste_as_text"), nS = Ds("sidebar_show"), NR = Ds("promotion"), oS = Ds("help_accessibility"), IR = Ds("default_font_stack"), oE = (t) => t.options.get("skin") === !1, zv = (t) => t.options.get("menubar") !== !1, sS = (t) => {
27544
27546
  const s = t.options.get("skin_url");
27545
27547
  if (oE(t))
27546
27548
  return s;
@@ -27590,16 +27592,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
27590
27592
  isSkinDisabled: oE,
27591
27593
  getHeightOption: Y_,
27592
27594
  getWidthOption: Rw,
27593
- getMinWidthOption: qT,
27595
+ getMinWidthOption: q3,
27594
27596
  getMinHeightOption: Fv,
27595
27597
  getMaxWidthOption: X_,
27596
- getMaxHeightOption: KT,
27598
+ getMaxHeightOption: K3,
27597
27599
  getUserStyleFormats: kR,
27598
27600
  shouldMergeStyleFormats: TR,
27599
27601
  shouldAutoHideStyleFormats: ER,
27600
27602
  getLineHeightFormats: LR,
27601
27603
  getContentLanguages: AR,
27602
- getRemovedMenuItems: YT,
27604
+ getRemovedMenuItems: Y3,
27603
27605
  isMenubarEnabled: zv,
27604
27606
  isMultipleToolbars: Mw,
27605
27607
  isToolbarEnabled: aS,
@@ -27617,14 +27619,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
27617
27619
  isToolbarLocationBottom: rE,
27618
27620
  getToolbarGroups: DR,
27619
27621
  getMenus: HR,
27620
- getMenubar: XT,
27622
+ getMenubar: X3,
27621
27623
  getToolbar: Q_,
27622
27624
  getFilePickerCallback: RR,
27623
- getFilePickerTypes: QT,
27625
+ getFilePickerTypes: Q3,
27624
27626
  useTypeaheadUrls: eE,
27625
27627
  getAnchorTop: eS,
27626
27628
  getAnchorBottom: MR,
27627
- getFilePickerValidatorHandler: JT,
27629
+ getFilePickerValidatorHandler: J3,
27628
27630
  getFontSizeInputDefaultUnit: $R,
27629
27631
  useStatusBar: PR,
27630
27632
  useElementPath: Vv,
@@ -28438,7 +28440,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28438
28440
  }
28439
28441
  }
28440
28442
  }), CS = (t, s, a) => {
28441
- const c = "custom", d = "remove", g = t.ariaLabel, p = t.value, w = t.iconContent.map((E) => ZT(E, s.icons, a));
28443
+ const c = "custom", d = "remove", g = t.ariaLabel, p = t.value, w = t.iconContent.map((E) => Z3(E, s.icons, a));
28442
28444
  return {
28443
28445
  dom: (() => {
28444
28446
  const E = dE, $ = w.getOr(""), H = {
@@ -29910,7 +29912,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29910
29912
  }
29911
29913
  ]);
29912
29914
  return { fireIfReady: (E, $) => bt(w, $).bind((N) => N(E)) };
29913
- }, CF = (t) => t.raw.which === fT[0] && !no([
29915
+ }, CF = (t) => t.raw.which === f3[0] && !no([
29914
29916
  "input",
29915
29917
  "textarea"
29916
29918
  ], Ra(t.target)) && !Yw(t.target, '[contenteditable="true"]'), _F = (t, s) => {
@@ -33876,7 +33878,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
33876
33878
  ])
33877
33879
  });
33878
33880
  }, xA = (t, s) => {
33879
- const a = WT(t.icon, s.icons);
33881
+ const a = W3(t.icon, s.icons);
33880
33882
  return gf.sketch({
33881
33883
  dom: {
33882
33884
  tag: "div",
@@ -34473,7 +34475,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34473
34475
  const a = Sx(), c = bt(a, s).getOr([]), d = so(c, (g) => g !== t);
34474
34476
  a[s] = [t].concat(d).slice(0, OA), OV(a);
34475
34477
  }, $A = (t) => !!t, RV = (t) => Ko($h.makeMap(t, /[, ]/), $A), xk = (t) => D.from(RR(t)), q8 = (t) => {
34476
- const s = D.from(QT(t)).filter($A).map(RV);
34478
+ const s = D.from(Q3(t)).filter($A).map(RV);
34477
34479
  return xk(t).fold(Cn, (a) => s.fold(Nt, (c) => bs(c).length > 0 ? c : !1));
34478
34480
  }, K8 = (t, s) => {
34479
34481
  const a = q8(t);
@@ -34498,7 +34500,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34498
34500
  targets: DV.find(t.getBody()),
34499
34501
  anchorTop: Ck(eS(t)),
34500
34502
  anchorBottom: Ck(MR(t))
34501
- }) : D.none(), MV = (t) => D.from(JT(t)), PV = (t) => ({
34503
+ }) : D.none(), MV = (t) => D.from(J3(t)), PV = (t) => ({
34502
34504
  getHistory: RA,
34503
34505
  addToHistory: kx,
34504
34506
  getLinkInformation: () => _k(t),
@@ -34596,7 +34598,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
34596
34598
  ...a
34597
34599
  ], (Ge) => Ge.destroy());
34598
34600
  });
34599
- }, Qa = J3, yf = h_, MA = ae([
34601
+ }, Qa = JT, yf = h_, MA = ae([
34600
34602
  Re("shell", !1),
34601
34603
  nt("makeItem"),
34602
34604
  Re("setupItem", he),
@@ -35423,7 +35425,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
35423
35425
  ], Tz = /* @__PURE__ */ Object.freeze({
35424
35426
  __proto__: null,
35425
35427
  init: () => {
35426
- const t = i3(), s = (a) => {
35428
+ const t = iT(), s = (a) => {
35427
35429
  t.set({ destroy: a });
35428
35430
  };
35429
35431
  return Qc({
@@ -36597,7 +36599,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
36597
36599
  items: "help"
36598
36600
  }
36599
36601
  }, fU = (t, s, a) => {
36600
- const c = YT(a).split(/[ ,]/);
36602
+ const c = Y3(a).split(/[ ,]/);
36601
36603
  return {
36602
36604
  text: t.title,
36603
36605
  getItems: () => Te(t.items, (d) => {
@@ -37620,7 +37622,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
37620
37622
  "tox-tbtn",
37621
37623
  "tox-split-button__chevron"
37622
37624
  ],
37623
- innerHtml: WT("chevron-down", s.providers.icons)
37625
+ innerHtml: W3("chevron-down", s.providers.icons)
37624
37626
  },
37625
37627
  buttonBehaviours: xt([
37626
37628
  la.splitButton(s.providers.isDisabled),
@@ -37835,10 +37837,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
37835
37837
  const c = s.filter((g) => t < g), d = a.filter((g) => t > g);
37836
37838
  return c.or(d).getOr(t);
37837
37839
  }, aW = (t) => {
37838
- const s = Y_(t), a = Fv(t), c = KT(t);
37840
+ const s = Y_(t), a = Fv(t), c = K3(t);
37839
37841
  return _D(s).map((d) => Xk(d, a, c));
37840
37842
  }, lW = (t) => aW(t).getOr(Y_(t)), DB = (t) => {
37841
- const s = Rw(t), a = qT(t), c = X_(t);
37843
+ const s = Rw(t), a = q3(t), c = X_(t);
37842
37844
  return _D(s).map((d) => Xk(d, a, c));
37843
37845
  }, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
37844
37846
  const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, Ce = (bn) => J ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
@@ -39719,8 +39721,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
39719
39721
  t[t.None = 0] = "None", t[t.Both = 1] = "Both", t[t.Vertical = 2] = "Vertical";
39720
39722
  })(v0 || (v0 = {}));
39721
39723
  const FZ = (t, s, a, c, d) => {
39722
- const g = { height: Xk(c + s.top, Fv(t), KT(t)) };
39723
- return a === v0.Both && (g.width = Xk(d + s.left, qT(t), X_(t))), g;
39724
+ const g = { height: Xk(c + s.top, Fv(t), K3(t)) };
39725
+ return a === v0.Both && (g.width = Xk(d + s.left, q3(t), X_(t))), g;
39724
39726
  }, x7 = (t, s, a) => {
39725
39727
  const c = Ae.fromDom(t.getContainer()), d = FZ(t, s, a, Us(c), Wr(c));
39726
39728
  ds(d, (g, p) => {
@@ -40115,7 +40117,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
40115
40117
  const { buttons: bl, menuItems: zi, contextToolbars: Od, sidebars: xm, views: S0 } = t.ui.registry.getAll(), mb = sE(t), _f = {
40116
40118
  menuItems: zi,
40117
40119
  menus: HR(t),
40118
- menubar: XT(t),
40120
+ menubar: X3(t),
40119
40121
  toolbar: mb.getOrThunk(() => Q_(t)),
40120
40122
  allowToolbarGroups: J === gu.floating,
40121
40123
  buttons: bl,
@@ -41148,7 +41150,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
41148
41150
  tag: "div",
41149
41151
  classes: ["tox-dialog__body-content"]
41150
41152
  },
41151
- components: [{ dom: Sh(`<p>${VT(s.translate(t))}</p>`) }]
41153
+ components: [{ dom: Sh(`<p>${V3(s.translate(t))}</p>`) }]
41152
41154
  }]
41153
41155
  }), C0 = (t) => Kr.parts.footer({
41154
41156
  dom: {
@@ -42063,7 +42065,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
42063
42065
  popup: c.backstage,
42064
42066
  dialog: a.backstage
42065
42067
  }
42066
- }), w = () => GT(t, { backstage: c.backstage }, c.getMothership());
42068
+ }), w = () => G3(t, { backstage: c.backstage }, c.getMothership());
42067
42069
  return {
42068
42070
  renderUI: g,
42069
42071
  getWindowManagerImpl: ae(p),
@@ -44573,7 +44575,7 @@ Required: ` + m.join(", "));
44573
44575
  }, xC = (i, m, h, v) => {
44574
44576
  const O = br(m, (L, j) => Kl(L, j, h, v.unmerge(j)), i);
44575
44577
  return wp(O, pe.from(m[0]));
44576
- }, e3 = (i, m, h, v) => {
44578
+ }, eT = (i, m, h, v) => {
44577
44579
  const O = ((te, me) => {
44578
44580
  const De = Yn.fromTable(te);
44579
44581
  return up(De, me, !0);
@@ -44618,22 +44620,22 @@ Required: ` + m.join(", "));
44618
44620
  }, Dc = (i) => (m, h) => Hf(m, h).filter((v) => !(i ? _C : Jb)(m, v)).map((v) => ({
44619
44621
  details: v,
44620
44622
  pixelDelta: f2(m, v)
44621
- })), t3 = (i, m) => Gm(i, m).map((h) => ({
44623
+ })), tT = (i, m) => Gm(i, m).map((h) => ({
44622
44624
  details: h,
44623
44625
  pixelDelta: -f2(i, h)
44624
- })), SC = (i) => (m, h) => dp(m, h).filter((v) => !(i ? _C : Jb)(m, v.cells)), Oc = Le.transform("th"), Cp = Le.transform("td"), Y0 = fl(gl, Hf, Ot, Ot, Le.modification), Jd = fl(gc, Hf, Ot, Ot, Le.modification), Pu = fl(El, Dc(!0), Sa, Ot, Le.modification), Ut = fl(Yl, Dc(!1), Sa, Ot, Le.modification), Ai = fl(d2, t3, Sa, G0, Le.modification), kC = fl(J4, Hf, Ot, G0, Le.modification), TC = fl(_a, Gm, Ot, Ot, Oc), g2 = fl(q0, Gm, Ot, Ot, Cp), EC = fl(u2, Gm, Ot, Ot, Oc), h2 = fl(wC, Gm, Ot, Ot, Cp), p2 = fl(Yb, Gm, Ot, Ot, Cp), n3 = fl(c2, Gm, Ot, Ot, Oc), b2 = fl(i2, Gm, Ot, Ot, Cp), o3 = fl(Q4, iO, m2, Ot, Le.merging), Xl = fl(xC, uO, m2, Ot, Le.merging), X0 = fl(e3, V0, m2, Ot, Le.modification), s3 = fl(Xb, SC(!0), Ot, Ot, Le.modification), r3 = fl(CC, SC(!1), Ot, Ot, Le.modification), v2 = fl(dO, dp, Ot, Ot, Le.modification), a3 = fl(Ac, dp, Ot, Ot, Le.modification), AC = mO, DC = fd, J0 = xt, OC = (i, m) => i.dispatch("NewRow", { node: m }), y2 = (i, m) => i.dispatch("NewCell", { node: m }), dh = (i, m, h) => {
44626
+ })), SC = (i) => (m, h) => dp(m, h).filter((v) => !(i ? _C : Jb)(m, v.cells)), Oc = Le.transform("th"), Cp = Le.transform("td"), Y0 = fl(gl, Hf, Ot, Ot, Le.modification), Jd = fl(gc, Hf, Ot, Ot, Le.modification), Pu = fl(El, Dc(!0), Sa, Ot, Le.modification), Ut = fl(Yl, Dc(!1), Sa, Ot, Le.modification), Ai = fl(d2, tT, Sa, G0, Le.modification), kC = fl(J4, Hf, Ot, G0, Le.modification), TC = fl(_a, Gm, Ot, Ot, Oc), g2 = fl(q0, Gm, Ot, Ot, Cp), EC = fl(u2, Gm, Ot, Ot, Oc), h2 = fl(wC, Gm, Ot, Ot, Cp), p2 = fl(Yb, Gm, Ot, Ot, Cp), nT = fl(c2, Gm, Ot, Ot, Oc), b2 = fl(i2, Gm, Ot, Ot, Cp), oT = fl(Q4, iO, m2, Ot, Le.merging), Xl = fl(xC, uO, m2, Ot, Le.merging), X0 = fl(eT, V0, m2, Ot, Le.modification), sT = fl(Xb, SC(!0), Ot, Ot, Le.modification), rT = fl(CC, SC(!1), Ot, Ot, Le.modification), v2 = fl(dO, dp, Ot, Ot, Le.modification), aT = fl(Ac, dp, Ot, Ot, Le.modification), AC = mO, DC = fd, J0 = xt, OC = (i, m) => i.dispatch("NewRow", { node: m }), y2 = (i, m) => i.dispatch("NewCell", { node: m }), dh = (i, m, h) => {
44625
44627
  i.dispatch("TableModified", {
44626
44628
  ...h,
44627
44629
  table: m
44628
44630
  });
44629
- }, l3 = (i, m, h, v, S) => {
44631
+ }, lT = (i, m, h, v, S) => {
44630
44632
  i.dispatch("TableSelectionChange", {
44631
44633
  cells: m,
44632
44634
  start: h,
44633
44635
  finish: v,
44634
44636
  otherCells: S
44635
44637
  });
44636
- }, c3 = (i) => {
44638
+ }, cT = (i) => {
44637
44639
  i.dispatch("TableSelectionClear");
44638
44640
  }, w2 = (i, m, h, v, S) => {
44639
44641
  i.dispatch("ObjectResizeStart", {
@@ -44642,7 +44644,7 @@ Required: ` + m.join(", "));
44642
44644
  height: v,
44643
44645
  origin: S
44644
44646
  });
44645
- }, i3 = (i, m, h, v, S) => {
44647
+ }, iT = (i, m, h, v, S) => {
44646
44648
  i.dispatch("ObjectResized", {
44647
44649
  target: m,
44648
44650
  width: h,
@@ -44699,7 +44701,7 @@ Required: ` + m.join(", "));
44699
44701
  effect: sm
44700
44702
  }));
44701
44703
  }) : pe.none();
44702
- }, lt = De(kC, S, Ot, ro), Bt = De(Ai, O, Ot, ro), Pt = De(Y0, Ze, Ot, ro), et = De(Jd, Ze, Ot, ro), Lt = De(Pu, Ze, j, ro), Xe = De(Ut, Ze, j, ro), tn = De(o3, Ze, Ot, ro), En = De(Xl, Ze, Ot, ro), Gn = De(s3, Ze, Ot, ro), qs = De(r3, Ze, Ot, ro), Ta = De(v2, Ze, Ot, ro), kr = De(a3, Ze, Ot, ro), Mc = De(X0, Ze, Ot, x2), wh = De(n3, Ze, Ot, ro), xh = De(b2, Ze, Ot, ro), hw = De(TC, Ze, Ot, ro), $v = De(g2, Ze, Ot, ro), ms = De(EC, Ze, Ot, ro), ec = De(h2, Ze, Ot, ro), pl = De(p2, Ze, Ot, ro);
44704
+ }, lt = De(kC, S, Ot, ro), Bt = De(Ai, O, Ot, ro), Pt = De(Y0, Ze, Ot, ro), et = De(Jd, Ze, Ot, ro), Lt = De(Pu, Ze, j, ro), Xe = De(Ut, Ze, j, ro), tn = De(oT, Ze, Ot, ro), En = De(Xl, Ze, Ot, ro), Gn = De(sT, Ze, Ot, ro), qs = De(rT, Ze, Ot, ro), Ta = De(v2, Ze, Ot, ro), kr = De(aT, Ze, Ot, ro), Mc = De(X0, Ze, Ot, x2), wh = De(nT, Ze, Ot, ro), xh = De(b2, Ze, Ot, ro), hw = De(TC, Ze, Ot, ro), $v = De(g2, Ze, Ot, ro), ms = De(EC, Ze, Ot, ro), ec = De(h2, Ze, Ot, ro), pl = De(p2, Ze, Ot, ro);
44703
44705
  return {
44704
44706
  deleteRow: lt,
44705
44707
  deleteColumn: Bt,
@@ -44746,7 +44748,7 @@ Required: ` + m.join(", "));
44746
44748
  return C2(te, "colspan", h - m), te;
44747
44749
  }), L = Ae.fromTag("tr");
44748
44750
  return Rr(L, O), L;
44749
- }), u3 = (i, m) => {
44751
+ }), uT = (i, m) => {
44750
44752
  const h = Yn.fromTable(i);
44751
44753
  return Gm(h, m).map((S) => {
44752
44754
  const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, te = ev(h, L, j), me = RC(h, L, j);
@@ -44755,7 +44757,7 @@ Required: ` + m.join(", "));
44755
44757
  ...me
44756
44758
  ];
44757
44759
  });
44758
- }, d3 = (i, m, h) => {
44760
+ }, dT = (i, m, h) => {
44759
44761
  const v = Yn.fromTable(i);
44760
44762
  return Hf(v, m).bind((O) => {
44761
44763
  const L = up(v, h, !1), te = Mr(L).rows.slice(O[0].row, O[O.length - 1].row + O[O.length - 1].rowspan), me = rs(te, (lt) => {
@@ -44777,10 +44779,10 @@ Required: ` + m.join(", "));
44777
44779
  }, jf = {
44778
44780
  ..._p,
44779
44781
  from: (i) => Qi(i, "%") ? $C("%", _p.percent, i) : Qi(i, "px") ? $C("px", _p.pixels, i) : _p.invalid(i)
44780
- }, m3 = (i, m) => _t(i, (h) => jf.from(h).fold(() => h, (S) => S / m * 100 + "%", (S) => S + "%")), Sp = (i, m, h) => {
44782
+ }, mT = (i, m) => _t(i, (h) => jf.from(h).fold(() => h, (S) => S / m * 100 + "%", (S) => S + "%")), Sp = (i, m, h) => {
44781
44783
  const v = h / m;
44782
44784
  return _t(i, (S) => jf.from(S).fold(() => S, (L) => L * v + "px", (L) => L / 100 * h + "px"));
44783
- }, f3 = (i, m) => {
44785
+ }, fT = (i, m) => {
44784
44786
  const h = i.fold(() => he(""), (v) => {
44785
44787
  const S = v / m;
44786
44788
  return he(S + "px");
@@ -44789,10 +44791,10 @@ Required: ` + m.join(", "));
44789
44791
  return he(v + "%");
44790
44792
  });
44791
44793
  return Ht(m, h);
44792
- }, S2 = (i, m, h) => i.fold(() => m, (v) => Sp(m, h, v), (v) => m3(m, h)), MC = (i, m, h) => {
44793
- const v = jf.from(h), S = Wo(i, (O) => O === "0px") ? f3(v, i.length) : S2(v, i, m);
44794
+ }, S2 = (i, m, h) => i.fold(() => m, (v) => Sp(m, h, v), (v) => mT(m, h)), MC = (i, m, h) => {
44795
+ const v = jf.from(h), S = Wo(i, (O) => O === "0px") ? fT(v, i.length) : S2(v, i, m);
44794
44796
  return BC(S);
44795
- }, mh = (i, m) => i.length === 0 ? m : br(i, (h, v) => jf.from(v).fold(he(0), kt, kt) + h, 0), g3 = (i, m) => {
44797
+ }, mh = (i, m) => i.length === 0 ? m : br(i, (h, v) => jf.from(v).fold(he(0), kt, kt) + h, 0), gT = (i, m) => {
44796
44798
  const h = Math.floor(i);
44797
44799
  return {
44798
44800
  value: h + m,
@@ -44805,7 +44807,7 @@ Required: ` + m.join(", "));
44805
44807
  const O = jf.from(S).fold(() => ({
44806
44808
  value: S,
44807
44809
  remainder: 0
44808
- }), (L) => g3(L, "px"), (L) => ({
44810
+ }), (L) => gT(L, "px"), (L) => ({
44809
44811
  value: L + "%",
44810
44812
  remainder: 0
44811
44813
  }));
@@ -44828,7 +44830,7 @@ Required: ` + m.join(", "));
44828
44830
  const O = mh([i[S]], lr());
44829
44831
  Gs(v.element, "width", O + h);
44830
44832
  });
44831
- }, h3 = (i, m, h, v) => {
44833
+ }, hT = (i, m, h, v) => {
44832
44834
  Pe(h, (S) => {
44833
44835
  const O = i.slice(S.row, S.rowspan + S.row), L = mh(O, Sc());
44834
44836
  Gs(S.element, "height", L + v);
@@ -44842,7 +44844,7 @@ Required: ` + m.join(", "));
44842
44844
  Yn.hasColumns(v) ? k2(lt, L, te) : NC(lt, O, te), Gs(i, "width", j);
44843
44845
  }), h.each((j) => {
44844
44846
  const te = IC(j), me = Pm(i), De = Zl(v, i, qt), lt = MC(De, me, j);
44845
- h3(lt, S, O, te), Gs(i, "height", j);
44847
+ hT(lt, S, O, te), Gs(i, "height", j);
44846
44848
  });
44847
44849
  }, Q0 = au, e1 = yb, tv = lu, t1 = (i) => {
44848
44850
  Fs(i, "width");
@@ -44865,19 +44867,19 @@ Required: ` + m.join(", "));
44865
44867
  },
44866
44868
  attributes: { border: "1" },
44867
44869
  colGroups: !1
44868
- }, nv = () => Ae.fromTag("th"), p3 = () => Ae.fromTag("td"), b3 = () => Ae.fromTag("col"), LC = (i, m, h, v) => {
44870
+ }, nv = () => Ae.fromTag("th"), pT = () => Ae.fromTag("td"), bT = () => Ae.fromTag("col"), LC = (i, m, h, v) => {
44869
44871
  const S = Ae.fromTag("tr");
44870
44872
  for (let O = 0; O < i; O++) {
44871
- const L = v < m || O < h ? nv() : p3();
44873
+ const L = v < m || O < h ? nv() : pT();
44872
44874
  O < h && Zs(L, "scope", "row"), v < m && Zs(L, "scope", "col"), os(L, Ae.fromTag("br")), os(S, L);
44873
44875
  }
44874
44876
  return S;
44875
- }, v3 = (i) => {
44877
+ }, vT = (i) => {
44876
44878
  const m = Ae.fromTag("colgroup");
44877
- return Ht(i, () => os(m, b3())), m;
44878
- }, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), y3 = (i, m, h, v, S, O = Gf) => {
44879
+ return Ht(i, () => os(m, bT())), m;
44880
+ }, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), yT = (i, m, h, v, S, O = Gf) => {
44879
44881
  const L = Ae.fromTag("table"), j = S !== "cells";
44880
- Ba(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, v3(m));
44882
+ Ba(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, vT(m));
44881
44883
  const te = Math.min(i, h);
44882
44884
  if (j && h > 0) {
44883
44885
  const Pt = Ae.fromTag("thead");
@@ -44889,36 +44891,36 @@ Required: ` + m.join(", "));
44889
44891
  os(L, me);
44890
44892
  const De = j ? i - te : i, Bt = T2(De, m, j ? 0 : h, v);
44891
44893
  return Rr(me, Bt), L;
44892
- }, w3 = (i) => i.dom.innerHTML, FC = (i) => {
44894
+ }, wT = (i) => i.dom.innerHTML, FC = (i) => {
44893
44895
  const m = Ae.fromTag("div"), h = Ae.fromDom(i.dom.cloneNode(!0));
44894
- return os(m, h), w3(m);
44895
- }, x3 = (i, m) => {
44896
+ return os(m, h), wT(m);
44897
+ }, xT = (i, m) => {
44896
44898
  i.selection.select(m.dom, !0), i.selection.collapse(!0);
44897
44899
  }, HC = (i, m) => {
44898
- ja(m, "td,th").each(oo(x3, i));
44899
- }, C3 = (i, m) => {
44900
+ ja(m, "td,th").each(oo(xT, i));
44901
+ }, CT = (i, m) => {
44900
44902
  Pe(Ms(m, "tr"), (h) => {
44901
44903
  OC(i, h.dom), Pe(Ms(h, "th,td"), (v) => {
44902
44904
  y2(i, v.dom);
44903
44905
  });
44904
44906
  });
44905
- }, ov = (i) => xe(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
44907
+ }, ov = (i) => xe(i) && i.indexOf("%") !== -1, _T = (i, m, h, v, S) => {
44906
44908
  const O = Py(i), L = {
44907
44909
  styles: O,
44908
44910
  attributes: cd(i),
44909
44911
  colGroups: R0(i)
44910
44912
  };
44911
44913
  return i.undoManager.ignore(() => {
44912
- const j = y3(h, m, S, v, Qg(i), L);
44914
+ const j = yT(h, m, S, v, Qg(i), L);
44913
44915
  Zs(j, "data-mce-id", "__mce");
44914
44916
  const te = FC(j);
44915
44917
  i.insertContent(te), i.addVisual();
44916
- }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Pf(i) ? Tp(j) : eh(i) ? n1(j) : (ld(i) || ov(O.width)) && uu(j), id(j), Fs(j, "data-mce-id"), C3(i, j), HC(i, j), j.dom)).getOrNull();
44918
+ }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Pf(i) ? Tp(j) : eh(i) ? n1(j) : (ld(i) || ov(O.width)) && uu(j), id(j), Fs(j, "data-mce-id"), CT(i, j), HC(i, j), j.dom)).getOrNull();
44917
44919
  }, VC = (i, m, h, v = {}) => {
44918
44920
  const S = (O) => eo(O) && O > 0;
44919
44921
  if (S(m) && S(h)) {
44920
44922
  const O = v.headerRows || 0, L = v.headerColumns || 0;
44921
- return _3(i, h, m, L, O);
44923
+ return _T(i, h, m, L, O);
44922
44924
  } else
44923
44925
  return console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table."), null;
44924
44926
  };
@@ -44930,13 +44932,13 @@ Required: ` + m.join(", "));
44930
44932
  var m;
44931
44933
  const h = (m = Ep.read()) !== null && m !== void 0 ? m : [];
44932
44934
  return qo(h, (v) => pe.from(v.getType(i)));
44933
- }, S3 = (i) => {
44935
+ }, ST = (i) => {
44934
44936
  O2(i).isSome() && Ep.clear();
44935
44937
  }, sv = (i) => {
44936
- i.fold(k3, (m) => zC({ [A2]: m }));
44937
- }, rv = () => O2(A2), k3 = () => S3(A2), R2 = (i) => {
44938
- i.fold(T3, (m) => zC({ [D2]: m }));
44939
- }, UC = () => O2(D2), T3 = () => S3(D2), $2 = (i) => ud(Si(i), Ud(i)).filter(Sb), E3 = (i) => F0(Si(i), Ud(i)).filter(Sb), Ap = (i, m) => {
44938
+ i.fold(kT, (m) => zC({ [A2]: m }));
44939
+ }, rv = () => O2(A2), kT = () => ST(A2), R2 = (i) => {
44940
+ i.fold(TT, (m) => zC({ [D2]: m }));
44941
+ }, UC = () => O2(D2), TT = () => ST(D2), $2 = (i) => ud(Si(i), Ud(i)).filter(Sb), ET = (i) => F0(Si(i), Ud(i)).filter(Sb), Ap = (i, m) => {
44940
44942
  const h = Ud(i), v = () => $2(i).each((Xe) => {
44941
44943
  rl(Xe, h).filter(ae(h)).each((tn) => {
44942
44944
  const En = Ae.fromText("");
@@ -44951,7 +44953,7 @@ Required: ` + m.join(", "));
44951
44953
  eh(i) || Pf(i) || ld(i) || rl(tn, h).each((Gn) => {
44952
44954
  Xe === "relative" && !Q0(Gn) ? uu(Gn) : Xe === "fixed" && !e1(Gn) ? Tp(Gn) : Xe === "responsive" && !tv(Gn) && n1(Gn), id(Gn), dh(i, Gn.dom, ro);
44953
44955
  });
44954
- }), O = (Xe) => rl(Xe, h), L = (Xe) => E3(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), j = (Xe, tn) => {
44956
+ }), O = (Xe) => rl(Xe, h), L = (Xe) => ET(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), j = (Xe, tn) => {
44955
44957
  L((En) => {
44956
44958
  i.formatter.toggle("tableclass", { value: tn }, En.dom), dh(i, En.dom, Xm);
44957
44959
  });
@@ -44978,10 +44980,10 @@ Required: ` + m.join(", "));
44978
44980
  Xe(En, qs, tn).each(De);
44979
44981
  }), Bt = () => L((Xe, tn) => {
44980
44982
  const En = tp(iu(i), Xe, tn), Gn = wa(Ot, Ae.fromDom(i.getDoc()), pe.none());
44981
- return d3(Xe, En, Gn);
44983
+ return dT(Xe, En, Gn);
44982
44984
  }), Pt = () => L((Xe, tn) => {
44983
44985
  const En = tp(iu(i), Xe, tn);
44984
- return u3(Xe, En);
44986
+ return uT(Xe, En);
44985
44987
  }), et = (Xe, tn) => tn().each((En) => {
44986
44988
  const Gn = _t(En, (qs) => Vl(qs));
44987
44989
  L((qs, Ta) => {
@@ -45046,7 +45048,7 @@ Required: ` + m.join(", "));
45046
45048
  });
45047
45049
  }), O(Gn[0]).each((Ta) => dh(i, Ta.dom, Xm)));
45048
45050
  });
45049
- }, A3 = (i, m) => {
45051
+ }, AT = (i, m) => {
45050
45052
  const h = Ud(i), v = (S) => F0(Si(i)).bind((O) => rl(O, h).map((L) => {
45051
45053
  const j = tp(iu(i), L, O);
45052
45054
  return S(L, j);
@@ -45065,12 +45067,12 @@ Required: ` + m.join(", "));
45065
45067
  ]
45066
45068
  },
45067
45069
  { after: ["element"] }
45068
- ]), D3 = (i, m, h, v) => i.fold(m, h, v), O3 = (i) => i.fold(kt, kt, kt), R3 = M2.before, WC = M2.on, $3 = M2.after, Ya = {
45069
- before: R3,
45070
+ ]), DT = (i, m, h, v) => i.fold(m, h, v), OT = (i) => i.fold(kt, kt, kt), RT = M2.before, WC = M2.on, $T = M2.after, Ya = {
45071
+ before: RT,
45070
45072
  on: WC,
45071
- after: $3,
45072
- cata: D3,
45073
- getStart: O3
45073
+ after: $T,
45074
+ cata: DT,
45075
+ getStart: OT
45074
45076
  }, Dp = { create: (i, m) => ({
45075
45077
  selection: i,
45076
45078
  kill: m
@@ -45102,16 +45104,16 @@ Required: ` + m.join(", "));
45102
45104
  }, o1 = (i, m, h, v, S) => {
45103
45105
  const O = i.document.createRange();
45104
45106
  return O.setStart(m.dom, h), O.setEnd(v.dom, S), O;
45105
- }, M3 = (i) => ({
45107
+ }, MT = (i) => ({
45106
45108
  left: i.left,
45107
45109
  top: i.top,
45108
45110
  right: i.right,
45109
45111
  bottom: i.bottom,
45110
45112
  width: i.width,
45111
45113
  height: i.height
45112
- }), P3 = (i) => {
45114
+ }), PT = (i) => {
45113
45115
  const m = i.getClientRects(), h = m.length > 0 ? m[0] : i.getBoundingClientRect();
45114
- return h.width > 0 || h.height > 0 ? pe.some(h).map(M3) : pe.none();
45116
+ return h.width > 0 || h.height > 0 ? pe.some(h).map(MT) : pe.none();
45115
45117
  }, s1 = oi.generate([
45116
45118
  {
45117
45119
  ltr: [
@@ -45173,7 +45175,7 @@ Required: ` + m.join(", "));
45173
45175
  }, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Ps(h, "td,th", m).bind((j) => Ps(S, "td,th", m).bind((te) => Rp(i, m, j, te, L))), Rp = (i, m, h, v, S) => ns(h, v) ? pe.none() : Ru(h, v, m).bind((O) => {
45174
45176
  const L = O.boxes.getOr([]);
45175
45177
  return L.length > 1 ? (S(i, L, O.start, O.finish), pe.some(Dp.create(pe.some(r1(h, 0, h, Fo(h))), !0))) : pe.none();
45176
- }), N3 = (i, m, h, v, S) => {
45178
+ }), NT = (i, m, h, v, S) => {
45177
45179
  const O = (L) => (S.clearBeforeUpdate(h), S.selectRange(h, L.boxes, L.start, L.finish), L.boxes);
45178
45180
  return Ab(v, i, m, S.firstSelectedSelector, S.lastSelectedSelector).map(O);
45179
45181
  }, qf = (i, m) => ({
@@ -45215,9 +45217,9 @@ Required: ` + m.join(", "));
45215
45217
  ]), iv = (i, m, h) => {
45216
45218
  const v = i.getRect(m), S = i.getRect(h);
45217
45219
  return S.right > v.left && S.left < v.right;
45218
- }, I3 = (i) => Ps(i, "tr"), Lr = {
45220
+ }, IT = (i) => Ps(i, "tr"), Lr = {
45219
45221
  ...Jf,
45220
- verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((te) => ns(j, te) ? ns(v, j) && Fo(j) === S ? O(te) : Jf.none("in same cell") : Cs(I3, [
45222
+ verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((te) => ns(j, te) ? ns(v, j) && Fo(j) === S ? O(te) : Jf.none("in same cell") : Cs(IT, [
45221
45223
  j,
45222
45224
  te
45223
45225
  ]).fold(() => iv(i, te, j) ? Jf.success() : O(te), (me) => O(te)))).getOr(Jf.none("default")),
@@ -45248,7 +45250,7 @@ Required: ` + m.join(", "));
45248
45250
  top: i.top + h,
45249
45251
  right: i.right + m,
45250
45252
  bottom: i.bottom + h
45251
- }), L3 = (i) => i.top, F3 = (i) => i.bottom, eg = (i, m, h) => h >= 0 && h < Fo(m) ? i.getRangedRect(m, h, m, h + 1) : h > 0 ? i.getRangedRect(m, h - 1, m, h) : pe.none(), Ip = (i) => ({
45253
+ }), LT = (i) => i.top, FT = (i) => i.bottom, eg = (i, m, h) => h >= 0 && h < Fo(m) ? i.getRangedRect(m, h, m, h + 1) : h > 0 ? i.getRangedRect(m, h - 1, m, h) : pe.none(), Ip = (i) => ({
45252
45254
  left: i.left,
45253
45255
  top: i.top,
45254
45256
  right: i.right,
@@ -45260,7 +45262,7 @@ Required: ` + m.join(", "));
45260
45262
  const O = Np(S, Xa);
45261
45263
  return Math.abs(h.bottom - v.bottom) < 1 || h.top > S.bottom ? Bu.retry(O) : h.top === S.bottom ? Bu.retry(Np(S, 1)) : Ql(i, m, S) ? Bu.retry(hd(O, Xa, 0)) : Bu.none();
45262
45264
  }, Nu = {
45263
- point: L3,
45265
+ point: LT,
45264
45266
  adjuster: (i, m, h, v, S) => {
45265
45267
  const O = gh(S, Xa);
45266
45268
  return Math.abs(h.top - v.top) < 1 || h.bottom < S.top ? Bu.retry(O) : h.bottom === S.top ? Bu.retry(gh(S, 1)) : Ql(i, m, S) ? Bu.retry(hd(O, Xa, 0)) : Bu.none();
@@ -45268,13 +45270,13 @@ Required: ` + m.join(", "));
45268
45270
  move: gh,
45269
45271
  gather: V2
45270
45272
  }, mv = {
45271
- point: F3,
45273
+ point: FT,
45272
45274
  adjuster: Rc,
45273
45275
  move: Np,
45274
45276
  gather: Mp
45275
- }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), hh = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? hh(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (te) => j2(i, m, h, te, S - 1))).orThunk(() => pe.some(v)), pe.none)), H3 = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45277
+ }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), hh = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? hh(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (te) => j2(i, m, h, te, S - 1))).orThunk(() => pe.some(v)), pe.none)), HT = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45276
45278
  const v = i.move(h, Xa), S = j2(m, i, h, v, ef).getOr(v);
45277
- return H3(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
45279
+ return HT(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
45278
45280
  }, d1 = {
45279
45281
  tryUp: oo(n_, Nu),
45280
45282
  tryDown: oo(n_, mv),
@@ -45282,13 +45284,13 @@ Required: ` + m.join(", "));
45282
45284
  }, o_ = 20, m1 = (i, m, h) => i.getSelection().bind((v) => Bp(m, v.finish, v.foffset, h).fold(() => pe.some(sp(v.finish, v.foffset)), (S) => {
45283
45285
  const O = i.fromSitus(S), L = Lr.verify(i, v.finish, v.foffset, O.finish, O.foffset, h.failure, m);
45284
45286
  return W2(L);
45285
- })), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : z3(i, m, h, v, S).bind((L) => {
45287
+ })), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : zT(i, m, h, v, S).bind((L) => {
45286
45288
  const j = i.fromSitus(L), te = Lr.verify(i, h, v, j.finish, j.foffset, S.failure, m);
45287
- return Lr.cata(te, () => pe.none(), () => pe.some(L), (me) => ns(h, me) && v === 0 ? V3(i, h, v, gh, S) : fv(i, m, me, 0, S, O - 1), (me) => ns(h, me) && v === Fo(me) ? V3(i, h, v, Np, S) : fv(i, m, me, Fo(me), S, O - 1));
45288
- }), V3 = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
45289
+ return Lr.cata(te, () => pe.none(), () => pe.some(L), (me) => ns(h, me) && v === 0 ? VT(i, h, v, gh, S) : fv(i, m, me, 0, S, O - 1), (me) => ns(h, me) && v === Fo(me) ? VT(i, h, v, Np, S) : fv(i, m, me, Fo(me), S, O - 1));
45290
+ }), VT = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
45289
45291
  const v = ed().browser;
45290
45292
  return v.isChromium() || v.isSafari() || v.isFirefox() ? m.retry(i, h) : pe.none();
45291
- }, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((te) => ({
45293
+ }, zT = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((te) => ({
45292
45294
  start: O,
45293
45295
  finish: te,
45294
45296
  range: j
@@ -45312,7 +45314,7 @@ Required: ` + m.join(", "));
45312
45314
  m = S;
45313
45315
  }
45314
45316
  };
45315
- }, U3 = (i) => {
45317
+ }, UT = (i) => {
45316
45318
  const m = f1(pe.none()), h = () => m.get().each(i);
45317
45319
  return {
45318
45320
  clear: () => {
@@ -45325,7 +45327,7 @@ Required: ` + m.join(", "));
45325
45327
  }
45326
45328
  };
45327
45329
  }, Fp = () => {
45328
- const i = U3(Ot);
45330
+ const i = UT(Ot);
45329
45331
  return {
45330
45332
  ...i,
45331
45333
  on: (h) => i.get().each(h)
@@ -45368,13 +45370,13 @@ Required: ` + m.join(", "));
45368
45370
  relative: Ya.before,
45369
45371
  retry: d1.tryUp,
45370
45372
  failure: Lr.failedUp
45371
- }, tg = (i) => (m) => m === i, pv = tg(38), bv = tg(40), bh = (i) => i >= 37 && i <= 40, W3 = {
45373
+ }, tg = (i) => (m) => m === i, pv = tg(38), bv = tg(40), bh = (i) => i >= 37 && i <= 40, WT = {
45372
45374
  isBackward: tg(37),
45373
45375
  isForward: tg(39)
45374
45376
  }, l_ = {
45375
45377
  isBackward: tg(39),
45376
45378
  isForward: tg(37)
45377
- }, Z3 = (i) => {
45379
+ }, ZT = (i) => {
45378
45380
  const m = i !== void 0 ? i.dom : document, h = m.body.scrollLeft || m.documentElement.scrollLeft, v = m.body.scrollTop || m.documentElement.scrollTop;
45379
45381
  return ce(h, v);
45380
45382
  }, Vp = (i, m, h) => {
@@ -45396,18 +45398,18 @@ Required: ` + m.join(", "));
45396
45398
  "foffset"
45397
45399
  ]
45398
45400
  }
45399
- ]), j3 = (i) => tf.exact(i.start, i.soffset, i.finish, i.foffset), G3 = (i) => i.match({
45401
+ ]), jT = (i) => tf.exact(i.start, i.soffset, i.finish, i.foffset), GT = (i) => i.match({
45400
45402
  domRange: (m) => Ae.fromDom(m.startContainer),
45401
45403
  relative: (m, h) => Ya.getStart(m),
45402
45404
  exact: (m, h, v, S) => m
45403
45405
  }), c_ = tf.domRange, q2 = tf.relative, K2 = tf.exact, Y2 = (i) => {
45404
- const m = G3(i);
45406
+ const m = GT(i);
45405
45407
  return Ts(m);
45406
45408
  }, vv = Op.create, ng = {
45407
45409
  domRange: c_,
45408
45410
  relative: q2,
45409
45411
  exact: K2,
45410
- exactFromRange: j3,
45412
+ exactFromRange: jT,
45411
45413
  getWin: Y2,
45412
45414
  range: vv
45413
45415
  }, i_ = (i, m, h) => {
@@ -45421,7 +45423,7 @@ Required: ` + m.join(", "));
45421
45423
  }, g1 = (i, m, h) => {
45422
45424
  var v, S;
45423
45425
  return pe.from((S = (v = i.dom).caretRangeFromPoint) === null || S === void 0 ? void 0 : S.call(v, m, h));
45424
- }, X2 = document.caretPositionFromPoint ? i_ : document.caretRangeFromPoint ? g1 : pe.none, q3 = (i, m, h) => {
45426
+ }, X2 = document.caretPositionFromPoint ? i_ : document.caretRangeFromPoint ? g1 : pe.none, qT = (i, m, h) => {
45425
45427
  const v = Ae.fromDom(i.document);
45426
45428
  return X2(v, m, h).map((S) => Op.create(Ae.fromDom(S.startContainer), S.startOffset, Ae.fromDom(S.endContainer), S.endOffset));
45427
45429
  }, h1 = (i, m) => {
@@ -45430,7 +45432,7 @@ Required: ` + m.join(", "));
45430
45432
  "br",
45431
45433
  "img"
45432
45434
  ], h) ? m === 0 ? Ya.before(i) : Ya.after(i) : Ya.on(i, m);
45433
- }, K3 = (i, m) => {
45435
+ }, KT = (i, m) => {
45434
45436
  const h = i.fold(Ya.before, h1, Ya.after), v = m.fold(Ya.before, h1, Ya.after);
45435
45437
  return ng.relative(h, v);
45436
45438
  }, Vt = (i, m, h, v) => {
@@ -45473,7 +45475,7 @@ Required: ` + m.join(", "));
45473
45475
  const O = Vt(m, h, v, S);
45474
45476
  bd(i, O);
45475
45477
  }, xv = (i, m, h) => {
45476
- const v = K3(m, h);
45478
+ const v = KT(m, h);
45477
45479
  bd(i, v);
45478
45480
  }, zp = (i) => {
45479
45481
  if (i.rangeCount > 0) {
@@ -45491,17 +45493,17 @@ Required: ` + m.join(", "));
45491
45493
  }, b1 = (i, m, h = !0) => {
45492
45494
  const S = (h ? ZC : av)(i, m);
45493
45495
  du(i, S);
45494
- }, J2 = (i) => qr(i).filter((m) => m.rangeCount > 0).bind(u_), Q2 = (i) => J2(i).map((m) => ng.exact(m.start, m.soffset, m.finish, m.foffset)), Y3 = (i, m) => {
45496
+ }, J2 = (i) => qr(i).filter((m) => m.rangeCount > 0).bind(u_), Q2 = (i) => J2(i).map((m) => ng.exact(m.start, m.soffset, m.finish, m.foffset)), YT = (i, m) => {
45495
45497
  const h = N2(i, m);
45496
- return P3(h);
45497
- }, vd = (i, m, h) => q3(i, m, h), Cv = (i) => {
45498
+ return PT(h);
45499
+ }, vd = (i, m, h) => qT(i, m, h), Cv = (i) => {
45498
45500
  qr(i).each((m) => m.removeAllRanges());
45499
45501
  }, Up = (i) => ({
45500
45502
  elementFromPoint: (Xe, tn) => Ae.fromPoint(Ae.fromDom(i.document), Xe, tn),
45501
45503
  getRect: (Xe) => Xe.dom.getBoundingClientRect(),
45502
45504
  getRangedRect: (Xe, tn, En, Gn) => {
45503
45505
  const qs = ng.exact(Xe, tn, En, Gn);
45504
- return Y3(i, qs);
45506
+ return YT(i, qs);
45505
45507
  },
45506
45508
  getSelection: () => Q2(i).map((Xe) => I2(i, Xe)),
45507
45509
  fromSitus: (Xe) => {
@@ -45534,7 +45536,7 @@ Required: ` + m.join(", "));
45534
45536
  b1(i, Xe);
45535
45537
  },
45536
45538
  getInnerHeight: () => i.innerHeight,
45537
- getScrollY: () => Z3(Ae.fromDom(i.document)).top,
45539
+ getScrollY: () => ZT(Ae.fromDom(i.document)).top,
45538
45540
  scrollBy: (Xe, tn) => {
45539
45541
  Vp(Xe, tn, Ae.fromDom(i.document));
45540
45542
  }
@@ -45555,7 +45557,7 @@ Required: ` + m.join(", "));
45555
45557
  keydown: (te, me, De, lt, Bt, Pt) => {
45556
45558
  const et = te.raw, Lt = et.which, Xe = et.shiftKey === !0;
45557
45559
  return Wm(m, v.selectedSelector).fold(() => (bh(Lt) && !Xe && v.clearBeforeUpdate(m), bh(Lt) && Xe && !v1(me, lt) ? pe.none : bv(Lt) && Xe ? oo(a_, S, m, h, hv, lt, me, v.selectRange) : pv(Lt) && Xe ? oo(a_, S, m, h, Hp, lt, me, v.selectRange) : bv(Lt) ? oo(pd, S, h, hv, lt, me, G2) : pv(Lt) ? oo(pd, S, h, Hp, lt, me, ph) : pe.none), (En) => {
45558
- const Gn = (qs) => () => qo(qs, (kr) => N3(kr.rows, kr.cols, m, En, v)).fold(() => nh(m, v.firstSelectedSelector, v.lastSelectedSelector).map((kr) => {
45560
+ const Gn = (qs) => () => qo(qs, (kr) => NT(kr.rows, kr.cols, m, En, v)).fold(() => nh(m, v.firstSelectedSelector, v.lastSelectedSelector).map((kr) => {
45559
45561
  const Mc = bv(Lt) || Pt.isForward(Lt) ? Ya.after : Ya.before;
45560
45562
  return S.setRelativeSelection(Ya.on(kr.first, 0), Mc(kr.table)), v.clear(m), Dp.create(pe.none(), !0);
45561
45563
  }), (kr) => pe.some(Dp.create(pe.none(), !0)));
@@ -45701,13 +45703,13 @@ Required: ` + m.join(", "));
45701
45703
  return i.dom.addEventListener(m, O, S), { unbind: oo(rw, i, m, O, S) };
45702
45704
  }, sw = (i, m, h, v) => vh(i, m, h, v, !1), rw = (i, m, h, v) => {
45703
45705
  i.dom.removeEventListener(m, h, v);
45704
- }, J3 = Ze, Zp = (i, m, h) => sw(i, m, J3, h), jp = nw, aw = (i) => !$c(Ae.fromDom(i.target), "ephox-snooker-resizer-bar"), lw = (i, m) => {
45706
+ }, JT = Ze, Zp = (i, m, h) => sw(i, m, JT, h), jp = nw, aw = (i) => !$c(Ae.fromDom(i.target), "ephox-snooker-resizer-bar"), lw = (i, m) => {
45705
45707
  const h = tw(() => Ae.fromDom(i.getBody()), () => F0(Si(i), Ud(i)), oh.selectedSelector), v = (te, me, De) => {
45706
45708
  rl(me).each((Bt) => {
45707
45709
  const Pt = Vm(i), et = wa(Ot, Ae.fromDom(i.getDoc()), Pt), Lt = iu(i), Xe = sf(Bt, { selection: Lt }, et);
45708
- l3(i, te, me, De, Xe);
45710
+ lT(i, te, me, De, Xe);
45709
45711
  });
45710
- }, S = () => c3(i), O = of.byAttr(oh, v, S);
45712
+ }, S = () => cT(i), O = of.byAttr(oh, v, S);
45711
45713
  return i.on("init", (te) => {
45712
45714
  const me = i.getWin(), De = Cb(i), lt = Ud(i), Bt = () => {
45713
45715
  const ms = i.selection, ec = Ae.fromDom(ms.getStart()), pl = Ae.fromDom(ms.getEnd());
@@ -45733,7 +45735,7 @@ Required: ` + m.join(", "));
45733
45735
  }, Gn = (ms) => {
45734
45736
  const ec = jp(ms);
45735
45737
  m.hide();
45736
- const pl = i.selection.getRng(), Mi = Ae.fromDom(pl.startContainer), ai = Ae.fromDom(pl.endContainer), rg = Kh(W3, l_)(Ae.fromDom(i.selection.getStart()));
45738
+ const pl = i.selection.getRng(), Mi = Ae.fromDom(pl.startContainer), ai = Ae.fromDom(pl.endContainer), rg = Kh(WT, l_)(Ae.fromDom(i.selection.getStart()));
45737
45739
  et.keydown(ec, Mi, pl.startOffset, ai, pl.endOffset, rg).each((pc) => {
45738
45740
  tn(ec, pc);
45739
45741
  }), m.show();
@@ -45792,7 +45794,7 @@ Required: ` + m.join(", "));
45792
45794
  registry: m,
45793
45795
  trigger: h
45794
45796
  };
45795
- }, Q3 = (i, m) => {
45797
+ }, QT = (i, m) => {
45796
45798
  let h = null;
45797
45799
  const v = () => {
45798
45800
  at(h) || (clearTimeout(h), h = null);
@@ -45805,7 +45807,7 @@ Required: ` + m.join(", "));
45805
45807
  }, m);
45806
45808
  }
45807
45809
  };
45808
- }, k1 = (i) => i.slice(0).sort(), eT = (i, m) => {
45810
+ }, k1 = (i) => i.slice(0).sort(), e3 = (i, m) => {
45809
45811
  throw new Error("All required keys (" + k1(i).join(", ") + ") were not specified. Specified keys were: " + k1(m).join(", ") + ".");
45810
45812
  }, ri = (i) => {
45811
45813
  throw new Error("Unsupported keys for object: " + k1(i).join(", "));
@@ -45823,15 +45825,15 @@ Required: ` + m.join(", "));
45823
45825
  z(m, (v, S) => S < m.length - 1 && v === m[S + 1]).each((v) => {
45824
45826
  throw new Error("The field: " + v + " occurs more than once in the combined fields: [" + m.join(", ") + "].");
45825
45827
  });
45826
- }, y_ = (i, m) => tT(i, m, {
45828
+ }, y_ = (i, m) => t3(i, m, {
45827
45829
  validate: lo,
45828
45830
  label: "function"
45829
- }), tT = (i, m, h) => {
45831
+ }), t3 = (i, m, h) => {
45830
45832
  if (m.length === 0)
45831
45833
  throw new Error("You must specify at least one required field.");
45832
45834
  return Ol("required", m), yO(m), (v) => {
45833
45835
  const S = zt(v);
45834
- Wo(m, (j) => go(S, j)) || eT(m, S), i(m, S);
45836
+ Wo(m, (j) => go(S, j)) || e3(m, S), i(m, S);
45835
45837
  const L = ho(m, (j) => !h.validate(v[j], j));
45836
45838
  return L.length > 0 && yh(L, h.label), v;
45837
45839
  };
@@ -45848,12 +45850,12 @@ Required: ` + m.join(", "));
45848
45850
  "start",
45849
45851
  "stop",
45850
45852
  "destroy"
45851
- ]), nT = cw([
45853
+ ]), n3 = cw([
45852
45854
  "forceDrop",
45853
45855
  "drop",
45854
45856
  "move",
45855
45857
  "delayDrop"
45856
- ]), oT = () => {
45858
+ ]), o3 = () => {
45857
45859
  let i = pe.none();
45858
45860
  const m = () => {
45859
45861
  i = pe.none();
@@ -45879,8 +45881,8 @@ Required: ` + m.join(", "));
45879
45881
  reset: Ot,
45880
45882
  events: i.registry
45881
45883
  };
45882
- }, sT = () => {
45883
- const i = x_(), m = oT();
45884
+ }, s3 = () => {
45885
+ const i = x_(), m = o3();
45884
45886
  let h = i;
45885
45887
  return {
45886
45888
  on: () => {
@@ -45900,9 +45902,9 @@ Required: ` + m.join(", "));
45900
45902
  const S = og({
45901
45903
  start: Lu([]),
45902
45904
  stop: Lu([])
45903
- }), O = sT(), L = () => {
45905
+ }), O = s3(), L = () => {
45904
45906
  et.stop(), O.isOn() && (O.off(), S.trigger.stop());
45905
- }, j = Q3(L, 200), te = (Xe) => {
45907
+ }, j = QT(L, 200), te = (Xe) => {
45906
45908
  et.start(Xe), O.on(), S.trigger.start();
45907
45909
  }, me = (Xe) => {
45908
45910
  j.cancel(), O.onEvent(Xe, m);
@@ -45916,7 +45918,7 @@ Required: ` + m.join(", "));
45916
45918
  v = !1;
45917
45919
  }, Bt = () => v, Pt = (Xe) => (...tn) => {
45918
45920
  v && Xe.apply(null, tn);
45919
- }, et = m.sink(nT({
45921
+ }, et = m.sink(n3({
45920
45922
  forceDrop: L,
45921
45923
  drop: Pt(L),
45922
45924
  move: Pt(me),
@@ -45954,7 +45956,7 @@ Required: ` + m.join(", "));
45954
45956
  }
45955
45957
  };
45956
45958
  };
45957
- var aT = w_({
45959
+ var a3 = w_({
45958
45960
  compare: (i, m) => ce(m.left - i.left, m.top - i.top),
45959
45961
  extract: (i) => pe.some(ce(i.x, i.y)),
45960
45962
  sink: (i, m) => {
@@ -45978,7 +45980,7 @@ Required: ` + m.join(", "));
45978
45980
  });
45979
45981
  const __ = (i, m = {}) => {
45980
45982
  var h;
45981
- const v = (h = m.mode) !== null && h !== void 0 ? h : aT;
45983
+ const v = (h = m.mode) !== null && h !== void 0 ? h : a3;
45982
45984
  return Wt(i, v, m);
45983
45985
  }, rf = sg("ephox-snooker").resolve, S_ = () => {
45984
45986
  const i = og({
@@ -45993,7 +45995,7 @@ Required: ` + m.join(", "));
45993
45995
  },
45994
45996
  events: i.registry
45995
45997
  };
45996
- }, lT = () => {
45998
+ }, l3 = () => {
45997
45999
  const i = og({
45998
46000
  drag: Lu([
45999
46001
  "xDelta",
@@ -46027,7 +46029,7 @@ Required: ` + m.join(", "));
46027
46029
  "data-column": i,
46028
46030
  role: "presentation"
46029
46031
  }), O;
46030
- }, cT = (i, m, h, v, S) => {
46032
+ }, c3 = (i, m, h, v, S) => {
46031
46033
  const O = Ae.fromTag("div");
46032
46034
  return Ba(O, {
46033
46035
  position: "absolute",
@@ -46039,7 +46041,7 @@ Required: ` + m.join(", "));
46039
46041
  "data-row": i,
46040
46042
  role: "presentation"
46041
46043
  }), O;
46042
- }, k_ = rf("resizer-bar"), uw = rf("resizer-rows"), T_ = rf("resizer-cols"), Ev = 7, iT = (i, m) => rs(i.all, (h, v) => m(h.element) ? [v] : []), uT = (i, m) => {
46044
+ }, k_ = rf("resizer-bar"), uw = rf("resizer-rows"), T_ = rf("resizer-cols"), Ev = 7, i3 = (i, m) => rs(i.all, (h, v) => m(h.element) ? [v] : []), u3 = (i, m) => {
46043
46045
  const h = [];
46044
46046
  return Ht(i.grid.columns, (v) => {
46045
46047
  Yn.getColumnAt(i, v).map((O) => O.element).forall(m) && h.push(v);
@@ -46063,20 +46065,20 @@ Required: ` + m.join(", "));
46063
46065
  const L = A1(O.col, O.x - S.left, h.top - S.top, Ev, v);
46064
46066
  return mu(L, T_), L;
46065
46067
  });
46066
- }, dT = (i, m, h, v) => {
46068
+ }, d3 = (i, m, h, v) => {
46067
46069
  dw(i, m, (S, O) => {
46068
- const L = cT(O.row, h.left - S.left, O.y - S.top, v, Ev);
46070
+ const L = c3(O.row, h.left - S.left, O.y - S.top, v, Ev);
46069
46071
  return mu(L, uw), L;
46070
46072
  });
46071
- }, mT = (i, m, h, v, S) => {
46072
- const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], te = j.length > 0 ? iT(i, L) : [], me = ho(j, (Pt, et) => ot(te, (Lt) => et === Lt));
46073
- dT(m, me, O, Ci(h));
46074
- const De = S.length > 0 ? Pr.positions(S, h) : [], lt = De.length > 0 ? uT(i, L) : [], Bt = ho(De, (Pt, et) => ot(lt, (Lt) => et === Lt));
46073
+ }, m3 = (i, m, h, v, S) => {
46074
+ const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], te = j.length > 0 ? i3(i, L) : [], me = ho(j, (Pt, et) => ot(te, (Lt) => et === Lt));
46075
+ d3(m, me, O, Ci(h));
46076
+ const De = S.length > 0 ? Pr.positions(S, h) : [], lt = De.length > 0 ? u3(i, L) : [], Bt = ho(De, (Pt, et) => ot(lt, (Lt) => et === Lt));
46075
46077
  E_(m, Bt, O, _(h));
46076
46078
  }, Av = (i, m) => {
46077
46079
  if (Gp(i), i.isResizable(m)) {
46078
46080
  const h = Yn.fromTable(m), v = Wg(h), S = od(h);
46079
- mT(h, i, m, v, S);
46081
+ m3(h, i, m, v, S);
46080
46082
  }
46081
46083
  }, nm = (i, m) => {
46082
46084
  const h = Ms(i.parent(), "." + k_);
@@ -46089,8 +46091,8 @@ Required: ` + m.join(", "));
46089
46091
  nm(i, (m) => {
46090
46092
  Gs(m, "display", "block");
46091
46093
  });
46092
- }, fT = (i) => $c(i, uw), af = (i) => $c(i, T_), om = rf("resizer-bar-dragging"), Ov = (i) => {
46093
- const m = lT(), h = __(m, {});
46094
+ }, f3 = (i) => $c(i, uw), af = (i) => $c(i, T_), om = rf("resizer-bar-dragging"), Ov = (i) => {
46095
+ const m = l3(), h = __(m, {});
46094
46096
  let v = pe.none();
46095
46097
  const S = (et, Lt) => pe.from(Ur(et, Lt));
46096
46098
  m.events.drag.bind((et) => {
@@ -46122,7 +46124,7 @@ Required: ` + m.join(", "));
46122
46124
  const L = (et, Lt) => {
46123
46125
  Pt.trigger.startAdjust(), m.assign(et), Zs(et, "data-initial-" + Lt, Zr(et, Lt)), mu(et, om), Gs(et, "opacity", "0.2"), h.go(i.parent());
46124
46126
  }, j = Zp(i.parent(), "mousedown", (et) => {
46125
- fT(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
46127
+ f3(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
46126
46128
  }), te = (et) => ns(et, i.view()), me = (et) => Ps(et, "table", te).filter(Bf), De = Zp(i.view(), "mouseover", (et) => {
46127
46129
  me(et.target).fold(() => {
46128
46130
  js(et.target) && Gp(i);
@@ -46213,7 +46215,7 @@ Required: ` + m.join(", "));
46213
46215
  origin: he(ce(0, 0)),
46214
46216
  isResizable: h
46215
46217
  })
46216
- }, gT = () => {
46218
+ }, g3 = () => {
46217
46219
  const i = Ae.fromTag("div");
46218
46220
  return Ba(i, {
46219
46221
  position: "static",
@@ -46223,9 +46225,9 @@ Required: ` + m.join(", "));
46223
46225
  margin: "0",
46224
46226
  border: "0"
46225
46227
  }), os(I(), i), i;
46226
- }, fw = (i, m) => i.inline ? mw.body(Ae.fromDom(i.getBody()), gT(), m) : mw.only(Ae.fromDom(i.getDoc()), m), hT = (i, m) => {
46228
+ }, fw = (i, m) => i.inline ? mw.body(Ae.fromDom(i.getBody()), g3(), m) : mw.only(Ae.fromDom(i.getDoc()), m), h3 = (i, m) => {
46227
46229
  i.inline && ar(m.parent());
46228
- }, ko = (i) => io(i) && i.nodeName === "TABLE", $i = "bar-", cf = (i) => Ur(i, "data-mce-resize") !== "false", pT = (i) => {
46230
+ }, ko = (i) => io(i) && i.nodeName === "TABLE", $i = "bar-", cf = (i) => Ur(i, "data-mce-resize") !== "false", p3 = (i) => {
46229
46231
  const m = Yn.fromTable(i);
46230
46232
  Yn.hasColumns(m) || Pe(sl(i), (h) => {
46231
46233
  const v = ha(h, "width");
@@ -46244,12 +46246,12 @@ Required: ` + m.join(", "));
46244
46246
  const En = parseFloat(O.replace("%", "")), Gn = Xe * En / S;
46245
46247
  Gs(et, "width", Gn + "%");
46246
46248
  }
46247
- M0(O) && pT(et);
46249
+ M0(O) && p3(et);
46248
46250
  }, De = () => {
46249
46251
  h.on((et) => {
46250
46252
  et.destroy();
46251
46253
  }), v.on((et) => {
46252
- hT(i, et);
46254
+ h3(i, et);
46253
46255
  });
46254
46256
  };
46255
46257
  return i.on("init", () => {
@@ -46265,7 +46267,7 @@ Required: ` + m.join(", "));
46265
46267
  const En = tn.table, Gn = En.dom;
46266
46268
  id(En), m.on((qs) => {
46267
46269
  i.selection.setRng(qs), i.focus();
46268
- }), i3(i, Gn, Nf(Gn), If(Gn), $i + tn.type), i.undoManager.add();
46270
+ }), iT(i, Gn, Nf(Gn), If(Gn), $i + tn.type), i.undoManager.add();
46269
46271
  }), h.set(Xe);
46270
46272
  }
46271
46273
  }), i.on("ObjectResizeStart", (et) => {
@@ -46306,13 +46308,13 @@ Required: ` + m.join(", "));
46306
46308
  }, $o = (i) => {
46307
46309
  Jh(i);
46308
46310
  const m = Kp(i), h = lw(i, m), v = Qb(i, m, h);
46309
- return Ap(i, v), A3(i, v), I4(i, v), {
46311
+ return Ap(i, v), AT(i, v), I4(i, v), {
46310
46312
  getSelectedCells: h.getSelectedCells,
46311
46313
  clearSelectedCells: h.clearSelectedCells
46312
46314
  };
46313
- }, bT = (i) => ({ table: $o(i) });
46315
+ }, b3 = (i) => ({ table: $o(i) });
46314
46316
  var gw = () => {
46315
- A.add("dom", bT);
46317
+ A.add("dom", b3);
46316
46318
  };
46317
46319
  gw();
46318
46320
  })();