@openc3/vue-common 6.4.2 → 6.5.1

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 (386) hide show
  1. package/dist/{ArrayWidget-F8xL9dRA.cjs → ArrayWidget-Bb_Ldxq7.cjs} +2 -2
  2. package/dist/{ArrayWidget-F8xL9dRA.cjs.map → ArrayWidget-Bb_Ldxq7.cjs.map} +1 -1
  3. package/dist/{ArrayWidget-D0fKsdTb.js → ArrayWidget-Ck6pzAyW.js} +4 -4
  4. package/dist/{ArrayWidget-D0fKsdTb.js.map → ArrayWidget-Ck6pzAyW.js.map} +1 -1
  5. package/dist/{ArrayplotWidget-D6_PhmMa.cjs → ArrayplotWidget-DC41cpv1.cjs} +2 -2
  6. package/dist/{ArrayplotWidget-D6_PhmMa.cjs.map → ArrayplotWidget-DC41cpv1.cjs.map} +1 -1
  7. package/dist/{ArrayplotWidget-BmRSuGhA.js → ArrayplotWidget-ntRLh6-B.js} +3 -3
  8. package/dist/{ArrayplotWidget-BmRSuGhA.js.map → ArrayplotWidget-ntRLh6-B.js.map} +1 -1
  9. package/dist/AstroStatus-CILMWL6F.cjs.map +1 -1
  10. package/dist/AstroStatus-CY9VkeTN.js.map +1 -1
  11. package/dist/{BarColumn-DtYw6Gmq.js → BarColumn-Bgz2YJ59.js} +3 -3
  12. package/dist/{BarColumn-DtYw6Gmq.js.map → BarColumn-Bgz2YJ59.js.map} +1 -1
  13. package/dist/{BarColumn-DO5zpCu2.cjs → BarColumn-DtRNuOpa.cjs} +2 -2
  14. package/dist/{BarColumn-DO5zpCu2.cjs.map → BarColumn-DtRNuOpa.cjs.map} +1 -1
  15. package/dist/{BlockWidget-Dpxbw455.js → BlockWidget-DGH3Zz5p.js} +4 -4
  16. package/dist/{BlockWidget-Dpxbw455.js.map → BlockWidget-DGH3Zz5p.js.map} +1 -1
  17. package/dist/{BlockWidget-CbuJPszc.cjs → BlockWidget-DOY5lVfa.cjs} +2 -2
  18. package/dist/{BlockWidget-CbuJPszc.cjs.map → BlockWidget-DOY5lVfa.cjs.map} +1 -1
  19. package/dist/{ButtonWidget-DB464bRo.cjs → ButtonWidget-CFyZXGt6.cjs} +2 -2
  20. package/dist/{ButtonWidget-DB464bRo.cjs.map → ButtonWidget-CFyZXGt6.cjs.map} +1 -1
  21. package/dist/{ButtonWidget-8iOpXmpp.js → ButtonWidget-D_tupiPB.js} +4 -4
  22. package/dist/{ButtonWidget-8iOpXmpp.js.map → ButtonWidget-D_tupiPB.js.map} +1 -1
  23. package/dist/{CanvasWidget-D4iIs915.cjs → CanvasWidget-C6dc7mUw.cjs} +2 -2
  24. package/dist/{CanvasWidget-D4iIs915.cjs.map → CanvasWidget-C6dc7mUw.cjs.map} +1 -1
  25. package/dist/{CanvasWidget-B0iU38rA.js → CanvasWidget-CzG2jYQb.js} +2 -2
  26. package/dist/{CanvasWidget-B0iU38rA.js.map → CanvasWidget-CzG2jYQb.js.map} +1 -1
  27. package/dist/{CanvasdotWidget-C9viSVBs.js → CanvasdotWidget-0FAaw4G2.js} +2 -2
  28. package/dist/{CanvasdotWidget-C9viSVBs.js.map → CanvasdotWidget-0FAaw4G2.js.map} +1 -1
  29. package/dist/{CanvasdotWidget-DG6qDFlh.cjs → CanvasdotWidget-9bBVHC1l.cjs} +2 -2
  30. package/dist/{CanvasdotWidget-DG6qDFlh.cjs.map → CanvasdotWidget-9bBVHC1l.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-CFiCpITu.js → CanvasimageWidget-CNJlzLqo.js} +3 -3
  32. package/dist/{CanvasimageWidget-CFiCpITu.js.map → CanvasimageWidget-CNJlzLqo.js.map} +1 -1
  33. package/dist/{CanvasimageWidget-BJhOpZ3q.cjs → CanvasimageWidget-DjvdDCRS.cjs} +2 -2
  34. package/dist/{CanvasimageWidget-BJhOpZ3q.cjs.map → CanvasimageWidget-DjvdDCRS.cjs.map} +1 -1
  35. package/dist/{CanvasimagevalueWidget-D-4P_8Gh.cjs → CanvasimagevalueWidget-C1fI-ftP.cjs} +2 -2
  36. package/dist/{CanvasimagevalueWidget-D-4P_8Gh.cjs.map → CanvasimagevalueWidget-C1fI-ftP.cjs.map} +1 -1
  37. package/dist/{CanvasimagevalueWidget-fu6vbAY0.js → CanvasimagevalueWidget-DudwwOD6.js} +3 -3
  38. package/dist/{CanvasimagevalueWidget-fu6vbAY0.js.map → CanvasimagevalueWidget-DudwwOD6.js.map} +1 -1
  39. package/dist/{CanvaslabelWidget-1OS-a3F4.cjs → CanvaslabelWidget--6Sjc4E8.cjs} +2 -2
  40. package/dist/{CanvaslabelWidget-1OS-a3F4.cjs.map → CanvaslabelWidget--6Sjc4E8.cjs.map} +1 -1
  41. package/dist/{CanvaslabelWidget-BVqHq3Vp.js → CanvaslabelWidget-BZQp16dH.js} +2 -2
  42. package/dist/{CanvaslabelWidget-BVqHq3Vp.js.map → CanvaslabelWidget-BZQp16dH.js.map} +1 -1
  43. package/dist/{CanvaslabelvalueWidget-BOFa8-NU.js → CanvaslabelvalueWidget-CHS36Te9.js} +2 -2
  44. package/dist/{CanvaslabelvalueWidget-BOFa8-NU.js.map → CanvaslabelvalueWidget-CHS36Te9.js.map} +1 -1
  45. package/dist/{CanvaslabelvalueWidget-C3vVvK2b.cjs → CanvaslabelvalueWidget-DZCxsIKk.cjs} +2 -2
  46. package/dist/{CanvaslabelvalueWidget-C3vVvK2b.cjs.map → CanvaslabelvalueWidget-DZCxsIKk.cjs.map} +1 -1
  47. package/dist/{CanvaslineWidget-Cr8MsDUl.cjs → CanvaslineWidget-Bn83Rb10.cjs} +2 -2
  48. package/dist/{CanvaslineWidget-Cr8MsDUl.cjs.map → CanvaslineWidget-Bn83Rb10.cjs.map} +1 -1
  49. package/dist/{CanvaslineWidget-l3ko0QXk.js → CanvaslineWidget-nhKEAGhs.js} +2 -2
  50. package/dist/{CanvaslineWidget-l3ko0QXk.js.map → CanvaslineWidget-nhKEAGhs.js.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-DRowns-E.cjs → CanvaslinevalueWidget-C6x_4Gc9.cjs} +2 -2
  52. package/dist/{CanvaslinevalueWidget-DRowns-E.cjs.map → CanvaslinevalueWidget-C6x_4Gc9.cjs.map} +1 -1
  53. package/dist/{CanvaslinevalueWidget-BCZoO-Z6.js → CanvaslinevalueWidget-DsyIDkJy.js} +2 -2
  54. package/dist/{CanvaslinevalueWidget-BCZoO-Z6.js.map → CanvaslinevalueWidget-DsyIDkJy.js.map} +1 -1
  55. package/dist/{CheckbuttonWidget-Cy9VUV7t.cjs → CheckbuttonWidget-BvggsGZY.cjs} +2 -2
  56. package/dist/{CheckbuttonWidget-Cy9VUV7t.cjs.map → CheckbuttonWidget-BvggsGZY.cjs.map} +1 -1
  57. package/dist/{CheckbuttonWidget-BN7e1d5b.js → CheckbuttonWidget-DCam7Jd0.js} +2 -2
  58. package/dist/{CheckbuttonWidget-BN7e1d5b.js.map → CheckbuttonWidget-DCam7Jd0.js.map} +1 -1
  59. package/dist/{ComboboxWidget-DbQwLEJY.cjs → ComboboxWidget-BS5WSbrK.cjs} +2 -2
  60. package/dist/{ComboboxWidget-DbQwLEJY.cjs.map → ComboboxWidget-BS5WSbrK.cjs.map} +1 -1
  61. package/dist/{ComboboxWidget-Bb5RGXDB.js → ComboboxWidget-ZX-k-_aK.js} +2 -2
  62. package/dist/{ComboboxWidget-Bb5RGXDB.js.map → ComboboxWidget-ZX-k-_aK.js.map} +1 -1
  63. package/dist/{CriticalCmdDialog-p0ZMNHpv.cjs → CriticalCmdDialog-7tOK2XQk.cjs} +2 -2
  64. package/dist/{CriticalCmdDialog-p0ZMNHpv.cjs.map → CriticalCmdDialog-7tOK2XQk.cjs.map} +1 -1
  65. package/dist/{CriticalCmdDialog-BUHsxfpO.js → CriticalCmdDialog-Dylpoz_4.js} +2 -2
  66. package/dist/{CriticalCmdDialog-BUHsxfpO.js.map → CriticalCmdDialog-Dylpoz_4.js.map} +1 -1
  67. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -1
  68. package/dist/CustomIcon-h5X7369N.js.map +1 -1
  69. package/dist/{DateWidget-Dggqab-F.js → DateWidget-DuJ5uC2t.js} +2 -2
  70. package/dist/{DateWidget-Dggqab-F.js.map → DateWidget-DuJ5uC2t.js.map} +1 -1
  71. package/dist/{DateWidget-Cv3Uzbyr.cjs → DateWidget-jejbk2-G.cjs} +2 -2
  72. package/dist/{DateWidget-Cv3Uzbyr.cjs.map → DateWidget-jejbk2-G.cjs.map} +1 -1
  73. package/dist/{DetailsDialog-BhSAQDSK.js → DetailsDialog-BQE0TraI.js} +2 -2
  74. package/dist/DetailsDialog-BQE0TraI.js.map +1 -0
  75. package/dist/{DetailsDialog-CSUO0ibv.cjs → DetailsDialog-DmKpPDNn.cjs} +2 -2
  76. package/dist/{DetailsDialog-CSUO0ibv.cjs.map → DetailsDialog-DmKpPDNn.cjs.map} +1 -1
  77. package/dist/DynamicWidget-BWEVCUfd.cjs.map +1 -1
  78. package/dist/DynamicWidget-CfMtj7H8.js.map +1 -1
  79. package/dist/{EventListDialog-C7RuZnvD.cjs → EventListDialog-CDcJcxy5.cjs} +2 -2
  80. package/dist/{EventListDialog-C7RuZnvD.cjs.map → EventListDialog-CDcJcxy5.cjs.map} +1 -1
  81. package/dist/{EventListDialog-CSxz4nmr.js → EventListDialog-CGUFCrJF.js} +3 -3
  82. package/dist/{EventListDialog-CSxz4nmr.js.map → EventListDialog-CGUFCrJF.js.map} +1 -1
  83. package/dist/{FormatvalueWidget-B9_PbzY2.js → FormatvalueWidget-DYICPNcx.js} +3 -3
  84. package/dist/{FormatvalueWidget-B9_PbzY2.js.map → FormatvalueWidget-DYICPNcx.js.map} +1 -1
  85. package/dist/{FormatvalueWidget-VYVvrtya.cjs → FormatvalueWidget-wu7Q3sXu.cjs} +2 -2
  86. package/dist/{FormatvalueWidget-VYVvrtya.cjs.map → FormatvalueWidget-wu7Q3sXu.cjs.map} +1 -1
  87. package/dist/{Graph-B29y4d5A.js → Graph-DCihpnT0.js} +2 -2
  88. package/dist/{Graph-B29y4d5A.js.map → Graph-DCihpnT0.js.map} +1 -1
  89. package/dist/{Graph-B2Ir-2Ot.cjs → Graph-mSqImgca.cjs} +2 -2
  90. package/dist/{Graph-B2Ir-2Ot.cjs.map → Graph-mSqImgca.cjs.map} +1 -1
  91. package/dist/{GraphWidget-BsiCtRsJ.cjs → GraphWidget-CQjKAMPR.cjs} +2 -2
  92. package/dist/{GraphWidget-BsiCtRsJ.cjs.map → GraphWidget-CQjKAMPR.cjs.map} +1 -1
  93. package/dist/{GraphWidget-oBxPa3EB.js → GraphWidget-cTVq29cY.js} +2 -2
  94. package/dist/{GraphWidget-oBxPa3EB.js.map → GraphWidget-cTVq29cY.js.map} +1 -1
  95. package/dist/{HorizontalWidget-wn07kYWX.cjs → HorizontalWidget--AkRJPlL.cjs} +2 -2
  96. package/dist/{HorizontalWidget-wn07kYWX.cjs.map → HorizontalWidget--AkRJPlL.cjs.map} +1 -1
  97. package/dist/{HorizontalWidget-BWgZL_Oz.js → HorizontalWidget-v1pfd94Z.js} +2 -2
  98. package/dist/{HorizontalWidget-BWgZL_Oz.js.map → HorizontalWidget-v1pfd94Z.js.map} +1 -1
  99. package/dist/{HorizontalboxWidget-yMYUnNB8.js → HorizontalboxWidget-B06-c_n4.js} +5 -5
  100. package/dist/{HorizontalboxWidget-yMYUnNB8.js.map → HorizontalboxWidget-B06-c_n4.js.map} +1 -1
  101. package/dist/{HorizontalboxWidget-BQLGULQ-.cjs → HorizontalboxWidget-synL-Bar.cjs} +2 -2
  102. package/dist/{HorizontalboxWidget-BQLGULQ-.cjs.map → HorizontalboxWidget-synL-Bar.cjs.map} +1 -1
  103. package/dist/{HorizontallineWidget-C4zMx7z2.js → HorizontallineWidget-DEODVJCk.js} +2 -2
  104. package/dist/{HorizontallineWidget-C4zMx7z2.js.map → HorizontallineWidget-DEODVJCk.js.map} +1 -1
  105. package/dist/{HorizontallineWidget-CfrV_K28.cjs → HorizontallineWidget-lTr2JTFY.cjs} +2 -2
  106. package/dist/{HorizontallineWidget-CfrV_K28.cjs.map → HorizontallineWidget-lTr2JTFY.cjs.map} +1 -1
  107. package/dist/{IframeWidget-DeNDRzqB.cjs → IframeWidget-ByhwW9yG.cjs} +2 -2
  108. package/dist/{IframeWidget-DeNDRzqB.cjs.map → IframeWidget-ByhwW9yG.cjs.map} +1 -1
  109. package/dist/{IframeWidget-DA4P_mJT.js → IframeWidget-n8lNXrpt.js} +2 -2
  110. package/dist/{IframeWidget-DA4P_mJT.js.map → IframeWidget-n8lNXrpt.js.map} +1 -1
  111. package/dist/{ImageLoader-rvd9t-mk.js → ImageLoader-CfcErydq.js} +2 -2
  112. package/dist/{ImageLoader-rvd9t-mk.js.map → ImageLoader-CfcErydq.js.map} +1 -1
  113. package/dist/{ImageLoader-mxOVUyj1.cjs → ImageLoader-DBWVFtNu.cjs} +2 -2
  114. package/dist/{ImageLoader-mxOVUyj1.cjs.map → ImageLoader-DBWVFtNu.cjs.map} +1 -1
  115. package/dist/{ImageviewerWidget-CV76ouHz.cjs → ImageviewerWidget-D4mU6wLX.cjs} +2 -2
  116. package/dist/{ImageviewerWidget-CV76ouHz.cjs.map → ImageviewerWidget-D4mU6wLX.cjs.map} +1 -1
  117. package/dist/{ImageviewerWidget-B1wK0hK4.js → ImageviewerWidget-DE8fj06Z.js} +2 -2
  118. package/dist/{ImageviewerWidget-B1wK0hK4.js.map → ImageviewerWidget-DE8fj06Z.js.map} +1 -1
  119. package/dist/{InterfacesTab-CVvIDSTG.js → InterfacesTab-BF-Wx5gk.js} +3 -3
  120. package/dist/{InterfacesTab-CVvIDSTG.js.map → InterfacesTab-BF-Wx5gk.js.map} +1 -1
  121. package/dist/{InterfacesTab-DHoYHLxF.cjs → InterfacesTab-DTAAIx-y.cjs} +2 -2
  122. package/dist/{InterfacesTab-DHoYHLxF.cjs.map → InterfacesTab-DTAAIx-y.cjs.map} +1 -1
  123. package/dist/{LabelWidget-BobQDS5m.cjs → LabelWidget-DQZqRxKF.cjs} +2 -2
  124. package/dist/{LabelWidget-BobQDS5m.cjs.map → LabelWidget-DQZqRxKF.cjs.map} +1 -1
  125. package/dist/{LabelWidget-CY0saBoK.js → LabelWidget-iUIJLhdA.js} +2 -2
  126. package/dist/{LabelWidget-CY0saBoK.js.map → LabelWidget-iUIJLhdA.js.map} +1 -1
  127. package/dist/{LabelledWidget-Dp4fjHpu.cjs → LabelledWidget-9HWChRmv.cjs} +2 -2
  128. package/dist/{LabelledWidget-Dp4fjHpu.cjs.map → LabelledWidget-9HWChRmv.cjs.map} +1 -1
  129. package/dist/{LabelledWidget-B3ZOYaGy.js → LabelledWidget-KI6fMlsr.js} +4 -4
  130. package/dist/{LabelledWidget-B3ZOYaGy.js.map → LabelledWidget-KI6fMlsr.js.map} +1 -1
  131. package/dist/{LabelprogressbarWidget-CmXcESTg.js → LabelprogressbarWidget-C2lzmqBH.js} +4 -4
  132. package/dist/{LabelprogressbarWidget-CmXcESTg.js.map → LabelprogressbarWidget-C2lzmqBH.js.map} +1 -1
  133. package/dist/{LabelprogressbarWidget-1BF_rNsT.cjs → LabelprogressbarWidget-DwzTP73u.cjs} +2 -2
  134. package/dist/{LabelprogressbarWidget-1BF_rNsT.cjs.map → LabelprogressbarWidget-DwzTP73u.cjs.map} +1 -1
  135. package/dist/{LabelsparklineWidget-D_yrQrn6.js → LabelsparklineWidget-Ci6GGm29.js} +4 -4
  136. package/dist/{LabelsparklineWidget-D_yrQrn6.js.map → LabelsparklineWidget-Ci6GGm29.js.map} +1 -1
  137. package/dist/{LabelsparklineWidget-DgzZAWfI.cjs → LabelsparklineWidget-DMjBshq8.cjs} +2 -2
  138. package/dist/{LabelsparklineWidget-DgzZAWfI.cjs.map → LabelsparklineWidget-DMjBshq8.cjs.map} +1 -1
  139. package/dist/{LabelvalueWidget-T6FC3w0l.cjs → LabelvalueWidget-mAb0eLA8.cjs} +2 -2
  140. package/dist/{LabelvalueWidget-T6FC3w0l.cjs.map → LabelvalueWidget-mAb0eLA8.cjs.map} +1 -1
  141. package/dist/{LabelvalueWidget-dNaNfsBE.js → LabelvalueWidget-oiW-JDw6.js} +4 -4
  142. package/dist/{LabelvalueWidget-dNaNfsBE.js.map → LabelvalueWidget-oiW-JDw6.js.map} +1 -1
  143. package/dist/{LabelvaluedescWidget-Cb7UqEa-.cjs → LabelvaluedescWidget-CZJ0kZN-.cjs} +2 -2
  144. package/dist/{LabelvaluedescWidget-Cb7UqEa-.cjs.map → LabelvaluedescWidget-CZJ0kZN-.cjs.map} +1 -1
  145. package/dist/{LabelvaluedescWidget-3vNoH6Mc.js → LabelvaluedescWidget-Ck0AJ9g0.js} +5 -5
  146. package/dist/{LabelvaluedescWidget-3vNoH6Mc.js.map → LabelvaluedescWidget-Ck0AJ9g0.js.map} +1 -1
  147. package/dist/{LabelvaluelimitsbarWidget-Bi43GWx7.cjs → LabelvaluelimitsbarWidget-DjBqYxRr.cjs} +2 -2
  148. package/dist/{LabelvaluelimitsbarWidget-Bi43GWx7.cjs.map → LabelvaluelimitsbarWidget-DjBqYxRr.cjs.map} +1 -1
  149. package/dist/{LabelvaluelimitsbarWidget-7VppYVIN.js → LabelvaluelimitsbarWidget-aaVLaejn.js} +4 -4
  150. package/dist/{LabelvaluelimitsbarWidget-7VppYVIN.js.map → LabelvaluelimitsbarWidget-aaVLaejn.js.map} +1 -1
  151. package/dist/{LabelvaluelimitscolumnWidget-CtTEiWPR.cjs → LabelvaluelimitscolumnWidget-GputlDZq.cjs} +2 -2
  152. package/dist/{LabelvaluelimitscolumnWidget-CtTEiWPR.cjs.map → LabelvaluelimitscolumnWidget-GputlDZq.cjs.map} +1 -1
  153. package/dist/{LabelvaluelimitscolumnWidget-BZ6nwifg.js → LabelvaluelimitscolumnWidget-Uur6aqOg.js} +5 -5
  154. package/dist/{LabelvaluelimitscolumnWidget-BZ6nwifg.js.map → LabelvaluelimitscolumnWidget-Uur6aqOg.js.map} +1 -1
  155. package/dist/{LabelvaluerangebarWidget-IyuXLNsw.js → LabelvaluerangebarWidget-Bs9locqu.js} +4 -4
  156. package/dist/{LabelvaluerangebarWidget-IyuXLNsw.js.map → LabelvaluerangebarWidget-Bs9locqu.js.map} +1 -1
  157. package/dist/{LabelvaluerangebarWidget-C5w7sRFw.cjs → LabelvaluerangebarWidget-Ci-n_hxk.cjs} +2 -2
  158. package/dist/{LabelvaluerangebarWidget-C5w7sRFw.cjs.map → LabelvaluerangebarWidget-Ci-n_hxk.cjs.map} +1 -1
  159. package/dist/{Layout-BqMhhhws.js → Layout-1z8iJV5-.js} +2 -2
  160. package/dist/{Layout-BqMhhhws.js.map → Layout-1z8iJV5-.js.map} +1 -1
  161. package/dist/Layout-kOQnicRa.cjs +2 -0
  162. package/dist/{Layout-DUWX7PWw.cjs.map → Layout-kOQnicRa.cjs.map} +1 -1
  163. package/dist/{LedWidget-DSxpmIOK.js → LedWidget-BN8IgAxJ.js} +4 -4
  164. package/dist/{LedWidget-DSxpmIOK.js.map → LedWidget-BN8IgAxJ.js.map} +1 -1
  165. package/dist/{LedWidget-ByRkD33m.cjs → LedWidget-BUTbyEBi.cjs} +2 -2
  166. package/dist/{LedWidget-ByRkD33m.cjs.map → LedWidget-BUTbyEBi.cjs.map} +1 -1
  167. package/dist/{LimitsbarWidget-BoPTdVV5.js → LimitsbarWidget-BxxoKTjp.js} +2 -2
  168. package/dist/{LimitsbarWidget-BoPTdVV5.js.map → LimitsbarWidget-BxxoKTjp.js.map} +1 -1
  169. package/dist/{LimitsbarWidget-DAZA6YDH.cjs → LimitsbarWidget-Co5GAHro.cjs} +2 -2
  170. package/dist/{LimitsbarWidget-DAZA6YDH.cjs.map → LimitsbarWidget-Co5GAHro.cjs.map} +1 -1
  171. package/dist/{LimitscolorWidget-ECUDD3Yg.cjs → LimitscolorWidget-BpTcgqRC.cjs} +2 -2
  172. package/dist/{LimitscolorWidget-ECUDD3Yg.cjs.map → LimitscolorWidget-BpTcgqRC.cjs.map} +1 -1
  173. package/dist/{LimitscolorWidget-Bt3qOvrv.js → LimitscolorWidget-DFDwf4In.js} +2 -2
  174. package/dist/{LimitscolorWidget-Bt3qOvrv.js.map → LimitscolorWidget-DFDwf4In.js.map} +1 -1
  175. package/dist/{LimitscolumnWidget-Ce6YnUBz.js → LimitscolumnWidget-CdBh2mJu.js} +2 -2
  176. package/dist/{LimitscolumnWidget-Ce6YnUBz.js.map → LimitscolumnWidget-CdBh2mJu.js.map} +1 -1
  177. package/dist/{LimitscolumnWidget-DrsRK8l_.cjs → LimitscolumnWidget-CqJJKDzz.cjs} +2 -2
  178. package/dist/{LimitscolumnWidget-DrsRK8l_.cjs.map → LimitscolumnWidget-CqJJKDzz.cjs.map} +1 -1
  179. package/dist/{LinegraphWidget-BK03y7ev.cjs → LinegraphWidget-Bay0EtbI.cjs} +2 -2
  180. package/dist/{LinegraphWidget-BK03y7ev.cjs.map → LinegraphWidget-Bay0EtbI.cjs.map} +1 -1
  181. package/dist/{LinegraphWidget-XAbg0jj2.js → LinegraphWidget-jXksfbPb.js} +4 -4
  182. package/dist/{LinegraphWidget-XAbg0jj2.js.map → LinegraphWidget-jXksfbPb.js.map} +1 -1
  183. package/dist/{MatrixbycolumnsWidget-5MgJFZtz.js → MatrixbycolumnsWidget-DCwxPjwS.js} +3 -3
  184. package/dist/{MatrixbycolumnsWidget-5MgJFZtz.js.map → MatrixbycolumnsWidget-DCwxPjwS.js.map} +1 -1
  185. package/dist/{MatrixbycolumnsWidget-Cl1-0jWU.cjs → MatrixbycolumnsWidget-DxRhvPGv.cjs} +2 -2
  186. package/dist/{MatrixbycolumnsWidget-Cl1-0jWU.cjs.map → MatrixbycolumnsWidget-DxRhvPGv.cjs.map} +1 -1
  187. package/dist/{MicroservicesTab-DlnZ9h0y.js → MicroservicesTab-B-SdMwek.js} +3 -3
  188. package/dist/{MicroservicesTab-DlnZ9h0y.js.map → MicroservicesTab-B-SdMwek.js.map} +1 -1
  189. package/dist/{MicroservicesTab-DLAy8cBq.cjs → MicroservicesTab-DGaTcj-y.cjs} +2 -2
  190. package/dist/{MicroservicesTab-DLAy8cBq.cjs.map → MicroservicesTab-DGaTcj-y.cjs.map} +1 -1
  191. package/dist/{Openc3Screen-1vPogvfj.js → Openc3Screen-BZN0Wtrm.js} +8 -4
  192. package/dist/Openc3Screen-BZN0Wtrm.js.map +1 -0
  193. package/dist/{Openc3Screen-DERmiz3g.cjs → Openc3Screen-dtpBWZdA.cjs} +3 -3
  194. package/dist/Openc3Screen-dtpBWZdA.cjs.map +1 -0
  195. package/dist/{OutputDialog-aZe2HT6j.js → OutputDialog-CcSp-Uqo.js} +2 -2
  196. package/dist/{OutputDialog-aZe2HT6j.js.map → OutputDialog-CcSp-Uqo.js.map} +1 -1
  197. package/dist/{OutputDialog-BUc85qgI.cjs → OutputDialog-CxKDhrg6.cjs} +2 -2
  198. package/dist/{OutputDialog-BUc85qgI.cjs.map → OutputDialog-CxKDhrg6.cjs.map} +1 -1
  199. package/dist/{PackagesTab-D9h8f-Rc.cjs → PackagesTab-B4V2n4io.cjs} +2 -2
  200. package/dist/{PackagesTab-D9h8f-Rc.cjs.map → PackagesTab-B4V2n4io.cjs.map} +1 -1
  201. package/dist/{PackagesTab-D5hNxd_X.js → PackagesTab-Dx25CfF0.js} +3 -3
  202. package/dist/{PackagesTab-D5hNxd_X.js.map → PackagesTab-Dx25CfF0.js.map} +1 -1
  203. package/dist/{PluginsTab-swaGuthJ.cjs → PluginsTab-DHO1tK2S.cjs} +3 -3
  204. package/dist/PluginsTab-DHO1tK2S.cjs.map +1 -0
  205. package/dist/{PluginsTab-BP8DYqd-.js → PluginsTab-lHDR5v6S.js} +6 -4
  206. package/dist/PluginsTab-lHDR5v6S.js.map +1 -0
  207. package/dist/{ProgressbarWidget-giMKlGsU.cjs → ProgressbarWidget-C0AkbX_o.cjs} +2 -2
  208. package/dist/{ProgressbarWidget-giMKlGsU.cjs.map → ProgressbarWidget-C0AkbX_o.cjs.map} +1 -1
  209. package/dist/{ProgressbarWidget-CDwDOFIy.js → ProgressbarWidget-Cdu5nJC3.js} +2 -2
  210. package/dist/{ProgressbarWidget-CDwDOFIy.js.map → ProgressbarWidget-Cdu5nJC3.js.map} +1 -1
  211. package/dist/{RadiobuttonWidget-cQ8V8LaD.js → RadiobuttonWidget-CZZGbvdG.js} +2 -2
  212. package/dist/{RadiobuttonWidget-cQ8V8LaD.js.map → RadiobuttonWidget-CZZGbvdG.js.map} +1 -1
  213. package/dist/{RadiobuttonWidget-CDPV19UM.cjs → RadiobuttonWidget-DslmJO31.cjs} +2 -2
  214. package/dist/{RadiobuttonWidget-CDPV19UM.cjs.map → RadiobuttonWidget-DslmJO31.cjs.map} +1 -1
  215. package/dist/{RadiogroupWidget-BvRnuGA2.js → RadiogroupWidget-CQN3v8Ip.js} +2 -2
  216. package/dist/{RadiogroupWidget-BvRnuGA2.js.map → RadiogroupWidget-CQN3v8Ip.js.map} +1 -1
  217. package/dist/{RadiogroupWidget-DPYowBpl.cjs → RadiogroupWidget-DKgBAR9E.cjs} +2 -2
  218. package/dist/{RadiogroupWidget-DPYowBpl.cjs.map → RadiogroupWidget-DKgBAR9E.cjs.map} +1 -1
  219. package/dist/{RangebarWidget-DtjrqC3F.cjs → RangebarWidget-Tq80I5zA.cjs} +2 -2
  220. package/dist/{RangebarWidget-DtjrqC3F.cjs.map → RangebarWidget-Tq80I5zA.cjs.map} +1 -1
  221. package/dist/{RangebarWidget-aHmgV0qs.js → RangebarWidget-dZN9WjoZ.js} +2 -2
  222. package/dist/{RangebarWidget-aHmgV0qs.js.map → RangebarWidget-dZN9WjoZ.js.map} +1 -1
  223. package/dist/{RedisTab-DcFz87gW.cjs → RedisTab-CdiSo-CO.cjs} +2 -2
  224. package/dist/{RedisTab-DcFz87gW.cjs.map → RedisTab-CdiSo-CO.cjs.map} +1 -1
  225. package/dist/{RedisTab-D1-HQK-m.js → RedisTab-CkSwEwTZ.js} +2 -2
  226. package/dist/{RedisTab-D1-HQK-m.js.map → RedisTab-CkSwEwTZ.js.map} +1 -1
  227. package/dist/{RollupWidget-Dw2GIsBR.cjs → RollupWidget-CHdZAUCb.cjs} +2 -2
  228. package/dist/{RollupWidget-Dw2GIsBR.cjs.map → RollupWidget-CHdZAUCb.cjs.map} +1 -1
  229. package/dist/{RollupWidget-D1jUPrUQ.js → RollupWidget-i9DnNJl6.js} +2 -2
  230. package/dist/{RollupWidget-D1jUPrUQ.js.map → RollupWidget-i9DnNJl6.js.map} +1 -1
  231. package/dist/{RoutersTab-DJDjAIQf.cjs → RoutersTab-Cp8wM-mS.cjs} +2 -2
  232. package/dist/{RoutersTab-DJDjAIQf.cjs.map → RoutersTab-Cp8wM-mS.cjs.map} +1 -1
  233. package/dist/{RoutersTab-CF0ADapt.js → RoutersTab-DiYEI1Nq.js} +3 -3
  234. package/dist/{RoutersTab-CF0ADapt.js.map → RoutersTab-DiYEI1Nq.js.map} +1 -1
  235. package/dist/{ScriptChooser-CPzgZtTN.cjs → ScriptChooser-BnTP6ucF.cjs} +2 -2
  236. package/dist/{ScriptChooser-CPzgZtTN.cjs.map → ScriptChooser-BnTP6ucF.cjs.map} +1 -1
  237. package/dist/{ScriptChooser-IegS44oT.js → ScriptChooser-Cua8ObYv.js} +2 -2
  238. package/dist/{ScriptChooser-IegS44oT.js.map → ScriptChooser-Cua8ObYv.js.map} +1 -1
  239. package/dist/{ScrollwindowWidget-Cn0o3b4E.js → ScrollwindowWidget-54GU96Ve.js} +3 -3
  240. package/dist/{ScrollwindowWidget-Cn0o3b4E.js.map → ScrollwindowWidget-54GU96Ve.js.map} +1 -1
  241. package/dist/{ScrollwindowWidget-C79nSa0g.cjs → ScrollwindowWidget-C5_X-KwQ.cjs} +2 -2
  242. package/dist/{ScrollwindowWidget-C79nSa0g.cjs.map → ScrollwindowWidget-C5_X-KwQ.cjs.map} +1 -1
  243. package/dist/{SecretsTab-BVpqbRn5.cjs → SecretsTab-DY16usGc.cjs} +2 -2
  244. package/dist/{SecretsTab-BVpqbRn5.cjs.map → SecretsTab-DY16usGc.cjs.map} +1 -1
  245. package/dist/{SecretsTab-BAIHxgdM.js → SecretsTab-uWRVI1EE.js} +2 -2
  246. package/dist/{SecretsTab-BAIHxgdM.js.map → SecretsTab-uWRVI1EE.js.map} +1 -1
  247. package/dist/{SettingsTab-C2k0BDcX.js → SettingsTab-BVnr4OtU.js} +3 -3
  248. package/dist/{SettingsTab-C2k0BDcX.js.map → SettingsTab-BVnr4OtU.js.map} +1 -1
  249. package/dist/{SettingsTab-J1frSo-9.cjs → SettingsTab-BkwaDhYo.cjs} +2 -2
  250. package/dist/{SettingsTab-J1frSo-9.cjs.map → SettingsTab-BkwaDhYo.cjs.map} +1 -1
  251. package/dist/{SignalWidget-BQBzqdU-.js → SignalWidget-B_kA9eCJ.js} +2 -2
  252. package/dist/{SignalWidget-BQBzqdU-.js.map → SignalWidget-B_kA9eCJ.js.map} +1 -1
  253. package/dist/{SignalWidget-sAMVlO9e.cjs → SignalWidget-COL8kXSJ.cjs} +2 -2
  254. package/dist/{SignalWidget-sAMVlO9e.cjs.map → SignalWidget-COL8kXSJ.cjs.map} +1 -1
  255. package/dist/{SimpleTextDialog-sOMrzIs7.cjs → SimpleTextDialog-BWUqPlTv.cjs} +2 -2
  256. package/dist/{SimpleTextDialog-sOMrzIs7.cjs.map → SimpleTextDialog-BWUqPlTv.cjs.map} +1 -1
  257. package/dist/{SimpleTextDialog-3EEsXpGl.js → SimpleTextDialog-BulqUrdH.js} +2 -2
  258. package/dist/{SimpleTextDialog-3EEsXpGl.js.map → SimpleTextDialog-BulqUrdH.js.map} +1 -1
  259. package/dist/SpacerWidget-D_Ya_b1j.cjs +2 -0
  260. package/dist/{SpacerWidget-C5x4sFAQ.cjs.map → SpacerWidget-D_Ya_b1j.cjs.map} +1 -1
  261. package/dist/SpacerWidget-XoMPHak8.js +19 -0
  262. package/dist/{SpacerWidget-C0RmQY3t.js.map → SpacerWidget-XoMPHak8.js.map} +1 -1
  263. package/dist/{SparklineWidget-CfA39olv.cjs → SparklineWidget-CRzXTS5z.cjs} +2 -2
  264. package/dist/{SparklineWidget-CfA39olv.cjs.map → SparklineWidget-CRzXTS5z.cjs.map} +1 -1
  265. package/dist/{SparklineWidget-BTH9rvcX.js → SparklineWidget-DQNsvEj9.js} +4 -4
  266. package/dist/{SparklineWidget-BTH9rvcX.js.map → SparklineWidget-DQNsvEj9.js.map} +1 -1
  267. package/dist/{TabbookWidget-BrPTbXrU.cjs → TabbookWidget-Bh-GDBXg.cjs} +2 -2
  268. package/dist/{TabbookWidget-BrPTbXrU.cjs.map → TabbookWidget-Bh-GDBXg.cjs.map} +1 -1
  269. package/dist/{TabbookWidget-C-aDdEoD.js → TabbookWidget-_HVA72t5.js} +2 -2
  270. package/dist/{TabbookWidget-C-aDdEoD.js.map → TabbookWidget-_HVA72t5.js.map} +1 -1
  271. package/dist/{TargetsTab-DAmlfJ9Z.js → TargetsTab-BfoRYnTP.js} +3 -3
  272. package/dist/{TargetsTab-DAmlfJ9Z.js.map → TargetsTab-BfoRYnTP.js.map} +1 -1
  273. package/dist/{TargetsTab-BV-eELWM.cjs → TargetsTab-CGE-jQAz.cjs} +2 -2
  274. package/dist/{TargetsTab-BV-eELWM.cjs.map → TargetsTab-CGE-jQAz.cjs.map} +1 -1
  275. package/dist/TextBoxDialog-C60jmnyN.js.map +1 -1
  276. package/dist/TextBoxDialog-DWt30tB8.cjs.map +1 -1
  277. package/dist/{TextboxWidget-Dd2ccpUQ.js → TextboxWidget-0JXn4bMH.js} +4 -4
  278. package/dist/{TextboxWidget-Dd2ccpUQ.js.map → TextboxWidget-0JXn4bMH.js.map} +1 -1
  279. package/dist/{TextboxWidget-Lw5glGxY.cjs → TextboxWidget-uDptDK_z.cjs} +2 -2
  280. package/dist/{TextboxWidget-Lw5glGxY.cjs.map → TextboxWidget-uDptDK_z.cjs.map} +1 -1
  281. package/dist/{TextfieldWidget-CTsiRDIJ.cjs → TextfieldWidget-B0FCskrL.cjs} +2 -2
  282. package/dist/{TextfieldWidget-CTsiRDIJ.cjs.map → TextfieldWidget-B0FCskrL.cjs.map} +1 -1
  283. package/dist/{TextfieldWidget-DY3aFTnP.js → TextfieldWidget-BXr9MkVW.js} +2 -2
  284. package/dist/{TextfieldWidget-DY3aFTnP.js.map → TextfieldWidget-BXr9MkVW.js.map} +1 -1
  285. package/dist/{TimeWidget-C_site21.js → TimeWidget-C67uwMGH.js} +2 -2
  286. package/dist/{TimeWidget-C_site21.js.map → TimeWidget-C67uwMGH.js.map} +1 -1
  287. package/dist/{TimeWidget-CB1jqQSZ.cjs → TimeWidget-q5tUvHC6.cjs} +2 -2
  288. package/dist/{TimeWidget-CB1jqQSZ.cjs.map → TimeWidget-q5tUvHC6.cjs.map} +1 -1
  289. package/dist/{TitleWidget-E91xUafI.cjs → TitleWidget-REsd7MqR.cjs} +2 -2
  290. package/dist/{TitleWidget-E91xUafI.cjs.map → TitleWidget-REsd7MqR.cjs.map} +1 -1
  291. package/dist/{TitleWidget-Bx81VfQD.js → TitleWidget-t_YLgUMB.js} +2 -2
  292. package/dist/{TitleWidget-Bx81VfQD.js.map → TitleWidget-t_YLgUMB.js.map} +1 -1
  293. package/dist/{ToolsTab-Bu3XUxr9.cjs → ToolsTab-CGztf9_j.cjs} +2 -2
  294. package/dist/{ToolsTab-Bu3XUxr9.cjs.map → ToolsTab-CGztf9_j.cjs.map} +1 -1
  295. package/dist/{ToolsTab-CW_TQ53O.js → ToolsTab-DKYeIlXu.js} +3 -3
  296. package/dist/{ToolsTab-CW_TQ53O.js.map → ToolsTab-DKYeIlXu.js.map} +1 -1
  297. package/dist/{TopBar-CkCLoFp7.cjs → TopBar-B0UcAtIW.cjs} +2 -2
  298. package/dist/{TopBar-CkCLoFp7.cjs.map → TopBar-B0UcAtIW.cjs.map} +1 -1
  299. package/dist/{TopBar-C9ro4_7Q.js → TopBar-BrCfgCxc.js} +2 -2
  300. package/dist/{TopBar-C9ro4_7Q.js.map → TopBar-BrCfgCxc.js.map} +1 -1
  301. package/dist/{UpgradeToEnterpriseDialog-BH0WHey-.js → UpgradeToEnterpriseDialog-CGyR2v7U.js} +2 -2
  302. package/dist/{UpgradeToEnterpriseDialog-BH0WHey-.js.map → UpgradeToEnterpriseDialog-CGyR2v7U.js.map} +1 -1
  303. package/dist/{UpgradeToEnterpriseDialog-EaQZfck4.cjs → UpgradeToEnterpriseDialog-DJ3oth3I.cjs} +2 -2
  304. package/dist/{UpgradeToEnterpriseDialog-EaQZfck4.cjs.map → UpgradeToEnterpriseDialog-DJ3oth3I.cjs.map} +1 -1
  305. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CHXJm9wA.cjs → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C_HFbtFB.cjs} +4 -4
  306. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-CHXJm9wA.cjs.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-C_HFbtFB.cjs.map} +1 -1
  307. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-xI8cv5P5.js → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js} +7 -7
  308. package/dist/{UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-xI8cv5P5.js.map → UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js.map} +1 -1
  309. package/dist/{VWidget-CRqTUgEv.cjs → VWidget-BMxLXtSO.cjs} +2 -2
  310. package/dist/{VWidget-CRqTUgEv.cjs.map → VWidget-BMxLXtSO.cjs.map} +1 -1
  311. package/dist/{VWidget-DuUens7G.js → VWidget-j2GIGGSX.js} +6 -3
  312. package/dist/{VWidget-DuUens7G.js.map → VWidget-j2GIGGSX.js.map} +1 -1
  313. package/dist/{ValueWidget-cbjxVV3B.js → ValueWidget-3jNtnh5i.js} +4 -4
  314. package/dist/{ValueWidget-cbjxVV3B.js.map → ValueWidget-3jNtnh5i.js.map} +1 -1
  315. package/dist/{ValueWidget-CN-B9LDi.cjs → ValueWidget-CjZeSiPQ.cjs} +2 -2
  316. package/dist/{ValueWidget-CN-B9LDi.cjs.map → ValueWidget-CjZeSiPQ.cjs.map} +1 -1
  317. package/dist/{ValuelimitsbarWidget-BLHVD0qM.cjs → ValuelimitsbarWidget-CkLbRP8P.cjs} +2 -2
  318. package/dist/{ValuelimitsbarWidget-BLHVD0qM.cjs.map → ValuelimitsbarWidget-CkLbRP8P.cjs.map} +1 -1
  319. package/dist/{ValuelimitsbarWidget-cQb2o_xH.js → ValuelimitsbarWidget-JSceOzGS.js} +4 -4
  320. package/dist/{ValuelimitsbarWidget-cQb2o_xH.js.map → ValuelimitsbarWidget-JSceOzGS.js.map} +1 -1
  321. package/dist/{ValuelimitscolumnWidget-DqGxHe2k.cjs → ValuelimitscolumnWidget-DpU4BoB7.cjs} +2 -2
  322. package/dist/{ValuelimitscolumnWidget-DqGxHe2k.cjs.map → ValuelimitscolumnWidget-DpU4BoB7.cjs.map} +1 -1
  323. package/dist/{ValuelimitscolumnWidget-BBTuSCK9.js → ValuelimitscolumnWidget-HR1TNHwQ.js} +4 -4
  324. package/dist/{ValuelimitscolumnWidget-BBTuSCK9.js.map → ValuelimitscolumnWidget-HR1TNHwQ.js.map} +1 -1
  325. package/dist/{ValuerangebarWidget-xMsUfp1H.cjs → ValuerangebarWidget-CpZYmUl_.cjs} +2 -2
  326. package/dist/{ValuerangebarWidget-xMsUfp1H.cjs.map → ValuerangebarWidget-CpZYmUl_.cjs.map} +1 -1
  327. package/dist/{ValuerangebarWidget-Ct7iGtu0.js → ValuerangebarWidget-DnZrho8S.js} +4 -4
  328. package/dist/{ValuerangebarWidget-Ct7iGtu0.js.map → ValuerangebarWidget-DnZrho8S.js.map} +1 -1
  329. package/dist/{VerticalWidget-DiW_FZuh.cjs → VerticalWidget-CcJMMaK_.cjs} +2 -2
  330. package/dist/{VerticalWidget-DiW_FZuh.cjs.map → VerticalWidget-CcJMMaK_.cjs.map} +1 -1
  331. package/dist/{VerticalWidget-DJn02myf.js → VerticalWidget-DJvoxqLE.js} +2 -2
  332. package/dist/{VerticalWidget-DJn02myf.js.map → VerticalWidget-DJvoxqLE.js.map} +1 -1
  333. package/dist/{VerticalboxWidget-miKFocA3.cjs → VerticalboxWidget-CJR_mOLa.cjs} +2 -2
  334. package/dist/{VerticalboxWidget-miKFocA3.cjs.map → VerticalboxWidget-CJR_mOLa.cjs.map} +1 -1
  335. package/dist/{VerticalboxWidget-DHQMxtF3.js → VerticalboxWidget-CYYyLBoO.js} +5 -5
  336. package/dist/{VerticalboxWidget-DHQMxtF3.js.map → VerticalboxWidget-CYYyLBoO.js.map} +1 -1
  337. package/dist/{Widget-CP2CtyUr.js → Widget-Bn_S-zBo.js} +2 -2
  338. package/dist/{Widget-CP2CtyUr.js.map → Widget-Bn_S-zBo.js.map} +1 -1
  339. package/dist/{Widget-BMqF6Utz.cjs → Widget-O7wkmc39.cjs} +2 -2
  340. package/dist/{Widget-BMqF6Utz.cjs.map → Widget-O7wkmc39.cjs.map} +1 -1
  341. package/dist/addMonths-BtG7uZLJ.js.map +1 -1
  342. package/dist/addMonths-n1tnl3ab.cjs.map +1 -1
  343. package/dist/components.cjs +2 -2
  344. package/dist/components.cjs.map +1 -1
  345. package/dist/components.js +13 -13
  346. package/dist/components.js.map +1 -1
  347. package/dist/format-B22VpiOS.cjs.map +1 -1
  348. package/dist/format-CVeawcIv.js.map +1 -1
  349. package/dist/getDefaultOptions-Batab9o8.cjs.map +1 -1
  350. package/dist/getDefaultOptions-BhSDk-Jo.js.map +1 -1
  351. package/dist/icons.cjs.map +1 -1
  352. package/dist/icons.js.map +1 -1
  353. package/dist/index-DcL65Mqb.cjs.map +1 -1
  354. package/dist/index-qCq0L4jN.js.map +1 -1
  355. package/dist/parse-DnkEsW-3.js.map +1 -1
  356. package/dist/parse-DwfgQboe.cjs.map +1 -1
  357. package/dist/plugins.cjs.map +1 -1
  358. package/dist/plugins.js.map +1 -1
  359. package/dist/timeFilters-BKnCM4rv.js.map +1 -1
  360. package/dist/timeFilters-CJFxfjqN.cjs.map +1 -1
  361. package/dist/tools/admin.cjs +6 -11
  362. package/dist/tools/admin.cjs.map +1 -1
  363. package/dist/tools/admin.js +1041 -1178
  364. package/dist/tools/admin.js.map +1 -1
  365. package/dist/tools/base.cjs +1 -1
  366. package/dist/tools/base.cjs.map +1 -1
  367. package/dist/tools/base.js +483 -481
  368. package/dist/tools/base.js.map +1 -1
  369. package/dist/tools/calendar.cjs +1 -1
  370. package/dist/tools/calendar.js +1 -1
  371. package/dist/tools/scriptrunner.cjs +6 -6
  372. package/dist/tools/scriptrunner.cjs.map +1 -1
  373. package/dist/tools/scriptrunner.js +853 -831
  374. package/dist/tools/scriptrunner.js.map +1 -1
  375. package/dist/vue-common.css +1 -1
  376. package/dist/widgets.cjs +1 -1
  377. package/dist/widgets.js +63 -63
  378. package/package.json +2 -2
  379. package/dist/DetailsDialog-BhSAQDSK.js.map +0 -1
  380. package/dist/Layout-DUWX7PWw.cjs +0 -2
  381. package/dist/Openc3Screen-1vPogvfj.js.map +0 -1
  382. package/dist/Openc3Screen-DERmiz3g.cjs.map +0 -1
  383. package/dist/PluginsTab-BP8DYqd-.js.map +0 -1
  384. package/dist/PluginsTab-swaGuthJ.cjs.map +0 -1
  385. package/dist/SpacerWidget-C0RmQY3t.js +0 -19
  386. package/dist/SpacerWidget-C5x4sFAQ.cjs +0 -2
