@plumile/ui 0.1.185 → 0.1.187

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.
@@ -4,6 +4,8 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
+ /* empty css */
8
+ /* empty css */
7
9
  /* empty css */
8
10
  import { createRuntimeFn as e } from "@vanilla-extract/recipes/createRuntimeFn";
9
11
  //#region src/admin/organisms/admin_sidebar/adminSidebar.css.ts
@@ -4,8 +4,6 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
8
- /* empty css */
9
7
  /* empty css */
10
8
  //#region src/admin/organisms/admin_topbar/adminTopbar.css.ts
11
9
  var e = "_1lo5q0p0 txvbqbfpn txvbqbh4x txvbqbhdy txvbqbv7x txvbqb19uf", t = "_1lo5q0p1 txvbqbfpn txvbqbey txvbqbheb txvbqbh7g txvbqbv7x", n = "_1lo5q0p2 txvbqbfpn txvbqbey txvbqbh7g txvbqbhdy txvbqbfvs txvbqbv7x txvbqb19uf", r = "_1lo5q0p3 txvbqbfqq txvbqbey txvbqbhdl txvbqblsh txvbqbh6d", i = "_1lo5q0p4 txvbqbfqq txvbqbey txvbqbjlr txvbqb1aao txvbqb1b9f";
@@ -1,4 +1,5 @@
1
1
  /* empty css */
2
+ /* empty css */
2
3
  /* empty css */
3
4
  //#region src/atomic/molecules/markdown/components/MarkdownArticleContainer.css.ts
4
5
  var e = "_7ez1431 _7ez1430 txvbqbfpn txvbqbh4x txvbqbheb";
@@ -1,5 +1,4 @@
1
1
  /* empty css */
2
- /* empty css */
3
2
  /* empty css */
4
3
  //#region src/atomic/molecules/markdown/components/MarkdownInlineCode.css.ts
5
4
  var e = "_12obj0m1 _12obj0m0 txvbqb11hm txvbqb12f7 txvbqb12hd txvbqbxtg txvbqb2t9 txvbqbh99 txvbqbu4k txvbqbws9 txvbqb1ax2 txvbqb1arn";
@@ -251,7 +251,7 @@ var he = d(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
251
251
  };
