@orangelogic/design-system 3.53.0 → 3.55.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 (222) hide show
  1. package/library/chunks/{abnfDiagram-N423BO3Z.CTpSSR3d.js → abnfDiagram-N423BO3Z.BdDkSL0S.js} +3 -3
  2. package/library/chunks/{alert.l5EVK3-E.js → alert.D8Gwfkvy.js} +2 -2
  3. package/library/chunks/{architectureDiagram-T3A2C74G.hEr0SdeB.js → architectureDiagram-T3A2C74G.BPW98p0m.js} +5 -5
  4. package/library/chunks/{array-line-clamp.CaiICVna.js → array-line-clamp.TyBsO6dK.js} +2 -2
  5. package/library/chunks/{asset-link-format.CylxIiPd.js → asset-link-format.DsqpErPW.js} +11 -11
  6. package/library/chunks/{audio.BDjVHTU2.js → audio.DOJNYr0C.js} +2 -2
  7. package/library/chunks/{bicolor-picker.CHeZU9u5.js → bicolor-picker.BYXBSHcR.js} +1 -1
  8. package/library/chunks/{block-width.RHVYimlE.js → block-width.HFgTbOhY.js} +39 -39
  9. package/library/chunks/{blockDiagram-VBNYF7ZC.HZ9j1fdr.js → blockDiagram-VBNYF7ZC.2el4_mfU.js} +6 -6
  10. package/library/chunks/{border-input-group.DitDsVli.js → border-input-group.TvxRjltp.js} +3 -3
  11. package/library/chunks/{breadcrumb.wAs0dDVb.js → breadcrumb.C_NpOjQB.js} +1 -1
  12. package/library/chunks/{button.HVChe9zT.js → button.Cgunf6cP.js} +3 -3
  13. package/library/chunks/{c4Diagram-5PPSVZJV.C-dwprVn.js → c4Diagram-5PPSVZJV.CB1meuC0.js} +3 -3
  14. package/library/chunks/{channel.DRy_Q9Cp.js → channel.Df7qi9B0.js} +1 -1
  15. package/library/chunks/{checkbox.C6vsHW9n.js → checkbox.aFoOxk2j.js} +1 -1
  16. package/library/chunks/{chunk-2GRJ4B5K.69hKTu61.js → chunk-2GRJ4B5K.gGaxW0lA.js} +1 -1
  17. package/library/chunks/{chunk-4I5QYGJK.dSz4al4a.js → chunk-4I5QYGJK.BfgT5lel.js} +1 -1
  18. package/library/chunks/{chunk-5RXB4S5H.DPPo2Zwg.js → chunk-5RXB4S5H.CF2ZeQiS.js} +6 -6
  19. package/library/chunks/{chunk-6Q2QTUOP.DWdqYO7P.js → chunk-6Q2QTUOP.BKuPYCzj.js} +2 -2
  20. package/library/chunks/{chunk-7Z6QIM7H.BojorLO-.js → chunk-7Z6QIM7H.ChD5saA-.js} +6 -6
  21. package/library/chunks/{chunk-GF5L2VYU.oyb2qMBz.js → chunk-GF5L2VYU.D7Kyf8tv.js} +6 -6
  22. package/library/chunks/{chunk-I66GZJ75.DxFbG_tP.js → chunk-I66GZJ75.H0-SV6eJ.js} +1 -1
  23. package/library/chunks/{chunk-JQJVKLGR.DLIOj1OL.js → chunk-JQJVKLGR.vSmZrVfn.js} +8 -8
  24. package/library/chunks/{chunk-KBJHAD2P.Cj7NgLrE.js → chunk-KBJHAD2P.BFtv98WB.js} +1 -1
  25. package/library/chunks/{chunk-NSK5VX7P.BfpItpU8.js → chunk-NSK5VX7P.CigvU-YZ.js} +1 -1
  26. package/library/chunks/{chunk-QR6OTTB3.B0wEgyLG.js → chunk-QR6OTTB3.DXgKvg29.js} +6 -6
  27. package/library/chunks/{chunk-UBXNYLIW.8JeJYrWu.js → chunk-UBXNYLIW.Cwnmh6rE.js} +2 -2
  28. package/library/chunks/{chunk-W5SLKNZC.BZVje6sP.js → chunk-W5SLKNZC.BGc7e7pD.js} +1 -1
  29. package/library/chunks/{chunk-WRU74C26.Cu6An2BT.js → chunk-WRU74C26.DI6bT2w6.js} +3 -3
  30. package/library/chunks/{classDiagram-JCYQIIEL.sKOFJQM9.js → classDiagram-JCYQIIEL.64BYmngb.js} +12 -12
  31. package/library/chunks/{classDiagram-v2-OCEON4UE.jsn9OmK7.js → classDiagram-v2-OCEON4UE.BZauU1et.js} +12 -12
  32. package/library/chunks/{color-picker.DjOq0eFi.js → color-picker.BoJczpMR.js} +11 -11
  33. package/library/chunks/{color-swatch-group.9Qx8Gvf2.js → color-swatch-group.fB89QMxH.js} +20 -20
  34. package/library/chunks/{color-swatch.Czkv1Mbb.js → color-swatch.qbpGlZ_O.js} +3 -3
  35. package/library/chunks/{config-manager.DjYQhlA6.js → config-manager.MYzwsduU.js} +31 -31
  36. package/library/chunks/{configs-controller.DM4UNL35.js → configs-controller.CVQQJkir.js} +7 -7
  37. package/library/chunks/{confirm-popover.CmkU5LOc.js → confirm-popover.CcELf-v5.js} +4 -4
  38. package/library/chunks/{copy-button.Db9OgUsk.js → copy-button.D9kDKwlR.js} +2 -2
  39. package/library/chunks/{corner-position-input-group.DtjehmV9.js → corner-position-input-group.CpJjyb6p.js} +4 -4
  40. package/library/chunks/{cynefinDiagram-MW4NZA55.Rdn9ed8n.js → cynefinDiagram-MW4NZA55.DcUv6X--.js} +3 -3
  41. package/library/chunks/{dagre-VZM6K2ZE.BYr7msc7.js → dagre-VZM6K2ZE.REv4K_Qj.js} +8 -8
  42. package/library/chunks/{date-calendar.QH4E3gcB.js → date-calendar.Dc3XKO0t.js} +1 -1
  43. package/library/chunks/{details.QX575PyS.js → details.BacO3ROq.js} +1 -1
  44. package/library/chunks/{diagram-7IWD3JNH.DcQuQJOy.js → diagram-7IWD3JNH.C6XfUay-.js} +4 -4
  45. package/library/chunks/{diagram-B4RE2ZJO.CpRCwxhK.js → diagram-B4RE2ZJO.Bp-nT294.js} +2 -2
  46. package/library/chunks/{diagram-LBJQPF4R.DkuPQOYy.js → diagram-LBJQPF4R.DM8MEbI5.js} +3 -3
  47. package/library/chunks/{diagram-Q27KOJAE.BqYMulfc.js → diagram-Q27KOJAE.DYhFE9pI.js} +5 -5
  48. package/library/chunks/{diagram-UB23O5K3.BXOBm_pt.js → diagram-UB23O5K3.BONLndDU.js} +3 -3
  49. package/library/chunks/{dialog.BpXFrOri.js → dialog.B2XHPofF.js} +3 -3
  50. package/library/chunks/{diff.C5J0fzbu.js → diff.DAFtnzhM.js} +1 -1
  51. package/library/chunks/{document-viewer.C6pZUsMP.js → document-viewer.Co4qVIOL.js} +13 -13
  52. package/library/chunks/{dom.dDaS97WU.js → dom.BsVeSE01.js} +1 -1
  53. package/library/chunks/{dot-pagination.DecVZgSJ.js → dot-pagination.DDt0UoT8.js} +2 -2
  54. package/library/chunks/{drawer.DL2AzbcX.js → drawer.CO5T5Y3N.js} +2 -2
  55. package/library/chunks/{dropdown.jJJ_wxJN.js → dropdown.CxpAJ42m.js} +5 -5
  56. package/library/chunks/{dynamic-select.Di2M5NWC.js → dynamic-select.Doyfj3es.js} +5 -5
  57. package/library/chunks/{e-chart.c19ibTnT.js → e-chart.fGTLKIDX.js} +2 -2
  58. package/library/chunks/{ebnfDiagram-BXEA7PRR.bve0mbKf.js → ebnfDiagram-BXEA7PRR.vgCVWkh_.js} +3 -3
  59. package/library/chunks/{element-clamp.B-sumN97.js → element-clamp.BEcFOVGV.js} +2 -2
  60. package/library/chunks/{erDiagram-JOGREHBK.CHM6yBq7.js → erDiagram-JOGREHBK.l02-sIjI.js} +11 -11
  61. package/library/chunks/{file-on-demand.P_3uP0Ur.js → file-on-demand.mXtuYM6V.js} +17 -17
  62. package/library/chunks/flowDiagram-UKHOOZJN.BoFivhJR.js +16 -0
  63. package/library/chunks/{folder-select.33VMtLnU.js → folder-select.OpTigUmf.js} +8 -8
  64. package/library/chunks/{form.-ADsa-59.js → form.JYXtmwQ2.js} +1 -1
  65. package/library/chunks/{format-time.Dfu1FCrK.js → format-time.DZCXUWmw.js} +1 -1
  66. package/library/chunks/{ganttDiagram-PKOTCBZU.BjVUwOTY.js → ganttDiagram-PKOTCBZU.CD-H_noy.js} +2 -2
  67. package/library/chunks/{gitGraphDiagram-DS77QQ5N.B4Ai4QnK.js → gitGraphDiagram-DS77QQ5N.eu4pijfq.js} +2 -2
  68. package/library/chunks/{header.BosjiWVg.js → header.CU8r46mR.js} +2 -2
  69. package/library/chunks/{i18n.D_iHIFdS.js → i18n.BJ2p4em8.js} +1 -1
  70. package/library/chunks/{icon-button.D6mTxvLN.js → icon-button.Dd-oDRfX.js} +2 -2
  71. package/library/chunks/{iframe.C7j4Uzku.js → iframe.DsOaw03m.js} +1 -1
  72. package/library/chunks/{image-comparer.D7C-cLm6.js → image-comparer.FB0ZzA0d.js} +1 -1
  73. package/library/chunks/{image.nqoaGkQd.js → image.BlMXK1IP.js} +2 -2
  74. package/library/chunks/{infoDiagram-6WML65LV.CCXddOU9.js → infoDiagram-6WML65LV.Xm33NlcD.js} +2 -2
  75. package/library/chunks/{input.C44u0jQi.js → input.Fmdh6pnf.js} +2 -2
  76. package/library/chunks/{ishikawaDiagram-WSZJBQD7.BxvfUqQN.js → ishikawaDiagram-WSZJBQD7.B-DjIT2K.js} +3 -3
  77. package/library/chunks/{journeyDiagram-NVQOT4AX.wZQhwINu.js → journeyDiagram-NVQOT4AX.ByuFaAO4.js} +2 -2
  78. package/library/chunks/{kanban-definition-27J2QSJJ.lZzEW5oe.js → kanban-definition-27J2QSJJ.BEAgE6i7.js} +8 -8
  79. package/library/chunks/{line-clamp.C7M133Jo.js → line-clamp.CFDQn3q5.js} +2 -2
  80. package/library/chunks/{markdown.B6J44eJB.js → markdown.DMexA2xN.js} +4 -4
  81. package/library/chunks/{masonry.CsJC8M6I.js → masonry.ChJ-OQDP.js} +3 -3
  82. package/library/chunks/{menu-item.UQ_IlBEV.js → menu-item.CoiWRmSd.js} +3 -3
  83. package/library/chunks/{menu.BTt3TxEj.js → menu.DMGLiup6.js} +2 -2
  84. package/library/chunks/{mermaid.core.D4TP7SxC.js → mermaid.core.CUTdrxBG.js} +49 -49
  85. package/library/chunks/{mindmap-definition-FAOFIHXS.DKP7Wq8o.js → mindmap-definition-FAOFIHXS.rbw_pav-.js} +10 -10
  86. package/library/chunks/{option.CizwUJwq.js → option.DG1dbL3u.js} +1 -1
  87. package/library/chunks/{padding-input-group.CSYzP2s4.js → padding-input-group.E8trRZI5.js} +1 -1
  88. package/library/chunks/{pagination.Dgn16y4P.js → pagination.CIiry7ii.js} +7 -7
  89. package/library/chunks/{pegDiagram-VL7TDLO6.DYf-llxW.js → pegDiagram-VL7TDLO6.BAxarQjC.js} +3 -3
  90. package/library/chunks/{pieDiagram-7S7Q4E2Y.BYOKmFbX.js → pieDiagram-7S7Q4E2Y.Du6akIPM.js} +3 -3
  91. package/library/chunks/{popup.DwPq0yI9.js → popup.uU7UtxmR.js} +1 -1
  92. package/library/chunks/{position-picker.aNCROlig.js → position-picker.DwDC9gDl.js} +2 -2
  93. package/library/chunks/{progress-bar.VFfb2YnK.js → progress-bar.BJfkoZ6G.js} +1 -1
  94. package/library/chunks/{progress-ring.Czn6GoZL.js → progress-ring.BSfnNF9M.js} +1 -1
  95. package/library/chunks/purify.es.Bwsrv9kG.js +866 -0
  96. package/library/chunks/{quadrantDiagram-CIZ2JOQS.DEgzUPcq.js → quadrantDiagram-CIZ2JOQS.0LTMJXU8.js} +1 -1
  97. package/library/chunks/{radio-card.rgobVDcV.js → radio-card.lteVlB0W.js} +1 -1
  98. package/library/chunks/{radio-group.DKOIr2PH.js → radio-group.DSnDDjKe.js} +1 -1
  99. package/library/chunks/{railroadDiagram-AXF67PYL.Z6JFrCug.js → railroadDiagram-AXF67PYL.BU5cQCmX.js} +3 -3
  100. package/library/chunks/{range.UVbDGy7M.js → range.blqKtzMI.js} +3 -3
  101. package/library/chunks/{rating.Dpqp5fJ2.js → rating.BgUId4FT.js} +1 -1
  102. package/library/chunks/{relative-time.ImRpAXxg.js → relative-time.BSSaZxeD.js} +1 -1
  103. package/library/chunks/{requirementDiagram-LRYGKXZP.Be73v1EI.js → requirementDiagram-LRYGKXZP.BM4tLaE8.js} +10 -10
  104. package/library/chunks/{sankeyDiagram-W5VNT64P.Cnm5gpOT.js → sankeyDiagram-W5VNT64P.r2kIOMLC.js} +1 -1
  105. package/library/chunks/{select.NoJEwBN4.js → select.C8EppymY.js} +7 -7
  106. package/library/chunks/{sequenceDiagram-SI44F4Z6.FKuKIhNd.js → sequenceDiagram-SI44F4Z6.CJ50A-EW.js} +4 -4
  107. package/library/chunks/{shadow-input-group.0xDWAN9L.js → shadow-input-group.B6gcdNEi.js} +2 -2
  108. package/library/chunks/{share-option-list.CVyc5zE3.js → share-option-list.8OSETkgd.js} +3 -3
  109. package/library/chunks/{sidebar.B1CkFnS-.js → sidebar.B1MjUxBY.js} +1 -1
  110. package/library/chunks/{size-input-group.DoE-qa2S.js → size-input-group.f_Zw3nTt.js} +5 -5
  111. package/library/chunks/{spinner.BPSFoJkz.js → spinner.o3Rjsff7.js} +1 -1
  112. package/library/chunks/{split-panel.BsE9_zvp.js → split-panel.CVyqM2Dr.js} +1 -1
  113. package/library/chunks/src.CKXY7ep6.js +103 -0
  114. package/library/chunks/{stateDiagram-OKZ733FA.ioYIXhXg.js → stateDiagram-OKZ733FA.DZ7h0fa_.js} +12 -12
  115. package/library/chunks/{stateDiagram-v2-UEYNNEHI.ACysblKz.js → stateDiagram-v2-UEYNNEHI.BhaYePWf.js} +12 -12
  116. package/library/chunks/{step.ZFoTM46R.js → step.DbfZAAd2.js} +3 -3
  117. package/library/chunks/{stepper-wizard.CImDe292.js → stepper-wizard.lIqA749z.js} +2 -2
  118. package/library/chunks/{stepper.Y2ydDAom.js → stepper.BdIYewYh.js} +1 -1
  119. package/library/chunks/{string.DamEXDH2.js → string.DAuTpyw8.js} +1 -1
  120. package/library/chunks/{swimlanes-SLNWSIFB.wzDPjH4K.js → swimlanes-SLNWSIFB.B31m3AJi.js} +8 -8
  121. package/library/chunks/{swimlanesDiagram-ULZ7WXOC.CrZQP9fK.js → swimlanesDiagram-ULZ7WXOC.DkcvdPqC.js} +12 -12
  122. package/library/chunks/{switch.D6KXmWnC.js → switch.CBho2RVW.js} +1 -1
  123. package/library/chunks/{tab-group.DVCzY8ff.js → tab-group.DsJK9F2v.js} +8 -8
  124. package/library/chunks/{tab.DTDi6_uw.js → tab.Dooc1EWx.js} +3 -3
  125. package/library/chunks/{tag.DI1e3R9Y.js → tag.fa4s56WR.js} +3 -3
  126. package/library/chunks/{textarea.Bc4eCJgT.js → textarea.BgWdR_7D.js} +1 -1
  127. package/library/chunks/{timecode.Bte9Ww5o.js → timecode.DME2imtx.js} +1 -1
  128. package/library/chunks/{timeline-definition-Z64GVDOM.UcaUUfBH.js → timeline-definition-Z64GVDOM.CNKRW4xi.js} +3 -3
  129. package/library/chunks/{tooltip.BAg1FXgE.js → tooltip.GjnTzFeL.js} +2 -2
  130. package/library/chunks/{tree.BFReY9S3.js → tree.CvknQrPD.js} +4 -4
  131. package/library/chunks/{typeface.DPIZSN2l.js → typeface.FHj7pyQy.js} +3 -3
  132. package/library/chunks/{vennDiagram-T6HMQDX7.CmGexvK7.js → vennDiagram-T6HMQDX7.CObwvEEr.js} +3 -3
  133. package/library/chunks/{video.d4acczzs.js → video.BPMdFhjp.js} +2 -2
  134. package/library/chunks/{wardleyDiagram-T6FBY63Y.DtPWEMtB.js → wardleyDiagram-T6FBY63Y.BTL3nwWJ.js} +3 -3
  135. package/library/chunks/{xychartDiagram-ELKLHX3M.Bu83XobH.js → xychartDiagram-ELKLHX3M.DMDlz8tK.js} +5 -5
  136. package/library/components/alert.js +1 -1
  137. package/library/components/array-line-clamp.js +1 -1
  138. package/library/components/asset-link-format.js +1 -1
  139. package/library/components/atoms.js +54 -54
  140. package/library/components/audio.js +1 -1
  141. package/library/components/bicolor-picker.js +1 -1
  142. package/library/components/border-input-group.js +1 -1
  143. package/library/components/breadcrumb.js +1 -1
  144. package/library/components/button.js +1 -1
  145. package/library/components/checkbox.js +1 -1
  146. package/library/components/color-picker.js +1 -1
  147. package/library/components/color-swatch-group.js +1 -1
  148. package/library/components/color-swatch.js +1 -1
  149. package/library/components/confirm-popover.js +1 -1
  150. package/library/components/copy-button.js +1 -1
  151. package/library/components/corner-position-input-group.js +1 -1
  152. package/library/components/date-calendar.js +1 -1
  153. package/library/components/details.js +1 -1
  154. package/library/components/dialog.js +1 -1
  155. package/library/components/diff.js +1 -1
  156. package/library/components/document-viewer.js +1 -1
  157. package/library/components/dot-pagination.js +1 -1
  158. package/library/components/drawer.js +1 -1
  159. package/library/components/dropdown.js +1 -1
  160. package/library/components/dynamic-select.js +1 -1
  161. package/library/components/e-chart.js +1 -1
  162. package/library/components/element-clamp.js +1 -1
  163. package/library/components/file-on-demand.js +1 -1
  164. package/library/components/folder-select.js +1 -1
  165. package/library/components/format-bytes.js +1 -1
  166. package/library/components/format-date.js +1 -1
  167. package/library/components/format-number.js +1 -1
  168. package/library/components/format-time.js +1 -1
  169. package/library/components/header.js +1 -1
  170. package/library/components/icon-button.js +1 -1
  171. package/library/components/iframe.js +1 -1
  172. package/library/components/image-comparer.js +1 -1
  173. package/library/components/image.js +1 -1
  174. package/library/components/input.js +1 -1
  175. package/library/components/line-clamp.js +1 -1
  176. package/library/components/markdown.js +1 -1
  177. package/library/components/masonry.js +1 -1
  178. package/library/components/menu-item.js +1 -1
  179. package/library/components/menu.js +1 -1
  180. package/library/components/molecules.js +16 -16
  181. package/library/components/option.js +1 -1
  182. package/library/components/organisms.js +3 -3
  183. package/library/components/padding-input-group.js +1 -1
  184. package/library/components/pagination.js +1 -1
  185. package/library/components/popup.js +1 -1
  186. package/library/components/position-picker.js +1 -1
  187. package/library/components/progress-bar.js +1 -1
  188. package/library/components/progress-ring.js +1 -1
  189. package/library/components/radio-card.js +1 -1
  190. package/library/components/radio-group.js +1 -1
  191. package/library/components/range.js +1 -1
  192. package/library/components/rating.js +1 -1
  193. package/library/components/relative-time.js +1 -1
  194. package/library/components/select.js +1 -1
  195. package/library/components/shadow-input-group.js +1 -1
  196. package/library/components/share-option-list.js +1 -1
  197. package/library/components/sidebar.js +1 -1
  198. package/library/components/size-input-group.js +1 -1
  199. package/library/components/spinner.js +1 -1
  200. package/library/components/split-panel.js +1 -1
  201. package/library/components/step.js +1 -1
  202. package/library/components/stepper-wizard.js +1 -1
  203. package/library/components/stepper.js +1 -1
  204. package/library/components/switch.js +1 -1
  205. package/library/components/tab-group.js +1 -1
  206. package/library/components/tab.js +1 -1
  207. package/library/components/tag.js +1 -1
  208. package/library/components/textarea.js +1 -1
  209. package/library/components/timecode.js +1 -1
  210. package/library/components/tooltip.js +1 -1
  211. package/library/components/tree-item.js +1 -1
  212. package/library/components/tree.js +1 -1
  213. package/library/components/typeface.js +1 -1
  214. package/library/components/types.js +100 -90
  215. package/library/components/video.js +1 -1
  216. package/library/package.json +1 -1
  217. package/library/packages/organisms/src/content-builder/content-builder.d.ts +6 -1
  218. package/library/utils.js +4 -4
  219. package/package.json +1 -1
  220. package/library/chunks/flowDiagram-UKHOOZJN.B6Wq4TbX.js +0 -16
  221. package/library/chunks/purify.es.Bsc_rznY.js +0 -554
  222. package/library/chunks/src.cG4bHSGM.js +0 -103
