@fewangsit/wangsvue-fats 1.0.0-alpha.42 → 1.0.0-alpha.43

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 (423) hide show
  1. package/ButtonCopy-C6DSmsOR.es.js +4 -0
  2. package/ButtonCopy-CeBlNyVx.system.js +1 -0
  3. package/ButtonSync-BLyCwwnU.system.js +1 -0
  4. package/ButtonSync-DtUhn-Q-.es.js +4 -0
  5. package/ButtonToggle-B9Fa75pf.es.js +4 -0
  6. package/ButtonToggle-CSxzlLR2.system.js +1 -0
  7. package/ButtonViewLog-B1oa4oFN.es.js +4 -0
  8. package/ButtonViewLog-_J6r7Oz8.system.js +1 -0
  9. package/Card-B19WgA6Y.es.js +4 -0
  10. package/Card-umUgd-nP.system.js +1 -0
  11. package/InputEmail-BZ5Y0wSk.system.js +1 -0
  12. package/InputEmail-DR_E1DsL.es.js +4 -0
  13. package/InputURL-DL6a94kM.system.js +1 -0
  14. package/InputURL-PVF5EUUY.es.js +4 -0
  15. package/Loading-Cq7rP88c.system.js +1 -0
  16. package/Loading-DUHTVct4.es.js +4 -0
  17. package/UserWithIcon-Ddn_GlNu.system.js +1 -0
  18. package/UserWithIcon-hWXf-A2U.es.js +4 -0
  19. package/async-components/index-C8nb7p3T.es.js +70 -0
  20. package/async-components/index-DvjqHrYE.system.js +1 -0
  21. package/components/animation/Animation-CCEnvZ_Z.es.js +48 -0
  22. package/components/animation/Animation-CJb4YIwm.system.js +1 -0
  23. package/components/approverinfo/ApproverInfo-Bruotw1h.es.js +127 -0
  24. package/components/approverinfo/ApproverInfo-CoWywuLZ.system.js +1 -0
  25. package/components/assetinfo/AssetInfo-B8KAsqvC.system.js +1 -0
  26. package/components/assetinfo/AssetInfo-DNsWx4Xv.es.js +201 -0
  27. package/components/badge/Badge-DXAyz4Z8.es.js +99 -0
  28. package/components/badge/Badge-wSExdsOP.system.js +1 -0
  29. package/components/badgegroup/BadgeGroup-CAYL_5-g.system.js +1 -0
  30. package/components/badgegroup/{BadgeGroup-Bj0EjoML.es.js → BadgeGroup-Dl2cL80L.es.js} +8 -8
  31. package/components/basetree/BaseTree-CmBp0uwr.system.js +1 -0
  32. package/components/basetree/{BaseTree-DLSA5FMh.es.js → BaseTree-RsvvntBp.es.js} +4 -4
  33. package/components/{treenode/TreeNode-KJOUvlTH.es.js → basetree/TreeNode-CUL5_2Rj.es.js} +5 -5
  34. package/components/basetree/TreeNode-D-YgXird.system.js +1 -0
  35. package/components/breadcrumb/Breadcrumb-BmuuCYJx.system.js +1 -0
  36. package/components/breadcrumb/{Breadcrumb-BWSmLPqn.es.js → Breadcrumb-oqdG9WGT.es.js} +5 -5
  37. package/components/button/{Button-D-MSv_AS.es.js → Button-CgkhMnxo.es.js} +20 -16
  38. package/components/button/Button-D892iaxz.system.js +1 -0
  39. package/components/buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js +1 -0
  40. package/components/buttonbulkaction/{ButtonBulkAction-B4RcdWmb.es.js → ButtonBulkAction-Tdf3aVtp.es.js} +55 -51
  41. package/components/buttoncopy/{ButtonCopy-BZgQAFOM.es.js → ButtonCopy-CUFHlIO-.es.js} +4 -4
  42. package/components/buttoncopy/ButtonCopy-CZPTLNHh.system.js +1 -0
  43. package/components/buttoncopy/ButtonCopy.vue.d.ts +6 -4
  44. package/components/buttondownload/ButtonDownload-BWGTiJnP.es.js +61 -0
  45. package/components/buttondownload/ButtonDownload-CUR6u0AT.system.js +1 -0
  46. package/components/buttonfilter/ButtonFilter-B1F4poKd.system.js +1 -0
  47. package/components/buttonfilter/{ButtonFilter-BIE-jM2i.es.js → ButtonFilter-B49leY-q.es.js} +3 -3
  48. package/components/buttonradio/{ButtonRadio-5VUY8o5h.es.js → ButtonRadio-D6xKhPLg.es.js} +2 -2
  49. package/components/buttonradio/ButtonRadio-NBcy0Epa.system.js +1 -0
  50. package/components/buttonscan/ButtonScan-BZzpqBe8.system.js +1 -0
  51. package/components/buttonscan/ButtonScan-mVHAdACL.es.js +387 -0
  52. package/components/buttonscan/workers/scanner.worker-8_0GG6W3.system.js +1 -0
  53. package/components/buttonscan/workers/scanner.worker-D3a72Zyk.es.js +25 -0
  54. package/components/buttonsearch/ButtonSearch-3hnarf3D.system.js +1 -0
  55. package/components/buttonsearch/{ButtonSearch-Clbafqts.es.js → ButtonSearch-BjcXUDQZ.es.js} +16 -16
  56. package/components/buttonselecttree/{ButtonSelectTree-B-_Iw5sB.es.js → ButtonSelectTree-D0lT3Exu.es.js} +33 -33
  57. package/components/buttonselecttree/ButtonSelectTree-DKmPV8FD.system.js +1 -0
  58. package/components/buttonselectuser/ButtonSelectUser-B7GbLfS-.system.js +1 -0
  59. package/components/buttonselectuser/{ButtonSelectUser-Ar7Y8tVR.es.js → ButtonSelectUser-OAZRY9OR.es.js} +23 -23
  60. package/components/buttonsync/{ButtonSync-Bc1GZXT6.es.js → ButtonSync-Brk16H8C.es.js} +2 -2
  61. package/components/buttonsync/{ButtonSync-ClllEdAy.system.js → ButtonSync-D5lXmtHs.system.js} +1 -1
  62. package/components/buttontoggle/{ButtonToggle-DIy3M8Pz.es.js → ButtonToggle-1R5y5DCx.es.js} +3 -3
  63. package/components/buttontoggle/ButtonToggle-DLsiXxjK.system.js +1 -0
  64. package/components/buttonviewlog/{ButtonViewLog-h9uVv5A5.es.js → ButtonViewLog-CGsSkrzf.es.js} +1 -1
  65. package/components/buttonviewlog/{ButtonViewLog-Ct8QwEey.system.js → ButtonViewLog-leLO6F_N.system.js} +1 -1
  66. package/components/{basecalendar/BaseCalendar-47ahYXrt.es.js → calendar/BaseCalendar-5EI1UTbl.es.js} +19 -19
  67. package/components/calendar/BaseCalendar-C02-gmOQ.system.js +1 -0
  68. package/components/calendar/{Calendar-Df6CnW-l.es.js → Calendar-B2z-lfi9.es.js} +5 -5
  69. package/components/calendar/Calendar-CWw4R5mN.system.js +1 -0
  70. package/components/card/{Card-CwnxKNdM.es.js → Card-BccG14LV.es.js} +1 -1
  71. package/components/card/{Card-BUKU2FcT.system.js → Card-BjI-Xi0S.system.js} +1 -1
  72. package/components/checkbox/{Checkbox-DdsR222S.es.js → Checkbox-DBU7Ji2C.es.js} +3 -3
  73. package/components/checkbox/Checkbox-FZg_wq3C.system.js +1 -0
  74. package/components/codesnippet/{CodeSnippet-Bpps-Iyc.es.js → CodeSnippet--pMQi4aO.es.js} +7 -7
  75. package/components/codesnippet/CodeSnippet-BVwAQPSv.system.js +2 -0
  76. package/components/customcolumn/ColumnList-fdR5JfHj.es.js +159 -0
  77. package/components/customcolumn/ColumnList-yaNVEQFA.system.js +1 -0
  78. package/components/customcolumn/CustomColumn-CfvCLH4v.es.js +139 -0
  79. package/components/customcolumn/CustomColumn-D3u59-Rd.system.js +1 -0
  80. package/components/customcolumn/helpers/setVisibilityColumn.helper-B1vEZDtD.system.js +1 -0
  81. package/components/customcolumn/helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js +16 -0
  82. package/components/datatable/DataTable-BH7Fk88O.es.js +992 -0
  83. package/components/datatable/DataTable-Cko2S6sM.system.js +1 -0
  84. package/components/{multirow/MultiRow-ClSMxrEx.es.js → datatable/MultiRow-B2vMSb7W.es.js} +9 -9
  85. package/components/datatable/MultiRow-Sef5icam.system.js +1 -0
  86. package/components/datatable/store/dataTable.store-B4p-hj3w.es.js +37 -0
  87. package/components/datatable/store/dataTable.store-C9376aEJ.system.js +1 -0
  88. package/components/dialog/{Dialog-Dy93f91f.es.js → Dialog-BCcbXSya.es.js} +5 -5
  89. package/components/dialog/Dialog-Dv7Jzg4E.system.js +1 -0
  90. package/components/dialogconfirm/DialogConfirm-BU-LRZCo.system.js +1 -0
  91. package/components/dialogconfirm/{DialogConfirm-BOFb7rJD.es.js → DialogConfirm-ByIWXisz.es.js} +24 -24
  92. package/components/dialogform/DialogForm-DGl_NOEr.system.js +1 -0
  93. package/components/dialogform/{DialogForm-C15nC1wH.es.js → DialogForm-tAbix3iC.es.js} +52 -53
  94. package/components/dialogselecttree/{DialogSelectTree-BA8xEqco.es.js → DialogSelectTree-BrVtt3iG.es.js} +13 -13
  95. package/components/dialogselecttree/DialogSelectTree-CT7dKC5N.system.js +1 -0
  96. package/components/dialogselectuser/DialogSelectUser-Bu7z7lUq.es.js +121 -0
  97. package/components/dialogselectuser/DialogSelectUser-DXL_NMJj.system.js +1 -0
  98. package/components/dialogselectuser/DialogSelectUserFilter-BNbIynoa.system.js +1 -0
  99. package/components/{dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js → dialogselectuser/DialogSelectUserFilter-BgBrQCz1.es.js} +14 -10
  100. package/components/dialogselectuser/options/columns-BKDHtwAp.es.js +71 -0
  101. package/components/dialogselectuser/options/columns-DLmJdDTR.system.js +1 -0
  102. package/components/dropdown/Dropdown-BNzT2uLU.system.js +1 -0
  103. package/components/dropdown/{Dropdown-D4S52rW5.es.js → Dropdown-Dk4urj-W.es.js} +50 -44
  104. package/components/{codesnippetadapter/CodeSnippetAdapter-jgXoPKzr.es.js → editor/CodeSnippetAdapter-C0f7wytw.es.js} +4 -4
  105. package/components/editor/CodeSnippetAdapter-f-VHwbwS.system.js +1 -0
  106. package/components/editor/{Editor-DQ7Xdy30.es.js → Editor-RB5MqBs1.es.js} +292 -441
  107. package/components/editor/Editor-upU4Z9FH.system.js +1 -0
  108. package/components/{editorbutton/EditorButton-DmVrr4Bk.system.js → editor/EditorButton-CC6U1a_u.system.js} +1 -1
  109. package/components/{editorbutton/EditorButton-DDgS2vga.es.js → editor/EditorButton-Cfew79JD.es.js} +1 -1
  110. package/components/editor/MentionList-BjWKefLh.system.js +1 -0
  111. package/components/{mentionlist/MentionList--7AymnhE.es.js → editor/MentionList-CdX0_-TK.es.js} +4 -4
  112. package/components/{mentionsection/MentionSection-C_c4qbpq.es.js → editor/MentionSection-5I-FSwew.es.js} +1 -1
  113. package/components/{mentionsection/MentionSection-C1gWOzH2.system.js → editor/MentionSection-CiuaeX4J.system.js} +1 -1
  114. package/components/editor/codeSnippetExtension-C-ADHg2S.es.js +40 -0
  115. package/components/editor/codeSnippetExtension-C3uj0fCk.system.js +1 -0
  116. package/components/editor/mentionSectionExtension-DJ6wkX1L.system.js +1 -0
  117. package/components/editor/mentionSectionExtension-rbWufuMT.es.js +46 -0
  118. package/components/editor/suggestion-BcYK0KeI.system.js +1 -0
  119. package/components/editor/suggestion-mkkpQFP-.es.js +41 -0
  120. package/components/fieldwrapper/FieldWrapper-Dc-stQRH.system.js +1 -0
  121. package/components/fieldwrapper/{FieldWrapper-C6HJ2HnC.es.js → FieldWrapper-DmOogUM5.es.js} +12 -11
  122. package/components/fileupload/{FileUpload-B6PAucnD.es.js → FileUpload-0EHKlInu.es.js} +11 -11
  123. package/components/fileupload/FileUpload-dXrsIAeC.system.js +1 -0
  124. package/components/filtercontainer/FilterContainer-Cd8TpncM.es.js +234 -0
  125. package/components/filtercontainer/FilterContainer-kkw3n3tu.system.js +1 -0
  126. package/components/filtercontainer/helpers/applyFilter.helper-Ci22FrPF.system.js +1 -0
  127. package/components/filtercontainer/helpers/applyFilter.helper-DpVdjYBr.es.js +56 -0
  128. package/components/form/Form-By85t_oI.system.js +1 -0
  129. package/components/form/{Form-eSj-nb1y.es.js → Form-DhWBpdkq.es.js} +42 -42
  130. package/components/hardwaresync/{HardwareSync-DUsVwHx1.es.js → HardwareSync-BckCfIeF.es.js} +21 -19
  131. package/components/hardwaresync/HardwareSync-DcgVc0cL.system.js +1 -0
  132. package/components/hardwaresync/store/device.store-DEKXH36R.system.js +1 -0
  133. package/components/hardwaresync/store/device.store-DpVE6Nhl.es.js +20 -0
  134. package/components/icon/{Icon-mDqG7urn.es.js → Icon-C4kXVcEX.es.js} +4 -4
  135. package/components/icon/Icon-D1a666FC.system.js +1 -0
  136. package/components/image/{Image-BZ31CL-y.es.js → Image-Bf5EaBWP.es.js} +21 -20
  137. package/components/image/Image-Cxi0E9gK.system.js +1 -0
  138. package/components/imagecompressor/BackgroundImageCropper-DhrTpgNX.system.js +1 -0
  139. package/components/imagecompressor/BackgroundImageCropper-hiHqCcIy.es.js +52 -0
  140. package/components/imagecompressor/ImageCompressor-C_vnTwmo.system.js +1 -0
  141. package/components/imagecompressor/{ImageCompressor-DaW0ak9c.es.js → ImageCompressor-DPo-1Yo8.es.js} +207 -199
  142. package/components/{imageinputinfo/ImageInputInfo-oTtVBxzO.es.js → imagecompressor/ImageInputInfo-4Ac8cBDM.es.js} +2 -2
  143. package/components/imagecompressor/ImageInputInfo-U3hLlbwo.system.js +1 -0
  144. package/components/index-BMti6lK3.es.js +64 -0
  145. package/components/index-DBzSxIov.system.js +1 -0
  146. package/components/index.d.ts +162 -60
  147. package/components/inlinemessage/{InlineMessage-CBZT3jWS.es.js → InlineMessage-BPJD82sq.es.js} +12 -12
  148. package/components/inlinemessage/InlineMessage-DTyTe5_W.system.js +1 -0
  149. package/components/inputbadge/InputBadge-BUm6Kn-F.system.js +1 -0
  150. package/components/inputbadge/{InputBadge-CsdT7M7-.es.js → InputBadge-BngtjqHQ.es.js} +13 -13
  151. package/components/inputcurrency/{InputCurrency-B96npK8W.es.js → InputCurrency-CE4WrJ9k.es.js} +16 -13
  152. package/components/inputcurrency/InputCurrency-DaJuUujH.system.js +1 -0
  153. package/components/inputemail/InputEmail-8E04RVeq.system.js +1 -0
  154. package/components/inputemail/{InputEmail-BMzumenA.es.js → InputEmail-BFeY1l9Z.es.js} +1 -1
  155. package/components/inputgroup/{InputGroup-G9TEI4vX.system.js → InputGroup-CTHxHL8n.system.js} +1 -1
  156. package/components/inputgroup/{InputGroup-eNDRlJ5R.es.js → InputGroup-CUxNAtDZ.es.js} +1 -1
  157. package/components/inputnumber/InputNumber-BJ8Qm27k.system.js +1 -0
  158. package/components/inputnumber/{InputNumber-Bzk_YzWM.es.js → InputNumber-CQd01PQ5.es.js} +7 -7
  159. package/components/inputpassword/InputPassword-D3jaUFfR.system.js +1 -0
  160. package/components/inputpassword/{InputPassword-BMHMWLgU.es.js → InputPassword-DGWsHAB4.es.js} +10 -10
  161. package/components/inputphonenumber/InputPhoneNumber-3To4Ktp9.system.js +1 -0
  162. package/components/inputphonenumber/InputPhoneNumber-DVAOWAj6.es.js +162 -0
  163. package/components/inputphonenumber/helpers/getUserLocation.helper-B0lZav7S.es.js +15 -0
  164. package/components/inputphonenumber/helpers/getUserLocation.helper-CSC5I9tB.system.js +1 -0
  165. package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-CUP9NUYE.es.js +423 -0
  166. package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-DgzOgH_M.system.js +1 -0
  167. package/components/inputrangenumber/{InputRangeNumber-B1aAoKVj.es.js → InputRangeNumber-Cfea6oM_.es.js} +5 -5
  168. package/components/inputrangenumber/InputRangeNumber-iLScQOa6.system.js +1 -0
  169. package/components/inputsearch/{InputSearch-cPq3vqhy.es.js → InputSearch-CHJP-N57.es.js} +3 -3
  170. package/components/inputsearch/InputSearch-DkB4O0Dc.system.js +1 -0
  171. package/components/inputtext/{InputText-_xEnXysf.es.js → InputText-BEDxrRqK.es.js} +14 -13
  172. package/components/inputtext/InputText-BOgH8xpA.system.js +1 -0
  173. package/components/inputurl/{InputURL-aqx1PVKL.es.js → InputURL-CNrOkrAC.es.js} +1 -1
  174. package/components/inputurl/InputURL-D4QWV9G7.system.js +1 -0
  175. package/components/litedropdown/{LiteDropdown-DcSzP11l.es.js → LiteDropdown-BbDUnfnd.es.js} +11 -11
  176. package/components/litedropdown/LiteDropdown-DTXwb5JR.system.js +1 -0
  177. package/components/loading/{Loading-D8M801C9.es.js → Loading-DIfTUHr7.es.js} +6 -6
  178. package/components/loading/Loading-Vb4HctBJ.system.js +1 -0
  179. package/components/menu/{Menu-BmTMFwBD.es.js → Menu-BtzGGhbp.es.js} +14 -14
  180. package/components/menu/Menu-CPm5vua_.system.js +1 -0
  181. package/components/menuitem/MenuItem-8yxkFTug.system.js +1 -0
  182. package/components/menuitem/{MenuItem-LoZMc0T9.es.js → MenuItem-uLVAqgBS.es.js} +1 -1
  183. package/components/multiselect/{MultiSelect-DGhS1EyX.es.js → MultiSelect-BoPpQ31j.es.js} +15 -15
  184. package/components/multiselect/MultiSelect-D5NEDtGe.system.js +1 -0
  185. package/components/overlaypanel/OverlayPanel-BKCivqTs.system.js +1 -0
  186. package/components/overlaypanel/{OverlayPanel-DXNek7Yb.es.js → OverlayPanel-bQbjuUgG.es.js} +10 -10
  187. package/components/tabmenu/TabMenu-BBk8EW-C.system.js +1 -0
  188. package/components/tabmenu/{TabMenu-iMeZa8gy.es.js → TabMenu-ByKBaVsd.es.js} +13 -13
  189. package/components/tagtype/{TagType-CX7BVRrE.es.js → TagType-CAXomDiD.es.js} +4 -4
  190. package/components/tagtype/TagType-i4RK2JbL.system.js +1 -0
  191. package/components/textarea/{Textarea-ClnQ2qmf.es.js → Textarea-CnAlgPq5.es.js} +5 -5
  192. package/components/textarea/Textarea-qirKOw5z.system.js +1 -0
  193. package/components/timeline/Timeline-CF2qJo4E.es.js +120 -0
  194. package/components/timeline/Timeline-DKfKWZFI.system.js +1 -0
  195. package/components/{timelinecontentbytype/TimelineContentByType-ehFLzTA1.es.js → timeline/TimelineContentByType-_cKGDWAW.es.js} +48 -51
  196. package/components/timeline/TimelineContentByType-uxM3NSqd.system.js +1 -0
  197. package/components/toast/Toast-C3D50rGo.system.js +1 -0
  198. package/components/toast/{Toast-DnALWJkx.es.js → Toast-DRUJCz4I.es.js} +4 -4
  199. package/components/toggleswitch/{ToggleSwitch-wRjnHRIw.es.js → ToggleSwitch-De-_8nQl.es.js} +2 -2
  200. package/components/toggleswitch/ToggleSwitch-DuyahX09.system.js +1 -0
  201. package/components/transactionroles/{TransactionRoles-B_67h5wb.es.js → TransactionRoles-WrcXMwBu.es.js} +2 -2
  202. package/components/transactionroles/TransactionRoles-iVQyWseb.system.js +1 -0
  203. package/components/tree/Tree-93NvdElH.es.js +267 -0
  204. package/components/tree/Tree-BTTVTAEH.system.js +1 -0
  205. package/components/tree/helpers/filterNodeKeys.helper-CmamKUTa.system.js +1 -0
  206. package/components/tree/helpers/filterNodeKeys.helper-z7SxLuvZ.es.js +10 -0
  207. package/components/treesearchinput/TreeSearchInput-BG2TfunA.system.js +1 -0
  208. package/components/treesearchinput/{TreeSearchInput-B1PmhE7k.es.js → TreeSearchInput-CNfoc3f6.es.js} +5 -5
  209. package/components/username/UserName-A1N6Q7bS.system.js +1 -0
  210. package/components/username/{UserName-CWs83BX6.es.js → UserName-D5C0qdbu.es.js} +45 -43
  211. package/components/userwithicon/{UserWithIcon-Dn3aNKdq.es.js → UserWithIcon-CHHDfQG0.es.js} +3 -3
  212. package/components/userwithicon/UserWithIcon-DnY6loZc.system.js +1 -0
  213. package/config/config.esm-BZepf1kR.system.js +1 -0
  214. package/config/config.esm-Drl0fECZ.es.js +212 -0
  215. package/config/defaultProps-B3syHUKt.system.js +1 -0
  216. package/config/defaultProps-BC_lvAG9.es.js +136 -0
  217. package/config/locale-DK6d2rJ3.system.js +1 -0
  218. package/config/locale-pQnRpNZ6.es.js +85 -0
  219. package/event-bus/index-CykcrsqY.system.js +1 -0
  220. package/event-bus/index-PQwO5T6B.es.js +6 -0
  221. package/event-bus/mitt-BjeF6e5j.es.js +53 -0
  222. package/event-bus/mitt-X_X8W9w9.system.js +1 -0
  223. package/package.json +1 -1
  224. package/{components/animation/Animation-COWVilAA.es.js → plugins/WangsVue-Dl5OiLXF.es.js} +36 -132
  225. package/plugins/WangsVue-Dugc3GRS.system.js +1 -0
  226. package/plugins/i18n-BVujDShu.system.js +1 -0
  227. package/plugins/i18n-CIoi8go0.es.js +89 -0
  228. package/stats.html +1 -1
  229. package/style.css +1 -1
  230. package/utils/addAttachment.util-CPzZEHNG.system.js +1 -0
  231. package/utils/addAttachment.util-D9sYCBjS.es.js +10 -0
  232. package/utils/computeAutoPlacement-Ac2MkS5B.es.js +33 -0
  233. package/utils/computeAutoPlacement-DCaci6j-.system.js +1 -0
  234. package/utils/computeOffsets-Cx9i84Mn.system.js +1 -0
  235. package/utils/computeOffsets-DXWJPq7f.es.js +56 -0
  236. package/utils/date.util-DbjB32co.es.js +198 -0
  237. package/utils/date.util-rX9kq_yC.system.js +1 -0
  238. package/utils/detectOverflow-BrAC_sJF.system.js +1 -0
  239. package/utils/detectOverflow-CETbaen7.es.js +88 -0
  240. package/utils/exportToExcel.util-Bf-PpzHW.system.js +1 -0
  241. package/utils/exportToExcel.util-jz7aU08m.es.js +32 -0
  242. package/utils/genPlaceholder.util-0UuDQpbx.es.js +37 -0
  243. package/utils/genPlaceholder.util-CxMG7LbT.system.js +1 -0
  244. package/utils/mergePropsWithDefaults.util-BKcJzgvs.es.js +9 -0
  245. package/utils/mergePropsWithDefaults.util-CXowvEKY.system.js +1 -0
  246. package/utils/object.util-6veM2gu5.es.js +51 -0
  247. package/utils/object.util-uApor4uP.system.js +1 -0
  248. package/utils/orderModifiers-qXBm1wkD.system.js +1 -0
  249. package/utils/orderModifiers-rOag5Cyh.es.js +31 -0
  250. package/utils/role.util-BdUNoOqf.es.js +67 -0
  251. package/utils/role.util-Co8OMWnc.system.js +1 -0
  252. package/utils/textFormatter.util-BjenkyWf.system.js +1 -0
  253. package/utils/textFormatter.util-CYul3RpH.es.js +21 -0
  254. package/utils/toast.util-C7p3h9XQ.es.js +52 -0
  255. package/utils/toast.util-DPtauJUV.system.js +1 -0
  256. package/utils/utils.esm-iwnsFuDg.system.js +23 -0
  257. package/utils/utils.esm-s_-kLKXf.es.js +1080 -0
  258. package/utils/xlsx.util-FKEpiU2t.system.js +1 -0
  259. package/utils/xlsx.util-LU1upHR3.es.js +8 -0
  260. package/vendor/@popperjs/core-DFLwc7xU.system.js +1 -0
  261. package/vendor/@popperjs/core-DJHUrK4e.es.js +748 -0
  262. package/vendor/@tiptap/{core-bnIgGWIt.system.js → core-D4rHEGhs.system.js} +3 -3
  263. package/vendor/@tiptap/{core-BLz8iRA3.es.js → core-DSbPv8xh.es.js} +6 -6
  264. package/vendor/@tiptap/{extension-bold-BnsTNqIJ.es.js → extension-bold-CvAjR8FR.es.js} +1 -1
  265. package/vendor/@tiptap/{extension-bold-C_KVm_D0.system.js → extension-bold-DI_Zfdzb.system.js} +1 -1
  266. package/vendor/@tiptap/{extension-bubble-menu-D421L1EU.system.js → extension-bubble-menu-0_0wc2P7.system.js} +1 -1
  267. package/vendor/@tiptap/{extension-bubble-menu-D9Vgq7yO.es.js → extension-bubble-menu-DY29ulfu.es.js} +3 -3
  268. package/vendor/@tiptap/{extension-bullet-list-GNj3sKw9.es.js → extension-bullet-list-BrkIcd-z.es.js} +1 -1
  269. package/vendor/@tiptap/{extension-bullet-list-kXXFF-_p.system.js → extension-bullet-list-CgIgW9RG.system.js} +1 -1
  270. package/vendor/@tiptap/{extension-code-CfQ7g1i2.es.js → extension-code-BtAtPCQQ.es.js} +1 -1
  271. package/vendor/@tiptap/{extension-code-Q8P1EHjz.system.js → extension-code-SOANT0O3.system.js} +1 -1
  272. package/vendor/@tiptap/{extension-floating-menu-CSQuJzDM.es.js → extension-floating-menu-BTwcx1u8.es.js} +3 -3
  273. package/vendor/@tiptap/{extension-floating-menu-8rFSweor.system.js → extension-floating-menu-Dtu9tcTW.system.js} +1 -1
  274. package/vendor/@tiptap/{extension-heading-ZTlCgdtc.es.js → extension-heading-B6PMnqvS.es.js} +1 -1
  275. package/vendor/@tiptap/{extension-heading-BE64-Rg_.system.js → extension-heading-BpK6SnFO.system.js} +1 -1
  276. package/vendor/@tiptap/{extension-history-GLkLmX-Y.system.js → extension-history-CTFK6g3n.system.js} +1 -1
  277. package/vendor/@tiptap/{extension-history-eJIThEn-.es.js → extension-history-DdPDTH0G.es.js} +2 -2
  278. package/vendor/@tiptap/{extension-image-rKrdkZpJ.system.js → extension-image-BNa6azmK.system.js} +1 -1
  279. package/vendor/@tiptap/{extension-image-B8NPUVFM.es.js → extension-image-DCo2JDZp.es.js} +1 -1
  280. package/vendor/@tiptap/{extension-italic-C_CyJubw.es.js → extension-italic-D09oL4ps.es.js} +1 -1
  281. package/vendor/@tiptap/{extension-italic-Dg0Nosoc.system.js → extension-italic-w93Lmtg_.system.js} +1 -1
  282. package/vendor/@tiptap/{extension-link-D4PFdLvA.es.js → extension-link-CV6Fodq9.es.js} +3 -3
  283. package/vendor/@tiptap/{extension-link-Cd8bTMBz.system.js → extension-link-FrdAKaJ2.system.js} +1 -1
  284. package/vendor/@tiptap/{extension-list-item-Mnhfw2gP.system.js → extension-list-item-BRio_hHs.system.js} +1 -1
  285. package/vendor/@tiptap/{extension-list-item-7pIJ7t09.es.js → extension-list-item-D8wSpPxS.es.js} +1 -1
  286. package/vendor/@tiptap/{extension-mention-Dkg-tbrz.es.js → extension-mention-cFXQdAs7.es.js} +3 -3
  287. package/vendor/@tiptap/{extension-mention-DVF3rX_z.system.js → extension-mention-y62_tYRn.system.js} +1 -1
  288. package/vendor/@tiptap/{extension-ordered-list-DLI4xDN8.es.js → extension-ordered-list-BZU-Ty3o.es.js} +1 -1
  289. package/vendor/@tiptap/{extension-ordered-list-Hl0QU8Zt.system.js → extension-ordered-list-CH9LyYR1.system.js} +1 -1
  290. package/vendor/@tiptap/{extension-placeholder-V0iTxU19.es.js → extension-placeholder-CsBxoitZ.es.js} +3 -3
  291. package/vendor/@tiptap/{extension-placeholder-BeLl2T-f.system.js → extension-placeholder-Dqw7HNAJ.system.js} +1 -1
  292. package/vendor/@tiptap/{extension-underline-DsGbvz80.es.js → extension-underline-DklFOEoR.es.js} +1 -1
  293. package/vendor/@tiptap/{extension-underline-BdcAQ4JH.system.js → extension-underline-SGsaBlAL.system.js} +1 -1
  294. package/vendor/@tiptap/{suggestion-BpZSO8Lm.system.js → suggestion-B3Grok9m.system.js} +1 -1
  295. package/vendor/@tiptap/{suggestion-C4sBhJAD.es.js → suggestion-Dg-vhPtN.es.js} +5 -5
  296. package/vendor/@tiptap/{vue-3-DceiR7pK.es.js → vue-3-BOfcUn5G.es.js} +19 -19
  297. package/vendor/@tiptap/{vue-3-BH1pZykd.system.js → vue-3-ZMNXXvBd.system.js} +1 -1
  298. package/vendor/{highlight.js-BAruEf1H.system.js → highlight.js-ClnJXT0q.system.js} +1 -1
  299. package/vendor/{highlight.js-DHowhWoU.es.js → highlight.js-Czlvg6fB.es.js} +1 -1
  300. package/vendor/{lodash-DbIT-6qv.es.js → lodash-B6nNLFd3.es.js} +1 -1
  301. package/vendor/{lodash-DbvKLWSv.system.js → lodash-BuO1dYnQ.system.js} +1 -1
  302. package/vendor/{primevue-u6FsQONA.system.js → primevue-C5Z_k4WB.system.js} +29 -51
  303. package/vendor/{primevue-CadmDhWp.es.js → primevue-DkBtKf1Y.es.js} +2599 -3878
  304. package/vendor/{prosemirror-commands-DLmzIpoS.es.js → prosemirror-commands-CUjo-x4s.es.js} +1 -1
  305. package/vendor/{prosemirror-commands-DgY3QRzI.system.js → prosemirror-commands-Dn6KNBP0.system.js} +2 -2
  306. package/vendor/{prosemirror-history-BMpJFORS.es.js → prosemirror-history-BPOe4I2H.es.js} +1 -1
  307. package/vendor/{prosemirror-history-BrK-FTBv.system.js → prosemirror-history-BTrzvpc-.system.js} +1 -1
  308. package/vendor/{prosemirror-keymap-DF8LLxca.es.js → prosemirror-keymap-BvIUhswp.es.js} +1 -1
  309. package/vendor/{prosemirror-keymap-COb3Dq2o.system.js → prosemirror-keymap-WRY9zVpK.system.js} +1 -1
  310. package/vendor/{prosemirror-schema-list-BPpAP8wR.system.js → prosemirror-schema-list-Dv9KV10j.system.js} +1 -1
  311. package/vendor/{prosemirror-state-CwkYUmNs.es.js → prosemirror-state-BW6XGB3U.es.js} +6 -6
  312. package/vendor/{prosemirror-state-DzPLD-6l.system.js → prosemirror-state-COJ-aZZ4.system.js} +1 -1
  313. package/vendor/{prosemirror-transform-VaXuT0NM.system.js → prosemirror-transform-BXNgAhmF.system.js} +2 -2
  314. package/vendor/{prosemirror-view-ta7l3rKk.es.js → prosemirror-view-C9ZQp8VZ.es.js} +1 -1
  315. package/vendor/{prosemirror-view-JTdpiWMD.system.js → prosemirror-view-DOxSTbB-.system.js} +1 -1
  316. package/vendor/{simplebar-core-71xT5g0m.system.js → simplebar-core-CtWK1-xd.system.js} +1 -1
  317. package/vendor/{simplebar-core-Db65-Ath.es.js → simplebar-core-ofTx4QqK.es.js} +1 -1
  318. package/vendor/{simplebar-vue-BFEeFUIv.system.js → simplebar-vue-BHVrvuf1.system.js} +1 -1
  319. package/vendor/{simplebar-vue-DAxqu0eM.es.js → simplebar-vue-dpCx-K7E.es.js} +1 -1
  320. package/vendor/{tippy.js-CuKTz0UR.system.js → tippy.js-6wuFov1j.system.js} +1 -1
  321. package/vendor/{tippy.js-DNnwm2RY.es.js → tippy.js-i1ic-msv.es.js} +23 -23
  322. package/wangsvue-fats.js +141 -527
  323. package/wangsvue-fats.system.js +1 -1
  324. package/components/animation/Animation-6756VN9N.system.js +0 -1
  325. package/components/approverinfo/ApproverInfo-BdqBpNjY.system.js +0 -1
  326. package/components/approverinfo/ApproverInfo-C3_ibV8c.es.js +0 -321
  327. package/components/assetinfo/AssetInfo-BBgKToRP.system.js +0 -1
  328. package/components/assetinfo/AssetInfo-CmwgOU74.es.js +0 -298
  329. package/components/backgroundimagecropper/BackgroundImageCropper-DFHtaSyE.system.js +0 -1
  330. package/components/backgroundimagecropper/BackgroundImageCropper-HKzUEXq-.es.js +0 -57
  331. package/components/badge/Badge-CndPv5v9.system.js +0 -1
  332. package/components/badge/Badge-DA-XiE1C.es.js +0 -115
  333. package/components/badgegroup/BadgeGroup-Y-HhiHk8.system.js +0 -1
  334. package/components/basecalendar/BaseCalendar-Ce46jOkg.system.js +0 -1
  335. package/components/basetree/BaseTree-DDu1qI7t.system.js +0 -1
  336. package/components/breadcrumb/Breadcrumb-B5bAijry.system.js +0 -1
  337. package/components/button/Button-Okx1_kOu.system.js +0 -1
  338. package/components/buttonbulkaction/ButtonBulkAction-DLmvicRL.system.js +0 -1
  339. package/components/buttoncopy/ButtonCopy-CKi1bBpz.system.js +0 -1
  340. package/components/buttondownload/ButtonDownload-Bw9T3mbW.es.js +0 -92
  341. package/components/buttondownload/ButtonDownload-CpA0ryUT.system.js +0 -1
  342. package/components/buttonfilter/ButtonFilter-C4WRvUrj.system.js +0 -1
  343. package/components/buttonradio/ButtonRadio-B2wWrgB5.system.js +0 -1
  344. package/components/buttonscan/ButtonScan-BCScT2cx.es.js +0 -421
  345. package/components/buttonscan/ButtonScan-TbyhlW5M.system.js +0 -1
  346. package/components/buttonsearch/ButtonSearch-e57pD5r3.system.js +0 -1
  347. package/components/buttonselecttree/ButtonSelectTree-Cbq1oeVK.system.js +0 -1
  348. package/components/buttonselectuser/ButtonSelectUser-Cfe6m75Z.system.js +0 -1
  349. package/components/buttontoggle/ButtonToggle-VNp0lbcW.system.js +0 -1
  350. package/components/calendar/Calendar-7yBKZsvj.system.js +0 -1
  351. package/components/checkbox/Checkbox-CCtItmVW.system.js +0 -1
  352. package/components/codesnippet/CodeSnippet-DvTtZ28b.system.js +0 -2
  353. package/components/codesnippetadapter/CodeSnippetAdapter-BtSqWBl1.system.js +0 -1
  354. package/components/columnlist/ColumnList-Bh3LZlOa.system.js +0 -1
  355. package/components/columnlist/ColumnList-Bp7soiys.es.js +0 -204
  356. package/components/customcolumn/CustomColumn-CVhAbTGn.system.js +0 -1
  357. package/components/customcolumn/CustomColumn-Dblxjw_0.es.js +0 -138
  358. package/components/datatable/DataTable--mHUKNUr.system.js +0 -1
  359. package/components/datatable/DataTable-J1j-OKsW.es.js +0 -983
  360. package/components/dialog/Dialog-WEl66uTI.system.js +0 -1
  361. package/components/dialogconfirm/DialogConfirm-o7_v7F31.system.js +0 -1
  362. package/components/dialogform/DialogForm-CdpY1_-F.system.js +0 -1
  363. package/components/dialogselecttree/DialogSelectTree-DKxWI9Re.system.js +0 -1
  364. package/components/dialogselectuser/DialogSelectUser-BZTSktHZ.system.js +0 -1
  365. package/components/dialogselectuser/DialogSelectUser-Bu5TDAPt.es.js +0 -186
  366. package/components/dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js +0 -1
  367. package/components/dropdown/Dropdown-DuvNYyq0.system.js +0 -1
  368. package/components/editor/Editor-IfYw2Tps.system.js +0 -1
  369. package/components/fieldwrapper/FieldWrapper-DFjw9hA8.system.js +0 -1
  370. package/components/fileupload/FileUpload-iVAJXujV.system.js +0 -1
  371. package/components/filtercontainer/FilterContainer-CuMaq5Sv.es.js +0 -284
  372. package/components/filtercontainer/FilterContainer-DUeVLHgZ.system.js +0 -1
  373. package/components/form/Form-D-e0VI8V.system.js +0 -1
  374. package/components/hardwaresync/HardwareSync--HomfQuH.system.js +0 -1
  375. package/components/icon/Icon-DUylRmY4.system.js +0 -1
  376. package/components/image/Image-DX6uB7Ns.system.js +0 -1
  377. package/components/imagecompressor/ImageCompressor-BLeJDvN3.system.js +0 -1
  378. package/components/imageinputinfo/ImageInputInfo-C5F14hbF.system.js +0 -1
  379. package/components/inlinemessage/InlineMessage-19w6FOcP.system.js +0 -1
  380. package/components/inputbadge/InputBadge-dgANMV70.system.js +0 -1
  381. package/components/inputcurrency/InputCurrency-ChqGX5L8.system.js +0 -1
  382. package/components/inputemail/InputEmail-CYILS9bp.system.js +0 -1
  383. package/components/inputnumber/InputNumber-CRyg8Xw_.system.js +0 -1
  384. package/components/inputpassword/InputPassword-BjB6FsoL.system.js +0 -1
  385. package/components/inputphonenumber/InputPhoneNumber-CVM2oK5q.es.js +0 -591
  386. package/components/inputphonenumber/InputPhoneNumber-DIbd3upL.system.js +0 -1
  387. package/components/inputrangenumber/InputRangeNumber-C28xgFBY.system.js +0 -1
  388. package/components/inputsearch/InputSearch--KHwTBTm.system.js +0 -1
  389. package/components/inputtext/InputText-93zDNfC3.system.js +0 -1
  390. package/components/inputurl/InputURL-kWIiKGEG.system.js +0 -1
  391. package/components/litedropdown/LiteDropdown-3KsCx4wX.system.js +0 -1
  392. package/components/loading/Loading-Diwog8dc.system.js +0 -1
  393. package/components/mentionlist/MentionList-600dsWhX.system.js +0 -1
  394. package/components/menu/Menu-OR25pAK3.system.js +0 -1
  395. package/components/menuitem/MenuItem-imQ-hYTP.system.js +0 -1
  396. package/components/multirow/MultiRow-DKu6uIsI.system.js +0 -1
  397. package/components/multiselect/MultiSelect-DKFYq47E.system.js +0 -1
  398. package/components/overlaypanel/OverlayPanel-C_WCcNPw.system.js +0 -1
  399. package/components/tabmenu/TabMenu-CAQqu-ff.system.js +0 -1
  400. package/components/tagtype/TagType-IMYg8AJf.system.js +0 -1
  401. package/components/textarea/Textarea-DlkzVURV.system.js +0 -1
  402. package/components/timeline/Timeline-BMRdV_mH.es.js +0 -120
  403. package/components/timeline/Timeline-D7SYc3QX.system.js +0 -1
  404. package/components/timelinecontentbytype/TimelineContentByType-BmWsZID0.system.js +0 -1
  405. package/components/toast/Toast-Pc_DOZ5-.system.js +0 -1
  406. package/components/toggleswitch/ToggleSwitch-WHdD3oYL.system.js +0 -1
  407. package/components/transactionroles/TransactionRoles-DSXBVwPM.system.js +0 -1
  408. package/components/tree/Tree-BoVGYw5N.system.js +0 -1
  409. package/components/tree/Tree-DnaIZZ8S.es.js +0 -268
  410. package/components/treenode/TreeNode-D5aepDIU.system.js +0 -1
  411. package/components/treesearchinput/TreeSearchInput-C-hXPV61.system.js +0 -1
  412. package/components/username/UserName-CCyPAYG6.system.js +0 -1
  413. package/components/userwithicon/UserWithIcon-CFjQcbAS.system.js +0 -1
  414. package/vendor/@popperjs/core-BDAJHTVh.es.js +0 -905
  415. package/vendor/@popperjs/core-DpNOCyB0.system.js +0 -1
  416. /package/assets/{lottiejs → lottie}/loading-page-B9ooQcfF.system.js +0 -0
  417. /package/assets/{lottiejs → lottie}/loading-page-CQ0mKER2.es.js +0 -0
  418. /package/assets/{lottiejs → lottie}/loading-plane-CgfbWppy.system.js +0 -0
  419. /package/assets/{lottiejs → lottie}/loading-plane-CoXtqoc9.es.js +0 -0
  420. /package/assets/{lottiejs → lottie}/loading-table-B4T3FYiI.system.js +0 -0
  421. /package/assets/{lottiejs → lottie}/loading-table-BnpbX8Ew.es.js +0 -0
  422. /package/assets/{lottiejs → lottie}/no-data-CMWnya_k.system.js +0 -0
  423. /package/assets/{lottiejs → lottie}/no-data-DOy8kIGF.es.js +0 -0
