@orangelogic/design-system 4.69.0 → 4.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/library/chunks/{abnfDiagram-N423BO3Z.H1zwr_k6.js → abnfDiagram-N423BO3Z.DF8zrlpl.js} +3 -3
  2. package/library/chunks/{alert.2Esbser8.js → alert.R0uU2KH7.js} +2 -2
  3. package/library/chunks/{architectureDiagram-T3A2C74G.AxjW1Pvo.js → architectureDiagram-T3A2C74G.ChMyS2RN.js} +5 -5
  4. package/library/chunks/{array-line-clamp.C0Vo0Zzg.js → array-line-clamp.sdjI6U9A.js} +2 -2
  5. package/library/chunks/{asset-link-format.COPyGdND.js → asset-link-format.D6L-qc3X.js} +8 -8
  6. package/library/chunks/{asset-link-format.Ce_3Qz6_.js → asset-link-format.dq41gJTI.js} +389 -384
  7. package/library/chunks/{audio.B0VfXBIx.js → audio.Bh_OVMPq.js} +2 -2
  8. package/library/chunks/{bicolor-picker.DS9Uut25.js → bicolor-picker.BiEM_IkN.js} +1 -1
  9. package/library/chunks/{block-width.CSyA0Dwe.js → block-width.DVoxwnhY.js} +44 -44
  10. package/library/chunks/{blockDiagram-VBNYF7ZC.BA5YJ5tg.js → blockDiagram-VBNYF7ZC.Dd9MRQVF.js} +6 -6
  11. package/library/chunks/{border-input-group.B6fqiG6F.js → border-input-group.zw5e2uZT.js} +3 -3
  12. package/library/chunks/{breadcrumb.DkINVxcJ.js → breadcrumb.BUMgMApw.js} +1 -1
  13. package/library/chunks/{button.DKkHqsUz.js → button.Dja-uoTw.js} +3 -3
  14. package/library/chunks/{c4Diagram-5PPSVZJV.B1weqOqz.js → c4Diagram-5PPSVZJV.BYo1Zq25.js} +3 -3
  15. package/library/chunks/{channel.Bqlqmufs.js → channel.DQU07rrH.js} +1 -1
  16. package/library/chunks/{checkbox.BdSpQlwf.js → checkbox.BzR50Is_.js} +2 -2
  17. package/library/chunks/{chunk-2GRJ4B5K.BOBf1_FX.js → chunk-2GRJ4B5K.DSIuCed9.js} +1 -1
  18. package/library/chunks/{chunk-4I5QYGJK.DfO_P7bO.js → chunk-4I5QYGJK.C74S0dID.js} +1 -1
  19. package/library/chunks/{chunk-5RXB4S5H.oisV3Q1b.js → chunk-5RXB4S5H.BSZ9vwQ_.js} +6 -6
  20. package/library/chunks/{chunk-6Q2QTUOP.ByglL7sM.js → chunk-6Q2QTUOP.C98k0Ypz.js} +2 -2
  21. package/library/chunks/{chunk-7Z6QIM7H.BXSFN_6B.js → chunk-7Z6QIM7H.CbyAI1qL.js} +6 -6
  22. package/library/chunks/{chunk-GF5L2VYU.BBRVN_Sz.js → chunk-GF5L2VYU.BwnEI-9p.js} +6 -6
  23. package/library/chunks/{chunk-I66GZJ75.lUTR0Zxp.js → chunk-I66GZJ75.hYJHAb8_.js} +1 -1
  24. package/library/chunks/{chunk-JQJVKLGR.dOAJ_eec.js → chunk-JQJVKLGR.Ca9c6WQC.js} +8 -8
  25. package/library/chunks/{chunk-KBJHAD2P.Bfz5cQAa.js → chunk-KBJHAD2P.Dpm7St5I.js} +1 -1
  26. package/library/chunks/{chunk-NSK5VX7P.BkWzMz1o.js → chunk-NSK5VX7P.JTL9VQLt.js} +1 -1
  27. package/library/chunks/{chunk-QR6OTTB3.DyBl4spZ.js → chunk-QR6OTTB3.1iZWec7S.js} +6 -6
  28. package/library/chunks/{chunk-UBXNYLIW.BjkOeuJd.js → chunk-UBXNYLIW.DiZRcRzh.js} +2 -2
  29. package/library/chunks/{chunk-W5SLKNZC.DzlXmWcA.js → chunk-W5SLKNZC.BpdNkiim.js} +1 -1
  30. package/library/chunks/{chunk-WRU74C26.BDl8PZFV.js → chunk-WRU74C26.BREX4nlj.js} +3 -3
  31. package/library/chunks/{classDiagram-JCYQIIEL.P36yteOv.js → classDiagram-JCYQIIEL.CHysnuuw.js} +12 -12
  32. package/library/chunks/{classDiagram-v2-OCEON4UE.C05djrx3.js → classDiagram-v2-OCEON4UE.CMVfaUrJ.js} +12 -12
  33. package/library/chunks/{color-picker.DZUudAAS.js → color-picker.dyBoEYVk.js} +11 -11
  34. package/library/chunks/{color-swatch-group.CuMJc6m8.js → color-swatch-group.D7ezyFa4.js} +24 -24
  35. package/library/chunks/{color-swatch.DXAr2gBg.js → color-swatch.y7Bpth0U.js} +3 -3
  36. package/library/chunks/{config-manager.BFqNZV0l.js → config-manager.DxNqEyoQ.js} +32 -32
  37. package/library/chunks/{configs-controller.TQDPq63n.js → configs-controller.Dw2p65Lp.js} +9 -9
  38. package/library/chunks/{confirm-popover.sZVNhFPh.js → confirm-popover.CBU6yy6Y.js} +4 -4
  39. package/library/chunks/{copy-button.CqqKJEh3.js → copy-button.FXPqVprU.js} +2 -2
  40. package/library/chunks/{corner-position-input-group.nTlFes0_.js → corner-position-input-group.itPK9LEh.js} +4 -4
  41. package/library/chunks/{cropper.BF32WRyP.js → cropper.D8Uu43xy.js} +1 -1
  42. package/library/chunks/{cynefinDiagram-MW4NZA55.CN3dX-zy.js → cynefinDiagram-MW4NZA55.CNmGi2wN.js} +3 -3
  43. package/library/chunks/{dagre-VZM6K2ZE.DpSsP2YW.js → dagre-VZM6K2ZE.pAZyqROg.js} +8 -8
  44. package/library/chunks/date-calendar.CVCAmoi6.js +188 -0
  45. package/library/chunks/date.kywrEgxd.js +363 -0
  46. package/library/chunks/{details.DSgp6VAD.js → details.DmHi0fqd.js} +1 -1
  47. package/library/chunks/{diagram-7IWD3JNH.C3K0gCHG.js → diagram-7IWD3JNH.BDOF6I2J.js} +4 -4
  48. package/library/chunks/{diagram-B4RE2ZJO.BULgC23C.js → diagram-B4RE2ZJO.DT1Xf2Kc.js} +2 -2
  49. package/library/chunks/{diagram-LBJQPF4R.BmYYTkym.js → diagram-LBJQPF4R.i67nojTE.js} +3 -3
  50. package/library/chunks/{diagram-Q27KOJAE.Bj5ayV3p.js → diagram-Q27KOJAE.C9Y5E3pX.js} +5 -5
  51. package/library/chunks/{diagram-UB23O5K3.Bu_lTx_A.js → diagram-UB23O5K3.Dxnn2pgu.js} +3 -3
  52. package/library/chunks/{dialog.D0oTJWFf.js → dialog.DpY6WRVN.js} +3 -3
  53. package/library/chunks/{diff.Bmdpmpvo.js → diff.BLPeoeMo.js} +1 -1
  54. package/library/chunks/{document-viewer.L77oYyOp.js → document-viewer.b3Nej7rG.js} +14 -14
  55. package/library/chunks/{dom.BLHsooDR.js → dom.8wD7rIGz.js} +1 -1
  56. package/library/chunks/{dot-pagination.C1C6NG8d.js → dot-pagination.ByrS9Fz0.js} +2 -2
  57. package/library/chunks/{drawer.BsKzYqKe.js → drawer.B9v7mKrO.js} +2 -2
  58. package/library/chunks/{dropdown.CKhoP9Cr.js → dropdown.BPVXbna1.js} +16 -7
  59. package/library/chunks/{dynamic-select.Cb3L0dIB.js → dynamic-select.D2zWyFJw.js} +5 -5
  60. package/library/chunks/{e-chart.DKFAToIc.js → e-chart.Dbh7iFWT.js} +2 -2
  61. package/library/chunks/{ebnfDiagram-BXEA7PRR.Cg96HHIs.js → ebnfDiagram-BXEA7PRR.C15CrBEH.js} +3 -3
  62. package/library/chunks/{element-clamp.CGq-62gg.js → element-clamp.CM3ydK4k.js} +2 -2
  63. package/library/chunks/{erDiagram-JOGREHBK.CrJ962th.js → erDiagram-JOGREHBK.BAFJcDwv.js} +11 -11
  64. package/library/chunks/{file-on-demand.BjUW2Ydt.js → file-on-demand.BqWBYhdM.js} +17 -17
  65. package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
  66. package/library/chunks/{folder-select.DJ5EEod3.js → folder-select.oEUjUT-R.js} +9 -9
  67. package/library/chunks/{form.D_eBa3AQ.js → form.ChOu6BIn.js} +1 -1
  68. package/library/chunks/{format-time.QkJcKYrT.js → format-time.QdzoTicK.js} +1 -1
  69. package/library/chunks/{ganttDiagram-PKOTCBZU.D216_p5R.js → ganttDiagram-PKOTCBZU.BWKE9zb3.js} +2 -2
  70. package/library/chunks/{gitGraphDiagram-DS77QQ5N.BGTaYiUE.js → gitGraphDiagram-DS77QQ5N.Dh9BZvJA.js} +2 -2
  71. package/library/chunks/{header.CowQINf-.js → header.l6qj73ci.js} +2 -2
  72. package/library/chunks/{i18n.Bjg2ubA4.js → i18n.BYpiX0kX.js} +40 -1
  73. package/library/chunks/{icon-button.qJd_az6T.js → icon-button.4VGhMghV.js} +2 -2
  74. package/library/chunks/{iframe.sl2wnUcC.js → iframe.CQ4J2A_9.js} +1 -1
  75. package/library/chunks/{image-comparer.BCD6kzLm.js → image-comparer.DMCUgZXb.js} +1 -1
  76. package/library/chunks/{image.-lgb634-.js → image.DQCunWsS.js} +2 -2
  77. package/library/chunks/{infoDiagram-6WML65LV.BHVojFJh.js → infoDiagram-6WML65LV.BlZ2eFcf.js} +2 -2
  78. package/library/chunks/{input.DZRed6yo.js → input.DWh_E1GV.js} +19 -6
  79. package/library/chunks/{ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js → ishikawaDiagram-WSZJBQD7.QMHGwtgV.js} +3 -3
  80. package/library/chunks/{journeyDiagram-NVQOT4AX.BXUxAk98.js → journeyDiagram-NVQOT4AX.C-ovuC8R.js} +2 -2
  81. package/library/chunks/{kanban-definition-27J2QSJJ.Bg8-oEtc.js → kanban-definition-27J2QSJJ.CwAo6fJw.js} +8 -8
  82. package/library/chunks/{line-clamp.Dl3_JdHX.js → line-clamp.DgWfU-Yi.js} +47 -28
  83. package/library/chunks/{markdown.BzDRvv-f.js → markdown.7JZ0SpEP.js} +4 -4
  84. package/library/chunks/{masonry.BxNeClR6.js → masonry.CMGXrgQ8.js} +3 -3
  85. package/library/chunks/{menu-item.au-gTg1F.js → menu-item.CJFkQ-YV.js} +3 -3
  86. package/library/chunks/{menu.BxBtGPsg.js → menu.BYeW0I0d.js} +2 -2
  87. package/library/chunks/{mermaid.core.m1JI7kDY.js → mermaid.core.CGY0RVtv.js} +49 -49
  88. package/library/chunks/{mindmap-definition-FAOFIHXS.DwjOzYq5.js → mindmap-definition-FAOFIHXS.CQvqcBzU.js} +10 -10
  89. package/library/chunks/{option.DWE0tark.js → option.Dk32KiRr.js} +1 -1
  90. package/library/chunks/{padding-input-group.D2Qx15Yj.js → padding-input-group.BlSd4VCs.js} +1 -1
  91. package/library/chunks/{pagination.ByLuPMyE.js → pagination.C0Zu1uP7.js} +7 -7
  92. package/library/chunks/{pegDiagram-VL7TDLO6.BaVddVr3.js → pegDiagram-VL7TDLO6.CCjKBwxn.js} +3 -3
  93. package/library/chunks/{pieDiagram-7S7Q4E2Y.lZiCqBKs.js → pieDiagram-7S7Q4E2Y.BIlwtlJL.js} +3 -3
  94. package/library/chunks/{popup.w4ZU3jI-.js → popup.DaV-mbsU.js} +2 -2
  95. package/library/chunks/{position-picker.X2hhfGx7.js → position-picker.mxReT7rl.js} +3 -3
  96. package/library/chunks/{progress-bar.CynVLLnY.js → progress-bar.OOVw3Ho1.js} +1 -1
  97. package/library/chunks/{progress-ring.Bfdj3-uB.js → progress-ring.DDNC-hmO.js} +1 -1
  98. package/library/chunks/purify.es.jxOE2kAK.js +867 -0
  99. package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js} +1 -1
  100. package/library/chunks/{radio-card.VEsyM8ue.js → radio-card.CbaIYFEi.js} +2 -2
  101. package/library/chunks/{radio-group.CHlxPcrs.js → radio-group.DfR13lVB.js} +1 -1
  102. package/library/chunks/{radio.DhPbmKbQ.js → radio.BmN7pFIX.js} +1 -1
  103. package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js} +3 -3
  104. package/library/chunks/{range.ObEMbygm.js → range.1d77B-YM.js} +3 -3
  105. package/library/chunks/{rating.CNeNn996.js → rating.u1DIMFu_.js} +1 -1
  106. package/library/chunks/{relative-time.BfE3UOhF.js → relative-time.Ca958bVn.js} +1 -1
  107. package/library/chunks/{requirementDiagram-LRYGKXZP.BhxZAEJL.js → requirementDiagram-LRYGKXZP.MlkqKyhd.js} +10 -10
  108. package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js} +1 -1
  109. package/library/chunks/{select.BV0Necz7.js → select.Blx7Am5x.js} +112 -108
  110. package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js} +4 -4
  111. package/library/chunks/{shadow-input-group.Xxuzm8Qe.js → shadow-input-group.E6JTidSM.js} +2 -2
  112. package/library/chunks/{share-option-list.DOaEypfQ.js → share-option-list.CVazDKnW.js} +3 -3
  113. package/library/chunks/{sidebar.CiZOJ49X.js → sidebar.2H_HDEhd.js} +2 -2
  114. package/library/chunks/{size-input-group.wXuG0-RB.js → size-input-group.CxTubAwO.js} +5 -5
  115. package/library/chunks/{spinner.Bv06U7NJ.js → spinner.AokDNIMB.js} +1 -1
  116. package/library/chunks/{split-panel.Cag0lAvv.js → split-panel.B0tLqJqx.js} +1 -1
  117. package/library/chunks/{src.Dia365C9.js → src.BQtwu7L_.js} +26 -26
  118. package/library/chunks/src.D6mhR5h1.js +103 -0
  119. package/library/chunks/{stateDiagram-OKZ733FA.DkiIgxjd.js → stateDiagram-OKZ733FA.JCaGHMmH.js} +12 -12
  120. package/library/chunks/{stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js → stateDiagram-v2-UEYNNEHI.CKrKpvxj.js} +12 -12
  121. package/library/chunks/{step.D93ReCO1.js → step.qMEvWQSa.js} +3 -3
  122. package/library/chunks/{stepper-wizard.CPZ2mSze.js → stepper-wizard.DbU4i26F.js} +2 -2
  123. package/library/chunks/{stepper.D0JB_GVh.js → stepper.BxTR5LWg.js} +1 -1
  124. package/library/chunks/{string.9yahdkB8.js → string.TY0RTPc8.js} +1 -1
  125. package/library/chunks/{swimlanes-SLNWSIFB.DKU7qXJ7.js → swimlanes-SLNWSIFB.BnCITr-P.js} +8 -8
  126. package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js → swimlanesDiagram-ULZ7WXOC.DMYLowNi.js} +12 -12
  127. package/library/chunks/{switch.BM9msK5T.js → switch.BuleQplE.js} +1 -1
  128. package/library/chunks/{tab-group.dnnT9Mk6.js → tab-group.CBg0wLFC.js} +8 -8
  129. package/library/chunks/{tab.CYYAua8Y.js → tab.Dmb7JL1e.js} +3 -3
  130. package/library/chunks/{tag.DQLauctm.js → tag.BGu9ORJf.js} +3 -3
  131. package/library/chunks/{textarea.CHSZI8vt.js → textarea.BQV58bk8.js} +1 -1
  132. package/library/chunks/{timecode.DjI1OTXD.js → timecode.B6JsxLxl.js} +1 -1
  133. package/library/chunks/{timeline-definition-Z64GVDOM.agRZ87Zs.js → timeline-definition-Z64GVDOM.DpGlraiA.js} +3 -3
  134. package/library/chunks/{tooltip.Cc02vm6M.js → tooltip.CboSydrY.js} +17 -21
  135. package/library/chunks/{tree.BI7r-WnZ.js → tree.CJcVgjAA.js} +4 -4
  136. package/library/chunks/{typeface.DTLrIP0B.js → typeface.rz2bQ3m1.js} +3 -3
  137. package/library/chunks/{vennDiagram-T6HMQDX7.Cd9lVObe.js → vennDiagram-T6HMQDX7.DYlGT1g9.js} +3 -3
  138. package/library/chunks/{video.DWmHPbXO.js → video.vPLA5d28.js} +6 -6
  139. package/library/chunks/{wardleyDiagram-T6FBY63Y.yCklp5Oa.js → wardleyDiagram-T6FBY63Y.DFkqP4xG.js} +3 -3
  140. package/library/chunks/{xychartDiagram-ELKLHX3M.CLuRN0XK.js → xychartDiagram-ELKLHX3M.CmCPBha7.js} +5 -5
  141. package/library/components/alert.js +1 -1
  142. package/library/components/array-line-clamp.js +1 -1
  143. package/library/components/asset-link-format.js +1 -1
  144. package/library/components/atoms.js +55 -55
  145. package/library/components/audio.js +1 -1
  146. package/library/components/bicolor-picker.js +1 -1
  147. package/library/components/border-input-group.js +1 -1
  148. package/library/components/breadcrumb.js +1 -1
  149. package/library/components/button.js +1 -1
  150. package/library/components/checkbox.js +1 -1
  151. package/library/components/color-picker.js +1 -1
  152. package/library/components/color-swatch-group.js +1 -1
  153. package/library/components/color-swatch.js +1 -1
  154. package/library/components/confirm-popover.js +1 -1
  155. package/library/components/copy-button.js +1 -1
  156. package/library/components/corner-position-input-group.js +1 -1
  157. package/library/components/cropper.js +1 -1
  158. package/library/components/date-calendar.js +1 -1
  159. package/library/components/details.js +1 -1
  160. package/library/components/dialog.js +1 -1
  161. package/library/components/diff.js +1 -1
  162. package/library/components/document-viewer.js +1 -1
  163. package/library/components/dot-pagination.js +1 -1
  164. package/library/components/drawer.js +1 -1
  165. package/library/components/dropdown.js +1 -1
  166. package/library/components/dynamic-select.js +1 -1
  167. package/library/components/e-chart.js +1 -1
  168. package/library/components/element-clamp.js +1 -1
  169. package/library/components/file-on-demand.js +1 -1
  170. package/library/components/folder-select.js +1 -1
  171. package/library/components/format-bytes.js +1 -1
  172. package/library/components/format-date.js +1 -1
  173. package/library/components/format-number.js +1 -1
  174. package/library/components/format-time.js +1 -1
  175. package/library/components/header.js +1 -1
  176. package/library/components/icon-button.js +1 -1
  177. package/library/components/iframe.js +1 -1
  178. package/library/components/image-comparer.js +1 -1
  179. package/library/components/image.js +1 -1
  180. package/library/components/input.js +1 -1
  181. package/library/components/line-clamp.js +1 -1
  182. package/library/components/markdown.js +1 -1
  183. package/library/components/masonry.js +1 -1
  184. package/library/components/menu-item.js +1 -1
  185. package/library/components/menu.js +1 -1
  186. package/library/components/molecules.js +18 -18
  187. package/library/components/option.js +1 -1
  188. package/library/components/organisms.js +3 -3
  189. package/library/components/padding-input-group.js +1 -1
  190. package/library/components/pagination.js +1 -1
  191. package/library/components/popup.js +1 -1
  192. package/library/components/position-picker.js +1 -1
  193. package/library/components/progress-bar.js +1 -1
  194. package/library/components/progress-ring.js +1 -1
  195. package/library/components/radio-card.js +1 -1
  196. package/library/components/radio-group.js +1 -1
  197. package/library/components/radio.js +1 -1
  198. package/library/components/range.js +1 -1
  199. package/library/components/rating.js +1 -1
  200. package/library/components/relative-time.js +1 -1
  201. package/library/components/select.js +1 -1
  202. package/library/components/shadow-input-group.js +1 -1
  203. package/library/components/share-option-list.js +1 -1
  204. package/library/components/sidebar.js +1 -1
  205. package/library/components/size-input-group.js +1 -1
  206. package/library/components/spinner.js +1 -1
  207. package/library/components/split-panel.js +1 -1
  208. package/library/components/step.js +1 -1
  209. package/library/components/stepper-wizard.js +1 -1
  210. package/library/components/stepper.js +1 -1
  211. package/library/components/switch.js +1 -1
  212. package/library/components/tab-group.js +1 -1
  213. package/library/components/tab.js +1 -1
  214. package/library/components/tag.js +1 -1
  215. package/library/components/textarea.js +1 -1
  216. package/library/components/timecode.js +1 -1
  217. package/library/components/tooltip.js +1 -1
  218. package/library/components/tree-item.js +1 -1
  219. package/library/components/tree.js +1 -1
  220. package/library/components/typeface.js +1 -1
  221. package/library/components/types.js +21888 -19121
  222. package/library/components/video.js +1 -1
  223. package/library/package.json +1 -1
  224. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -2
  225. package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +62 -9
  226. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -0
  227. package/library/packages/atoms/src/components/input/input.d.ts +20 -1
  228. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +3 -0
  229. package/library/packages/atoms/src/components/radio/radio.d.ts +3 -0
  230. package/library/packages/atoms/src/components/select/select.d.ts +0 -4
  231. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +4 -1
  232. package/library/packages/events/src/cx-search-facet-date-change.d.ts +11 -0
  233. package/library/packages/events/src/cx-search-facet-focus-title.d.ts +10 -0
  234. package/library/packages/events/src/cx-search-facet-reset.d.ts +12 -0
  235. package/library/packages/events/src/cx-search-facet-select-all.d.ts +13 -0
  236. package/library/packages/events/src/cx-search-facet-show-more.d.ts +12 -0
  237. package/library/packages/events/src/cx-search-facet-toggle.d.ts +11 -0
  238. package/library/packages/events/src/cx-search-facets-apply.d.ts +17 -0
  239. package/library/packages/events/src/cx-search-facets-change-filters.d.ts +6 -0
  240. package/library/packages/events/src/cx-search-facets-clear-all.d.ts +10 -0
  241. package/library/packages/events/src/cx-search-facets-custom.d.ts +10 -0
  242. package/library/packages/events/src/cx-search-facets-facet-expand.d.ts +9 -0
  243. package/library/packages/events/src/cx-search-facets-node-expand.d.ts +11 -0
  244. package/library/packages/events/src/cx-search-facets-refresh.d.ts +6 -0
  245. package/library/packages/events/src/cx-search-facets-show-more.d.ts +8 -0
  246. package/library/packages/events/src/cx-search-facets-summary-expand.d.ts +9 -0
  247. package/library/packages/events/src/cx-search-facets-summary-remove.d.ts +12 -0
  248. package/library/packages/events/src/events.d.ts +16 -0
  249. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +116 -0
  250. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +7 -2
  251. package/library/packages/organisms/src/index.d.ts +1 -0
  252. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.d.ts +95 -0
  253. package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.styles.d.ts +2 -0
  254. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/advanced-date-reading.d.ts +90 -0
  255. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.d.ts +85 -0
  256. package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.styles.d.ts +2 -0
  257. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.d.ts +47 -0
  258. package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.styles.d.ts +2 -0
  259. package/library/packages/organisms/src/search-facets/components/search-facet-date/date-range-validation.d.ts +67 -0
  260. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.d.ts +120 -0
  261. package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.styles.d.ts +2 -0
  262. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.d.ts +44 -0
  263. package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.styles.d.ts +2 -0
  264. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.d.ts +104 -0
  265. package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.styles.d.ts +2 -0
  266. package/library/packages/organisms/src/search-facets/components/search-facet-tree/visible-nodes.d.ts +36 -0
  267. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.d.ts +67 -0
  268. package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.styles.d.ts +2 -0
  269. package/library/packages/organisms/src/search-facets/search-facets.d.ts +198 -0
  270. package/library/packages/organisms/src/search-facets/search-facets.fixtures.d.ts +141 -0
  271. package/library/packages/organisms/src/search-facets/search-facets.styles.d.ts +2 -0
  272. package/library/packages/organisms/src/search-facets/state/date-drafts.d.ts +11 -0
  273. package/library/packages/organisms/src/search-facets/state/long-panel.d.ts +7 -0
  274. package/library/packages/organisms/src/search-facets/state/preview-summary.d.ts +17 -0
  275. package/library/packages/organisms/src/search-facets/state/preview-waiting-changes.d.ts +12 -0
  276. package/library/packages/organisms/src/search-facets/state/response-correlation.d.ts +9 -0
  277. package/library/packages/organisms/src/search-facets/state/waiting-changes.d.ts +179 -0
  278. package/library/packages/organisms/src/search-facets/types.d.ts +347 -0
  279. package/library/packages/types/src/asset-link-format.d.ts +6 -0
  280. package/library/packages/types/src/search-facets.d.ts +104 -0
  281. package/library/packages/utils/src/custom-element/i18n.d.ts +39 -0
  282. package/library/packages/utils/src/date/calendar-grid.d.ts +5 -6
  283. package/library/packages/utils/src/date/date.d.ts +7 -1
  284. package/library/react-web-component.d.ts +87 -5
  285. package/library/utils.js +13 -13
  286. package/package.json +1 -1
  287. package/library/chunks/date-calendar.B7e6WBzh.js +0 -78
  288. package/library/chunks/date.BL4L64Hx.js +0 -358
  289. package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
  290. package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
  291. package/library/chunks/src.DKhoCHMa.js +0 -103
