golden-logic-ui 1.0.447 → 1.0.448

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