@templatical/editor 0.51.1 → 0.52.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 (361) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-Cm11CsKH.js} +7 -8
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-DE8t8Rud.js} +8 -9
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-7ftS7d40.js} +18 -20
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-CxGp6klr.js} +5 -7
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-DNI-5CUj.js} +21 -22
  7. package/dist/{BlockIssueBadge-CKwZ1Vgn.js → BlockIssueBadge-6Ri2FfX-.js} +6 -7
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-Df9iz7sK.js} +10 -11
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-CsgyNNV1.js} +3 -4
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BDV4XQ_l.js} +8 -9
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-JQ3vQoqO.js} +4 -5
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-EeqqWcX6.js} +4 -5
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-BuftXc0U.js} +3 -5
  14. package/dist/{CommentsSidebar-Ca3DyFOX.js → CommentsSidebar-Co3x4uH0.js} +16 -17
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-BT3ZTH1F.js} +5 -6
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-CrL4WKy9.js} +8 -9
  17. package/dist/{IssuesPanel-C8nMUccy.js → IssuesPanel-BHFQ3wrP.js} +12 -13
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DZA5AoP9.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CSD9cfJB.js} +23 -30
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-DQl5w44r.js} +7 -10
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BFWYuJot.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-DE7kWwXx.js} +5 -6
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DvD0ne7N.js} +7 -8
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-DVPQkiYY.js} +3 -4
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-D-nqs82g.js} +55 -58
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-DqUPsLB9.js} +7 -8
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-Xq9D0Zs3.js} +9 -10
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-DAPv70p4.js} +13 -14
  29. package/dist/{SavedBlocksBrowserModal-wnkvxpm_.js → SavedBlocksBrowserModal-SRtN5h9q.js} +17 -18
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-ChbL9v9x.js} +3 -5
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-hRaiLNdu.js} +6 -7
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-D0XcH32O.js} +14 -15
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-Cb5t0yB2.js} +16 -18
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-COJQa2A9.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-BYk_9SpQ.js} +14 -15
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-poGWbduy.js} +2 -3
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-Dku_pZni.js} +134 -142
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-9IndEYk5.js} +6 -7
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BG5qayvg.js} +12 -13
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-hPg7Q5-f.js} +3 -5
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-CSs7zum_.js} +5 -6
  42. package/dist/{WrapperBlock-BO619LAb.js → WrapperBlock-DwjK_IdJ.js} +6 -7
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-yt7SLzub.js} +3 -4
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-DjMoJCgU.js} +7 -8
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-DjMoJCgU.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BafAtBoA.js} +8 -9
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BafAtBoA.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DXeZgc7D.js} +15 -17
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DXeZgc7D.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-B4uAVRoO.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-B4uAVRoO.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-4F6vwhJ5.js} +21 -22
  60. package/dist/cdn/chunks/AiRewriteMenu-4F6vwhJ5.js.map +1 -0
  61. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js → BlockIssueBadge-DIJDqqcY.js} +6 -7
  62. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js.map → BlockIssueBadge-DIJDqqcY.js.map} +1 -1
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-Ny1X_mee.js} +9 -10
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-Ny1X_mee.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-DtMORiLS.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-DtMORiLS.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-BkmLc2Fl.js} +7 -8
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-BkmLc2Fl.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Hf8r08Sw.js} +5 -6
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Hf8r08Sw.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-II8eYtKu.js} +6 -7
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-II8eYtKu.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-CAiwilM2.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-CAiwilM2.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-Dj8sDiLN.js} +18 -19
  76. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js.map → CommentsSidebar-Dj8sDiLN.js.map} +1 -1
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-Dyr5P0IP.js} +6 -7
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-Dyr5P0IP.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-CguFJdqn.js} +9 -10
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-CguFJdqn.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-pr7_nuLI.js} +9 -10
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-pr7_nuLI.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-DfJ_C33G.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-DfJ_C33G.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-B_ldj3TO.js} +18 -25
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-B_ldj3TO.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-CGfzcHwP.js} +7 -10
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-CGfzcHwP.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-D0BdxdqP.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-D0BdxdqP.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-CFu9VXPS.js} +6 -7
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-CFu9VXPS.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BFpK5dxg.js} +7 -8
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BFpK5dxg.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-Zo0mYWbf.js} +4 -5
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-Zo0mYWbf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-DsPLVAgm.js} +35 -38
  98. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js.map → ParagraphEditor-DsPLVAgm.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-B866zFP0.js} +9 -10
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-B866zFP0.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DaY63kye.js} +9 -10
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DaY63kye.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-B7nftAAS.js} +11 -12
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-B7nftAAS.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js → SavedBlocksBrowserModal-B9XCjDfm.js} +13 -14
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-B9XCjDfm.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C3nK90pz.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C3nK90pz.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-B166Mek9.js} +7 -8
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-B166Mek9.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-jWpmuWDR.js} +13 -14
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-jWpmuWDR.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-DcwKhFnI.js} +15 -17
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-DcwKhFnI.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-BDBAvAfI.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-BDBAvAfI.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-R2lQw6WA.js} +15 -16
  118. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js.map → TitleEditor-R2lQw6WA.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-BDMugNES.js} +3 -4
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-BDMugNES.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CnvfW72e.js} +156 -164
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CnvfW72e.js.map} +1 -1
  123. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js → TplModal-BDyeS69p.js} +6 -7
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-BDyeS69p.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-CmpgUI4Q.js} +13 -14
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-CmpgUI4Q.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-DB_FZyyg.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-DB_FZyyg.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-CZ--HOoa.js} +6 -7
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-CZ--HOoa.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-D3obNGab.js} +7 -8
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-D3obNGab.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js → blockTypeIcons-DFf7AyqI.js} +3 -4
  141. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js.map → blockTypeIcons-DFf7AyqI.js.map} +1 -1
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-D6niZ2Rc.js} +27 -46
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-D6niZ2Rc.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-C2epoAwW.js} +3 -4
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-C2epoAwW.js.map} +1 -1
  156. package/dist/cdn/chunks/{dist-S-rLGqax.js → dist-CONcGNwy.js} +4 -5
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-CONcGNwy.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-B8hTTYFO.js} +19 -22
  161. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js.map → draggable-B8hTTYFO.js.map} +1 -1
  162. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js → editor-modal-cvYkpbHD.js} +66 -81
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-cvYkpbHD.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/en-CKAXAo3Z.js +1 -0
  167. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  168. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  170. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-ClDhn88e.js} +12 -17
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-ClDhn88e.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-HCBP93Ch.js} +50 -55
  188. package/dist/cdn/chunks/{icons-DNX6StSs.js.map → icons-HCBP93Ch.js.map} +1 -1
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-BF9gazbd.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-BF9gazbd.js.map} +1 -1
  195. package/dist/cdn/chunks/{liquid.browser-Bbt17cVz.js → liquid.browser-DkLBNrft.js} +705 -687
  196. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-DpHCSESZ.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-DpHCSESZ.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-D-dsBq5t.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-D-dsBq5t.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-rJoqO1TJ.js} +167 -191
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-rJoqO1TJ.js.map} +1 -1
  222. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-BKpAis_q.js} +502 -537
  223. package/dist/cdn/chunks/src-BKpAis_q.js.map +1 -0
  224. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-C9DTvn1H.js} +207 -171
  225. package/dist/cdn/chunks/src-C9DTvn1H.js.map +1 -0
  226. package/dist/cdn/chunks/src-CUH_EI7k.js +647 -0
  227. package/dist/cdn/chunks/src-CUH_EI7k.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-ChSZybTi.js} +3364 -3240
  233. package/dist/cdn/chunks/tiptap-ChSZybTi.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-RJXyVnIf.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-RJXyVnIf.js.map} +1 -1
  236. package/dist/cdn/chunks/{useEditorCore-CCVFi1YZ.js → useEditorCore-CjaEV_01.js} +534 -586
  237. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-BT3c9CXj.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-11iqzC6m.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-11iqzC6m.js.map} +1 -1
  242. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js → useLogicTag-vy5KGg5D.js} +5 -6
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-vy5KGg5D.js.map} +1 -1
  244. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js → useMergeTag-BFBBjnwh.js} +5 -6
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-BFBBjnwh.js.map} +1 -1
  246. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js → usePopoverPosition-AnVIwiVv.js} +7 -11
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-AnVIwiVv.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-C0dawxGr.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-C0dawxGr.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-C3CquBQN.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-C3CquBQN.js.map} +1 -1
  252. package/dist/cdn/editor.js +221 -242
  253. package/dist/cdn/editor.js.map +1 -1
  254. package/dist/{check-yYsp5Xpk.js → check-N3x4z_rH.js} +1 -2
  255. package/dist/{chevron-down-DTmD06_j.js → chevron-down-gXu9qNwO.js} +1 -2
  256. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-rL0ayGk5.js} +1 -2
  257. package/dist/{chevron-up-BOApwrxi.js → chevron-up-0ugh8HnW.js} +1 -2
  258. package/dist/{circle-alert-BMszY8im.js → circle-alert-B9Ls75B5.js} +1 -2
  259. package/dist/{clock-HADxnl6-.js → clock-BqHBaCLm.js} +1 -2
  260. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-B5VIdnwz.js} +11 -17
  261. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-BV7Gwz_Z.js} +6 -11
  262. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  263. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  264. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  265. package/dist/{dist-DI4_YSnG.js → dist-BA-jTQgw.js} +3 -4
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{dist-C7EtxNCb.js → dist-CEdyyDn7.js} +2 -3
  269. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  270. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  271. package/dist/{dist-DtOF3bDW.js → dist-CzrLYq2s.js} +398 -344
  272. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  273. package/dist/{dist-C_dV9QAx.js → dist-DDN7yR-w.js} +7 -7
  274. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  275. package/dist/dist-DyFArF_G.js +4 -0
  276. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  277. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  278. package/dist/dist-pA3ooG6N.js +4 -0
  279. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  280. package/dist/{editor-modal-Bzhl-PgI.js → editor-modal-Du9VI9q4.js} +203 -218
  281. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  282. package/dist/en-CyEE7FPY.js +1 -0
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  285. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  286. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  287. package/dist/{extensions-CdyweA50.js → extensions-FRYhx7qa.js} +59 -68
  288. package/dist/{eye-DWkSvYpj.js → eye-BKj9Tfnc.js} +1 -2
  289. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  290. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  291. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  292. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  293. package/dist/{image-DesWjcZ4.js → image-DNdvdTla.js} +1 -2
  294. package/dist/index.d.ts +6 -6
  295. package/dist/{info-ClWJGoZy.js → info-Bx-kBkbH.js} +1 -2
  296. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  297. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  298. package/dist/{keys-Zd9KWRD1.js → keys-DBjrQkYH.js} +2 -3
  299. package/dist/{link-BqRicFTA.js → link-D8-rYdIQ.js} +1 -2
  300. package/dist/{liquid.browser-Ct2-EezB.js → liquid.browser-D1RxawkY.js} +704 -686
  301. package/dist/{list-bojQr9bn.js → list-BneisA27.js} +1 -2
  302. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-DBEXphyx.js} +1 -2
  303. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  304. package/dist/{message-circle-BEuiNsyZ.js → message-circle-Bg4xInCM.js} +1 -2
  305. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  306. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  307. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-IH8COHzd.js} +30 -31
  308. package/dist/{package-DCROB4aM.js → package-B40Vkfsp.js} +1 -2
  309. package/dist/{pencil-CEotCKbf.js → pencil-CYdAHTds.js} +1 -2
  310. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks-AbZArwkR.js} +4 -5
  311. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  312. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  313. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  314. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  315. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-Bb1FWrU0.js} +1 -2
  316. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  317. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-CLGymEyk.js} +7 -8
  318. package/dist/sanitizeHtml-CnOA1efV.js +942 -0
  319. package/dist/{search-Cy99zPYf.js → search-BZEo08gi.js} +1 -2
  320. package/dist/{send-BDLJFsf3.js → send-DHtrnXQs.js} +1 -2
  321. package/dist/{smartphone-CVvQaNA4.js → smartphone-dlN3vpA3.js} +1 -2
  322. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-B_d52_eS.js} +256 -267
  323. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-NOttoDnJ.js} +1 -2
  324. package/dist/{square-BWlolnXe.js → square-B1CJgdt2.js} +1 -2
  325. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  326. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  327. package/dist/templatical-editor.js +245 -265
  328. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-zpoXmb-Z.js} +1 -2
  329. package/dist/{trash-CZfiUFmw.js → trash-CGbk4Sgt.js} +1 -2
  330. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-CKLMyGVp.js} +1 -2
  331. package/dist/{upload-BJfvdIrD.js → upload-DQoackAn.js} +1 -2
  332. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DcLtxOQZ.js} +3 -4
  333. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-DG9UvWUm.js} +931 -984
  334. package/dist/useEditorRoot-BKr6nNkC.js +7 -0
  335. package/dist/{useI18n-BdoY7xDE.js → useI18n-CeTm777E.js} +3 -4
  336. package/dist/{useLogicTag-DKLZ1T9H.js → useLogicTag-DFDYJeMN.js} +4 -5
  337. package/dist/{useMergeTag-Bhdx7AKk.js → useMergeTag-B46vACAG.js} +4 -5
  338. package/dist/{usePopoverPosition-BZea45XK.js → usePopoverPosition-C42kD7zt.js} +6 -10
  339. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-C-NzvjeO.js} +4 -6
  340. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CrlI8j5R.js} +14 -18
  341. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-v_a4Oso8.js} +2 -3
  342. package/dist/{x-CZ0Js0hA.js → x-zcrnmcmU.js} +1 -2
  343. package/package.json +24 -22
  344. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  345. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  346. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  347. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  348. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  349. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  350. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  351. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  352. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  353. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  354. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  355. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  356. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  357. package/dist/dist-BPFcLKTw.js +0 -5
  358. package/dist/dist-D7Yj7E-F.js +0 -5
  359. package/dist/en-DwV15ltA.js +0 -1
  360. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  361. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -0,0 +1,942 @@