252
252
  function Ue() {
253
253
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Be(), t = (e) => Ue(e);
254
- if (t.version = "3.4.10", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
254
+ if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
255
255
  let n = e.document, r = n, i = r.currentScript;
256
256
  e.DocumentFragment;
257
257
  let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
@@ -324,14 +324,14 @@ function Ue() {
324
324
  enumerable: !0,
325
325
  value: null
326
326
  }
327
- })), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, yt = !0, V = !1, bt = !1, xt = !1, H = !1, St = !1, Ct = !1, wt = !0, Tt = !1, Et = "user-content-", Dt = !0, Ot = !1, U = {}, W = null, kt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), At = null, jt = E({}, [
327
+ })), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, yt = !0, V = !1, bt = !1, xt = null, St = null, Ct = !1, H = !1, wt = !1, Tt = !1, Et = !0, Dt = !1, Ot = "user-content-", kt = !0, At = !1, U = {}, W = null, jt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Mt = null, Nt = E({}, [
328
328
  "audio",
329
329
  "video",
330
330
  "img",
331
331
  "source",
332
332
  "image",
333
333
  "track"
334
- ]), Mt = null, Nt = E({}, [
334
+ ]), Pt = null, Ft = E({}, [
335
335
  "alt",
336
336
  "class",
337
337
  "for",
@@ -346,36 +346,36 @@ function Ue() {
346
346
  "value",
347
347
  "style",
348
348
  "xmlns"
349
- ]), Pt = "http://www.w3.org/1998/Math/MathML", Ft = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, It = !1, Lt = null, Rt = E({}, [
350
- Pt,
351
- Ft,
349
+ ]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, Rt = !1, zt = null, Bt = E({}, [
350
+ It,
351
+ Lt,
352
352
  G
353
- ], oe), zt = d([
353
+ ], oe), Vt = d([
354
354
  "mi",
355
355
  "mo",
356
356
  "mn",
357
357
  "ms",
358
358
  "mtext"
359
- ]), Bt = E({}, zt), Vt = d(["annotation-xml"]), Ht = E({}, Vt), Ut = E({}, [
359
+ ]), Ht = E({}, Vt), Ut = d(["annotation-xml"]), Wt = E({}, Ut), Gt = E({}, [
360
360
  "title",
361
361
  "style",
362
362
  "font",
363
363
  "a",
364
364
  "script"
365
- ]), q = null, Wt = ["application/xhtml+xml", "text/html"], J = null, Y = null, Gt = n.createElement("form"), Kt = function(e) {
365
+ ]), Kt = null, qt = ["application/xhtml+xml", "text/html"], q = null, J = null, Jt = n.createElement("form"), Yt = function(e) {
366
366
  return e instanceof RegExp || e instanceof Function;
367
- }, qt = function() {
367
+ }, Xt = function() {
368
368
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
369
- if (Y && Y === e) return;
370
- (!e || typeof e != "object") && (e = {}), e = O(e), q = Wt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? oe : ae, I = j(e, "ALLOWED_TAGS", dt, { transform: J }), L = j(e, "ALLOWED_ATTR", ft, { transform: J }), Lt = j(e, "ALLOWED_NAMESPACES", Rt, { transform: oe }), Mt = j(e, "ADD_URI_SAFE_ATTR", Nt, {
371
- transform: J,
369
+ if (J && J === e) return;
370
+ (!e || typeof e != "object") && (e = {}), e = O(e), Kt = qt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, q = Kt === "application/xhtml+xml" ? oe : ae, I = j(e, "ALLOWED_TAGS", dt, { transform: q }), L = j(e, "ALLOWED_ATTR", ft, { transform: q }), zt = j(e, "ALLOWED_NAMESPACES", Bt, { transform: oe }), Pt = j(e, "ADD_URI_SAFE_ATTR", Ft, {
371
+ transform: q,
372
+ base: Ft
373
+ }), Mt = j(e, "ADD_DATA_URI_TAGS", Nt, {
374
+ transform: q,
372
375
  base: Nt
373
- }), At = j(e, "ADD_DATA_URI_TAGS", jt, {
374
- transform: J,
375
- base: jt
376
- }), W = j(e, "FORBID_CONTENTS", kt, { transform: J }), pt = j(e, "FORBID_TAGS", O({}), { transform: J }), mt = j(e, "FORBID_ATTR", O({}), { transform: J }), U = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, yt = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, St = e.RETURN_DOM_FRAGMENT || !1, Ct = e.RETURN_TRUSTED_TYPE || !1, xt = e.FORCE_BODY || !1, wt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, Dt = e.KEEP_CONTENT !== !1, Ot = e.IN_PLACE || !1, ut = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Bt = b(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? O(e.MATHML_TEXT_INTEGRATION_POINTS) : E({}, zt), Ht = b(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? O(e.HTML_INTEGRATION_POINTS) : E({}, Vt);
376
+ }), W = j(e, "FORBID_CONTENTS", jt, { transform: q }), pt = j(e, "FORBID_TAGS", O({}), { transform: q }), mt = j(e, "FORBID_ATTR", O({}), { transform: q }), U = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, yt = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, wt = e.RETURN_DOM_FRAGMENT || !1, Tt = e.RETURN_TRUSTED_TYPE || !1, Ct = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, Dt = e.SANITIZE_NAMED_PROPS || !1, kt = e.KEEP_CONTENT !== !1, At = e.IN_PLACE || !1, ut = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Ht = b(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? O(e.MATHML_TEXT_INTEGRATION_POINTS) : E({}, Vt), Wt = b(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? O(e.HTML_INTEGRATION_POINTS) : E({}, Ut);
377
377
  let t = b(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? O(e.CUSTOM_ELEMENT_HANDLING) : p(null);
378
- if (R = p(null), b(t, "tagNameCheck") && Kt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && Kt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(R), B && (gt = !1), St && (H = !0), U && (I = E({}, xe), L = p(null), U.html === !0 && (E(I, he), E(L, Se)), U.svg === !0 && (E(I, ge), E(L, Ce), E(L, Te)), U.svgFilters === !0 && (E(I, _e), E(L, Ce), E(L, Te)), U.mathMl === !0 && (E(I, ye), E(L, we), E(L, Te))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === dt && (I = O(I)), E(I, e.ADD_TAGS, J))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === ft && (L = O(L)), E(L, e.ADD_ATTR, J))), b(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && E(Mt, e.ADD_URI_SAFE_ATTR, J), b(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (W === kt && (W = O(W)), E(W, e.FORBID_CONTENTS, J)), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (W === kt && (W = O(W)), E(W, e.ADD_FORBID_CONTENTS, J)), Dt && (I["#text"] = !0), V && E(I, [
378
+ if (R = p(null), b(t, "tagNameCheck") && Yt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && Yt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(R), B && (gt = !1), wt && (H = !0), U && (I = E({}, xe), L = p(null), U.html === !0 && (E(I, he), E(L, Se)), U.svg === !0 && (E(I, ge), E(L, Ce), E(L, Te)), U.svgFilters === !0 && (E(I, _e), E(L, Ce), E(L, Te)), U.mathMl === !0 && (E(I, ye), E(L, we), E(L, Te))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === dt && (I = O(I)), E(I, e.ADD_TAGS, q))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === ft && (L = O(L)), E(L, e.ADD_ATTR, q))), b(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && E(Pt, e.ADD_URI_SAFE_ATTR, q), b(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.FORBID_CONTENTS, q)), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (W === jt && (W = O(W)), E(W, e.ADD_FORBID_CONTENTS, q)), kt && (I["#text"] = !0), V && E(I, [
379
379
  "html",
380
380
  "head",
381
381
  "body"
@@ -390,33 +390,33 @@ function Ue() {
390
390
  throw M = t, e;
391
391
  }
392
392
  } else e.TRUSTED_TYPES_POLICY === null ? (M = void 0, N = "") : (M === void 0 && (M = Ye()), M && typeof N == "string" && (N = P("")));
393
- (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && I === dt && (I = O(I)), F.uponSanitizeAttribute.length > 0 && L === ft && (L = O(L)), d && d(e), Y = e;
394
- }, Jt = E({}, [
393
+ d && d(e), J = e;
394
+ }, Zt = E({}, [
395
395
  ...ge,
396
396
  ..._e,
397
397
  ...ve
398
- ]), Yt = E({}, [...ye, ...be]), Xt = function(e, t, n) {
399
- return t.namespaceURI === G ? e === "svg" : t.namespaceURI === Pt ? e === "svg" && (n === "annotation-xml" || Bt[n]) : !!Jt[e];
400
- }, Zt = function(e, t, n) {
401
- return t.namespaceURI === G ? e === "math" : t.namespaceURI === Ft ? e === "math" && Ht[n] : !!Yt[e];
402
- }, Qt = function(e, t, n) {
403
- return t.namespaceURI === Ft && !Ht[n] || t.namespaceURI === Pt && !Bt[n] ? !1 : !Yt[e] && (Ut[e] || !Jt[e]);
404
- }, $t = function(e) {
398
+ ]), Qt = E({}, [...ye, ...be]), $t = function(e, t, n) {
399
+ return t.namespaceURI === G ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || Ht[n]) : !!Zt[e];
400
+ }, en = function(e, t, n) {
401
+ return t.namespaceURI === G ? e === "math" : t.namespaceURI === Lt ? e === "math" && Wt[n] : !!Qt[e];
402
+ }, tn = function(e, t, n) {
403
+ return t.namespaceURI === Lt && !Wt[n] || t.namespaceURI === It && !Ht[n] ? !1 : !Qt[e] && (Gt[e] || !Zt[e]);
404
+ }, nn = function(e) {
405
405
  let t = y(e);
406
406
  (!t || !t.tagName) && (t = {
407
407
  namespaceURI: K,
408
408
  tagName: "template"
409
409
  });
410
410
  let n = ae(e.tagName), r = ae(t.tagName);
411
- return Lt[e.namespaceURI] ? e.namespaceURI === Ft ? Xt(n, t, r) : e.namespaceURI === Pt ? Zt(n, t, r) : e.namespaceURI === G ? Qt(n, t, r) : !!(q === "application/xhtml+xml" && Lt[e.namespaceURI]) : !1;
412
- }, X = function(e) {
411
+ return zt[e.namespaceURI] ? e.namespaceURI === Lt ? $t(n, t, r) : e.namespaceURI === It ? en(n, t, r) : e.namespaceURI === G ? tn(n, t, r) : !!(Kt === "application/xhtml+xml" && zt[e.namespaceURI]) : !1;
412
+ }, Y = function(e) {
413
413
  g(t.removed, { element: e });
414
414
  try {
415
415
  y(e).removeChild(e);
416
416
  } catch {
417
417
  if (de(e), !y(e)) throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
418
418
  }
419
- }, en = function(e) {
419
+ }, rn = function(e) {
420
420
  let t = v(e);
421
421
  if (t) {
422
422
  let e = [];
@@ -435,7 +435,7 @@ function Ue() {
435
435
  e.removeAttribute(i);
436
436
  } catch {}
437
437
  }
438
- }, Z = function(e, n) {
438
+ }, X = function(e, n) {
439
439
  try {
440
440
  g(t.removed, {
441
441
  attribute: n.getAttributeNode(e),
@@ -447,71 +447,71 @@ function Ue() {
447
447
  from: n
448
448
  });
449
449
  }
450
- if (n.removeAttribute(e), e === "is") if (H || St) try {
451
- X(n);
450
+ if (n.removeAttribute(e), e === "is") if (H || wt) try {
451
+ Y(n);
452
452
  } catch {}
453
453
  else try {
454
454
  n.setAttribute(e, "");
455
455
  } catch {}
456
- }, tn = function(e) {
456
+ }, an = function(e) {
457
457
  let t = w(e);
458
458
  if (t) for (let n = t.length - 1; n >= 0; --n) {
459
459
  let r = t[n], i = r && r.name;
460
- if (!(typeof i != "string" || L[J(i)])) try {
460
+ if (!(typeof i != "string" || L[q(i)])) try {
461
461
  e.removeAttribute(i);
462
462
  } catch {}
463
463
  }
464
- }, nn = function(e) {
464
+ }, on = function(e) {
465
465
  let t = [e];
466
466
  for (; t.length > 0;) {
467
467
  let e = t.pop();
468
- (T ? T(e) : e.nodeType) === A.element && tn(e);
468
+ (T ? T(e) : e.nodeType) === A.element && an(e);
469
469
  let n = v(e);
470
470
  if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
471
471
  }
472
- }, rn = function(e) {
472
+ }, sn = function(e) {
473
473
  let t = null, r = null;
474
- if (xt) e = "<remove></remove>" + e;
474
+ if (Ct) e = "<remove></remove>" + e;
475
475
  else {
476
476
  let t = se(e, /^[\r\n\t ]+/);
477
477
  r = t && t[0];
478
478
  }
479
- q === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
479
+ Kt === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
480
480
  let i = M ? P(e) : e;
481
481
  if (K === G) try {
482
- t = new u().parseFromString(i, q);
482
+ t = new u().parseFromString(i, Kt);
483
483
  } catch {}
484
484
  if (!t || !t.documentElement) {
485
485
  t = Ze.createDocument(K, "template", null);
486
486
  try {
487
- t.documentElement.innerHTML = It ? N : i;
487
+ t.documentElement.innerHTML = Rt ? N : i;
488
488
  } catch {}
489
489
  }
490
490
  let a = t.body || t.documentElement;
491
491
  return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), K === G ? et.call(t, V ? "html" : "body")[0] : V ? t.documentElement : a;
492
- }, an = function(e) {
492
+ }, cn = function(e) {
493
493
  return Qe.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
494
- }, on = function(e) {
494
+ }, ln = function(e) {
495
495
  return e = ce(e, nt, " "), e = ce(e, rt, " "), e = ce(e, it, " "), e;
496
- }, sn = function(e) {
496
+ }, un = function(e) {
497
497
  e.normalize();
498
498
  let t = Qe.call(e.ownerDocument || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
499
- for (; n;) n.data = on(n.data), n = t.nextNode();
499
+ for (; n;) n.data = ln(n.data), n = t.nextNode();
500
500
  let r = e.querySelectorAll?.call(e, "template");
501
501
  r && te(r, (e) => {
502
- Q(e.content) && sn(e.content);
502
+ Z(e.content) && un(e.content);
503
503
  });
504
- }, cn = function(e) {
504
+ }, dn = function(e) {
505
505
  let t = D ? D(e) : null;
506
- return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
507
- }, Q = function(e) {
506
+ return typeof t != "string" || q(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
507
+ }, Z = function(e) {
508
508
  if (!T || typeof e != "object" || !e) return !1;
509
509
  try {
510
510
  return T(e) === A.documentFragment;
511
511
  } catch {
512
512
  return !1;
513
513
  }
514
- }, ln = function(e) {
514
+ }, Q = function(e) {
515
515
  if (!T || typeof e != "object" || !e) return !1;
516
516
  try {
517
517
  return typeof T(e) == "number";
@@ -521,48 +521,48 @@ function Ue() {
521
521
  };
522
522
  function $(e, n, r) {
523
523
  e.length !== 0 && te(e, (e) => {
524
- e.call(t, n, r, Y);
524
+ e.call(t, n, r, J);
525
525
  });
526
526
  }
527
- let un = function(e, t) {
528
- return !!(yt && e.hasChildNodes() && !ln(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || yt && e.namespaceURI === G && t === "style" && ln(e.firstElementChild) || e.nodeType === A.processingInstruction || yt && e.nodeType === A.comment && S(Le, e.data));
529
- }, dn = function(e, t) {
530
- if (!pt[t] && hn(t) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
531
- if (Dt && !W[t]) {
527
+ let fn = function(e, t) {
528
+ return !!(yt && e.hasChildNodes() && !Q(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || yt && e.namespaceURI === G && t === "style" && Q(e.firstElementChild) || e.nodeType === A.processingInstruction || yt && e.nodeType === A.comment && S(Le, e.data));
529
+ }, pn = function(e, t) {
530
+ if (!pt[t] && _n(t) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
531
+ if (kt && !W[t]) {
532
532
  let t = y(e), n = v(e);
533
533
  if (n && t) {
534
534
  let r = n.length;
535
535
  for (let i = r - 1; i >= 0; --i) {
536
- let r = Ot ? n[i] : ee(n[i], !0);
536
+ let r = At ? n[i] : ee(n[i], !0);
537
537
  t.insertBefore(r, fe(e));
538
538
  }
539
539
  }
540
540
  }
541
- return X(e), !0;
542
- }, fn = function(e) {
543
- if ($(F.beforeSanitizeElements, e, null), cn(e)) return X(e), !0;
544
- let n = J(D ? D(e) : e.nodeName);
541
+ return Y(e), !0;
542
+ }, mn = function(e) {
543
+ if ($(F.beforeSanitizeElements, e, null), dn(e)) return Y(e), !0;
544
+ let n = q(D ? D(e) : e.nodeName);
545
545
  if ($(F.uponSanitizeElement, e, {
546
546
  tagName: n,
547
547
  allowedTags: I
548
- }), un(e, n)) return X(e), !0;
549
- if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !I[n]) return dn(e, n);
550
- if ((T ? T(e) : e.nodeType) === A.element && !$t(e) || (n === "noscript" || n === "noembed" || n === "noframes") && S(Re, e.innerHTML)) return X(e), !0;
548
+ }), fn(e, n)) return Y(e), !0;
549
+ if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !I[n]) return pn(e, n);
550
+ if ((T ? T(e) : e.nodeType) === A.element && !nn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && S(Re, e.innerHTML)) return Y(e), !0;
551
551
  if (B && e.nodeType === A.text) {
552
- let n = on(e.textContent);
552
+ let n = ln(e.textContent);
553
553
  e.textContent !== n && (g(t.removed, { element: e.cloneNode() }), e.textContent = n);
554
554
  }
555
555
  return $(F.afterSanitizeElements, e, null), !1;
556
- }, pn = function(e, t, r) {
557
- if (mt[t] || wt && (t === "id" || t === "name") && (r in n || r in Gt)) return !1;
556
+ }, hn = function(e, t, r) {
557
+ if (mt[t] || Et && (t === "id" || t === "name") && (r in n || r in Jt)) return !1;
558
558
  let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
559
559
  if (!(gt && S(at, t)) && !(ht && S(ot, t))) {
560
560
  if (!i) {
561
- if (!(hn(e) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && S(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
562
- } else if (!Mt[t] && !S(ut, ce(r, ct, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && At[e]) && !(_t && !S(st, ce(r, ct, ""))) && r) return !1;
561
+ if (!(_n(e) && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && S(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && S(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
562
+ } else if (!Pt[t] && !S(ut, ce(r, ct, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && Mt[e]) && !(_t && !S(st, ce(r, ct, ""))) && r) return !1;
563
563
  }
564
564
  return !0;
565
- }, mn = E({}, [
565
+ }, gn = E({}, [
566
566
  "annotation-xml",
567
567
  "color-profile",
568
568
  "font-face",
@@ -571,66 +571,66 @@ function Ue() {
571
571
  "font-face-src",
572
572
  "font-face-uri",
573
573
  "missing-glyph"
574
- ]), hn = function(e) {
575
- return !mn[ae(e)] && S(lt, e);
576
- }, gn = function(e, t, n, r) {
574
+ ]), _n = function(e) {
575
+ return !gn[ae(e)] && S(lt, e);
576
+ }, vn = function(e, t, n, r) {
577
577
  if (M && typeof m == "object" && typeof m.getAttributeType == "function" && !n) switch (m.getAttributeType(e, t)) {
578
578
  case "TrustedHTML": return P(r);
579
579
  case "TrustedScriptURL": return Je(r);
580
580
  }
581
581
  return r;
582
- }, _n = function(e, n, r, i) {
582
+ }, yn = function(e, n, r, i) {
583
583
  try {
584
- r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), cn(e) ? X(e) : re(t.removed);
584
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), dn(e) ? Y(e) : re(t.removed);
585
585
  } catch {
586
- Z(n, e);
586
+ X(n, e);
587
587
  }
588
- }, vn = function(e) {
588
+ }, bn = function(e) {
589
589
  $(F.beforeSanitizeAttributes, e, null);
590
590
  let t = e.attributes;
591
- if (!t || cn(e)) return;
591
+ if (!t || dn(e)) return;
592
592
  let n = {
593
593
  attrName: "",
594
594
  attrValue: "",
595
595
  keepAttr: !0,
596
596
  allowedAttributes: L,
597
597
  forceKeepAttr: void 0
598
- }, r = t.length, i = J(e.nodeName);
598
+ }, r = t.length, i = q(e.nodeName);
599
599
  for (; r--;) {
600
- let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : ue(u);
601
- if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Tt && (l === "id" || l === "name") && le(d, Et) !== 0 && (Z(o, e), d = Et + d), yt && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
602
- Z(o, e);
600
+ let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = q(o), u = c, d = o === "value" ? u : ue(u);
601
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Dt && (l === "id" || l === "name") && le(d, Ot) !== 0 && (X(o, e), d = Ot + d), yt && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
602
+ X(o, e);
603
603
  continue;
604
604
  }
605
605
  if (l === "attributename" && se(d, "href")) {
606
- Z(o, e);
606
+ X(o, e);
607
607
  continue;
608
608
  }
609
609
  if (!n.forceKeepAttr) {
610
610
  if (!n.keepAttr) {
611
- Z(o, e);
611
+ X(o, e);
612
612
  continue;
613
613
  }
614
614
  if (!vt && S(ze, d)) {
615
- Z(o, e);
615
+ X(o, e);
616
616
  continue;
617
617
  }
618
- if (B && (d = on(d)), !pn(i, l, d)) {
619
- Z(o, e);
618
+ if (B && (d = ln(d)), !hn(i, l, d)) {
619
+ X(o, e);
620
620
  continue;
621
621
  }
622
- d = gn(i, l, s, d), d !== u && _n(e, o, s, d);
622
+ d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
623
623
  }
624
624
  }
625
625
  $(F.afterSanitizeAttributes, e, null);
626
- }, yn = function(e) {
627
- let t = null, n = an(e);
628
- for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), fn(t), vn(t), Q(t.content) && yn(t.content), (T ? T(t) : t.nodeType) === A.element) {
626
+ }, xn = function(e) {
627
+ let t = null, n = cn(e);
628
+ for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), mn(t), bn(t), Z(t.content) && xn(t.content), (T ? T(t) : t.nodeType) === A.element) {
629
629
  let e = x(t);
630
- Q(e) && (bn(e), yn(e));
630
+ Z(e) && (Sn(e), xn(e));
631
631
  }
632
632
  $(F.afterSanitizeShadowDOM, e, null);
633
- }, bn = function(e) {
633
+ }, Sn = function(e) {
634
634
  let t = [{
635
635
  node: e,
636
636
  shadow: null
@@ -638,7 +638,7 @@ function Ue() {
638
638
  for (; t.length > 0;) {
639
639
  let e = t.pop();
640
640
  if (e.shadow) {
641
- yn(e.shadow);
641
+ xn(e.shadow);
642
642
  continue;
643
643
  }
644
644
  let n = e.node, r = (T ? T(n) : n.nodeType) === A.element, i = v(n);
@@ -648,9 +648,9 @@ function Ue() {
648
648
  });
649
649
  if (r) {
650
650
  let e = D ? D(n) : null;
651
- if (typeof e == "string" && J(e) === "template") {
651
+ if (typeof e == "string" && q(e) === "template") {
652
652
  let e = n.content;
653
- Q(e) && t.push({
653
+ Z(e) && t.push({
654
654
  node: e,
655
655
  shadow: null
656
656
  });
@@ -658,7 +658,7 @@ function Ue() {
658
658
  }
659
659
  if (r) {
660
660
  let e = x(n);
661
- Q(e) && t.push({
661
+ Z(e) && t.push({
662
662
  node: null,
663
663
  shadow: e
664
664
  }, {
@@ -670,60 +670,62 @@ function Ue() {
670
670
  };
671
671
  return t.sanitize = function(e) {
672
672
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
673
- if (It = !e, It && (e = "<!-->"), typeof e != "string" && !ln(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
673
+ if (Rt = !e, Rt && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
674
674
  if (!t.isSupported) return e;
675
- bt || qt(n), t.removed = [];
676
- let c = Ot && typeof e != "string" && ln(e);
675
+ bt ? (I = xt, L = St) : Xt(n), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (I = O(I)), F.uponSanitizeAttribute.length > 0 && (L = O(L)), t.removed = [];
676
+ let c = At && typeof e != "string" && Q(e);
677
677
  if (c) {
678
678
  let t = D ? D(e) : e.nodeName;
679
679
  if (typeof t == "string") {
680
- let e = J(t);
680
+ let e = q(t);
681
681
  if (!I[e] || pt[e]) throw C("root node is forbidden and cannot be sanitized in-place");
682
682
  }
683
- if (cn(e)) throw C("root node is clobbered and cannot be sanitized in-place");
683
+ if (dn(e)) throw C("root node is clobbered and cannot be sanitized in-place");
684
684
  try {
685
- bn(e);
685
+ Sn(e);
686
686
  } catch (t) {
687
- throw en(e), t;
687
+ throw rn(e), t;
688
688
  }
689
- } else if (ln(e)) i = rn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), bn(a);
689
+ } else if (Q(e)) i = sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
690
690
  else {
691
- if (!H && !B && !V && e.indexOf("<") === -1) return M && Ct ? P(e) : e;
692
- if (i = rn(e), !i) return H ? null : Ct ? N : "";
691
+ if (!H && !B && !V && e.indexOf("<") === -1) return M && Tt ? P(e) : e;
692
+ if (i = sn(e), !i) return H ? null : Tt ? N : "";
693
693
  }
694
- i && xt && X(i.firstChild);
695
- let l = an(c ? e : i);
694
+ i && Ct && Y(i.firstChild);
695
+ let l = cn(c ? e : i);
696
696
  try {
697
- for (; o = l.nextNode();) fn(o), vn(o), Q(o.content) && yn(o.content);
697
+ for (; o = l.nextNode();) mn(o), bn(o), Z(o.content) && xn(o.content);
698
698
  } catch (t) {
699
- throw c && en(e), t;
699
+ throw c && rn(e), t;
700
700
  }
701
701
  if (c) return te(t.removed, (e) => {
702
- e.element && nn(e.element);
703
- }), B && sn(e), e;
702
+ e.element && on(e.element);
703
+ }), B && un(e), e;
704
704
  if (H) {
705
- if (B && sn(i), St) for (s = $e.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
705
+ if (B && un(i), wt) for (s = $e.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
706
706
  else s = i;
707
707
  return (L.shadowroot || L.shadowrootmode) && (s = tt.call(r, s, !0)), s;
708
708
  }
709
709
  let u = V ? i.outerHTML : i.innerHTML;
710
- return V && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = on(u)), M && Ct ? P(u) : u;
710
+ return V && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = ln(u)), M && Tt ? P(u) : u;
711
711
  }, t.setConfig = function() {
712
- qt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), bt = !0;
712
+ Xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), bt = !0, xt = I, St = L;
713
713
  }, t.clearConfig = function() {
714
- Y = null, bt = !1, M = We, N = "";
714
+ J = null, bt = !1, xt = null, St = null, M = We, N = "";
715
715
  }, t.isValidAttribute = function(e, t, n) {
716
- return Y || qt({}), pn(J(e), J(t), n);
716
+ return J || Xt({}), hn(q(e), q(t), n);
717
717
  }, t.addHook = function(e, t) {
718
- typeof t == "function" && g(F[e], t);
718
+ typeof t == "function" && b(F, e) && g(F[e], t);
719
719
  }, t.removeHook = function(e, t) {
720
- if (t !== void 0) {
721
- let n = ne(F[e], t);
722
- return n === -1 ? void 0 : ie(F[e], n, 1)[0];
720
+ if (b(F, e)) {
721
+ if (t !== void 0) {
722
+ let n = ne(F[e], t);
723
+ return n === -1 ? void 0 : ie(F[e], n, 1)[0];
724
+ }
725
+ return re(F[e]);
723
726
  }
724
- return re(F[e]);
725
727
  }, t.removeHooks = function(e) {
726
- F[e] = [];
728
+ b(F, e) && (F[e] = []);
727
729
  }, t.removeAllHooks = function() {
728
730
  F = He();
729
731
  }, t;