package/library/utils.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { a as e, i as t, n, o as r, r as i, t as a } from "./chunks/event.C11S4obG.js";
2
2
  import { t as o } from "./chunks/custom-element.BEMYNDK1.js";
3
- import { r as s, t as c } from "./chunks/i18n.D_iHIFdS.js";
3
+ import { r as s, t as c } from "./chunks/i18n.BJ2p4em8.js";
4
4
  import { n as l, r as u, t as d } from "./chunks/slot.CZUlACxT.js";
5
5
  import { t as f } from "./chunks/watch.Ub5r8btz.js";
6
- import { C as p, S as m, _ as h, a as g, b as _, c as ee, d as te, f as ne, g as re, h as ie, i as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./chunks/string.DamEXDH2.js";
7
- import { a as v, c as ye, d as be, f as xe, h as Se, i as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, r as ke, s as y, t as b, u as x } from "./chunks/dom.dDaS97WU.js";
8
- import { a as S, i as C, n as w, o as Ae, r as T, t as je } from "./chunks/form.-ADsa-59.js";
6
+ import { C as p, S as m, _ as h, a as g, b as _, c as ee, d as te, f as ne, g as re, h as ie, i as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./chunks/string.DAuTpyw8.js";
7
+ import { a as v, c as ye, d as be, f as xe, h as Se, i as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, r as ke, s as y, t as b, u as x } from "./chunks/dom.BsVeSE01.js";
8
+ import { a as S, i as C, n as w, o as Ae, r as T, t as je } from "./chunks/form.JYXtmwQ2.js";
9
9
  import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, r as Re, s as ze, t as Be, u as Ve } from "./chunks/browser.Ct4pHP9I.js";
10
10
  import { t as He } from "./chunks/debounce.Ci-xdsHE.js";
11
11
  import { n as E } from "./chunks/position-picker.dY_vgF_H.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.53.0",
4
+ "version": "3.55.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,16 +0,0 @@
1
- import "./chunk-NSK5VX7P.BfpItpU8.js";
2
- import "./chunk-X3CZISLH.D200o-iZ.js";
3
- import "./chunk-I66GZJ75.DxFbG_tP.js";
4
- import "./chunk-4I5QYGJK.dSz4al4a.js";
5
- import "./chunk-WRU74C26.Cu6An2BT.js";
6
- import "./chunk-7BUUIJ7U.2HaDAqLO.js";
7
- import "./chunk-UBXNYLIW.8JeJYrWu.js";
8
- import "./chunk-2GRJ4B5K.69hKTu61.js";
9
- import "./chunk-XXDRQBXY.BwfXrXWR.js";
10
- import "./chunk-KBJHAD2P.Cj7NgLrE.js";
11
- import "./chunk-W5SLKNZC.BZVje6sP.js";
12
- import "./chunk-QR6OTTB3.B0wEgyLG.js";
13
- import "./chunk-7Z6QIM7H.BojorLO-.js";
14
- import { n as e } from "./chunk-JQJVKLGR.DLIOj1OL.js";
15
- import "./mermaid.core.D4TP7SxC.js";
16
- export { e as diagram };
@@ -1,554 +0,0 @@
1
- //#region ../../node_modules/dompurify/dist/purify.es.mjs
2
- var { entries: e, setPrototypeOf: t, isFrozen: n, getPrototypeOf: r, getOwnPropertyDescriptor: i } = Object, { freeze: a, seal: o, create: s } = Object, { apply: c, construct: l } = typeof Reflect < "u" && Reflect;
3
- a ||= function(e) {
4
- return e;
5
- }, o ||= function(e) {
6
- return e;
7
- }, c ||= function(e, t) {
8
- var n = [...arguments].slice(2);
9
- return e.apply(t, n);
10
- }, l ||= function(e) {
11
- return new e(...[...arguments].slice(1));
12
- };
13
- var u = v(Array.prototype.forEach), d = v(Array.prototype.lastIndexOf), ee = v(Array.prototype.pop), f = v(Array.prototype.push), te = v(Array.prototype.splice), p = v(String.prototype.toLowerCase), ne = v(String.prototype.toString), re = v(String.prototype.match), m = v(String.prototype.replace), ie = v(String.prototype.indexOf), ae = v(String.prototype.trim), h = v(Object.prototype.hasOwnProperty), g = v(RegExp.prototype.test), _ = oe(TypeError);
14
- function v(e) {
15
- return function(t) {
16
- t instanceof RegExp && (t.lastIndex = 0);
17
- var n = [...arguments].slice(1);
18
- return c(e, t, n);
19
- };
20
- }
21
- function oe(e) {
22
- return function() {
23
- return l(e, [...arguments]);
24
- };
25
- }
26
- function y(e, r) {
27
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : p;
28
- t && t(e, null);
29
- let a = r.length;
30
- for (; a--;) {
31
- let t = r[a];
32
- if (typeof t == "string") {
33
- let e = i(t);
34
- e !== t && (n(r) || (r[a] = e), t = e);
35
- }
36
- e[t] = !0;
37
- }
38
- return e;
39
- }
40
- function b(e) {
41
- for (let t = 0; t < e.length; t++) h(e, t) || (e[t] = null);
42
- return e;
43
- }
44
- function x(t) {
45
- let n = s(null);
46
- for (let [r, i] of e(t)) h(t, r) && (n[r] = Array.isArray(i) ? b(i) : i && typeof i == "object" && i.constructor === Object ? x(i) : i);
47
- return n;
48
- }
49
- function S(e, t) {
50
- for (; e !== null;) {
51
- let n = i(e, t);
52
- if (n) {
53
- if (n.get) return v(n.get);
54
- if (typeof n.value == "function") return v(n.value);
55
- }
56
- e = r(e);
57
- }
58
- function n() {
59
- return null;
60
- }
61
- return n;
62
- }
63
- var se = a(/* @__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(".")), ce = a(/* @__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(".")), le = a([
64
- "feBlend",
65
- "feColorMatrix",
66
- "feComponentTransfer",
67
- "feComposite",
68
- "feConvolveMatrix",
69
- "feDiffuseLighting",
70
- "feDisplacementMap",
71
- "feDistantLight",
72
- "feDropShadow",
73
- "feFlood",
74
- "feFuncA",
75
- "feFuncB",
76
- "feFuncG",
77
- "feFuncR",
78
- "feGaussianBlur",
79
- "feImage",
80
- "feMerge",
81
- "feMergeNode",
82
- "feMorphology",
83
- "feOffset",
84
- "fePointLight",
85
- "feSpecularLighting",
86
- "feSpotLight",
87
- "feTile",
88
- "feTurbulence"
89
- ]), ue = a([
90
- "animate",
91
- "color-profile",
92
- "cursor",
93
- "discard",
94
- "font-face",
95
- "font-face-format",
96
- "font-face-name",
97
- "font-face-src",
98
- "font-face-uri",
99
- "foreignobject",
100
- "hatch",
101
- "hatchpath",
102
- "mesh",
103
- "meshgradient",
104
- "meshpatch",
105
- "meshrow",
106
- "missing-glyph",
107
- "script",
108
- "set",
109
- "solidcolor",
110
- "unknown",
111
- "use"
112
- ]), de = a(/* @__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(".")), fe = a([
113
- "maction",
114
- "maligngroup",
115
- "malignmark",
116
- "mlongdiv",
117
- "mscarries",
118
- "mscarry",
119
- "msgroup",
120
- "mstack",
121
- "msline",
122
- "msrow",
123
- "semantics",
124
- "annotation",
125
- "annotation-xml",
126
- "mprescripts",
127
- "none"
128
- ]), pe = a(["#text"]), me = a(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.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.slot".split(".")), he = a(/* @__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.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-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(".")), ge = a(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.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(".")), _e = a([
129
- "xlink:href",
130
- "xml:id",
131
- "xlink:title",
132
- "xml:space",
133
- "xmlns:xlink"
134
- ]), ve = o(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ye = o(/<%[\w\W]*|[\w\W]*%>/gm), be = o(/\$\{[\w\W]*/gm), C = o(/^data-[\-\w.\u00B7-\uFFFF]+$/), w = o(/^aria-[\-\w]+$/), xe = o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Se = o(/^(?:\w+script|data):/i), Ce = o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), we = o(/^html$/i), Te = o(/^[a-z][.\w]*(-[.\w]+)+$/i), Ee = /*#__PURE__*/ Object.freeze({
135
- __proto__: null,
136
- ARIA_ATTR: w,
137
- ATTR_WHITESPACE: Ce,
138
- CUSTOM_ELEMENT: Te,
139
- DATA_ATTR: C,
140
- DOCTYPE_NAME: we,
141
- ERB_EXPR: ye,
142
- IS_ALLOWED_URI: xe,
143
- IS_SCRIPT_OR_DATA: Se,
144
- MUSTACHE_EXPR: ve,
145
- TMPLIT_EXPR: be
146
- }), T = {
147
- element: 1,
148
- attribute: 2,
149
- text: 3,
150
- cdataSection: 4,
151
- entityReference: 5,
152
- entityNode: 6,
153
- progressingInstruction: 7,
154
- comment: 8,
155
- document: 9,
156
- documentType: 10,
157
- documentFragment: 11,
158
- notation: 12
159
- }, De = function() {
160
- return typeof window > "u" ? null : window;
161
- }, Oe = function(e, t) {
162
- if (typeof e != "object" || typeof e.createPolicy != "function") return null;
163
- let n = null, r = "data-tt-policy-suffix";
164
- t && t.hasAttribute(r) && (n = t.getAttribute(r));
165
- let i = "dompurify" + (n ? "#" + n : "");
166
- try {
167
- return e.createPolicy(i, {
168
- createHTML(e) {
169
- return e;
170
- },
171
- createScriptURL(e) {
172
- return e;
173
- }
174
- });
175
- } catch {
176
- return console.warn("TrustedTypes policy " + i + " could not be created."), null;
177
- }
178
- }, ke = function() {
179
- return {
180
- afterSanitizeAttributes: [],
181
- afterSanitizeElements: [],
182
- afterSanitizeShadowDOM: [],
183
- beforeSanitizeAttributes: [],
184
- beforeSanitizeElements: [],
185
- beforeSanitizeShadowDOM: [],
186
- uponSanitizeAttribute: [],
187
- uponSanitizeElement: [],
188
- uponSanitizeShadowNode: []
189
- };
190
- };
191
- function Ae() {
192
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : De(), n = (e) => Ae(e);
193
- if (n.version = "3.3.3", n.removed = [], !t || !t.document || t.document.nodeType !== T.document || !t.Element) return n.isSupported = !1, n;
194
- let { document: r } = t, i = r, o = i.currentScript, { DocumentFragment: c, HTMLTemplateElement: l, Node: v, Element: oe, NodeFilter: b, NamedNodeMap: ve = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: ye, DOMParser: be, trustedTypes: C } = t, w = oe.prototype, Se = S(w, "cloneNode"), Ce = S(w, "remove"), Te = S(w, "nextSibling"), je = S(w, "childNodes"), E = S(w, "parentNode");
195
- if (typeof l == "function") {
196
- let e = r.createElement("template");
197
- e.content && e.content.ownerDocument && (r = e.content.ownerDocument);
198
- }
199
- let D, O = "", { implementation: Me, createNodeIterator: Ne, createDocumentFragment: Pe, getElementsByTagName: Fe } = r, { importNode: Ie } = i, k = ke();
200
- n.isSupported = typeof e == "function" && typeof E == "function" && Me && Me.createHTMLDocument !== void 0;
201
- let { MUSTACHE_EXPR: Le, ERB_EXPR: Re, TMPLIT_EXPR: ze, DATA_ATTR: Be, ARIA_ATTR: Ve, IS_SCRIPT_OR_DATA: He, ATTR_WHITESPACE: Ue, CUSTOM_ELEMENT: We } = Ee, { IS_ALLOWED_URI: Ge } = Ee, A = null, Ke = y({}, [
202
- ...se,
203
- ...ce,
204
- ...le,
205
- ...de,
206
- ...pe
207
- ]), j = null, qe = y({}, [
208
- ...me,
209
- ...he,
210
- ...ge,
211
- ..._e
212
- ]), M = Object.seal(s(null, {
213
- tagNameCheck: {
214
- writable: !0,
215
- configurable: !1,
216
- enumerable: !0,
217
- value: null
218
- },
219
- attributeNameCheck: {
220
- writable: !0,
221
- configurable: !1,
222
- enumerable: !0,
223
- value: null
224
- },
225
- allowCustomizedBuiltInElements: {
226
- writable: !0,
227
- configurable: !1,
228
- enumerable: !0,
229
- value: !1
230
- }
231
- })), N = null, Je = null, P = Object.seal(s(null, {
232
- tagCheck: {
233
- writable: !0,
234
- configurable: !1,
235
- enumerable: !0,
236
- value: null
237
- },
238
- attributeCheck: {
239
- writable: !0,
240
- configurable: !1,
241
- enumerable: !0,
242
- value: null
243
- }
244
- })), Ye = !0, Xe = !0, Ze = !1, Qe = !0, F = !1, I = !0, L = !1, $e = !1, et = !1, R = !1, z = !1, B = !1, tt = !0, nt = !1, rt = !0, V = !1, H = {}, U = null, it = y({}, [
245
- "annotation-xml",
246
- "audio",
247
- "colgroup",
248
- "desc",
249
- "foreignobject",
250
- "head",
251
- "iframe",
252
- "math",
253
- "mi",
254
- "mn",
255
- "mo",
256
- "ms",
257
- "mtext",
258
- "noembed",
259
- "noframes",
260
- "noscript",
261
- "plaintext",
262
- "script",
263
- "style",
264
- "svg",
265
- "template",
266
- "thead",
267
- "title",
268
- "video",
269
- "xmp"
270
- ]), at = null, ot = y({}, [
271
- "audio",
272
- "video",
273
- "img",
274
- "source",
275
- "image",
276
- "track"
277
- ]), st = null, ct = y({}, [
278
- "alt",
279
- "class",
280
- "for",
281
- "id",
282
- "label",
283
- "name",
284
- "pattern",
285
- "placeholder",
286
- "role",
287
- "summary",
288
- "title",
289
- "value",
290
- "style",
291
- "xmlns"
292
- ]), W = "http://www.w3.org/1998/Math/MathML", G = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, lt = !1, ut = null, dt = y({}, [
293
- W,
294
- G,
295
- K
296
- ], ne), ft = y({}, [
297
- "mi",
298
- "mo",
299
- "mn",
300
- "ms",
301
- "mtext"
302
- ]), pt = y({}, ["annotation-xml"]), mt = y({}, [
303
- "title",
304
- "style",
305
- "font",
306
- "a",
307
- "script"
308
- ]), J = null, ht = ["application/xhtml+xml", "text/html"], Y = null, X = null, gt = r.createElement("form"), _t = function(e) {
309
- return e instanceof RegExp || e instanceof Function;
310
- }, vt = function() {
311
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
312
- if (!(X && X === e)) {
313
- if ((!e || typeof e != "object") && (e = {}), e = x(e), J = ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = J === "application/xhtml+xml" ? ne : p, A = h(e, "ALLOWED_TAGS") ? y({}, e.ALLOWED_TAGS, Y) : Ke, j = h(e, "ALLOWED_ATTR") ? y({}, e.ALLOWED_ATTR, Y) : qe, ut = h(e, "ALLOWED_NAMESPACES") ? y({}, e.ALLOWED_NAMESPACES, ne) : dt, st = h(e, "ADD_URI_SAFE_ATTR") ? y(x(ct), e.ADD_URI_SAFE_ATTR, Y) : ct, at = h(e, "ADD_DATA_URI_TAGS") ? y(x(ot), e.ADD_DATA_URI_TAGS, Y) : ot, U = h(e, "FORBID_CONTENTS") ? y({}, e.FORBID_CONTENTS, Y) : it, N = h(e, "FORBID_TAGS") ? y({}, e.FORBID_TAGS, Y) : x({}), Je = h(e, "FORBID_ATTR") ? y({}, e.FORBID_ATTR, Y) : x({}), H = h(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ye = e.ALLOW_ARIA_ATTR !== !1, Xe = e.ALLOW_DATA_ATTR !== !1, Ze = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Qe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, F = e.SAFE_FOR_TEMPLATES || !1, I = e.SAFE_FOR_XML !== !1, L = e.WHOLE_DOCUMENT || !1, R = e.RETURN_DOM || !1, z = e.RETURN_DOM_FRAGMENT || !1, B = e.RETURN_TRUSTED_TYPE || !1, et = e.FORCE_BODY || !1, tt = e.SANITIZE_DOM !== !1, nt = e.SANITIZE_NAMED_PROPS || !1, rt = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, Ge = e.ALLOWED_URI_REGEXP || xe, q = e.NAMESPACE || K, ft = e.MATHML_TEXT_INTEGRATION_POINTS || ft, pt = e.HTML_INTEGRATION_POINTS || pt, M = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (M.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (M.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (M.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), F && (Xe = !1), z && (R = !0), H && (A = y({}, pe), j = s(null), H.html === !0 && (y(A, se), y(j, me)), H.svg === !0 && (y(A, ce), y(j, he), y(j, _e)), H.svgFilters === !0 && (y(A, le), y(j, he), y(j, _e)), H.mathMl === !0 && (y(A, de), y(j, ge), y(j, _e))), h(e, "ADD_TAGS") || (P.tagCheck = null), h(e, "ADD_ATTR") || (P.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? P.tagCheck = e.ADD_TAGS : (A === Ke && (A = x(A)), y(A, e.ADD_TAGS, Y))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? P.attributeCheck = e.ADD_ATTR : (j === qe && (j = x(j)), y(j, e.ADD_ATTR, Y))), e.ADD_URI_SAFE_ATTR && y(st, e.ADD_URI_SAFE_ATTR, Y), e.FORBID_CONTENTS && (U === it && (U = x(U)), y(U, e.FORBID_CONTENTS, Y)), e.ADD_FORBID_CONTENTS && (U === it && (U = x(U)), y(U, e.ADD_FORBID_CONTENTS, Y)), rt && (A["#text"] = !0), L && y(A, [
314
- "html",
315
- "head",
316
- "body"
317
- ]), A.table && (y(A, ["tbody"]), delete N.tbody), e.TRUSTED_TYPES_POLICY) {
318
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw _("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
319
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw _("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
320
- D = e.TRUSTED_TYPES_POLICY, O = D.createHTML("");
321
- } else D === void 0 && (D = Oe(C, o)), D !== null && typeof O == "string" && (O = D.createHTML(""));
322
- a && a(e), X = e;
323
- }
324
- }, yt = y({}, [
325
- ...ce,
326
- ...le,
327
- ...ue
328
- ]), bt = y({}, [...de, ...fe]), xt = function(e) {
329
- let t = E(e);
330
- (!t || !t.tagName) && (t = {
331
- namespaceURI: q,
332
- tagName: "template"
333
- });
334
- let n = p(e.tagName), r = p(t.tagName);
335
- return ut[e.namespaceURI] ? e.namespaceURI === G ? t.namespaceURI === K ? n === "svg" : t.namespaceURI === W ? n === "svg" && (r === "annotation-xml" || ft[r]) : !!yt[n] : e.namespaceURI === W ? t.namespaceURI === K ? n === "math" : t.namespaceURI === G ? n === "math" && pt[r] : !!bt[n] : e.namespaceURI === K ? t.namespaceURI === G && !pt[r] || t.namespaceURI === W && !ft[r] ? !1 : !bt[n] && (mt[n] || !yt[n]) : !!(J === "application/xhtml+xml" && ut[e.namespaceURI]) : !1;
336
- }, Z = function(e) {
337
- f(n.removed, { element: e });
338
- try {
339
- E(e).removeChild(e);
340
- } catch {
341
- Ce(e);
342
- }
343
- }, Q = function(e, t) {
344
- try {
345
- f(n.removed, {
346
- attribute: t.getAttributeNode(e),
347
- from: t
348
- });
349
- } catch {
350
- f(n.removed, {
351
- attribute: null,
352
- from: t
353
- });
354
- }
355
- if (t.removeAttribute(e), e === "is") {
356
- if (R || z) try {
357
- Z(t);
358
- } catch {}
359
- else try {
360
- t.setAttribute(e, "");
361
- } catch {}
362
- }
363
- }, St = function(e) {
364
- let t = null, n = null;
365
- if (et) e = "<remove></remove>" + e;
366
- else {
367
- let t = re(e, /^[\r\n\t ]+/);
368
- n = t && t[0];
369
- }
370
- J === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
371
- let i = D ? D.createHTML(e) : e;
372
- if (q === K) try {
373
- t = new be().parseFromString(i, J);
374
- } catch {}
375
- if (!t || !t.documentElement) {
376
- t = Me.createDocument(q, "template", null);
377
- try {
378
- t.documentElement.innerHTML = lt ? O : i;
379
- } catch {}
380
- }
381
- let a = t.body || t.documentElement;
382
- return e && n && a.insertBefore(r.createTextNode(n), a.childNodes[0] || null), q === K ? Fe.call(t, L ? "html" : "body")[0] : L ? t.documentElement : a;
383
- }, Ct = function(e) {
384
- return Ne.call(e.ownerDocument || e, e, b.SHOW_ELEMENT | b.SHOW_COMMENT | b.SHOW_TEXT | b.SHOW_PROCESSING_INSTRUCTION | b.SHOW_CDATA_SECTION, null);
385
- }, wt = function(e) {
386
- return e instanceof ye && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof ve) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
387
- }, Tt = function(e) {
388
- return typeof v == "function" && e instanceof v;
389
- };
390
- function $(e, t, r) {
391
- u(e, (e) => {
392
- e.call(n, t, r, X);
393
- });
394
- }
395
- let Et = function(e) {
396
- let t = null;
397
- if ($(k.beforeSanitizeElements, e, null), wt(e)) return Z(e), !0;
398
- let r = Y(e.nodeName);
399
- if ($(k.uponSanitizeElement, e, {
400
- tagName: r,
401
- allowedTags: A
402
- }), I && e.hasChildNodes() && !Tt(e.firstElementChild) && g(/<[/\w!]/g, e.innerHTML) && g(/<[/\w!]/g, e.textContent) || e.nodeType === T.progressingInstruction || I && e.nodeType === T.comment && g(/<[/\w]/g, e.data)) return Z(e), !0;
403
- if (!(P.tagCheck instanceof Function && P.tagCheck(r)) && (!A[r] || N[r])) {
404
- if (!N[r] && Ot(r) && (M.tagNameCheck instanceof RegExp && g(M.tagNameCheck, r) || M.tagNameCheck instanceof Function && M.tagNameCheck(r))) return !1;
405
- if (rt && !U[r]) {
406
- let t = E(e) || e.parentNode, n = je(e) || e.childNodes;
407
- if (n && t) {
408
- let r = n.length;
409
- for (let i = r - 1; i >= 0; --i) {
410
- let r = Se(n[i], !0);
411
- r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, Te(e));
412
- }
413
- }
414
- }
415
- return Z(e), !0;
416
- }
417
- return e instanceof oe && !xt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && g(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Z(e), !0) : (F && e.nodeType === T.text && (t = e.textContent, u([
418
- Le,
419
- Re,
420
- ze
421
- ], (e) => {
422
- t = m(t, e, " ");
423
- }), e.textContent !== t && (f(n.removed, { element: e.cloneNode() }), e.textContent = t)), $(k.afterSanitizeElements, e, null), !1);
424
- }, Dt = function(e, t, n) {
425
- if (Je[t] || tt && (t === "id" || t === "name") && (n in r || n in gt)) return !1;
426
- if (!(Xe && !Je[t] && g(Be, t)) && !(Ye && g(Ve, t)) && !(P.attributeCheck instanceof Function && P.attributeCheck(t, e))) {
427
- if (!j[t] || Je[t]) {
428
- if (!(Ot(e) && (M.tagNameCheck instanceof RegExp && g(M.tagNameCheck, e) || M.tagNameCheck instanceof Function && M.tagNameCheck(e)) && (M.attributeNameCheck instanceof RegExp && g(M.attributeNameCheck, t) || M.attributeNameCheck instanceof Function && M.attributeNameCheck(t, e)) || t === "is" && M.allowCustomizedBuiltInElements && (M.tagNameCheck instanceof RegExp && g(M.tagNameCheck, n) || M.tagNameCheck instanceof Function && M.tagNameCheck(n)))) return !1;
429
- } else if (!st[t] && !g(Ge, m(n, Ue, "")) && (t !== "src" && t !== "xlink:href" && t !== "href" || e === "script" || ie(n, "data:") !== 0 || !at[e]) && (!Ze || g(He, m(n, Ue, ""))) && n) return !1;
430
- }
431
- return !0;
432
- }, Ot = function(e) {
433
- return e !== "annotation-xml" && re(e, We);
434
- }, kt = function(e) {
435
- $(k.beforeSanitizeAttributes, e, null);
436
- let { attributes: t } = e;
437
- if (!t || wt(e)) return;
438
- let r = {
439
- attrName: "",
440
- attrValue: "",
441
- keepAttr: !0,
442
- allowedAttributes: j,
443
- forceKeepAttr: void 0
444
- }, i = t.length;
445
- for (; i--;) {
446
- let { name: a, namespaceURI: o, value: s } = t[i], c = Y(a), l = s, d = a === "value" ? l : ae(l);
447
- if (r.attrName = c, r.attrValue = d, r.keepAttr = !0, r.forceKeepAttr = void 0, $(k.uponSanitizeAttribute, e, r), d = r.attrValue, nt && (c === "id" || c === "name") && (Q(a, e), d = "user-content-" + d), I && g(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
448
- Q(a, e);
449
- continue;
450
- }
451
- if (c === "attributename" && re(d, "href")) {
452
- Q(a, e);
453
- continue;
454
- }
455
- if (r.forceKeepAttr) continue;
456
- if (!r.keepAttr) {
457
- Q(a, e);
458
- continue;
459
- }
460
- if (!Qe && g(/\/>/i, d)) {
461
- Q(a, e);
462
- continue;
463
- }
464
- F && u([
465
- Le,
466
- Re,
467
- ze
468
- ], (e) => {
469
- d = m(d, e, " ");
470
- });
471
- let f = Y(e.nodeName);
472
- if (!Dt(f, c, d)) {
473
- Q(a, e);
474
- continue;
475
- }
476
- if (D && typeof C == "object" && typeof C.getAttributeType == "function" && !o) switch (C.getAttributeType(f, c)) {
477
- case "TrustedHTML":
478
- d = D.createHTML(d);
479
- break;
480
- case "TrustedScriptURL": d = D.createScriptURL(d);
481
- }
482
- if (d !== l) try {
483
- o ? e.setAttributeNS(o, a, d) : e.setAttribute(a, d), wt(e) ? Z(e) : ee(n.removed);
484
- } catch {
485
- Q(a, e);
486
- }
487
- }
488
- $(k.afterSanitizeAttributes, e, null);
489
- }, At = function e(t) {
490
- let n = null, r = Ct(t);
491
- for ($(k.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) $(k.uponSanitizeShadowNode, n, null), Et(n), kt(n), n.content instanceof c && e(n.content);
492
- $(k.afterSanitizeShadowDOM, t, null);
493
- };
494
- return n.sanitize = function(e) {
495
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = null, a = null, o = null, s = null;
496
- if (lt = !e, lt && (e = "<!-->"), typeof e != "string" && !Tt(e)) {
497
- if (typeof e.toString == "function") {
498
- if (e = e.toString(), typeof e != "string") throw _("dirty is not a string, aborting");
499
- } else throw _("toString is not a function");
500
- }
501
- if (!n.isSupported) return e;
502
- if ($e || vt(t), n.removed = [], typeof e == "string" && (V = !1), V) {
503
- if (e.nodeName) {
504
- let t = Y(e.nodeName);
505
- if (!A[t] || N[t]) throw _("root node is forbidden and cannot be sanitized in-place");
506
- }
507
- } else if (e instanceof v) r = St("<!---->"), a = r.ownerDocument.importNode(e, !0), a.nodeType === T.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? r = a : r.appendChild(a);
508
- else {
509
- if (!R && !F && !L && e.indexOf("<") === -1) return D && B ? D.createHTML(e) : e;
510
- if (r = St(e), !r) return R ? null : B ? O : "";
511
- }
512
- r && et && Z(r.firstChild);
513
- let l = Ct(V ? e : r);
514
- for (; o = l.nextNode();) Et(o), kt(o), o.content instanceof c && At(o.content);
515
- if (V) return e;
516
- if (R) {
517
- if (z) for (s = Pe.call(r.ownerDocument); r.firstChild;) s.appendChild(r.firstChild);
518
- else s = r;
519
- return (j.shadowroot || j.shadowrootmode) && (s = Ie.call(i, s, !0)), s;
520
- }
521
- let d = L ? r.outerHTML : r.innerHTML;
522
- return L && A["!doctype"] && r.ownerDocument && r.ownerDocument.doctype && r.ownerDocument.doctype.name && g(we, r.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + r.ownerDocument.doctype.name + ">\n" + d), F && u([
523
- Le,
524
- Re,
525
- ze
526
- ], (e) => {
527
- d = m(d, e, " ");
528
- }), D && B ? D.createHTML(d) : d;
529
- }, n.setConfig = function() {
530
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
531
- vt(e), $e = !0;
532
- }, n.clearConfig = function() {
533
- X = null, $e = !1;
534
- }, n.isValidAttribute = function(e, t, n) {
535
- X || vt({});
536
- let r = Y(e), i = Y(t);
537
- return Dt(r, i, n);
538
- }, n.addHook = function(e, t) {
539
- typeof t == "function" && f(k[e], t);
540
- }, n.removeHook = function(e, t) {
541
- if (t !== void 0) {
542
- let n = d(k[e], t);
543
- return n === -1 ? void 0 : te(k[e], n, 1)[0];
544
- }
545
- return ee(k[e]);
546
- }, n.removeHooks = function(e) {
547
- k[e] = [];
548
- }, n.removeAllHooks = function() {
549
- k = ke();
550
- }, n;
551
- }
552
- var je = Ae();
553
- //#endregion
554
- export { je as t };