1
+ import { d as e, lt as t } from "./dist-CzrLYq2s.js";
2
+ // ../../node_modules/.pnpm/dompurify@3.4.17/node_modules/dompurify/dist/purify.es.mjs
3
+ function n(e, t) {
4
+ this.v = e, this.k = t;
5
+ }
6
+ function r(e, t) {
7
+ (t == null || t > e.length) && (t = e.length);
8
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
9
+ return r;
10
+ }
11
+ function i(e) {
12
+ if (Array.isArray(e)) return e;
13
+ }
14
+ function a(e, t) {
15
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
16
+ if (n != null) {
17
+ var r, i, a, o, s = [], c = !0, l = !1;
18
+ try {
19
+ if (a = (n = n.call(e)).next, t === 0) {
20
+ if (Object(n) !== n) return;
21
+ c = !1;
22
+ } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
23
+ } catch (e) {
24
+ l = !0, i = e;
25
+ } finally {
26
+ try {
27
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
28
+ } finally {
29
+ if (l) throw i;
30
+ }
31
+ }
32
+ return s;
33
+ }
34
+ }
35
+ function o() {
36
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
37
+ }
38
+ function s(e, t) {
39
+ return i(e) || a(e, t) || c(e, t) || o();
40
+ }
41
+ function c(e, t) {
42
+ if (e) {
43
+ if (typeof e == "string") return r(e, t);
44
+ var n = {}.toString.call(e).slice(8, -1);
45
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? r(e, t) : void 0;
46
+ }
47
+ }
48
+ function l(e) {
49
+ var t, r;
50
+ function i(t, r) {
51
+ try {
52
+ var o = e[t](r), s = o.value, c = s instanceof n;
53
+ Promise.resolve(c ? s.v : s).then(function(n) {
54
+ if (c) {
55
+ var r = t === "return" && s.k ? t : "next";
56
+ if (!s.k || n.done) return i(r, n);
57
+ n = e[r](n).value;
58
+ }
59
+ a(!!o.done, n);
60
+ }, function(e) {
61
+ i("throw", e);
62
+ });
63
+ } catch (e) {
64
+ a(2, e);
65
+ }
66
+ }
67
+ function a(e, n) {
68
+ e === 2 ? t.reject(n) : t.resolve({
69
+ value: n,
70
+ done: e
71
+ }), (t = t.next) ? i(t.key, t.arg) : r = null;
72
+ }
73
+ this._invoke = function(e, n) {
74
+ return new Promise(function(a, o) {
75
+ var s = {
76
+ key: e,
77
+ arg: n,
78
+ resolve: a,
79
+ reject: o,
80
+ next: null
81
+ };
82
+ r ? r = r.next = s : (t = r = s, i(e, n));
83
+ });
84
+ }, typeof e.return != "function" && (this.return = void 0);
85
+ }
86
+ l.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
87
+ return this;
88
+ }, l.prototype.next = function(e) {
89
+ return this._invoke("next", e);
90
+ }, l.prototype.throw = function(e) {
91
+ return this._invoke("throw", e);
92
+ }, l.prototype.return = function(e) {
93
+ return this._invoke("return", e);
94
+ };
95
+ var u = Object.entries, d = Object.setPrototypeOf, f = Object.isFrozen, ee = Object.getPrototypeOf, te = Object.getOwnPropertyDescriptor, p = Object.freeze, m = Object.seal, ne = Object.create, re = typeof Reflect < "u" && Reflect, ie = re.apply, h = re.construct;
96
+ p ||= function(e) {
97
+ return e;
98
+ }, m ||= function(e) {
99
+ return e;
100
+ }, ie ||= function(e, t) {
101
+ var n = [...arguments].slice(2);
102
+ return e.apply(t, n);
103
+ }, h ||= function(e) {
104
+ return new e(...[...arguments].slice(1));
105
+ };
106
+ var g = w(Array.prototype.forEach);
107
+ Array.prototype.indexOf;
108
+ var ae = w(Array.prototype.lastIndexOf), oe = w(Array.prototype.pop), se = w(Array.prototype.push), ce = w(Array.prototype.slice), le = w(Array.prototype.splice), ue = Array.isArray, de = T(Set), fe = w(Set.prototype.add), pe = w(Set.prototype.has), _ = w(String.prototype.toLowerCase), me = w(String.prototype.toString), he = w(String.prototype.match), ge = w(String.prototype.replace), _e = w(String.prototype.indexOf), ve = w(String.prototype.trim), v = w(Number.prototype.toString), ye = w(Boolean.prototype.toString), be = typeof BigInt > "u" ? null : w(BigInt.prototype.toString), y = typeof Symbol > "u" ? null : w(Symbol.prototype.toString), b = w(Object.prototype.hasOwnProperty), x = w(Object.prototype.toString), S = w(RegExp.prototype.test), C = T(TypeError);
109
+ function w(e) {
110
+ return function(t) {
111
+ t instanceof RegExp && (t.lastIndex = 0);
112
+ var n = [...arguments].slice(1);
113
+ return ie(e, t, n);
114
+ };
115
+ }
116
+ function T(e) {
117
+ return function() {
118
+ return h(e, [...arguments]);
119
+ };
120
+ }
121
+ function E(e, t) {
122
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _;
123
+ if (d && d(e, null), !ue(t)) return e;
124
+ let r = t.length;
125
+ for (; r--;) {
126
+ let i = t[r];
127
+ if (typeof i == "string") {
128
+ let e = n(i);
129
+ e !== i && (f(t) || (t[r] = e), i = e);
130
+ }
131
+ e[i] = !0;
132
+ }
133
+ return e;
134
+ }
135
+ function D(e) {
136
+ for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
137
+ return e;
138
+ }
139
+ function O(e) {
140
+ let t = ne(null);
141
+ for (let r of u(e)) {
142
+ var n = s(r, 2);
143
+ let i = n[0], a = n[1];
144
+ b(e, i) && (t[i] = ue(a) ? D(a) : a && typeof a == "object" && a.constructor === Object ? O(a) : a);
145
+ }
146
+ return t;
147
+ }
148
+ function xe(e) {
149
+ switch (typeof e) {
150
+ case "string": return e;
151
+ case "number": return v(e);
152
+ case "boolean": return ye(e);
153
+ case "bigint": return be ? be(e) : "0";
154
+ case "symbol": return y ? y(e) : "Symbol()";
155
+ case "undefined": return x(e);
156
+ case "function":
157
+ case "object": {
158
+ if (e === null) return x(e);
159
+ let t = e, n = k(t, "toString");
160
+ if (typeof n == "function") {
161
+ let e = n(t);
162
+ return typeof e == "string" ? e : x(e);
163
+ }
164
+ return x(e);
165
+ }
166
+ default: return x(e);
167
+ }
168
+ }
169
+ function k(e, t) {
170
+ for (; e !== null;) {
171
+ let n = te(e, t);
172
+ if (n) {
173
+ if (n.get) return w(n.get);
174
+ if (typeof n.value == "function") return w(n.value);
175
+ }
176
+ e = ee(e);
177
+ }
178
+ function n() {
179
+ return null;
180
+ }
181
+ return n;
182
+ }
183
+ function Se(e, t) {
184
+ for (; e !== null;) {
185
+ let n = te(e, t);
186
+ if (n) return n.get ? w(n.get) : null;
187
+ e = ee(e);
188
+ }
189
+ return null;
190
+ }
191
+ function Ce(e) {
192
+ try {
193
+ return S(e, ""), !0;
194
+ } catch {
195
+ return !1;
196
+ }
197
+ }
198
+ var we = p(/* @__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(".")), Te = p(/* @__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(".")), Ee = p([
199
+ "feBlend",
200
+ "feColorMatrix",
201
+ "feComponentTransfer",
202
+ "feComposite",
203
+ "feConvolveMatrix",
204
+ "feDiffuseLighting",
205
+ "feDisplacementMap",
206
+ "feDistantLight",
207
+ "feDropShadow",
208
+ "feFlood",
209
+ "feFuncA",
210
+ "feFuncB",
211
+ "feFuncG",
212
+ "feFuncR",
213
+ "feGaussianBlur",
214
+ "feImage",
215
+ "feMerge",
216
+ "feMergeNode",
217
+ "feMorphology",
218
+ "feOffset",
219
+ "fePointLight",
220
+ "feSpecularLighting",
221
+ "feSpotLight",
222
+ "feTile",
223
+ "feTurbulence"
224
+ ]), De = p([
225
+ "animate",
226
+ "color-profile",
227
+ "cursor",
228
+ "discard",
229
+ "font-face",
230
+ "font-face-format",
231
+ "font-face-name",
232
+ "font-face-src",
233
+ "font-face-uri",
234
+ "foreignobject",
235
+ "hatch",
236
+ "hatchpath",
237
+ "mesh",
238
+ "meshgradient",
239
+ "meshpatch",
240
+ "meshrow",
241
+ "missing-glyph",
242
+ "script",
243
+ "set",
244
+ "solidcolor",
245
+ "unknown",
246
+ "use"
247
+ ]), Oe = p(/* @__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(".")), ke = p([
248
+ "maction",
249
+ "maligngroup",
250
+ "malignmark",
251
+ "mlongdiv",
252
+ "mscarries",
253
+ "mscarry",
254
+ "msgroup",
255
+ "mstack",
256
+ "msline",
257
+ "msrow",
258
+ "semantics",
259
+ "annotation",
260
+ "annotation-xml",
261
+ "mprescripts",
262
+ "none"
263
+ ]), Ae = p(["#text"]), je = p(/* @__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(".")), Me = p(/* @__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(".")), Ne = p(/* @__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(".")), Pe = p([
264
+ "xlink:href",
265
+ "xml:id",
266
+ "xlink:title",
267
+ "xml:space",
268
+ "xmlns:xlink"
269
+ ]), Fe = m(/{{[\w\W]*|^[\w\W]*}}/g), Ie = m(/<%[\w\W]*|^[\w\W]*%>/g), Le = m(/\${[\w\W]*/g), Re = m(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = m(/^aria-[\-\w]+$/), Be = m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ve = m(/^(?:\w+script|data):/i), He = m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ue = m(/^html$/i), We = m(/^[a-z][.\w]*(-[.\w]+)+$/i), Ge = m(/<[/\w!]/g), Ke = m(/<[/\w]/g), qe = m(/<\/no(script|embed|frames)/i), Je = m(/\/>/i), A = {
270
+ element: 1,
271
+ attribute: 2,
272
+ text: 3,
273
+ cdataSection: 4,
274
+ entityReference: 5,
275
+ entityNode: 6,
276
+ processingInstruction: 7,
277
+ comment: 8,
278
+ document: 9,
279
+ documentType: 10,
280
+ documentFragment: 11,
281
+ notation: 12
282
+ }, Ye = p(E({}, [
283
+ "style",
284
+ "script",
285
+ "xmp",
286
+ "iframe",
287
+ "noembed",
288
+ "noframes",
289
+ "plaintext",
290
+ "noscript"
291
+ ])), Xe = function() {
292
+ return typeof window > "u" ? null : window;
293
+ }, Ze = function(e, t) {
294
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
295
+ let n = null, r = "data-tt-policy-suffix";
296
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
297
+ let i = "dompurify" + (n ? "#" + n : "");
298
+ try {
299
+ return e.createPolicy(i, {
300
+ createHTML(e) {
301
+ return e;
302
+ },
303
+ createScriptURL(e) {
304
+ return e;
305
+ }
306
+ });
307
+ } catch {
308
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
309
+ }
310
+ }, Qe = function() {
311
+ return {
312
+ afterSanitizeAttributes: [],
313
+ afterSanitizeElements: [],
314
+ afterSanitizeShadowDOM: [],
315
+ beforeSanitizeAttributes: [],
316
+ beforeSanitizeElements: [],
317
+ beforeSanitizeShadowDOM: [],
318
+ uponSanitizeAttribute: [],
319
+ uponSanitizeElement: [],
320
+ uponSanitizeShadowNode: []
321
+ };
322
+ }, j = function(e, t, n, r) {
323
+ return b(e, t) && ue(e[t]) ? E(r.base ? O(r.base) : {}, e[t], r.transform) : n;
324
+ }, $e = function(e, t, n) {
325
+ let r = b(e, t) ? e[t] : void 0;
326
+ return r && typeof r == "object" ? O(r) : n();
327
+ };
328
+ function et() {
329
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Xe(), t = (e) => et(e);
330
+ if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
331
+ let n = e.document, r = n, i = r.currentScript;
332
+ e.DocumentFragment;
333
+ let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
334
+ e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
335
+ let l = e.DOMParser, d = e.trustedTypes, f = s.prototype, ee = k(f, "cloneNode"), te = k(f, "remove"), re = k(f, "removeAttributeNode"), ie = k(f, "nextSibling"), h = k(f, "childNodes"), v = k(f, "parentNode"), ye = k(f, "shadowRoot"), be = k(f, "attributes"), y = o && o.prototype ? k(o.prototype, "nodeType") : null, x = o && o.prototype ? k(o.prototype, "nodeName") : null, w = o && o.prototype ? k(o.prototype, "ownerDocument") : null, T = function(e) {
336
+ return y ? y(e) : e.nodeType;
337
+ }, D = function(e) {
338
+ return x ? x(e) : e.nodeName;
339
+ }, M = Se(f, "namespaceURI"), tt = function(e) {
340
+ return M ? M(e) : e.namespaceURI;
341
+ };
342
+ if (typeof a == "function") {
343
+ let e = n.createElement("template");
344
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
345
+ }
346
+ let N, P = "", nt, rt = !1, F = 0, it = function() {
347
+ if (F > 0) throw C("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.");
348
+ }, I = function(e) {
349
+ it(), F++;
350
+ try {
351
+ return N.createHTML(e);
352
+ } finally {
353
+ F--;
354
+ }
355
+ }, at = function(e) {
356
+ it(), F++;
357
+ try {
358
+ return N.createScriptURL(e);
359
+ } finally {
360
+ F--;
361
+ }
362
+ }, ot = function() {
363
+ return rt ||= (nt = Ze(d, i), !0), nt;
364
+ }, st = n, ct = st.implementation, lt = st.createNodeIterator, ut = st.createDocumentFragment, dt = st.getElementsByTagName, ft = r.importNode, L = Qe();
365
+ t.isSupported = typeof u == "function" && typeof v == "function" && ct && ct.createHTMLDocument !== void 0;
366
+ let pt = Fe, mt = Ie, ht = Le, gt = Re, _t = ze, vt = Ve, yt = He, bt = We, xt = Be, R = null, St = E({}, [
367
+ ...we,
368
+ ...Te,
369
+ ...Ee,
370
+ ...Oe,
371
+ ...Ae
372
+ ]), z = null, Ct = E({}, [
373
+ ...je,
374
+ ...Me,
375
+ ...Ne,
376
+ ...Pe
377
+ ]), B = Object.seal(ne(null, {
378
+ tagNameCheck: {
379
+ writable: !0,
380
+ configurable: !1,
381
+ enumerable: !0,
382
+ value: null
383
+ },
384
+ attributeNameCheck: {
385
+ writable: !0,
386
+ configurable: !1,
387
+ enumerable: !0,
388
+ value: null
389
+ },
390
+ allowCustomizedBuiltInElements: {
391
+ writable: !0,
392
+ configurable: !1,
393
+ enumerable: !0,
394
+ value: !1
395
+ }
396
+ })), wt = null, Tt = null, V = Object.seal(ne(null, {
397
+ tagCheck: {
398
+ writable: !0,
399
+ configurable: !1,
400
+ enumerable: !0,
401
+ value: null
402
+ },
403
+ attributeCheck: {
404
+ writable: !0,
405
+ configurable: !1,
406
+ enumerable: !0,
407
+ value: null
408
+ }
409
+ })), Et = !0, Dt = !0, Ot = !1, kt = !0, H = !1, U = !0, W = !1, At = !1, jt = null, Mt = null, Nt = !1, G = !1, Pt = !1, Ft = !1, It = !0, Lt = !1, Rt = "user-content-", zt = !0, Bt = !1, K = null, Vt = {}, q = null, Ht = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Ut = null, Wt = E({}, [
410
+ "audio",
411
+ "video",
412
+ "img",
413
+ "source",
414
+ "image",
415
+ "track"
416
+ ]), Gt = null, Kt = E({}, [
417
+ "alt",
418
+ "class",
419
+ "for",
420
+ "id",
421
+ "label",
422
+ "name",
423
+ "pattern",
424
+ "placeholder",
425
+ "role",
426
+ "summary",
427
+ "title",
428
+ "value",
429
+ "style",
430
+ "xmlns"
431
+ ]), qt = "http://www.w3.org/1998/Math/MathML", Jt = "http://www.w3.org/2000/svg", J = "http://www.w3.org/1999/xhtml", Yt = J, Xt = !1, Zt = null, Qt = E({}, [
432
+ qt,
433
+ Jt,
434
+ J
435
+ ], me), $t = p([
436
+ "mi",
437
+ "mo",
438
+ "mn",
439
+ "ms",
440
+ "mtext"
441
+ ]), en = E({}, $t), tn = p(["annotation-xml"]), nn = E({}, tn), rn = E({}, [
442
+ "title",
443
+ "style",
444
+ "font",
445
+ "a",
446
+ "script"
447
+ ]), an = null, on = ["application/xhtml+xml", "text/html"], Y = null, sn = null, cn = n.createElement("form"), ln = function(e) {
448
+ return e instanceof RegExp || e instanceof Function;
449
+ }, un = function() {
450
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
451
+ if (sn && sn === e) return;
452
+ e && typeof e == "object" || (e = {}), e = O(e), an = on.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = an === "application/xhtml+xml" ? me : _, R = j(e, "ALLOWED_TAGS", St, { transform: Y }), z = j(e, "ALLOWED_ATTR", Ct, { transform: Y }), Zt = j(e, "ALLOWED_NAMESPACES", Qt, { transform: me }), Gt = j(e, "ADD_URI_SAFE_ATTR", Kt, {
453
+ transform: Y,
454
+ base: Kt
455
+ }), Ut = j(e, "ADD_DATA_URI_TAGS", Wt, {
456
+ transform: Y,
457
+ base: Wt
458
+ }), q = j(e, "FORBID_CONTENTS", Ht, { transform: Y }), wt = j(e, "FORBID_TAGS", O({}), { transform: Y }), Tt = j(e, "FORBID_ATTR", O({}), { transform: Y }), Vt = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, Et = e.ALLOW_ARIA_ATTR !== !1, Dt = e.ALLOW_DATA_ATTR !== !1, Ot = e.ALLOW_UNKNOWN_PROTOCOLS || !1, kt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = e.SAFE_FOR_TEMPLATES || !1, U = e.SAFE_FOR_XML !== !1, W = e.WHOLE_DOCUMENT || !1, G = e.RETURN_DOM || !1, Pt = e.RETURN_DOM_FRAGMENT || !1, Ft = e.RETURN_TRUSTED_TYPE || !1, Nt = e.FORCE_BODY || !1, It = e.SANITIZE_DOM !== !1, Lt = e.SANITIZE_NAMED_PROPS || !1, zt = e.KEEP_CONTENT !== !1, Bt = e.IN_PLACE || !1, xt = Ce(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Be, Yt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : J, en = $e(e, "MATHML_TEXT_INTEGRATION_POINTS", () => E({}, $t)), nn = $e(e, "HTML_INTEGRATION_POINTS", () => E({}, tn));
459
+ let t = $e(e, "CUSTOM_ELEMENT_HANDLING", () => ne(null));
460
+ if (B = ne(null), b(t, "tagNameCheck") && ln(t.tagNameCheck) && (B.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && ln(t.attributeNameCheck) && (B.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), m(B), H && (Dt = !1), Pt && (G = !0), Vt && (R = E({}, Ae), z = ne(null), Vt.html === !0 && (E(R, we), E(z, je)), Vt.svg === !0 && (E(R, Te), E(z, Me), E(z, Pe)), Vt.svgFilters === !0 && (E(R, Ee), E(z, Me), E(z, Pe)), Vt.mathMl === !0 && (E(R, Oe), E(z, Ne), E(z, Pe))), V.tagCheck = null, V.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? V.tagCheck = e.ADD_TAGS : ue(e.ADD_TAGS) && (R === St && (R = O(R)), E(R, e.ADD_TAGS, Y))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? V.attributeCheck = e.ADD_ATTR : ue(e.ADD_ATTR) && (z === Ct && (z = O(z)), E(z, e.ADD_ATTR, Y))), b(e, "ADD_FORBID_CONTENTS") && ue(e.ADD_FORBID_CONTENTS) && (q === Ht && (q = O(q)), E(q, e.ADD_FORBID_CONTENTS, Y)), zt && (R["#text"] = !0), W && E(R, [
461
+ "html",
462
+ "head",
463
+ "body"
464
+ ]), R.table && (E(R, ["tbody"]), delete wt.tbody), e.TRUSTED_TYPES_POLICY) {
465
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
466
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
467
+ let t = N;
468
+ N = e.TRUSTED_TYPES_POLICY;
469
+ try {
470
+ P = I("");
471
+ } catch (e) {
472
+ throw N = t, e;
473
+ }
474
+ } else e.TRUSTED_TYPES_POLICY === null ? (N = void 0, P = "") : (N === void 0 && (N = ot()), N && typeof P == "string" && (P = I("")));
475
+ p && p(e), sn = e;
476
+ }, dn = E({}, [
477
+ ...Te,
478
+ ...Ee,
479
+ ...De
480
+ ]), fn = E({}, [...Oe, ...ke]), pn = function(e, t, n) {
481
+ return t.namespaceURI === J ? e === "svg" : t.namespaceURI === qt ? e === "svg" && (n === "annotation-xml" || en[n]) : !!dn[e];
482
+ }, mn = function(e, t, n) {
483
+ return t.namespaceURI === J ? e === "math" : t.namespaceURI === Jt ? e === "math" && nn[n] : !!fn[e];
484
+ }, hn = function(e, t, n) {
485
+ return t.namespaceURI === Jt && !nn[n] || t.namespaceURI === qt && !en[n] ? !1 : !fn[e] && (rn[e] || !dn[e]);
486
+ }, gn = function(e) {
487
+ let t = tt(e), n = _(D(e)), r = v(e), i, a;
488
+ return r && T(r) === A.element ? (i = { namespaceURI: tt(r) }, a = _(D(r))) : (i = { namespaceURI: Yt }, a = "template"), Zt[t] ? t === Jt ? pn(n, i, a) : t === qt ? mn(n, i, a) : t === J ? hn(n, i, a) : !!(an === "application/xhtml+xml" && Zt[t]) : !1;
489
+ }, X = function(e) {
490
+ se(t.removed, { element: e });
491
+ try {
492
+ v(e).removeChild(e);
493
+ } catch {
494
+ if (te(e), !v(e)) throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
495
+ }
496
+ }, _n = function(e, t, n) {
497
+ try {
498
+ re(e, t);
499
+ } catch {
500
+ try {
501
+ e.removeAttribute(n);
502
+ } catch {}
503
+ }
504
+ }, vn = function(e) {
505
+ xn(e);
506
+ let t = h(e);
507
+ t && g(ce(t), (e) => {
508
+ try {
509
+ te(e);
510
+ } catch {}
511
+ });
512
+ let n = T(e) === A.element ? be(e) : null;
513
+ if (n) for (let t = n.length - 1; t >= 0; --t) {
514
+ let r = n[t], i = r && r.name;
515
+ typeof i == "string" && _n(e, r, i);
516
+ }
517
+ }, Z = function(e, n, r) {
518
+ if (!r) try {
519
+ r = n.getAttributeNode(e);
520
+ } catch {
521
+ r = null;
522
+ }
523
+ se(t.removed, {
524
+ attribute: r || null,
525
+ from: n
526
+ });
527
+ try {
528
+ r ? re(n, r) : n.removeAttribute(e);
529
+ } catch {
530
+ try {
531
+ n.removeAttribute(e);
532
+ } catch {}
533
+ }
534
+ if (e === "is") {
535
+ if (G || Pt) try {
536
+ X(n);
537
+ } catch {}
538
+ else try {
539
+ n.setAttribute(e, "");
540
+ } catch {}
541
+ }
542
+ }, yn = function(e) {
543
+ let t = be(e);
544
+ if (t) for (let n = t.length - 1; n >= 0; --n) {
545
+ let r = t[n], i = r && r.name;
546
+ typeof i != "string" || z[Y(i)] || _n(e, r, i);
547
+ }
548
+ }, bn = function(e, t) {
549
+ let n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], r = [e];
550
+ for (; r.length > 0;) {
551
+ let e = r.pop();
552
+ if (t(e) === !1) continue;
553
+ if (n && T(e) === A.element) {
554
+ let t = ye(e);
555
+ Q(t) && r.push(t);
556
+ }
557
+ let i = h(e);
558
+ if (i) for (let e = i.length - 1; e >= 0; --e) r.push(i[e]);
559
+ }
560
+ }, xn = function(e) {
561
+ bn(e, (e) => {
562
+ T(e) === A.element && yn(e);
563
+ });
564
+ }, Sn = function(e) {
565
+ let t = [];
566
+ return bn(e, (e) => {
567
+ t.push(e);
568
+ }, !0), t;
569
+ }, Cn = function(e, t) {
570
+ let n = de();
571
+ g(Sn(e), (e) => {
572
+ T(e) === A.element && fe(n, e);
573
+ }), g(t, (e) => {
574
+ T(e) === A.element && !pe(n, e) && yn(e);
575
+ });
576
+ }, wn = function(e, n) {
577
+ let r = !1;
578
+ return g(t.removed, (t) => {
579
+ t.element && (r ||= t.element === e, xn(t.element));
580
+ }), Cn(e, n), r;
581
+ }, Tn = function(e, t) {
582
+ let n = K, r = null, i = () => (r || (r = de(), g(t, (e) => {
583
+ fe(r, e);
584
+ })), r);
585
+ for (let t = 0;; t++) {
586
+ let r = Sn(e), a = [e], o = !1;
587
+ if (g(r, (e) => {
588
+ T(e) === A.documentFragment ? se(a, e) : !o && !pe(n, e) && (o = pe(i(), e));
589
+ }), !o) return;
590
+ if (t >= 8) throw C("the tree kept changing during in-place sanitization; refusing to return it");
591
+ g(a, (t, n) => {
592
+ En(t, n > 0, e, i());
593
+ });
594
+ }
595
+ }, En = function(e, t, n, r) {
596
+ let i = jn(e), a;
597
+ for (; a = i.nextNode();) pe(r, a) && !pe(K, a) && (t && $(L.uponSanitizeShadowNode, a, null), Hn(a, n), Yn(a, n), Q(a.content) && Xn(a.content));
598
+ }, Dn = function(e) {
599
+ K && fe(K, e);
600
+ }, On = function(e, t) {
601
+ return U ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
602
+ }, kn = function(e) {
603
+ U && bn(e, (e) => {
604
+ let t = T(e);
605
+ if (t === A.processingInstruction || t === A.comment && S(Ke, e.data)) {
606
+ try {
607
+ te(e);
608
+ } catch {}
609
+ return !1;
610
+ }
611
+ if (t === A.element) {
612
+ let t = e, n = Y(D(e));
613
+ try {
614
+ t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && On("for", n) && t.removeAttribute("for");
615
+ } catch {}
616
+ }
617
+ return !0;
618
+ });
619
+ }, An = function(e) {
620
+ let t = null, r = null;
621
+ if (Nt) e = "<remove></remove>" + e;
622
+ else {
623
+ let t = he(e, /^[\r\n\t ]+/);
624
+ r = t && t[0];
625
+ }
626
+ an === "application/xhtml+xml" && Yt === J && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
627
+ let i = N ? I(e) : e;
628
+ if (Yt === J) try {
629
+ t = new l().parseFromString(i, an);
630
+ } catch {}
631
+ if (!t || !t.documentElement) {
632
+ t = ct.createDocument(Yt, "template", null);
633
+ try {
634
+ t.documentElement.innerHTML = Xt ? P : i;
635
+ } catch {}
636
+ }
637
+ let a = t.body || t.documentElement;
638
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Yt === J ? dt.call(t, W ? "html" : "body")[0] : W ? t.documentElement : a;
639
+ }, jn = function(e) {
640
+ let t = w ? w(e) : e.ownerDocument;
641
+ return lt.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
642
+ }, Mn = function(e) {
643
+ return e = ge(e, pt, " "), e = ge(e, mt, " "), e = ge(e, ht, " "), e;
644
+ }, Nn = function(e) {
645
+ Pn(e);
646
+ let t = e.querySelectorAll?.call(e, "template");
647
+ t && g(t, (e) => {
648
+ Q(e.content) && Nn(e.content);
649
+ });
650
+ }, Pn = function(e) {
651
+ e.normalize();
652
+ let t = w ? w(e) : e.ownerDocument, n = lt.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
653
+ for (; r;) r.data = Mn(r.data), r = n.nextNode();
654
+ }, Fn = function(e) {
655
+ let t = x ? x(e) : null;
656
+ return typeof t != "string" || Y(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== be(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 !== y(e) || e.childNodes !== h(e);
657
+ }, Q = function(e) {
658
+ if (!y || typeof e != "object" || !e) return !1;
659
+ try {
660
+ return y(e) === A.documentFragment;
661
+ } catch {
662
+ return !1;
663
+ }
664
+ }, In = function(e) {
665
+ if (!y || typeof e != "object" || !e) return !1;
666
+ try {
667
+ return typeof y(e) == "number";
668
+ } catch {
669
+ return !1;
670
+ }
671
+ };
672
+ function $(e, n, r) {
673
+ e.length !== 0 && g(e, (e) => {
674
+ e.call(t, n, r, sn);
675
+ });
676
+ }
677
+ let Ln = function(e, t) {
678
+ return !!(U && e.hasChildNodes() && !In(e.firstElementChild) && S(Ge, e.textContent) && S(Ge, e.innerHTML) || U && Ye[t] && T(e) === A.element && tt(e) === J && (In(e.firstElementChild) || typeof e.textContent == "string" && S(Ge, e.textContent)) || e.nodeType === A.processingInstruction || U && e.nodeType === A.comment && S(Ke, e.data));
679
+ }, Rn = function(e, t) {
680
+ return e instanceof RegExp ? S(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
681
+ }, zn = function(e, t, n) {
682
+ if (!wt[t] && Gn(t) && Rn(B.tagNameCheck, t)) return !1;
683
+ if (zt && !q[t] && !q[_(t)]) {
684
+ let t = v(e), r = h(e);
685
+ if (r && t) {
686
+ let i = r.length;
687
+ for (let a = i - 1; a >= 0; --a) {
688
+ let i = e === n ? ee(r[a], !0) : r[a];
689
+ t.insertBefore(i, ie(e));
690
+ }
691
+ }
692
+ }
693
+ return X(e), !0;
694
+ }, Bn = function(e, t, n, r) {
695
+ return e.length === 0 ? t : t === n || t === r ? O(t) : t;
696
+ }, Vn = function(e, t) {
697
+ return e === t || v(e) !== null ? !1 : (Bt && xn(e), !0);
698
+ }, Hn = function(e, n) {
699
+ if (Dn(e), $(L.beforeSanitizeElements, e, null), Vn(e, n)) return !0;
700
+ if (Fn(e)) return X(e), !0;
701
+ let r = Y(D(e));
702
+ if (R = Bn(L.uponSanitizeElement, R, St, jt), $(L.uponSanitizeElement, e, {
703
+ tagName: r,
704
+ allowedTags: R
705
+ }), Vn(e, n)) return !0;
706
+ if (Ln(e, r)) return X(e), !0;
707
+ if (wt[r] || !(V.tagCheck instanceof Function && V.tagCheck(r)) && !R[r]) {
708
+ let t = zn(e, r, n);
709
+ return t === !1 && ($(L.afterSanitizeElements, e, null), Vn(e, n)) ? !0 : t;
710
+ }
711
+ if (T(e) === A.element && !gn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && S(qe, e.innerHTML)) return X(e), !0;
712
+ if (H && e.nodeType === A.text) {
713
+ let n = Mn(e.textContent);
714
+ e.textContent !== n && (se(t.removed, { element: e.cloneNode() }), e.textContent = n);
715
+ }
716
+ return $(L.afterSanitizeElements, e, null), Vn(e, n);
717
+ }, Un = function(e, t, r) {
718
+ if (Tt[t] || On(t, e) || It && (t === "id" || t === "name") && (r in n || r in cn)) return !1;
719
+ let i = z[t] || V.attributeCheck instanceof Function && V.attributeCheck(t, e);
720
+ return Dt && S(gt, t) || Et && S(_t, t) ? !0 : i ? Gt[t] || S(xt, ge(r, yt, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && _e(r, "data:") === 0 && Ut[e] || Ot && !S(vt, ge(r, yt, "")) ? !0 : !r : Gn(e) && Rn(B.tagNameCheck, e) && Rn(B.attributeNameCheck, t, e) || t === "is" && B.allowCustomizedBuiltInElements && Rn(B.tagNameCheck, r);
721
+ }, Wn = E({}, [
722
+ "annotation-xml",
723
+ "color-profile",
724
+ "font-face",
725
+ "font-face-format",
726
+ "font-face-name",
727
+ "font-face-src",
728
+ "font-face-uri",
729
+ "missing-glyph"
730
+ ]), Gn = function(e) {
731
+ return !Wn[_(e)] && S(bt, e);
732
+ }, Kn = function(e, t, n, r) {
733
+ if (N && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
734
+ case "TrustedHTML": return I(r);
735
+ case "TrustedScriptURL": return at(r);
736
+ }
737
+ return r;
738
+ }, qn = function(e, t, n, r) {
739
+ try {
740
+ return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !Fn(e) || (X(e), !1);
741
+ } catch {
742
+ return Z(t, e), !1;
743
+ }
744
+ }, Jn = function(e, t) {
745
+ return U && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, t) ? !0 : _(e) === "attributename" && he(t, "href") !== null;
746
+ }, Yn = function(e, n) {
747
+ if ($(L.beforeSanitizeAttributes, e, null), Vn(e, n)) return;
748
+ let r = e.attributes;
749
+ if (!r || Fn(e)) return;
750
+ z = Bn(L.uponSanitizeAttribute, z, Ct, Mt);
751
+ let i = {
752
+ attrName: "",
753
+ attrValue: "",
754
+ keepAttr: !0,
755
+ allowedAttributes: z,
756
+ forceKeepAttr: void 0
757
+ }, a = r.length, o = Y(e.nodeName);
758
+ for (; a--;) {
759
+ let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = Y(s), d = l, f = s === "value" ? d : ve(d), ee = !1;
760
+ i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, $(L.uponSanitizeAttribute, e, i), f = i.attrValue, Lt && (u === "id" || u === "name") && _e(f, Rt) !== 0 && (Z(s, e, n), f = Rt + f, ee = !0), Jn(s, f) ? Z(s, e, n) : i.forceKeepAttr || (i.keepAttr ? !kt && S(Je, f) ? Z(s, e, n) : (H && (f = Mn(f)), Un(o, u, f) ? (f = Kn(o, u, c, f), f !== d && qn(e, s, c, f) && ee && oe(t.removed)) : Z(s, e, n)) : Z(s, e, n));
761
+ }
762
+ $(L.afterSanitizeAttributes, e, null), Vn(e, n);
763
+ }, Xn = function(e) {
764
+ let t = null, n = jn(e);
765
+ for ($(L.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(L.uponSanitizeShadowNode, t, null), Hn(t, e), Yn(t, e), Q(t.content) && Xn(t.content), T(t) === A.element) {
766
+ let e = ye(t);
767
+ Q(e) && (Zn(e), Xn(e));
768
+ }
769
+ H && Pn(e), $(L.afterSanitizeShadowDOM, e, null);
770
+ }, Zn = function(e) {
771
+ let t = [{
772
+ node: e,
773
+ shadow: null
774
+ }];
775
+ for (; t.length > 0;) {
776
+ let e = t.pop();
777
+ if (e.shadow) {
778
+ Xn(e.shadow);
779
+ continue;
780
+ }
781
+ let n = e.node, r = T(n) === A.element, i = h(n);
782
+ if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
783
+ node: i[e],
784
+ shadow: null
785
+ });
786
+ if (r) {
787
+ let e = x ? x(n) : null;
788
+ if (typeof e == "string" && Y(e) === "template") {
789
+ let e = n.content;
790
+ Q(e) && t.push({
791
+ node: e,
792
+ shadow: null
793
+ });
794
+ }
795
+ }
796
+ if (r) {
797
+ let e = ye(n);
798
+ Q(e) && t.push({
799
+ node: null,
800
+ shadow: e
801
+ }, {
802
+ node: e,
803
+ shadow: null
804
+ });
805
+ }
806
+ }
807
+ };
808
+ return t.sanitize = function(e) {
809
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
810
+ if (Xt = !e, Xt && (e = "<!-->"), typeof e != "string" && !In(e) && (e = xe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
811
+ if (!t.isSupported) return e;
812
+ At ? (R = jt, z = Mt) : un(n), (L.uponSanitizeElement.length > 0 || L.uponSanitizeAttribute.length > 0) && (R = O(R)), L.uponSanitizeAttribute.length > 0 && (z = O(z)), t.removed = [];
813
+ let c = Bt && typeof e != "string" && In(e), l = [], u = K;
814
+ if (c) {
815
+ kn(e);
816
+ let t = D(e);
817
+ if (typeof t == "string") {
818
+ let n = Y(t);
819
+ if (!R[n] || wt[n]) throw vn(e), C("root node is forbidden and cannot be sanitized in-place");
820
+ }
821
+ if (Fn(e)) throw vn(e), C("root node is clobbered and cannot be sanitized in-place");
822
+ l = Sn(e), K = de();
823
+ } else if (In(e)) i = An("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Zn(i);
824
+ else {
825
+ if (!G && !H && !W && e.indexOf("<") === -1) return N && Ft ? I(e) : e;
826
+ if (i = An(e), !i) return G ? null : Ft ? P : "";
827
+ }
828
+ i && Nt && X(i.firstChild);
829
+ let d = c ? e : i;
830
+ try {
831
+ c && Zn(e);
832
+ let t = jn(d);
833
+ for (; o = t.nextNode();) Hn(o, d), Yn(o, d), Q(o.content) && Xn(o.content);
834
+ c && Tn(e, l);
835
+ } catch (t) {
836
+ throw c && (vn(e), wn(e, l)), t;
837
+ } finally {
838
+ K = u;
839
+ }
840
+ if (c) {
841
+ if (wn(e, l)) throw C("a node selected for removal could not be safely returned; refusing to sanitize in place");
842
+ return H && Nn(e), e;
843
+ }
844
+ if (G) {
845
+ if (H && Nn(i), Pt) for (s = ut.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
846
+ else s = i;
847
+ return (z.shadowroot || z.shadowrootmode) && (s = ft.call(r, s, !0)), s;
848
+ }
849
+ let f = W ? i.outerHTML : i.innerHTML;
850
+ return W && R["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Ue, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), H && (f = Mn(f)), N && Ft ? I(f) : f;
851
+ }, t.setConfig = function() {
852
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
853
+ un(e), At = !0, jt = R, Mt = z;
854
+ }, t.clearConfig = function() {
855
+ sn = null, At = !1, jt = null, Mt = null, N = nt, P = "";
856
+ }, t.isValidAttribute = function(e, t, n) {
857
+ sn || un({});
858
+ let r = Y(e), i = Y(t);
859
+ return typeof n == "string" && (Jn(t, n) || !kt && S(Je, n)) ? !1 : Un(r, i, n);
860
+ }, t.addHook = function(e, t) {
861
+ typeof t == "function" && b(L, e) && se(L[e], t);
862
+ }, t.removeHook = function(e, t) {
863
+ if (b(L, e)) {
864
+ if (t !== void 0) {
865
+ let n = ae(L[e], t);
866
+ return n === -1 ? void 0 : le(L[e], n, 1)[0];
867
+ }
868
+ return oe(L[e]);
869
+ }
870
+ }, t.removeHooks = function(e) {
871
+ b(L, e) && (L[e] = []);
872
+ }, t.removeAllHooks = function() {
873
+ L = Qe();
874
+ }, t;
875
+ }
876
+ var M = et(), tt = /* @__PURE__ */ new Set([
877
+ "href",
878
+ "xlink:href",
879
+ "background",
880
+ "poster",
881
+ "src"
882
+ ]), N = [
883
+ "srcdoc",
884
+ "ping",
885
+ "formaction",
886
+ "action"
887
+ ], P = RegExp(`^(?:(?:${e.join("|")}):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))`, "i"), nt = [
888
+ "style",
889
+ "form",
890
+ "iframe",
891
+ "object",
892
+ "embed",
893
+ "link",
894
+ "meta",
895
+ "base",
896
+ "noscript",
897
+ "template",
898
+ "script"
899
+ ], rt = {
900
+ FORBID_TAGS: nt,
901
+ ADD_FORBID_CONTENTS: nt,
902
+ FORBID_ATTR: N,
903
+ ALLOWED_URI_REGEXP: P,
904
+ ADD_ATTR: ["target"]
905
+ }, F = {
906
+ USE_PROFILES: {
907
+ svg: !0,
908
+ svgFilters: !0
909
+ },
910
+ FORBID_TAGS: [
911
+ "script",
912
+ "foreignObject",
913
+ "animate",
914
+ "set",
915
+ "animateMotion",
916
+ "animateTransform"
917
+ ],
918
+ ADD_FORBID_CONTENTS: [
919
+ "script",
920
+ "foreignObject",
921
+ "animate",
922
+ "set",
923
+ "animateMotion",
924
+ "animateTransform"
925
+ ],
926
+ FORBID_ATTR: N,
927
+ ALLOWED_URI_REGEXP: P
928
+ };
929
+ M.isSupported && M.addHook("uponSanitizeAttribute", (e, n) => {
930
+ let r = n.attrName.toLowerCase();
931
+ r === "contenteditable" ? e.getAttribute(n.attrName) === "false" ? n.forceKeepAttr = !0 : n.keepAttr = !1 : (r.startsWith("on") || r === "srcdoc" || tt.has(r) && !t(n.attrValue, r)) && (n.keepAttr = !1);
932
+ });
933
+ function it(e) {
934
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
935
+ }
936
+ function I(e) {
937
+ return M.isSupported ? M.sanitize(e, rt) : it(e);
938
+ }
939
+ function at(e) {
940
+ return M.isSupported ? M.sanitize(e, F) : it(e);
941
+ }
942
+ export { at as n, I as t };