@@ -1,10 +1,10 @@
1
- import { a as we } from "../index-qCq0L4jN.js";
2
- import { resolveComponent as m, createBlock as M, openBlock as E, withCtx as g, createVNode as c, createElementVNode as T, createElementBlock as V, createTextVNode as S, Fragment as G, renderList as $, createCommentVNode as j, toDisplayString as A, withModifiers as H, withDirectives as ye, vShow as ve, toRaw as xe } from "vue";
3
- import { _ as q } from "../CustomIcon-h5X7369N.js";
4
- import { b as I, l as Ce } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-xI8cv5P5.js";
5
- import { A as U, T as Ee } from "../TopBar-C9ro4_7Q.js";
1
+ import { a as Ne } from "../index-qCq0L4jN.js";
2
+ import { resolveComponent as f, createBlock as T, openBlock as y, withCtx as g, createVNode as d, createElementVNode as x, createElementBlock as O, createTextVNode as w, Fragment as G, renderList as U, createCommentVNode as q, toDisplayString as A, withModifiers as P, withDirectives as Fe, vShow as He, toRaw as Pe } from "vue";
3
+ import { _ as j } from "../CustomIcon-h5X7369N.js";
4
+ import { b as D, l as Be } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_2c757408_lang-NIAkCgU6.js";
5
+ import { A as H, T as Ge } from "../TopBar-BrCfgCxc.js";
6
6
  import "single-spa";