@@ -1,4 +1,4 @@
1
- import { M as t, m as r } from "./core-BLz8iRA3.es.js";
1
+ import { M as t, m as r } from "./core-DSbPv8xh.es.js";
2
2
  const s = t.create({
3
3
  name: "underline",
4
4
  addOptions() {
@@ -1 +1 @@
1
- System.register(["./core-bnIgGWIt.system.js"],function(s,i){"use strict";var r,n;return{setters:[t=>{r=t.M,n=t.m}],execute:function(){const t=s("U",r.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",n(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}))}}});
1
+ System.register(["./core-D4rHEGhs.system.js"],function(s,i){"use strict";var r,n;return{setters:[t=>{r=t.M,n=t.m}],execute:function(){const t=s("U",r.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",n(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}))}}});
@@ -1 +1 @@
1
- System.register(["../prosemirror-state-DzPLD-6l.system.js","../prosemirror-view-JTdpiWMD.system.js","./core-bnIgGWIt.system.js"],function(G,V){"use strict";var N,O,b,F,T;return{setters:[d=>{N=d.a,O=d.P},d=>{b=d.a,F=d.D},d=>{T=d.o}],execute:function(){G("S",J);function d(D){var s;const{char:_,allowSpaces:B,allowToIncludeChar:E,allowedPrefixes:v,startOfLine:C,$position:u}=D,I=B&&!E,g=T(_),M=new RegExp(`\\s${g}$`),p=C?"^":"",P=E?"":g,j=I?new RegExp(`${p}${g}.*?(?=\\s${P}|$)`,"gm"):new RegExp(`${p}(?:^)?${g}[^\\s${P}]*`,"gm"),r=((s=u.nodeBefore)===null||s===void 0?void 0:s.isText)&&u.nodeBefore.text;if(!r)return null;const e=u.pos-r.length,o=Array.from(r.matchAll(j)).pop();if(!o||o.input===void 0||o.index===void 0)return null;const n=o.input.slice(Math.max(0,o.index-1),o.index),i=new RegExp(`^[${v==null?void 0:v.join("")}\0]?$`).test(n);if(v!==null&&!i)return null;const a=e+o.index;let l=a+o[0].length;return I&&M.test(r.slice(l-1,l+1))&&(o[0]+=" ",l+=1),a<u.pos&&l>=u.pos?{range:{from:a,to:l},query:o[0].slice(_.length),text:o[0]}:null}const H=new N("suggestion");function J({pluginKey:D=H,editor:s,char:_="@",allowSpaces:B=!1,allowToIncludeChar:E=!1,allowedPrefixes:v=[" "],startOfLine:C=!1,decorationTag:u="span",decorationClass:I="suggestion",command:g=()=>null,items:M=()=>[],render:p=()=>({}),allow:P=()=>!0,findSuggestionMatch:j=d}){let r;const e=p==null?void 0:p(),o=new O({key:D,view(){return{update:async(n,i)=>{var a,l,f,m,x,S,y;const t=(a=this.key)===null||a===void 0?void 0:a.getState(i),c=(l=this.key)===null||l===void 0?void 0:l.getState(n.state),$=t.active&&c.active&&t.range.from!==c.range.from,U=!t.active&&c.active,L=t.active&&!c.active,k=!U&&!L&&t.query!==c.query,w=U||$&&k,R=k||$,A=L||$&&k;if(!w&&!R&&!A)return;const h=A&&!w?t:c,z=n.dom.querySelector(`[data-decoration-id="${h.decorationId}"]`);r={editor:s,range:h.range,query:h.query,text:h.text,items:[],command:q=>g({editor:s,range:h.range,props:q}),decorationNode:z,clientRect:z?()=>{var q;const{decorationId:Q}=(q=this.key)===null||q===void 0?void 0:q.getState(s.state),K=n.dom.querySelector(`[data-decoration-id="${Q}"]`);return(K==null?void 0:K.getBoundingClientRect())||null}:null},w&&((f=e==null?void 0:e.onBeforeStart)===null||f===void 0||f.call(e,r)),R&&((m=e==null?void 0:e.onBeforeUpdate)===null||m===void 0||m.call(e,r)),(R||w)&&(r.items=await M({editor:s,query:h.query})),A&&((x=e==null?void 0:e.onExit)===null||x===void 0||x.call(e,r)),R&&((S=e==null?void 0:e.onUpdate)===null||S===void 0||S.call(e,r)),w&&((y=e==null?void 0:e.onStart)===null||y===void 0||y.call(e,r))},destroy:()=>{var n;r&&((n=e==null?void 0:e.onExit)===null||n===void 0||n.call(e,r))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(n,i,a,l){const{isEditable:f}=s,{composing:m}=s.view,{selection:x}=n,{empty:S,from:y}=x,t={...i};if(t.composing=m,f&&(S||s.view.composing)){(y<i.range.from||y>i.range.to)&&!m&&!i.composing&&(t.active=!1);const c=j({char:_,allowSpaces:B,allowToIncludeChar:E,allowedPrefixes:v,startOfLine:C,$position:x.$from}),$=`id_${Math.floor(Math.random()*4294967295)}`;c&&P({editor:s,state:l,range:c.range,isActive:i.active})?(t.active=!0,t.decorationId=i.decorationId?i.decorationId:$,t.range=c.range,t.query=c.query,t.text=c.text):t.active=!1}else t.active=!1;return t.active||(t.decorationId=null,t.range={from:0,to:0},t.query=null,t.text=null),t}},props:{handleKeyDown(n,i){var a;const{active:l,range:f}=o.getState(n.state);return l&&((a=e==null?void 0:e.onKeyDown)===null||a===void 0?void 0:a.call(e,{view:n,event:i,range:f}))||!1},decorations(n){const{active:i,range:a,decorationId:l}=o.getState(n);return i?b.create(n.doc,[F.inline(a.from,a.to,{nodeName:u,class:I,"data-decoration-id":l})]):null}}});return o}}}});
1
+ System.register(["../prosemirror-state-COJ-aZZ4.system.js","../prosemirror-view-DOxSTbB-.system.js","./core-D4rHEGhs.system.js"],function(G,V){"use strict";var N,b,F,O,T;return{setters:[d=>{N=d.P,b=d.a},d=>{F=d.a,O=d.D},d=>{T=d.o}],execute:function(){G("S",J);function d(D){var s;const{char:_,allowSpaces:B,allowToIncludeChar:I,allowedPrefixes:v,startOfLine:C,$position:u}=D,E=B&&!I,g=T(_),M=new RegExp(`\\s${g}$`),p=C?"^":"",P=I?"":g,j=E?new RegExp(`${p}${g}.*?(?=\\s${P}|$)`,"gm"):new RegExp(`${p}(?:^)?${g}[^\\s${P}]*`,"gm"),r=((s=u.nodeBefore)===null||s===void 0?void 0:s.isText)&&u.nodeBefore.text;if(!r)return null;const e=u.pos-r.length,o=Array.from(r.matchAll(j)).pop();if(!o||o.input===void 0||o.index===void 0)return null;const n=o.input.slice(Math.max(0,o.index-1),o.index),i=new RegExp(`^[${v==null?void 0:v.join("")}\0]?$`).test(n);if(v!==null&&!i)return null;const a=e+o.index;let l=a+o[0].length;return E&&M.test(r.slice(l-1,l+1))&&(o[0]+=" ",l+=1),a<u.pos&&l>=u.pos?{range:{from:a,to:l},query:o[0].slice(_.length),text:o[0]}:null}const H=new b("suggestion");function J({pluginKey:D=H,editor:s,char:_="@",allowSpaces:B=!1,allowToIncludeChar:I=!1,allowedPrefixes:v=[" "],startOfLine:C=!1,decorationTag:u="span",decorationClass:E="suggestion",command:g=()=>null,items:M=()=>[],render:p=()=>({}),allow:P=()=>!0,findSuggestionMatch:j=d}){let r;const e=p==null?void 0:p(),o=new N({key:D,view(){return{update:async(n,i)=>{var a,l,f,m,x,S,y;const t=(a=this.key)===null||a===void 0?void 0:a.getState(i),c=(l=this.key)===null||l===void 0?void 0:l.getState(n.state),w=t.active&&c.active&&t.range.from!==c.range.from,U=!t.active&&c.active,L=t.active&&!c.active,k=!U&&!L&&t.query!==c.query,$=U||w&&k,R=k||w,A=L||w&&k;if(!$&&!R&&!A)return;const h=A&&!$?t:c,z=n.dom.querySelector(`[data-decoration-id="${h.decorationId}"]`);r={editor:s,range:h.range,query:h.query,text:h.text,items:[],command:q=>g({editor:s,range:h.range,props:q}),decorationNode:z,clientRect:z?()=>{var q;const{decorationId:Q}=(q=this.key)===null||q===void 0?void 0:q.getState(s.state),K=n.dom.querySelector(`[data-decoration-id="${Q}"]`);return(K==null?void 0:K.getBoundingClientRect())||null}:null},$&&((f=e==null?void 0:e.onBeforeStart)===null||f===void 0||f.call(e,r)),R&&((m=e==null?void 0:e.onBeforeUpdate)===null||m===void 0||m.call(e,r)),(R||$)&&(r.items=await M({editor:s,query:h.query})),A&&((x=e==null?void 0:e.onExit)===null||x===void 0||x.call(e,r)),R&&((S=e==null?void 0:e.onUpdate)===null||S===void 0||S.call(e,r)),$&&((y=e==null?void 0:e.onStart)===null||y===void 0||y.call(e,r))},destroy:()=>{var n;r&&((n=e==null?void 0:e.onExit)===null||n===void 0||n.call(e,r))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(n,i,a,l){const{isEditable:f}=s,{composing:m}=s.view,{selection:x}=n,{empty:S,from:y}=x,t={...i};if(t.composing=m,f&&(S||s.view.composing)){(y<i.range.from||y>i.range.to)&&!m&&!i.composing&&(t.active=!1);const c=j({char:_,allowSpaces:B,allowToIncludeChar:I,allowedPrefixes:v,startOfLine:C,$position:x.$from}),w=`id_${Math.floor(Math.random()*4294967295)}`;c&&P({editor:s,state:l,range:c.range,isActive:i.active})?(t.active=!0,t.decorationId=i.decorationId?i.decorationId:w,t.range=c.range,t.query=c.query,t.text=c.text):t.active=!1}else t.active=!1;return t.active||(t.decorationId=null,t.range={from:0,to:0},t.query=null,t.text=null),t}},props:{handleKeyDown(n,i){var a;const{active:l,range:f}=o.getState(n.state);return l&&((a=e==null?void 0:e.onKeyDown)===null||a===void 0?void 0:a.call(e,{view:n,event:i,range:f}))||!1},decorations(n){const{active:i,range:a,decorationId:l}=o.getState(n);return i?F.create(n.doc,[O.inline(a.from,a.to,{nodeName:u,class:E,"data-decoration-id":l})]):null}}});return o}}}});
@@ -1,6 +1,6 @@
1
- import { a as T, P as U } from "../prosemirror-state-CwkYUmNs.es.js";
2
- import { a as j, D as L } from "../prosemirror-view-ta7l3rKk.es.js";
3
- import { o as z } from "./core-BLz8iRA3.es.js";
1
+ import { P as T, a as U } from "../prosemirror-state-BW6XGB3U.es.js";
2
+ import { a as j, D as L } from "../prosemirror-view-C9ZQp8VZ.es.js";
3
+ import { o as z } from "./core-DSbPv8xh.es.js";
4
4
  function G(R) {
5
5
  var s;
6
6
  const { char: q, allowSpaces: D, allowToIncludeChar: _, allowedPrefixes: f, startOfLine: B, $position: d } = R, E = D && !_, g = z(q), C = new RegExp(`\\s${g}$`), v = B ? "^" : "", I = _ ? "" : g, M = E ? new RegExp(`${v}${g}.*?(?=\\s${I}|$)`, "gm") : new RegExp(`${v}(?:^)?${g}[^\\s${I}]*`, "gm"), r = ((s = d.nodeBefore) === null || s === void 0 ? void 0 : s.isText) && d.nodeBefore.text;
@@ -23,10 +23,10 @@ function G(R) {
23
23
  text: o[0]
24
24
  } : null;
25
25
  }
26
- const H = new T("suggestion");
26
+ const H = new U("suggestion");
27
27
  function W({ pluginKey: R = H, editor: s, char: q = "@", allowSpaces: D = !1, allowToIncludeChar: _ = !1, allowedPrefixes: f = [" "], startOfLine: B = !1, decorationTag: d = "span", decorationClass: E = "suggestion", command: g = () => null, items: C = () => [], render: v = () => ({}), allow: I = () => !0, findSuggestionMatch: M = G }) {
28
28
  let r;
29
- const e = v == null ? void 0 : v(), o = new U({
29
+ const e = v == null ? void 0 : v(), o = new T({
30
30
  key: R,
31
31
  view() {
32
32
  return {
@@ -1,7 +1,7 @@
1
- import { B as g } from "./extension-bubble-menu-D9Vgq7yO.es.js";
2
- import { ref as u, defineComponent as d, provide as h, markRaw as f, reactive as y, h as a, render as v, shallowRef as C, onMounted as c, onBeforeUnmount as l, getCurrentInstance as b, watchEffect as w, nextTick as S, unref as _, customRef as x } from "vue";
3
- import { q as N, r as O } from "./core-BLz8iRA3.es.js";
4
- import { a as P } from "./extension-floating-menu-CSQuJzDM.es.js";
1
+ import { B as g } from "./extension-bubble-menu-DY29ulfu.es.js";
2
+ import { defineComponent as d, shallowRef as y, onMounted as c, onBeforeUnmount as u, h as a, ref as l, getCurrentInstance as C, watchEffect as b, nextTick as w, unref as S, markRaw as f, provide as h, reactive as _, render as v, customRef as x } from "vue";
3
+ import { q as N, r as O } from "./core-DSbPv8xh.es.js";
4
+ import { a as P } from "./extension-floating-menu-BTwcx1u8.es.js";
5
5
  d({
6
6
  name: "BubbleMenu",
7
7
  props: {
@@ -27,7 +27,7 @@ d({
27
27
  }
28
28
  },
29
29
  setup(r, { slots: t }) {
30
- const n = u(null);
30
+ const n = l(null);
31
31
  return c(() => {
32
32
  const { updateDelay: e, editor: o, pluginKey: i, shouldShow: s, tippyOptions: p } = r;
33
33
  o.registerPlugin(g({
@@ -38,7 +38,7 @@ d({
38
38
  shouldShow: s,
39
39
  tippyOptions: p
40
40
  }));
41
- }), l(() => {
41
+ }), u(() => {
42
42
  const { pluginKey: e, editor: o } = r;
43
43
  o.unregisterPlugin(e);
44
44
  }), () => {
@@ -61,7 +61,7 @@ function m(r) {
61
61
  }
62
62
  }));
63
63
  }
64
- class D extends O {
64
+ class D extends N {
65
65
  constructor(t = {}) {
66
66
  return super(t), this.contentComponent = null, this.appContext = null, this.reactiveState = m(this.view.state), this.reactiveExtensionStorage = m(this.extensionStorage), this.on("beforeTransaction", ({ nextState: n }) => {
67
67
  this.reactiveState.value = n, this.reactiveExtensionStorage.value = this.extensionStorage;
@@ -97,13 +97,13 @@ const A = d({
97
97
  }
98
98
  },
99
99
  setup(r) {
100
- const t = u(), n = b();
101
- return w(() => {
100
+ const t = l(), n = C();
101
+ return b(() => {
102
102
  const e = r.editor;
103
- e && e.options.element && t.value && S(() => {
103
+ e && e.options.element && t.value && w(() => {
104
104
  if (!t.value || !e.options.element.firstChild)
105
105
  return;
106
- const o = _(t.value);
106
+ const o = S(t.value);
107
107
  t.value.append(...e.options.element.childNodes), e.contentComponent = n.ctx._, n && (e.appContext = {
108
108
  ...n.appContext,
109
109
  // Vue internally uses prototype chain to forward/shadow injects across the entire component chain
@@ -114,7 +114,7 @@ const A = d({
114
114
  element: o
115
115
  }), e.createNodeViews();
116
116
  });
117
- }), l(() => {
117
+ }), u(() => {
118
118
  const e = r.editor;
119
119
  e && (e.contentComponent = null, e.appContext = null);
120
120
  }), { rootEl: t };
@@ -149,7 +149,7 @@ const A = d({
149
149
  }
150
150
  },
151
151
  setup(r, { slots: t }) {
152
- const n = u(null);
152
+ const n = l(null);
153
153
  return c(() => {
154
154
  const { pluginKey: e, editor: o, tippyOptions: i, shouldShow: s } = r;
155
155
  o.registerPlugin(P({
@@ -159,7 +159,7 @@ const A = d({
159
159
  tippyOptions: i,
160
160
  shouldShow: s
161
161
  }));
162
- }), l(() => {
162
+ }), u(() => {
163
163
  const { pluginKey: e, editor: o } = r;
164
164
  o.unregisterPlugin(e);
165
165
  }), () => {
@@ -208,10 +208,10 @@ const K = d({
208
208
  }, (t = (r = this.$slots).default) === null || t === void 0 ? void 0 : t.call(r));
209
209
  }
210
210
  }), L = (r = {}) => {
211
- const t = C();
211
+ const t = y();
212
212
  return c(() => {
213
213
  t.value = new D(r);
214
- }), l(() => {
214
+ }), u(() => {
215
215
  var n, e, o;
216
216
  const i = (n = t.value) === null || n === void 0 ? void 0 : n.options.element, s = i == null ? void 0 : i.cloneNode(!0);
217
217
  (e = i == null ? void 0 : i.parentNode) === null || e === void 0 || e.replaceChild(s, i), (o = t.value) === null || o === void 0 || o.destroy();
@@ -219,7 +219,7 @@ const K = d({
219
219
  };
220
220
  class E {
221
221
  constructor(t, { props: n = {}, editor: e }) {
222
- this.editor = e, this.component = f(t), this.el = document.createElement("div"), this.props = y(n), this.renderedComponent = this.renderComponent();
222
+ this.editor = e, this.component = f(t), this.el = document.createElement("div"), this.props = _(n), this.renderedComponent = this.renderComponent();
223
223
  }
224
224
  get element() {
225
225
  return this.renderedComponent.el;
@@ -289,7 +289,7 @@ const R = {
289
289
  required: !0
290
290
  }
291
291
  };
292
- class j extends N {
292
+ class j extends O {
293
293
  mount() {
294
294
  const t = {
295
295
  editor: this.editor,
@@ -304,7 +304,7 @@ class j extends N {
304
304
  updateAttributes: (o = {}) => this.updateAttributes(o),
305
305
  deleteNode: () => this.deleteNode()
306
306
  }, n = this.onDragStart.bind(this);
307
- this.decorationClasses = u(this.getDecorationClasses());
307
+ this.decorationClasses = l(this.getDecorationClasses());
308
308
  const e = d({
309
309
  extends: { ...this.component },
310
310
  props: Object.keys(t),
@@ -1 +1 @@
1
- System.register(["./extension-bubble-menu-D421L1EU.system.js","vue","./core-bnIgGWIt.system.js","./extension-floating-menu-8rFSweor.system.js"],function(a,V){"use strict";var y,c,u,v,f,b,l,m,C,h,p,w,S,_,x,N,O,P,j;return{setters:[o=>{y=o.B},o=>{c=o.ref,u=o.defineComponent,v=o.provide,f=o.markRaw,b=o.reactive,l=o.h,m=o.render,C=o.shallowRef,h=o.onMounted,p=o.onBeforeUnmount,w=o.getCurrentInstance,S=o.watchEffect,_=o.nextTick,x=o.unref,N=o.customRef},o=>{O=o.q,P=o.r},o=>{j=o.a}],execute:function(){a("V",M),u({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:t}){const n=c(null);return h(()=>{const{updateDelay:e,editor:i,pluginKey:s,shouldShow:d,tippyOptions:g}=r;i.registerPlugin(y({updateDelay:e,editor:i,element:n.value,pluginKey:s,shouldShow:d,tippyOptions:g}))}),p(()=>{const{pluginKey:e,editor:i}=r;i.unregisterPlugin(e)}),()=>{var e;return l("div",{ref:n},(e=t.default)===null||e===void 0?void 0:e.call(t))}}});function o(r){return N((t,n)=>({get(){return t(),r},set(e){r=e,requestAnimationFrame(()=>{requestAnimationFrame(()=>{n()})})}}))}class D extends P{constructor(t={}){return super(t),this.contentComponent=null,this.appContext=null,this.reactiveState=o(this.view.state),this.reactiveExtensionStorage=o(this.extensionStorage),this.on("beforeTransaction",({nextState:n})=>{this.reactiveState.value=n,this.reactiveExtensionStorage.value=this.extensionStorage}),f(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(t,n){const e=super.registerPlugin(t,n);return this.reactiveState&&(this.reactiveState.value=e),e}unregisterPlugin(t){const n=super.unregisterPlugin(t);return this.reactiveState&&n&&(this.reactiveState.value=n),n}}const F=a("E",u({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const t=c(),n=w();return S(()=>{const e=r.editor;e&&e.options.element&&t.value&&_(()=>{if(!t.value||!e.options.element.firstChild)return;const i=x(t.value);t.value.append(...e.options.element.childNodes),e.contentComponent=n.ctx._,n&&(e.appContext={...n.appContext,provides:n.provides}),e.setOptions({element:i}),e.createNodeViews()})}),p(()=>{const e=r.editor;e&&(e.contentComponent=null,e.appContext=null)}),{rootEl:t}},render(){return l("div",{ref:r=>{this.rootEl=r}})}})),A=a("F",u({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:t}){const n=c(null);return h(()=>{const{pluginKey:e,editor:i,tippyOptions:s,shouldShow:d}=r;i.registerPlugin(j({pluginKey:e,editor:i,element:n.value,tippyOptions:s,shouldShow:d}))}),p(()=>{const{pluginKey:e,editor:i}=r;i.unregisterPlugin(e)}),()=>{var e;return l("div",{ref:n},(e=t.default)===null||e===void 0?void 0:e.call(t))}}}));u({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return l(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}});const R=a("N",u({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var r,t;return l(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(t=(r=this.$slots).default)===null||t===void 0?void 0:t.call(r))}})),U=a("u",(r={})=>{const t=C();return h(()=>{t.value=new D(r)}),p(()=>{var n,e,i;const s=(n=t.value)===null||n===void 0?void 0:n.options.element,d=s==null?void 0:s.cloneNode(!0);(e=s==null?void 0:s.parentNode)===null||e===void 0||e.replaceChild(d,s),(i=t.value)===null||i===void 0||i.destroy()}),t});class E{constructor(t,{props:n={},editor:e}){this.editor=e,this.component=f(t),this.el=document.createElement("div"),this.props=b(n),this.renderedComponent=this.renderComponent()}get element(){return this.renderedComponent.el}get ref(){var t,n,e,i;return!((n=(t=this.renderedComponent.vNode)===null||t===void 0?void 0:t.component)===null||n===void 0)&&n.exposed?this.renderedComponent.vNode.component.exposed:(i=(e=this.renderedComponent.vNode)===null||e===void 0?void 0:e.component)===null||i===void 0?void 0:i.proxy}renderComponent(){let t=l(this.component,this.props);return this.editor.appContext&&(t.appContext=this.editor.appContext),typeof document<"u"&&this.el&&m(t,this.el),{vNode:t,destroy:()=>{this.el&&m(null,this.el),this.el=null,t=null},el:this.el?this.el.firstElementChild:null}}updateProps(t={}){Object.entries(t).forEach(([n,e])=>{this.props[n]=e}),this.renderComponent()}destroy(){this.renderedComponent.destroy()}}a("a",E);const B=a("n",{editor:{type:Object,required:!0},node:{type:Object,required:!0},decorations:{type:Object,required:!0},selected:{type:Boolean,required:!0},extension:{type:Object,required:!0},getPos:{type:Function,required:!0},updateAttributes:{type:Function,required:!0},deleteNode:{type:Function,required:!0},view:{type:Object,required:!0},innerDecorations:{type:Object,required:!0},HTMLAttributes:{type:Object,required:!0}});class q extends O{mount(){const t={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extension,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(i={})=>this.updateAttributes(i),deleteNode:()=>this.deleteNode()},n=this.onDragStart.bind(this);this.decorationClasses=c(this.getDecorationClasses());const e=u({extends:{...this.component},props:Object.keys(t),template:this.component.template,setup:i=>{var s,d;return v("onDragStart",n),v("decorationClasses",this.decorationClasses),(d=(s=this.component).setup)===null||d===void 0?void 0:d.call(s,i,{expose:()=>{}})},__scopeId:this.component.__scopeId,__cssModules:this.component.__cssModules,__name:this.component.__name,__file:this.component.__file});this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new E(e,{editor:this.editor,props:t})}get dom(){if(!this.renderer.element||!this.renderer.element.hasAttribute("data-node-view-wrapper"))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.dom.querySelector("[data-node-view-content]")}handleSelectionUpdate(){const{from:t,to:n}=this.editor.state.selection,e=this.getPos();if(typeof e=="number")if(t<=e&&n>=e+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(t,n,e){const i=s=>{this.decorationClasses.value=this.getDecorationClasses(),this.renderer.updateProps(s)};if(typeof this.options.update=="function"){const s=this.node,d=this.decorations,g=this.innerDecorations;return this.node=t,this.decorations=n,this.innerDecorations=e,this.options.update({oldNode:s,oldDecorations:d,newNode:t,newDecorations:n,oldInnerDecorations:g,innerDecorations:e,updateProps:()=>i({node:t,decorations:n,innerDecorations:e})})}return t.type!==this.node.type?!1:(t===this.node&&this.decorations===n&&this.innerDecorations===e||(this.node=t,this.decorations=n,this.innerDecorations=e,i({node:t,decorations:n,innerDecorations:e})),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element&&this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element&&this.renderer.element.classList.remove("ProseMirror-selectednode")}getDecorationClasses(){return this.decorations.map(t=>t.type.attrs.class).flat().join(" ")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate)}}function M(r,t){return n=>{if(!n.editor.contentComponent)return{};const e=typeof r=="function"&&"__vccOpts"in r?r.__vccOpts:r;return new q(e,n,t)}}}}});
1
+ System.register(["./extension-bubble-menu-0_0wc2P7.system.js","vue","./core-D4rHEGhs.system.js","./extension-floating-menu-Dtu9tcTW.system.js"],function(a,V){"use strict";var y,u,C,h,c,l,p,b,w,S,_,v,f,x,m,N,O,P,j;return{setters:[o=>{y=o.B},o=>{u=o.defineComponent,C=o.shallowRef,h=o.onMounted,c=o.onBeforeUnmount,l=o.h,p=o.ref,b=o.getCurrentInstance,w=o.watchEffect,S=o.nextTick,_=o.unref,v=o.markRaw,f=o.provide,x=o.reactive,m=o.render,N=o.customRef},o=>{O=o.q,P=o.r},o=>{j=o.a}],execute:function(){a("V",M),u({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:t}){const n=p(null);return h(()=>{const{updateDelay:e,editor:i,pluginKey:s,shouldShow:d,tippyOptions:g}=r;i.registerPlugin(y({updateDelay:e,editor:i,element:n.value,pluginKey:s,shouldShow:d,tippyOptions:g}))}),c(()=>{const{pluginKey:e,editor:i}=r;i.unregisterPlugin(e)}),()=>{var e;return l("div",{ref:n},(e=t.default)===null||e===void 0?void 0:e.call(t))}}});function o(r){return N((t,n)=>({get(){return t(),r},set(e){r=e,requestAnimationFrame(()=>{requestAnimationFrame(()=>{n()})})}}))}class D extends O{constructor(t={}){return super(t),this.contentComponent=null,this.appContext=null,this.reactiveState=o(this.view.state),this.reactiveExtensionStorage=o(this.extensionStorage),this.on("beforeTransaction",({nextState:n})=>{this.reactiveState.value=n,this.reactiveExtensionStorage.value=this.extensionStorage}),v(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(t,n){const e=super.registerPlugin(t,n);return this.reactiveState&&(this.reactiveState.value=e),e}unregisterPlugin(t){const n=super.unregisterPlugin(t);return this.reactiveState&&n&&(this.reactiveState.value=n),n}}const F=a("E",u({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(r){const t=p(),n=b();return w(()=>{const e=r.editor;e&&e.options.element&&t.value&&S(()=>{if(!t.value||!e.options.element.firstChild)return;const i=_(t.value);t.value.append(...e.options.element.childNodes),e.contentComponent=n.ctx._,n&&(e.appContext={...n.appContext,provides:n.provides}),e.setOptions({element:i}),e.createNodeViews()})}),c(()=>{const e=r.editor;e&&(e.contentComponent=null,e.appContext=null)}),{rootEl:t}},render(){return l("div",{ref:r=>{this.rootEl=r}})}})),A=a("F",u({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(r,{slots:t}){const n=p(null);return h(()=>{const{pluginKey:e,editor:i,tippyOptions:s,shouldShow:d}=r;i.registerPlugin(j({pluginKey:e,editor:i,element:n.value,tippyOptions:s,shouldShow:d}))}),c(()=>{const{pluginKey:e,editor:i}=r;i.unregisterPlugin(e)}),()=>{var e;return l("div",{ref:n},(e=t.default)===null||e===void 0?void 0:e.call(t))}}}));u({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return l(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}});const R=a("N",u({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var r,t;return l(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(t=(r=this.$slots).default)===null||t===void 0?void 0:t.call(r))}})),U=a("u",(r={})=>{const t=C();return h(()=>{t.value=new D(r)}),c(()=>{var n,e,i;const s=(n=t.value)===null||n===void 0?void 0:n.options.element,d=s==null?void 0:s.cloneNode(!0);(e=s==null?void 0:s.parentNode)===null||e===void 0||e.replaceChild(d,s),(i=t.value)===null||i===void 0||i.destroy()}),t});class E{constructor(t,{props:n={},editor:e}){this.editor=e,this.component=v(t),this.el=document.createElement("div"),this.props=x(n),this.renderedComponent=this.renderComponent()}get element(){return this.renderedComponent.el}get ref(){var t,n,e,i;return!((n=(t=this.renderedComponent.vNode)===null||t===void 0?void 0:t.component)===null||n===void 0)&&n.exposed?this.renderedComponent.vNode.component.exposed:(i=(e=this.renderedComponent.vNode)===null||e===void 0?void 0:e.component)===null||i===void 0?void 0:i.proxy}renderComponent(){let t=l(this.component,this.props);return this.editor.appContext&&(t.appContext=this.editor.appContext),typeof document<"u"&&this.el&&m(t,this.el),{vNode:t,destroy:()=>{this.el&&m(null,this.el),this.el=null,t=null},el:this.el?this.el.firstElementChild:null}}updateProps(t={}){Object.entries(t).forEach(([n,e])=>{this.props[n]=e}),this.renderComponent()}destroy(){this.renderedComponent.destroy()}}a("a",E);const B=a("n",{editor:{type:Object,required:!0},node:{type:Object,required:!0},decorations:{type:Object,required:!0},selected:{type:Boolean,required:!0},extension:{type:Object,required:!0},getPos:{type:Function,required:!0},updateAttributes:{type:Function,required:!0},deleteNode:{type:Function,required:!0},view:{type:Object,required:!0},innerDecorations:{type:Object,required:!0},HTMLAttributes:{type:Object,required:!0}});class q extends P{mount(){const t={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extension,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(i={})=>this.updateAttributes(i),deleteNode:()=>this.deleteNode()},n=this.onDragStart.bind(this);this.decorationClasses=p(this.getDecorationClasses());const e=u({extends:{...this.component},props:Object.keys(t),template:this.component.template,setup:i=>{var s,d;return f("onDragStart",n),f("decorationClasses",this.decorationClasses),(d=(s=this.component).setup)===null||d===void 0?void 0:d.call(s,i,{expose:()=>{}})},__scopeId:this.component.__scopeId,__cssModules:this.component.__cssModules,__name:this.component.__name,__file:this.component.__file});this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new E(e,{editor:this.editor,props:t})}get dom(){if(!this.renderer.element||!this.renderer.element.hasAttribute("data-node-view-wrapper"))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.dom.querySelector("[data-node-view-content]")}handleSelectionUpdate(){const{from:t,to:n}=this.editor.state.selection,e=this.getPos();if(typeof e=="number")if(t<=e&&n>=e+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(t,n,e){const i=s=>{this.decorationClasses.value=this.getDecorationClasses(),this.renderer.updateProps(s)};if(typeof this.options.update=="function"){const s=this.node,d=this.decorations,g=this.innerDecorations;return this.node=t,this.decorations=n,this.innerDecorations=e,this.options.update({oldNode:s,oldDecorations:d,newNode:t,newDecorations:n,oldInnerDecorations:g,innerDecorations:e,updateProps:()=>i({node:t,decorations:n,innerDecorations:e})})}return t.type!==this.node.type?!1:(t===this.node&&this.decorations===n&&this.innerDecorations===e||(this.node=t,this.decorations=n,this.innerDecorations=e,i({node:t,decorations:n,innerDecorations:e})),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element&&this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element&&this.renderer.element.classList.remove("ProseMirror-selectednode")}getDecorationClasses(){return this.decorations.map(t=>t.type.attrs.class).flat().join(" ")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate)}}function M(r,t){return n=>{if(!n.editor.contentComponent)return{};const e=typeof r=="function"&&"__vccOpts"in r?r.__vccOpts:r;return new q(e,n,t)}}}}});
@@ -1,2 +1,2 @@
1
- System.register(["../components/imagecompressor/ImageCompressor-BLeJDvN3.system.js"],function(Re,ft){"use strict";var Te;return{setters:[ae=>{Te=ae.g}],execute:function(){Re({a:tt,j:nt,t:it});function ae(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(n=>{const s=e[n],r=typeof s;(r==="object"||r==="function")&&!Object.isFrozen(s)&&ae(s)}),e}class ye{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Me(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function G(e,...n){const s=Object.create(null);for(const r in e)s[r]=e[r];return n.forEach(function(r){for(const h in r)s[h]=r[h]}),s}const rn="</span>",Oe=e=>!!e.scope,an=(e,{prefix:n})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const s=e.split(".");return[`${n}${s.shift()}`,...s.map((r,h)=>`${r}${"_".repeat(h+1)}`)].join(" ")}return`${n}${e}`};class cn{constructor(n,s){this.buffer="",this.classPrefix=s.classPrefix,n.walk(this)}addText(n){this.buffer+=Me(n)}openNode(n){if(!Oe(n))return;const s=an(n.scope,{prefix:this.classPrefix});this.span(s)}closeNode(n){Oe(n)&&(this.buffer+=rn)}value(){return this.buffer}span(n){this.buffer+=`<span class="${n}">`}}const we=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class Ee{constructor(){this.rootNode=we(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const s=we({scope:n});this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,s){return typeof s=="string"?n.addText(s):s.children&&(n.openNode(s),s.children.forEach(r=>this._walk(n,r)),n.closeNode(s)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(s=>typeof s=="string")?n.children=[n.children.join("")]:n.children.forEach(s=>{Ee._collapse(s)}))}}class on extends Ee{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,s){const r=n.root;s&&(r.scope=`language:${s}`),this.add(r)}toHTML(){return new cn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function q(e){return e?typeof e=="string"?e:e.source:null}function Ie(e){return Z("(?=",e,")")}function ln(e){return Z("(?:",e,")*")}function un(e){return Z("(?:",e,")?")}function Z(...e){return e.map(s=>q(s)).join("")}function gn(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function he(...e){return"("+(gn(e).capture?"":"?:")+e.map(r=>q(r)).join("|")+")"}function xe(e){return new RegExp(e.toString()+"|").exec("").length-1}function fn(e,n){const s=e&&e.exec(n);return s&&s.index===0}const dn=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function be(e,{joinWith:n}){let s=0;return e.map(r=>{s+=1;const h=s;let N=q(r),c="";for(;N.length>0;){const i=dn.exec(N);if(!i){c+=N;break}c+=N.substring(0,i.index),N=N.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+h):(c+=i[0],i[0]==="("&&s++)}return c}).map(r=>`(${r})`).join(n)}const En=/\b\B/,Ce="[a-zA-Z]\\w*",pe="[a-zA-Z_]\\w*",me="\\b\\d+(\\.\\d+)?",ve="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Le="\\b(0b[01]+)",hn="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bn=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=Z(n,/.*\b/,e.binary,/\b.*/)),G({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(s,r)=>{s.index!==0&&r.ignoreMatch()}},e)},ee={begin:"\\\\[\\s\\S]",relevance:0},pn={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ee]},_n={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ee]},Sn={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ce=function(e,n,s={}){const r=G({scope:"comment",begin:e,end:n,contains:[]},s);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const h=he("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Z(/[ ]+/,"(",h,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Nn=ce("//","$"),An=ce("/\\*","\\*/"),Rn=ce("#","$"),Tn={scope:"number",begin:me,relevance:0},yn={scope:"number",begin:ve,relevance:0},Mn={scope:"number",begin:Le,relevance:0},On={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ee,{begin:/\[/,end:/\]/,relevance:0,contains:[ee]}]},wn={scope:"title",begin:Ce,relevance:0},In={scope:"title",begin:pe,relevance:0},xn={begin:"\\.\\s*"+pe,relevance:0};var oe=Object.freeze({__proto__:null,APOS_STRING_MODE:pn,BACKSLASH_ESCAPE:ee,BINARY_NUMBER_MODE:Mn,BINARY_NUMBER_RE:Le,COMMENT:ce,C_BLOCK_COMMENT_MODE:An,C_LINE_COMMENT_MODE:Nn,C_NUMBER_MODE:yn,C_NUMBER_RE:ve,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(n,s)=>{s.data._beginMatch=n[1]},"on:end":(n,s)=>{s.data._beginMatch!==n[1]&&s.ignoreMatch()}})},HASH_COMMENT_MODE:Rn,IDENT_RE:Ce,MATCH_NOTHING_RE:En,METHOD_GUARD:xn,NUMBER_MODE:Tn,NUMBER_RE:me,PHRASAL_WORDS_MODE:Sn,QUOTE_STRING_MODE:_n,REGEXP_MODE:On,RE_STARTERS_RE:hn,SHEBANG:bn,TITLE_MODE:wn,UNDERSCORE_IDENT_RE:pe,UNDERSCORE_TITLE_MODE:In});function Cn(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function mn(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function vn(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Cn,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Ln(e,n){Array.isArray(e.illegal)&&(e.illegal=he(...e.illegal))}function kn(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Dn(e,n){e.relevance===void 0&&(e.relevance=1)}const Bn=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=s.keywords,e.begin=Z(s.beforeMatch,Ie(s.begin)),e.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},e.relevance=0,delete s.beforeMatch},Un=["of","and","for","in","not","or","if","then","parent","list","value"],Pn="keyword";function ke(e,n,s=Pn){const r=Object.create(null);return typeof e=="string"?h(s,e.split(" ")):Array.isArray(e)?h(s,e):Object.keys(e).forEach(function(N){Object.assign(r,ke(e[N],n,N))}),r;function h(N,c){n&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const u=i.split("|");r[u[0]]=[N,$n(u[0],u[1])]})}}function $n(e,n){return n?Number(n):Hn(e)?0:1}function Hn(e){return Un.includes(e.toLowerCase())}const De={},K=e=>{console.error(e)},Be=(e,...n)=>{console.log(`WARN: ${e}`,...n)},Y=(e,n)=>{De[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),De[`${e}/${n}`]=!0)},le=new Error;function Ue(e,n,{key:s}){let r=0;const h=e[s],N={},c={};for(let i=1;i<=n.length;i++)c[i+r]=h[i],N[i+r]=!0,r+=xe(n[i-1]);e[s]=c,e[s]._emit=N,e[s]._multi=!0}function Gn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),le;if(typeof e.beginScope!="object"||e.beginScope===null)throw K("beginScope must be object"),le;Ue(e,e.begin,{key:"beginScope"}),e.begin=be(e.begin,{joinWith:""})}}function Fn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),le;if(typeof e.endScope!="object"||e.endScope===null)throw K("endScope must be object"),le;Ue(e,e.end,{key:"endScope"}),e.end=be(e.end,{joinWith:""})}}function zn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Zn(e){zn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Gn(e),Fn(e)}function Kn(e){function n(c,i){return new RegExp(q(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(i?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,i]),this.matchAt+=xe(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(u=>u[1]);this.matcherRe=n(be(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(i);if(!u)return null;const b=u.findIndex((I,R)=>R>0&&I!==void 0),p=this.matchIndexes[b];return u.splice(0,b),Object.assign(u,p)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const u=new s;return this.rules.slice(i).forEach(([b,p])=>u.addRule(b,p)),u.compile(),this.multiRegexes[i]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,u){this.rules.push([i,u]),u.type==="begin"&&this.count++}exec(i){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let b=u.exec(i);if(this.resumingScanAtSamePosition()&&!(b&&b.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,b=p.exec(i)}return b&&(this.regexIndex+=b.position+1,this.regexIndex===this.count&&this.considerAll()),b}}function h(c){const i=new r;return c.contains.forEach(u=>i.addRule(u.begin,{rule:u,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function N(c,i){const u=c;if(c.isCompiled)return u;[mn,kn,Zn,Bn].forEach(p=>p(c,i)),e.compilerExtensions.forEach(p=>p(c,i)),c.__beforeBegin=null,[vn,Ln,Dn].forEach(p=>p(c,i)),c.isCompiled=!0;let b=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),b=c.keywords.$pattern,delete c.keywords.$pattern),b=b||/\w+/,c.keywords&&(c.keywords=ke(c.keywords,e.case_insensitive)),u.keywordPatternRe=n(b,!0),i&&(c.begin||(c.begin=/\B|\b/),u.beginRe=n(u.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(u.endRe=n(u.end)),u.terminatorEnd=q(u.end)||"",c.endsWithParent&&i.terminatorEnd&&(u.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(u.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(p){return Wn(p==="self"?c:p)})),c.contains.forEach(function(p){N(p,u)}),c.starts&&N(c.starts,i),u.matcher=h(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=G(e.classNameAliases||{}),N(e)}function Pe(e){return e?e.endsWithParent||Pe(e.starts):!1}function Wn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return G(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:Pe(e)?G(e,{starts:e.starts?G(e.starts):null}):Object.isFrozen(e)?G(e):e}var Xn="11.10.0";class jn extends Error{constructor(n,s){super(n),this.name="HTMLInjectionError",this.html=s}}const _e=Me,$e=G,He=Symbol("nomatch"),Yn=7,Ge=function(e){const n=Object.create(null),s=Object.create(null),r=[];let h=!0;const N="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:on};function u(t){return i.noHighlightRe.test(t)}function b(t){let a=t.className+" ";a+=t.parentNode?t.parentNode.className:"";const g=i.languageDetectRe.exec(a);if(g){const E=m(g[1]);return E||(Be(N.replace("{}",g[1])),Be("Falling back to no-highlight mode for this block.",t)),E?g[1]:"no-highlight"}return a.split(/\s+/).find(E=>u(E)||m(E))}function p(t,a,g){let E="",_="";typeof a=="object"?(E=t,g=a.ignoreIllegals,_=a.language):(Y("10.7.0","highlight(lang, code, ...args) has been deprecated."),Y("10.7.0",`Please use highlight(code, options) instead.
1
+ System.register(["../components/imagecompressor/ImageCompressor-C_vnTwmo.system.js"],function(Re,ft){"use strict";var Te;return{setters:[ae=>{Te=ae.g}],execute:function(){Re({a:tt,j:nt,t:it});function ae(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(n=>{const s=e[n],r=typeof s;(r==="object"||r==="function")&&!Object.isFrozen(s)&&ae(s)}),e}class ye{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Me(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function G(e,...n){const s=Object.create(null);for(const r in e)s[r]=e[r];return n.forEach(function(r){for(const h in r)s[h]=r[h]}),s}const rn="</span>",Oe=e=>!!e.scope,an=(e,{prefix:n})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const s=e.split(".");return[`${n}${s.shift()}`,...s.map((r,h)=>`${r}${"_".repeat(h+1)}`)].join(" ")}return`${n}${e}`};class cn{constructor(n,s){this.buffer="",this.classPrefix=s.classPrefix,n.walk(this)}addText(n){this.buffer+=Me(n)}openNode(n){if(!Oe(n))return;const s=an(n.scope,{prefix:this.classPrefix});this.span(s)}closeNode(n){Oe(n)&&(this.buffer+=rn)}value(){return this.buffer}span(n){this.buffer+=`<span class="${n}">`}}const we=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class Ee{constructor(){this.rootNode=we(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const s=we({scope:n});this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,s){return typeof s=="string"?n.addText(s):s.children&&(n.openNode(s),s.children.forEach(r=>this._walk(n,r)),n.closeNode(s)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(s=>typeof s=="string")?n.children=[n.children.join("")]:n.children.forEach(s=>{Ee._collapse(s)}))}}class on extends Ee{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,s){const r=n.root;s&&(r.scope=`language:${s}`),this.add(r)}toHTML(){return new cn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function q(e){return e?typeof e=="string"?e:e.source:null}function Ie(e){return Z("(?=",e,")")}function ln(e){return Z("(?:",e,")*")}function un(e){return Z("(?:",e,")?")}function Z(...e){return e.map(s=>q(s)).join("")}function gn(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function he(...e){return"("+(gn(e).capture?"":"?:")+e.map(r=>q(r)).join("|")+")"}function xe(e){return new RegExp(e.toString()+"|").exec("").length-1}function fn(e,n){const s=e&&e.exec(n);return s&&s.index===0}const dn=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function be(e,{joinWith:n}){let s=0;return e.map(r=>{s+=1;const h=s;let N=q(r),c="";for(;N.length>0;){const i=dn.exec(N);if(!i){c+=N;break}c+=N.substring(0,i.index),N=N.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+h):(c+=i[0],i[0]==="("&&s++)}return c}).map(r=>`(${r})`).join(n)}const En=/\b\B/,Ce="[a-zA-Z]\\w*",pe="[a-zA-Z_]\\w*",me="\\b\\d+(\\.\\d+)?",ve="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Le="\\b(0b[01]+)",hn="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bn=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=Z(n,/.*\b/,e.binary,/\b.*/)),G({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(s,r)=>{s.index!==0&&r.ignoreMatch()}},e)},ee={begin:"\\\\[\\s\\S]",relevance:0},pn={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ee]},_n={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ee]},Sn={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ce=function(e,n,s={}){const r=G({scope:"comment",begin:e,end:n,contains:[]},s);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const h=he("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Z(/[ ]+/,"(",h,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Nn=ce("//","$"),An=ce("/\\*","\\*/"),Rn=ce("#","$"),Tn={scope:"number",begin:me,relevance:0},yn={scope:"number",begin:ve,relevance:0},Mn={scope:"number",begin:Le,relevance:0},On={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ee,{begin:/\[/,end:/\]/,relevance:0,contains:[ee]}]},wn={scope:"title",begin:Ce,relevance:0},In={scope:"title",begin:pe,relevance:0},xn={begin:"\\.\\s*"+pe,relevance:0};var oe=Object.freeze({__proto__:null,APOS_STRING_MODE:pn,BACKSLASH_ESCAPE:ee,BINARY_NUMBER_MODE:Mn,BINARY_NUMBER_RE:Le,COMMENT:ce,C_BLOCK_COMMENT_MODE:An,C_LINE_COMMENT_MODE:Nn,C_NUMBER_MODE:yn,C_NUMBER_RE:ve,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(n,s)=>{s.data._beginMatch=n[1]},"on:end":(n,s)=>{s.data._beginMatch!==n[1]&&s.ignoreMatch()}})},HASH_COMMENT_MODE:Rn,IDENT_RE:Ce,MATCH_NOTHING_RE:En,METHOD_GUARD:xn,NUMBER_MODE:Tn,NUMBER_RE:me,PHRASAL_WORDS_MODE:Sn,QUOTE_STRING_MODE:_n,REGEXP_MODE:On,RE_STARTERS_RE:hn,SHEBANG:bn,TITLE_MODE:wn,UNDERSCORE_IDENT_RE:pe,UNDERSCORE_TITLE_MODE:In});function Cn(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function mn(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function vn(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Cn,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Ln(e,n){Array.isArray(e.illegal)&&(e.illegal=he(...e.illegal))}function kn(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Dn(e,n){e.relevance===void 0&&(e.relevance=1)}const Bn=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=s.keywords,e.begin=Z(s.beforeMatch,Ie(s.begin)),e.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},e.relevance=0,delete s.beforeMatch},Un=["of","and","for","in","not","or","if","then","parent","list","value"],Pn="keyword";function ke(e,n,s=Pn){const r=Object.create(null);return typeof e=="string"?h(s,e.split(" ")):Array.isArray(e)?h(s,e):Object.keys(e).forEach(function(N){Object.assign(r,ke(e[N],n,N))}),r;function h(N,c){n&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const u=i.split("|");r[u[0]]=[N,$n(u[0],u[1])]})}}function $n(e,n){return n?Number(n):Hn(e)?0:1}function Hn(e){return Un.includes(e.toLowerCase())}const De={},K=e=>{console.error(e)},Be=(e,...n)=>{console.log(`WARN: ${e}`,...n)},Y=(e,n)=>{De[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),De[`${e}/${n}`]=!0)},le=new Error;function Ue(e,n,{key:s}){let r=0;const h=e[s],N={},c={};for(let i=1;i<=n.length;i++)c[i+r]=h[i],N[i+r]=!0,r+=xe(n[i-1]);e[s]=c,e[s]._emit=N,e[s]._multi=!0}function Gn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),le;if(typeof e.beginScope!="object"||e.beginScope===null)throw K("beginScope must be object"),le;Ue(e,e.begin,{key:"beginScope"}),e.begin=be(e.begin,{joinWith:""})}}function Fn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),le;if(typeof e.endScope!="object"||e.endScope===null)throw K("endScope must be object"),le;Ue(e,e.end,{key:"endScope"}),e.end=be(e.end,{joinWith:""})}}function zn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Zn(e){zn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Gn(e),Fn(e)}function Kn(e){function n(c,i){return new RegExp(q(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(i?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,i]),this.matchAt+=xe(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(u=>u[1]);this.matcherRe=n(be(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(i);if(!u)return null;const b=u.findIndex((I,R)=>R>0&&I!==void 0),p=this.matchIndexes[b];return u.splice(0,b),Object.assign(u,p)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const u=new s;return this.rules.slice(i).forEach(([b,p])=>u.addRule(b,p)),u.compile(),this.multiRegexes[i]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,u){this.rules.push([i,u]),u.type==="begin"&&this.count++}exec(i){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let b=u.exec(i);if(this.resumingScanAtSamePosition()&&!(b&&b.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,b=p.exec(i)}return b&&(this.regexIndex+=b.position+1,this.regexIndex===this.count&&this.considerAll()),b}}function h(c){const i=new r;return c.contains.forEach(u=>i.addRule(u.begin,{rule:u,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function N(c,i){const u=c;if(c.isCompiled)return u;[mn,kn,Zn,Bn].forEach(p=>p(c,i)),e.compilerExtensions.forEach(p=>p(c,i)),c.__beforeBegin=null,[vn,Ln,Dn].forEach(p=>p(c,i)),c.isCompiled=!0;let b=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),b=c.keywords.$pattern,delete c.keywords.$pattern),b=b||/\w+/,c.keywords&&(c.keywords=ke(c.keywords,e.case_insensitive)),u.keywordPatternRe=n(b,!0),i&&(c.begin||(c.begin=/\B|\b/),u.beginRe=n(u.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(u.endRe=n(u.end)),u.terminatorEnd=q(u.end)||"",c.endsWithParent&&i.terminatorEnd&&(u.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(u.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(p){return Wn(p==="self"?c:p)})),c.contains.forEach(function(p){N(p,u)}),c.starts&&N(c.starts,i),u.matcher=h(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=G(e.classNameAliases||{}),N(e)}function Pe(e){return e?e.endsWithParent||Pe(e.starts):!1}function Wn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return G(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:Pe(e)?G(e,{starts:e.starts?G(e.starts):null}):Object.isFrozen(e)?G(e):e}var Xn="11.10.0";class jn extends Error{constructor(n,s){super(n),this.name="HTMLInjectionError",this.html=s}}const _e=Me,$e=G,He=Symbol("nomatch"),Yn=7,Ge=function(e){const n=Object.create(null),s=Object.create(null),r=[];let h=!0;const N="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:on};function u(t){return i.noHighlightRe.test(t)}function b(t){let a=t.className+" ";a+=t.parentNode?t.parentNode.className:"";const g=i.languageDetectRe.exec(a);if(g){const E=m(g[1]);return E||(Be(N.replace("{}",g[1])),Be("Falling back to no-highlight mode for this block.",t)),E?g[1]:"no-highlight"}return a.split(/\s+/).find(E=>u(E)||m(E))}function p(t,a,g){let E="",_="";typeof a=="object"?(E=t,g=a.ignoreIllegals,_=a.language):(Y("10.7.0","highlight(lang, code, ...args) has been deprecated."),Y("10.7.0",`Please use highlight(code, options) instead.
2
2
  https://github.com/highlightjs/highlight.js/issues/2277`),_=t,E=a),g===void 0&&(g=!0);const T={code:E,language:_};z("before:highlight",T);const w=T.result?T.result:I(T.language,T.code,g);return w.code=T.code,z("after:highlight",w),w}function I(t,a,g,E){const _=Object.create(null);function T(o,l){return o.keywords[l]}function w(){if(!f.keywords){y.addText(A);return}let o=0;f.keywordPatternRe.lastIndex=0;let l=f.keywordPatternRe.exec(A),d="";for(;l;){d+=A.substring(o,l.index);const S=B.case_insensitive?l[0].toLowerCase():l[0],O=T(f,S);if(O){const[H,ut]=O;if(y.addText(d),d="",_[S]=(_[S]||0)+1,_[S]<=Yn&&(de+=ut),H.startsWith("_"))d+=l[0];else{const gt=B.classNameAliases[H]||H;D(l[0],gt)}}else d+=l[0];o=f.keywordPatternRe.lastIndex,l=f.keywordPatternRe.exec(A)}d+=A.substring(o),y.addText(d)}function ge(){if(A==="")return;let o=null;if(typeof f.subLanguage=="string"){if(!n[f.subLanguage]){y.addText(A);return}o=I(f.subLanguage,A,!0,sn[f.subLanguage]),sn[f.subLanguage]=o._top}else o=M(A,f.subLanguage.length?f.subLanguage:null);f.relevance>0&&(de+=o.relevance),y.__addSublanguage(o._emitter,o.language)}function C(){f.subLanguage!=null?ge():w(),A=""}function D(o,l){o!==""&&(y.startScope(l),y.addText(o),y.endScope())}function qe(o,l){let d=1;const S=l.length-1;for(;d<=S;){if(!o._emit[d]){d++;continue}const O=B.classNameAliases[o[d]]||o[d],H=l[d];O?D(H,O):(A=H,w(),A=""),d++}}function en(o,l){return o.scope&&typeof o.scope=="string"&&y.openNode(B.classNameAliases[o.scope]||o.scope),o.beginScope&&(o.beginScope._wrap?(D(A,B.classNameAliases[o.beginScope._wrap]||o.beginScope._wrap),A=""):o.beginScope._multi&&(qe(o.beginScope,l),A="")),f=Object.create(o,{parent:{value:f}}),f}function nn(o,l,d){let S=fn(o.endRe,d);if(S){if(o["on:end"]){const O=new ye(o);o["on:end"](l,O),O.isMatchIgnored&&(S=!1)}if(S){for(;o.endsParent&&o.parent;)o=o.parent;return o}}if(o.endsWithParent)return nn(o.parent,l,d)}function rt(o){return f.matcher.regexIndex===0?(A+=o[0],1):(Ae=!0,0)}function at(o){const l=o[0],d=o.rule,S=new ye(d),O=[d.__beforeBegin,d["on:begin"]];for(const H of O)if(H&&(H(o,S),S.isMatchIgnored))return rt(l);return d.skip?A+=l:(d.excludeBegin&&(A+=l),C(),!d.returnBegin&&!d.excludeBegin&&(A=l)),en(d,o),d.returnBegin?0:l.length}function ct(o){const l=o[0],d=a.substring(o.index),S=nn(f,o,d);if(!S)return He;const O=f;f.endScope&&f.endScope._wrap?(C(),D(l,f.endScope._wrap)):f.endScope&&f.endScope._multi?(C(),qe(f.endScope,o)):O.skip?A+=l:(O.returnEnd||O.excludeEnd||(A+=l),C(),O.excludeEnd&&(A=l));do f.scope&&y.closeNode(),!f.skip&&!f.subLanguage&&(de+=f.relevance),f=f.parent;while(f!==S.parent);return S.starts&&en(S.starts,o),O.returnEnd?0:l.length}function ot(){const o=[];for(let l=f;l!==B;l=l.parent)l.scope&&o.unshift(l.scope);o.forEach(l=>y.openNode(l))}let fe={};function tn(o,l){const d=l&&l[0];if(A+=o,d==null)return C(),0;if(fe.type==="begin"&&l.type==="end"&&fe.index===l.index&&d===""){if(A+=a.slice(l.index,l.index+1),!h){const S=new Error(`0 width match regex (${t})`);throw S.languageName=t,S.badRule=fe.rule,S}return 1}if(fe=l,l.type==="begin")return at(l);if(l.type==="illegal"&&!g){const S=new Error('Illegal lexeme "'+d+'" for mode "'+(f.scope||"<unnamed>")+'"');throw S.mode=f,S}else if(l.type==="end"){const S=ct(l);if(S!==He)return S}if(l.type==="illegal"&&d==="")return 1;if(Ne>1e5&&Ne>l.index*3)throw new Error("potential infinite loop, way more iterations than matches");return A+=d,d.length}const B=m(t);if(!B)throw K(N.replace("{}",t)),new Error('Unknown language: "'+t+'"');const lt=Kn(B);let Se="",f=E||lt;const sn={},y=new i.__emitter(i);ot();let A="",de=0,j=0,Ne=0,Ae=!1;try{if(B.__emitTokens)B.__emitTokens(a,y);else{for(f.matcher.considerAll();;){Ne++,Ae?Ae=!1:f.matcher.considerAll(),f.matcher.lastIndex=j;const o=f.matcher.exec(a);if(!o)break;const l=a.substring(j,o.index),d=tn(l,o);j=o.index+d}tn(a.substring(j))}return y.finalize(),Se=y.toHTML(),{language:t,value:Se,relevance:de,illegal:!1,_emitter:y,_top:f}}catch(o){if(o.message&&o.message.includes("Illegal"))return{language:t,value:_e(a),illegal:!0,relevance:0,_illegalBy:{message:o.message,index:j,context:a.slice(j-100,j+100),mode:o.mode,resultSoFar:Se},_emitter:y};if(h)return{language:t,value:_e(a),illegal:!1,relevance:0,errorRaised:o,_emitter:y,_top:f};throw o}}function R(t){const a={value:_e(t),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return a._emitter.addText(t),a}function M(t,a){a=a||i.languages||Object.keys(n);const g=R(t),E=a.filter(m).filter(Q).map(C=>I(C,t,!1));E.unshift(g);const _=E.sort((C,D)=>{if(C.relevance!==D.relevance)return D.relevance-C.relevance;if(C.language&&D.language){if(m(C.language).supersetOf===D.language)return 1;if(m(D.language).supersetOf===C.language)return-1}return 0}),[T,w]=_,ge=T;return ge.secondBest=w,ge}function U(t,a,g){const E=a&&s[a]||g;t.classList.add("hljs"),t.classList.add(`language-${E}`)}function v(t){let a=null;const g=b(t);if(u(g))return;if(z("before:highlightElement",{el:t,language:g}),t.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",t);return}if(t.children.length>0&&(i.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(t)),i.throwUnescapedHTML))throw new jn("One of your code blocks includes unescaped HTML.",t.innerHTML);a=t;const E=a.textContent,_=g?p(E,{language:g,ignoreIllegals:!0}):M(E);t.innerHTML=_.value,t.dataset.highlighted="yes",U(t,g,_.language),t.result={language:_.language,re:_.relevance,relevance:_.relevance},_.secondBest&&(t.secondBest={language:_.secondBest.language,relevance:_.secondBest.relevance}),z("after:highlightElement",{el:t,result:_,text:E})}function L(t){i=$e(i,t)}const ne=()=>{k(),Y("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function P(){k(),Y("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let F=!1;function k(){if(document.readyState==="loading"){F=!0;return}document.querySelectorAll(i.cssSelector).forEach(v)}function $(){F&&k()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",$,!1);function x(t,a){let g=null;try{g=a(e)}catch(E){if(K("Language definition for '{}' could not be registered.".replace("{}",t)),h)K(E);else throw E;g=c}g.name||(g.name=t),n[t]=g,g.rawDefinition=a.bind(null,e),g.aliases&&V(g.aliases,{languageName:t})}function te(t){delete n[t];for(const a of Object.keys(s))s[a]===t&&delete s[a]}function W(){return Object.keys(n)}function m(t){return t=(t||"").toLowerCase(),n[t]||n[s[t]]}function V(t,{languageName:a}){typeof t=="string"&&(t=[t]),t.forEach(g=>{s[g.toLowerCase()]=a})}function Q(t){const a=m(t);return a&&!a.disableAutodetect}function se(t){t["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=a=>{t["before:highlightBlock"](Object.assign({block:a.el},a))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=a=>{t["after:highlightBlock"](Object.assign({block:a.el},a))})}function ie(t){se(t),r.push(t)}function re(t){const a=r.indexOf(t);a!==-1&&r.splice(a,1)}function z(t,a){const g=t;r.forEach(function(E){E[g]&&E[g](a)})}function X(t){return Y("10.7.0","highlightBlock will be removed entirely in v12.0"),Y("10.7.0","Please use highlightElement now."),v(t)}Object.assign(e,{highlight:p,highlightAuto:M,highlightAll:k,highlightElement:v,highlightBlock:X,configure:L,initHighlighting:ne,initHighlightingOnLoad:P,registerLanguage:x,unregisterLanguage:te,listLanguages:W,getLanguage:m,registerAliases:V,autoDetection:Q,inherit:$e,addPlugin:ie,removePlugin:re}),e.debugMode=function(){h=!1},e.safeMode=function(){h=!0},e.versionString=Xn,e.regex={concat:Z,lookahead:Ie,either:he,optional:un,anyNumberOfTimes:ln};for(const t in oe)typeof oe[t]=="object"&&ae(oe[t]);return Object.assign(e,oe),e},J=Ge({});J.newInstance=()=>Ge({});var Jn=J;J.HighlightJS=J,J.default=J;const Et=Re("H",Te(Jn)),Fe="[A-Za-z$_][0-9A-Za-z$_]*",Vn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Qn=["true","false","null","undefined","NaN","Infinity"],ze=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ze=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ke=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],qn=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],et=[].concat(Ke,ze,Ze);function nt(e){const n=e.regex,s=(a,{after:g})=>{const E="</"+a[0].slice(1);return a.input.indexOf(E,g)!==-1},r=Fe,h={begin:"<>",end:"</>"},N=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(a,g)=>{const E=a[0].length+a.index,_=a.input[E];if(_==="<"||_===","){g.ignoreMatch();return}_===">"&&(s(a,{after:E})||g.ignoreMatch());let T;const w=a.input.substring(E);if(T=w.match(/^\s*=/)){g.ignoreMatch();return}if((T=w.match(/^\s+extends\s+/))&&T.index===0){g.ignoreMatch();return}}},i={$pattern:Fe,keyword:Vn,literal:Qn,built_in:et,"variable.language":qn},u="[0-9](_?[0-9])*",b=`\\.(${u})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",I={className:"number",variants:[{begin:`(\\b(${p})((${b})|\\.)?|(${b}))[eE][+-]?(${u})\\b`},{begin:`\\b(${p})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},M={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},U={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,R]},P={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},F=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,M,U,v,L,{match:/\$\d+/},I];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(F)});const k=[].concat(P,R.contains),$=k.concat([{begin:/(\s*)\(/,end:/\)/,keywords:i,contains:["self"].concat(k)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$},te={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,n.concat(r,"(",n.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ze,...Ze]}},m={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},Q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function se(a){return n.concat("(?!",a.join("|"),")")}const ie={match:n.concat(/\b/,se([...Ke,"super","import"].map(a=>`${a}\\s*\\(`)),r,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},re={begin:n.concat(/\./,n.lookahead(n.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},X="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",t={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(X)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),m,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,M,U,v,L,P,{match:/\$\d+/},I,W,{className:"attr",begin:r+n.lookahead(":"),relevance:0},t,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,e.REGEXP_MODE,{className:"function",begin:X,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:h.begin,end:h.end},{match:N},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},ie,Q,te,z,{match:/\$[(.]/}]}}function tt(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],h={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[n,s,e.QUOTE_STRING_MODE,h,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}const ue="[A-Za-z$_][0-9A-Za-z$_]*",We=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Xe=["true","false","null","undefined","NaN","Infinity"],je=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ye=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Je=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ve=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Qe=[].concat(Je,je,Ye);function st(e){const n=e.regex,s=(a,{after:g})=>{const E="</"+a[0].slice(1);return a.input.indexOf(E,g)!==-1},r=ue,h={begin:"<>",end:"</>"},N=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(a,g)=>{const E=a[0].length+a.index,_=a.input[E];if(_==="<"||_===","){g.ignoreMatch();return}_===">"&&(s(a,{after:E})||g.ignoreMatch());let T;const w=a.input.substring(E);if(T=w.match(/^\s*=/)){g.ignoreMatch();return}if((T=w.match(/^\s+extends\s+/))&&T.index===0){g.ignoreMatch();return}}},i={$pattern:ue,keyword:We,literal:Xe,built_in:Qe,"variable.language":Ve},u="[0-9](_?[0-9])*",b=`\\.(${u})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",I={className:"number",variants:[{begin:`(\\b(${p})((${b})|\\.)?|(${b}))[eE][+-]?(${u})\\b`},{begin:`\\b(${p})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},M={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},U={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,R]},P={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},F=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,M,U,v,L,{match:/\$\d+/},I];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(F)});const k=[].concat(P,R.contains),$=k.concat([{begin:/(\s*)\(/,end:/\)/,keywords:i,contains:["self"].concat(k)}]),x={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$},te={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,n.concat(r,"(",n.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...je,...Ye]}},m={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[x],illegal:/%/},Q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function se(a){return n.concat("(?!",a.join("|"),")")}const ie={match:n.concat(/\b/,se([...Je,"super","import"].map(a=>`${a}\\s*\\(`)),r,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},re={begin:n.concat(/\./,n.lookahead(n.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},X="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",t={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(X)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),m,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,M,U,v,L,P,{match:/\$\d+/},I,W,{className:"attr",begin:r+n.lookahead(":"),relevance:0},t,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,e.REGEXP_MODE,{className:"function",begin:X,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:h.begin,end:h.end},{match:N},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},ie,Q,te,z,{match:/\$[(.]/}]}}function it(e){const n=st(e),s=ue,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],h={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},N={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[n.exports.CLASS_REFERENCE]},c={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},i=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],u={$pattern:ue,keyword:We.concat(i),literal:Xe,built_in:Qe.concat(r),"variable.language":Ve},b={className:"meta",begin:"@"+s},p=(M,U,v)=>{const L=M.contains.findIndex(ne=>ne.label===U);if(L===-1)throw new Error("can not find mode to replace");M.contains.splice(L,1,v)};Object.assign(n.keywords,u),n.exports.PARAMS_CONTAINS.push(b);const I=n.contains.find(M=>M.className==="attr");n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,I]),n.contains=n.contains.concat([b,h,N]),p(n,"shebang",e.SHEBANG()),p(n,"use_strict",c);const R=n.contains.find(M=>M.label==="func.def");return R.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}}}});
@@ -1,4 +1,4 @@
1
- import { g as un } from "../components/imagecompressor/ImageCompressor-DaW0ak9c.es.js";
1
+ import { g as un } from "../components/imagecompressor/ImageCompressor-DPo-1Yo8.es.js";
2
2
  function ke(e) {
3
3
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
4
4
  throw new Error("map is read-only");
@@ -1,4 +1,4 @@
1
- import { c as v, g as w } from "../components/imagecompressor/ImageCompressor-DaW0ak9c.es.js";
1
+ import { c as v, g as w } from "../components/imagecompressor/ImageCompressor-DPo-1Yo8.es.js";
2
2
  function B(e) {
3
3
  var t = typeof e;
4
4
  return e != null && (t == "object" || t == "function");
@@ -1 +1 @@
1
- System.register(["../components/imagecompressor/ImageCompressor-BLeJDvN3.system.js"],function(h,He){"use strict";var s,y;return{setters:[v=>{s=v.c,y=v.g}],execute:function(){function v(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var j=v,A=typeof s=="object"&&s&&s.Object===Object&&s,M=A,B=M,U=typeof self=="object"&&self&&self.Object===Object&&self,D=B||U||Function("return this")(),_=D,X=_,H=function(){return X.Date.now()},q=H,z=/\s/;function J(e){for(var t=e.length;t--&&z.test(e.charAt(t)););return t}var K=J,Q=K,V=/^\s+/;function Y(e){return e&&e.slice(0,Q(e)+1).replace(V,"")}var Z=Y,ee=_,te=ee.Symbol,x=te,E=x,I=Object.prototype,re=I.hasOwnProperty,ne=I.toString,d=E?E.toStringTag:void 0;function ie(e){var t=re.call(e,d),n=e[d];try{e[d]=void 0;var i=!0}catch{}var o=ne.call(e);return i&&(t?e[d]=n:delete e[d]),o}var ae=ie,oe=Object.prototype,ce=oe.toString;function fe(e){return ce.call(e)}var ue=fe,k=x,se=ae,de=ue,be="[object Null]",le="[object Undefined]",R=k?k.toStringTag:void 0;function me(e){return e==null?e===void 0?le:be:R&&R in Object(e)?se(e):de(e)}var ge=me;function ve(e){return e!=null&&typeof e=="object"}var Te=ve,ye=ge,je=Te,$e="[object Symbol]";function Se(e){return typeof e=="symbol"||je(e)&&ye(e)==$e}var Oe=Se,pe=Z,N=j,he=Oe,w=NaN,_e=/^[-+]0x[0-9a-f]+$/i,xe=/^0b[01]+$/i,Ee=/^0o[0-7]+$/i,Ie=parseInt;function ke(e){if(typeof e=="number")return e;if(he(e))return w;if(N(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=N(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pe(e);var n=xe.test(e);return n||Ee.test(e)?Ie(e.slice(2),n?2:8):_e.test(e)?w:+e}var Re=ke,Ne=j,$=q,C=Re,we="Expected a function",Ce=Math.max,Ge=Math.min;function Le(e,t,n){var i,o,b,u,a,f,l=0,L=!1,m=!1,S=!0;if(typeof e!="function")throw new TypeError(we);t=C(t)||0,Ne(n)&&(L=!!n.leading,m="maxWait"in n,b=m?Ce(C(n.maxWait)||0,t):b,S="trailing"in n?!!n.trailing:S);function O(r){var c=i,g=o;return i=o=void 0,l=r,u=e.apply(g,c),u}function Be(r){return l=r,a=setTimeout(T,t),L?O(r):u}function Ue(r){var c=r-f,g=r-l,P=t-c;return m?Ge(P,b-g):P}function W(r){var c=r-f,g=r-l;return f===void 0||c>=t||c<0||m&&g>=b}function T(){var r=$();if(W(r))return F(r);a=setTimeout(T,Ue(r))}function F(r){return a=void 0,S&&i?O(r):(i=o=void 0,u)}function De(){a!==void 0&&clearTimeout(a),l=0,i=f=o=a=void 0}function Xe(){return a===void 0?u:F($())}function p(){var r=$(),c=W(r);if(i=arguments,o=this,f=r,c){if(a===void 0)return Be(f);if(m)return clearTimeout(a),a=setTimeout(T,t),O(f)}return a===void 0&&(a=setTimeout(T,t)),u}return p.cancel=De,p.flush=Xe,p}var G=Le;const qe=h("d",y(G));var We=G,Fe=j,Pe="Expected a function";function Ae(e,t,n){var i=!0,o=!0;if(typeof e!="function")throw new TypeError(Pe);return Fe(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),We(e,t,{leading:i,maxWait:t,trailing:o})}var Me=Ae;const ze=h("t",y(Me))}}});
1
+ System.register(["../components/imagecompressor/ImageCompressor-C_vnTwmo.system.js"],function(h,ze){"use strict";var u,y;return{setters:[v=>{u=v.c,y=v.g}],execute:function(){function v(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var j=v,A=typeof u=="object"&&u&&u.Object===Object&&u,M=A,B=M,U=typeof self=="object"&&self&&self.Object===Object&&self,D=B||U||Function("return this")(),_=D,X=_,z=function(){return X.Date.now()},H=z,q=/\s/;function J(e){for(var t=e.length;t--&&q.test(e.charAt(t)););return t}var K=J,Q=K,V=/^\s+/;function Y(e){return e&&e.slice(0,Q(e)+1).replace(V,"")}var Z=Y,ee=_,te=ee.Symbol,x=te,E=x,I=Object.prototype,re=I.hasOwnProperty,ne=I.toString,d=E?E.toStringTag:void 0;function ie(e){var t=re.call(e,d),n=e[d];try{e[d]=void 0;var i=!0}catch{}var o=ne.call(e);return i&&(t?e[d]=n:delete e[d]),o}var ae=ie,oe=Object.prototype,ce=oe.toString;function fe(e){return ce.call(e)}var se=fe,k=x,ue=ae,de=se,be="[object Null]",le="[object Undefined]",R=k?k.toStringTag:void 0;function me(e){return e==null?e===void 0?le:be:R&&R in Object(e)?ue(e):de(e)}var ge=me;function ve(e){return e!=null&&typeof e=="object"}var Te=ve,ye=ge,je=Te,$e="[object Symbol]";function Se(e){return typeof e=="symbol"||je(e)&&ye(e)==$e}var Oe=Se,pe=Z,N=j,he=Oe,w=NaN,_e=/^[-+]0x[0-9a-f]+$/i,xe=/^0b[01]+$/i,Ee=/^0o[0-7]+$/i,Ie=parseInt;function ke(e){if(typeof e=="number")return e;if(he(e))return w;if(N(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=N(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pe(e);var n=xe.test(e);return n||Ee.test(e)?Ie(e.slice(2),n?2:8):_e.test(e)?w:+e}var Re=ke,Ne=j,$=H,C=Re,we="Expected a function",Ce=Math.max,Ge=Math.min;function Le(e,t,n){var i,o,b,s,a,f,l=0,L=!1,m=!1,S=!0;if(typeof e!="function")throw new TypeError(we);t=C(t)||0,Ne(n)&&(L=!!n.leading,m="maxWait"in n,b=m?Ce(C(n.maxWait)||0,t):b,S="trailing"in n?!!n.trailing:S);function O(r){var c=i,g=o;return i=o=void 0,l=r,s=e.apply(g,c),s}function Be(r){return l=r,a=setTimeout(T,t),L?O(r):s}function Ue(r){var c=r-f,g=r-l,P=t-c;return m?Ge(P,b-g):P}function W(r){var c=r-f,g=r-l;return f===void 0||c>=t||c<0||m&&g>=b}function T(){var r=$();if(W(r))return F(r);a=setTimeout(T,Ue(r))}function F(r){return a=void 0,S&&i?O(r):(i=o=void 0,s)}function De(){a!==void 0&&clearTimeout(a),l=0,i=f=o=a=void 0}function Xe(){return a===void 0?s:F($())}function p(){var r=$(),c=W(r);if(i=arguments,o=this,f=r,c){if(a===void 0)return Be(f);if(m)return clearTimeout(a),a=setTimeout(T,t),O(f)}return a===void 0&&(a=setTimeout(T,t)),s}return p.cancel=De,p.flush=Xe,p}var G=Le;const He=h("d",y(G));var We=G,Fe=j,Pe="Expected a function";function Ae(e,t,n){var i=!0,o=!0;if(typeof e!="function")throw new TypeError(Pe);return Fe(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),We(e,t,{leading:i,maxWait:t,trailing:o})}var Me=Ae;const qe=h("t",y(Me))}}});