@@ -0,0 +1,867 @@
1
+ //#region ../../node_modules/dompurify/dist/purify.es.mjs
2
+ function e(e, t) {
3
+ this.v = e, this.k = t;
4
+ }
5
+ function t(e, t) {
6
+ (t == null || t > e.length) && (t = e.length);
7
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
8
+ return r;
9
+ }
10
+ function n(e) {
11
+ if (Array.isArray(e)) return e;
12
+ }
13
+ function r(e, t) {
14
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
15
+ if (n != null) {
16
+ var r, i, a, o, s = [], c = !0, l = !1;
17
+ try {
18
+ if (a = (n = n.call(e)).next, t === 0) {
19
+ if (Object(n) !== n) return;
20
+ c = !1;
21
+ } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
22
+ } catch (e) {
23
+ l = !0, i = e;
24
+ } finally {
25
+ try {
26
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
27
+ } finally {
28
+ if (l) throw i;
29
+ }
30
+ }
31
+ return s;
32
+ }
33
+ }
34
+ function i() {
35
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
36
+ }
37
+ function a(e, t) {
38
+ return n(e) || r(e, t) || o(e, t) || i();
39
+ }
40
+ function o(e, n) {
41
+ if (e) {
42
+ if (typeof e == "string") return t(e, n);
43
+ var r = {}.toString.call(e).slice(8, -1);
44
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? t(e, n) : void 0;
45
+ }
46
+ }
47
+ function s(t) {
48
+ var n, r;
49
+ function i(n, r) {
50
+ try {
51
+ var o = t[n](r), s = o.value, c = s instanceof e;
52
+ Promise.resolve(c ? s.v : s).then(function(e) {
53
+ if (c) {
54
+ var r = n === "return" && s.k ? n : "next";
55
+ if (!s.k || e.done) return i(r, e);
56
+ e = t[r](e).value;
57
+ }
58
+ a(!!o.done, e);
59
+ }, function(e) {
60
+ i("throw", e);
61
+ });
62
+ } catch (e) {
63
+ a(2, e);
64
+ }
65
+ }
66
+ function a(e, t) {
67
+ e === 2 ? n.reject(t) : n.resolve({
68
+ value: t,
69
+ done: e
70
+ }), (n = n.next) ? i(n.key, n.arg) : r = null;
71
+ }
72
+ this._invoke = function(e, t) {
73
+ return new Promise(function(a, o) {
74
+ var s = {
75
+ key: e,
76
+ arg: t,
77
+ resolve: a,
78
+ reject: o,
79
+ next: null
80
+ };
81
+ r ? r = r.next = s : (n = r = s, i(e, t));
82
+ });
83
+ }, typeof t.return != "function" && (this.return = void 0);
84
+ }
85
+ s.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
86
+ return this;
87
+ }, s.prototype.next = function(e) {
88
+ return this._invoke("next", e);
89
+ }, s.prototype.throw = function(e) {
90
+ return this._invoke("throw", e);
91
+ }, s.prototype.return = function(e) {
92
+ return this._invoke("return", e);
93
+ };
94
+ var c = Object.entries, l = Object.keys, u = Object.setPrototypeOf, d = Object.isFrozen, f = Object.getPrototypeOf, p = Object.getOwnPropertyDescriptor, m = Object.freeze, h = Object.seal, g = Object.create, ee = typeof Reflect < "u" && Reflect, te = ee.apply, ne = ee.construct;
95
+ m ||= function(e) {
96
+ return e;
97
+ }, h ||= function(e) {
98
+ return e;
99
+ }, te ||= function(e, t) {
100
+ var n = [...arguments].slice(2);
101
+ return e.apply(t, n);
102
+ }, ne ||= function(e) {
103
+ return new e(...[...arguments].slice(1));
104
+ };
105
+ var _ = D(Array.prototype.forEach), re = D(Array.prototype.lastIndexOf), ie = D(Array.prototype.pop), ae = D(Array.prototype.push), oe = D(Array.prototype.slice), se = D(Array.prototype.splice), v = Array.isArray, ce = O(Set), le = D(Set.prototype.add), ue = D(Set.prototype.has), y = D(String.prototype.toLowerCase), de = D(String.prototype.toString), fe = D(String.prototype.match), pe = D(String.prototype.replace), me = D(String.prototype.indexOf), he = D(String.prototype.trim), b = D(Number.prototype.toString), x = D(Boolean.prototype.toString), ge = typeof BigInt > "u" ? null : D(BigInt.prototype.toString), _e = typeof Symbol > "u" ? null : D(Symbol.prototype.toString), S = D(Object.prototype.hasOwnProperty), C = D(Object.prototype.toString), w = RegExp.prototype.test, T = function(e, t) {
106
+ return e instanceof RegExp && (e.lastIndex = 0), te(w, e, [t]);
107
+ }, E = O(TypeError);
108
+ function D(e) {
109
+ return function(t) {
110
+ var n = [...arguments].slice(1);
111
+ return te(e, t, n);
112
+ };
113
+ }
114
+ function O(e) {
115
+ return function() {
116
+ return ne(e, [...arguments]);
117
+ };
118
+ }
119
+ function k(e, t) {
120
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : y;
121
+ if (u && u(e, null), !v(t)) return e;
122
+ let r = t.length;
123
+ for (; r--;) {
124
+ let i = t[r];
125
+ if (typeof i == "string") {
126
+ let e = n(i);
127
+ e !== i && (d(t) || (t[r] = e), i = e);
128
+ }
129
+ e[i] = !0;
130
+ }
131
+ return e;
132
+ }
133
+ function A(e) {
134
+ for (let t = 0; t < e.length; t++) S(e, t) || (e[t] = null);
135
+ return e;
136
+ }
137
+ function ve(e) {
138
+ let t = g(null);
139
+ for (let r of c(e)) {
140
+ var n = a(r, 2);
141
+ let i = n[0], o = n[1];
142
+ S(e, i) && (t[i] = v(o) ? A(o) : o && typeof o == "object" && o.constructor === Object ? ve(o) : o);
143
+ }
144
+ return t;
145
+ }
146
+ function ye(e) {
147
+ let t = g(null), n = l(e), r = n.length;
148
+ for (; r--;) t[n[r]] = e[n[r]];
149
+ return t;
150
+ }
151
+ function be(e) {
152
+ switch (typeof e) {
153
+ case "string": return e;
154
+ case "number": return b(e);
155
+ case "boolean": return x(e);
156
+ case "bigint": return ge ? ge(e) : "0";
157
+ case "symbol": return _e ? _e(e) : "Symbol()";
158
+ case "undefined": return C(e);
159
+ case "function":
160
+ case "object": {
161
+ if (e === null) return C(e);
162
+ let t = e, n = j(t, "toString");
163
+ if (typeof n == "function") {
164
+ let e = n(t);
165
+ return typeof e == "string" ? e : C(e);
166
+ }
167
+ return C(e);
168
+ }
169
+ default: return C(e);
170
+ }
171
+ }
172
+ function j(e, t) {
173
+ for (; e !== null;) {
174
+ let n = p(e, t);
175
+ if (n) {
176
+ if (n.get) return D(n.get);
177
+ if (typeof n.value == "function") return D(n.value);
178
+ }
179
+ e = f(e);
180
+ }
181
+ function n() {
182
+ return null;
183
+ }
184
+ return n;
185
+ }
186
+ function xe(e, t) {
187
+ for (; e !== null;) {
188
+ let n = p(e, t);
189
+ if (n) return n.get ? D(n.get) : null;
190
+ e = f(e);
191
+ }
192
+ return null;
193
+ }
194
+ function Se(e) {
195
+ if (!e) return !1;
196
+ try {
197
+ return T(e, ""), !0;
198
+ } catch {
199
+ return !1;
200
+ }
201
+ }
202
+ var Ce = m(/* @__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(".")), we = m(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.filter.font.g.glyph.glyphref.hkern.image.line.lineargradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Te = m([
203
+ "feBlend",
204
+ "feColorMatrix",
205
+ "feComponentTransfer",
206
+ "feComposite",
207
+ "feConvolveMatrix",
208
+ "feDiffuseLighting",
209
+ "feDisplacementMap",
210
+ "feDistantLight",
211
+ "feDropShadow",
212
+ "feFlood",
213
+ "feFuncA",
214
+ "feFuncB",
215
+ "feFuncG",
216
+ "feFuncR",
217
+ "feGaussianBlur",
218
+ "feImage",
219
+ "feMerge",
220
+ "feMergeNode",
221
+ "feMorphology",
222
+ "feOffset",
223
+ "fePointLight",
224
+ "feSpecularLighting",
225
+ "feSpotLight",
226
+ "feTile",
227
+ "feTurbulence"
228
+ ]), Ee = m([
229
+ "animate",
230
+ "color-profile",
231
+ "cursor",
232
+ "discard",
233
+ "font-face",
234
+ "font-face-format",
235
+ "font-face-name",
236
+ "font-face-src",
237
+ "font-face-uri",
238
+ "foreignobject",
239
+ "hatch",
240
+ "hatchpath",
241
+ "mesh",
242
+ "meshgradient",
243
+ "meshpatch",
244
+ "meshrow",
245
+ "missing-glyph",
246
+ "script",
247
+ "set",
248
+ "solidcolor",
249
+ "unknown",
250
+ "use"
251
+ ]), De = m(/* @__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(".")), Oe = m([
252
+ "maction",
253
+ "maligngroup",
254
+ "malignmark",
255
+ "mlongdiv",
256
+ "mscarries",
257
+ "mscarry",
258
+ "msgroup",
259
+ "mstack",
260
+ "msline",
261
+ "msrow",
262
+ "semantics",
263
+ "annotation",
264
+ "annotation-xml",
265
+ "mprescripts",
266
+ "none"
267
+ ]), ke = m(["#text"]), Ae = m(/* @__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(".")), je = m(/* @__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.pointer-events.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.vector-effect.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(".")), Me = m(/* @__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(".")), Ne = m([
268
+ "xlink:href",
269
+ "xml:id",
270
+ "xlink:title",
271
+ "xml:space",
272
+ "xmlns:xlink"
273
+ ]), Pe = h(/{{[\w\W]*|^[\w\W]*}}/g), Fe = h(/<%[\w\W]*|^[\w\W]*%>/g), Ie = h(/\${[\w\W]*/g), Le = h(/{{|}}|\${|<%|%>|&lt;%|%&gt;/), Re = h(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = h(/^aria-[\-\w]+$/), Be = h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ve = h(/^(?:\w+script|data):/i), He = h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ue = h(/^html$/i), We = h(/^[a-z][.\w]*(-[.\w]+)+$/i), Ge = h(/<[/\w!]/g), Ke = h(/<[/\w]/g), qe = h(/<\/no(script|embed|frames)/i), Je = h(/\/>/i), Ye = h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i), Xe = h(/^[\r\n\t ]+/), M = {
274
+ element: 1,
275
+ text: 3,
276
+ processingInstruction: 7,
277
+ comment: 8,
278
+ document: 9,
279
+ documentFragment: 11
280
+ }, Ze = m(k({}, [
281
+ "style",
282
+ "script",
283
+ "xmp",
284
+ "iframe",
285
+ "noembed",
286
+ "noframes",
287
+ "plaintext",
288
+ "noscript"
289
+ ])), Qe = function() {
290
+ return typeof window > "u" ? null : window;
291
+ }, $e = function(e, t) {
292
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
293
+ let n = null, r = "data-tt-policy-suffix";
294
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
295
+ let i = "dompurify" + (n ? "#" + n : "");
296
+ try {
297
+ return e.createPolicy(i, {
298
+ createHTML(e) {
299
+ return e;
300
+ },
301
+ createScriptURL(e) {
302
+ return e;
303
+ }
304
+ });
305
+ } catch {
306
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
307
+ }
308
+ }, et = function() {
309
+ return {
310
+ afterSanitizeAttributes: [],
311
+ afterSanitizeElements: [],
312
+ afterSanitizeShadowDOM: [],
313
+ beforeSanitizeAttributes: [],
314
+ beforeSanitizeElements: [],
315
+ beforeSanitizeShadowDOM: [],
316
+ uponSanitizeAttribute: [],
317
+ uponSanitizeElement: [],
318
+ uponSanitizeShadowNode: []
319
+ };
320
+ }, N = function(e, t, n, r) {
321
+ return S(e, t) && v(e[t]) ? k(r.base ? ye(r.base) : {}, e[t], r.transform) : n;
322
+ }, tt = function(e, t, n) {
323
+ let r = S(e, t) ? e[t] : void 0;
324
+ return r && typeof r == "object" ? ve(r) : n;
325
+ };
326
+ function nt() {
327
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Qe(), t = (e) => nt(e);
328
+ if (t.version = "3.4.18", t.removed = [], !e || !e.document || e.document.nodeType !== M.document || !e.Element) return t.isSupported = !1, t;
329
+ let n = e.document, r = n, i = r.currentScript, a = e.HTMLTemplateElement, o = e.Node, s = e.Element, l = e.NodeFilter, u = e.DOMParser, d = e.trustedTypes, f = s.prototype, p = j(f, "cloneNode"), ee = j(f, "remove"), te = j(f, "removeAttributeNode"), ne = j(f, "nextSibling"), b = j(f, "childNodes"), x = j(f, "parentNode"), ge = j(f, "shadowRoot"), _e = j(f, "attributes"), C = o && o.prototype ? j(o.prototype, "nodeType") : null, w = o && o.prototype ? j(o.prototype, "nodeName") : null, D = o && o.prototype ? j(o.prototype, "ownerDocument") : null, O = function(e) {
330
+ return C ? C(e) : e.nodeType;
331
+ }, A = function(e) {
332
+ return w ? w(e) : e.nodeName;
333
+ }, rt = xe(f, "namespaceURI"), it = function(e) {
334
+ return rt ? rt(e) : e.namespaceURI;
335
+ };
336
+ if (typeof a == "function") {
337
+ let e = n.createElement("template");
338
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
339
+ }
340
+ let P, F = "", at, ot = !1, st = 0, ct = function() {
341
+ if (st > 0) throw E("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.");
342
+ }, lt = function(e) {
343
+ ct(), st++;
344
+ try {
345
+ return P.createHTML(e);
346
+ } finally {
347
+ st--;
348
+ }
349
+ }, ut = function(e) {
350
+ return P && Vt ? lt(e) : e;
351
+ }, dt = function(e) {
352
+ ct(), st++;
353
+ try {
354
+ return P.createScriptURL(e);
355
+ } finally {
356
+ st--;
357
+ }
358
+ }, ft = function() {
359
+ return ot ||= (at = $e(d, i), !0), at;
360
+ }, pt = n, mt = pt.implementation, ht = pt.createNodeIterator, gt = pt.createDocumentFragment, _t = pt.getElementsByTagName, vt = r.importNode, I = et();
361
+ t.isSupported = typeof c == "function" && typeof x == "function" && mt && mt.createHTMLDocument !== void 0;
362
+ let yt = Pe, bt = Fe, xt = Ie, St = Re, Ct = ze, wt = Ve, Tt = He, Et = We, Dt = Be, L = null, Ot = k({}, [
363
+ ...Ce,
364
+ ...we,
365
+ ...Te,
366
+ ...De,
367
+ ...ke
368
+ ]), R = null, kt = k({}, [
369
+ ...Ae,
370
+ ...je,
371
+ ...Me,
372
+ ...Ne
373
+ ]), z = null, At = null, jt = null, B = Object.seal(g(null, {
374
+ tagCheck: {
375
+ writable: !0,
376
+ configurable: !1,
377
+ enumerable: !0,
378
+ value: null
379
+ },
380
+ attributeCheck: {
381
+ writable: !0,
382
+ configurable: !1,
383
+ enumerable: !0,
384
+ value: null
385
+ }
386
+ })), Mt = !0, Nt = !0, Pt = !1, Ft = !0, V = !1, H = !0, U = !1, It = !1, Lt = null, Rt = null, zt = !1, W = !1, Bt = !1, Vt = !1, Ht = !0, Ut = !1, Wt = "user-content-", Gt = !0, Kt = !1, G = null, K = !1, q = null, qt = k({}, /* @__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(".")), Jt = null, Yt = k({}, [
387
+ "audio",
388
+ "video",
389
+ "img",
390
+ "source",
391
+ "image",
392
+ "track"
393
+ ]), Xt = null, Zt = k({}, [
394
+ "alt",
395
+ "class",
396
+ "for",
397
+ "id",
398
+ "label",
399
+ "name",
400
+ "pattern",
401
+ "placeholder",
402
+ "role",
403
+ "summary",
404
+ "title",
405
+ "value",
406
+ "style",
407
+ "xmlns"
408
+ ]), Qt = "http://www.w3.org/1998/Math/MathML", $t = "http://www.w3.org/2000/svg", J = "http://www.w3.org/1999/xhtml", Y = J, en = !1, tn = null, nn = k({}, [
409
+ Qt,
410
+ $t,
411
+ J
412
+ ], de), rn = m(k({}, [
413
+ "mi",
414
+ "mo",
415
+ "mn",
416
+ "ms",
417
+ "mtext"
418
+ ])), an = null, on = m(k({}, ["annotation-xml"])), sn = null, cn = m(g(null)), ln = k({}, [
419
+ "title",
420
+ "style",
421
+ "font",
422
+ "a",
423
+ "script"
424
+ ]), un = null, dn = ["application/xhtml+xml", "text/html"], X = null, fn = null, pn = n.createElement("form"), mn = function(e) {
425
+ return e instanceof RegExp || e instanceof Function;
426
+ }, hn = function() {
427
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
428
+ (!e || typeof e != "object") && (e = {}), e = ve(e), un = dn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, X = un === "application/xhtml+xml" ? de : y, L = N(e, "ALLOWED_TAGS", Ot, { transform: X }), R = N(e, "ALLOWED_ATTR", kt, { transform: X }), tn = N(e, "ALLOWED_NAMESPACES", nn, { transform: de }), Xt = N(e, "ADD_URI_SAFE_ATTR", Zt, {
429
+ transform: X,
430
+ base: Zt
431
+ }), Jt = N(e, "ADD_DATA_URI_TAGS", Yt, {
432
+ transform: X,
433
+ base: Yt
434
+ }), q = N(e, "FORBID_CONTENTS", qt, { transform: X }), At = N(e, "FORBID_TAGS", g(null), { transform: X }), jt = N(e, "FORBID_ATTR", g(null), { transform: X }), K = S(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? ve(e.USE_PROFILES) : e.USE_PROFILES : !1, Mt = e.ALLOW_ARIA_ATTR !== !1, Nt = e.ALLOW_DATA_ATTR !== !1, Pt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ft = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = e.SAFE_FOR_TEMPLATES || !1, H = e.SAFE_FOR_XML !== !1, U = e.WHOLE_DOCUMENT || !1, W = e.RETURN_DOM || !1, Bt = e.RETURN_DOM_FRAGMENT || !1, Vt = e.RETURN_TRUSTED_TYPE || !1, zt = e.FORCE_BODY || !1, Ht = e.SANITIZE_DOM !== !1, Ut = e.SANITIZE_NAMED_PROPS || !1, Gt = e.KEEP_CONTENT !== !1, Kt = e.IN_PLACE || !1, Dt = Se(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Be, Y = typeof e.NAMESPACE == "string" ? e.NAMESPACE : J, an = tt(e, "MATHML_TEXT_INTEGRATION_POINTS", rn), sn = tt(e, "HTML_INTEGRATION_POINTS", on);
435
+ let t = tt(e, "CUSTOM_ELEMENT_HANDLING", cn);
436
+ if (z = g(null), S(t, "tagNameCheck") && mn(t.tagNameCheck) && (z.tagNameCheck = t.tagNameCheck), S(t, "attributeNameCheck") && mn(t.attributeNameCheck) && (z.attributeNameCheck = t.attributeNameCheck), S(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (z.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), h(z), V && (Nt = !1), Bt && (W = !0), K && ((S(e, "ALLOWED_TAGS") || S(e, "ALLOWED_ATTR")) && typeof console < "u" && typeof console.warn == "function" && console.warn("DOMPurify: USE_PROFILES overrides ALLOWED_TAGS and ALLOWED_ATTR. Do not use these options together."), L = k({}, ke), R = g(null), K.html === !0 && (k(L, Ce), k(R, Ae)), K.svg === !0 && (k(L, we), k(R, je), k(R, Ne)), K.svgFilters === !0 && (k(L, Te), k(R, je), k(R, Ne)), K.mathMl === !0 && (k(L, De), k(R, Me), k(R, Ne))), B.tagCheck = null, B.attributeCheck = null, S(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : v(e.ADD_TAGS) && (L === Ot && (L = ye(L)), k(L, e.ADD_TAGS, X))), S(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : v(e.ADD_ATTR) && (R === kt && (R = ye(R)), k(R, e.ADD_ATTR, X))), S(e, "ADD_FORBID_CONTENTS") && v(e.ADD_FORBID_CONTENTS) && (q === qt && (q = ye(q)), k(q, e.ADD_FORBID_CONTENTS, X)), Gt && (L["#text"] = !0), U && k(L, [
437
+ "html",
438
+ "head",
439
+ "body"
440
+ ]), L.table && (L.tbody = !0, delete At.tbody), e.TRUSTED_TYPES_POLICY) {
441
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw E("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
442
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw E("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
443
+ let t = P;
444
+ P = e.TRUSTED_TYPES_POLICY;
445
+ try {
446
+ F = lt("");
447
+ } catch (e) {
448
+ throw P = t, e;
449
+ }
450
+ } else e.TRUSTED_TYPES_POLICY === null ? (P = void 0, F = "") : (P === void 0 && (P = ft()), P && typeof F == "string" && (F = lt("")));
451
+ fn = m(e);
452
+ }, gn = k({}, [
453
+ ...we,
454
+ ...Te,
455
+ ...Ee
456
+ ]), _n = k({}, [...De, ...Oe]), vn = function(e, t, n) {
457
+ return t === J ? e === "svg" : t === Qt ? e === "svg" && (n === "annotation-xml" || an[n]) : !!gn[e];
458
+ }, yn = function(e, t, n) {
459
+ return t === J ? e === "math" : t === $t ? e === "math" && sn[n] : !!_n[e];
460
+ }, bn = function(e, t, n) {
461
+ return t === $t && !sn[n] || t === Qt && !an[n] ? !1 : !_n[e] && (ln[e] || !gn[e]);
462
+ }, xn = function(e) {
463
+ let t = it(e), n = y(A(e)), r = x(e), i = Y, a = "template";
464
+ return r && O(r) === M.element && (i = it(r), a = y(A(r))), tn[t] ? t === $t ? vn(n, i, a) : t === Qt ? yn(n, i, a) : t === J ? bn(n, i, a) : un === "application/xhtml+xml" : !1;
465
+ }, Z = function(e) {
466
+ ae(t.removed, { element: e });
467
+ try {
468
+ x(e).removeChild(e);
469
+ } catch {
470
+ if (ee(e), !x(e)) throw E("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
471
+ }
472
+ }, Sn = function(e, t, n) {
473
+ try {
474
+ te(e, t);
475
+ } catch {
476
+ try {
477
+ e.removeAttribute(n);
478
+ } catch {}
479
+ }
480
+ }, Cn = function(e) {
481
+ En(e);
482
+ let t = b(e);
483
+ t && _(oe(t), (e) => {
484
+ try {
485
+ ee(e);
486
+ } catch {}
487
+ }), O(e) === M.element && wn(e, !1);
488
+ }, Q = function(e, n, r) {
489
+ if (!r) try {
490
+ r = n.getAttributeNode(e);
491
+ } catch {
492
+ r = null;
493
+ }
494
+ if (ae(t.removed, {
495
+ attribute: r || null,
496
+ from: n
497
+ }), r) Sn(n, r, e);
498
+ else try {
499
+ n.removeAttribute(e);
500
+ } catch {}
501
+ if (e === "is") {
502
+ if (W || Bt) try {
503
+ Z(n);
504
+ } catch {}
505
+ else try {
506
+ n.setAttribute(e, "");
507
+ } catch {}
508
+ }
509
+ }, wn = function(e, t) {
510
+ let n = _e(e);
511
+ if (n) for (let r = n.length - 1; r >= 0; --r) {
512
+ let i = n[r], a = i && i.name;
513
+ typeof a == "string" && !(t && R[X(a)]) && Sn(e, i, a);
514
+ }
515
+ }, Tn = function(e, t) {
516
+ let n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], r = [e];
517
+ for (; r.length > 0;) {
518
+ let e = r.pop();
519
+ if (t(e) === !1) continue;
520
+ if (n && O(e) === M.element) {
521
+ let t = ge(e);
522
+ Hn(t) && r.push(t);
523
+ }
524
+ let i = b(e);
525
+ if (i) for (let e = i.length - 1; e >= 0; --e) r.push(i[e]);
526
+ }
527
+ }, En = function(e) {
528
+ Tn(e, (e) => {
529
+ O(e) === M.element && wn(e, !0);
530
+ });
531
+ }, Dn = function(e) {
532
+ let t = [];
533
+ return Tn(e, (e) => {
534
+ t.push(e);
535
+ }, !0), t;
536
+ }, On = function(e, t) {
537
+ let n = ce();
538
+ _(Dn(e), (e) => {
539
+ O(e) === M.element && le(n, e);
540
+ }), _(t, (e) => {
541
+ O(e) === M.element && !ue(n, e) && wn(e, !0);
542
+ });
543
+ }, kn = function(e, n) {
544
+ let r = !1;
545
+ return _(t.removed, (t) => {
546
+ t.element && (r ||= t.element === e, En(t.element));
547
+ }), On(e, n), r;
548
+ }, An = function(e, t) {
549
+ let n = G, r = null, i = () => (r || (r = ce(), _(t, (e) => {
550
+ le(r, e);
551
+ })), r);
552
+ for (let t = 0;; t++) {
553
+ let r = Dn(e), a = [e], o = !1;
554
+ if (_(r, (e) => {
555
+ O(e) === M.documentFragment ? ae(a, e) : !o && !ue(n, e) && (o = ue(i(), e));
556
+ }), !o) return;
557
+ if (t >= 8) throw E("the tree kept changing during in-place sanitization; refusing to return it");
558
+ _(a, (t, n) => {
559
+ jn(t, n > 0, e, i());
560
+ });
561
+ }
562
+ }, jn = function(e, t, n, r) {
563
+ let i = In(e), a;
564
+ for (; a = i.nextNode();) ue(r, a) && !ue(G, a) && (t && $(I.uponSanitizeShadowNode, a, null), rr(a, n));
565
+ }, Mn = function(e) {
566
+ G && le(G, e);
567
+ }, Nn = function(e, t) {
568
+ return H ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
569
+ }, Pn = function(e) {
570
+ H && Tn(e, (e) => {
571
+ let t = O(e);
572
+ if (t === M.processingInstruction || t === M.comment && T(Ke, e.data)) {
573
+ try {
574
+ ee(e);
575
+ } catch {}
576
+ return !1;
577
+ }
578
+ if (t === M.element) {
579
+ let t = e, n = X(A(e));
580
+ try {
581
+ t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && Nn("for", n) && t.removeAttribute("for");
582
+ } catch {}
583
+ }
584
+ return !0;
585
+ });
586
+ }, Fn = function(e) {
587
+ let t = null, r = null;
588
+ if (zt) e = "<remove></remove>" + e;
589
+ else {
590
+ let t = fe(e, Xe);
591
+ r = t && t[0];
592
+ }
593
+ un === "application/xhtml+xml" && Y === J && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
594
+ let i = P ? lt(e) : e;
595
+ if (Y === J) try {
596
+ t = new u().parseFromString(i, un);
597
+ } catch {}
598
+ if (!t || !t.documentElement) {
599
+ t = mt.createDocument(Y, "template", null);
600
+ try {
601
+ t.documentElement.innerHTML = en ? F : i;
602
+ } catch {}
603
+ }
604
+ let a = t.body || t.documentElement;
605
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Y === J ? _t.call(t, U ? "html" : "body")[0] : U ? t.documentElement : a;
606
+ }, In = function(e) {
607
+ let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = D ? D(e) : e.ownerDocument;
608
+ return ht.call(n || e, e, (t ? 0 : l.SHOW_ELEMENT) | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
609
+ }, Ln = function(e) {
610
+ return e = pe(e, yt, " "), e = pe(e, bt, " "), e = pe(e, xt, " "), e;
611
+ }, Rn = function(e) {
612
+ zn(e);
613
+ let t = e.querySelectorAll?.call(e, "template");
614
+ t && _(t, (e) => {
615
+ Hn(e.content) && Rn(e.content);
616
+ });
617
+ }, zn = function(e) {
618
+ e.normalize();
619
+ let t = In(e, !0), n = t.nextNode();
620
+ for (; n;) n.data = Ln(n.data), n = t.nextNode();
621
+ }, Bn = function(e) {
622
+ let t = w ? w(e) : null;
623
+ return typeof t != "string" || X(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== _e(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== C(e) || e.childNodes !== b(e);
624
+ }, Vn = function(e) {
625
+ if (!C || typeof e != "object" || !e) return null;
626
+ try {
627
+ let t = C(e);
628
+ return typeof t == "number" ? t : null;
629
+ } catch {
630
+ return null;
631
+ }
632
+ }, Hn = function(e) {
633
+ return Vn(e) === M.documentFragment;
634
+ }, Un = function(e) {
635
+ return Vn(e) !== null;
636
+ };
637
+ function $(e, n, r) {
638
+ e.length !== 0 && _(e, (e) => {
639
+ e.call(t, n, r, fn);
640
+ });
641
+ }
642
+ let Wn = function(e, t, n) {
643
+ return !!(H && n === M.element && e.hasChildNodes() && !Un(e.firstElementChild) && T(Ge, e.textContent) && T(Ge, e.innerHTML) || H && Ze[t] && n === M.element && it(e) === J && (Un(e.firstElementChild) || typeof e.textContent == "string" && T(Ge, e.textContent)) || n === M.processingInstruction || H && n === M.comment && T(Ke, e.data));
644
+ }, Gn = function(e, t) {
645
+ return e instanceof RegExp ? T(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
646
+ }, Kn = function(e, t, n) {
647
+ if (!At[t] && Qn(t) && Gn(z.tagNameCheck, t)) return !1;
648
+ if (Gt && !q[t] && !q[y(t)]) {
649
+ let t = x(e), r = b(e);
650
+ if (r && t) {
651
+ let i = r.length;
652
+ for (let a = i - 1; a >= 0; --a) {
653
+ let i = e === n ? p(r[a], !0) : r[a];
654
+ t.insertBefore(i, ne(e));
655
+ }
656
+ }
657
+ }
658
+ return Z(e), !0;
659
+ }, qn = function(e, t, n, r) {
660
+ return e.length === 0 ? t : t === n || t === r ? ye(t) : t;
661
+ }, Jn = function(e, t) {
662
+ return e === t || x(e) !== null ? !1 : (Kt && En(e), !0);
663
+ }, Yn = function(e, n) {
664
+ if (Mn(e), $(I.beforeSanitizeElements, e, null), Jn(e, n)) return !0;
665
+ if (Bn(e)) return Z(e), !0;
666
+ let r = X(A(e)), i = O(e);
667
+ if (L = qn(I.uponSanitizeElement, L, Ot, Lt), $(I.uponSanitizeElement, e, {
668
+ tagName: r,
669
+ allowedTags: L
670
+ }), Jn(e, n)) return !0;
671
+ if (Wn(e, r, i)) return Z(e), !0;
672
+ if (At[r] || !(B.tagCheck instanceof Function && B.tagCheck(r)) && !L[r]) {
673
+ let t = Kn(e, r, n);
674
+ return t === !1 && ($(I.afterSanitizeElements, e, null), Jn(e, n)) ? !0 : t;
675
+ }
676
+ if (i === M.element && !xn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && T(qe, e.innerHTML)) return Z(e), !0;
677
+ if (V && i === M.text) {
678
+ let n = e.textContent, r = Ln(n);
679
+ n !== r && (ae(t.removed, { element: e.cloneNode() }), e.textContent = r);
680
+ }
681
+ return $(I.afterSanitizeElements, e, null), Jn(e, n);
682
+ }, Xn = function(e, t, r) {
683
+ if (jt[t] || Nn(t, e) || Ht && (t === "id" || t === "name") && (r in n || r in pn)) return !1;
684
+ let i = R[t] || B.attributeCheck instanceof Function && B.attributeCheck(t, e);
685
+ if (Nt && T(St, t) || Mt && T(Ct, t)) return !0;
686
+ if (!i) return Qn(e) && Gn(z.tagNameCheck, e) && Gn(z.attributeNameCheck, t, e) || t === "is" && z.allowCustomizedBuiltInElements && Gn(z.tagNameCheck, r);
687
+ if (Xt[t]) return !0;
688
+ let a = pe(r, Tt, "");
689
+ return T(Dt, a) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && me(r, "data:") === 0 && Jt[e] || Pt && !T(wt, a) ? !0 : !r;
690
+ }, Zn = k({}, [
691
+ "annotation-xml",
692
+ "color-profile",
693
+ "font-face",
694
+ "font-face-format",
695
+ "font-face-name",
696
+ "font-face-src",
697
+ "font-face-uri",
698
+ "missing-glyph"
699
+ ]), Qn = function(e) {
700
+ return !Zn[y(e)] && T(Et, e);
701
+ }, $n = function(e, t, n, r) {
702
+ if (P && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
703
+ case "TrustedHTML": return lt(r);
704
+ case "TrustedScriptURL": return dt(r);
705
+ }
706
+ return r;
707
+ }, er = function(e, t, n, r) {
708
+ try {
709
+ return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !Bn(e) || (Z(e), !1);
710
+ } catch {
711
+ return Q(t, e), !1;
712
+ }
713
+ }, tr = function(e, t) {
714
+ return H && T(Ye, t) ? !0 : y(e) === "attributename" && me(t, "href") !== -1;
715
+ }, nr = function(e, n) {
716
+ if ($(I.beforeSanitizeAttributes, e, null), Jn(e, n)) return;
717
+ let r = e.attributes;
718
+ if (!r || Bn(e)) return;
719
+ R = qn(I.uponSanitizeAttribute, R, kt, Rt);
720
+ let i = {
721
+ attrName: "",
722
+ attrValue: "",
723
+ keepAttr: !0,
724
+ allowedAttributes: R,
725
+ forceKeepAttr: void 0
726
+ }, a = r.length, o = X(A(e));
727
+ for (; a--;) {
728
+ let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = X(s), d = l, f = s === "value" ? d : he(d), p = !1;
729
+ if (i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, $(I.uponSanitizeAttribute, e, i), f = i.attrValue, Ut && (u === "id" || u === "name") && me(f, Wt) !== 0 && (Q(s, e, n), f = Wt + f, p = !0), tr(s, f)) {
730
+ Q(s, e, n);
731
+ continue;
732
+ }
733
+ if (!i.forceKeepAttr) {
734
+ if (!i.keepAttr) {
735
+ Q(s, e, n);
736
+ continue;
737
+ }
738
+ if (!Ft && T(Je, f)) {
739
+ Q(s, e, n);
740
+ continue;
741
+ }
742
+ if (V && (f = Ln(f)), !Xn(o, u, f)) {
743
+ Q(s, e, n);
744
+ continue;
745
+ }
746
+ f = $n(o, u, c, f), f !== d && er(e, s, c, f) && p && ie(t.removed);
747
+ }
748
+ }
749
+ $(I.afterSanitizeAttributes, e, null), Jn(e, n);
750
+ }, rr = function(e, t) {
751
+ Yn(e, t), nr(e, t), Hn(e.content) && ir(e.content);
752
+ }, ir = function(e) {
753
+ let t = null, n = In(e);
754
+ for ($(I.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(I.uponSanitizeShadowNode, t, null), rr(t, e), O(t) === M.element) {
755
+ let e = ge(t);
756
+ Hn(e) && (ar(e), ir(e));
757
+ }
758
+ V && zn(e), $(I.afterSanitizeShadowDOM, e, null);
759
+ }, ar = function(e) {
760
+ let t = [{
761
+ node: e,
762
+ shadow: null
763
+ }];
764
+ for (; t.length > 0;) {
765
+ let e = t.pop();
766
+ if (e.shadow) {
767
+ ir(e.shadow);
768
+ continue;
769
+ }
770
+ let n = e.node, r = O(n) === M.element, i = b(n);
771
+ if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
772
+ node: i[e],
773
+ shadow: null
774
+ });
775
+ if (r) {
776
+ let e = w ? w(n) : null;
777
+ if (typeof e == "string" && X(e) === "template") {
778
+ let e = n.content;
779
+ Hn(e) && t.push({
780
+ node: e,
781
+ shadow: null
782
+ });
783
+ }
784
+ }
785
+ if (r) {
786
+ let e = ge(n);
787
+ Hn(e) && t.push({
788
+ node: null,
789
+ shadow: e
790
+ }, {
791
+ node: e,
792
+ shadow: null
793
+ });
794
+ }
795
+ }
796
+ };
797
+ return t.sanitize = function(e) {
798
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
799
+ if (en = !e, en && (e = "<!-->"), typeof e != "string" && !Un(e) && (e = be(e), typeof e != "string")) throw E("dirty is not a string, aborting");
800
+ if (!t.isSupported) return e;
801
+ It ? (L = Lt, R = Rt) : hn(n), t.removed = [];
802
+ let c = Kt && typeof e != "string" && Un(e), l = [], u = G;
803
+ if (c) {
804
+ Pn(e);
805
+ let t = A(e);
806
+ if (typeof t == "string") {
807
+ let n = X(t);
808
+ if (!L[n] || At[n]) throw Cn(e), E("root node is forbidden and cannot be sanitized in-place");
809
+ }
810
+ if (Bn(e)) throw Cn(e), E("root node is clobbered and cannot be sanitized in-place");
811
+ l = Dn(e), G = ce();
812
+ } else if (Un(e)) i = Fn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === M.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), ar(i);
813
+ else {
814
+ if (!W && !V && !U && e.indexOf("<") === -1) return ut(e);
815
+ if (i = Fn(e), !i) return W ? null : Vt ? F : "";
816
+ }
817
+ i && zt && Z(i.firstChild);
818
+ let d = c ? e : i;
819
+ try {
820
+ c && ar(e);
821
+ let t = In(d);
822
+ for (; o = t.nextNode();) rr(o, d);
823
+ c && An(e, l);
824
+ } catch (t) {
825
+ throw c && (Cn(e), kn(e, l)), t;
826
+ } finally {
827
+ G = u;
828
+ }
829
+ if (c) {
830
+ if (kn(e, l)) throw E("a node selected for removal could not be safely returned; refusing to sanitize in place");
831
+ return V && Rn(e), e;
832
+ }
833
+ if (W) {
834
+ if (V && Rn(i), Bt) for (s = gt.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
835
+ else s = i;
836
+ return (R.shadowroot || R.shadowrootmode) && (s = vt.call(r, s, !0)), s;
837
+ }
838
+ let f = () => U ? i.outerHTML : i.innerHTML, p = f();
839
+ return V && T(Le, p) && (zn(i), p = f()), U && L["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && T(Ue, i.ownerDocument.doctype.name) && (p = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + p), ut(p);
840
+ }, t.setConfig = function() {
841
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
842
+ hn(e), It = !0, Lt = L, Rt = R;
843
+ }, t.clearConfig = function() {
844
+ fn = null, It = !1, Lt = null, Rt = null, P = at, F = "";
845
+ }, t.isValidAttribute = function(e, t, n) {
846
+ fn || hn({});
847
+ let r = X(e), i = X(t);
848
+ return typeof n == "string" && (tr(t, n) || !Ft && T(Je, n)) ? !1 : Xn(r, i, n);
849
+ }, t.addHook = function(e, t) {
850
+ typeof t == "function" && S(I, e) && ae(I[e], t);
851
+ }, t.removeHook = function(e, t) {
852
+ if (S(I, e)) {
853
+ if (t !== void 0) {
854
+ let n = re(I[e], t);
855
+ return n === -1 ? void 0 : se(I[e], n, 1)[0];
856
+ }
857
+ return ie(I[e]);
858
+ }
859
+ }, t.removeHooks = function(e) {
860
+ S(I, e) && (I[e] = []);
861
+ }, t.removeAllHooks = function() {
862
+ I = et();
863
+ }, t;
864
+ }
865
+ var rt = nt();
866
+ //#endregion
867
+ export { rt as t };