7
- const Le = {
7
+ const Ue = {
8
8
  props: {
9
9
  modelValue: Boolean
10
10
  },
@@ -23,8 +23,8 @@ const Le = {
23
23
  get() {
24
24
  return this.modelValue;
25
25
  },
26
- set(e) {
27
- this.$emit("update:modelValue", e);
26
+ set(t) {
27
+ this.$emit("update:modelValue", t);
28
28
  }
29
29
  },
30
30
  listData: function() {
@@ -33,15 +33,15 @@ const Le = {
33
33
  },
34
34
  methods: {
35
35
  parseGithub: function() {
36
- const e = /\w+.gem/;
37
- return this.response.tree.filter((t) => e.exec(t.path)).map((t) => ({
38
- name: t.path,
39
- url: `https://raw.github.com/OpenC3/openc3-tools/main/${t.path}`
36
+ const t = /\w+.gem/;
37
+ return this.response.tree.filter((e) => t.exec(e.path)).map((e) => ({
38
+ name: e.path,
39
+ url: `https://raw.github.com/OpenC3/openc3-tools/main/${e.path}`
40
40
  }));
41
41
  },
42
42
  getResponse: function() {
43
- this.disableSearch = !0, we.get(this.url).then((e) => {
44
- this.response = e.data;
43
+ this.disableSearch = !0, Ne.get(this.url).then((t) => {
44
+ this.response = t.data;
45
45
  }), setTimeout(() => {
46
46
  this.disableSearch = !1;
47
47
  }, 1e4);
@@ -49,65 +49,65 @@ const Le = {
49
49
  searchGithub: function() {
50
50
  this.type = "github", this.url = "https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1", this.getResponse();
51
51
  },
52
- downloadGem: function(e) {
53
- const t = document.createElement("a");
54
- t.href = e.url, t.setAttribute("download", e.name), t.click(), t.remove();
52
+ downloadGem: function(t) {
53
+ const e = document.createElement("a");
54
+ e.href = t.url, e.setAttribute("download", t.name), e.click(), e.remove();
55
55
  }
56
56
  }
57
- }, Se = { class: "pa-3" }, De = { class: "px-2" }, Me = {
57
+ }, qe = { class: "pa-3" }, je = { class: "px-2" }, Ye = {
58
58
  key: 0,
59
59
  class: "mt-4"
60
- }, Te = {
60
+ }, ze = {
61
61
  key: 1,
62
62
  class: "mt-4"
63
63
  };
64
- function ke(e, t, n, o, l, i) {
65
- const s = m("v-spacer"), r = m("v-toolbar"), a = m("v-row"), f = m("v-icon"), u = m("v-btn"), h = m("v-col"), p = m("v-list-item-title"), _ = m("v-progress-circular"), w = m("v-list-item"), C = m("v-divider"), y = m("v-card-text"), b = m("v-card"), v = m("v-dialog");
66
- return E(), M(v, {
67
- modelValue: i.show,
68
- "onUpdate:modelValue": t[0] || (t[0] = (x) => i.show = x),
64
+ function We(t, e, n, l, i, o) {
65
+ const s = f("v-spacer"), r = f("v-toolbar"), a = f("v-row"), u = f("v-icon"), c = f("v-btn"), h = f("v-col"), m = f("v-list-item-title"), p = f("v-progress-circular"), v = f("v-list-item"), k = f("v-divider"), E = f("v-card-text"), b = f("v-card"), L = f("v-dialog");
66
+ return y(), T(L, {
67
+ modelValue: o.show,
68
+ "onUpdate:modelValue": e[0] || (e[0] = (_) => o.show = _),
69
69
  width: "600"
70
70
  }, {
71
71
  default: g(() => [
72
- c(b, null, {
72
+ d(b, null, {
73
73
  default: g(() => [
74
- c(r, { height: "24" }, {
74
+ d(r, { height: "24" }, {
75
75
  default: g(() => [
76
- c(s),
77
- t[1] || (t[1] = T("span", null, " Download Gems ", -1)),
78
- c(s)
76
+ d(s),
77
+ e[1] || (e[1] = x("span", null, " Download Gems ", -1)),
78
+ d(s)
79
79
  ]),
80
80
  _: 1
81
81
  }),
82
- c(y, null, {
82
+ d(E, null, {
83
83
  default: g(() => [
84
- T("div", Se, [
85
- c(a, { class: "my-2" }, {
86
- default: g(() => t[2] || (t[2] = [
87
- S(" Select a download option ")
84
+ x("div", qe, [
85
+ d(a, { class: "my-2" }, {
86
+ default: g(() => e[2] || (e[2] = [
87
+ w(" Select a download option ")
88
88
  ])),
89
89
  _: 1
90
90
  }),
91
- c(a, null, {
91
+ d(a, null, {
92
92
  default: g(() => [
93
- c(h, null, {
93
+ d(h, null, {
94
94
  default: g(() => [
95
- T("div", De, [
96
- c(u, {
95
+ x("div", je, [
96
+ d(c, {
97
97
  block: "",
98
98
  "data-test": "searchGithub",
99
99
  color: "primary",
100
- disabled: l.disableSearch,
101
- onClick: i.searchGithub
100
+ disabled: i.disableSearch,
101
+ onClick: o.searchGithub
102
102
  }, {
103
103
  default: g(() => [
104
- t[4] || (t[4] = S(" Github ")),
105
- c(f, {
104
+ e[4] || (e[4] = w(" Github ")),
105
+ d(u, {
106
106
  end: "",
107
107
  theme: "dark"
108
108
  }, {
109
- default: g(() => t[3] || (t[3] = [
110
- S(" mdi-github ")
109
+ default: g(() => e[3] || (e[3] = [
110
+ w(" mdi-github ")
111
111
  ])),
112
112
  _: 1
113
113
  })
@@ -121,41 +121,41 @@ function ke(e, t, n, o, l, i) {
121
121
  ]),
122
122
  _: 1
123
123
  }),
124
- c(a, { class: "mt-5" }, {
125
- default: g(() => t[5] || (t[5] = [
126
- S(" Community Gems ")
124
+ d(a, { class: "mt-5" }, {
125
+ default: g(() => e[5] || (e[5] = [
126
+ w(" Community Gems ")
127
127
  ])),
128
128
  _: 1
129
129
  }),
130
- i.listData.length < 1 ? (E(), V("div", Me, [
131
- c(a, { class: "mx-2" }, {
132
- default: g(() => t[6] || (t[6] = [
133
- T("span", null, " I’m sorry, Dave. No gems available.... ", -1)
130
+ o.listData.length < 1 ? (y(), O("div", Ye, [
131
+ d(a, { class: "mx-2" }, {
132
+ default: g(() => e[6] || (e[6] = [
133
+ x("span", null, " I’m sorry, Dave. No gems available.... ", -1)
134
134
  ])),
135
135
  _: 1
136
136
  })
137
- ])) : (E(), V("div", Te, [
138
- (E(!0), V(G, null, $(i.listData, (x, L) => (E(), V("div", { key: L }, [
139
- c(w, null, {
137
+ ])) : (y(), O("div", ze, [
138
+ (y(!0), O(G, null, U(o.listData, (_, S) => (y(), O("div", { key: S }, [
139
+ d(v, null, {
140
140
  default: g(() => [
141
- c(p, null, {
141
+ d(m, null, {
142
142
  default: g(() => [
143
- S(A(x.name), 1)
143
+ w(A(_.name), 1)
144
144
  ]),
145
145
  _: 2
146
146
  }, 1024),
147
- c(w, { icon: "" }, {
147
+ d(v, { icon: "" }, {
148
148
  default: g(() => [
149
- l.activeDownload ? (E(), M(_, {
149
+ i.activeDownload ? (y(), T(p, {
150
150
  key: 0,
151
151
  indeterminate: "",
152
152
  color: "primary"
153
- })) : (E(), M(u, {
153
+ })) : (y(), T(c, {
154
154
  key: 1,
155
155
  icon: "mdi-cloud-download",
156
156
  variant: "text",
157
- disabled: l.activeDownload,
158
- onClick: (k) => i.downloadGem(x)
157
+ disabled: i.activeDownload,
158
+ onClick: (M) => o.downloadGem(_)
159
159
  }, null, 8, ["disabled", "onClick"]))
160
160
  ]),
161
161
  _: 2
@@ -163,7 +163,7 @@ function ke(e, t, n, o, l, i) {
163
163
  ]),
164
164
  _: 2
165
165
  }, 1024),
166
- L < i.listData.length - 1 ? (E(), M(C, { key: L })) : j("", !0)
166
+ S < o.listData.length - 1 ? (y(), T(k, { key: S })) : q("", !0)
167
167
  ]))), 128))
168
168
  ]))
169
169
  ])
@@ -177,7 +177,7 @@ function ke(e, t, n, o, l, i) {
177
177
  _: 1
178
178
  }, 8, ["modelValue"]);
179
179
  }
180
- const ht = /* @__PURE__ */ q(Le, [["render", ke]]), Ie = {
180
+ const Kt = /* @__PURE__ */ j(Ue, [["render", We]]), Ke = {
181
181
  props: {
182
182
  content: {
183
183
  type: String,
@@ -201,8 +201,8 @@ const ht = /* @__PURE__ */ q(Le, [["render", ke]]), Ie = {
201
201
  get() {
202
202
  return this.modelValue;
203
203
  },
204
- set(e) {
205
- this.$emit("update:modelValue", e);
204
+ set(t) {
205
+ this.$emit("update:modelValue", t);
206
206
  }
207
207
  },
208
208
  title: function() {
@@ -213,8 +213,8 @@ const ht = /* @__PURE__ */ q(Le, [["render", ke]]), Ie = {
213
213
  }
214
214
  },
215
215
  mounted() {
216
- const e = this.buildPluginMode();
217
- this.editor = I.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.content), this.editor.clearSelection(), U.applyVimModeIfEnabled(this.editor), this.editor.focus(), this.readonly && this.editor.setReadOnly(!0);
216
+ const t = this.buildPluginMode();
217
+ this.editor = D.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new t()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.content), this.editor.clearSelection(), H.applyVimModeIfEnabled(this.editor), this.editor.focus(), this.readonly && this.editor.setReadOnly(!0);
218
218
  },
219
219
  beforeUnmount() {
220
220
  this.editor && this.editor.destroy();
@@ -227,114 +227,114 @@ const ht = /* @__PURE__ */ q(Le, [["render", ke]]), Ie = {
227
227
  this.show = !this.show;
228
228
  },
229
229
  download: function() {
230
- const e = new Blob([this.editor.getValue()], {
230
+ const t = new Blob([this.editor.getValue()], {
231
231
  type: "text/plain"
232
- }), t = document.createElement("a");
233
- t.href = URL.createObjectURL(e), t.setAttribute(
232
+ }), e = document.createElement("a");
233
+ e.href = URL.createObjectURL(t), e.setAttribute(
234
234
  "download",
235
235
  `${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`
236
- ), t.click();
236
+ ), e.click();
237
237
  },
238
238
  buildPluginMode() {
239
- let e = I.require("ace/lib/oop"), t = I.require(
239
+ let t = D.require("ace/lib/oop"), e = D.require(
240
240
  "ace/mode/json_highlight_rules"
241
- ).JsonHighlightRules, n = I.require(
241
+ ).JsonHighlightRules, n = D.require(
242
242
  "ace/mode/matching_brace_outdent"
243
- ).MatchingBraceOutdent, o = I.require(
243
+ ).MatchingBraceOutdent, l = D.require(
244
244
  "ace/mode/behaviour/cstyle"
245
- ).CstyleBehaviour, l = I.require("ace/mode/folding/ruby").FoldMode, i = function() {
246
- this.HighlightRules = t, this.$outdent = new n(), this.$behaviour = new o(), this.foldingRules = new l(), this.indentKeywords = this.foldingRules.indentKeywords;
247
- }, s = I.require("ace/mode/ruby").Mode;
248
- return e.inherits(i, s), (function() {
245
+ ).CstyleBehaviour, i = D.require("ace/mode/folding/ruby").FoldMode, o = function() {
246
+ this.HighlightRules = e, this.$outdent = new n(), this.$behaviour = new l(), this.foldingRules = new i(), this.indentKeywords = this.foldingRules.indentKeywords;
247
+ }, s = D.require("ace/mode/ruby").Mode;
248
+ return t.inherits(o, s), (function() {
249
249
  this.$id = "ace/mode/openc3";
250
- }).call(i.prototype), i;
250
+ }).call(o.prototype), o;
251
251
  },
252
- showContextMenu: function(e) {
253
- this.menuX = e.pageX, this.menuY = e.pageY;
254
- let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
252
+ showContextMenu: function(t) {
253
+ this.menuX = t.pageX, this.menuY = t.pageY;
254
+ let e = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(e.row, e.column);
255
255
  if (n) {
256
- let o = n.value.trim();
257
- o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
256
+ let l = n.value.trim();
257
+ l.includes(" ") ? this.docsKeyword = l.split(" ")[0] : this.docsKeyword = l, this.contextMenu = !0;
258
258
  }
259
259
  },
260
260
  toggleVimMode: function() {
261
- U.toggleVimMode(this.editor);
261
+ H.toggleVimMode(this.editor);
262
262
  }
263
263
  }
264
- }, Re = ["textContent"], Ve = { class: "pa-3" }, Ae = { key: 0 }, Ne = ["textContent"];
265
- function Oe(e, t, n, o, l, i) {
266
- const s = m("v-spacer"), r = m("v-btn"), a = m("v-toolbar"), f = m("v-row"), u = m("v-col"), h = m("v-file-input"), p = m("v-list-item"), _ = m("v-list"), w = m("v-menu"), C = m("v-card-text"), y = m("v-card"), b = m("v-dialog");
267
- return E(), M(b, {
268
- modelValue: i.show,
269
- "onUpdate:modelValue": t[4] || (t[4] = (v) => i.show = v),
264
+ }, Xe = ["textContent"], Je = { class: "pa-3" }, Qe = { key: 0 }, Ze = ["textContent"];
265
+ function et(t, e, n, l, i, o) {
266
+ const s = f("v-spacer"), r = f("v-btn"), a = f("v-toolbar"), u = f("v-row"), c = f("v-col"), h = f("v-file-input"), m = f("v-list-item"), p = f("v-list"), v = f("v-menu"), k = f("v-card-text"), E = f("v-card"), b = f("v-dialog");
267
+ return y(), T(b, {
268
+ modelValue: o.show,
269
+ "onUpdate:modelValue": e[4] || (e[4] = (L) => o.show = L),
270
270
  persistent: !n.readonly,
271
271
  width: "80vw"
272
272
  }, {
273
273
  default: g(() => [
274
- c(y, null, {
274
+ d(E, null, {
275
275
  default: g(() => [
276
- T("form", {
277
- onSubmit: t[3] || (t[3] = H((...v) => i.submit && i.submit(...v), ["prevent"]))
276
+ x("form", {
277
+ onSubmit: e[3] || (e[3] = P((...L) => o.submit && o.submit(...L), ["prevent"]))
278
278
  }, [
279
- c(a, { height: "24" }, {
279
+ d(a, { height: "24" }, {
280
280
  default: g(() => [
281
- c(s),
282
- T("span", {
283
- textContent: A(i.title)
284
- }, null, 8, Re),
285
- c(s),
286
- c(r, {
281
+ d(s),
282
+ x("span", {
283
+ textContent: A(o.title)
284
+ }, null, 8, Xe),
285
+ d(s),
286
+ d(r, {
287
287
  class: "mx-2",
288
288
  icon: "mdi-download",
289
289
  variant: "text",
290
290
  density: "compact",
291
291
  "data-test": "downloadIcon",
292
- onClick: i.download
292
+ onClick: o.download
293
293
  }, null, 8, ["onClick"])
294
294
  ]),
295
295
  _: 1
296
296
  }),
297
- c(C, null, {
297
+ d(k, null, {
298
298
  default: g(() => [
299
- T("div", Ve, [
300
- n.readonly ? j("", !0) : (E(), V("div", Ae, [
301
- c(f, { class: "mt-3" }, {
302
- default: g(() => t[5] || (t[5] = [
303
- S(" Upload a file. ")
299
+ x("div", Je, [
300
+ n.readonly ? q("", !0) : (y(), O("div", Qe, [
301
+ d(u, { class: "mt-3" }, {
302
+ default: g(() => e[5] || (e[5] = [
303
+ w(" Upload a file. ")
304
304
  ])),
305
305
  _: 1
306
306
  }),
307
- c(f, {
307
+ d(u, {
308
308
  "no-gutters": "",
309
309
  align: "center"
310
310
  }, {
311
311
  default: g(() => [
312
- c(u, { cols: "3" }, {
312
+ d(c, { cols: "3" }, {
313
313
  default: g(() => [
314
- c(r, {
314
+ d(r, {
315
315
  block: "",
316
316
  color: "success",
317
- disabled: !e.file || e.loadingFile || n.readonly,
318
- loading: e.loadingFile,
317
+ disabled: !t.file || t.loadingFile || n.readonly,
318
+ loading: t.loadingFile,
319
319
  "data-test": "editScreenLoadBtn",
320
- onClick: e.loadFile
320
+ onClick: t.loadFile
321
321
  }, {
322
- loader: g(() => t[6] || (t[6] = [
323
- T("span", null, "Loading...", -1)
322
+ loader: g(() => e[6] || (e[6] = [
323
+ x("span", null, "Loading...", -1)
324
324
  ])),
325
325
  default: g(() => [
326
- t[7] || (t[7] = S(" Load "))
326
+ e[7] || (e[7] = w(" Load "))
327
327
  ]),
328
328
  _: 1
329
329
  }, 8, ["disabled", "loading", "onClick"])
330
330
  ]),
331
331
  _: 1
332
332
  }),
333
- c(u, { cols: "9" }, {
333
+ d(c, { cols: "9" }, {
334
334
  default: g(() => [
335
- c(h, {
336
- modelValue: e.file,
337
- "onUpdate:modelValue": t[0] || (t[0] = (v) => e.file = v),
335
+ d(h, {
336
+ modelValue: t.file,
337
+ "onUpdate:modelValue": e[0] || (e[0] = (L) => t.file = L),
338
338
  accept: ".json",
339
339
  label: "Click to select .json file.",
340
340
  disabled: n.readonly
@@ -346,25 +346,25 @@ function Oe(e, t, n, o, l, i) {
346
346
  _: 1
347
347
  })
348
348
  ])),
349
- c(f, { "no-gutters": "" }, {
349
+ d(u, { "no-gutters": "" }, {
350
350
  default: g(() => [
351
- T("pre", {
351
+ x("pre", {
352
352
  ref: "editor",
353
353
  class: "editor",
354
- onContextmenu: t[1] || (t[1] = H((...v) => i.showContextMenu && i.showContextMenu(...v), ["prevent"]))
354
+ onContextmenu: e[1] || (e[1] = P((...L) => o.showContextMenu && o.showContextMenu(...L), ["prevent"]))
355
355
  }, null, 544),
356
- c(w, {
357
- modelValue: l.contextMenu,
358
- "onUpdate:modelValue": t[2] || (t[2] = (v) => l.contextMenu = v),
359
- target: [l.menuX, l.menuY]
356
+ d(v, {
357
+ modelValue: i.contextMenu,
358
+ "onUpdate:modelValue": e[2] || (e[2] = (L) => i.contextMenu = L),
359
+ target: [i.menuX, i.menuY]
360
360
  }, {
361
361
  default: g(() => [
362
- c(_, null, {
362
+ d(p, null, {
363
363
  default: g(() => [
364
- c(p, {
364
+ d(m, {
365
365
  title: "Toggle Vim mode",
366
366
  "prepend-icon": "extras:vim",
367
- onClick: i.toggleVimMode
367
+ onClick: o.toggleVimMode
368
368
  }, null, 8, ["onClick"])
369
369
  ]),
370
370
  _: 1
@@ -375,41 +375,41 @@ function Oe(e, t, n, o, l, i) {
375
375
  ]),
376
376
  _: 1
377
377
  }),
378
- c(f, { class: "my-3" }, {
378
+ d(u, { class: "my-3" }, {
379
379
  default: g(() => [
380
- ye(T("span", {
380
+ Fe(x("span", {
381
381
  class: "text-red",
382
- textContent: A(i.error)
383
- }, null, 8, Ne), [
384
- [ve, i.error]
382
+ textContent: A(o.error)
383
+ }, null, 8, Ze), [
384
+ [He, o.error]
385
385
  ])
386
386
  ]),
387
387
  _: 1
388
388
  }),
389
- c(f, null, {
389
+ d(u, null, {
390
390
  default: g(() => [
391
- c(s),
392
- c(r, {
391
+ d(s),
392
+ d(r, {
393
393
  variant: "outlined",
394
394
  class: "mx-2",
395
395
  "data-test": "editCancelBtn",
396
- onClick: H(i.close, ["prevent"])
396
+ onClick: P(o.close, ["prevent"])
397
397
  }, {
398
- default: g(() => t[8] || (t[8] = [
399
- S(" Cancel ")
398
+ default: g(() => e[8] || (e[8] = [
399
+ w(" Cancel ")
400
400
  ])),
401
401
  _: 1
402
402
  }, 8, ["onClick"]),
403
- n.readonly ? j("", !0) : (E(), M(r, {
403
+ n.readonly ? q("", !0) : (y(), T(r, {
404
404
  key: 0,
405
405
  class: "mx-2",
406
406
  color: "primary",
407
407
  type: "submit",
408
408
  "data-test": "editSubmitBtn",
409
- disabled: !!i.error || n.readonly
409
+ disabled: !!o.error || n.readonly
410
410
  }, {
411
- default: g(() => t[9] || (t[9] = [
412
- S(" Save ")
411
+ default: g(() => e[9] || (e[9] = [
412
+ w(" Save ")
413
413
  ])),
414
414
  _: 1
415
415
  }, 8, ["disabled"]))
@@ -428,7 +428,7 @@ function Oe(e, t, n, o, l, i) {
428
428
  _: 1
429
429
  }, 8, ["modelValue", "persistent"]);
430
430
  }
431
- const ut = /* @__PURE__ */ q(Ie, [["render", Oe], ["__scopeId", "data-v-e84cb3ed"]]), Pe = {
431
+ const Xt = /* @__PURE__ */ j(Ke, [["render", et], ["__scopeId", "data-v-e84cb3ed"]]), tt = {
432
432
  props: {
433
433
  modelValue: Boolean,
434
434
  plugin: String,
@@ -446,67 +446,67 @@ const ut = /* @__PURE__ */ q(Ie, [["render", Oe], ["__scopeId", "data-v-e84cb3ed
446
446
  get() {
447
447
  return this.modelValue;
448
448
  },
449
- set(e) {
450
- this.$emit("update:modelValue", e);
449
+ set(t) {
450
+ this.$emit("update:modelValue", t);
451
451
  }
452
452
  }
453
453
  },
454
454
  created() {
455
- for (const e of this.targets)
456
- Ce.get(`/openc3-api/targets/${e.name}/modified_files`).then(
457
- (t) => {
458
- t.data.length !== 0 && this.modifiedTargets.push({
459
- name: e.name,
460
- files: t.data
455
+ for (const t of this.targets)
456
+ Be.get(`/openc3-api/targets/${t.name}/modified_files`).then(
457
+ (e) => {
458
+ e.data.length !== 0 && this.modifiedTargets.push({
459
+ name: t.name,
460
+ files: e.data
461
461
  });
462
462
  }
463
463
  );
464
464
  }
465
465
  };
466
- function Fe(e, t, n, o, l, i) {
467
- const s = m("v-spacer"), r = m("v-toolbar"), a = m("v-list-item-title"), f = m("v-list-item-subtitle"), u = m("v-list-item"), h = m("v-checkbox"), p = m("v-card-text"), _ = m("v-btn"), w = m("v-card-actions"), C = m("v-card"), y = m("v-dialog");
468
- return E(), M(y, {
469
- modelValue: i.show,
470
- "onUpdate:modelValue": t[3] || (t[3] = (b) => i.show = b),
466
+ function nt(t, e, n, l, i, o) {
467
+ const s = f("v-spacer"), r = f("v-toolbar"), a = f("v-list-item-title"), u = f("v-list-item-subtitle"), c = f("v-list-item"), h = f("v-checkbox"), m = f("v-card-text"), p = f("v-btn"), v = f("v-card-actions"), k = f("v-card"), E = f("v-dialog");
468
+ return y(), T(E, {
469
+ modelValue: o.show,
470
+ "onUpdate:modelValue": e[3] || (e[3] = (b) => o.show = b),
471
471
  width: "600"
472
472
  }, {
473
473
  default: g(() => [
474
- c(C, null, {
474
+ d(k, null, {
475
475
  default: g(() => [
476
- c(r, { height: "24" }, {
476
+ d(r, { height: "24" }, {
477
477
  default: g(() => [
478
- c(s),
479
- t[4] || (t[4] = T("span", null, " Modified Plugin ", -1)),
480
- c(s)
478
+ d(s),
479
+ e[4] || (e[4] = x("span", null, " Modified Plugin ", -1)),
480
+ d(s)
481
481
  ]),
482
482
  _: 1
483
483
  }),
484
- c(p, { class: "pa-3" }, {
484
+ d(m, { class: "pa-3" }, {
485
485
  default: g(() => [
486
- T("div", null, " Plugin " + A(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
487
- (E(!0), V(G, null, $(l.modifiedTargets, (b, v) => (E(), M(u, {
488
- key: v,
486
+ x("div", null, " Plugin " + A(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
487
+ (y(!0), O(G, null, U(i.modifiedTargets, (b, L) => (y(), T(c, {
488
+ key: L,
489
489
  lines: "two"
490
490
  }, {
491
491
  default: g(() => [
492
- c(a, null, {
492
+ d(a, null, {
493
493
  default: g(() => [
494
- S(A(b.name), 1)
494
+ w(A(b.name), 1)
495
495
  ]),
496
496
  _: 2
497
497
  }, 1024),
498
- (E(!0), V(G, null, $(b.files, (x, L) => (E(), M(f, { key: L }, {
498
+ (y(!0), O(G, null, U(b.files, (_, S) => (y(), T(u, { key: S }, {
499
499
  default: g(() => [
500
- S(A(x), 1)
500
+ w(A(_), 1)
501
501
  ]),
502
502
  _: 2
503
503
  }, 1024))), 128))
504
504
  ]),
505
505
  _: 2
506
506
  }, 1024))), 128)),
507
- c(h, {
508
- modelValue: l.deleteModified,
509
- "onUpdate:modelValue": t[0] || (t[0] = (b) => l.deleteModified = b),
507
+ d(h, {
508
+ modelValue: i.deleteModified,
509
+ "onUpdate:modelValue": e[0] || (e[0] = (b) => i.deleteModified = b),
510
510
  label: "DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",
511
511
  color: "error",
512
512
  "data-test": "modified-plugin-delete-checkbox"
@@ -514,30 +514,30 @@ function Fe(e, t, n, o, l, i) {
514
514
  ]),
515
515
  _: 1
516
516
  }),
517
- c(w, { class: "px-2" }, {
517
+ d(v, { class: "px-2" }, {
518
518
  default: g(() => [
519
- c(s),
520
- c(_, {
519
+ d(s),
520
+ d(p, {
521
521
  variant: "outlined",
522
522
  "data-test": "modified-plugin-cancel",
523
- onClick: t[1] || (t[1] = () => {
524
- i.show = !1, e.$emit("cancel");
523
+ onClick: e[1] || (e[1] = () => {
524
+ o.show = !1, t.$emit("cancel");
525
525
  })
526
526
  }, {
527
- default: g(() => t[5] || (t[5] = [
528
- S(" Cancel ")
527
+ default: g(() => e[5] || (e[5] = [
528
+ w(" Cancel ")
529
529
  ])),
530
530
  _: 1
531
531
  }),
532
- c(_, {
532
+ d(p, {
533
533
  variant: "flat",
534
534
  "data-test": "modified-plugin-submit",
535
- onClick: t[2] || (t[2] = () => {
536
- i.show = !1, e.$emit("submit", l.deleteModified);
535
+ onClick: e[2] || (e[2] = () => {
536
+ o.show = !1, t.$emit("submit", i.deleteModified);
537
537
  })
538
538
  }, {
539
- default: g(() => t[6] || (t[6] = [
540
- S(" Confirm ")
539
+ default: g(() => e[6] || (e[6] = [
540
+ w(" Confirm ")
541
541
  ])),
542
542
  _: 1
543
543
  })
@@ -551,70 +551,70 @@ function Fe(e, t, n, o, l, i) {
551
551
  _: 1
552
552
  }, 8, ["modelValue"]);
553
553
  }
554
- const ct = /* @__PURE__ */ q(Pe, [["render", Fe]]), Ue = [
554
+ const Jt = /* @__PURE__ */ j(tt, [["render", nt]]), it = [
555
555
  {
556
556
  displayName: "Plugins",
557
557
  name: "PluginsTab",
558
558
  path: "plugins",
559
- component: () => import("../PluginsTab-BP8DYqd-.js")
559
+ component: () => import("../PluginsTab-lHDR5v6S.js")
560
560
  },
561
561
  {
562
562
  displayName: "Targets",
563
563
  name: "TargetsTab",
564
564
  path: "targets",
565
- component: () => import("../TargetsTab-DAmlfJ9Z.js")
565
+ component: () => import("../TargetsTab-BfoRYnTP.js")
566
566
  },
567
567
  {
568
568
  displayName: "Interfaces",
569
569
  name: "InterfacesTab",
570
570
  path: "interfaces",
571
- component: () => import("../InterfacesTab-CVvIDSTG.js")
571
+ component: () => import("../InterfacesTab-BF-Wx5gk.js")
572
572
  },
573
573
  {
574
574
  displayName: "Routers",
575
575
  name: "RoutersTab",
576
576
  path: "routers",
577
- component: () => import("../RoutersTab-CF0ADapt.js")
577
+ component: () => import("../RoutersTab-DiYEI1Nq.js")
578
578
  },
579
579
  {
580
580
  displayName: "Microservices",
581
581
  name: "MicroservicesTab",
582
582
  path: "microservices",
583
- component: () => import("../MicroservicesTab-DlnZ9h0y.js")
583
+ component: () => import("../MicroservicesTab-B-SdMwek.js")
584
584
  },
585
585
  {
586
586
  displayName: "Packages",
587
587
  name: "PackagesTab",
588
588
  path: "packages",
589
- component: () => import("../PackagesTab-D5hNxd_X.js")
589
+ component: () => import("../PackagesTab-Dx25CfF0.js")
590
590
  },
591
591
  {
592
592
  displayName: "Tools",
593
593
  name: "ToolsTab",
594
594
  path: "tools",
595
- component: () => import("../ToolsTab-CW_TQ53O.js")
595
+ component: () => import("../ToolsTab-DKYeIlXu.js")
596
596
  },
597
597
  {
598
598
  displayName: "Redis",
599
599
  name: "RedisTab",
600
600
  path: "redis",
601
- component: () => import("../RedisTab-D1-HQK-m.js")
601
+ component: () => import("../RedisTab-CkSwEwTZ.js")
602
602
  },
603
603
  {
604
604
  displayName: "Secrets",
605
605
  name: "SecretsTab",
606
606
  path: "secrets",
607
- component: () => import("../SecretsTab-BAIHxgdM.js")
607
+ component: () => import("../SecretsTab-uWRVI1EE.js")
608
608
  },
609
609
  {
610
610
  displayName: "Settings",
611
611
  name: "SettingsTab",
612
612
  path: "settings",
613
- component: () => import("../SettingsTab-C2k0BDcX.js")
613
+ component: () => import("../SettingsTab-BVnr4OtU.js")
614
614
  }
615
- ], He = {
615
+ ], ot = {
616
616
  components: {
617
- TopBar: Ee
617
+ TopBar: Ge
618
618
  },
619
619
  data() {
620
620
  return {
@@ -624,975 +624,838 @@ const ct = /* @__PURE__ */ q(Pe, [["render", Fe]]), Ue = [
624
624
  },
625
625
  computed: {
626
626
  tabs: function() {
627
- return Ue.map((e) => ({
628
- displayName: e.displayName,
629
- path: { name: e.name }
627
+ return it.map((t) => ({
628
+ displayName: t.displayName,
629
+ path: { name: t.name }
630
630
  }));
631
631
  }
632
632
  }
633
633
  };
634
- function Be(e, t, n, o, l, i) {
635
- const s = m("top-bar"), r = m("v-tab"), a = m("v-tabs"), f = m("router-view"), u = m("v-card");
636
- return E(), V("div", null, [
637
- c(s, { title: l.title }, null, 8, ["title"]),
638
- c(u, null, {
634
+ function lt(t, e, n, l, i, o) {
635
+ const s = f("top-bar"), r = f("v-tab"), a = f("v-tabs"), u = f("router-view"), c = f("v-card");
636
+ return y(), O("div", null, [
637
+ d(s, { title: i.title }, null, 8, ["title"]),
638
+ d(c, null, {
639
639
  default: g(() => [
640
- c(a, {
641
- modelValue: l.curTab,
642
- "onUpdate:modelValue": t[0] || (t[0] = (h) => l.curTab = h),
640
+ d(a, {
641
+ modelValue: i.curTab,
642
+ "onUpdate:modelValue": e[0] || (e[0] = (h) => i.curTab = h),
643
643
  "fixed-tabs": ""
644
644
  }, {
645
645
  default: g(() => [
646
- (E(!0), V(G, null, $(i.tabs, (h, p) => (E(), M(r, {
647
- key: p,
646
+ (y(!0), O(G, null, U(o.tabs, (h, m) => (y(), T(r, {
647
+ key: m,
648
648
  to: h.path
649
649
  }, {
650
650
  default: g(() => [
651
- S(A(h.displayName), 1)
651
+ w(A(h.displayName), 1)
652
652
  ]),
653
653
  _: 2
654
654
  }, 1032, ["to"]))), 128))
655
655
  ]),
656
656
  _: 1
657
657
  }, 8, ["modelValue"]),
658
- c(f)
658
+ d(u)
659
659
  ]),
660
660
  _: 1
661
661
  })
662
662
  ]);
663
663
  }
664
- const gt = /* @__PURE__ */ q(He, [["render", Be]]), d = function() {
665
- this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
666
- };
667
- d.Diff = function(e, t) {
668
- this[0] = e, this[1] = t;
669
- };
670
- d.Diff.prototype.length = 2;
671
- d.Diff.prototype.toString = function() {
672
- return this[0] + "," + this[1];
673
- };
674
- d.prototype.diff_main = function(e, t, n, o) {
675
- typeof o > "u" && (this.Diff_Timeout <= 0 ? o = Number.MAX_VALUE : o = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
676
- let l = o;
677
- if (e == null || t == null) throw new Error("Null input. (diff_main)");
678
- if (e == t) return e ? [new d.Diff(0, e)] : [];
679
- typeof n > "u" && (n = !0);
680
- let i = n, s = this.diff_commonPrefix(e, t), r = e.substring(0, s);
681
- e = e.substring(s), t = t.substring(s), s = this.diff_commonSuffix(e, t);
682
- let a = e.substring(e.length - s);
683
- e = e.substring(0, e.length - s), t = t.substring(0, t.length - s);
684
- let f = this.diff_compute_(e, t, i, l);
685
- return r && f.unshift(new d.Diff(0, r)), a && f.push(new d.Diff(0, a)), this.diff_cleanupMerge(f), f;
686
- };
687
- d.prototype.diff_compute_ = function(e, t, n, o) {
688
- let l;
689
- if (!e) return [new d.Diff(1, t)];
690
- if (!t) return [new d.Diff(-1, e)];
691
- let i = e.length > t.length ? e : t, s = e.length > t.length ? t : e, r = i.indexOf(s);
692
- return r != -1 ? (l = [new d.Diff(1, i.substring(0, r)), new d.Diff(0, s), new d.Diff(1, i.substring(r + s.length))], e.length > t.length && (l[0][0] = l[2][0] = -1), l) : s.length == 1 ? [new d.Diff(-1, e), new d.Diff(1, t)] : n && e.length > 100 && t.length > 100 ? this.diff_lineMode_(e, t, o) : this.diff_bisect_(e, t, o);
693
- };
694
- d.prototype.diff_lineMode_ = function(e, t, n) {
695
- let o = this.diff_linesToChars_(e, t);
696
- e = o.chars1, t = o.chars2;
697
- let l = o.lineArray, i = this.diff_main(e, t, !1, n);
698
- this.diff_charsToLines_(i, l), this.diff_cleanupSemantic(i), i.push(new d.Diff(0, ""));
699
- let s = 0, r = 0, a = 0, f = "", u = "";
700
- for (; s < i.length; ) {
701
- switch (i[s][0]) {
702
- case 1:
703
- a++, u += i[s][1];
704
- break;
705
- case -1:
706
- r++, f += i[s][1];
707
- break;
708
- case 0:
709
- if (r >= 1 && a >= 1) {
710
- i.splice(s - r - a, r + a), s = s - r - a;
711
- let h = this.diff_main(f, u, !1, n);
712
- for (let p = h.length - 1; p >= 0; p--) i.splice(s, 0, h[p]);
713
- s = s + h.length;
714
- }
715
- a = 0, r = 0, f = "", u = "";
716
- break;
717
- }
718
- s++;
664
+ const Qt = /* @__PURE__ */ j(ot, [["render", lt]]);
665
+ function te(t) {
666
+ const [e, n] = t;
667
+ return [e, n];
668
+ }
669
+ function le(t, e) {
670
+ let n = t, l = e;
671
+ const i = n.length, o = l.length;
672
+ if (i === 0 || o === 0)
673
+ return 0;
674
+ i > o ? n = n.substring(i - o) : i < o && (l = l.substring(0, i));
675
+ const s = Math.min(i, o);
676
+ if (n === l)
677
+ return s;
678
+ let r = 0, a = 1;
679
+ for (let u = 0; u !== -1; ) {
680
+ const c = n.substring(s - a);
681
+ if (u = l.indexOf(c), u === -1)
682
+ return r;
683
+ a += u, (u === 0 || n.substring(s - a) === l.substring(0, a)) && (r = a, a++);
719
684
  }
720
- return i.pop(), i;
721
- };
722
- d.prototype.diff_bisect_ = function(e, t, n) {
723
- let o = e.length, l = t.length, i = Math.ceil((o + l) / 2), s = i, r = 2 * i, a = new Array(r), f = new Array(r);
724
- for (let y = 0; y < r; y++) a[y] = -1, f[y] = -1;
725
- a[s + 1] = 0, f[s + 1] = 0;
726
- let u = o - l, h = u % 2 != 0, p = 0, _ = 0, w = 0, C = 0;
727
- for (let y = 0; y < i && !((/* @__PURE__ */ new Date()).getTime() > n); y++) {
728
- for (let b = -y + p; b <= y - _; b += 2) {
729
- let v = s + b, x;
730
- b == -y || b != y && a[v - 1] < a[v + 1] ? x = a[v + 1] : x = a[v - 1] + 1;
731
- let L = x - b;
732
- for (; x < o && L < l && e.charAt(x) == t.charAt(L); ) x++, L++;
733
- if (a[v] = x, x > o) _ += 2;
734
- else if (L > l) p += 2;
685
+ return r;
686
+ }
687
+ function ne(t, e) {
688
+ if (!t || !e || t[0] !== e[0])
689
+ return 0;
690
+ let n = 0, l = Math.min(t.length, e.length), i = l, o = 0;
691
+ for (; n < i; )
692
+ t.substring(o, i) === e.substring(o, i) ? (n = i, o = n) : l = i, i = Math.floor((l - n) / 2 + n);
693
+ return i;
694
+ }
695
+ function Q(t, e) {
696
+ if (!t || !e || t[t.length - 1] !== e[e.length - 1])
697
+ return 0;
698
+ let n = 0, l = Math.min(t.length, e.length), i = l, o = 0;
699
+ for (; n < i; )
700
+ t.substring(t.length - i, t.length - o) === e.substring(e.length - i, e.length - o) ? (n = i, o = n) : l = i, i = Math.floor((l - n) / 2 + n);
701
+ return i;
702
+ }
703
+ function st(t) {
704
+ const e = t.charCodeAt(0);
705
+ return e >= 55296 && e <= 56319;
706
+ }
707
+ function rt(t) {
708
+ const e = t.charCodeAt(0);
709
+ return e >= 56320 && e <= 57343;
710
+ }
711
+ function at(t, e, n) {
712
+ const l = t.length, i = e.length, o = Math.ceil((l + i) / 2), s = o, r = 2 * o, a = new Array(r), u = new Array(r);
713
+ for (let E = 0; E < r; E++)
714
+ a[E] = -1, u[E] = -1;
715
+ a[s + 1] = 0, u[s + 1] = 0;
716
+ const c = l - i, h = c % 2 !== 0;
717
+ let m = 0, p = 0, v = 0, k = 0;
718
+ for (let E = 0; E < o && !(Date.now() > n); E++) {
719
+ for (let b = -E + m; b <= E - p; b += 2) {
720
+ const L = s + b;
721
+ let _;
722
+ b === -E || b !== E && a[L - 1] < a[L + 1] ? _ = a[L + 1] : _ = a[L - 1] + 1;
723
+ let S = _ - b;
724
+ for (; _ < l && S < i && t.charAt(_) === e.charAt(S); )
725
+ _++, S++;
726
+ if (a[L] = _, _ > l)
727
+ p += 2;
728
+ else if (S > i)
729
+ m += 2;
735
730
  else if (h) {
736
- let k = s + u - b;
737
- if (k >= 0 && k < r && f[k] != -1) {
738
- let N = o - f[k];
739
- if (x >= N) return this.diff_bisectSplit_(e, t, x, L, n);
731
+ const M = s + c - b;
732
+ if (M >= 0 && M < r && u[M] !== -1) {
733
+ const N = l - u[M];
734
+ if (_ >= N)
735
+ return se(t, e, _, S, n);
740
736
  }
741
737
  }
742
738
  }
743
- for (let b = -y + w; b <= y - C; b += 2) {
744
- let v = s + b, x;
745
- b == -y || b != y && f[v - 1] < f[v + 1] ? x = f[v + 1] : x = f[v - 1] + 1;
746
- let L = x - b;
747
- for (; x < o && L < l && e.charAt(o - x - 1) == t.charAt(l - L - 1); ) x++, L++;
748
- if (f[v] = x, x > o) C += 2;
749
- else if (L > l) w += 2;
739
+ for (let b = -E + v; b <= E - k; b += 2) {
740
+ const L = s + b;
741
+ let _;
742
+ b === -E || b !== E && u[L - 1] < u[L + 1] ? _ = u[L + 1] : _ = u[L - 1] + 1;
743
+ let S = _ - b;
744
+ for (; _ < l && S < i && t.charAt(l - _ - 1) === e.charAt(i - S - 1); )
745
+ _++, S++;
746
+ if (u[L] = _, _ > l)
747
+ k += 2;
748
+ else if (S > i)
749
+ v += 2;
750
750
  else if (!h) {
751
- let k = s + u - b;
752
- if (k >= 0 && k < r && a[k] != -1) {
753
- let N = a[k], O = s + N - k;
754
- if (x = o - x, N >= x) return this.diff_bisectSplit_(e, t, N, O, n);
751
+ const M = s + c - b;
752
+ if (M >= 0 && M < r && a[M] !== -1) {
753
+ const N = a[M], Z = s + N - M;
754
+ if (_ = l - _, N >= _)
755
+ return se(t, e, N, Z, n);
755
756
  }
756
757
  }
757
758
  }
758
759
  }
759
- return [new d.Diff(-1, e), new d.Diff(1, t)];
760
- };
761
- d.prototype.diff_bisectSplit_ = function(e, t, n, o, l) {
762
- let i = e.substring(0, n), s = t.substring(0, o), r = e.substring(n), a = t.substring(o), f = this.diff_main(i, s, !1, l), u = this.diff_main(r, a, !1, l);
763
- return f.concat(u);
764
- };
765
- d.prototype.diff_linesToChars_ = function(e, t) {
766
- let n = [], o = {};
760
+ return [
761
+ [V, t],
762
+ [I, e]
763
+ ];
764
+ }
765
+ function se(t, e, n, l, i) {
766
+ const o = t.substring(0, n), s = e.substring(0, l), r = t.substring(n), a = e.substring(l), u = F(o, s, { checkLines: !1, deadline: i }), c = F(r, a, { checkLines: !1, deadline: i });
767
+ return u.concat(c);
768
+ }
769
+ function ut(t, e, n = 1) {
770
+ if (n <= 0)
771
+ return null;
772
+ const l = t.length > e.length ? t : e, i = t.length > e.length ? e : t;
773
+ if (l.length < 4 || i.length * 2 < l.length)
774
+ return null;
775
+ const o = re(l, i, Math.ceil(l.length / 4)), s = re(l, i, Math.ceil(l.length / 2));
776
+ let r;
777
+ if (o && s)
778
+ r = o[4].length > s[4].length ? o : s;
779
+ else {
780
+ if (!o && !s)
781
+ return null;
782
+ s ? o || (r = s) : r = o;
783
+ }
784
+ if (!r)
785
+ throw new Error("Unable to find a half match.");
786
+ let a, u, c, h;
787
+ t.length > e.length ? (a = r[0], u = r[1], c = r[2], h = r[3]) : (c = r[0], h = r[1], a = r[2], u = r[3]);
788
+ const m = r[4];
789
+ return [a, u, c, h, m];
790
+ }
791
+ function re(t, e, n) {
792
+ const l = t.slice(n, n + Math.floor(t.length / 4));
793
+ let i = -1, o = "", s, r, a, u;
794
+ for (; (i = e.indexOf(l, i + 1)) !== -1; ) {
795
+ const c = ne(t.slice(n), e.slice(i)), h = Q(t.slice(0, n), e.slice(0, i));
796
+ o.length < h + c && (o = e.slice(i - h, i) + e.slice(i, i + c), s = t.slice(0, n - h), r = t.slice(n + c), a = e.slice(0, i - h), u = e.slice(i + c));
797
+ }
798
+ return o.length * 2 >= t.length ? [
799
+ s || "",
800
+ r || "",
801
+ a || "",
802
+ u || "",
803
+ o || ""
804
+ ] : null;
805
+ }
806
+ function ct(t, e) {
807
+ for (let n = 0; n < t.length; n++) {
808
+ const l = t[n][1], i = [];
809
+ for (let o = 0; o < l.length; o++)
810
+ i[o] = e[l.charCodeAt(o)];
811
+ t[n][1] = i.join("");
812
+ }
813
+ }
814
+ function dt(t, e) {
815
+ const n = [], l = {};
767
816
  n[0] = "";
768
- function l(a) {
769
- let f = "", u = 0, h = -1, p = n.length;
817
+ function i(a) {
818
+ let u = "", c = 0, h = -1, m = n.length;
770
819
  for (; h < a.length - 1; ) {
771
820
  h = a.indexOf(`
772
- `, u), h == -1 && (h = a.length - 1);
773
- let _ = a.substring(u, h + 1);
774
- (o.hasOwnProperty ? o.hasOwnProperty(_) : o[_] !== void 0) ? f += String.fromCharCode(o[_]) : (p == i && (_ = a.substring(u), h = a.length), f += String.fromCharCode(p), o[_] = p, n[p++] = _), u = h + 1;
821
+ `, c), h === -1 && (h = a.length - 1);
822
+ let p = a.slice(c, h + 1);
823
+ (l.hasOwnProperty ? l.hasOwnProperty(p) : l[p] !== void 0) ? u += String.fromCharCode(l[p]) : (m === o && (p = a.slice(c), h = a.length), u += String.fromCharCode(m), l[p] = m, n[m++] = p), c = h + 1;
775
824
  }
776
- return f;
825
+ return u;
777
826
  }
778
- let i = 4e4, s = l(e);
779
- i = 65535;
780
- let r = l(t);
827
+ let o = 4e4;
828
+ const s = i(t);
829
+ o = 65535;
830
+ const r = i(e);
781
831
  return { chars1: s, chars2: r, lineArray: n };
782
- };
783
- d.prototype.diff_charsToLines_ = function(e, t) {
784
- for (let n = 0; n < e.length; n++) {
785
- let o = e[n][1], l = [];
786
- for (let i = 0; i < o.length; i++) l[i] = t[o.charCodeAt(i)];
787
- e[n][1] = l.join("");
788
- }
789
- };
790
- d.prototype.diff_commonPrefix = function(e, t) {
791
- if (!e || !t || e.charAt(0) != t.charAt(0)) return 0;
792
- let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
793
- for (; n < l; ) e.substring(i, l) == t.substring(i, l) ? (n = l, i = n) : o = l, l = Math.floor((o - n) / 2 + n);
794
- return l;
795
- };
796
- d.prototype.diff_commonSuffix = function(e, t) {
797
- if (!e || !t || e.charAt(e.length - 1) != t.charAt(t.length - 1)) return 0;
798
- let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
799
- for (; n < l; ) e.substring(e.length - l, e.length - i) == t.substring(t.length - l, t.length - i) ? (n = l, i = n) : o = l, l = Math.floor((o - n) / 2 + n);
800
- return l;
801
- };
802
- d.prototype.diff_commonOverlap_ = function(e, t) {
803
- let n = e.length, o = t.length;
804
- if (n == 0 || o == 0) return 0;
805
- n > o ? e = e.substring(n - o) : n < o && (t = t.substring(0, n));
806
- let l = Math.min(n, o);
807
- if (e == t) return l;
808
- let i = 0, s = 1;
809
- for (; ; ) {
810
- let r = e.substring(l - s), a = t.indexOf(r);
811
- if (a == -1) return i;
812
- s += a, (a == 0 || e.substring(l - s) == t.substring(0, s)) && (i = s, s++);
813
- }
814
- };
815
- d.prototype.diff_halfMatch_ = function(e, t) {
816
- if (this.Diff_Timeout <= 0) return null;
817
- let n = e.length > t.length ? e : t, o = e.length > t.length ? t : e;
818
- if (n.length < 4 || o.length * 2 < n.length) return null;
819
- let l = this;
820
- function i(w, C, y) {
821
- let b = w.substring(y, y + Math.floor(w.length / 4)), v = -1, x = "", L, k, N, O;
822
- for (; (v = C.indexOf(b, v + 1)) != -1; ) {
823
- let P = l.diff_commonPrefix(w.substring(y), C.substring(v)), F = l.diff_commonSuffix(w.substring(0, y), C.substring(0, v));
824
- x.length < F + P && (x = C.substring(v - F, v) + C.substring(v, v + P), L = w.substring(0, y - F), k = w.substring(y + P), N = C.substring(0, v - F), O = C.substring(v + P));
825
- }
826
- return x.length * 2 >= w.length ? [L, k, N, O, x] : null;
827
- }
828
- let s = i(n, o, Math.ceil(n.length / 4)), r = i(n, o, Math.ceil(n.length / 2)), a;
829
- if (!s && !r) return null;
830
- r ? s ? a = s[4].length > r[4].length ? s : r : a = r : a = s;
831
- let f, u, h, p;
832
- e.length > t.length ? (f = a[0], u = a[1], h = a[2], p = a[3]) : (h = a[0], p = a[1], f = a[2], u = a[3]);
833
- let _ = a[4];
834
- return [f, u, h, p, _];
835
- };
836
- d.prototype.diff_cleanupSemantic = function(e) {
837
- let t = !1, n = [], o = 0, l = null, i = 0, s = 0, r = 0, a = 0, f = 0;
838
- for (; i < e.length; ) e[i][0] == 0 ? (n[o++] = i, s = a, r = f, a = 0, f = 0, l = e[i][1]) : (e[i][0] == 1 ? a += e[i][1].length : f += e[i][1].length, l && l.length <= Math.max(s, r) && l.length <= Math.max(a, f) && (e.splice(n[o - 1], 0, new d.Diff(-1, l)), e[n[o - 1] + 1][0] = 1, o--, o--, i = o > 0 ? n[o - 1] : -1, s = 0, r = 0, a = 0, f = 0, l = null, t = !0)), i++;
839
- for (t && this.diff_cleanupMerge(e), this.diff_cleanupSemanticLossless(e), i = 1; i < e.length; ) {
840
- if (e[i - 1][0] == -1 && e[i][0] == 1) {
841
- let u = e[i - 1][1], h = e[i][1], p = this.diff_commonOverlap_(u, h), _ = this.diff_commonOverlap_(h, u);
842
- p >= _ ? (p >= u.length / 2 || p >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, h.substring(0, p))), e[i - 1][1] = u.substring(0, u.length - p), e[i + 1][1] = h.substring(p), i++) : (_ >= u.length / 2 || _ >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, u.substring(0, _))), e[i - 1][0] = 1, e[i - 1][1] = h.substring(0, h.length - _), e[i + 1][0] = -1, e[i + 1][1] = u.substring(_), i++), i++;
843
- }
844
- i++;
845
- }
846
- };
847
- d.prototype.diff_cleanupSemanticLossless = function(e) {
848
- function t(o, l) {
849
- if (!o || !l) return 6;
850
- let i = o.charAt(o.length - 1), s = l.charAt(0), r = i.match(d.nonAlphaNumericRegex_), a = s.match(d.nonAlphaNumericRegex_), f = r && i.match(d.whitespaceRegex_), u = a && s.match(d.whitespaceRegex_), h = f && i.match(d.linebreakRegex_), p = u && s.match(d.linebreakRegex_), _ = h && o.match(d.blanklineEndRegex_), w = p && l.match(d.blanklineStartRegex_);
851
- return _ || w ? 5 : h || p ? 4 : r && !f && u ? 3 : f || u ? 2 : r || a ? 1 : 0;
852
- }
853
- let n = 1;
854
- for (; n < e.length - 1; ) {
855
- if (e[n - 1][0] == 0 && e[n + 1][0] == 0) {
856
- let o = e[n - 1][1], l = e[n][1], i = e[n + 1][1], s = this.diff_commonSuffix(o, l);
857
- if (s) {
858
- o[o.length - s] === `
859
- ` && (s -= 1);
860
- let h = l.substring(l.length - s);
861
- o = o.substring(0, o.length - s), l = h + l.substring(0, l.length - s), i = h + i;
862
- }
863
- let r = o, a = l, f = i, u = t(o, l) + t(l, i);
864
- for (; l.charAt(0) === i.charAt(0); ) {
865
- o += l.charAt(0), l = l.substring(1) + i.charAt(0), i = i.substring(1);
866
- let h = t(o, l) + t(l, i);
867
- h >= u && (u = h, r = o, a = l, f = i);
868
- }
869
- e[n - 1][1] != r && (r ? e[n - 1][1] = r : (e.splice(n - 1, 1), n--), e[n][1] = a, f ? e[n + 1][1] = f : (e.splice(n + 1, 1), n--));
870
- }
871
- n++;
872
- }
873
- };
874
- d.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
875
- d.whitespaceRegex_ = /\s/;
876
- d.linebreakRegex_ = /[\r\n]/;
877
- d.blanklineEndRegex_ = /\n\r?\n$/;
878
- d.blanklineStartRegex_ = /^\r?\n\r?\n/;
879
- d.prototype.diff_cleanupEfficiency = function(e) {
880
- let t = !1, n = [], o = 0, l = null, i = 0, s = !1, r = !1, a = !1, f = !1;
881
- for (; i < e.length; ) e[i][0] == 0 ? (e[i][1].length < this.Diff_EditCost && (a || f) ? (n[o++] = i, s = a, r = f, l = e[i][1]) : (o = 0, l = null), a = f = !1) : (e[i][0] == -1 ? f = !0 : a = !0, l && (s && r && a && f || l.length < this.Diff_EditCost / 2 && s + r + a + f == 3) && (e.splice(n[o - 1], 0, new d.Diff(-1, l)), e[n[o - 1] + 1][0] = 1, o--, l = null, s && r ? (a = f = !0, o = 0) : (o--, i = o > 0 ? n[o - 1] : -1, a = f = !1), t = !0)), i++;
882
- t && this.diff_cleanupMerge(e);
883
- };
884
- d.prototype.diff_cleanupMerge = function(e) {
885
- e.push(new d.Diff(0, ""));
886
- let t = 0, n = 0, o = 0, l = "", i = "", s;
887
- for (; t < e.length; ) switch (e[t][0]) {
888
- case 1:
889
- o++, i += e[t][1], t++;
890
- break;
891
- case -1:
892
- n++, l += e[t][1], t++;
893
- break;
894
- case 0:
895
- n + o > 1 ? (n !== 0 && o !== 0 && (s = this.diff_commonPrefix(i, l), s !== 0 && (t - n - o > 0 && e[t - n - o - 1][0] == 0 ? e[t - n - o - 1][1] += i.substring(0, s) : (e.splice(0, 0, new d.Diff(0, i.substring(0, s))), t++), i = i.substring(s), l = l.substring(s)), s = this.diff_commonSuffix(i, l), s !== 0 && (e[t][1] = i.substring(i.length - s) + e[t][1], i = i.substring(0, i.length - s), l = l.substring(0, l.length - s))), t -= n + o, e.splice(t, n + o), l.length && (e.splice(t, 0, new d.Diff(-1, l)), t++), i.length && (e.splice(t, 0, new d.Diff(1, i)), t++), t++) : t !== 0 && e[t - 1][0] == 0 ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, o = 0, n = 0, l = "", i = "";
896
- break;
897
- }
898
- e[e.length - 1][1] === "" && e.pop();
899
- let r = !1;
900
- for (t = 1; t < e.length - 1; ) e[t - 1][0] == 0 && e[t + 1][0] == 0 && (e[t][1].substring(e[t][1].length - e[t - 1][1].length) == e[t - 1][1] ? (e[t][1] = e[t - 1][1] + e[t][1].substring(0, e[t][1].length - e[t - 1][1].length), e[t + 1][1] = e[t - 1][1] + e[t + 1][1], e.splice(t - 1, 1), r = !0) : e[t][1].substring(0, e[t + 1][1].length) == e[t + 1][1] && (e[t - 1][1] += e[t + 1][1], e[t][1] = e[t][1].substring(e[t + 1][1].length) + e[t + 1][1], e.splice(t + 1, 1), r = !0)), t++;
901
- r && this.diff_cleanupMerge(e);
902
- };
903
- d.prototype.diff_cleanupSplitSurrogates = function(e) {
904
- let t;
905
- for (let n = 0; n < e.length; n++) {
906
- let o = e[n], l = o[1][0], i = o[1][o[1].length - 1];
907
- if (o[1].length === 0) {
908
- e.splice(n--, 1);
909
- continue;
910
- }
911
- if (i && this.isHighSurrogate(i) && (t = i, o[1] = o[1].slice(0, -1)), t && l && this.isHighSurrogate(t) && this.isLowSurrogate(l) && (o[1] = t + o[1]), o[1].length === 0) {
912
- e.splice(n--, 1);
913
- continue;
914
- }
915
- }
916
- return e;
917
- };
918
- d.prototype.isHighSurrogate = function(e) {
919
- let t = e.charCodeAt(0);
920
- return t >= 55296 && t <= 56319;
921
- };
922
- d.prototype.isLowSurrogate = function(e) {
923
- let t = e.charCodeAt(0);
924
- return t >= 56320 && t <= 57343;
925
- };
926
- d.prototype.digit16 = function(e) {
927
- switch (e) {
928
- case "0":
929
- return 0;
930
- case "1":
931
- return 1;
932
- case "2":
933
- return 2;
934
- case "3":
935
- return 3;
936
- case "4":
937
- return 4;
938
- case "5":
939
- return 5;
940
- case "6":
941
- return 6;
942
- case "7":
943
- return 7;
944
- case "8":
945
- return 8;
946
- case "9":
947
- return 9;
948
- case "A":
949
- case "a":
950
- return 10;
951
- case "B":
952
- case "b":
953
- return 11;
954
- case "C":
955
- case "c":
956
- return 12;
957
- case "D":
958
- case "d":
959
- return 13;
960
- case "E":
961
- case "e":
962
- return 14;
963
- case "F":
964
- case "f":
965
- return 15;
966
- default:
967
- throw new Error("Invalid hex-code");
968
- }
969
- };
970
- d.prototype.decodeURI = function(e) {
971
- try {
972
- return decodeURI(e);
973
- } catch {
974
- let t = 0, n = "";
975
- for (; t < e.length; ) {
976
- if (e[t] !== "%") {
977
- n += e[t++];
978
- continue;
979
- }
980
- let o = (this.digit16(e[t + 1]) << 4) + this.digit16(e[t + 2]);
981
- if ((o & 128) === 0) {
982
- n += String.fromCharCode(o), t += 3;
983
- continue;
984
- }
985
- if (e[t + 3] !== "%") throw new URIError("URI malformed");
986
- let l = (this.digit16(e[t + 4]) << 4) + this.digit16(e[t + 5]);
987
- if ((l & 192) !== 128) throw new URIError("URI malformed");
988
- if (l = l & 63, (o & 224) === 192) {
989
- n += String.fromCharCode((o & 31) << 6 | l), t += 6;
990
- continue;
991
- }
992
- if (e[t + 6] !== "%") throw new URIError("URI malformed");
993
- let i = (this.digit16(e[t + 7]) << 4) + this.digit16(e[t + 8]);
994
- if ((i & 192) !== 128) throw new URIError("URI malformed");
995
- if (i = i & 63, (o & 240) === 224) {
996
- n += String.fromCharCode((o & 15) << 12 | l << 6 | i), t += 9;
997
- continue;
998
- }
999
- if (e[t + 9] !== "%") throw new URIError("URI malformed");
1000
- let s = (this.digit16(e[t + 10]) << 4) + this.digit16(e[t + 11]);
1001
- if ((s & 192) !== 128) throw new URIError("URI malformed");
1002
- if (s = s & 63, (o & 248) === 240) {
1003
- let r = (o & 7) << 18 | l << 12 | i << 6 | s;
1004
- if (r >= 65536 && r <= 1114111) {
1005
- n += String.fromCharCode((r & 65535) >>> 10 & 1023 | 55296), n += String.fromCharCode(56320 | r & 65535 & 1023), t += 12;
1006
- continue;
1007
- }
1008
- }
1009
- throw new URIError("URI malformed");
1010
- }
1011
- return n;
1012
- }
1013
- };
1014
- d.prototype.diff_xIndex = function(e, t) {
1015
- let n = 0, o = 0, l = 0, i = 0, s;
1016
- for (s = 0; s < e.length && (e[s][0] !== 1 && (n += e[s][1].length), e[s][0] !== -1 && (o += e[s][1].length), !(n > t)); s++) l = n, i = o;
1017
- return e.length != s && e[s][0] === -1 ? i : i + (t - l);
1018
- };
1019
- d.prototype.diff_prettyHtml = function(e) {
1020
- e = this.diff_cleanupSplitSurrogates(e);
1021
- let t = [], n = /&/g, o = /</g, l = />/g, i = /\n/g;
1022
- for (let s = 0; s < e.length; s++) {
1023
- let r = e[s][0], a = e[s][1].replace(n, "&amp;").replace(o, "&lt;").replace(l, "&gt;").replace(i, "&para;<br>");
1024
- switch (r) {
1025
- case 1:
1026
- t[s] = '<ins style="background:#e6ffe6;">' + a + "</ins>";
1027
- break;
1028
- case -1:
1029
- t[s] = '<del style="background:#ffe6e6;">' + a + "</del>";
1030
- break;
1031
- case 0:
1032
- t[s] = "<span>" + a + "</span>";
1033
- break;
1034
- }
1035
- }
1036
- return t.join("");
1037
- };
1038
- d.prototype.diff_text1 = function(e) {
1039
- let t = [];
1040
- for (let n = 0; n < e.length; n++) e[n][0] !== 1 && (t[n] = e[n][1]);
1041
- return t.join("");
1042
- };
1043
- d.prototype.diff_text2 = function(e) {
1044
- let t = [];
1045
- for (let n = 0; n < e.length; n++) e[n][0] !== -1 && (t[n] = e[n][1]);
1046
- return t.join("");
1047
- };
1048
- d.prototype.diff_levenshtein = function(e) {
1049
- let t = 0, n = 0, o = 0;
1050
- for (let l = 0; l < e.length; l++) {
1051
- let i = e[l][0], s = e[l][1];
1052
- switch (i) {
1053
- case 1:
1054
- n += s.length;
1055
- break;
1056
- case -1:
1057
- o += s.length;
832
+ }
833
+ function ht(t, e, n) {
834
+ let l = t, i = e;
835
+ const o = dt(l, i);
836
+ l = o.chars1, i = o.chars2;
837
+ const s = o.lineArray;
838
+ let r = F(l, i, {
839
+ checkLines: !1,
840
+ deadline: n.deadline
841
+ });
842
+ ct(r, s), r = ke(r), r.push([$, ""]);
843
+ let a = 0, u = 0, c = 0, h = "", m = "";
844
+ for (; a < r.length; ) {
845
+ switch (r[a][0]) {
846
+ case I:
847
+ c++, m += r[a][1];
1058
848
  break;
1059
- case 0:
1060
- t += Math.max(n, o), n = 0, o = 0;
849
+ case V:
850
+ u++, h += r[a][1];
1061
851
  break;
1062
- }
1063
- }
1064
- return t += Math.max(n, o), t;
1065
- };
1066
- d.prototype.diff_toDelta = function(e) {
1067
- e = this.diff_cleanupSplitSurrogates(e);
1068
- let t = [];
1069
- for (let n = 0; n < e.length; n++) switch (e[n][0]) {
1070
- case 1:
1071
- t[n] = "+" + encodeURI(e[n][1]);
1072
- break;
1073
- case -1:
1074
- t[n] = "-" + e[n][1].length;
1075
- break;
1076
- case 0:
1077
- t[n] = "=" + e[n][1].length;
1078
- break;
1079
- }
1080
- return t.join(" ").replace(/%20/g, " ");
1081
- };
1082
- d.prototype.diff_fromDelta = function(e, t) {
1083
- let n = 0, o = "", l = [], i = 0, s = 0, r = t.split(/\t/g);
1084
- for (let a = 0; a < r.length; a++) {
1085
- let f = r[a].substring(1);
1086
- switch (r[a].charAt(0)) {
1087
- case "+":
1088
- try {
1089
- l[i++] = new d.Diff(1, this.decodeURI(f));
1090
- } catch {
1091
- throw new Error("Illegal escape in diff_fromDelta: " + f);
852
+ case $:
853
+ if (u >= 1 && c >= 1) {
854
+ r.splice(a - u - c, u + c), a = a - u - c;
855
+ const p = F(h, m, {
856
+ checkLines: !1,
857
+ deadline: n.deadline
858
+ });
859
+ for (let v = p.length - 1; v >= 0; v--)
860
+ r.splice(a, 0, p[v]);
861
+ a += p.length;
1092
862
  }
1093
- break;
1094
- case "-":
1095
- case "=":
1096
- if (n = parseInt(f, 10), isNaN(n) || n < 0) throw new Error("Invalid number in diff_fromDelta: " + f);
1097
- o = e.substring(s, s += n), r[a].charAt(0) == "=" ? l[i++] = new d.Diff(0, o) : l[i++] = new d.Diff(-1, o);
863
+ c = 0, u = 0, h = "", m = "";
1098
864
  break;
1099
865
  default:
1100
- if (r[a]) throw new Error("Invalid diff operation in diff_fromDelta: " + r[a]);
866
+ throw new Error("Unknown diff operation.");
1101
867
  }
868
+ a++;
1102
869
  }
1103
- if (s != e.length) throw new Error("Delta length (" + s + ") does not equal source text length (" + e.length + ").");
1104
- return l;
1105
- };
1106
- d.prototype.match_main = function(e, t, n) {
1107
- if (e == null || t == null || n == null) throw new Error("Null input. (match_main)");
1108
- return n = Math.max(0, Math.min(n, e.length)), e == t ? 0 : e.length ? e.substring(n, n + t.length) == t ? n : this.match_bitap_(e, t, n) : -1;
1109
- };
1110
- d.prototype.match_bitap_ = function(e, t, n) {
1111
- if (t.length > this.Match_MaxBits) throw new Error("Pattern too long for this browser.");
1112
- let o = this.match_alphabet_(t), l = this;
1113
- function i(_, w) {
1114
- let C = _ / t.length, y = Math.abs(n - w);
1115
- return l.Match_Distance ? C + y / l.Match_Distance : y ? 1 : C;
1116
- }
1117
- let s = this.Match_Threshold, r = e.indexOf(t, n);
1118
- r != -1 && (s = Math.min(i(0, r), s), r = e.lastIndexOf(t, n + t.length), r != -1 && (s = Math.min(i(0, r), s)));
1119
- let a = 1 << t.length - 1;
1120
- r = -1;
1121
- let f, u, h = t.length + e.length, p;
1122
- for (let _ = 0; _ < t.length; _++) {
1123
- for (f = 0, u = h; f < u; ) i(_, n + u) <= s ? f = u : h = u, u = Math.floor((h - f) / 2 + f);
1124
- h = u;
1125
- let w = Math.max(1, n - u + 1), C = Math.min(n + u, e.length) + t.length, y = Array(C + 2);
1126
- y[C + 1] = (1 << _) - 1;
1127
- for (let b = C; b >= w; b--) {
1128
- let v = o[e.charAt(b - 1)];
1129
- if (_ === 0 ? y[b] = (y[b + 1] << 1 | 1) & v : y[b] = (y[b + 1] << 1 | 1) & v | ((p[b + 1] | p[b]) << 1 | 1) | p[b + 1], y[b] & a) {
1130
- let x = i(_, b - 1);
1131
- if (x <= s) if (s = x, r = b - 1, r > n) w = Math.max(1, 2 * n - r);
1132
- else break;
1133
- }
1134
- }
1135
- if (i(_ + 1, n) > s) break;
1136
- p = y;
1137
- }
1138
- return r;
1139
- };
1140
- d.prototype.match_alphabet_ = function(e) {
1141
- let t = {};
1142
- for (let n = 0; n < e.length; n++) t[e.charAt(n)] = 0;
1143
- for (let n = 0; n < e.length; n++) t[e.charAt(n)] |= 1 << e.length - n - 1;
1144
- return t;
1145
- };
1146
- d.prototype.patch_addContext_ = function(e, t) {
1147
- if (t.length == 0) return;
1148
- if (e.start2 === null) throw Error("patch not initialized");
1149
- let n = t.substring(e.start2, e.start2 + e.length1), o = 0;
1150
- for (; t.indexOf(n) != t.lastIndexOf(n) && n.length < this.Match_MaxBits - this.Patch_Margin - this.Patch_Margin; ) o += this.Patch_Margin, n = t.substring(e.start2 - o, e.start2 + e.length1 + o);
1151
- o += this.Patch_Margin, e.start2 - o > 0 && d.prototype.isLowSurrogate(t[e.start2 - o]) && o++;
1152
- let l = t.substring(e.start2 - o, e.start2);
1153
- l && e.diffs.unshift(new d.Diff(0, l)), e.start2 + e.length1 + o < t.length && d.prototype.isHighSurrogate(t[e.start2 + e.length1 + o]) && o++;
1154
- let i = t.substring(e.start2 + e.length1, e.start2 + e.length1 + o);
1155
- i && e.diffs.push(new d.Diff(0, i)), e.start1 -= l.length, e.start2 -= l.length, e.length1 += l.length + i.length, e.length2 += l.length + i.length;
1156
- };
1157
- d.prototype.patch_make = function(e, t, n) {
1158
- let o, l;
1159
- if (typeof e == "string" && typeof t == "string" && typeof n > "u") o = e, l = this.diff_main(o, t, !0), l.length > 2 && (this.diff_cleanupSemantic(l), this.diff_cleanupEfficiency(l));
1160
- else if (e && typeof e == "object" && typeof t > "u" && typeof n > "u") l = e, o = this.diff_text1(l);
1161
- else if (typeof e == "string" && t && typeof t == "object" && typeof n > "u") o = e, l = t;
1162
- else if (typeof e == "string" && typeof t == "string" && n && typeof n == "object") o = e, l = n;
1163
- else throw new Error("Unknown call format to patch_make.");
1164
- if (l.length === 0) return [];
1165
- l = this.diff_cleanupSplitSurrogates(l);
1166
- let i = [], s = new d.patch_obj(), r = 0, a = 0, f = 0, u = o, h = o;
1167
- for (let p = 0; p < l.length; p++) {
1168
- let _ = l[p][0], w = l[p][1];
1169
- switch (!r && _ !== 0 && (s.start1 = a, s.start2 = f), _) {
1170
- case 1:
1171
- s.diffs[r++] = l[p], s.length2 += w.length, h = h.substring(0, f) + w + h.substring(f);
1172
- break;
1173
- case -1:
1174
- s.length1 += w.length, s.diffs[r++] = l[p], h = h.substring(0, f) + h.substring(f + w.length);
1175
- break;
1176
- case 0:
1177
- w.length <= 2 * this.Patch_Margin && r && l.length != p + 1 ? (s.diffs[r++] = l[p], s.length1 += w.length, s.length2 += w.length) : w.length >= 2 * this.Patch_Margin && r && (this.patch_addContext_(s, u), i.push(s), s = new d.patch_obj(), r = 0, u = h, a = f);
1178
- break;
1179
- }
1180
- _ !== 1 && (a += w.length), _ !== -1 && (f += w.length);
1181
- }
1182
- return r && (this.patch_addContext_(s, u), i.push(s)), i;
1183
- };
1184
- d.prototype.patch_deepCopy = function(e) {
1185
- let t = [];
1186
- for (let n = 0; n < e.length; n++) {
1187
- let o = e[n], l = new d.patch_obj();
1188
- l.diffs = [];
1189
- for (let i = 0; i < o.diffs.length; i++) l.diffs[i] = new d.Diff(o.diffs[i][0], o.diffs[i][1]);
1190
- l.start1 = o.start1, l.start2 = o.start2, l.length1 = o.length1, l.length2 = o.length2, t[n] = l;
870
+ return r.pop(), r;
871
+ }
872
+ function gt(t, e, n) {
873
+ let l;
874
+ if (!t)
875
+ return [[I, e]];
876
+ if (!e)
877
+ return [[V, t]];
878
+ const i = t.length > e.length ? t : e, o = t.length > e.length ? e : t, s = i.indexOf(o);
879
+ if (s !== -1)
880
+ return l = [
881
+ [I, i.substring(0, s)],
882
+ [$, o],
883
+ [I, i.substring(s + o.length)]
884
+ ], t.length > e.length && (l[0][0] = V, l[2][0] = V), l;
885
+ if (o.length === 1)
886
+ return [
887
+ [V, t],
888
+ [I, e]
889
+ ];
890
+ const r = ut(t, e);
891
+ if (r) {
892
+ const a = r[0], u = r[1], c = r[2], h = r[3], m = r[4], p = F(a, c, n), v = F(u, h, n);
893
+ return p.concat([[$, m]], v);
1191
894
  }
895
+ return n.checkLines && t.length > 100 && e.length > 100 ? ht(t, e, n) : at(t, e, n.deadline);
896
+ }
897
+ var ft = Object.defineProperty, ae = Object.getOwnPropertySymbols, mt = Object.prototype.hasOwnProperty, pt = Object.prototype.propertyIsEnumerable, ue = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, _t = (t, e) => {
898
+ for (var n in e || (e = {}))
899
+ mt.call(e, n) && ue(t, n, e[n]);
900
+ if (ae)
901
+ for (var n of ae(e))
902
+ pt.call(e, n) && ue(t, n, e[n]);
1192
903
  return t;
1193
904
  };
1194
- d.prototype.patch_apply = function(e, t) {
1195
- if (e.length == 0) return [t, []];
1196
- e = this.patch_deepCopy(e);
1197
- let n = this.patch_addPadding(e);
1198
- t = n + t + n, this.patch_splitMax(e);
1199
- let o = 0, l = [];
1200
- for (let i = 0; i < e.length; i++) {
1201
- let s = e[i].start2 + o, r = this.diff_text1(e[i].diffs), a, f = -1;
1202
- if (r.length > this.Match_MaxBits ? (a = this.match_main(t, r.substring(0, this.Match_MaxBits), s), a != -1 && (f = this.match_main(t, r.substring(r.length - this.Match_MaxBits), s + r.length - this.Match_MaxBits), (f == -1 || a >= f) && (a = -1))) : a = this.match_main(t, r, s), a == -1) l[i] = !1, o -= e[i].length2 - e[i].length1;
1203
- else {
1204
- l[i] = !0, o = a - s;
1205
- let u;
1206
- if (f == -1 ? u = t.substring(a, a + r.length) : u = t.substring(a, f + this.Match_MaxBits), r == u) t = t.substring(0, a) + this.diff_text2(e[i].diffs) + t.substring(a + r.length);
1207
- else {
1208
- let h = this.diff_main(r, u, !1);
1209
- if (r.length > this.Match_MaxBits && this.diff_levenshtein(h) / r.length > this.Patch_DeleteThreshold) l[i] = !1;
1210
- else {
1211
- this.diff_cleanupSemanticLossless(h);
1212
- let p = 0, _;
1213
- for (let w = 0; w < e[i].diffs.length; w++) {
1214
- let C = e[i].diffs[w];
1215
- C[0] !== 0 && (_ = this.diff_xIndex(h, p)), C[0] === 1 ? t = t.substring(0, a + _) + C[1] + t.substring(a + _) : C[0] === -1 && (t = t.substring(0, a + _) + t.substring(a + this.diff_xIndex(h, p + C[1].length))), C[0] !== -1 && (p += C[1].length);
1216
- }
905
+ const V = -1, I = 1, $ = 0;
906
+ function bt(t, e, n) {
907
+ if (t === null || e === null)
908
+ throw new Error("Null input. (diff)");
909
+ const l = F(t, e, Lt(n || {}));
910
+ return wt(l), l;
911
+ }
912
+ function F(t, e, n) {
913
+ let l = t, i = e;
914
+ if (l === i)
915
+ return l ? [[$, l]] : [];
916
+ let o = ne(l, i);
917
+ const s = l.substring(0, o);
918
+ l = l.substring(o), i = i.substring(o), o = Q(l, i);
919
+ const r = l.substring(l.length - o);
920
+ l = l.substring(0, l.length - o), i = i.substring(0, i.length - o);
921
+ let a = gt(l, i, n);
922
+ return s && a.unshift([$, s]), r && a.push([$, r]), a = ie(a), a;
923
+ }
924
+ function vt(t) {
925
+ let e = 1;
926
+ return typeof t < "u" && (e = t <= 0 ? Number.MAX_VALUE : t), Date.now() + e * 1e3;
927
+ }
928
+ function Lt(t) {
929
+ return _t({
930
+ checkLines: !0,
931
+ deadline: vt(t.timeout || 1)
932
+ }, t);
933
+ }
934
+ function z(t, e, n) {
935
+ return n === 1 ? t + e : e + t;
936
+ }
937
+ function W(t, e) {
938
+ return e === 1 ? [t.substring(0, t.length - 1), t[t.length - 1]] : [t.substring(1), t[0]];
939
+ }
940
+ function yt(t, e, n, l) {
941
+ return l === 1 ? t[e][1][t[e][1].length - 1] === t[n][1][t[n][1].length - 1] : t[e][1][0] === t[n][1][0];
942
+ }
943
+ function ce(t, e, n) {
944
+ const l = n === 1 ? -1 : 1;
945
+ let i = null, o = null, s = e + n;
946
+ for (; s >= 0 && s < t.length && (i === null || o === null); s += n) {
947
+ const [u, c] = t[s];
948
+ if (c.length !== 0) {
949
+ if (u === I) {
950
+ i === null && (i = s);
951
+ continue;
952
+ } else if (u === V) {
953
+ o === null && (o = s);
954
+ continue;
955
+ } else if (u === $) {
956
+ if (i === null && o === null) {
957
+ const [h, m] = W(t[e][1], n);
958
+ t[e][1] = h, t[s][1] = z(t[s][1], m, l);
959
+ return;
1217
960
  }
961
+ break;
1218
962
  }
1219
963
  }
1220
964
  }
1221
- return t = t.substring(n.length, t.length - n.length), [t, l];
1222
- };
1223
- d.prototype.patch_addPadding = function(e) {
1224
- let t = this.Patch_Margin, n = "";
1225
- for (let i = 1; i <= t; i++) n += String.fromCharCode(i);
1226
- for (let i = 0; i < e.length; i++) e[i].start1 += t, e[i].start2 += t;
1227
- let o = e[0], l = o.diffs;
1228
- if (l.length == 0 || l[0][0] != 0) l.unshift(new d.Diff(0, n)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
1229
- else if (t > l[0][1].length) {
1230
- let i = t - l[0][1].length;
1231
- l[0][1] = n.substring(l[0][1].length) + l[0][1], o.start1 -= i, o.start2 -= i, o.length1 += i, o.length2 += i;
965
+ if (i !== null && o !== null && yt(t, i, o, n)) {
966
+ const [u, c] = W(t[i][1], l), [h] = W(t[o][1], l);
967
+ t[i][1] = u, t[o][1] = h, t[e][1] = z(t[e][1], c, n);
968
+ return;
1232
969
  }
1233
- if (o = e[e.length - 1], l = o.diffs, l.length == 0 || l[l.length - 1][0] != 0) l.push(new d.Diff(0, n)), o.length1 += t, o.length2 += t;
1234
- else if (t > l[l.length - 1][1].length) {
1235
- let i = t - l[l.length - 1][1].length;
1236
- l[l.length - 1][1] += n.substring(0, i), o.length1 += i, o.length2 += i;
970
+ const [r, a] = W(t[e][1], n);
971
+ t[e][1] = r, i === null ? (t.splice(s, 0, [I, a]), o !== null && o >= s && o++) : t[i][1] = z(t[i][1], a, l), o === null ? t.splice(s, 0, [V, a]) : t[o][1] = z(t[o][1], a, l);
972
+ }
973
+ function wt(t) {
974
+ for (let e = 0; e < t.length; e++) {
975
+ const [n, l] = t[e];
976
+ if (l.length === 0) continue;
977
+ const i = l[0], o = l[l.length - 1];
978
+ st(o) && n === $ && ce(t, e, 1), rt(i) && n === $ && ce(t, e, -1);
1237
979
  }
1238
- return n;
1239
- };
1240
- d.prototype.patch_splitMax = function(e) {
1241
- let t = this.Match_MaxBits;
1242
- for (let n = 0; n < e.length; n++) {
1243
- if (e[n].length1 <= t) continue;
1244
- let o = e[n];
1245
- e.splice(n--, 1);
1246
- let l = o.start1, i = o.start2, s = "";
1247
- for (; o.diffs.length !== 0; ) {
1248
- let r = new d.patch_obj(), a = !0;
1249
- for (r.start1 = l - s.length, r.start2 = i - s.length, s !== "" && (r.length1 = r.length2 = s.length, r.diffs.push(new d.Diff(0, s))); o.diffs.length !== 0 && r.length1 < t - this.Patch_Margin; ) {
1250
- let u = o.diffs[0][0], h = o.diffs[0][1];
1251
- u === 1 ? (r.length2 += h.length, i += h.length, r.diffs.push(o.diffs.shift()), a = !1) : u === -1 && r.diffs.length == 1 && r.diffs[0][0] == 0 && h.length > 2 * t ? (r.length1 += h.length, l += h.length, a = !1, r.diffs.push(new d.Diff(u, h)), o.diffs.shift()) : (h = h.substring(0, t - r.length1 - this.Patch_Margin), r.length1 += h.length, l += h.length, u === 0 ? (r.length2 += h.length, i += h.length) : a = !1, r.diffs.push(new d.Diff(u, h)), h == o.diffs[0][1] ? o.diffs.shift() : o.diffs[0][1] = o.diffs[0][1].substring(h.length));
1252
- }
1253
- s = this.diff_text2(r.diffs), s = s.substring(s.length - this.Patch_Margin);
1254
- let f = this.diff_text1(o.diffs).substring(0, this.Patch_Margin);
1255
- f !== "" && (r.length1 += f.length, r.length2 += f.length, r.diffs.length !== 0 && r.diffs[r.diffs.length - 1][0] === 0 ? r.diffs[r.diffs.length - 1][1] += f : r.diffs.push(new d.Diff(0, f))), a || e.splice(++n, 0, r);
980
+ for (let e = 0; e < t.length; e++)
981
+ t[e][1].length === 0 && t.splice(e, 1);
982
+ }
983
+ function ke(t) {
984
+ let e = t.map((h) => te(h)), n = !1;
985
+ const l = [];
986
+ let i = 0, o = null, s = 0, r = 0, a = 0, u = 0, c = 0;
987
+ for (; s < e.length; )
988
+ e[s][0] === $ ? (l[i++] = s, r = u, a = c, u = 0, c = 0, o = e[s][1]) : (e[s][0] === I ? u += e[s][1].length : c += e[s][1].length, o && o.length <= Math.max(r, a) && o.length <= Math.max(u, c) && (e.splice(l[i - 1], 0, [V, o]), e[l[i - 1] + 1][0] = I, i--, i--, s = i > 0 ? l[i - 1] : -1, r = 0, a = 0, u = 0, c = 0, o = null, n = !0)), s++;
989
+ for (n && (e = ie(e)), e = St(e), s = 1; s < e.length; ) {
990
+ if (e[s - 1][0] === V && e[s][0] === I) {
991
+ const h = e[s - 1][1], m = e[s][1], p = le(h, m), v = le(m, h);
992
+ p >= v ? (p >= h.length / 2 || p >= m.length / 2) && (e.splice(s, 0, [$, m.substring(0, p)]), e[s - 1][1] = h.substring(0, h.length - p), e[s + 1][1] = m.substring(p), s++) : (v >= h.length / 2 || v >= m.length / 2) && (e.splice(s, 0, [$, h.substring(0, v)]), e[s - 1][0] = I, e[s - 1][1] = m.substring(0, m.length - v), e[s + 1][0] = V, e[s + 1][1] = h.substring(v), s++), s++;
1256
993
  }
994
+ s++;
1257
995
  }
1258
- };
1259
- d.prototype.patch_toText = function(e) {
1260
- let t = [];
1261
- for (let n = 0; n < e.length; n++) t[n] = e[n];
1262
- return t.join("");
1263
- };
1264
- d.prototype.patch_fromText = function(e) {
1265
- let t = [];
1266
- if (!e) return t;
1267
- let n = e.split(`
1268
- `), o = 0, l = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
1269
- for (; o < n.length; ) {
1270
- let i = n[o].match(l);
1271
- if (!i) throw new Error("Invalid patch string: " + n[o]);
1272
- let s = new d.patch_obj();
1273
- for (t.push(s), s.start1 = parseInt(i[1], 10), i[2] === "" ? (s.start1--, s.length1 = 1) : i[2] == "0" ? s.length1 = 0 : (s.start1--, s.length1 = parseInt(i[2], 10)), s.start2 = parseInt(i[3], 10), i[4] === "" ? (s.start2--, s.length2 = 1) : i[4] == "0" ? s.length2 = 0 : (s.start2--, s.length2 = parseInt(i[4], 10)), o++; o < n.length; ) {
1274
- let r = n[o].charAt(0), a = "";
1275
- try {
1276
- a = decodeURI(n[o].substring(1));
1277
- } catch {
1278
- throw new Error("Illegal escape in patch_fromText: " + a);
996
+ return e;
997
+ }
998
+ const de = /[^a-zA-Z0-9]/, he = /\s/, ge = /[\r\n]/, Ct = /\n\r?\n$/, Et = /^\r?\n\r?\n/;
999
+ function St(t) {
1000
+ const e = t.map((i) => te(i));
1001
+ function n(i, o) {
1002
+ if (!i || !o)
1003
+ return 6;
1004
+ const s = i.charAt(i.length - 1), r = o.charAt(0), a = s.match(de), u = r.match(de), c = a && s.match(he), h = u && r.match(he), m = c && s.match(ge), p = h && r.match(ge), v = m && i.match(Ct), k = p && o.match(Et);
1005
+ return v || k ? 5 : m || p ? 4 : a && !c && h ? 3 : c || h ? 2 : a || u ? 1 : 0;
1006
+ }
1007
+ let l = 1;
1008
+ for (; l < e.length - 1; ) {
1009
+ if (e[l - 1][0] === $ && e[l + 1][0] === $) {
1010
+ let i = e[l - 1][1], o = e[l][1], s = e[l + 1][1];
1011
+ const r = Q(i, o);
1012
+ if (r) {
1013
+ const m = o.substring(o.length - r);
1014
+ i = i.substring(0, i.length - r), o = m + o.substring(0, o.length - r), s = m + s;
1279
1015
  }
1280
- if (r == "-") s.diffs.push(new d.Diff(-1, a));
1281
- else if (r == "+") s.diffs.push(new d.Diff(1, a));
1282
- else if (r == " ") s.diffs.push(new d.Diff(0, a));
1283
- else {
1284
- if (r == "@") break;
1285
- if (r !== "") throw new Error('Invalid patch mode "' + r + '" in: ' + a);
1016
+ let a = i, u = o, c = s, h = n(i, o) + n(o, s);
1017
+ for (; o.charAt(0) === s.charAt(0); ) {
1018
+ i += o.charAt(0), o = o.substring(1) + s.charAt(0), s = s.substring(1);
1019
+ const m = n(i, o) + n(o, s);
1020
+ m >= h && (h = m, a = i, u = o, c = s);
1286
1021
  }
1287
- o++;
1022
+ e[l - 1][1] !== a && (a ? e[l - 1][1] = a : (e.splice(l - 1, 1), l--), e[l][1] = u, c ? e[l + 1][1] = c : (e.splice(l + 1, 1), l--));
1288
1023
  }
1024
+ l++;
1289
1025
  }
1290
- return t;
1291
- };
1292
- d.patch_obj = function() {
1293
- this.diffs = [], this.start1 = null, this.start2 = null, this.length1 = 0, this.length2 = 0;
1294
- };
1295
- d.patch_obj.prototype.toString = function() {
1296
- let e, t;
1297
- this.length1 === 0 ? e = this.start1 + ",0" : this.length1 == 1 ? e = this.start1 + 1 : e = this.start1 + 1 + "," + this.length1, this.length2 === 0 ? t = this.start2 + ",0" : this.length2 == 1 ? t = this.start2 + 1 : t = this.start2 + 1 + "," + this.length2;
1298
- let n = ["@@ -" + e + " +" + t + ` @@
1299
- `], o;
1300
- d.prototype.diff_cleanupSplitSurrogates(this.diffs);
1301
- for (let l = 0; l < this.diffs.length; l++) {
1302
- switch (this.diffs[l][0]) {
1303
- case 1:
1304
- o = "+";
1026
+ return e;
1027
+ }
1028
+ function ie(t) {
1029
+ let e = t.map((u) => te(u));
1030
+ e.push([$, ""]);
1031
+ let n = 0, l = 0, i = 0, o = "", s = "", r;
1032
+ for (; n < e.length; )
1033
+ switch (e[n][0]) {
1034
+ case I:
1035
+ i++, s += e[n][1], n++;
1305
1036
  break;
1306
- case -1:
1307
- o = "-";
1037
+ case V:
1038
+ l++, o += e[n][1], n++;
1308
1039
  break;
1309
- case 0:
1310
- o = " ";
1040
+ case $:
1041
+ l + i > 1 ? (l !== 0 && i !== 0 && (r = ne(s, o), r !== 0 && (n - l - i > 0 && e[n - l - i - 1][0] === $ ? e[n - l - i - 1][1] += s.substring(
1042
+ 0,
1043
+ r
1044
+ ) : (e.splice(0, 0, [$, s.substring(0, r)]), n++), s = s.substring(r), o = o.substring(r)), r = Q(s, o), r !== 0 && (e[n][1] = s.substring(s.length - r) + e[n][1], s = s.substring(0, s.length - r), o = o.substring(0, o.length - r))), n -= l + i, e.splice(n, l + i), o.length && (e.splice(n, 0, [V, o]), n++), s.length && (e.splice(n, 0, [I, s]), n++), n++) : n !== 0 && e[n - 1][0] === $ ? (e[n - 1][1] += e[n][1], e.splice(n, 1)) : n++, i = 0, l = 0, o = "", s = "";
1311
1045
  break;
1046
+ default:
1047
+ throw new Error("Unknown diff operation");
1312
1048
  }
1313
- n[l + 1] = o + encodeURI(this.diffs[l][1]) + `
1314
- `;
1315
- }
1316
- return n.join("").replace(/%20/g, " ");
1317
- };
1318
- function z(e) {
1319
- return e && typeof e == "object" && !Array.isArray(e) && e !== null;
1320
- }
1321
- function J(e, t) {
1322
- return z(e) && z(t) && Object.keys(t).forEach((n) => {
1323
- n === "__proto__" || n === "constructor" || (z(t[n]) ? ((!e[n] || !z(e[n])) && (e[n] = t[n]), J(e[n], t[n])) : Object.assign(e, { [n]: t[n] }));
1324
- }), e;
1325
- }
1326
- function Q(e, t, n = !1) {
1327
- let o = null, l = !0;
1328
- return (...i) => {
1329
- const s = n && l, r = () => {
1330
- e.apply(this, i), o = null;
1049
+ e[e.length - 1][1] === "" && e.pop();
1050
+ let a = !1;
1051
+ for (n = 1; n < e.length - 1; )
1052
+ e[n - 1][0] === $ && e[n + 1][0] === $ && (e[n][1].substring(e[n][1].length - e[n - 1][1].length) === e[n - 1][1] ? (e[n][1] = e[n - 1][1] + e[n][1].substring(0, e[n][1].length - e[n - 1][1].length), e[n + 1][1] = e[n - 1][1] + e[n + 1][1], e.splice(n - 1, 1), a = !0) : e[n][1].substring(0, e[n + 1][1].length) === e[n + 1][1] && (e[n - 1][1] += e[n + 1][1], e[n][1] = e[n][1].substring(e[n + 1][1].length) + e[n + 1][1], e.splice(n + 1, 1), a = !0)), n++;
1053
+ return a && (e = ie(e)), e;
1054
+ }
1055
+ function K(t) {
1056
+ return t && typeof t == "object" && !Array.isArray(t) && t !== null;
1057
+ }
1058
+ function oe(t, e) {
1059
+ return K(t) && K(e) && Object.keys(e).forEach((n) => {
1060
+ n === "__proto__" || n === "constructor" || (K(e[n]) ? ((!t[n] || !K(t[n])) && (t[n] = e[n]), oe(t[n], e[n])) : Object.assign(t, {
1061
+ [n]: e[n]
1062
+ }));
1063
+ }), t;
1064
+ }
1065
+ function fe(t, e, n = !1) {
1066
+ let l = null, i = !0;
1067
+ return (...o) => {
1068
+ const s = n && i, r = () => {
1069
+ t.apply(this, o), l = null;
1331
1070
  };
1332
- s && (l = !1, r()), o || (o = setTimeout(r, t));
1071
+ s && (i = !1, r()), l || (l = setTimeout(r, e));
1333
1072
  };
1334
1073
  }
1335
- function Ge(e, t) {
1074
+ function $t(t, e) {
1336
1075
  let n;
1337
- return (...o) => {
1338
- const l = this;
1339
- clearTimeout(n), n = setTimeout(() => e.apply(l, o), t);
1076
+ return (...l) => {
1077
+ const i = this;
1078
+ clearTimeout(n), n = setTimeout(() => t.apply(i, l), e);
1340
1079
  };
1341
1080
  }
1342
- function Z(e = "") {
1343
- return e.replace(/\r\n/g, `
1081
+ function me(t = "") {
1082
+ return t.replace(/\r\n/g, `
1344
1083
  `);
1345
1084
  }
1346
- function ee(e, t, n, o) {
1347
- const l = n - e, i = e + l / 2;
1348
- return `M ${e} ${t} C ${i},${t} ${i},${o} ${n},${o}`;
1349
- }
1350
- const D = { DIFF_EQUAL: 0, DIFF_DELETE: -1, DIFF_INSERT: 1, EDITOR_RIGHT: "right", EDITOR_LEFT: "left", RTL: "rtl", LTR: "ltr", SVG_NS: "http://www.w3.org/2000/svg", DIFF_GRANULARITY_SPECIFIC: "specific", DIFF_GRANULARITY_BROAD: "broad" };
1351
- function te(e, t) {
1352
- let { mode: n } = e.options;
1353
- return t === D.EDITOR_LEFT && e.options.left.mode !== null && (n = e.options.left.mode), t === D.EDITOR_RIGHT && e.options.right.mode !== null && (n = e.options.right.mode), n;
1354
- }
1355
- function ne(e, t) {
1356
- let { theme: n } = e.options;
1357
- return t === D.EDITOR_LEFT && e.options.left.theme !== null && (n = e.options.left.theme), t === D.EDITOR_RIGHT && e.options.right.theme !== null && (n = e.options.right.theme), n;
1358
- }
1359
- function ce(e, t) {
1360
- return e.ace.getSession().doc.getLine(t);
1361
- }
1362
- function $e(e) {
1363
- return document.getElementById(e.options.left.id).offsetHeight;
1364
- }
1365
- function ie(e) {
1366
- const t = document.createElement("div"), n = { class: e.className, style: `top:${e.topOffset}px`, title: e.tooltip, "data-diff-index": e.diffIndex };
1367
- for (const o in n) t.setAttribute(o, n[o]);
1368
- return t.innerHTML = e.arrowContent, t;
1369
- }
1370
- function W(e, t) {
1371
- const n = Math.random().toString(36).substr(2, 5), o = `js-${t}-${n}`, l = e.querySelector(`.${t}`);
1372
- if (l) return l.id = l.id || o, l.id;
1373
- const i = document.createElement("div");
1374
- return e.appendChild(i), i.className = t, i.id = o, i.id;
1375
- }
1376
- function oe(e, t, n, o) {
1377
- const l = e === "document" ? document : document.querySelector(e);
1378
- l.addEventListener(t, (i) => {
1379
- const s = l.querySelectorAll(n), { target: r } = i;
1380
- for (let a = 0, f = s.length; a < f; a += 1) {
1381
- let u = r;
1085
+ function pe(t, e, n, l) {
1086
+ const i = n - t, o = t + i / 2;
1087
+ return `M ${t} ${e} C ${o},${e} ${o},${l} ${n},${l}`;
1088
+ }
1089
+ var C = {
1090
+ DIFF_EQUAL: 0,
1091
+ DIFF_DELETE: -1,
1092
+ DIFF_INSERT: 1,
1093
+ EDITOR_RIGHT: "right",
1094
+ EDITOR_LEFT: "left",
1095
+ RTL: "rtl",
1096
+ LTR: "ltr",
1097
+ SVG_NS: "http://www.w3.org/2000/svg",
1098
+ DIFF_GRANULARITY_SPECIFIC: "specific",
1099
+ DIFF_GRANULARITY_BROAD: "broad"
1100
+ };
1101
+ function _e(t, e) {
1102
+ let { mode: n } = t.options;
1103
+ return e === C.EDITOR_LEFT && t.options.left.mode !== null && (n = t.options.left.mode), e === C.EDITOR_RIGHT && t.options.right.mode !== null && (n = t.options.right.mode), n;
1104
+ }
1105
+ function be(t, e) {
1106
+ let { theme: n } = t.options;
1107
+ return e === C.EDITOR_LEFT && t.options.left.theme !== null && (n = t.options.left.theme), e === C.EDITOR_RIGHT && t.options.right.theme !== null && (n = t.options.right.theme), n;
1108
+ }
1109
+ function De(t, e) {
1110
+ return t.ace.getSession().doc.getLine(e);
1111
+ }
1112
+ function Tt(t) {
1113
+ return document.getElementById(t.options.left.id).offsetHeight;
1114
+ }
1115
+ function ve(t) {
1116
+ const e = document.createElement("div"), n = {
1117
+ class: t.className,
1118
+ style: `top:${t.topOffset}px`,
1119
+ title: t.tooltip,
1120
+ "data-diff-index": t.diffIndex
1121
+ };
1122
+ for (const l in n) e.setAttribute(l, n[l]);
1123
+ return e.innerHTML = t.arrowContent, e;
1124
+ }
1125
+ function ee(t, e) {
1126
+ const n = Math.random().toString(36).substr(2, 5), l = `js-${e}-${n}`, i = t.querySelector(`.${e}`);
1127
+ if (i)
1128
+ return i.id = i.id || l, i.id;
1129
+ const o = document.createElement("div");
1130
+ return t.appendChild(o), o.className = e, o.id = l, o.id;
1131
+ }
1132
+ function Le(t, e, n, l) {
1133
+ const i = t === "document" ? document : document.querySelector(t);
1134
+ i.addEventListener(e, (o) => {
1135
+ const s = i.querySelectorAll(n), { target: r } = o;
1136
+ for (let a = 0, u = s.length; a < u; a += 1) {
1137
+ let c = r;
1382
1138
  const h = s[a];
1383
- for (; u && u !== l; ) u === h && o.call(h, i), u = u.parentNode;
1139
+ for (; c && c !== i; )
1140
+ c === h && l.call(h, o), c = c.parentNode;
1384
1141
  }
1385
1142
  });
1386
1143
  }
1387
- let K;
1388
- function je(e) {
1389
- if (e.Range) return e.Range;
1390
- const t = e.acequire || e.require;
1391
- return t ? t("ace/range") : !1;
1392
- }
1393
- function X(e = {}) {
1394
- if (!(this instanceof X)) return new X(e);
1395
- const t = this, n = () => window ? window.ace : void 0;
1396
- t.options = J({ ace: n(), mode: null, theme: null, element: null, diffGranularity: D.DIFF_GRANULARITY_BROAD, lockScrolling: !1, showDiffs: !0, showConnectors: !0, maxDiffs: 5e3, left: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, right: { id: null, content: null, mode: null, theme: null, editable: !0, copyLinkEnabled: !0 }, classes: { gutterID: "acediff__gutter", diff: "acediff__diffLine", connector: "acediff__connector", newCodeConnectorLink: "acediff__newCodeConnector", newCodeConnectorLinkContent: "&#8594;", deletedCodeConnectorLink: "acediff__deletedCodeConnector", deletedCodeConnectorLinkContent: "&#8592;", copyRightContainer: "acediff__copy--right", copyLeftContainer: "acediff__copy--left" }, connectorYOffset: 0 }, e);
1397
- const { ace: o } = t.options;
1398
- if (!o) {
1399
- const l = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1400
- return console.error(l), new Error(l);
1144
+ let X;
1145
+ function xt(t) {
1146
+ if (t.Range) return t.Range;
1147
+ const e = t.acequire || t.require;
1148
+ return e ? e("ace/range") : !1;
1149
+ }
1150
+ function J(t = {}) {
1151
+ if (!(this instanceof J)) return new J(t);
1152
+ const e = this, n = () => window ? window.ace : void 0;
1153
+ e.options = oe({
1154
+ ace: n(),
1155
+ mode: null,
1156
+ theme: null,
1157
+ element: null,
1158
+ diffGranularity: C.DIFF_GRANULARITY_BROAD,
1159
+ lockScrolling: !1,
1160
+ showDiffs: !0,
1161
+ showConnectors: !0,
1162
+ maxDiffs: 5e3,
1163
+ left: {
1164
+ id: null,
1165
+ content: null,
1166
+ mode: null,
1167
+ theme: null,
1168
+ editable: !0,
1169
+ copyLinkEnabled: !0
1170
+ },
1171
+ right: {
1172
+ id: null,
1173
+ content: null,
1174
+ mode: null,
1175
+ theme: null,
1176
+ editable: !0,
1177
+ copyLinkEnabled: !0
1178
+ },
1179
+ classes: {
1180
+ gutterID: "acediff__gutter",
1181
+ diff: "acediff__diffLine",
1182
+ connector: "acediff__connector",
1183
+ newCodeConnectorLink: "acediff__newCodeConnector",
1184
+ newCodeConnectorLinkContent: "&#8594;",
1185
+ deletedCodeConnectorLink: "acediff__deletedCodeConnector",
1186
+ deletedCodeConnectorLinkContent: "&#8592;",
1187
+ copyRightContainer: "acediff__copy--right",
1188
+ copyLeftContainer: "acediff__copy--left"
1189
+ },
1190
+ connectorYOffset: 0
1191
+ }, t);
1192
+ const { ace: l } = e.options;
1193
+ if (!l) {
1194
+ const i = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1195
+ return console.error(i), new Error(i);
1401
1196
  }
1402
- if (K = je(o), !K) {
1403
- const l = "Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";
1404
- return console.error(l), new Error(l);
1197
+ if (X = xt(l), !X) {
1198
+ const i = "Could not require Range module for Ace. Depends on your bundling strategy, but it usually comes with Ace itself. See https://ace.c9.io/api/range.html, open an issue on GitHub ace-diff/ace-diff";
1199
+ return console.error(i), new Error(i);
1405
1200
  }
1406
- if (t.options.element === null) {
1407
- const l = "You need to specify an element for Ace-diff - `options.element` is missing";
1408
- return console.error(l), new Error(l);
1201
+ if (e.options.element === null) {
1202
+ const i = "You need to specify an element for Ace-diff - `options.element` is missing";
1203
+ return console.error(i), new Error(i);
1409
1204
  }
1410
- if (t.options.element instanceof HTMLElement ? t.el = t.options.element : t.el = document.body.querySelector(t.options.element), !t.el) {
1411
- const l = `Can't find the specified element ${t.options.element}`;
1412
- return console.error(l), new Error(l);
1205
+ if (e.options.element instanceof HTMLElement ? e.el = e.options.element : e.el = document.body.querySelector(e.options.element), !e.el) {
1206
+ const i = `Can't find the specified element ${e.options.element}`;
1207
+ return console.error(i), new Error(i);
1413
1208
  }
1414
- t.options.left.id = W(t.el, "acediff__left"), t.options.classes.gutterID = W(t.el, "acediff__gutter"), t.options.right.id = W(t.el, "acediff__right"), t.el.innerHTML = `<div class="acediff__wrap">${t.el.innerHTML}</div>`, t.editors = { left: { ace: o.edit(t.options.left.id), markers: [], lineLengths: [] }, right: { ace: o.edit(t.options.right.id), markers: [], lineLengths: [] }, editorHeight: null }, t.editors.left.ace.getSession().setMode(te(t, D.EDITOR_LEFT)), t.editors.right.ace.getSession().setMode(te(t, D.EDITOR_RIGHT)), t.editors.left.ace.setReadOnly(!t.options.left.editable), t.editors.right.ace.setReadOnly(!t.options.right.editable), t.editors.left.ace.setTheme(ne(t, D.EDITOR_LEFT)), t.editors.right.ace.setTheme(ne(t, D.EDITOR_RIGHT)), t.editors.left.ace.setValue(Z(t.options.left.content), -1), t.editors.right.ace.setValue(Z(t.options.right.content), -1), t.editors.editorHeight = $e(t), setTimeout(() => {
1415
- t.lineHeight = t.editors.left.ace.renderer.lineHeight, qe(t), Xe(t), me(t), t.diff();
1209
+ e.options.left.id = ee(e.el, "acediff__left"), e.options.classes.gutterID = ee(e.el, "acediff__gutter"), e.options.right.id = ee(e.el, "acediff__right"), e.el.innerHTML = `<div class="acediff__wrap">${e.el.innerHTML}</div>`, e.editors = {
1210
+ left: {
1211
+ ace: l.edit(e.options.left.id),
1212
+ markers: [],
1213
+ lineLengths: []
1214
+ },
1215
+ right: {
1216
+ ace: l.edit(e.options.right.id),
1217
+ markers: [],
1218
+ lineLengths: []
1219
+ },
1220
+ editorHeight: null
1221
+ }, e.editors.left.ace.getSession().setMode(_e(e, C.EDITOR_LEFT)), e.editors.right.ace.getSession().setMode(_e(e, C.EDITOR_RIGHT)), e.editors.left.ace.setReadOnly(!e.options.left.editable), e.editors.right.ace.setReadOnly(!e.options.right.editable), e.editors.left.ace.setTheme(be(e, C.EDITOR_LEFT)), e.editors.right.ace.setTheme(be(e, C.EDITOR_RIGHT)), e.editors.left.ace.setValue(me(e.options.left.content), -1), e.editors.right.ace.setValue(me(e.options.right.content), -1), e.editors.editorHeight = Tt(e), setTimeout(() => {
1222
+ e.lineHeight = e.editors.left.ace.renderer.lineHeight, kt(e), Vt(e), Me(e), e.diff();
1416
1223
  }, 1);
1417
1224
  }
1418
- X.prototype = { setOptions(e) {
1419
- J(this.options, e), this.diff();
1420
- }, getNumDiffs() {
1421
- return this.diffs.length;
1422
- }, getEditors() {
1423
- return { left: this.editors.left.ace, right: this.editors.right.ace };
1424
- }, diff() {
1425
- const e = new d(), t = this.editors.left.ace.getSession().getValue(), n = this.editors.right.ace.getSession().getValue(), o = e.diff_main(n, t);
1426
- e.diff_cleanupSemantic(o), this.editors.left.lineLengths = se(this.editors.left), this.editors.right.lineLengths = se(this.editors.right);
1427
- const l = [], i = { left: 0, right: 0 };
1428
- o.forEach((s) => {
1429
- const r = s[0];
1430
- let a = s[1];
1431
- a.length !== 0 && (r === D.DIFF_EQUAL ? (i.left += a.length, i.right += a.length) : r === D.DIFF_DELETE ? (l.push(fe(this, D.DIFF_DELETE, i.left, i.right, a)), i.right += a.length) : r === D.DIFF_INSERT && (l.push(fe(this, D.DIFF_INSERT, i.left, i.right, a)), i.left += a.length));
1432
- }, this), this.diffs = Qe(this, l), !(this.diffs.length > this.options.maxDiffs) && (pe(this), _e(this));
1433
- }, destroy() {
1434
- const e = this.editors.left.ace.getValue();
1435
- this.editors.left.ace.destroy();
1436
- let t = this.editors.left.ace.container, n = t.cloneNode(!1);
1437
- n.textContent = e, t.parentNode.replaceChild(n, t);
1438
- const o = this.editors.right.ace.getValue();
1439
- this.editors.right.ace.destroy(), t = this.editors.right.ace.container, n = t.cloneNode(!1), n.textContent = o, t.parentNode.replaceChild(n, t), document.getElementById(this.options.classes.gutterID).innerHTML = "", ge();
1440
- } };
1441
- let ge = () => {
1225
+ J.prototype = {
1226
+ // allows on-the-fly changes to the AceDiff instance settings
1227
+ setOptions(t) {
1228
+ oe(this.options, t), this.diff();
1229
+ },
1230
+ getNumDiffs() {
1231
+ return this.diffs.length;
1232
+ },
1233
+ // exposes the Ace editors in case the dev needs it
1234
+ getEditors() {
1235
+ return {
1236
+ left: this.editors.left.ace,
1237
+ right: this.editors.right.ace
1238
+ };
1239
+ },
1240
+ // our main diffing function. I actually don't think this needs to exposed:
1241
+ // it's called automatically, but just to be safe, it's included
1242
+ diff() {
1243
+ const t = this.editors.left.ace.getSession().getValue(), e = this.editors.right.ace.getSession().getValue(), n = ke(bt(e, t));
1244
+ this.editors.left.lineLengths = we(this.editors.left), this.editors.right.lineLengths = we(this.editors.right);
1245
+ const l = [], i = {
1246
+ left: 0,
1247
+ right: 0
1248
+ };
1249
+ n.forEach((o) => {
1250
+ const s = o[0];
1251
+ let r = o[1];
1252
+ r.length !== 0 && (s === C.DIFF_EQUAL ? (i.left += r.length, i.right += r.length) : s === C.DIFF_DELETE ? (l.push(Se(this, C.DIFF_DELETE, i.left, i.right, r)), i.right += r.length) : s === C.DIFF_INSERT && (l.push(Se(this, C.DIFF_INSERT, i.left, i.right, r)), i.left += r.length));
1253
+ }, this), this.diffs = At(this, l), !(this.diffs.length > this.options.maxDiffs) && (Ie(this), Ve(this));
1254
+ },
1255
+ destroy() {
1256
+ const t = this.editors.left.ace.getValue();
1257
+ this.editors.left.ace.destroy();
1258
+ let e = this.editors.left.ace.container, n = e.cloneNode(!1);
1259
+ n.textContent = t, e.parentNode.replaceChild(n, e);
1260
+ const l = this.editors.right.ace.getValue();
1261
+ this.editors.right.ace.destroy(), e = this.editors.right.ace.container, n = e.cloneNode(!1), n.textContent = l, e.parentNode.replaceChild(n, e);
1262
+ const i = document.getElementById(this.options.classes.gutterID);
1263
+ i && (i.innerHTML = ""), this.removeEventHandlers();
1264
+ }
1442
1265
  };
1443
- function qe(e) {
1444
- e.editors.left.ace.getSession().on("changeScrollTop", Q(() => {
1445
- ae(e);
1446
- }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", Q(() => {
1447
- ae(e);
1266
+ function kt(t) {
1267
+ t.editors.left.ace.getSession().on("changeScrollTop", fe(() => {
1268
+ Ee(t);
1269
+ }, 16)), t.editors.right.ace.getSession().on("changeScrollTop", fe(() => {
1270
+ Ee(t);
1448
1271
  }, 16));
1449
- const t = e.diff.bind(e);
1450
- e.editors.left.ace.on("change", t), e.editors.right.ace.on("change", t), e.options.left.copyLinkEnabled && oe(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.newCodeConnectorLink}`, (o) => {
1451
- le(e, o, D.LTR);
1452
- }), e.options.right.copyLinkEnabled && oe(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (o) => {
1453
- le(e, o, D.RTL);
1272
+ const e = t.diff.bind(t);
1273
+ t.editors.left.ace.on("change", e), t.editors.right.ace.on("change", e), t.options.left.copyLinkEnabled && Le(`#${t.options.classes.gutterID}`, "click", `.${t.options.classes.newCodeConnectorLink}`, (l) => {
1274
+ ye(t, l, C.LTR);
1275
+ }), t.options.right.copyLinkEnabled && Le(`#${t.options.classes.gutterID}`, "click", `.${t.options.classes.deletedCodeConnectorLink}`, (l) => {
1276
+ ye(t, l, C.RTL);
1454
1277
  });
1455
- const n = Ge(() => {
1456
- e.editors.availableHeight = document.getElementById(e.options.left.id).offsetHeight, e.diff();
1278
+ const n = $t(() => {
1279
+ t.editors.availableHeight = document.getElementById(t.options.left.id).offsetHeight, t.diff();
1457
1280
  }, 250);
1458
- window.addEventListener("resize", n), ge = () => {
1281
+ window.addEventListener("resize", n), t.removeEventHandlers = () => {
1459
1282
  window.removeEventListener("resize", n);
1460
1283
  };
1461
1284
  }
1462
- function le(e, t, n) {
1463
- const o = parseInt(t.target.getAttribute("data-diff-index"), 10), l = e.diffs[o];
1464
- let i, s, r, a, f, u;
1465
- n === D.LTR ? (i = e.editors.left, s = e.editors.right, r = l.leftStartLine, a = l.leftEndLine, f = l.rightStartLine, u = l.rightEndLine) : (i = e.editors.right, s = e.editors.left, r = l.rightStartLine, a = l.rightEndLine, f = l.leftStartLine, u = l.leftEndLine);
1285
+ function ye(t, e, n) {
1286
+ const l = parseInt(e.target.getAttribute("data-diff-index"), 10), i = t.diffs[l];
1287
+ let o, s, r, a, u, c;
1288
+ n === C.LTR ? (o = t.editors.left, s = t.editors.right, r = i.leftStartLine, a = i.leftEndLine, u = i.rightStartLine, c = i.rightEndLine) : (o = t.editors.right, s = t.editors.left, r = i.rightStartLine, a = i.rightEndLine, u = i.leftStartLine, c = i.leftEndLine);
1466
1289
  let h = "";
1467
- for (let _ = r; _ < a; _ += 1) h += ce(i, _), _ === r && h === "" && f != 0 && (h += `
1468
- `), _ < i.ace.getSession().getLength() - 1 && (h += `
1290
+ for (let p = r; p < a; p += 1)
1291
+ h += De(o, p), p < o.ace.getSession().getLength() - 1 && (h += `
1469
1292
  `);
1470
- const p = s.ace.getSession().getScrollTop();
1471
- s.ace.getSession().replace(new K(f, 0, u, 0), h), s.ace.getSession().setScrollTop(parseInt(p, 10)), e.diff();
1293
+ const m = s.ace.getSession().getScrollTop();
1294
+ s.ace.getSession().replace(new X(u, 0, c, 0), h), s.ace.getSession().setScrollTop(parseInt(m, 10)), t.diff();
1472
1295
  }
1473
- function se(e) {
1474
- const t = e.ace.getSession().doc.getAllLines(), n = [];
1475
- return t.forEach((o) => {
1476
- n.push(o.length + 1);
1296
+ function we(t) {
1297
+ const e = t.ace.getSession().doc.getAllLines(), n = [];
1298
+ return e.forEach((l) => {
1299
+ n.push(l.length + 1);
1477
1300
  }), n;
1478
1301
  }
1479
- function re(e, t, n, o, l) {
1480
- const i = e.editors[t];
1481
- o < n && (o = n);
1482
- const s = `${l} ${o > n ? "lines" : "targetOnly"}`;
1483
- o > n && (o -= 1), i.markers.push(i.ace.session.addMarker(new K(n, 0, o, 1), s, "fullLine"));
1484
- }
1485
- function ae(e) {
1486
- pe(e), _e(e), Ke(e);
1487
- }
1488
- function pe(e) {
1489
- e.editors.left.markers.forEach((t) => {
1490
- e.editors.left.ace.getSession().removeMarker(t);
1491
- }, e), e.editors.right.markers.forEach((t) => {
1492
- e.editors.right.ace.getSession().removeMarker(t);
1493
- }, e);
1494
- }
1495
- function Ye(e, t, n, o, l) {
1496
- const i = e.editors.left.ace.getSession().getScrollTop(), s = e.editors.right.ace.getSession().getScrollTop();
1497
- e.connectorYOffset = 1;
1498
- const r = -1, a = t * e.lineHeight - i + 0.5, f = e.gutterWidth + 1, u = o * e.lineHeight - s + 0.5, h = -1, p = n * e.lineHeight - i + e.connectorYOffset + 0.5, _ = e.gutterWidth + 1, w = l * e.lineHeight - s + e.connectorYOffset + 0.5, C = ee(r, a, f, u), y = ee(_, w, h, p), b = `L${f},${u} ${_},${w}`, v = `L${h},${p} ${r},${a}`, x = `${C} ${b} ${y} ${v}`, L = document.createElementNS(D.SVG_NS, "path");
1499
- L.setAttribute("d", x), L.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(L);
1500
- }
1501
- function ze(e, t, n) {
1502
- if (t.leftEndLine > t.leftStartLine && e.options.left.copyLinkEnabled) {
1503
- const o = ie({ className: e.options.classes.newCodeConnectorLink, topOffset: t.leftStartLine * e.lineHeight, tooltip: "Copy to right", diffIndex: n, arrowContent: e.options.classes.newCodeConnectorLinkContent });
1504
- e.copyRightContainer.appendChild(o);
1302
+ function Ce(t, e, n, l, i) {
1303
+ const o = t.editors[e];
1304
+ l < n && (l = n);
1305
+ const s = `${i} ${l > n ? "lines" : "targetOnly"}`;
1306
+ l > n && (l -= 1), o.markers.push(o.ace.session.addMarker(new X(n, 0, l, 1), s, "fullLine"));
1307
+ }
1308
+ function Ee(t) {
1309
+ Ie(t), Ve(t), Mt(t);
1310
+ }
1311
+ function Ie(t) {
1312
+ t.editors.left.markers.forEach((e) => {
1313
+ t.editors.left.ace.getSession().removeMarker(e);
1314
+ }, t), t.editors.right.markers.forEach((e) => {
1315
+ t.editors.right.ace.getSession().removeMarker(e);
1316
+ }, t);
1317
+ }
1318
+ function Dt(t, e, n, l, i) {
1319
+ const o = t.editors.left.ace.getSession().getScrollTop(), s = t.editors.right.ace.getSession().getScrollTop();
1320
+ t.connectorYOffset = 1;
1321
+ const r = -1, a = e * t.lineHeight - o + 0.5, u = t.gutterWidth + 1, c = l * t.lineHeight - s + 0.5, h = -1, m = n * t.lineHeight - o + t.connectorYOffset + 0.5, p = t.gutterWidth + 1, v = i * t.lineHeight - s + t.connectorYOffset + 0.5, k = pe(r, a, u, c), E = pe(p, v, h, m), b = `L${u},${c} ${p},${v}`, L = `L${h},${m} ${r},${a}`, _ = `${k} ${b} ${E} ${L}`, S = document.createElementNS(C.SVG_NS, "path");
1322
+ S.setAttribute("d", _), S.setAttribute("class", t.options.classes.connector), t.gutterSVG.appendChild(S);
1323
+ }
1324
+ function It(t, e, n) {
1325
+ if (e.leftEndLine > e.leftStartLine && t.options.left.copyLinkEnabled) {
1326
+ const l = ve({
1327
+ className: t.options.classes.newCodeConnectorLink,
1328
+ topOffset: e.leftStartLine * t.lineHeight,
1329
+ tooltip: "Copy to right",
1330
+ diffIndex: n,
1331
+ arrowContent: t.options.classes.newCodeConnectorLinkContent
1332
+ });
1333
+ t.copyRightContainer.appendChild(l);
1505
1334
  }
1506
- if (t.rightEndLine > t.rightStartLine && e.options.right.copyLinkEnabled) {
1507
- const o = ie({ className: e.options.classes.deletedCodeConnectorLink, topOffset: t.rightStartLine * e.lineHeight, tooltip: "Copy to left", diffIndex: n, arrowContent: e.options.classes.deletedCodeConnectorLinkContent });
1508
- e.copyLeftContainer.appendChild(o);
1335
+ if (e.rightEndLine > e.rightStartLine && t.options.right.copyLinkEnabled) {
1336
+ const l = ve({
1337
+ className: t.options.classes.deletedCodeConnectorLink,
1338
+ topOffset: e.rightStartLine * t.lineHeight,
1339
+ tooltip: "Copy to left",
1340
+ diffIndex: n,
1341
+ arrowContent: t.options.classes.deletedCodeConnectorLinkContent
1342
+ });
1343
+ t.copyLeftContainer.appendChild(l);
1509
1344
  }
1510
1345
  }
1511
- function Ke(e) {
1512
- const t = e.editors.left.ace.getSession().getScrollTop(), n = e.editors.right.ace.getSession().getScrollTop();
1513
- e.copyRightContainer.style.cssText = `top: ${-t}px`, e.copyLeftContainer.style.cssText = `top: ${-n}px`;
1514
- }
1515
- function fe(e, t, n, o, l) {
1516
- let i = {};
1517
- if (t === D.DIFF_INSERT) {
1518
- let s = de(e.editors.left, n, l), r = he(e.editors.right, o), a = B(e.editors.right, r);
1519
- const f = B(e.editors.left, s.startLine);
1520
- let u = r, h = s.startLine === s.endLine, p = 0;
1521
- (s.startChar > 0 || h && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: s.startLine, leftEndLine: s.endLine + 1, rightStartLine: u, rightEndLine: u + p };
1346
+ function Mt(t) {
1347
+ const e = t.editors.left.ace.getSession().getScrollTop(), n = t.editors.right.ace.getSession().getScrollTop();
1348
+ t.copyRightContainer.style.cssText = `top: ${-e}px`, t.copyLeftContainer.style.cssText = `top: ${-n}px`;
1349
+ }
1350
+ function Se(t, e, n, l, i) {
1351
+ let o = {};
1352
+ if (e === C.DIFF_INSERT) {
1353
+ let s = $e(t.editors.left, n, i), r = Te(t.editors.right, l), a = B(t.editors.right, r);
1354
+ const u = B(t.editors.left, s.startLine);
1355
+ let c = r, h = s.startLine === s.endLine, m = 0;
1356
+ // dense, but this accommodates two scenarios:
1357
+ // 1. where a completely fresh new line is being inserted in left editor, we want the line on right to stay a 1px line
1358
+ // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1359
+ // we DO want to make it a full line
1360
+ (s.startChar > 0 || h && i.length < u) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1361
+ a > 0 && // if the text being inserted starts mid-line
1362
+ s.startChar < u && m++, o = {
1363
+ leftStartLine: s.startLine,
1364
+ leftEndLine: s.endLine + 1,
1365
+ rightStartLine: c,
1366
+ rightEndLine: c + m
1367
+ };
1522
1368
  } else {
1523
- let s = de(e.editors.right, o, l), r = he(e.editors.left, n), a = B(e.editors.left, r);
1524
- const f = B(e.editors.right, s.startLine);
1525
- let u = r, h = s.startLine === s.endLine, p = 0;
1526
- (s.startChar > 0 || h && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: u, leftEndLine: u + p, rightStartLine: s.startLine, rightEndLine: s.endLine + 1 };
1369
+ let s = $e(t.editors.right, l, i), r = Te(t.editors.left, n), a = B(t.editors.left, r);
1370
+ const u = B(t.editors.right, s.startLine);
1371
+ let c = r, h = s.startLine === s.endLine, m = 0;
1372
+ // dense, but this accommodates two scenarios:
1373
+ // 1. where a completely fresh new line is being inserted in left editor, we want the line on right to stay a 1px line
1374
+ // 2. where a new character is inserted at the start of a newline on the left but the line contains other stuff,
1375
+ // we DO want to make it a full line
1376
+ (s.startChar > 0 || h && i.length < u) && // if the right editor line was empty, it's ALWAYS a single line insert [not an OR above?]
1377
+ a > 0 && // if the text being inserted starts mid-line
1378
+ s.startChar < u && m++, o = {
1379
+ leftStartLine: c,
1380
+ leftEndLine: c + m,
1381
+ rightStartLine: s.startLine,
1382
+ rightEndLine: s.endLine + 1
1383
+ };
1527
1384
  }
1528
- return i;
1385
+ return o;
1529
1386
  }
1530
- function de(e, t, n) {
1531
- const o = { startLine: 0, startChar: 0, endLine: 0, endChar: 0 }, l = t + n.length;
1532
- let i = 0, s = !1, r = !1;
1533
- e.lineLengths.forEach((f, u) => {
1534
- i += f, !s && t < i && (o.startLine = u, o.startChar = t - i + f, s = !0), !r && l <= i && (o.endLine = u, o.endChar = l - i + f, r = !0);
1535
- }), o.startChar > 0 && B(e, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1387
+ function $e(t, e, n) {
1388
+ const l = {
1389
+ startLine: 0,
1390
+ startChar: 0,
1391
+ endLine: 0,
1392
+ endChar: 0
1393
+ }, i = e + n.length;
1394
+ let o = 0, s = !1, r = !1;
1395
+ t.lineLengths.forEach((u, c) => {
1396
+ o += u, !s && e < o && (l.startLine = c, l.startChar = e - o + u, s = !0), !r && i <= o && (l.endLine = c, l.endChar = i - o + u, r = !0);
1397
+ }), l.startChar > 0 && B(t, l.startLine) === l.startChar && (l.startLine++, l.startChar = 0), l.endChar === 0 && l.endLine--;
1536
1398
  const a = /\n$/.test(n);
1537
- return o.startChar > 0 && a && o.endLine++, o;
1399
+ return l.startChar > 0 && a && l.endLine++, l;
1538
1400
  }
1539
- function B(e, t) {
1540
- return ce(e, t).length;
1401
+ function B(t, e) {
1402
+ return De(t, e).length;
1541
1403
  }
1542
- function he(e, t) {
1543
- const n = e.ace.getSession().doc.getAllLines();
1544
- let o = 0, l = 0;
1545
- for (let i = 0; i < n.length; i += 1) if (l += n[i].length + 1, t < l) {
1546
- o = i;
1547
- break;
1548
- }
1549
- return l > e.ace.getSession().getValue().length && (o += 1), o;
1404
+ function Te(t, e) {
1405
+ const n = t.ace.getSession().doc.getAllLines();
1406
+ let l = 0, i = 0;
1407
+ for (let o = 0; o < n.length; o += 1)
1408
+ if (i += n[o].length + 1, e <= i) {
1409
+ l = o, e === i && o < n.length - 1 && (l += 1);
1410
+ break;
1411
+ }
1412
+ return i >= t.ace.getSession().getValue().length && (l += 1), l;
1550
1413
  }
1551
- function me(e) {
1552
- e.gutterHeight = document.getElementById(e.options.classes.gutterID).clientHeight, e.gutterWidth = document.getElementById(e.options.classes.gutterID).clientWidth;
1553
- const t = ue(e, D.EDITOR_LEFT), n = ue(e, D.EDITOR_RIGHT), o = Math.max(t, n, e.gutterHeight);
1554
- e.gutterSVG = document.createElementNS(D.SVG_NS, "svg"), e.gutterSVG.setAttribute("width", e.gutterWidth), e.gutterSVG.setAttribute("height", o), document.getElementById(e.options.classes.gutterID).appendChild(e.gutterSVG);
1414
+ function Me(t) {
1415
+ t.gutterHeight = document.getElementById(t.options.classes.gutterID).clientHeight, t.gutterWidth = document.getElementById(t.options.classes.gutterID).clientWidth;
1416
+ const e = xe(t, C.EDITOR_LEFT), n = xe(t, C.EDITOR_RIGHT), l = Math.max(e, n, t.gutterHeight);
1417
+ t.gutterSVG = document.createElementNS(C.SVG_NS, "svg"), t.gutterSVG.setAttribute("width", t.gutterWidth), t.gutterSVG.setAttribute("height", l), document.getElementById(t.options.classes.gutterID).appendChild(t.gutterSVG);
1555
1418
  }
1556
- function ue(e, t) {
1557
- return (t === D.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1419
+ function xe(t, e) {
1420
+ return (e === C.EDITOR_LEFT ? t.editors.left : t.editors.right).ace.getSession().getLength() * t.lineHeight;
1558
1421
  }
1559
- function Xe(e) {
1560
- e.copyRightContainer = document.createElement("div"), e.copyRightContainer.setAttribute("class", e.options.classes.copyRightContainer), e.copyLeftContainer = document.createElement("div"), e.copyLeftContainer.setAttribute("class", e.options.classes.copyLeftContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyRightContainer), document.getElementById(e.options.classes.gutterID).appendChild(e.copyLeftContainer);
1422
+ function Vt(t) {
1423
+ t.copyRightContainer = document.createElement("div"), t.copyRightContainer.setAttribute("class", t.options.classes.copyRightContainer), t.copyLeftContainer = document.createElement("div"), t.copyLeftContainer.setAttribute("class", t.options.classes.copyLeftContainer), document.getElementById(t.options.classes.gutterID).appendChild(t.copyRightContainer), document.getElementById(t.options.classes.gutterID).appendChild(t.copyLeftContainer);
1561
1424
  }
1562
- function We(e) {
1563
- document.getElementById(e.options.classes.gutterID).removeChild(e.gutterSVG), me(e);
1425
+ function Rt(t) {
1426
+ document.getElementById(t.options.classes.gutterID).removeChild(t.gutterSVG), Me(t);
1564
1427
  }
1565
- function Je(e) {
1566
- e.copyLeftContainer.innerHTML = "", e.copyRightContainer.innerHTML = "";
1428
+ function Ot(t) {
1429
+ t.copyLeftContainer.innerHTML = "", t.copyRightContainer.innerHTML = "";
1567
1430
  }
1568
- function Qe(e, t) {
1431
+ function At(t, e) {
1569
1432
  const n = [];
1570
- function o(i) {
1571
- return e.options.diffGranularity === D.DIFF_GRANULARITY_SPECIFIC ? i < 1 : i <= 1;
1433
+ function l(o) {
1434
+ return t.options.diffGranularity === C.DIFF_GRANULARITY_SPECIFIC ? o < 1 : o <= 1;
1572
1435
  }
1573
- t.forEach((i, s) => {
1436
+ e.forEach((o, s) => {
1574
1437
  if (s === 0) {
1575
- n.push(i);
1438
+ n.push(o);
1576
1439
  return;
1577
1440
  }
1578
1441
  let r = !1;
1579
- for (let a = 0; a < n.length; a += 1) if (o(Math.abs(i.leftStartLine - n[a].leftEndLine)) && o(Math.abs(i.rightStartLine - n[a].rightEndLine))) {
1580
- n[a].leftStartLine = Math.min(i.leftStartLine, n[a].leftStartLine), n[a].rightStartLine = Math.min(i.rightStartLine, n[a].rightStartLine), n[a].leftEndLine = Math.max(i.leftEndLine, n[a].leftEndLine), n[a].rightEndLine = Math.max(i.rightEndLine, n[a].rightEndLine), r = !0;
1442
+ for (let a = 0; a < n.length; a += 1) if (l(Math.abs(o.leftStartLine - n[a].leftEndLine)) && l(Math.abs(o.rightStartLine - n[a].rightEndLine))) {
1443
+ n[a].leftStartLine = Math.min(o.leftStartLine, n[a].leftStartLine), n[a].rightStartLine = Math.min(o.rightStartLine, n[a].rightStartLine), n[a].leftEndLine = Math.max(o.leftEndLine, n[a].leftEndLine), n[a].rightEndLine = Math.max(o.rightEndLine, n[a].rightEndLine), r = !0;
1581
1444
  break;
1582
1445
  }
1583
- r || n.push(i);
1446
+ r || n.push(o);
1584
1447
  });
1585
- const l = [];
1586
- return n.forEach((i) => {
1587
- i.leftStartLine === i.leftEndLine && i.rightStartLine === i.rightEndLine || l.push(i);
1588
- }), l;
1448
+ const i = [];
1449
+ return n.forEach((o) => {
1450
+ o.leftStartLine === o.leftEndLine && o.rightStartLine === o.rightEndLine || i.push(o);
1451
+ }), i;
1589
1452
  }
1590
- function _e(e) {
1591
- We(e), Je(e), e.diffs.forEach((t, n) => {
1592
- e.options.showDiffs && (re(e, D.EDITOR_LEFT, t.leftStartLine, t.leftEndLine, e.options.classes.diff), re(e, D.EDITOR_RIGHT, t.rightStartLine, t.rightEndLine, e.options.classes.diff), e.options.showConnectors && Ye(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), ze(e, t, n));
1593
- }, e);
1453
+ function Ve(t) {
1454
+ Rt(t), Ot(t), t.diffs.forEach((e, n) => {
1455
+ t.options.showDiffs && (Ce(t, C.EDITOR_LEFT, e.leftStartLine, e.leftEndLine, t.options.classes.diff), Ce(t, C.EDITOR_RIGHT, e.rightStartLine, e.rightEndLine, t.options.classes.diff), t.options.showConnectors && Dt(t, e.leftStartLine, e.leftEndLine, e.rightStartLine, e.rightEndLine), It(t, e, n));
1456
+ }, t);
1594
1457
  }
1595
- const Ze = {
1458
+ const Nt = {
1596
1459
  props: {
1597
1460
  pluginName: {
1598
1461
  type: String,
@@ -1631,8 +1494,8 @@ const Ze = {
1631
1494
  get() {
1632
1495
  return this.modelValue;
1633
1496
  },
1634
- set(e) {
1635
- this.$emit("update:modelValue", e);
1497
+ set(t) {
1498
+ this.$emit("update:modelValue", t);
1636
1499
  }
1637
1500
  }
1638
1501
  },
@@ -1645,10 +1508,10 @@ const Ze = {
1645
1508
  }
1646
1509
  },
1647
1510
  mounted() {
1648
- const e = this.buildPluginMode();
1649
- this.existingPluginTxt === null ? (this.editor = I.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new e()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), U.applyVimModeIfEnabled(this.editor), this.editor.focus()) : (this.tab = 1, this.differ = new X({
1511
+ const t = this.buildPluginMode();
1512
+ this.existingPluginTxt === null ? (this.editor = D.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight"), this.editor.session.setMode(new t()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.localPluginTxt), this.editor.clearSelection(), H.applyVimModeIfEnabled(this.editor), this.editor.focus()) : (this.tab = 1, this.differ = new J({
1650
1513
  element: this.$refs.editor,
1651
- mode: new e(),
1514
+ mode: new t(),
1652
1515
  theme: "ace/theme/twilight",
1653
1516
  left: {
1654
1517
  content: this.localExistingPluginTxt,
@@ -1658,7 +1521,7 @@ const Ze = {
1658
1521
  content: this.localPluginTxt,
1659
1522
  editable: !1
1660
1523
  }
1661
- }), this.differ.getEditors().left.setFontSize(16), this.differ.getEditors().right.setFontSize(16), U.applyVimModeIfEnabled(this.differ.getEditors().left), U.applyVimModeIfEnabled(this.differ.getEditors().right), this.curDiff = -1);
1524
+ }), this.differ.getEditors().left.setFontSize(16), this.differ.getEditors().right.setFontSize(16), H.applyVimModeIfEnabled(this.differ.getEditors().left), H.applyVimModeIfEnabled(this.differ.getEditors().right), this.curDiff = -1);
1662
1525
  },
1663
1526
  beforeUnmount() {
1664
1527
  this.editor && this.editor.destroy(), this.differ && this.differ.destroy();
@@ -1672,29 +1535,29 @@ const Ze = {
1672
1535
  },
1673
1536
  scrollToCurDiff() {
1674
1537
  if (this.differ.diffs.length === 0) return;
1675
- let e = this.differ.diffs[this.curDiff].leftStartLine, t = this.differ.diffs[this.curDiff].rightStartLine;
1676
- e > 5 && (e -= 5), t > 5 && (t -= 5), this.differ.getEditors().left.scrollToLine(e), this.differ.getEditors().right.scrollToLine(t);
1538
+ let t = this.differ.diffs[this.curDiff].leftStartLine, e = this.differ.diffs[this.curDiff].rightStartLine;
1539
+ t > 5 && (t -= 5), e > 5 && (e -= 5), this.differ.getEditors().left.scrollToLine(t), this.differ.getEditors().right.scrollToLine(e);
1677
1540
  },
1678
1541
  buildPluginMode() {
1679
- let e = I.require("ace/lib/oop"), t = I.require(
1542
+ let t = D.require("ace/lib/oop"), e = D.require(
1680
1543
  "ace/mode/ruby_highlight_rules"
1681
- ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), l = function() {
1682
- t.call(this);
1683
- for (let u in this.$rules)
1684
- this.$rules[u].unshift({
1685
- regex: o,
1544
+ ).RubyHighlightRules, n = ["VARIABLE"], l = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), i = function() {
1545
+ e.call(this);
1546
+ for (let c in this.$rules)
1547
+ this.$rules[c].unshift({
1548
+ regex: l,
1686
1549
  token: "support.function"
1687
1550
  });
1688
1551
  };
1689
- e.inherits(l, t);
1690
- let i = I.require(
1552
+ t.inherits(i, e);
1553
+ let o = D.require(
1691
1554
  "ace/mode/matching_brace_outdent"
1692
- ).MatchingBraceOutdent, s = I.require(
1555
+ ).MatchingBraceOutdent, s = D.require(
1693
1556
  "ace/mode/behaviour/cstyle"
1694
- ).CstyleBehaviour, r = I.require("ace/mode/folding/ruby").FoldMode, a = function() {
1695
- this.HighlightRules = l, this.$outdent = new i(), this.$behaviour = new s(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1696
- }, f = I.require("ace/mode/ruby").Mode;
1697
- return e.inherits(a, f), (function() {
1557
+ ).CstyleBehaviour, r = D.require("ace/mode/folding/ruby").FoldMode, a = function() {
1558
+ this.HighlightRules = i, this.$outdent = new o(), this.$behaviour = new s(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1559
+ }, u = D.require("ace/mode/ruby").Mode;
1560
+ return t.inherits(a, u), (function() {
1698
1561
  this.$id = "ace/mode/openc3";
1699
1562
  }).call(a.prototype), a;
1700
1563
  },
@@ -1707,96 +1570,96 @@ const Ze = {
1707
1570
  okText: "Install",
1708
1571
  cancelText: "Cancel"
1709
1572
  }
1710
- ).then((e) => {
1573
+ ).then((t) => {
1711
1574
  this.emitSubmit(
1712
1575
  this.differ.getEditors().left.getValue().split(`
1713
1576
  `)
1714
1577
  );
1715
- }).catch((e) => {
1578
+ }).catch((t) => {
1716
1579
  });
1717
1580
  },
1718
- emitSubmit(e) {
1719
- let t = {
1581
+ emitSubmit(t) {
1582
+ let e = {
1720
1583
  name: this.pluginName,
1721
- variables: xe(this.localVariables),
1722
- plugin_txt_lines: e
1584
+ variables: Pe(this.localVariables),
1585
+ plugin_txt_lines: t
1723
1586
  };
1724
- this.$emit("callback", t);
1587
+ this.$emit("callback", e);
1725
1588
  },
1726
1589
  close: function() {
1727
1590
  this.show = !this.show;
1728
1591
  },
1729
- showContextMenu: function(e) {
1730
- this.menuX = e.pageX, this.menuY = e.pageY;
1731
- let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
1592
+ showContextMenu: function(t) {
1593
+ this.menuX = t.pageX, this.menuY = t.pageY;
1594
+ let e = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(e.row, e.column);
1732
1595
  if (n) {
1733
- let o = n.value.trim();
1734
- o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
1596
+ let l = n.value.trim();
1597
+ l.includes(" ") ? this.docsKeyword = l.split(" ")[0] : this.docsKeyword = l, this.contextMenu = !0;
1735
1598
  }
1736
1599
  },
1737
1600
  toggleVimMode: function() {
1738
- this.editor && U.toggleVimMode(this.editor);
1601
+ this.editor && H.toggleVimMode(this.editor);
1739
1602
  }
1740
1603
  }
1741
- }, et = { style: { flex: "1" } }, tt = { class: "pa-3" }, nt = {
1604
+ }, Ft = { style: { flex: "1" } }, Ht = { class: "pa-3" }, Pt = {
1742
1605
  ref: "editor",
1743
1606
  class: "editor"
1744
- }, it = { key: 0 };
1745
- function ot(e, t, n, o, l, i) {
1746
- const s = m("v-card-title"), r = m("v-icon"), a = m("v-row"), f = m("v-tab"), u = m("v-tabs"), h = m("v-text-field"), p = m("v-col"), _ = m("v-window-item"), w = m("v-list-item-title"), C = m("v-list-item"), y = m("v-divider"), b = m("v-list"), v = m("v-menu"), x = m("v-window"), L = m("v-btn"), k = m("v-spacer"), N = m("v-card-actions"), O = m("v-card-text"), P = m("v-card"), F = m("v-dialog");
1747
- return E(), M(F, {
1748
- modelValue: i.show,
1749
- "onUpdate:modelValue": t[5] || (t[5] = (R) => i.show = R),
1607
+ }, Bt = { key: 0 };
1608
+ function Gt(t, e, n, l, i, o) {
1609
+ const s = f("v-card-title"), r = f("v-icon"), a = f("v-row"), u = f("v-tab"), c = f("v-tabs"), h = f("v-text-field"), m = f("v-col"), p = f("v-window-item"), v = f("v-list-item-title"), k = f("v-list-item"), E = f("v-divider"), b = f("v-list"), L = f("v-menu"), _ = f("v-window"), S = f("v-btn"), M = f("v-spacer"), N = f("v-card-actions"), Z = f("v-card-text"), Re = f("v-card"), Oe = f("v-dialog");
1610
+ return y(), T(Oe, {
1611
+ modelValue: o.show,
1612
+ "onUpdate:modelValue": e[5] || (e[5] = (R) => o.show = R),
1750
1613
  persistent: "",
1751
1614
  width: "80vw"
1752
1615
  }, {
1753
1616
  default: g(() => [
1754
- c(P, null, {
1617
+ d(Re, null, {
1755
1618
  default: g(() => [
1756
- c(O, null, {
1619
+ d(Z, null, {
1757
1620
  default: g(() => [
1758
- c(s, null, {
1621
+ d(s, null, {
1759
1622
  default: g(() => [
1760
- S(A(n.pluginName), 1)
1623
+ w(A(n.pluginName), 1)
1761
1624
  ]),
1762
1625
  _: 1
1763
1626
  }),
1764
- n.existingPluginTxt !== null ? (E(), M(a, {
1627
+ n.existingPluginTxt !== null ? (y(), T(a, {
1765
1628
  key: 0,
1766
1629
  class: "notice d-flex flex-row"
1767
1630
  }, {
1768
1631
  default: g(() => [
1769
- c(r, {
1632
+ d(r, {
1770
1633
  size: "x-large",
1771
1634
  start: "",
1772
1635
  color: "yellow"
1773
1636
  }, {
1774
- default: g(() => t[6] || (t[6] = [
1775
- S(" mdi-alert-box ")
1637
+ default: g(() => e[6] || (e[6] = [
1638
+ w(" mdi-alert-box ")
1776
1639
  ])),
1777
1640
  _: 1
1778
1641
  }),
1779
- T("div", et, " The existing plugin.txt is different from the " + A(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + A(n.pluginName) + "'s plugin.txt going forward. ", 1)
1642
+ x("div", Ft, " The existing plugin.txt is different from the " + A(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + A(n.pluginName) + "'s plugin.txt going forward. ", 1)
1780
1643
  ]),
1781
1644
  _: 1
1782
- })) : j("", !0),
1783
- c(a, { class: "pb-3 pr-3" }, {
1645
+ })) : q("", !0),
1646
+ d(a, { class: "pb-3 pr-3" }, {
1784
1647
  default: g(() => [
1785
- c(u, {
1786
- modelValue: l.tab,
1787
- "onUpdate:modelValue": t[0] || (t[0] = (R) => l.tab = R),
1648
+ d(c, {
1649
+ modelValue: i.tab,
1650
+ "onUpdate:modelValue": e[0] || (e[0] = (R) => i.tab = R),
1788
1651
  class: "ml-3"
1789
1652
  }, {
1790
1653
  default: g(() => [
1791
- (E(), M(f, { key: 0 }, {
1792
- default: g(() => t[7] || (t[7] = [
1793
- S(" Variables ")
1654
+ (y(), T(u, { key: 0 }, {
1655
+ default: g(() => e[7] || (e[7] = [
1656
+ w(" Variables ")
1794
1657
  ])),
1795
1658
  _: 1
1796
1659
  })),
1797
- (E(), M(f, { key: 1 }, {
1798
- default: g(() => t[8] || (t[8] = [
1799
- S(" plugin.txt ")
1660
+ (y(), T(u, { key: 1 }, {
1661
+ default: g(() => e[8] || (e[8] = [
1662
+ w(" plugin.txt ")
1800
1663
  ])),
1801
1664
  _: 1
1802
1665
  }))
@@ -1806,29 +1669,29 @@ function ot(e, t, n, o, l, i) {
1806
1669
  ]),
1807
1670
  _: 1
1808
1671
  }),
1809
- T("form", {
1810
- onSubmit: t[4] || (t[4] = H((...R) => e.onSubmit && e.onSubmit(...R), ["prevent"]))
1672
+ x("form", {
1673
+ onSubmit: e[4] || (e[4] = P((...R) => t.onSubmit && t.onSubmit(...R), ["prevent"]))
1811
1674
  }, [
1812
- c(x, {
1813
- modelValue: l.tab,
1814
- "onUpdate:modelValue": t[3] || (t[3] = (R) => l.tab = R)
1675
+ d(_, {
1676
+ modelValue: i.tab,
1677
+ "onUpdate:modelValue": e[3] || (e[3] = (R) => i.tab = R)
1815
1678
  }, {
1816
1679
  default: g(() => [
1817
- (E(), M(_, {
1680
+ (y(), T(p, {
1818
1681
  key: 0,
1819
1682
  eager: "true",
1820
1683
  class: "tab"
1821
1684
  }, {
1822
1685
  default: g(() => [
1823
- T("div", tt, [
1824
- c(a, { class: "mt-3" }, {
1686
+ x("div", Ht, [
1687
+ d(a, { class: "mt-3" }, {
1825
1688
  default: g(() => [
1826
- (E(!0), V(G, null, $(l.localVariables, (R, Y) => (E(), V("div", { key: Y }, [
1827
- c(p, { style: { width: "220px" } }, {
1689
+ (y(!0), O(G, null, U(i.localVariables, (R, Y) => (y(), O("div", { key: Y }, [
1690
+ d(m, { style: { width: "220px" } }, {
1828
1691
  default: g(() => [
1829
- c(h, {
1830
- modelValue: l.localVariables[Y],
1831
- "onUpdate:modelValue": (be) => l.localVariables[Y] = be,
1692
+ d(h, {
1693
+ modelValue: i.localVariables[Y],
1694
+ "onUpdate:modelValue": (Ae) => i.localVariables[Y] = Ae,
1832
1695
  clearable: "",
1833
1696
  type: "text",
1834
1697
  label: Y
@@ -1844,52 +1707,52 @@ function ot(e, t, n, o, l, i) {
1844
1707
  ]),
1845
1708
  _: 1
1846
1709
  })),
1847
- n.existingPluginTxt === null ? (E(), M(_, {
1710
+ n.existingPluginTxt === null ? (y(), T(p, {
1848
1711
  key: "1-new",
1849
1712
  eager: "true",
1850
1713
  class: "tab"
1851
1714
  }, {
1852
1715
  default: g(() => [
1853
- c(a, { class: "pa-3" }, {
1716
+ d(a, { class: "pa-3" }, {
1854
1717
  default: g(() => [
1855
- c(p, null, {
1856
- default: g(() => t[9] || (t[9] = [
1857
- S(" This can be edited before installation. ")
1718
+ d(m, null, {
1719
+ default: g(() => e[9] || (e[9] = [
1720
+ w(" This can be edited before installation. ")
1858
1721
  ])),
1859
1722
  _: 1
1860
1723
  })
1861
1724
  ]),
1862
1725
  _: 1
1863
1726
  }),
1864
- T("pre", {
1727
+ x("pre", {
1865
1728
  ref: "editor",
1866
1729
  class: "editor",
1867
- onContextmenu: t[1] || (t[1] = H((...R) => i.showContextMenu && i.showContextMenu(...R), ["prevent"]))
1730
+ onContextmenu: e[1] || (e[1] = P((...R) => o.showContextMenu && o.showContextMenu(...R), ["prevent"]))
1868
1731
  }, null, 544),
1869
- c(v, {
1870
- modelValue: l.contextMenu,
1871
- "onUpdate:modelValue": t[2] || (t[2] = (R) => l.contextMenu = R),
1872
- target: [l.menuX, l.menuY]
1732
+ d(L, {
1733
+ modelValue: i.contextMenu,
1734
+ "onUpdate:modelValue": e[2] || (e[2] = (R) => i.contextMenu = R),
1735
+ target: [i.menuX, i.menuY]
1873
1736
  }, {
1874
1737
  default: g(() => [
1875
- c(b, null, {
1738
+ d(b, null, {
1876
1739
  default: g(() => [
1877
- c(C, { link: "" }, {
1740
+ d(k, { link: "" }, {
1878
1741
  default: g(() => [
1879
- c(w, { onClick: e.openDocumentation }, {
1742
+ d(v, { onClick: t.openDocumentation }, {
1880
1743
  default: g(() => [
1881
- S(A(e.docsKeyword) + " documentation ", 1)
1744
+ w(A(t.docsKeyword) + " documentation ", 1)
1882
1745
  ]),
1883
1746
  _: 1
1884
1747
  }, 8, ["onClick"])
1885
1748
  ]),
1886
1749
  _: 1
1887
1750
  }),
1888
- c(y),
1889
- c(C, {
1751
+ d(E),
1752
+ d(k, {
1890
1753
  title: "Toggle Vim mode",
1891
1754
  "prepend-icon": "extras:vim",
1892
- onClick: i.toggleVimMode
1755
+ onClick: o.toggleVimMode
1893
1756
  }, null, 8, ["onClick"])
1894
1757
  ]),
1895
1758
  _: 1
@@ -1899,76 +1762,76 @@ function ot(e, t, n, o, l, i) {
1899
1762
  }, 8, ["modelValue", "target"])
1900
1763
  ]),
1901
1764
  _: 1
1902
- })) : (E(), M(_, {
1765
+ })) : (y(), T(p, {
1903
1766
  key: "1-existing",
1904
1767
  eager: "true",
1905
1768
  class: "tab"
1906
1769
  }, {
1907
1770
  default: g(() => [
1908
- c(a, { class: "pa-3" }, {
1771
+ d(a, { class: "pa-3" }, {
1909
1772
  default: g(() => [
1910
- c(p, null, {
1911
- default: g(() => t[10] || (t[10] = [
1912
- S(" Existing plugin.txt. This can be edited before installation. ")
1773
+ d(m, null, {
1774
+ default: g(() => e[10] || (e[10] = [
1775
+ w(" Existing plugin.txt. This can be edited before installation. ")
1913
1776
  ])),
1914
1777
  _: 1
1915
1778
  }),
1916
- c(p, { class: "ml-6" }, {
1917
- default: g(() => t[11] || (t[11] = [
1918
- S(" Uneditable plugin.txt from the new plugin. ")
1779
+ d(m, { class: "ml-6" }, {
1780
+ default: g(() => e[11] || (e[11] = [
1781
+ w(" Uneditable plugin.txt from the new plugin. ")
1919
1782
  ])),
1920
1783
  _: 1
1921
1784
  })
1922
1785
  ]),
1923
1786
  _: 1
1924
1787
  }),
1925
- T("pre", nt, null, 512)
1788
+ x("pre", Pt, null, 512)
1926
1789
  ]),
1927
1790
  _: 1
1928
1791
  }))
1929
1792
  ]),
1930
1793
  _: 1
1931
1794
  }, 8, ["modelValue"]),
1932
- c(N, { class: "px-2 mt-2" }, {
1795
+ d(N, { class: "px-2 mt-2" }, {
1933
1796
  default: g(() => [
1934
- n.existingPluginTxt !== null ? (E(), V("div", it, [
1935
- c(L, {
1797
+ n.existingPluginTxt !== null ? (y(), O("div", Bt, [
1798
+ d(S, {
1936
1799
  variant: "text",
1937
- onClick: i.nextDiff
1800
+ onClick: o.nextDiff
1938
1801
  }, {
1939
- default: g(() => t[12] || (t[12] = [
1940
- S(" Next Diff ")
1802
+ default: g(() => e[12] || (e[12] = [
1803
+ w(" Next Diff ")
1941
1804
  ])),
1942
1805
  _: 1
1943
1806
  }, 8, ["onClick"]),
1944
- c(L, {
1807
+ d(S, {
1945
1808
  variant: "text",
1946
- onClick: i.previousDiff
1809
+ onClick: o.previousDiff
1947
1810
  }, {
1948
- default: g(() => t[13] || (t[13] = [
1949
- S(" Previous Diff ")
1811
+ default: g(() => e[13] || (e[13] = [
1812
+ w(" Previous Diff ")
1950
1813
  ])),
1951
1814
  _: 1
1952
1815
  }, 8, ["onClick"])
1953
- ])) : j("", !0),
1954
- c(k),
1955
- c(L, {
1816
+ ])) : q("", !0),
1817
+ d(M),
1818
+ d(S, {
1956
1819
  variant: "outlined",
1957
1820
  "data-test": "edit-cancel",
1958
- onClick: H(i.close, ["prevent"])
1821
+ onClick: P(o.close, ["prevent"])
1959
1822
  }, {
1960
- default: g(() => t[14] || (t[14] = [
1961
- S(" Cancel ")
1823
+ default: g(() => e[14] || (e[14] = [
1824
+ w(" Cancel ")
1962
1825
  ])),
1963
1826
  _: 1
1964
1827
  }, 8, ["onClick"]),
1965
- c(L, {
1828
+ d(S, {
1966
1829
  variant: "flat",
1967
1830
  "data-test": "edit-submit",
1968
- onClick: i.submit
1831
+ onClick: o.submit
1969
1832
  }, {
1970
- default: g(() => t[15] || (t[15] = [
1971
- S(" Install ")
1833
+ default: g(() => e[15] || (e[15] = [
1834
+ w(" Install ")
1972
1835
  ])),
1973
1836
  _: 1
1974
1837
  }, 8, ["onClick"])
@@ -1986,13 +1849,13 @@ function ot(e, t, n, o, l, i) {
1986
1849
  _: 1
1987
1850
  }, 8, ["modelValue"]);
1988
1851
  }
1989
- const pt = /* @__PURE__ */ q(Ze, [["render", ot], ["__scopeId", "data-v-5b18ccf5"]]);
1852
+ const Zt = /* @__PURE__ */ j(Nt, [["render", Gt], ["__scopeId", "data-v-5b18ccf5"]]);
1990
1853
  export {
1991
- ht as DownloadDialog,
1992
- ut as EditDialog,
1993
- ct as ModifiedPluginDialog,
1994
- gt as OpenC3Admin,
1995
- pt as PluginDialog,
1996
- Ue as TabsList
1854
+ Kt as DownloadDialog,
1855
+ Xt as EditDialog,
1856
+ Jt as ModifiedPluginDialog,
1857
+ Qt as OpenC3Admin,
1858
+ Zt as PluginDialog,
1859
+ it as TabsList
1997
1860
  };
1998
1861
  //# sourceMappingURL=admin.js.map