@marimo-team/islands 0.23.15-dev53 → 0.23.15-dev57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DMcymmpc.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +3 -3
  2. package/dist/{any-language-editor-BfTj3PPF.js → any-language-editor-P9tjkj4n.js} +18 -18
  3. package/dist/{architectureDiagram-VXUJARFQ-B3jN8fkV.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +5 -5
  4. package/dist/{blockDiagram-VD42YOAC-Dq_8lAbz.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +5 -5
  5. package/dist/{c4Diagram-YG6GDRKO-BPzX9a9A.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +4 -4
  6. package/dist/{channel-D_qwSlm9.js → channel-BN070S0F.js} +1 -1
  7. package/dist/{chat-ui-CYGIiYqI.js → chat-ui-BdSDiVjk.js} +79 -74
  8. package/dist/{chunk-ABZYJK2D-CDSMdLBr.js → chunk-ABZYJK2D-BxBDji1u.js} +1 -1
  9. package/dist/{chunk-ATLVNIR6-BAW0e_d_.js → chunk-ATLVNIR6-qFiszptQ.js} +1 -1
  10. package/dist/{chunk-B4BG7PRW-CfEI05WL.js → chunk-B4BG7PRW-B_z2FEHm.js} +4 -4
  11. package/dist/{chunk-DI55MBZ5-CZS7hhjV.js → chunk-DI55MBZ5-D4Y8yV8B.js} +4 -4
  12. package/dist/{chunk-EXTU4WIE-DHwKB8ls.js → chunk-EXTU4WIE-BQPBhApE.js} +1 -1
  13. package/dist/{chunk-JA3XYJ7Z-Cy80gDpz.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +2 -2
  14. package/dist/{chunk-JZLCHNYA-yfXq27Zq.js → chunk-JZLCHNYA-DWIR9m5O.js} +4 -4
  15. package/dist/{chunk-N4CR4FBY-C9D3Wsot.js → chunk-N4CR4FBY-Bw2HcMNc.js} +5 -5
  16. package/dist/{chunk-QN33PNHL-Bh2YDyg7.js → chunk-QN33PNHL-DPBNNzpR.js} +1 -1
  17. package/dist/{chunk-QXUST7PY-kDpsCDoY.js → chunk-QXUST7PY-DtC2t9Mk.js} +5 -5
  18. package/dist/{chunk-S3R3BYOJ-DkY8Kz3y.js → chunk-S3R3BYOJ-BdgLc8AM.js} +1 -1
  19. package/dist/{chunk-TZMSLE5B-CMZoW3vd.js → chunk-TZMSLE5B-BzSHcq-K.js} +1 -1
  20. package/dist/{classDiagram-2ON5EDUG-b2d3ZqfR.js → classDiagram-2ON5EDUG-BiQPjMNY.js} +10 -10
  21. package/dist/{classDiagram-v2-WZHVMYZB-RvnJbJ5M.js → classDiagram-v2-WZHVMYZB-YHdR8fqM.js} +10 -10
  22. package/dist/{code-visibility-Ddr-Cesu.js → code-visibility-DDYb93Ql.js} +9 -9
  23. package/dist/{dagre-6UL2VRFP--ruFWg_S.js → dagre-6UL2VRFP-DpYjBqQs.js} +7 -7
  24. package/dist/{diagram-PSM6KHXK-CGakapLj.js → diagram-PSM6KHXK-D4ftnaua.js} +6 -6
  25. package/dist/{diagram-QEK2KX5R-CtqD8u_P.js → diagram-QEK2KX5R-DVlUOgs1.js} +4 -4
  26. package/dist/{diagram-S2PKOQOG-BS1wa35J.js → diagram-S2PKOQOG-CGh4OMEV.js} +4 -4
  27. package/dist/{dist-BGLXXYL4.js → dist-3NCqaWjt.js} +2 -2
  28. package/dist/{dist-95kpvRSY.js → dist-4lVIWUT3.js} +1 -1
  29. package/dist/dist-5o9uz19x.js +5 -0
  30. package/dist/{dist-B1k1NmGB.js → dist-B2jmQKKx.js} +2 -2
  31. package/dist/{dist-kcg3gjx6.js → dist-BCX980mU.js} +2 -2
  32. package/dist/{dist-c6wTyIhD.js → dist-BIEt-mlF.js} +1 -1
  33. package/dist/{dist-tJic1rC-.js → dist-BO5HRiTf.js} +2 -2
  34. package/dist/{dist-3MT9i_N5.js → dist-BOMbzyb3.js} +85 -85
  35. package/dist/{dist-Dx3eDsHX.js → dist-BP39XM8u.js} +1 -1
  36. package/dist/{dist-DijFs2Lk.js → dist-BPF0gTRZ.js} +6 -6
  37. package/dist/{dist-BvCrjp81.js → dist-BTdrwBWP.js} +22 -22
  38. package/dist/{dist-CLBjD8zw.js → dist-BdqCKQ1O.js} +2 -2
  39. package/dist/dist-BpDH0DEP.js +5 -0
  40. package/dist/dist-BpXhbQXO.js +8 -0
  41. package/dist/{dist-DgZczohI.js → dist-BpeiYpG2.js} +2 -2
  42. package/dist/{dist-Db1W16d-.js → dist-BwhXBwMd.js} +1 -1
  43. package/dist/dist-ByadAk_L.js +5 -0
  44. package/dist/{dist-B69xyr_D.js → dist-C18MUWTj.js} +2 -2
  45. package/dist/{dist-DPdzbDlL.js → dist-C2_4pjuS.js} +1 -1
  46. package/dist/{dist-B56Dml3A.js → dist-CFSb_Frm.js} +1 -1
  47. package/dist/dist-CK0g7JvP.js +8 -0
  48. package/dist/{dist-CNXNPADS.js → dist-CRmSjkLP.js} +2 -2
  49. package/dist/{dist-D3T8fCFo.js → dist-CSlJrrAw.js} +86 -81
  50. package/dist/dist-CfzCtiq2.js +5 -0
  51. package/dist/{dist-4-bJUNMb.js → dist-D3bdsa1d.js} +4 -4
  52. package/dist/dist-D8JtVFrW.js +8 -0
  53. package/dist/dist-DK2Oocpu.js +6 -0
  54. package/dist/{dist-DBN2w27P.js → dist-DZwp8lro.js} +3 -3
  55. package/dist/{dist-BFgLBSJb.js → dist-DaXJPX8F.js} +2 -2
  56. package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
  57. package/dist/{dist-DPH6RMhL.js → dist-DgjbnqTg.js} +125 -125
  58. package/dist/dist-DnSu977r.js +5 -0
  59. package/dist/{dist-e29IFSI0.js → dist-DviUBLUp.js} +4 -4
  60. package/dist/{dist-BIdzGb3O.js → dist-DwqBJ014.js} +2 -2
  61. package/dist/{dist-BGj6VvC-.js → dist-JGehap7K.js} +5 -5
  62. package/dist/{dist-BGtkYshf.js → dist-LpLXa9Lb.js} +2 -2
  63. package/dist/dist-UmxJm6sW.js +8 -0
  64. package/dist/dist-aYSBQSyM.js +5 -0
  65. package/dist/dist-kkZ1Ztlh.js +6 -0
  66. package/dist/dist-ngPczwNi.js +5 -0
  67. package/dist/{dist-C-RLuUaE.js → dist-pqIwD8VD.js} +2 -2
  68. package/dist/dist-wQRyxyTV.js +5 -0
  69. package/dist/{dist-DvOfvWFi.js → dist-w_gWE5Wf.js} +1 -1
  70. package/dist/{erDiagram-Q2GNP2WA-DmtIJBsT.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +10 -10
  71. package/dist/{esm-D6_uCZ4z.js → esm-DKOv6P2M.js} +341 -341
  72. package/dist/esm-k8PIvuZW.js +1180 -0
  73. package/dist/{extends-B88Yrunj.js → extends-Cq2JYHKy.js} +32 -16
  74. package/dist/{flowDiagram-NV44I4VS-DZsgBUcQ.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +10 -10
  75. package/dist/{formats-DSfNdJLH.js → formats-BFhkZJwd.js} +1 -1
  76. package/dist/{ganttDiagram-JELNMOA3-CgFhg_6K.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +3 -3
  77. package/dist/{gitGraphDiagram-V2S2FVAM-DPInyn1F.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +3 -3
  78. package/dist/{html-to-image-BoXPmWps.js → html-to-image-DDENewl2.js} +34 -34
  79. package/dist/{infoDiagram-HS3SLOUP-ETAzKIiE.js → infoDiagram-HS3SLOUP-D3TyKnL_.js} +3 -3
  80. package/dist/{journeyDiagram-XKPGCS4Q-Bc94zDj1.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +3 -3
  81. package/dist/{kanban-definition-3W4ZIXB7-DSk8Ebci.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +7 -7
  82. package/dist/{loader-BUGT0KbC.js → loader-CTHCI-qe.js} +7 -7
  83. package/dist/main.js +31 -31
  84. package/dist/{mermaid-CYkbfJHW.js → mermaid-CdSvixW2.js} +36 -36
  85. package/dist/{mindmap-definition-VGOIOE7T-BYoCqVAJ.js → mindmap-definition-VGOIOE7T-CCDupjWW.js} +9 -9
  86. package/dist/{pieDiagram-ADFJNKIX-BaAU79Vb.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +4 -4
  87. package/dist/{process-output-CbRRhwQo.js → process-output-2QPcgBQg.js} +1 -1
  88. package/dist/purify.es-EnR5yhgI.js +783 -0
  89. package/dist/{quadrantDiagram-AYHSOK5B-BmTWJxzo.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +2 -2
  90. package/dist/{react-vega-DfJOSnj6.js → react-vega-BazDALhI.js} +633 -633
  91. package/dist/{requirementDiagram-UZGBJVZJ-Jrs04ua1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +9 -9
  92. package/dist/{reveal-component-BY5sWajR.js → reveal-component-C5pW80ik.js} +11 -11
  93. package/dist/{sankeyDiagram-TZEHDZUN-YJnhmG4N.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +2 -2
  94. package/dist/{sequenceDiagram-WL72ISMW-D30L51Bn.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +4 -4
  95. package/dist/{stateDiagram-FKZM4ZOC-C0nZuUP8.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +10 -10
  96. package/dist/{stateDiagram-v2-4FDKWEC3-BmovmS-G.js → stateDiagram-v2-4FDKWEC3-C3xqeavR.js} +10 -10
  97. package/dist/{timeline-definition-IT6M3QCI-DEoIEWAl.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +2 -2
  98. package/dist/{vega-component-uL9ZaXcH.js → vega-component-CrFoZT1S.js} +4 -4
  99. package/dist/{vega-embed-container-DgZMMVL3.js → vega-embed-container-DAQAMjiO.js} +2 -2
  100. package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
  101. package/dist/{xychartDiagram-PRI3JC2R-iwKXEnYZ.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +5 -5
  102. package/package.json +3 -1
  103. package/dist/dist-9yiSURLw.js +0 -6
  104. package/dist/dist-9zfbSqew.js +0 -8
  105. package/dist/dist-BZ_VEpg8.js +0 -8
  106. package/dist/dist-BdYVjH1C.js +0 -5
  107. package/dist/dist-BiIoKp92.js +0 -6
  108. package/dist/dist-Bow9AUXt.js +0 -5
  109. package/dist/dist-C8odMDp5.js +0 -8
  110. package/dist/dist-CLgjZx38.js +0 -5
  111. package/dist/dist-CnMOJtGP.js +0 -5
  112. package/dist/dist-D-5m1nDT.js +0 -5
  113. package/dist/dist-D8AXqiCV.js +0 -5
  114. package/dist/dist-DMuf8sZd.js +0 -5
  115. package/dist/dist-DszXOVSb.js +0 -5
  116. package/dist/dist-GW0m0q65.js +0 -8
  117. package/dist/esm-BxhNWHqh.js +0 -1171
  118. package/dist/purify.es-C-fIGuQm.js +0 -557
  119. package/dist/vega-loader.browser-IU8eTDwM.js +0 -1333
@@ -0,0 +1,783 @@
1
+ function _arrayLikeToArray(e, t) {
2
+ (t == null || t > e.length) && (t = e.length);
3
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
4
+ return r;
5
+ }
6
+ function _arrayWithHoles(e) {
7
+ if (Array.isArray(e)) return e;
8
+ }
9
+ function _iterableToArrayLimit(e, t) {
10
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
11
+ if (n != null) {
12
+ var r, i, a, o, s = [], c = true, l = false;
13
+ try {
14
+ if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = true) ;
15
+ } catch (e2) {
16
+ l = true, i = e2;
17
+ } finally {
18
+ try {
19
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
20
+ } finally {
21
+ if (l) throw i;
22
+ }
23
+ }
24
+ return s;
25
+ }
26
+ }
27
+ function _nonIterableRest() {
28
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
29
+ }
30
+ function _slicedToArray(e, i) {
31
+ return _arrayWithHoles(e) || _iterableToArrayLimit(e, i) || _unsupportedIterableToArray(e, i) || _nonIterableRest();
32
+ }
33
+ function _unsupportedIterableToArray(t, n) {
34
+ if (t) {
35
+ if (typeof t == "string") return _arrayLikeToArray(t, n);
36
+ var r = {}.toString.call(t).slice(8, -1);
37
+ return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? _arrayLikeToArray(t, n) : void 0;
38
+ }
39
+ }
40
+ var entries = Object.entries, setPrototypeOf = Object.setPrototypeOf, isFrozen = Object.isFrozen, getPrototypeOf = Object.getPrototypeOf, getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, freeze = Object.freeze, seal = Object.seal, create = Object.create, _ref = typeof Reflect < "u" && Reflect, apply = _ref.apply, construct = _ref.construct;
41
+ freeze || (freeze = function(e) {
42
+ return e;
43
+ }), seal || (seal = function(e) {
44
+ return e;
45
+ }), apply || (apply = function(e, t) {
46
+ var n = [...arguments].slice(2);
47
+ return e.apply(t, n);
48
+ }), construct || (construct = function(e) {
49
+ return new e(...[...arguments].slice(1));
50
+ });
51
+ var arrayForEach = unapply(Array.prototype.forEach), arrayLastIndexOf = unapply(Array.prototype.lastIndexOf), arrayPop = unapply(Array.prototype.pop), arrayPush = unapply(Array.prototype.push), arraySplice = unapply(Array.prototype.splice), arrayIsArray = Array.isArray, stringToLowerCase = unapply(String.prototype.toLowerCase), stringToString = unapply(String.prototype.toString), stringMatch = unapply(String.prototype.match), stringReplace = unapply(String.prototype.replace), stringIndexOf = unapply(String.prototype.indexOf), stringTrim = unapply(String.prototype.trim), numberToString = unapply(Number.prototype.toString), booleanToString = unapply(Boolean.prototype.toString), bigintToString = typeof BigInt > "u" ? null : unapply(BigInt.prototype.toString), symbolToString = typeof Symbol > "u" ? null : unapply(Symbol.prototype.toString), objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty), objectToString = unapply(Object.prototype.toString), regExpTest = unapply(RegExp.prototype.test), typeErrorCreate = unconstruct(TypeError);
52
+ function unapply(e) {
53
+ return function(t) {
54
+ t instanceof RegExp && (t.lastIndex = 0);
55
+ var n = [...arguments].slice(1);
56
+ return apply(e, t, n);
57
+ };
58
+ }
59
+ function unconstruct(e) {
60
+ return function() {
61
+ return construct(e, [...arguments]);
62
+ };
63
+ }
64
+ function addToSet(e, t) {
65
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;
66
+ if (setPrototypeOf && setPrototypeOf(e, null), !arrayIsArray(t)) return e;
67
+ let r = t.length;
68
+ for (; r--; ) {
69
+ let i = t[r];
70
+ if (typeof i == "string") {
71
+ let e2 = n(i);
72
+ e2 !== i && (isFrozen(t) || (t[r] = e2), i = e2);
73
+ }
74
+ e[i] = true;
75
+ }
76
+ return e;
77
+ }
78
+ function cleanArray(e) {
79
+ for (let t = 0; t < e.length; t++) objectHasOwnProperty(e, t) || (e[t] = null);
80
+ return e;
81
+ }
82
+ function clone(e) {
83
+ let t = create(null);
84
+ for (let r of entries(e)) {
85
+ var n = _slicedToArray(r, 2);
86
+ let a = n[0], o = n[1];
87
+ objectHasOwnProperty(e, a) && (arrayIsArray(o) ? t[a] = cleanArray(o) : o && typeof o == "object" && o.constructor === Object ? t[a] = clone(o) : t[a] = o);
88
+ }
89
+ return t;
90
+ }
91
+ function stringifyValue(e) {
92
+ switch (typeof e) {
93
+ case "string":
94
+ return e;
95
+ case "number":
96
+ return numberToString(e);
97
+ case "boolean":
98
+ return booleanToString(e);
99
+ case "bigint":
100
+ return bigintToString ? bigintToString(e) : "0";
101
+ case "symbol":
102
+ return symbolToString ? symbolToString(e) : "Symbol()";
103
+ case "undefined":
104
+ return objectToString(e);
105
+ case "function":
106
+ case "object": {
107
+ if (e === null) return objectToString(e);
108
+ let t = e, n = lookupGetter(t, "toString");
109
+ if (typeof n == "function") {
110
+ let e2 = n(t);
111
+ return typeof e2 == "string" ? e2 : objectToString(e2);
112
+ }
113
+ return objectToString(e);
114
+ }
115
+ default:
116
+ return objectToString(e);
117
+ }
118
+ }
119
+ function lookupGetter(e, t) {
120
+ for (; e !== null; ) {
121
+ let n2 = getOwnPropertyDescriptor(e, t);
122
+ if (n2) {
123
+ if (n2.get) return unapply(n2.get);
124
+ if (typeof n2.value == "function") return unapply(n2.value);
125
+ }
126
+ e = getPrototypeOf(e);
127
+ }
128
+ function n() {
129
+ return null;
130
+ }
131
+ return n;
132
+ }
133
+ function isRegex(e) {
134
+ try {
135
+ return regExpTest(e, ""), true;
136
+ } catch {
137
+ return false;
138
+ }
139
+ }
140
+ var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), svg$1 = freeze(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), svgFilters = freeze([
141
+ "feBlend",
142
+ "feColorMatrix",
143
+ "feComponentTransfer",
144
+ "feComposite",
145
+ "feConvolveMatrix",
146
+ "feDiffuseLighting",
147
+ "feDisplacementMap",
148
+ "feDistantLight",
149
+ "feDropShadow",
150
+ "feFlood",
151
+ "feFuncA",
152
+ "feFuncB",
153
+ "feFuncG",
154
+ "feFuncR",
155
+ "feGaussianBlur",
156
+ "feImage",
157
+ "feMerge",
158
+ "feMergeNode",
159
+ "feMorphology",
160
+ "feOffset",
161
+ "fePointLight",
162
+ "feSpecularLighting",
163
+ "feSpotLight",
164
+ "feTile",
165
+ "feTurbulence"
166
+ ]), svgDisallowed = freeze([
167
+ "animate",
168
+ "color-profile",
169
+ "cursor",
170
+ "discard",
171
+ "font-face",
172
+ "font-face-format",
173
+ "font-face-name",
174
+ "font-face-src",
175
+ "font-face-uri",
176
+ "foreignobject",
177
+ "hatch",
178
+ "hatchpath",
179
+ "mesh",
180
+ "meshgradient",
181
+ "meshpatch",
182
+ "meshrow",
183
+ "missing-glyph",
184
+ "script",
185
+ "set",
186
+ "solidcolor",
187
+ "unknown",
188
+ "use"
189
+ ]), mathMl$1 = freeze(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), mathMlDisallowed = freeze([
190
+ "maction",
191
+ "maligngroup",
192
+ "malignmark",
193
+ "mlongdiv",
194
+ "mscarries",
195
+ "mscarry",
196
+ "msgroup",
197
+ "mstack",
198
+ "msline",
199
+ "msrow",
200
+ "semantics",
201
+ "annotation",
202
+ "annotation-xml",
203
+ "mprescripts",
204
+ "none"
205
+ ]), text = freeze(["#text"]), html = freeze(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), svg = freeze(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), mathMl = freeze(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), xml = freeze([
206
+ "xlink:href",
207
+ "xml:id",
208
+ "xlink:title",
209
+ "xml:space",
210
+ "xmlns:xlink"
211
+ ]), MUSTACHE_EXPR = seal(/{{[\w\W]*|^[\w\W]*}}/g), ERB_EXPR = seal(/<%[\w\W]*|^[\w\W]*%>/g), TMPLIT_EXPR = seal(/\${[\w\W]*/g), DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/), ARIA_ATTR = seal(/^aria-[\-\w]+$/), IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i), ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), DOCTYPE_NAME = seal(/^html$/i), CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i), ELEMENT_MARKUP_PROBE = seal(/<[/\w!]/g), COMMENT_MARKUP_PROBE = seal(/<[/\w]/g), FALLBACK_TAG_CLOSE = seal(/<\/no(script|embed|frames)/i), SELF_CLOSING_TAG = seal(/\/>/i), NODE_TYPE = {
212
+ element: 1,
213
+ attribute: 2,
214
+ text: 3,
215
+ cdataSection: 4,
216
+ entityReference: 5,
217
+ entityNode: 6,
218
+ processingInstruction: 7,
219
+ comment: 8,
220
+ document: 9,
221
+ documentType: 10,
222
+ documentFragment: 11,
223
+ notation: 12
224
+ }, getGlobal = function() {
225
+ return typeof window > "u" ? null : window;
226
+ }, _createTrustedTypesPolicy = function(e, t) {
227
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
228
+ let n = null, r = "data-tt-policy-suffix";
229
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
230
+ let i = "dompurify" + (n ? "#" + n : "");
231
+ try {
232
+ return e.createPolicy(i, {
233
+ createHTML(e2) {
234
+ return e2;
235
+ },
236
+ createScriptURL(e2) {
237
+ return e2;
238
+ }
239
+ });
240
+ } catch {
241
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
242
+ }
243
+ }, _createHooksMap = function() {
244
+ return {
245
+ afterSanitizeAttributes: [],
246
+ afterSanitizeElements: [],
247
+ afterSanitizeShadowDOM: [],
248
+ beforeSanitizeAttributes: [],
249
+ beforeSanitizeElements: [],
250
+ beforeSanitizeShadowDOM: [],
251
+ uponSanitizeAttribute: [],
252
+ uponSanitizeElement: [],
253
+ uponSanitizeShadowNode: []
254
+ };
255
+ }, _resolveSetOption = function(e, t, n, r) {
256
+ return objectHasOwnProperty(e, t) && arrayIsArray(e[t]) ? addToSet(r.base ? clone(r.base) : {}, e[t], r.transform) : n;
257
+ };
258
+ function createDOMPurify() {
259
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), t = (e2) => createDOMPurify(e2);
260
+ if (t.version = "3.4.12", t.removed = [], !e || !e.document || e.document.nodeType !== NODE_TYPE.document || !e.Element) return t.isSupported = false, t;
261
+ let n = e.document, r = n, i = r.currentScript;
262
+ e.DocumentFragment;
263
+ let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
264
+ e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
265
+ let u = e.DOMParser, f = e.trustedTypes, p = c.prototype, $e = lookupGetter(p, "cloneNode"), et = lookupGetter(p, "remove"), tt = lookupGetter(p, "nextSibling"), m = lookupGetter(p, "childNodes"), h = lookupGetter(p, "parentNode"), nt = lookupGetter(p, "shadowRoot"), rt = lookupGetter(p, "attributes"), g = s && s.prototype ? lookupGetter(s.prototype, "nodeType") : null, _ = s && s.prototype ? lookupGetter(s.prototype, "nodeName") : null;
266
+ if (typeof a == "function") {
267
+ let e2 = n.createElement("template");
268
+ e2.content && e2.content.ownerDocument && (n = e2.content.ownerDocument);
269
+ }
270
+ let v, y = "", it, at = false, b = 0, ot = function() {
271
+ if (b > 0) throw typeErrorCreate('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
272
+ }, x = function(e2) {
273
+ ot(), b++;
274
+ try {
275
+ return v.createHTML(e2);
276
+ } finally {
277
+ b--;
278
+ }
279
+ }, st = function(e2) {
280
+ ot(), b++;
281
+ try {
282
+ return v.createScriptURL(e2);
283
+ } finally {
284
+ b--;
285
+ }
286
+ }, ct = function() {
287
+ return at || (at = (it = _createTrustedTypesPolicy(f, i), true)), it;
288
+ }, S = n, lt = S.implementation, ut = S.createNodeIterator, dt = S.createDocumentFragment, ft = S.getElementsByTagName, pt = r.importNode, C = _createHooksMap();
289
+ t.isSupported = typeof entries == "function" && typeof h == "function" && lt && lt.createHTMLDocument !== void 0;
290
+ let mt = MUSTACHE_EXPR, ht = ERB_EXPR, gt = TMPLIT_EXPR, _t = DATA_ATTR, vt = ARIA_ATTR, yt = IS_SCRIPT_OR_DATA, bt = ATTR_WHITESPACE, xt = CUSTOM_ELEMENT, St = IS_ALLOWED_URI, w = null, Ct = addToSet({}, [
291
+ ...html$1,
292
+ ...svg$1,
293
+ ...svgFilters,
294
+ ...mathMl$1,
295
+ ...text
296
+ ]), T = null, wt = addToSet({}, [
297
+ ...html,
298
+ ...svg,
299
+ ...mathMl,
300
+ ...xml
301
+ ]), E = Object.seal(create(null, {
302
+ tagNameCheck: {
303
+ writable: true,
304
+ configurable: false,
305
+ enumerable: true,
306
+ value: null
307
+ },
308
+ attributeNameCheck: {
309
+ writable: true,
310
+ configurable: false,
311
+ enumerable: true,
312
+ value: null
313
+ },
314
+ allowCustomizedBuiltInElements: {
315
+ writable: true,
316
+ configurable: false,
317
+ enumerable: true,
318
+ value: false
319
+ }
320
+ })), D = null, Tt = null, O = Object.seal(create(null, {
321
+ tagCheck: {
322
+ writable: true,
323
+ configurable: false,
324
+ enumerable: true,
325
+ value: null
326
+ },
327
+ attributeCheck: {
328
+ writable: true,
329
+ configurable: false,
330
+ enumerable: true,
331
+ value: null
332
+ }
333
+ })), Et = true, Dt = true, Ot = false, kt = true, k = false, A = true, j = false, At = false, jt = null, Mt = null, Nt = false, M = false, N = false, P = false, Pt = true, Ft = false, It = "user-content-", Lt = true, Rt = false, F = {}, I = null, zt = addToSet({}, /* @__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(".")), Bt = null, Vt = addToSet({}, [
334
+ "audio",
335
+ "video",
336
+ "img",
337
+ "source",
338
+ "image",
339
+ "track"
340
+ ]), Ht = null, Ut = addToSet({}, [
341
+ "alt",
342
+ "class",
343
+ "for",
344
+ "id",
345
+ "label",
346
+ "name",
347
+ "pattern",
348
+ "placeholder",
349
+ "role",
350
+ "summary",
351
+ "title",
352
+ "value",
353
+ "style",
354
+ "xmlns"
355
+ ]), L = "http://www.w3.org/1998/Math/MathML", R = "http://www.w3.org/2000/svg", z = "http://www.w3.org/1999/xhtml", B = z, Wt = false, Gt = null, Kt = addToSet({}, [
356
+ L,
357
+ R,
358
+ z
359
+ ], stringToString), qt = freeze([
360
+ "mi",
361
+ "mo",
362
+ "mn",
363
+ "ms",
364
+ "mtext"
365
+ ]), Jt = addToSet({}, qt), Yt = freeze(["annotation-xml"]), Xt = addToSet({}, Yt), Zt = addToSet({}, [
366
+ "title",
367
+ "style",
368
+ "font",
369
+ "a",
370
+ "script"
371
+ ]), V = null, Qt = ["application/xhtml+xml", "text/html"], H = null, U = null, $t = n.createElement("form"), en = function(e2) {
372
+ return e2 instanceof RegExp || e2 instanceof Function;
373
+ }, tn = function() {
374
+ let e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
375
+ if (U && U === e2) return;
376
+ (!e2 || typeof e2 != "object") && (e2 = {}), e2 = clone(e2), V = Qt.indexOf(e2.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e2.PARSER_MEDIA_TYPE, H = V === "application/xhtml+xml" ? stringToString : stringToLowerCase, w = _resolveSetOption(e2, "ALLOWED_TAGS", Ct, { transform: H }), T = _resolveSetOption(e2, "ALLOWED_ATTR", wt, { transform: H }), Gt = _resolveSetOption(e2, "ALLOWED_NAMESPACES", Kt, { transform: stringToString }), Ht = _resolveSetOption(e2, "ADD_URI_SAFE_ATTR", Ut, {
377
+ transform: H,
378
+ base: Ut
379
+ }), Bt = _resolveSetOption(e2, "ADD_DATA_URI_TAGS", Vt, {
380
+ transform: H,
381
+ base: Vt
382
+ }), I = _resolveSetOption(e2, "FORBID_CONTENTS", zt, { transform: H }), D = _resolveSetOption(e2, "FORBID_TAGS", clone({}), { transform: H }), Tt = _resolveSetOption(e2, "FORBID_ATTR", clone({}), { transform: H }), F = objectHasOwnProperty(e2, "USE_PROFILES") ? e2.USE_PROFILES && typeof e2.USE_PROFILES == "object" ? clone(e2.USE_PROFILES) : e2.USE_PROFILES : false, Et = e2.ALLOW_ARIA_ATTR !== false, Dt = e2.ALLOW_DATA_ATTR !== false, Ot = e2.ALLOW_UNKNOWN_PROTOCOLS || false, kt = e2.ALLOW_SELF_CLOSE_IN_ATTR !== false, k = e2.SAFE_FOR_TEMPLATES || false, A = e2.SAFE_FOR_XML !== false, j = e2.WHOLE_DOCUMENT || false, M = e2.RETURN_DOM || false, N = e2.RETURN_DOM_FRAGMENT || false, P = e2.RETURN_TRUSTED_TYPE || false, Nt = e2.FORCE_BODY || false, Pt = e2.SANITIZE_DOM !== false, Ft = e2.SANITIZE_NAMED_PROPS || false, Lt = e2.KEEP_CONTENT !== false, Rt = e2.IN_PLACE || false, St = isRegex(e2.ALLOWED_URI_REGEXP) ? e2.ALLOWED_URI_REGEXP : IS_ALLOWED_URI, B = typeof e2.NAMESPACE == "string" ? e2.NAMESPACE : z, Jt = objectHasOwnProperty(e2, "MATHML_TEXT_INTEGRATION_POINTS") && e2.MATHML_TEXT_INTEGRATION_POINTS && typeof e2.MATHML_TEXT_INTEGRATION_POINTS == "object" ? clone(e2.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, qt), Xt = objectHasOwnProperty(e2, "HTML_INTEGRATION_POINTS") && e2.HTML_INTEGRATION_POINTS && typeof e2.HTML_INTEGRATION_POINTS == "object" ? clone(e2.HTML_INTEGRATION_POINTS) : addToSet({}, Yt);
383
+ let t2 = objectHasOwnProperty(e2, "CUSTOM_ELEMENT_HANDLING") && e2.CUSTOM_ELEMENT_HANDLING && typeof e2.CUSTOM_ELEMENT_HANDLING == "object" ? clone(e2.CUSTOM_ELEMENT_HANDLING) : create(null);
384
+ if (E = create(null), objectHasOwnProperty(t2, "tagNameCheck") && en(t2.tagNameCheck) && (E.tagNameCheck = t2.tagNameCheck), objectHasOwnProperty(t2, "attributeNameCheck") && en(t2.attributeNameCheck) && (E.attributeNameCheck = t2.attributeNameCheck), objectHasOwnProperty(t2, "allowCustomizedBuiltInElements") && typeof t2.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = t2.allowCustomizedBuiltInElements), seal(E), k && (Dt = false), N && (M = true), F && (w = addToSet({}, text), T = create(null), F.html === true && (addToSet(w, html$1), addToSet(T, html)), F.svg === true && (addToSet(w, svg$1), addToSet(T, svg), addToSet(T, xml)), F.svgFilters === true && (addToSet(w, svgFilters), addToSet(T, svg), addToSet(T, xml)), F.mathMl === true && (addToSet(w, mathMl$1), addToSet(T, mathMl), addToSet(T, xml))), O.tagCheck = null, O.attributeCheck = null, objectHasOwnProperty(e2, "ADD_TAGS") && (typeof e2.ADD_TAGS == "function" ? O.tagCheck = e2.ADD_TAGS : arrayIsArray(e2.ADD_TAGS) && (w === Ct && (w = clone(w)), addToSet(w, e2.ADD_TAGS, H))), objectHasOwnProperty(e2, "ADD_ATTR") && (typeof e2.ADD_ATTR == "function" ? O.attributeCheck = e2.ADD_ATTR : arrayIsArray(e2.ADD_ATTR) && (T === wt && (T = clone(T)), addToSet(T, e2.ADD_ATTR, H))), objectHasOwnProperty(e2, "ADD_URI_SAFE_ATTR") && arrayIsArray(e2.ADD_URI_SAFE_ATTR) && addToSet(Ht, e2.ADD_URI_SAFE_ATTR, H), objectHasOwnProperty(e2, "FORBID_CONTENTS") && arrayIsArray(e2.FORBID_CONTENTS) && (I === zt && (I = clone(I)), addToSet(I, e2.FORBID_CONTENTS, H)), objectHasOwnProperty(e2, "ADD_FORBID_CONTENTS") && arrayIsArray(e2.ADD_FORBID_CONTENTS) && (I === zt && (I = clone(I)), addToSet(I, e2.ADD_FORBID_CONTENTS, H)), Lt && (w["#text"] = true), j && addToSet(w, [
385
+ "html",
386
+ "head",
387
+ "body"
388
+ ]), w.table && (addToSet(w, ["tbody"]), delete D.tbody), e2.TRUSTED_TYPES_POLICY) {
389
+ if (typeof e2.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
390
+ if (typeof e2.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
391
+ let t3 = v;
392
+ v = e2.TRUSTED_TYPES_POLICY;
393
+ try {
394
+ y = x("");
395
+ } catch (e3) {
396
+ throw v = t3, e3;
397
+ }
398
+ } else e2.TRUSTED_TYPES_POLICY === null ? (v = void 0, y = "") : (v === void 0 && (v = ct()), v && typeof y == "string" && (y = x("")));
399
+ freeze && freeze(e2), U = e2;
400
+ }, nn = addToSet({}, [
401
+ ...svg$1,
402
+ ...svgFilters,
403
+ ...svgDisallowed
404
+ ]), rn = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), an = function(e2, t2, n2) {
405
+ return t2.namespaceURI === z ? e2 === "svg" : t2.namespaceURI === L ? e2 === "svg" && (n2 === "annotation-xml" || Jt[n2]) : !!nn[e2];
406
+ }, on = function(e2, t2, n2) {
407
+ return t2.namespaceURI === z ? e2 === "math" : t2.namespaceURI === R ? e2 === "math" && Xt[n2] : !!rn[e2];
408
+ }, sn = function(e2, t2, n2) {
409
+ return t2.namespaceURI === R && !Xt[n2] || t2.namespaceURI === L && !Jt[n2] ? false : !rn[e2] && (Zt[e2] || !nn[e2]);
410
+ }, cn = function(e2) {
411
+ let t2 = h(e2);
412
+ (!t2 || !t2.tagName) && (t2 = {
413
+ namespaceURI: B,
414
+ tagName: "template"
415
+ });
416
+ let n2 = stringToLowerCase(e2.tagName), r2 = stringToLowerCase(t2.tagName);
417
+ return Gt[e2.namespaceURI] ? e2.namespaceURI === R ? an(n2, t2, r2) : e2.namespaceURI === L ? on(n2, t2, r2) : e2.namespaceURI === z ? sn(n2, t2, r2) : !!(V === "application/xhtml+xml" && Gt[e2.namespaceURI]) : false;
418
+ }, W = function(e2) {
419
+ arrayPush(t.removed, { element: e2 });
420
+ try {
421
+ h(e2).removeChild(e2);
422
+ } catch {
423
+ if (et(e2), !h(e2)) throw typeErrorCreate("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
424
+ }
425
+ }, G = function(e2) {
426
+ un(e2);
427
+ let t2 = m(e2);
428
+ if (t2) {
429
+ let e3 = [];
430
+ arrayForEach(t2, (t3) => {
431
+ arrayPush(e3, t3);
432
+ }), arrayForEach(e3, (e4) => {
433
+ try {
434
+ et(e4);
435
+ } catch {
436
+ }
437
+ });
438
+ }
439
+ let n2 = rt(e2);
440
+ if (n2) for (let t3 = n2.length - 1; t3 >= 0; --t3) {
441
+ let r2 = n2[t3], i2 = r2 && r2.name;
442
+ if (typeof i2 == "string") try {
443
+ e2.removeAttribute(i2);
444
+ } catch {
445
+ }
446
+ }
447
+ }, K = function(e2, n2) {
448
+ try {
449
+ arrayPush(t.removed, {
450
+ attribute: n2.getAttributeNode(e2),
451
+ from: n2
452
+ });
453
+ } catch {
454
+ arrayPush(t.removed, {
455
+ attribute: null,
456
+ from: n2
457
+ });
458
+ }
459
+ if (n2.removeAttribute(e2), e2 === "is") if (M || N) try {
460
+ W(n2);
461
+ } catch {
462
+ }
463
+ else try {
464
+ n2.setAttribute(e2, "");
465
+ } catch {
466
+ }
467
+ }, ln = function(e2) {
468
+ let t2 = rt(e2);
469
+ if (t2) for (let n2 = t2.length - 1; n2 >= 0; --n2) {
470
+ let r2 = t2[n2], i2 = r2 && r2.name;
471
+ if (!(typeof i2 != "string" || T[H(i2)])) try {
472
+ e2.removeAttribute(i2);
473
+ } catch {
474
+ }
475
+ }
476
+ }, un = function(e2) {
477
+ let t2 = [e2];
478
+ for (; t2.length > 0; ) {
479
+ let e3 = t2.pop();
480
+ (g ? g(e3) : e3.nodeType) === NODE_TYPE.element && ln(e3);
481
+ let n2 = m(e3);
482
+ if (n2) for (let e4 = n2.length - 1; e4 >= 0; --e4) t2.push(n2[e4]);
483
+ }
484
+ }, dn = function(e2) {
485
+ if (!A) return;
486
+ let t2 = [e2];
487
+ for (; t2.length > 0; ) {
488
+ let e3 = t2.pop(), n2 = g ? g(e3) : e3.nodeType;
489
+ if (n2 === NODE_TYPE.processingInstruction || n2 === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, e3.data)) {
490
+ try {
491
+ et(e3);
492
+ } catch {
493
+ }
494
+ continue;
495
+ }
496
+ if (n2 === NODE_TYPE.element) {
497
+ let t3 = e3, n3 = H(_ ? _(e3) : e3.nodeName);
498
+ try {
499
+ t3.hasAttribute && t3.hasAttribute("patchsrc") && t3.removeAttribute("patchsrc"), t3.hasAttribute && t3.hasAttribute("for") && n3 !== "label" && n3 !== "output" && t3.removeAttribute("for");
500
+ } catch {
501
+ }
502
+ }
503
+ let r2 = m(e3);
504
+ if (r2) for (let e4 = r2.length - 1; e4 >= 0; --e4) t2.push(r2[e4]);
505
+ }
506
+ }, fn = function(e2) {
507
+ let t2 = null, r2 = null;
508
+ if (Nt) e2 = "<remove></remove>" + e2;
509
+ else {
510
+ let t3 = stringMatch(e2, /^[\r\n\t ]+/);
511
+ r2 = t3 && t3[0];
512
+ }
513
+ V === "application/xhtml+xml" && B === z && (e2 = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e2 + "</body></html>");
514
+ let i2 = v ? x(e2) : e2;
515
+ if (B === z) try {
516
+ t2 = new u().parseFromString(i2, V);
517
+ } catch {
518
+ }
519
+ if (!t2 || !t2.documentElement) {
520
+ t2 = lt.createDocument(B, "template", null);
521
+ try {
522
+ t2.documentElement.innerHTML = Wt ? y : i2;
523
+ } catch {
524
+ }
525
+ }
526
+ let a2 = t2.body || t2.documentElement;
527
+ return e2 && r2 && a2.insertBefore(n.createTextNode(r2), a2.childNodes[0] || null), B === z ? ft.call(t2, j ? "html" : "body")[0] : j ? t2.documentElement : a2;
528
+ }, pn = function(e2) {
529
+ return ut.call(e2.ownerDocument || e2, e2, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
530
+ }, q = function(e2) {
531
+ return e2 = stringReplace(e2, mt, " "), e2 = stringReplace(e2, ht, " "), e2 = stringReplace(e2, gt, " "), e2;
532
+ }, J = function(e2) {
533
+ var _a;
534
+ e2.normalize();
535
+ let t2 = ut.call(e2.ownerDocument || e2, e2, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), n2 = t2.nextNode();
536
+ for (; n2; ) n2.data = q(n2.data), n2 = t2.nextNode();
537
+ let r2 = (_a = e2.querySelectorAll) == null ? void 0 : _a.call(e2, "template");
538
+ r2 && arrayForEach(r2, (e3) => {
539
+ X(e3.content) && J(e3.content);
540
+ });
541
+ }, Y = function(e2) {
542
+ let t2 = _ ? _(e2) : null;
543
+ return typeof t2 != "string" || H(t2) !== "form" ? false : typeof e2.nodeName != "string" || typeof e2.textContent != "string" || typeof e2.removeChild != "function" || e2.attributes !== rt(e2) || typeof e2.removeAttribute != "function" || typeof e2.setAttribute != "function" || typeof e2.namespaceURI != "string" || typeof e2.insertBefore != "function" || typeof e2.hasChildNodes != "function" || e2.nodeType !== g(e2) || e2.childNodes !== m(e2);
544
+ }, X = function(e2) {
545
+ if (!g || typeof e2 != "object" || !e2) return false;
546
+ try {
547
+ return g(e2) === NODE_TYPE.documentFragment;
548
+ } catch {
549
+ return false;
550
+ }
551
+ }, Z = function(e2) {
552
+ if (!g || typeof e2 != "object" || !e2) return false;
553
+ try {
554
+ return typeof g(e2) == "number";
555
+ } catch {
556
+ return false;
557
+ }
558
+ };
559
+ function Q(e2, n2, r2) {
560
+ e2.length !== 0 && arrayForEach(e2, (e3) => {
561
+ e3.call(t, n2, r2, U);
562
+ });
563
+ }
564
+ let mn = function(e2, t2) {
565
+ return !!(A && e2.hasChildNodes() && !Z(e2.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, e2.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, e2.innerHTML) || A && e2.namespaceURI === z && t2 === "style" && Z(e2.firstElementChild) || e2.nodeType === NODE_TYPE.processingInstruction || A && e2.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, e2.data));
566
+ }, hn = function(e2, t2) {
567
+ if (!D[t2] && yn(t2) && (E.tagNameCheck instanceof RegExp && regExpTest(E.tagNameCheck, t2) || E.tagNameCheck instanceof Function && E.tagNameCheck(t2))) return false;
568
+ if (Lt && !I[t2]) {
569
+ let t3 = h(e2), n2 = m(e2);
570
+ if (n2 && t3) {
571
+ let r2 = n2.length;
572
+ for (let i2 = r2 - 1; i2 >= 0; --i2) {
573
+ let r3 = Rt ? n2[i2] : $e(n2[i2], true);
574
+ t3.insertBefore(r3, tt(e2));
575
+ }
576
+ }
577
+ }
578
+ return W(e2), true;
579
+ }, gn = function(e2, n2) {
580
+ if (Q(C.beforeSanitizeElements, e2, null), e2 !== n2 && h(e2) === null) return true;
581
+ if (Y(e2)) return W(e2), true;
582
+ let r2 = H(_ ? _(e2) : e2.nodeName);
583
+ if (Q(C.uponSanitizeElement, e2, {
584
+ tagName: r2,
585
+ allowedTags: w
586
+ }), e2 !== n2 && h(e2) === null) return true;
587
+ if (mn(e2, r2)) return W(e2), true;
588
+ if (D[r2] || !(O.tagCheck instanceof Function && O.tagCheck(r2)) && !w[r2]) {
589
+ let t2 = hn(e2, r2);
590
+ return t2 === false && Q(C.afterSanitizeElements, e2, null), t2;
591
+ }
592
+ if ((g ? g(e2) : e2.nodeType) === NODE_TYPE.element && !cn(e2) || (r2 === "noscript" || r2 === "noembed" || r2 === "noframes") && regExpTest(FALLBACK_TAG_CLOSE, e2.innerHTML)) return W(e2), true;
593
+ if (k && e2.nodeType === NODE_TYPE.text) {
594
+ let n3 = q(e2.textContent);
595
+ e2.textContent !== n3 && (arrayPush(t.removed, { element: e2.cloneNode() }), e2.textContent = n3);
596
+ }
597
+ return Q(C.afterSanitizeElements, e2, null), false;
598
+ }, _n = function(e2, t2, r2) {
599
+ if (Tt[t2] || A && t2 === "patchsrc" || A && t2 === "for" && e2 !== "label" && e2 !== "output" || Pt && (t2 === "id" || t2 === "name") && (r2 in n || r2 in $t)) return false;
600
+ let i2 = T[t2] || O.attributeCheck instanceof Function && O.attributeCheck(t2, e2);
601
+ if (!(Dt && regExpTest(_t, t2)) && !(Et && regExpTest(vt, t2))) {
602
+ if (i2) {
603
+ if (!Ht[t2] && !regExpTest(St, stringReplace(r2, bt, "")) && !((t2 === "src" || t2 === "xlink:href" || t2 === "href") && e2 !== "script" && stringIndexOf(r2, "data:") === 0 && Bt[e2]) && !(Ot && !regExpTest(yt, stringReplace(r2, bt, ""))) && r2) return false;
604
+ } else if (!(yn(e2) && (E.tagNameCheck instanceof RegExp && regExpTest(E.tagNameCheck, e2) || E.tagNameCheck instanceof Function && E.tagNameCheck(e2)) && (E.attributeNameCheck instanceof RegExp && regExpTest(E.attributeNameCheck, t2) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(t2, e2)) || t2 === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && regExpTest(E.tagNameCheck, r2) || E.tagNameCheck instanceof Function && E.tagNameCheck(r2)))) return false;
605
+ }
606
+ return true;
607
+ }, vn = addToSet({}, [
608
+ "annotation-xml",
609
+ "color-profile",
610
+ "font-face",
611
+ "font-face-format",
612
+ "font-face-name",
613
+ "font-face-src",
614
+ "font-face-uri",
615
+ "missing-glyph"
616
+ ]), yn = function(e2) {
617
+ return !vn[stringToLowerCase(e2)] && regExpTest(xt, e2);
618
+ }, bn = function(e2, t2, n2, r2) {
619
+ if (v && typeof f == "object" && typeof f.getAttributeType == "function" && !n2) switch (f.getAttributeType(e2, t2)) {
620
+ case "TrustedHTML":
621
+ return x(r2);
622
+ case "TrustedScriptURL":
623
+ return st(r2);
624
+ }
625
+ return r2;
626
+ }, xn = function(e2, n2, r2, i2) {
627
+ try {
628
+ r2 ? e2.setAttributeNS(r2, n2, i2) : e2.setAttribute(n2, i2), Y(e2) ? W(e2) : arrayPop(t.removed);
629
+ } catch {
630
+ K(n2, e2);
631
+ }
632
+ }, Sn = function(e2) {
633
+ Q(C.beforeSanitizeAttributes, e2, null);
634
+ let t2 = e2.attributes;
635
+ if (!t2 || Y(e2)) return;
636
+ let n2 = {
637
+ attrName: "",
638
+ attrValue: "",
639
+ keepAttr: true,
640
+ allowedAttributes: T,
641
+ forceKeepAttr: void 0
642
+ }, r2 = t2.length, i2 = H(e2.nodeName);
643
+ for (; r2--; ) {
644
+ let a2 = t2[r2], o = a2.name, s2 = a2.namespaceURI, c2 = a2.value, l2 = H(o), u2 = c2, d = o === "value" ? u2 : stringTrim(u2);
645
+ if (n2.attrName = l2, n2.attrValue = d, n2.keepAttr = true, n2.forceKeepAttr = void 0, Q(C.uponSanitizeAttribute, e2, n2), d = n2.attrValue, Ft && (l2 === "id" || l2 === "name") && stringIndexOf(d, It) !== 0 && (K(o, e2), d = It + d), A && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
646
+ K(o, e2);
647
+ continue;
648
+ }
649
+ if (l2 === "attributename" && stringMatch(d, "href")) {
650
+ K(o, e2);
651
+ continue;
652
+ }
653
+ if (!n2.forceKeepAttr) {
654
+ if (!n2.keepAttr) {
655
+ K(o, e2);
656
+ continue;
657
+ }
658
+ if (!kt && regExpTest(SELF_CLOSING_TAG, d)) {
659
+ K(o, e2);
660
+ continue;
661
+ }
662
+ if (k && (d = q(d)), !_n(i2, l2, d)) {
663
+ K(o, e2);
664
+ continue;
665
+ }
666
+ d = bn(i2, l2, s2, d), d !== u2 && xn(e2, o, s2, d);
667
+ }
668
+ }
669
+ Q(C.afterSanitizeAttributes, e2, null);
670
+ }, $ = function(e2) {
671
+ let t2 = null, n2 = pn(e2);
672
+ for (Q(C.beforeSanitizeShadowDOM, e2, null); t2 = n2.nextNode(); ) if (Q(C.uponSanitizeShadowNode, t2, null), gn(t2, e2), Sn(t2), X(t2.content) && $(t2.content), (g ? g(t2) : t2.nodeType) === NODE_TYPE.element) {
673
+ let e3 = nt(t2);
674
+ X(e3) && (Cn(e3), $(e3));
675
+ }
676
+ Q(C.afterSanitizeShadowDOM, e2, null);
677
+ }, Cn = function(e2) {
678
+ let t2 = [{
679
+ node: e2,
680
+ shadow: null
681
+ }];
682
+ for (; t2.length > 0; ) {
683
+ let e3 = t2.pop();
684
+ if (e3.shadow) {
685
+ $(e3.shadow);
686
+ continue;
687
+ }
688
+ let n2 = e3.node, r2 = (g ? g(n2) : n2.nodeType) === NODE_TYPE.element, i2 = m(n2);
689
+ if (i2) for (let e4 = i2.length - 1; e4 >= 0; --e4) t2.push({
690
+ node: i2[e4],
691
+ shadow: null
692
+ });
693
+ if (r2) {
694
+ let e4 = _ ? _(n2) : null;
695
+ if (typeof e4 == "string" && H(e4) === "template") {
696
+ let e5 = n2.content;
697
+ X(e5) && t2.push({
698
+ node: e5,
699
+ shadow: null
700
+ });
701
+ }
702
+ }
703
+ if (r2) {
704
+ let e4 = nt(n2);
705
+ X(e4) && t2.push({
706
+ node: null,
707
+ shadow: e4
708
+ }, {
709
+ node: e4,
710
+ shadow: null
711
+ });
712
+ }
713
+ }
714
+ };
715
+ return t.sanitize = function(e2) {
716
+ let n2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i2 = null, a2 = null, o = null, s2 = null;
717
+ if (Wt = !e2, Wt && (e2 = "<!-->"), typeof e2 != "string" && !Z(e2) && (e2 = stringifyValue(e2), typeof e2 != "string")) throw typeErrorCreate("dirty is not a string, aborting");
718
+ if (!t.isSupported) return e2;
719
+ At ? (w = jt, T = Mt) : tn(n2), (C.uponSanitizeElement.length > 0 || C.uponSanitizeAttribute.length > 0) && (w = clone(w)), C.uponSanitizeAttribute.length > 0 && (T = clone(T)), t.removed = [];
720
+ let c2 = Rt && typeof e2 != "string" && Z(e2);
721
+ if (c2) {
722
+ dn(e2);
723
+ let t2 = _ ? _(e2) : e2.nodeName;
724
+ if (typeof t2 == "string") {
725
+ let n3 = H(t2);
726
+ if (!w[n3] || D[n3]) throw G(e2), typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
727
+ }
728
+ if (Y(e2)) throw G(e2), typeErrorCreate("root node is clobbered and cannot be sanitized in-place");
729
+ try {
730
+ Cn(e2);
731
+ } catch (t3) {
732
+ throw G(e2), t3;
733
+ }
734
+ } else if (Z(e2)) i2 = fn("<!---->"), a2 = i2.ownerDocument.importNode(e2, true), a2.nodeType === NODE_TYPE.element && a2.nodeName === "BODY" || a2.nodeName === "HTML" ? i2 = a2 : i2.appendChild(a2), Cn(a2);
735
+ else {
736
+ if (!M && !k && !j && e2.indexOf("<") === -1) return v && P ? x(e2) : e2;
737
+ if (i2 = fn(e2), !i2) return M ? null : P ? y : "";
738
+ }
739
+ i2 && Nt && W(i2.firstChild);
740
+ let l2 = c2 ? e2 : i2, u2 = pn(l2);
741
+ try {
742
+ for (; o = u2.nextNode(); ) gn(o, l2), Sn(o), X(o.content) && $(o.content);
743
+ } catch (n3) {
744
+ throw c2 && (G(e2), arrayForEach(t.removed, (e3) => {
745
+ e3.element && un(e3.element);
746
+ })), n3;
747
+ }
748
+ if (c2) return arrayForEach(t.removed, (e3) => {
749
+ e3.element && un(e3.element);
750
+ }), k && J(e2), e2;
751
+ if (M) {
752
+ if (k && J(i2), N) for (s2 = dt.call(i2.ownerDocument); i2.firstChild; ) s2.appendChild(i2.firstChild);
753
+ else s2 = i2;
754
+ return (T.shadowroot || T.shadowrootmode) && (s2 = pt.call(r, s2, true)), s2;
755
+ }
756
+ let d = j ? i2.outerHTML : i2.innerHTML;
757
+ return j && w["!doctype"] && i2.ownerDocument && i2.ownerDocument.doctype && i2.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, i2.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i2.ownerDocument.doctype.name + ">\n" + d), k && (d = q(d)), v && P ? x(d) : d;
758
+ }, t.setConfig = function() {
759
+ tn(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), At = true, jt = w, Mt = T;
760
+ }, t.clearConfig = function() {
761
+ U = null, At = false, jt = null, Mt = null, v = it, y = "";
762
+ }, t.isValidAttribute = function(e2, t2, n2) {
763
+ return U || tn({}), _n(H(e2), H(t2), n2);
764
+ }, t.addHook = function(e2, t2) {
765
+ typeof t2 == "function" && objectHasOwnProperty(C, e2) && arrayPush(C[e2], t2);
766
+ }, t.removeHook = function(e2, t2) {
767
+ if (objectHasOwnProperty(C, e2)) {
768
+ if (t2 !== void 0) {
769
+ let n2 = arrayLastIndexOf(C[e2], t2);
770
+ return n2 === -1 ? void 0 : arraySplice(C[e2], n2, 1)[0];
771
+ }
772
+ return arrayPop(C[e2]);
773
+ }
774
+ }, t.removeHooks = function(e2) {
775
+ objectHasOwnProperty(C, e2) && (C[e2] = []);
776
+ }, t.removeAllHooks = function() {
777
+ C = _createHooksMap();
778
+ }, t;
779
+ }
780
+ var purify = createDOMPurify();
781
+ export {
782
+ purify as t
783
+ };